File "stimulsoft.reports.engine.js"

Full Path: /home/freeclou/app.optimyar.com/front-web/build/libs/stimul/ES5/stimulsoft.reports.engine.js
File size: 4.88 MB
MIME-type: text/plain
Charset: utf-8

/*
Stimulsoft.Reports.JS
Version: 2022.1.1
Build date: 2021.12.07
License: https://www.stimulsoft.com/en/licensing/reports
*/
!function(t){"undefined"!=typeof process&&process.__nwjs||"object"!=typeof exports||"undefined"==typeof module?"function"==typeof define&&define.amd?define([],t):Object.assign(window,t(window.Stimulsoft)):module.exports=t()}(function(Y){var Y;function i(t,e){for(var r in e)r in t?i(t[r],e[r]):t[r]=e[r];return t}var Y=i((Y=Y||{})||{},{ExternalLibrary:{},System:{Globalization:{},Collections:{},Crypt:{},Data:{},Text:{},Xml:{},Drawing:{Imaging:{},Drawing2D:{},Printing:{PrinterSettings:{}},Text:{}},IO:{}},Report:{Helpers:{},Dictionary:{Design:{}},Events:{},Expressions:{},Components:{TextFormats:{},Gauge:{Primitives:{}},Table:{}},Engine:{StiParser:{}},Styles:{Conditions:{Elements:{}}},Chart:{},CrossTab:{Core:{}},Units:{},Func:{},CodeDom:{},Export:{Services:{Helpers:{}},Htmls:{ChartScripts:{}}},Import:{},BarCodes:{},Dashboard:{Helpers:{},Export:{},Styles:{Cards:{}},Visuals:{}},Dashboards:{},Maps:{Helpers:{}},Design:{},Gauge:{GaugeGeoms:{},Helpers:{},Collections:{},Skins:{},Events:{},Primitives:{}},Painters:{},Resources:{},Viewer:{}},Base:{JsonReportObject:{},Localization:{},Drawing:{},Blocks:{},Dashboard:{},Data:{StiDbType:{},Connectors:{}},Design:{},Helpers:{},StiJsonReportObjectHelper:{},tBftv:{},Map:{},Meta:{},Meters:{},Services:{},Zip:{},Context:{Animation:{}},Maps:{Geoms:{}}},Data:{Helpers:{},Comparers:{},Engine:{},Expressions:{NCalc:{Domain:{}},Antlr:{Runtime:{Tree:{},Misc:{}}}},Extensions:{},Exceptions:{},Types:{},Options:{},Functions:{},Parsers:{}},Blockly:{Model:{},Blocks:{Maths:{},Text:{},Controls:{},Procedures:{},Logic:{},Lists:{},Variables:{}},StiBlocks:{Visuals:{},Data:{},Variables:{},Objects:{},Report:{},System:{},Functions:{},Process:{}},Resources:{}},Reflection:{}}),Ae={},t,e,r,n,a,s,l;Ae.a=Y.ExternalLibrary,Ae.b=Y.System,Ae.c=Y.Report,Ae.d=Y.Base,Ae.e=Y.Data,Ae.f=Y.Blockly,Ae.g=Y.Reflection,Ae.h=Ae.f.Model,Ae.i=Ae.f.Blocks,Ae.j=Ae.f.StiBlocks,Ae.k=Ae.f.Resources,Ae.l=Ae.j.Visuals,Ae.m=Ae.j.Data,Ae.n=Ae.j.Variables,Ae.o=Ae.j.Objects,Ae.p=Ae.j.Report,Ae.q=Ae.j.System,Ae.r=Ae.j.Functions,Ae.s=Ae.j.Process,Ae.t=Ae.i.Maths,Ae.u=Ae.i.Text,Ae.v=Ae.i.Controls,Ae.w=Ae.i.Procedures,Ae.x=Ae.i.Logic,Ae.y=Ae.i.Lists,Ae.z=Ae.i.Variables,Ae.A=Ae.e.Helpers,Ae.B=Ae.e.Comparers,Ae.C=Ae.e.Engine,Ae.D=Ae.e.Expressions,Ae.E=Ae.e.Extensions,Ae.F=Ae.e.Exceptions,Ae.G=Ae.e.Types,Ae.H=Ae.e.Options,Ae.I=Ae.e.Functions,Ae.J=Ae.e.Parsers,Ae.K=Ae.D.NCalc,Ae.L=Ae.D.Antlr,Ae.M=Ae.L.Runtime,Ae.N=Ae.M.Tree,Ae.O=Ae.M.Misc,Ae.P=Ae.K.Domain,Ae.Q=Ae.d.JsonReportObject,Ae.R=Ae.d.Localization,Ae.S=Ae.d.Drawing,Ae.T=Ae.d.Blocks,Ae.U=Ae.d.Dashboard,Ae.V=Ae.d.Data,Ae.W=Ae.d.Design,Ae.X=Ae.d.Helpers,Ae.Y=Ae.d.StiJsonReportObjectHelper,Ae.Z=Ae.d.tBftv,Ae.aa=Ae.d.Map,Ae.ab=Ae.d.Meta,Ae.ac=Ae.d.Meters,Ae.ad=Ae.d.Services,Ae.ae=Ae.d.Zip,Ae.af=Ae.d.Context,Ae.ag=Ae.d.Maps,Ae.ah=Ae.ag.Geoms,Ae.ai=Ae.af.Animation,Ae.aj=Ae.V.StiDbType,Ae.ak=Ae.V.Connectors,Ae.al=Ae.c.Helpers,Ae.am=Ae.c.Dictionary,Ae.an=Ae.c.Events,Ae.ao=Ae.c.Expressions,Ae.ap=Ae.c.Components,Ae.aq=Ae.c.Engine,Ae.ar=Ae.c.Styles,Ae.as=Ae.c.Chart,Ae.at=Ae.c.CrossTab,Ae.au=Ae.c.Units,Ae.av=Ae.c.Func,Ae.aw=Ae.c.CodeDom,Ae.ax=Ae.c.Export,Ae.ay=Ae.c.Import,Ae.az=Ae.c.BarCodes,Ae.aA=Ae.c.Dashboard,Ae.aB=Ae.c.Dashboards,Ae.aC=Ae.c.Maps,Ae.aD=Ae.c.Design,Ae.aE=Ae.c.Gauge,Ae.aF=Ae.c.Painters,Ae.aG=Ae.c.Resources,Ae.aH=Ae.c.Viewer,Ae.aI=Ae.aE.GaugeGeoms,Ae.aJ=Ae.aE.Helpers,Ae.aK=Ae.aE.Collections,Ae.aL=Ae.aE.Skins,Ae.aM=Ae.aE.Events,Ae.aN=Ae.aE.Primitives,Ae.aO=Ae.aC.Helpers,Ae.aP=Ae.aA.Helpers,Ae.aQ=Ae.aA.Export,Ae.aR=Ae.aA.Styles,Ae.aS=Ae.aA.Visuals,Ae.aT=Ae.aR.Cards,Ae.aU=Ae.ax.Services,Ae.aV=Ae.ax.Htmls,Ae.aW=Ae.aV.ChartScripts,Ae.aX=Ae.aU.Helpers,Ae.aY=Ae.at.Core,Ae.aZ=Ae.ar.Conditions,Ae.ba=Ae.aZ.Elements,Ae.bb=Ae.aq.StiParser,Ae.bc=Ae.ap.TextFormats,Ae.bd=Ae.ap.Gauge,Ae.be=Ae.ap.Table,Ae.bf=Ae.bd.Primitives,Ae.bg=Ae.am.Design,Ae.bh=Ae.b.Globalization,Ae.bi=Ae.b.Collections,Ae.bj=Ae.b.Crypt,Ae.bk=Ae.b.Data,Ae.bl=Ae.b.Text,Ae.bm=Ae.b.Xml,Ae.bn=Ae.b.Drawing,Ae.bo=Ae.b.IO,Ae.bp=Ae.bn.Imaging,Ae.bq=Ae.bn.Drawing2D,Ae.br=Ae.bn.Printing,Ae.bs=Ae.bn.Text,Ae.bt=Ae.br.PrinterSettings;{const iA={SECONDS_A_MINUTE:60};iA.SECONDS_A_HOUR=60*iA.SECONDS_A_MINUTE,iA.SECONDS_A_DAY=24*iA.SECONDS_A_HOUR,iA.SECONDS_A_WEEK=7*iA.SECONDS_A_DAY,iA.MILLISECONDS_A_SECOND=1e3,iA.MILLISECONDS_A_MINUTE=iA.SECONDS_A_MINUTE*iA.MILLISECONDS_A_SECOND,iA.MILLISECONDS_A_HOUR=iA.SECONDS_A_HOUR*iA.MILLISECONDS_A_SECOND,iA.MILLISECONDS_A_DAY=iA.SECONDS_A_DAY*iA.MILLISECONDS_A_SECOND,iA.MILLISECONDS_A_WEEK=iA.SECONDS_A_WEEK*iA.MILLISECONDS_A_SECOND,iA.MS="millisecond",iA.S="second",iA.MIN="minute",iA.H="hour",iA.D="day",iA.W="week",iA.M="month",iA.Q="quarter",iA.Y="year",iA.DATE="date",iA.FORMAT_DEFAULT="YYYY-MM-DDTHH:mm:ssZ",iA.INVALID_DATE_STRING="Invalid Date",iA.REGEX_PARSE=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,iA.REGEX_FORMAT=/'([^']*)'|"([^"]*)"|\\(.)|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|S{1,7}/g;var u={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},o;const nA=(t,e,r)=>{var i=String(t);if(!i||i.length>=e)return t;return`${Array(e+1-i.length).join(r)}${t}`},aA=(t,e)=>{if(t.date()<e.date())return-aA(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(r,iA.M),n=e-i<0,t=t.clone().add(r+(n?-1:1),iA.M);return+(-(r+(e-i)/(n?i-t:t-i))||0)};var h,c,d,m={s:nA,z:t=>{var e=-t.utcOffset(),r=Math.abs(e),t=Math.floor(r/60),r=r%60;return`${e<=0?"+":"-"}${nA(t,2,"0")}:${nA(r,2,"0")}`},m:aA,a:t=>t<0?Math.ceil(t)||0:Math.floor(t),p:t=>{var e;return{M:iA.M,y:iA.Y,w:iA.W,d:iA.D,D:iA.DATE,h:iA.H,m:iA.MIN,s:iA.S,ms:iA.MS,Q:iA.Q}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:t=>void 0===t};let n="en";const sA={};sA[n]=u;const oA=t=>t instanceof i,lA=(t,e,r)=>{let i;if(!t)return n;var e;return"string"==typeof t?(sA[t]&&(i=t),e&&(sA[t]=e,i=t)):({name:e}=t,sA[e]=t,i=e),!r&&i&&(n=i),i||!r&&n},uA=function(t,e){if(oA(t))return t.clone();const r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new i(r)};var p=(t,e)=>uA(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset}),g,f;const hA=m;hA.l=lA,hA.i=oA,hA.w=p;const cA=t=>{const{date:e,utc:r}=t;if(null===e)return new Date(NaN);if(hA.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){const n=e.match(iA.REGEX_PARSE);if(n){var i=n[2]-1||0,t=(n[7]||"0").substring(0,3);if(r)return new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,t));return new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,t)}}return new Date(e)},dA=(t,e,r,i)=>{const n=e<12?t.AM||"AM":t.PM||"PM";return i?n.toLowerCase():n};let i=class{constructor(t){this.$L=lA(t.locale,null,!0),this.parse(t)}parse(t){this.$d=cA(t),this.$x=t.x||{},this.init()}init(){const{$d:t}=this;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()}$utils(){return hA}isValid(){return!(this.$d.toString()===iA.INVALID_DATE_STRING)}isSame(t,e){var t=uA(t);return this.startOf(e)<=t&&t<=this.endOf(e)}isAfter(t,e){return uA(t)<this.startOf(e)}isBefore(t,e){return this.endOf(e)<uA(t)}$g(t,e,r){if(hA.u(t))return this[e];return this.set(r,t)}unix(){return Math.floor(this.valueOf()/1e3)}valueOf(){return this.$d.getTime()}startOf(t,e){const n=!!hA.u(e)||e;var t=hA.p(t),r=(t,e)=>{const r=hA.w(this.$u?Date.UTC(this.$y,e,t):new Date(this.$y,e,t),this);return n?r:r.endOf(iA.D)},i=(t,e)=>{const r=[0,0,0,0],i=[23,59,59,999];return hA.w(this.toDate()[t].apply(this.toDate("s"),(n?r:i).slice(e)),this)},{$W:a,$M:s,$D:o}=this,l=`set${this.$u?"UTC":""}`;switch(t){case iA.Y:return n?r(1,0):r(31,11);case iA.M:return n?r(1,s):r(0,s+1);case iA.W:var u=this.$locale().weekStart||0,u=(a<u?a+7:a)-u;return r(n?o-u:o+(6-u),s);case iA.D:case iA.DATE:return i(`${l}Hours`,0);case iA.H:return i(`${l}Minutes`,1);case iA.MIN:return i(`${l}Seconds`,2);case iA.S:return i(`${l}Milliseconds`,3);default:return this.clone()}}endOf(t){return this.startOf(t,!1)}$set(t,e){var r=hA.p(t),t=`set${this.$u?"UTC":""}`,t={[iA.D]:`${t}Date`,[iA.DATE]:`${t}Date`,[iA.M]:`${t}Month`,[iA.Y]:`${t}FullYear`,[iA.H]:`${t}Hours`,[iA.MIN]:`${t}Minutes`,[iA.S]:`${t}Seconds`,[iA.MS]:`${t}Milliseconds`}[r],e=r===iA.D?this.$D+(e-this.$W):e;if(r===iA.M||r===iA.Y){const i=this.clone().set(iA.DATE,1);i.$d[t](e),i.init(),this.$d=i.set(iA.DATE,Math.min(this.$D,i.daysInMonth())).$d}else t&&this.$d[t](e);return this.init(),this}set(t,e){return this.clone().$set(t,e)}get(t){return this[hA.p(t)]()}add(r,t){r=Number(r);var e=hA.p(t),t=t=>{const e=uA(this);return hA.w(e.date(e.date()+Math.round(t*r)),this)};if(e===iA.M)return this.set(iA.M,this.$M+r);if(e===iA.Y)return this.set(iA.Y,this.$y+r);if(e===iA.D)return t(1);if(e===iA.W)return t(7);var e={[iA.MIN]:iA.MILLISECONDS_A_MINUTE,[iA.H]:iA.MILLISECONDS_A_HOUR,[iA.S]:iA.MILLISECONDS_A_SECOND}[e]||1,e=this.$d.getTime()+r*e;return hA.w(e,this)}subtract(t,e){return this.add(-1*t,e)}format(t){var e=this.$locale();if(!this.isValid())return e.invalidDate||iA.INVALID_DATE_STRING;const n=t||iA.FORMAT_DEFAULT,a=hA.z(this),{$H:r,$m:i,$M:s}=this;var{weekdays:o,months:l,meridiem:u={AM:"AM",PM:"PM"}}=e,h=(t,e,r,i)=>t&&(t[e]||t(this,n))||r[e].substr(0,i),t=t=>hA.s(r%12||12,t,"0");const c={Y:String(this.$y).slice(-1),YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:hA.s(s+1,2,"0"),MMM:h(e.monthsShort,s,l,3),MMMM:h(l,s),D:this.$D,DD:hA.s(this.$D,2,"0"),d:String(this.$W),dd:h(e.weekdaysMin,this.$W,o,2),ddd:h(e.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(r),HH:hA.s(r,2,"0"),h:t(1),hh:t(2),a:dA(u,r,i,!0),A:dA(u,r,i,!1),m:String(i),mm:hA.s(i,2,"0"),s:String(this.$s),ss:hA.s(this.$s,2,"0"),S:String(hA.s(this.$ms,3,"0"))[0],SS:String(hA.s(this.$ms,3,"0")).substring(0,2),SSS:hA.s(this.$ms,3,"0"),SSSS:hA.s(this.$ms,3,"0")+"0",SSSSS:hA.s(this.$ms,3,"0")+"00",SSSSSS:hA.s(this.$ms,3,"0")+"000",SSSSSSS:hA.s(this.$ms,3,"0")+"0000",Z:a};return n.replace(iA.REGEX_FORMAT,(t,e,r,i)=>e||r||i||c[t]||a.replace(":",""))}utcOffset(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)}diff(t,e,r){var i=hA.p(e);const n=uA(t);var a=(n.utcOffset()-this.utcOffset())*iA.MILLISECONDS_A_MINUTE,e=this-n,t=hA.m(this,n),t={[iA.Y]:t/12,[iA.M]:t,[iA.Q]:t/3,[iA.W]:(e-a)/iA.MILLISECONDS_A_WEEK,[iA.D]:(e-a)/iA.MILLISECONDS_A_DAY,[iA.H]:e/iA.MILLISECONDS_A_HOUR,[iA.MIN]:e/iA.MILLISECONDS_A_MINUTE,[iA.S]:e/iA.MILLISECONDS_A_SECOND}[i]||e;return r?t:hA.a(t)}daysInMonth(){return this.endOf(iA.M).$D}$locale(){return sA[this.$L]}locale(t,e){if(!t)return this.$L;const r=this.clone();var e=lA(t,e,!0);return e&&(r.$L=e),r}clone(){return hA.w(this.$d,this)}toDate(){return new Date(this.valueOf())}toJSON(){return this.isValid()?this.toISOString():null}toISOString(){return this.$d.toISOString()}toString(){return this.$d.toUTCString()}};{const mA=i.prototype;uA.prototype=mA,[["$ms",iA.MS],["$s",iA.S],["$m",iA.MIN],["$H",iA.H],["$W",iA.D],["$M",iA.M],["$y",iA.Y],["$D",iA.DATE]].forEach(e=>{mA[e[1]]=function(t){return this.$g(t,e[0],e[1])}})}uA.extend=(t,e)=>(t.$i||(t(e,i,uA),t.$i=!0),uA),uA.locale=lA,uA.isDayjs=oA,uA.unix=t=>uA(1e3*t),uA.en=sA[n],uA.Ls=sA,uA.p={},(Ae.a.dayjs=uA).extend((t,e)=>{const r=e.prototype;r.quarter=function(t){if(!this.$utils().u(t))return this.month(this.month()%3+3*(t-1));return Math.ceil((this.month()+1)/3)};const i=r.add;r.add=function(t,e){var r;if(t=Number(t),this.$utils().p(e)===iA.Q)return this.add(3*t,iA.M);return i.bind(this)(t,e)};const s=r.startOf;r.startOf=function(t,e){const r=this.$utils();var i=!!r.u(e)||e,n;if(r.p(t)===iA.Q){var a=this.quarter()-1;return i?this.month(3*a).startOf(iA.M).startOf(iA.D):this.month(3*a+2).endOf(iA.M).endOf(iA.D)}return s.bind(this)(t,e)}});{const pA={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},gA=(t,i)=>t.replace(/(LTS?|l{1,4}|L{1,4})/g,(t,e)=>{var r=e.toUpperCase();return i[e]||pA[e]});uA.extend((t,e,r)=>{const i=e.prototype,n=i.format;r.en.formats=pA,i.format=function(t=iA.FORMAT_DEFAULT){var{formats:e={}}=this.$locale(),e=gA(t,e);return n.call(this,e)}});const fA=/'[^']*'|"[^"]*"|\\.|([-:/.()\sTt]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,7}|z|ZZ?)/g;var S,b=/^\d\d/,y,v=/^\d{4}/,w,C,T,P=/^\d\d?/,I,A,x=/^\d*[^\s\d-_:/()]+/;let d={},i=function(t){return(t=+t)+(68<t?1900:2e3)};const SA=t=>{if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),t=+(60*e[1])+(+e[2]||0);return 0===t?0:"+"===e[0]?-t:t};var D=function(e){return function(t){this[e]=+t}},B=[/^[+-]\d\d:?(\d\d)?|Z/,function(t){const e=this.zone||(this.zone={});e.offset=SA(t)}],E;const bA=t=>{const e=d[t];return e&&(e.indexOf?e:e.s.concat(e.f))},yA=(e,r)=>{let i;var{meridiem:n}=d;if(n){for(let t=1;t<=24;t+=1)if(-1<e.indexOf(dA(n,t,0,r))){i=12<t;break}}else i=e===(r?"pm":"PM");return i},vA={A:[x,function(t){this.afternoon=yA(t,!1)}],a:[x,function(t){this.afternoon=yA(t,!0)}],S:[/^\d/,function(t){this.milliseconds=100*+t}],SS:[b,function(t){this.milliseconds=10*+t}],SSS:[/^\d{3}/,function(t){this.milliseconds=+t}],SSSS:[v,function(t){this.milliseconds=+t/10}],SSSSS:[/^\d{5}/,function(t){this.milliseconds=+t/100}],SSSSSS:[/^\d{6}/,function(t){this.milliseconds=+t/1e3}],SSSSSSS:[/^\d{7}/,function(t){this.milliseconds=+t/1e4}],s:[P,D("seconds")],ss:[b,D("seconds")],m:[P,D("minutes")],mm:[b,D("minutes")],H:[P,D("hours")],h:[P,D("hours")],HH:[b,D("hours")],hh:[b,D("hours")],D:[P,D("day")],DD:[b,D("day")],Do:[x,function(e){const{ordinal:r}=d;if([this.day]=e.match(/\d+/),!r)return;for(let t=1;t<=31;t+=1)r(t).replace(/\[|\]/g,"")===e&&(this.day=t)}],M:[P,D("month")],MM:[b,D("month")],MMM:[x,function(t){const e=bA("months"),r=bA("monthsShort");var t=(r||e.map(t=>t.substr(0,3))).indexOf(t)+1;if(t<1)throw new Error;this.month=t%12||t}],MMMM:[x,function(t){const e=bA("months");var t=e.indexOf(t)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/^[+-]?\d+/,D("year")],YY:[b,function(t){this.year=i(t)}],YYYY:[v,D("year")],Z:B,ZZ:B},wA=t=>{var{afternoon:e}=t,r;void 0!==e&&({hours:r}=t,e?r<12&&(t.hours+=12):12===r&&(t.hours=0),delete t.afternoon)},CA=t=>{const s=(t=gA(t,d&&d.formats)).match(fA),{length:o}=s;for(let t=0;t<o;t+=1){var e=s[t],r=vA[e],i=r&&r[0],r=r&&r[1];s[t]=r?{regex:i,parser:r,token:e}:e}return function(e){const r={};for(let t=0;t<o;t+=1){var i=s[t];if("string"==typeof i){if(!e.startsWith(i)){r.hasErrors=!0;break}e=e.substr(i.length)}else{const{regex:n,parser:a}=i;var i=n.exec(e);if(!i||i.index){r.hasErrors=!0;break}var i=i[0];a.call(r,i),e=e.substr(i.length)}}return e&&(r.hasErrors=!0),wA(r),r}},TA=(e,r,i)=>{try{if(-1<["x","X"].indexOf(r))return new Date(("X"===r?1e3:1)*e);const y=CA(r);var{year:n,month:a,day:s,hours:o,minutes:l,seconds:u,milliseconds:h,zone:c,hasErrors:d}=y(e);const v=new Date;var m=s||(n||a?1:v.getDate()),p=n||v.getFullYear();let t=0;n&&!a||(t=0<a?a-1:v.getMonth());var g=o||0,f=l||0,S=u||0,b=h||0;if(c)return Object.assign(new Date(Date.UTC(p,t,m,g,f,S,b+60*c.offset*1e3)),{hasErrors:d});if(i)return Object.assign(new Date(Date.UTC(p,t,m,g,f,S,b)),{hasErrors:d});return Object.assign(new Date(p,t,m,g,f,S,b),{hasErrors:d})}catch(t){return new Date("")}};uA.extend((t,e,h)=>{h.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&({parseTwoDigitYear:i}=t);const r=e.prototype,c=r.parse;r.parse=function(t){const{date:e,utc:r,args:i}=t;this.$u=r;var n=i[1];if("string"==typeof n){var a=!0===i[2],s=!0===i[3],o=a||s;let t=i[2];s&&([,,t]=i),d=this.$locale(),!a&&t&&(d=h.Ls[t]),this.$d=TA(e,n,r),this.init(),t&&!0!==t&&(this.$L=this.locale(t).$L),o&&this.$d.hasErrors&&(this.$d=new Date("")),delete this.$d.hasErrors,d={}}else if(n instanceof Array){var l=n.length;for(let t=1;t<=l;t+=1){i[1]=n[t-1];const u=h.apply(this,i);if(u.isValid()){this.$d=u.$d,this.$L=u.$L,this.init();break}t===l&&(this.$d=new Date(""))}}else c.call(this,t)}})}}!function(v){"use strict";var t,e;String.prototype.codePointAt||(t=function(){try{var t={},e=Object.defineProperty,r=e(t,t,t)&&e}catch(t){}return r}(),e=function(t){if(null==this)throw TypeError();var e=String(this),r=e.length,i=t?Number(t):0;if((i=i!=i?0:i)<0||r<=i)return;var t=e.charCodeAt(i),n;if(55296<=t&&t<=56319&&i+1<r&&56320<=(n=e.charCodeAt(i+1))&&n<=57343)return 1024*(t-55296)+n-56320+65536;return t},t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e);var o=0,s=-3;function r(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function l(t,e){this.source=t,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=e,this.destLen=0,this.ltree=new r,this.dtree=new r}var u=new r,h=new r,c=new Uint8Array(30),d=new Uint16Array(30),m=new Uint8Array(30),p=new Uint16Array(30),g=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=new r,S=new Uint8Array(288+32);function i(t,e,r,i){for(var n,a,n=0;n<r;++n)t[n]=0;for(n=0;n<30-r;++n)t[n+r]=n/r|0;for(a=i,n=0;n<30;++n)e[n]=a,a+=1<<t[n]}function n(t,e){for(var r,r=0;r<7;++r)t.table[r]=0;for(t.table[7]=24,t.table[8]=152,t.table[9]=112,r=0;r<24;++r)t.trans[r]=256+r;for(r=0;r<144;++r)t.trans[24+r]=r;for(r=0;r<8;++r)t.trans[24+144+r]=280+r;for(r=0;r<112;++r)t.trans[24+144+8+r]=144+r;for(r=0;r<5;++r)e.table[r]=0;for(e.table[5]=32,r=0;r<32;++r)e.trans[r]=r}var b=new Uint16Array(16);function y(t,e,r,i){for(var n,a,n=0;n<16;++n)t.table[n]=0;for(n=0;n<i;++n)t.table[e[r+n]]++;for(t.table[0]=0,n=a=0;n<16;++n)b[n]=a,a+=t.table[n];for(n=0;n<i;++n)e[r+n]&&(t.trans[b[e[r+n]]++]=n)}function w(t){t.bitcount--||(t.tag=t.source[t.sourceIndex++],t.bitcount=7);var e=1&t.tag;return t.tag>>>=1,e}function C(t,e,r){if(!e)return r;while(t.bitcount<24)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var i=t.tag&65535>>>16-e;return t.tag>>>=e,t.bitcount-=e,i+r}function T(t,e){while(t.bitcount<24)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var r=0,i=0,n=0,a=t.tag;do{i=2*i+(1&a),a>>>=1,r+=e.table[++n],i-=e.table[n]}while(0<=i);return t.tag=a,t.bitcount-=n,e.trans[r+i]}function P(t,e,r){for(var i,n,a,s,o,l,i=C(t,5,257),n=C(t,5,1),a=C(t,4,4),s=0;s<19;++s)S[s]=0;for(s=0;s<a;++s){var u=C(t,3,0);S[g[s]]=u}for(y(f,S,0,19),o=0;o<i+n;){var h=T(t,f);switch(h){case 16:for(var c=S[o-1],l=C(t,2,3);l;--l)S[o++]=c;break;case 17:for(l=C(t,3,3);l;--l)S[o++]=0;break;case 18:for(l=C(t,7,11);l;--l)S[o++]=0;break;default:S[o++]=h;break}}y(e,S,0,i),y(r,S,i,n)}function I(t,e,r){while(1){var i=T(t,e);if(256===i)return o;if(i<256)t.dest[t.destLen++]=i;else for(var n,i,a,s,n=C(t,c[i-=257],d[i]),i=T(t,r),s=a=t.destLen-C(t,m[i],p[i]);s<a+n;++s)t.dest[t.destLen++]=t.dest[s]}}function A(t){var e,r,i;while(8<t.bitcount)t.sourceIndex--,t.bitcount-=8;if((e=256*(e=t.source[t.sourceIndex+1])+t.source[t.sourceIndex])!==(65535&~(r=256*(r=t.source[t.sourceIndex+3])+t.source[t.sourceIndex+2])))return s;for(t.sourceIndex+=4,i=e;i;--i)t.dest[t.destLen++]=t.source[t.sourceIndex++];return t.bitcount=0,o}function a(t,e){var r=new l(t,e),i,n,a;do{switch(i=w(r),n=C(r,2,0)){case 0:a=A(r);break;case 1:a=I(r,u,h);break;case 2:P(r,r.ltree,r.dtree),a=I(r,r.ltree,r.dtree);break;default:a=s}if(a!==o)throw new Error("Data error")}while(!i);if(r.destLen<r.dest.length)return"function"==typeof r.dest.slice?r.dest.slice(0,r.destLen):r.dest.subarray(0,r.destLen);return r.dest}n(u,h),i(c,d,4,3),i(m,p,2,1),c[28]=0,d[28]=258;var x=a;function D(t,e,r,i,n){return Math.pow(1-n,3)*t+3*Math.pow(1-n,2)*n*e+3*(1-n)*Math.pow(n,2)*r+Math.pow(n,3)*i}function B(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function L(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function E(t){throw new Error(t)}function k(t,e){t||E(e)}B.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},B.prototype.addPoint=function(t,e){"number"==typeof t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),"number"==typeof e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))},B.prototype.addX=function(t){this.addPoint(t,null)},B.prototype.addY=function(t){this.addPoint(null,t)},B.prototype.addBezier=function(t,e,r,i,n,a,s,o){var l=this,u=[t,e],h=[r,i],c=[n,a],d=[s,o];this.addPoint(t,e),this.addPoint(s,o);for(var m=0;m<=1;m++){var p=6*u[m]-12*h[m]+6*c[m],g=-3*u[m]+9*h[m]-9*c[m]+3*d[m],f=3*h[m]-3*u[m];if(0==g){if(0==p)continue;var S=-f/p;0<S&&S<1&&(0===m&&l.addX(D(u[m],h[m],c[m],d[m],S)),1===m&&l.addY(D(u[m],h[m],c[m],d[m],S)));continue}var S=Math.pow(p,2)-4*f*g;if(S<0)continue;var f=(-p+Math.sqrt(S))/(2*g);0<f&&f<1&&(0===m&&l.addX(D(u[m],h[m],c[m],d[m],f)),1===m&&l.addY(D(u[m],h[m],c[m],d[m],f)));var g=(-p-Math.sqrt(S))/(2*g);0<g&&g<1&&(0===m&&l.addX(D(u[m],h[m],c[m],d[m],g)),1===m&&l.addY(D(u[m],h[m],c[m],d[m],g)))}},B.prototype.addQuad=function(t,e,r,i,n,a){var r=t+2/3*(r-t),i=e+2/3*(i-e),s,o;this.addBezier(t,e,r,i,r+1/3*(n-t),i+1/3*(a-e),n,a)},L.prototype.moveTo=function(t,e){this.commands.push({type:"M",x:t,y:e})},L.prototype.lineTo=function(t,e){this.commands.push({type:"L",x:t,y:e})},L.prototype.curveTo=L.prototype.bezierCurveTo=function(t,e,r,i,n,a){this.commands.push({type:"C",x1:t,y1:e,x2:r,y2:i,x:n,y:a})},L.prototype.quadTo=L.prototype.quadraticCurveTo=function(t,e,r,i){this.commands.push({type:"Q",x1:t,y1:e,x:r,y:i})},L.prototype.close=L.prototype.closePath=function(){this.commands.push({type:"Z"})},L.prototype.extend=function(t){if(t.commands)t=t.commands;else if(t instanceof B){var e=t;return this.moveTo(e.x1,e.y1),this.lineTo(e.x2,e.y1),this.lineTo(e.x2,e.y2),this.lineTo(e.x1,e.y2),void this.close()}Array.prototype.push.apply(this.commands,t)},L.prototype.getBoundingBox=function(){for(var t=this,e=new B,r=0,i=0,n=0,a=0,s=0;s<this.commands.length;s++){var o=t.commands[s];switch(o.type){case"M":e.addPoint(o.x,o.y),r=n=o.x,i=a=o.y;break;case"L":e.addPoint(o.x,o.y),n=o.x,a=o.y;break;case"Q":e.addQuad(n,a,o.x1,o.y1,o.x,o.y),n=o.x,a=o.y;break;case"C":e.addBezier(n,a,o.x1,o.y1,o.x2,o.y2,o.x,o.y),n=o.x,a=o.y;break;case"Z":n=r,a=i;break;default:throw new Error("Unexpected path command "+o.type)}}return e.isEmpty()&&e.addPoint(0,0),e},L.prototype.draw=function(t){var e=this;t.beginPath();for(var r=0;r<this.commands.length;r+=1){var i=e.commands[r];"M"===i.type?t.moveTo(i.x,i.y):"L"===i.type?t.lineTo(i.x,i.y):"C"===i.type?t.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y):"Q"===i.type?t.quadraticCurveTo(i.x1,i.y1,i.x,i.y):"Z"===i.type&&t.closePath()}this.fill&&(t.fillStyle=this.fill,t.fill()),this.stroke&&(t.strokeStyle=this.stroke,t.lineWidth=this.strokeWidth,t.stroke())},L.prototype.toPathData=function(e){var t=this;function n(t){return Math.round(t)===t?""+Math.round(t):t.toFixed(e)}function r(){for(var t=arguments,e="",r=0;r<arguments.length;r+=1){var i=t[r];0<=i&&0<r&&(e+=" "),e+=n(i)}return e}e=void 0!==e?e:2;for(var i="",a=0;a<this.commands.length;a+=1){var s=t.commands[a];"M"===s.type?i+="M"+r(s.x,s.y):"L"===s.type?i+="L"+r(s.x,s.y):"C"===s.type?i+="C"+r(s.x1,s.y1,s.x2,s.y2,s.x,s.y):"Q"===s.type?i+="Q"+r(s.x1,s.y1,s.x,s.y):"Z"===s.type&&(i+="Z")}return i},L.prototype.toSVG=function(t){var e='<path d="';return e+=this.toPathData(t),e+='"',this.fill&&"black"!==this.fill&&(null===this.fill?e+=' fill="none"':e+=' fill="'+this.fill+'"'),this.stroke&&(e+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),e+="/>"},L.prototype.toDOMElement=function(t){var e=this.toPathData(t),t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",e),t};var N={fail:E,argument:k,assert:k},F=32768,R=2147483648,M={},O={},H={};function _(t){return function(){return t}}O.BYTE=function(t){return N.argument(0<=t&&t<=255,"Byte value should be between 0 and 255."),[t]},H.BYTE=_(1),O.CHAR=function(t){return[t.charCodeAt(0)]},H.CHAR=_(1),O.CHARARRAY=function(t){for(var e=[],r=0;r<t.length;r+=1)e[r]=t.charCodeAt(r);return e},H.CHARARRAY=function(t){return t.length},O.USHORT=function(t){return[t>>8&255,255&t]},H.USHORT=_(2),O.SHORT=function(t){return[(t=F<=t?-(2*F-t):t)>>8&255,255&t]},H.SHORT=_(2),O.UINT24=function(t){return[t>>16&255,t>>8&255,255&t]},H.UINT24=_(3),O.ULONG=function(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]},H.ULONG=_(4),O.LONG=function(t){return[(t=R<=t?-(2*R-t):t)>>24&255,t>>16&255,t>>8&255,255&t]},H.LONG=_(4),O.FIXED=O.ULONG,H.FIXED=H.ULONG,O.FWORD=O.SHORT,H.FWORD=H.SHORT,O.UFWORD=O.USHORT,H.UFWORD=H.USHORT,O.LONGDATETIME=function(t){return[0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t]},H.LONGDATETIME=_(8),O.TAG=function(t){return N.argument(4===t.length,"Tag should be exactly 4 ASCII characters."),[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]},H.TAG=_(4),O.Card8=O.BYTE,H.Card8=H.BYTE,O.Card16=O.USHORT,H.Card16=H.USHORT,O.OffSize=O.BYTE,H.OffSize=H.BYTE,O.SID=O.USHORT,H.SID=H.USHORT,O.NUMBER=function(t){return-107<=t&&t<=107?[t+139]:108<=t&&t<=1131?[((t-=108)>>8)+247,255&t]:-1131<=t&&t<=-108?[((t=-t-108)>>8)+251,255&t]:-32768<=t&&t<=32767?O.NUMBER16(t):O.NUMBER32(t)},H.NUMBER=function(t){return O.NUMBER(t).length},O.NUMBER16=function(t){return[28,t>>8&255,255&t]},H.NUMBER16=_(3),O.NUMBER32=function(t){return[29,t>>24&255,t>>16&255,t>>8&255,255&t]},H.NUMBER32=_(5),O.REAL=function(t){var e=t.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(e),r,e;r&&(r=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length)),e=(Math.round(t*r)/r).toString());for(var i="",n=0,a=e.length;n<a;n+=1){var s=e[n];i+="e"===s?"-"===e[++n]?"c":"b":"."===s?"a":"-"===s?"e":s}for(var o=[30],l=0,u=(i+=1&i.length?"f":"ff").length;l<u;l+=2)o.push(parseInt(i.substr(l,2),16));return o},H.REAL=function(t){return O.REAL(t).length},O.NAME=O.CHARARRAY,H.NAME=H.CHARARRAY,O.STRING=O.CHARARRAY,H.STRING=H.CHARARRAY,M.UTF8=function(t,e,r){for(var i=[],n=r,a=0;a<n;a++,e+=1)i[a]=t.getUint8(e);return String.fromCharCode.apply(null,i)},M.UTF16=function(t,e,r){for(var i=[],n=r/2,a=0;a<n;a++,e+=2)i[a]=t.getUint16(e);return String.fromCharCode.apply(null,i)},O.UTF16=function(t){for(var e=[],r=0;r<t.length;r+=1){var i=t.charCodeAt(r);e[e.length]=i>>8&255,e[e.length]=255&i}return e},H.UTF16=function(t){return 2*t.length};var V={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø"+"¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњ"+"јЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæø"+"ṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩ"+"άΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗ"+"ᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅ"+"ņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};M.MACSTRING=function(t,e,r,i){var n=V[i];if(void 0===n)return;for(var a="",s=0;s<r;s++){var o=t.getUint8(e+s);a+=o<=127?String.fromCharCode(o):n[127&o]}return a};var G="function"==typeof WeakMap&&new WeakMap,U,j=function(t){if(!U)for(var e in U={},V)U[e]=new String(e);var r=U[t];if(void 0===r)return;if(G){var i=G.get(r);if(void 0!==i)return i}var n=V[t];if(void 0===n)return;for(var a={},s=0;s<n.length;s++)a[n.charCodeAt(s)]=s+128;return G&&G.set(r,a),a};function W(t){return-128<=t&&t<=127}function q(t,e,r){var i=0,n=t.length;while(e<n&&i<64&&0===t[e])++e,++i;return r.push(128|i-1),e}function z(t,e,r){var i=0,n=t.length,a=e;while(a<n&&i<64){var s=t[a];if(!W(s))break;if(0===s&&a+1<n&&0===t[a+1])break;++a,++i}r.push(i-1);for(var o=e;o<a;++o)r.push(t[o]+256&255);return a}function X(t,e,r){var i=0,n=t.length,a=e;while(a<n&&i<64){var s=t[a];if(0===s)break;if(W(s)&&a+1<n&&W(t[a+1]))break;++a,++i}r.push(64|i-1);for(var o=e;o<a;++o){var l=t[o];r.push(l+65536>>8&255,l+256&255)}return a}O.MACSTRING=function(t,e){var r=j(e);if(void 0===r)return;for(var i=[],n=0;n<t.length;n++){var a=t.charCodeAt(n);if(128<=a&&void 0===(a=r[a]))return;i[n]=a}return i},H.MACSTRING=function(t,e){var e=O.MACSTRING(t,e);return void 0!==e?e.length:0},O.VARDELTAS=function(t){var e=0,r=[];while(e<t.length)var i=t[e],e=(0===i?q:-128<=i&&i<=127?z:X)(t,e,r);return r},O.INDEX=function(t){for(var e=1,r=[e],i=[],n=0;n<t.length;n+=1){var a=O.OBJECT(t[n]);Array.prototype.push.apply(i,a),e+=a.length,r.push(e)}if(0===i.length)return[0,0];for(var s=[],o=1+Math.floor(Math.log(e)/Math.log(2))/8|0,l=[void 0,O.BYTE,O.USHORT,O.UINT24,O.ULONG][o],u=0;u<r.length;u+=1){var h=l(r[u]);Array.prototype.push.apply(s,h)}return Array.prototype.concat(O.Card16(t.length),O.OffSize(o),s,i)},H.INDEX=function(t){return O.INDEX(t).length},O.DICT=function(t){for(var e=[],r=Object.keys(t),i=r.length,n=0;n<i;n+=1){var a=parseInt(r[n],0),s=t[a],e;e=(e=e.concat(O.OPERAND(s.value,s.type))).concat(O.OPERATOR(a))}return e},H.DICT=function(t){return O.DICT(t).length},O.OPERATOR=function(t){return t<1200?[t]:[12,t-1200]},O.OPERAND=function(t,e){var r=[];if(Array.isArray(e))for(var i=0;i<e.length;i+=1)N.argument(t.length===e.length,"Not enough arguments given for type"+e),r=r.concat(O.OPERAND(t[i],e[i]));else if("SID"===e)r=r.concat(O.NUMBER(t));else if("offset"===e)r=r.concat(O.NUMBER32(t));else if("number"===e)r=r.concat(O.NUMBER(t));else{if("real"!==e)throw new Error("Unknown operand type "+e);r=r.concat(O.REAL(t))}return r},O.OP=O.BYTE,H.OP=H.BYTE;var J="function"==typeof WeakMap&&new WeakMap;function Y(t,e,r){for(var i=this,n=0;n<e.length;n+=1){var a=e[n];i[a.name]=a.value}if(this.tableName=t,this.fields=e,r)for(var s=Object.keys(r),o=0;o<s.length;o+=1){var l=s[o],u=r[l];void 0!==i[l]&&(i[l]=u)}}function Q(t,e,r){void 0===r&&(r=e.length);var i=new Array(e.length+1);i[0]={name:t+"Count",type:"USHORT",value:r};for(var n=0;n<e.length;n++)i[n+1]={name:t+n,type:"USHORT",value:e[n]};return i}function K(t,e,r){var i=e.length,n=new Array(i+1);n[0]={name:t+"Count",type:"USHORT",value:i};for(var a=0;a<i;a++)n[a+1]={name:t+a,type:"TABLE",value:r(e[a],a)};return n}function Z(t,e,r){var i=e.length,n=[];n[0]={name:t+"Count",type:"USHORT",value:i};for(var a=0;a<i;a++)n=n.concat(r(e[a],a));return n}function $(t){1===t.format?Y.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat(Q("glyph",t.glyphs))):N.assert(!1,"Can't create coverage table format 2 yet.")}function tt(t){Y.call(this,"scriptListTable",Z("scriptRecord",t,function(t,e){var r=t.script,i=r.defaultLangSys;return N.assert(!!i,"Unable to write GSUB: script "+t.tag+" has no default language system."),[{name:"scriptTag"+e,type:"TAG",value:t.tag},{name:"script"+e,type:"TABLE",value:new Y("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new Y("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:i.reqFeatureIndex}].concat(Q("featureIndex",i.featureIndexes)))}].concat(Z("langSys",r.langSysRecords,function(t,e){var r=t.langSys;return[{name:"langSysTag"+e,type:"TAG",value:t.tag},{name:"langSys"+e,type:"TABLE",value:new Y("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat(Q("featureIndex",r.featureIndexes)))}]})))}]}))}function et(t){Y.call(this,"featureListTable",Z("featureRecord",t,function(t,e){var r=t.feature;return[{name:"featureTag"+e,type:"TAG",value:t.tag},{name:"feature"+e,type:"TABLE",value:new Y("featureTable",[{name:"featureParams",type:"USHORT",value:r.featureParams}].concat(Q("lookupListIndex",r.lookupListIndexes)))}]}))}function rt(t,r){Y.call(this,"lookupListTable",K("lookup",t,function(t){var e=r[t.lookupType];return N.assert(!!e,"Unable to write GSUB lookup type "+t.lookupType+" tables."),new Y("lookupTable",[{name:"lookupType",type:"USHORT",value:t.lookupType},{name:"lookupFlag",type:"USHORT",value:t.lookupFlag}].concat(K("subtable",t.subtables,e)))}))}O.CHARSTRING=function(t){if(J){var e=J.get(t);if(void 0!==e)return e}for(var r=[],i=t.length,n=0;n<i;n+=1)var a=t[n],r=r.concat(O[a.type](a.value));return J&&J.set(t,r),r},H.CHARSTRING=function(t){return O.CHARSTRING(t).length},O.OBJECT=function(t){var e=O[t.type];return N.argument(void 0!==e,"No encoding function for type "+t.type),e(t.value)},H.OBJECT=function(t){var e=H[t.type];return N.argument(void 0!==e,"No sizeOf function for type "+t.type),e(t.value)},O.TABLE=function(t){for(var e=[],r=t.fields.length,i=[],n=[],a=0;a<r;a+=1){var s=t.fields[a],o=O[s.type];N.argument(void 0!==o,"No encoding function for field type "+s.type+" ("+s.name+")");var l=t[s.name],l=o(l=void 0===l?s.value:l);"TABLE"===s.type?(n.push(e.length),e=e.concat([0,0]),i.push(l)):e=e.concat(l)}for(var u=0;u<i.length;u+=1){var h=n[u],c=e.length;N.argument(c<65536,"Table "+t.tableName+" too big."),e[h]=c>>8,e[h+1]=255&c,e=e.concat(i[u])}return e},H.TABLE=function(t){for(var e=0,r=t.fields.length,i=0;i<r;i+=1){var n=t.fields[i],a=H[n.type];N.argument(void 0!==a,"No sizeOf function for field type "+n.type+" ("+n.name+")");var s=t[n.name];e+=a(s=void 0===s?n.value:s),"TABLE"===n.type&&(e+=2)}return e},O.RECORD=O.TABLE,H.RECORD=H.TABLE,O.LITERAL=function(t){return t},H.LITERAL=function(t){return t.length},Y.prototype.encode=function(){return O.TABLE(this)},Y.prototype.sizeOf=function(){return H.TABLE(this)};var it={Table:Y,Record:Y,Coverage:($.prototype=Object.create(Y.prototype)).constructor=$,ScriptList:(tt.prototype=Object.create(Y.prototype)).constructor=tt,FeatureList:(et.prototype=Object.create(Y.prototype)).constructor=et,LookupList:(rt.prototype=Object.create(Y.prototype)).constructor=rt,ushortList:Q,tableList:K,recordList:Z};function nt(t,e){return t.getUint8(e)}function at(t,e){return t.getUint16(e,!1)}function st(t,e){return t.getInt16(e,!1)}function ot(t,e){return t.getUint32(e,!1)}function lt(t,e){var r,i;return t.getInt16(e,!1)+t.getUint16(e+2,!1)/65535}function ut(t,e){for(var r="",i=e;i<e+4;i+=1)r+=String.fromCharCode(t.getInt8(i));return r}function ht(t,e,r){for(var i=0,n=0;n<r;n+=1)i<<=8,i+=t.getUint8(e+n);return i}function ct(t,e,r){for(var i=[],n=e;n<r;n+=1)i.push(t.getUint8(n));return i}function dt(t){for(var e="",r=0;r<t.length;r+=1)e+=String.fromCharCode(t[r]);return e}var mt={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function pt(t,e){this.data=t,this.offset=e,this.relativeOffset=0}pt.prototype.parseByte=function(){var t=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,t},pt.prototype.parseChar=function(){var t=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,t},pt.prototype.parseCard8=pt.prototype.parseByte,pt.prototype.parseCard16=pt.prototype.parseUShort=function(){var t=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,t},pt.prototype.parseSID=pt.prototype.parseUShort,pt.prototype.parseOffset16=pt.prototype.parseUShort,pt.prototype.parseShort=function(){var t=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,t},pt.prototype.parseF2Dot14=function(){var t=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,t},pt.prototype.parseOffset32=pt.prototype.parseULong=function(){var t=ot(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,t},pt.prototype.parseFixed=function(){var t=lt(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,t},pt.prototype.parseString=function(t){var e=this.data,r=this.offset+this.relativeOffset,i="";this.relativeOffset+=t;for(var n=0;n<t;n++)i+=String.fromCharCode(e.getUint8(r+n));return i},pt.prototype.parseTag=function(){return this.parseString(4)},pt.prototype.parseLongDateTime=function(){var t=ot(this.data,this.offset+this.relativeOffset+4);return t-=2082844800,this.relativeOffset+=8,t},pt.prototype.parseVersion=function(t){var e=at(this.data,this.offset+this.relativeOffset),r=at(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,e+r/(t=void 0===t?4096:t)/10},pt.prototype.skip=function(t,e){this.relativeOffset+=mt[t]*(e=void 0===e?1:e)},pt.prototype.parseULongList=function(t){void 0===t&&(t=this.parseULong());for(var e=new Array(t),r=this.data,i=this.offset+this.relativeOffset,n=0;n<t;n++)e[n]=r.getUint32(i),i+=4;return this.relativeOffset+=4*t,e},pt.prototype.parseOffset16List=pt.prototype.parseUShortList=function(t){void 0===t&&(t=this.parseUShort());for(var e=new Array(t),r=this.data,i=this.offset+this.relativeOffset,n=0;n<t;n++)e[n]=r.getUint16(i),i+=2;return this.relativeOffset+=2*t,e},pt.prototype.parseShortList=function(t){for(var e=new Array(t),r=this.data,i=this.offset+this.relativeOffset,n=0;n<t;n++)e[n]=r.getInt16(i),i+=2;return this.relativeOffset+=2*t,e},pt.prototype.parseByteList=function(t){for(var e=new Array(t),r=this.data,i=this.offset+this.relativeOffset,n=0;n<t;n++)e[n]=r.getUint8(i++);return this.relativeOffset+=t,e},pt.prototype.parseList=function(t,e){var r=this;e||(e=t,t=this.parseUShort());for(var i=new Array(t),n=0;n<t;n++)i[n]=e.call(r);return i},pt.prototype.parseList32=function(t,e){var r=this;e||(e=t,t=this.parseULong());for(var i=new Array(t),n=0;n<t;n++)i[n]=e.call(r);return i},pt.prototype.parseRecordList=function(t,e){var r=this;e||(e=t,t=this.parseUShort());for(var i=new Array(t),n=Object.keys(e),a=0;a<t;a++){for(var s={},o=0;o<n.length;o++){var l=n[o],u=e[l];s[l]=u.call(r)}i[a]=s}return i},pt.prototype.parseRecordList32=function(t,e){var r=this;e||(e=t,t=this.parseULong());for(var i=new Array(t),n=Object.keys(e),a=0;a<t;a++){for(var s={},o=0;o<n.length;o++){var l=n[o],u=e[l];s[l]=u.call(r)}i[a]=s}return i},pt.prototype.parseStruct=function(t){var e=this;if("function"==typeof t)return t.call(this);for(var r=Object.keys(t),i={},n=0;n<r.length;n++){var a=r[n],s=t[a];i[a]=s.call(e)}return i},pt.prototype.parseValueRecord=function(t){if(0===(t=void 0===t?this.parseUShort():t))return;var e={};return 1&t&&(e.xPlacement=this.parseShort()),2&t&&(e.yPlacement=this.parseShort()),4&t&&(e.xAdvance=this.parseShort()),8&t&&(e.yAdvance=this.parseShort()),16&t&&(e.xPlaDevice=void 0,this.parseShort()),32&t&&(e.yPlaDevice=void 0,this.parseShort()),64&t&&(e.xAdvDevice=void 0,this.parseShort()),128&t&&(e.yAdvDevice=void 0,this.parseShort()),e},pt.prototype.parseValueRecordList=function(){for(var t=this,e=this.parseUShort(),r=this.parseUShort(),i=new Array(r),n=0;n<r;n++)i[n]=t.parseValueRecord(e);return i},pt.prototype.parsePointer=function(t){var e=this.parseOffset16();if(0<e)return new pt(this.data,this.offset+e).parseStruct(t);return},pt.prototype.parsePointer32=function(t){var e=this.parseOffset32();if(0<e)return new pt(this.data,this.offset+e).parseStruct(t);return},pt.prototype.parseListOfLists=function(t){for(var e=this,r=this.parseOffset16List(),i=r.length,n=this.relativeOffset,a=new Array(i),s=0;s<i;s++){var o=r[s];if(0===o){a[s]=void 0;continue}if(e.relativeOffset=o,t){for(var l=e.parseOffset16List(),u=new Array(l.length),h=0;h<l.length;h++)e.relativeOffset=o+l[h],u[h]=t.call(e);a[s]=u}else a[s]=e.parseUShortList()}return this.relativeOffset=n,a},pt.prototype.parseCoverage=function(){var t=this,e=this.offset+this.relativeOffset,r=this.parseUShort(),i=this.parseUShort();if(1===r)return{format:1,glyphs:this.parseUShortList(i)};if(2===r){for(var n=new Array(i),a=0;a<i;a++)n[a]={start:t.parseUShort(),end:t.parseUShort(),index:t.parseUShort()};return{format:2,ranges:n}}throw new Error("0x"+e.toString(16)+": Coverage format must be 1 or 2.")},pt.prototype.parseClassDef=function(){var t=this.offset+this.relativeOffset,e=this.parseUShort();if(1===e)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===e)return{format:2,ranges:this.parseRecordList({start:pt.uShort,end:pt.uShort,classId:pt.uShort})};throw new Error("0x"+t.toString(16)+": ClassDef format must be 1 or 2.")},pt.list=function(t,e){return function(){return this.parseList(t,e)}},pt.list32=function(t,e){return function(){return this.parseList32(t,e)}},pt.recordList=function(t,e){return function(){return this.parseRecordList(t,e)}},pt.recordList32=function(t,e){return function(){return this.parseRecordList32(t,e)}},pt.pointer=function(t){return function(){return this.parsePointer(t)}},pt.pointer32=function(t){return function(){return this.parsePointer32(t)}},pt.tag=pt.prototype.parseTag,pt.byte=pt.prototype.parseByte,pt.uShort=pt.offset16=pt.prototype.parseUShort,pt.uShortList=pt.prototype.parseUShortList,pt.uLong=pt.offset32=pt.prototype.parseULong,pt.uLongList=pt.prototype.parseULongList,pt.struct=pt.prototype.parseStruct,pt.coverage=pt.prototype.parseCoverage,pt.classDef=pt.prototype.parseClassDef;var gt={reserved:pt.uShort,reqFeatureIndex:pt.uShort,featureIndexes:pt.uShortList};pt.prototype.parseScriptList=function(){return this.parsePointer(pt.recordList({tag:pt.tag,script:pt.pointer({defaultLangSys:pt.pointer(gt),langSysRecords:pt.recordList({tag:pt.tag,langSys:pt.pointer(gt)})})}))||[]},pt.prototype.parseFeatureList=function(){return this.parsePointer(pt.recordList({tag:pt.tag,feature:pt.pointer({featureParams:pt.offset16,lookupListIndexes:pt.uShortList})}))||[]},pt.prototype.parseLookupList=function(i){return this.parsePointer(pt.list(pt.pointer(function(){var t=this.parseUShort();N.argument(1<=t&&t<=9,"GPOS/GSUB lookup type "+t+" unknown.");var e=this.parseUShort(),r=16&e;return{lookupType:t,lookupFlag:e,subtables:this.parseList(pt.pointer(i[t])),markFilteringSet:r?this.parseUShort():void 0}})))||[]},pt.prototype.parseFeatureVariationsList=function(){return this.parsePointer32(function(){var t=this.parseUShort(),e=this.parseUShort(),r;return N.argument(1===t&&e<1,"GPOS/GSUB feature variations table unknown."),this.parseRecordList32({conditionSetOffset:pt.offset32,featureTableSubstitutionOffset:pt.offset32})})||[]};var ft={getByte:nt,getCard8:nt,getUShort:at,getCard16:at,getShort:st,getULong:ot,getFixed:lt,getTag:ut,getOffset:ht,getBytes:ct,bytesToString:dt,Parser:pt};function St(t,e){var r;e.parseUShort(),t.length=e.parseULong(),t.language=e.parseULong(),t.groupCount=r=e.parseULong(),t.glyphIndexMap={};for(var i=0;i<r;i+=1)for(var n=e.parseULong(),a=e.parseULong(),s=e.parseULong(),o=n;o<=a;o+=1)t.glyphIndexMap[o]=s,s++}function bt(t,e,r,i,n){var a;t.length=e.parseUShort(),t.language=e.parseUShort(),t.segCount=a=e.parseUShort()>>1,e.skip("uShort",3),t.glyphIndexMap={};for(var s=new ft.Parser(r,i+n+14),o=new ft.Parser(r,i+n+16+2*a),l=new ft.Parser(r,i+n+16+4*a),u=new ft.Parser(r,i+n+16+6*a),h=i+n+16+8*a,c=0;c<a-1;c+=1)for(var d=void 0,m=s.parseUShort(),p=o.parseUShort(),g=l.parseShort(),f=u.parseUShort(),S=p;S<=m;S+=1)0!==f?(h=u.offset+u.relativeOffset-2,h+=f,0!==(d=ft.getUShort(r,h+=2*(S-p)))&&(d=d+g&65535)):d=S+g&65535,t.glyphIndexMap[S]=d}function yt(t,e){var r={};r.version=ft.getUShort(t,e),N.argument(0===r.version,"cmap table version should be 0."),r.numTables=ft.getUShort(t,e+2);for(var i=-1,n=r.numTables-1;0<=n;--n){var a=ft.getUShort(t,e+4+8*n),s=ft.getUShort(t,e+4+8*n+2);if(3===a&&(0===s||1===s||10===s)||0===a&&(0===s||1===s||2===s||3===s||4===s)){i=ft.getULong(t,e+4+8*n+4);break}}if(-1===i)throw new Error("No valid cmap sub-tables found.");var o=new ft.Parser(t,e+i);if(r.format=o.parseUShort(),12===r.format)St(r,o);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");bt(r,o,t,e,i)}return r}function vt(t,e,r){t.segments.push({end:e,start:e,delta:-(e-r),offset:0,glyphIndex:r})}function wt(t){t.segments.push({end:65535,start:65535,delta:1,offset:0})}function Ct(t){for(var e=!0,r,r=t.length-1,i;0<r;--r){if(65535<t.get(r).unicode){console.log("Adding CMAP format 12 (needed!)"),e=!1;break}}var n=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:e?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:e?12:12+8}],n=(n=!e?n.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}]):n).concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]),a=new it.Table("cmap",n);for(a.segments=[],r=0;r<t.length;r+=1){for(var s=t.get(r),o=0;o<s.unicodes.length;o+=1)vt(a,s.unicodes[o],r);a.segments=a.segments.sort(function(t,e){return t.start-e.start})}wt(a);var l=a.segments.length,u=0,h=[],c=[],d=[],m=[],p=[],g=[],n;for(r=0;r<l;r+=1){var f=a.segments[r];f.end<=65535&&f.start<=65535?(h=h.concat({name:"end_"+r,type:"USHORT",value:f.end}),c=c.concat({name:"start_"+r,type:"USHORT",value:f.start}),d=d.concat({name:"idDelta_"+r,type:"SHORT",value:f.delta}),m=m.concat({name:"idRangeOffset_"+r,type:"USHORT",value:f.offset}),void 0!==f.glyphId&&(p=p.concat({name:"glyph_"+r,type:"USHORT",value:f.glyphId}))):u+=1,e||void 0===f.glyphIndex||(g=(g=(g=g.concat({name:"cmap12Start_"+r,type:"ULONG",value:f.start})).concat({name:"cmap12End_"+r,type:"ULONG",value:f.end})).concat({name:"cmap12Glyph_"+r,type:"ULONG",value:f.glyphIndex}))}return a.segCountX2=2*(l-u),a.searchRange=2*Math.pow(2,Math.floor(Math.log(l-u)/Math.log(2))),a.entrySelector=Math.log(a.searchRange/2)/Math.log(2),a.rangeShift=a.segCountX2-a.searchRange,a.fields=a.fields.concat(h),a.fields.push({name:"reservedPad",type:"USHORT",value:0}),a.fields=a.fields.concat(c),a.fields=a.fields.concat(d),a.fields=a.fields.concat(m),a.fields=a.fields.concat(p),a.cmap4Length=14+2*h.length+2+2*c.length+2*d.length+2*m.length+2*p.length,e||(n=16+4*g.length,a.cmap12Offset=12+2*2+4+a.cmap4Length,a.fields=a.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:n},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:g.length/3}]),a.fields=a.fields.concat(g)),a}var Tt={parse:yt,make:Ct},Pt=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],It=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],At=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],xt=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function Dt(t){this.font=t}function Bt(t){this.cmap=t}function Et(t,e){this.encoding=t,this.charset=e}function kt(t){var e=this;switch(t.version){case 1:this.names=xt.slice();break;case 2:this.names=new Array(t.numberOfGlyphs);for(var r=0;r<t.numberOfGlyphs;r++)t.glyphNameIndex[r]<xt.length?e.names[r]=xt[t.glyphNameIndex[r]]:e.names[r]=t.names[t.glyphNameIndex[r]-xt.length];break;case 2.5:this.names=new Array(t.numberOfGlyphs);for(var i=0;i<t.numberOfGlyphs;i++)e.names[i]=xt[i+t.glyphNameIndex[i]];break;case 3:this.names=[];break;default:this.names=[];break}}function Nt(t){for(var e,r=t.tables.cmap.glyphIndexMap,i=Object.keys(r),n=0;n<i.length;n+=1){var a=i[n],s=r[a],e;(e=t.glyphs.get(s)).addUnicode(parseInt(a))}for(var o=0;o<t.glyphs.length;o+=1)e=t.glyphs.get(o),t.cffEncoding?t.isCIDFont?e.name="gid"+o:e.name=t.cffEncoding.charset[o]:t.glyphNames.names&&(e.name=t.glyphNames.glyphIndexToName(o))}function Ft(t){t._IndexToUnicodeMap={};for(var e=t.tables.cmap.glyphIndexMap,r=Object.keys(e),i=0;i<r.length;i+=1){var n=r[i],a=e[n];void 0===t._IndexToUnicodeMap[a]?t._IndexToUnicodeMap[a]={unicodes:[parseInt(n)]}:t._IndexToUnicodeMap[a].unicodes.push(parseInt(n))}}function Rt(t,e){(e.lowMemory?Ft:Nt)(t)}function Lt(t,e,r,i,n){t.beginPath(),t.moveTo(e,r),t.lineTo(i,n),t.stroke()}Dt.prototype.charToGlyphIndex=function(t){var e=t.codePointAt(0),r=this.font.glyphs;if(r)for(var i=0;i<r.length;i+=1)for(var n=r.get(i),a=0;a<n.unicodes.length;a+=1)if(n.unicodes[a]===e)return i;return null},Bt.prototype.charToGlyphIndex=function(t){return this.cmap.glyphIndexMap[t.codePointAt(0)]||0},Et.prototype.charToGlyphIndex=function(t){var t=t.codePointAt(0),t=this.encoding[t];return this.charset.indexOf(t)},kt.prototype.nameToGlyphIndex=function(t){return this.names.indexOf(t)},kt.prototype.glyphIndexToName=function(t){return this.names[t]};var Mt={line:Lt};function Ot(t,e){var r=e||new L;return{configurable:!0,get:function(){return r="function"==typeof r?r():r},set:function(t){r=t}}}function Ht(t){this.bindConstructorValues(t)}function _t(e,t,r){Object.defineProperty(e,t,{get:function(){return e.path,e[r]},set:function(t){e[r]=t},enumerable:!0,configurable:!0})}function Vt(t,e){var r=this;if(this.font=t,this.glyphs={},Array.isArray(e))for(var i=0;i<e.length;i++){var n=e[i];n.path.unitsPerEm=t.unitsPerEm,r.glyphs[i]=n}this.length=e&&e.length||0}function Gt(t,e){return new Ht({index:e,font:t})}function Ut(r,t,i,n,a,s){return function(){var e=new Ht({index:t,font:r});return e.path=function(){i(e,n,a);var t=s(r.glyphs,e);return t.unitsPerEm=r.unitsPerEm,t},_t(e,"xMin","_xMin"),_t(e,"xMax","_xMax"),_t(e,"yMin","_yMin"),_t(e,"yMax","_yMax"),e}}function jt(r,t,i,n){return function(){var e=new Ht({index:t,font:r});return e.path=function(){var t=i(r,e,n);return t.unitsPerEm=r.unitsPerEm,t},e}}Ht.prototype.bindConstructorValues=function(t){this.index=t.index||0,this.name=t.name||null,this.unicode=t.unicode||void 0,this.unicodes=t.unicodes||void 0!==t.unicode?[t.unicode]:[],t.xMin&&(this.xMin=t.xMin),t.yMin&&(this.yMin=t.yMin),t.xMax&&(this.xMax=t.xMax),t.yMax&&(this.yMax=t.yMax),t.advanceWidth&&(this.advanceWidth=t.advanceWidth),Object.defineProperty(this,"path",Ot(this,t.path))},Ht.prototype.addUnicode=function(t){0===this.unicodes.length&&(this.unicode=t),this.unicodes.push(t)},Ht.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},Ht.prototype.getPath=function(t,e,r,i,n){var a,s;t=void 0!==t?t:0,e=void 0!==e?e:0,r=void 0!==r?r:72;var o=(i=i||{}).xScale,l=i.yScale,a,r;(s=i.hinting&&n&&n.hinting?this.path&&n.hinting.exec(this,r):s)?(a=n.hinting.getCommands(s),t=Math.round(t),e=Math.round(e),o=l=1):(a=this.path.commands,r=1/(this.path.unitsPerEm||1e3)*r,void 0===o&&(o=r),void 0===l&&(l=r));for(var u=new L,h=0;h<a.length;h+=1){var c=a[h];"M"===c.type?u.moveTo(t+c.x*o,e+-c.y*l):"L"===c.type?u.lineTo(t+c.x*o,e+-c.y*l):"Q"===c.type?u.quadraticCurveTo(t+c.x1*o,e+-c.y1*l,t+c.x*o,e+-c.y*l):"C"===c.type?u.curveTo(t+c.x1*o,e+-c.y1*l,t+c.x2*o,e+-c.y2*l,t+c.x*o,e+-c.y*l):"Z"===c.type&&u.closePath()}return u},Ht.prototype.getContours=function(){var t=this;if(void 0===this.points)return[];for(var e=[],r=[],i=0;i<this.points.length;i+=1){var n=t.points[i];r.push(n),n.lastPointOfContour&&(e.push(r),r=[])}return N.argument(0===r.length,"There are still points left in the current contour."),e},Ht.prototype.getMetrics=function(){for(var t=this.path.commands,e=[],r=[],i=0;i<t.length;i+=1){var n=t[i];"Z"!==n.type&&(e.push(n.x),r.push(n.y)),"Q"!==n.type&&"C"!==n.type||(e.push(n.x1),r.push(n.y1)),"C"===n.type&&(e.push(n.x2),r.push(n.y2))}var a={xMin:Math.min.apply(null,e),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,e),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(a.xMin)||(a.xMin=0),isFinite(a.xMax)||(a.xMax=this.advanceWidth),isFinite(a.yMin)||(a.yMin=0),isFinite(a.yMax)||(a.yMax=0),a.rightSideBearing=this.advanceWidth-a.leftSideBearing-(a.xMax-a.xMin),a},Ht.prototype.draw=function(t,e,r,i,n){this.getPath(e,r,i,n).draw(t)},Ht.prototype.drawPoints=function(s,t,e,r){function i(t,e,r,i){var n=2*Math.PI;s.beginPath();for(var a=0;a<t.length;a+=1)s.moveTo(e+t[a].x*i,r+t[a].y*i),s.arc(e+t[a].x*i,r+t[a].y*i,2,0,n,!1);s.closePath(),s.fill()}t=void 0!==t?t:0,e=void 0!==e?e:0;for(var r=1/this.path.unitsPerEm*(r=void 0!==r?r:24),n=[],a=[],o=this.path,l=0;l<o.commands.length;l+=1){var u=o.commands[l];void 0!==u.x&&n.push({x:u.x,y:-u.y}),void 0!==u.x1&&a.push({x:u.x1,y:-u.y1}),void 0!==u.x2&&a.push({x:u.x2,y:-u.y2})}s.fillStyle="blue",i(n,t,e,r),s.fillStyle="red",i(a,t,e,r)},Ht.prototype.drawMetrics=function(t,e,r,i){var n;e=void 0!==e?e:0,r=void 0!==r?r:0,n=1/this.path.unitsPerEm*(i=void 0!==i?i:24),t.lineWidth=1,t.strokeStyle="black",Mt.line(t,e,-1e4,e,1e4),Mt.line(t,-1e4,r,1e4,r);var a=this.xMin||0,s=this.yMin||0,o=this.xMax||0,l=this.yMax||0,i=this.advanceWidth||0;t.strokeStyle="blue",Mt.line(t,e+a*n,-1e4,e+a*n,1e4),Mt.line(t,e+o*n,-1e4,e+o*n,1e4),Mt.line(t,-1e4,r+-s*n,1e4,r+-s*n),Mt.line(t,-1e4,r+-l*n,1e4,r+-l*n),t.strokeStyle="green",Mt.line(t,e+i*n,-1e4,e+i*n,1e4)},Vt.prototype.get=function(t){if(void 0===this.glyphs[t]){this.font._push(t),"function"==typeof this.glyphs[t]&&(this.glyphs[t]=this.glyphs[t]());var e=this.glyphs[t],r=this.font._IndexToUnicodeMap[t];if(r)for(var i=0;i<r.unicodes.length;i++)e.addUnicode(r.unicodes[i]);this.font.cffEncoding?this.font.isCIDFont?e.name="gid"+t:e.name=this.font.cffEncoding.charset[t]:this.font.glyphNames.names&&(e.name=this.font.glyphNames.glyphIndexToName(t)),this.glyphs[t].advanceWidth=this.font._hmtxTableData[t].advanceWidth,this.glyphs[t].leftSideBearing=this.font._hmtxTableData[t].leftSideBearing}else"function"==typeof this.glyphs[t]&&(this.glyphs[t]=this.glyphs[t]());return this.glyphs[t]},Vt.prototype.push=function(t,e){this.glyphs[t]=e,this.length++};var Wt={GlyphSet:Vt,glyphLoader:Gt,ttfGlyphLoader:Ut,cffGlyphLoader:jt};function qt(t,e){if(t===e)return 1;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return 0;for(var r=0;r<t.length;r+=1)if(!qt(t[r],e[r]))return 0;return 1}return 0}function zt(t){var t,t=t.length<1240?107:t.length<33900?1131:32768;return t}function Xt(t,e,r){var i=[],n=[],a=ft.getCard16(t,e),s,o;if(0!==a){for(var l=ft.getByte(t,e+2),s=e+(a+1)*l+2,u=e+3,h=0;h<a+1;h+=1)i.push(ft.getOffset(t,u,l)),u+=l;o=s+i[a]}else o=e+2;for(var c=0;c<i.length-1;c+=1){var d=ft.getBytes(t,s+i[c],s+i[c+1]);r&&(d=r(d)),n.push(d)}return{objects:n,startOffset:e,endOffset:o}}function Jt(t,e){var r=[],i=ft.getCard16(t,e),n,n;if(0!==i){for(var a=ft.getByte(t,e+2),n=e+(i+1)*a+2,s=e+3,o=0;o<i+1;o+=1)r.push(ft.getOffset(t,s,a)),s+=a;n=n+r[i]}else n=e+2;return{offsets:r,startOffset:e,endOffset:n}}function Yt(t,e,r,i,n){var a=ft.getCard16(r,i),s=0,o,s;0!==a&&(s=i+(a+1)*ft.getByte(r,i+2)+2);var t=ft.getBytes(r,s+e[t],s+e[t+1]);return t=n?n(t):t}function Qt(t){var e="",r=15,i=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];while(1){var n=t.parseByte(),a=n>>4,n=15&n;if(a==r)break;if(e+=i[a],n==r)break;e+=i[n]}return parseFloat(e)}function Kt(t,e){var r,i,n,a;if(28===e)return(r=t.parseByte())<<8|(i=t.parseByte());if(29===e)return(r=t.parseByte())<<24|(i=t.parseByte())<<16|(n=t.parseByte())<<8|(a=t.parseByte());if(30===e)return Qt(t);if(32<=e&&e<=246)return e-139;if(247<=e&&e<=250)return 256*(e-247)+(r=t.parseByte())+108;if(251<=e&&e<=254)return 256*-(e-251)-(r=t.parseByte())-108;throw new Error("Invalid b0 "+e)}function Zt(t){for(var e={},r=0;r<t.length;r+=1){var i=t[r][0],n=t[r][1],a=void 0,a=1===n.length?n[0]:n;if(e.hasOwnProperty(i)&&!isNaN(e[i]))throw new Error("Object "+e+" already has key "+i);e[i]=a}return e}function $t(t,e,r){var i=new ft.Parser(t,e=void 0!==e?e:0),n=[],a=[];r=void 0!==r?r:t.length;while(i.relativeOffset<r){var s=i.parseByte();s<=21?(12===s&&(s=1200+i.parseByte()),n.push([s,a]),a=[]):a.push(Kt(i,s))}return Zt(n)}function te(t,e){return e=e<=390?Pt[e]:t[e-391]}function ee(t,e,r){for(var i={},n,a=0;a<e.length;a+=1){var s=e[a];if(Array.isArray(s.type)){var o=[];o.length=s.type.length;for(var l=0;l<s.type.length;l++)void 0===(n=void 0!==t[s.op]?t[s.op][l]:void 0)&&(n=void 0!==s.value&&void 0!==s.value[l]?s.value[l]:null),"SID"===s.type[l]&&(n=te(r,n)),o[l]=n;i[s.name]=o}else void 0===(n=t[s.op])&&(n=void 0!==s.value?s.value:null),"SID"===s.type&&(n=te(r,n)),i[s.name]=n}return i}function re(t,e){var r={};return r.formatMajor=ft.getCard8(t,e),r.formatMinor=ft.getCard8(t,e+1),r.size=ft.getCard8(t,e+2),r.offsetSize=ft.getCard8(t,e+3),r.startOffset=e,r.endOffset=e+4,r}var ie=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],ne=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}];function ae(t,e){var r;return ee($t(t,0,t.byteLength),ie,e)}function se(t,e,r,i){var n;return ee($t(t,e,r),ne,i)}function oe(t,e,r,i){for(var n=[],a=0;a<r.length;a+=1){var s,o=ae(new DataView(new Uint8Array(r[a]).buffer),i);o._subrs=[],o._subrsBias=0;var l=o.private[0],u=o.private[1],l,h,u;0!==l&&0!==u&&(l=se(t,u+e,l,i),o._defaultWidthX=l.defaultWidthX,o._nominalWidthX=l.nominalWidthX,0!==l.subrs&&(u=Xt(t,u+l.subrs+e),o._subrs=u.objects,o._subrsBias=zt(o._subrs)),o._privateDict=l),n.push(o)}return n}function le(t,e,r,i){var n,a,s=new ft.Parser(t,e);--r;var o=[".notdef"],e=s.parseCard8();if(0===e)for(var l=0;l<r;l+=1)n=s.parseSID(),o.push(te(i,n));else if(1===e)while(o.length<=r)for(var n=s.parseSID(),a=s.parseCard8(),u=0;u<=a;u+=1)o.push(te(i,n)),n+=1;else{if(2!==e)throw new Error("Unknown charset format "+e);while(o.length<=r){n=s.parseSID(),a=s.parseCard16();for(var h=0;h<=a;h+=1)o.push(te(i,n)),n+=1}}return o}function ue(t,e,r){var i,n={},a=new ft.Parser(t,e),e=a.parseCard8();if(0===e)for(var s=a.parseCard8(),o=0;o<s;o+=1)n[i=a.parseCard8()]=o;else{if(1!==e)throw new Error("Unknown encoding format "+e);for(var l=a.parseCard8(),i=1,u=0;u<l;u+=1)for(var h=a.parseCard8(),c=a.parseCard8(),d=h;d<=h+c;d+=1)n[d]=i,i+=1}return new Et(n,r)}function he(g,f,t){var S,b,y,v,w=new L,C=[],T=0,P=!1,I=!1,A=0,x=0,D,B,e,E,e,r,D,B,e,E;E=g.isCIDFont?(e=g.tables.cff.topDict._fdSelect[f.index],r=g.tables.cff.topDict._fdArray[e],D=r._subrs,B=r._subrsBias,e=r._defaultWidthX,r._nominalWidthX):(D=g.tables.cff.topDict._subrs,B=g.tables.cff.topDict._subrsBias,e=g.tables.cff.topDict._defaultWidthX,g.tables.cff.topDict._nominalWidthX);var k=e;function N(t,e){I&&w.closePath(),w.moveTo(t,e),I=!0}function F(){var t,t;C.length%2==0||P||(k=C.shift()+E),T+=C.length>>1,C.length=0,P=!0}function R(t){var e,r,i,n,a,s,o,l,u,h,c,d,m=0;while(m<t.length){var p=t[m];switch(m+=1,p){case 1:F();break;case 3:F();break;case 4:1<C.length&&!P&&(k=C.shift()+E,P=!0),x+=C.pop(),N(A,x);break;case 5:while(0<C.length)A+=C.shift(),x+=C.shift(),w.lineTo(A,x);break;case 6:while(0<C.length){if(A+=C.shift(),w.lineTo(A,x),0===C.length)break;x+=C.shift(),w.lineTo(A,x)}break;case 7:while(0<C.length){if(x+=C.shift(),w.lineTo(A,x),0===C.length)break;A+=C.shift(),w.lineTo(A,x)}break;case 8:while(0<C.length)S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v+C.shift(),w.curveTo(S,b,y,v,A,x);break;case 10:a=C.pop()+B,(s=D[a])&&R(s);break;case 11:return;case 12:switch(p=t[m],m+=1,p){case 35:S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),o=y+C.shift(),l=v+C.shift(),u=o+C.shift(),h=l+C.shift(),c=u+C.shift(),d=h+C.shift(),A=c+C.shift(),x=d+C.shift(),C.shift(),w.curveTo(S,b,y,v,o,l),w.curveTo(u,h,c,d,A,x);break;case 34:S=A+C.shift(),b=x,y=S+C.shift(),v=b+C.shift(),o=y+C.shift(),l=v,u=o+C.shift(),h=v,c=u+C.shift(),d=x,A=c+C.shift(),w.curveTo(S,b,y,v,o,l),w.curveTo(u,h,c,d,A,x);break;case 36:S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),o=y+C.shift(),l=v,u=o+C.shift(),h=v,c=u+C.shift(),d=h+C.shift(),A=c+C.shift(),w.curveTo(S,b,y,v,o,l),w.curveTo(u,h,c,d,A,x);break;case 37:S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),o=y+C.shift(),l=v+C.shift(),u=o+C.shift(),h=l+C.shift(),c=u+C.shift(),d=h+C.shift(),Math.abs(c-A)>Math.abs(d-x)?A=c+C.shift():x=d+C.shift(),w.curveTo(S,b,y,v,o,l),w.curveTo(u,h,c,d,A,x);break;default:console.log("Glyph "+f.index+": unknown operator "+1200+p),C.length=0}break;case 14:0<C.length&&!P&&(k=C.shift()+E,P=!0),I&&(w.closePath(),I=!1);break;case 18:F();break;case 19:case 20:F(),m+=T+7>>3;break;case 21:2<C.length&&!P&&(k=C.shift()+E,P=!0),x+=C.pop(),N(A+=C.pop(),x);break;case 22:1<C.length&&!P&&(k=C.shift()+E,P=!0),N(A+=C.pop(),x);break;case 23:F();break;case 24:while(2<C.length)S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v+C.shift(),w.curveTo(S,b,y,v,A,x);A+=C.shift(),x+=C.shift(),w.lineTo(A,x);break;case 25:while(6<C.length)A+=C.shift(),x+=C.shift(),w.lineTo(A,x);S=A+C.shift(),b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v+C.shift(),w.curveTo(S,b,y,v,A,x);break;case 26:C.length%2&&(A+=C.shift());while(0<C.length)S=A,b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y,x=v+C.shift(),w.curveTo(S,b,y,v,A,x);break;case 27:C.length%2&&(x+=C.shift());while(0<C.length)S=A+C.shift(),b=x,y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v,w.curveTo(S,b,y,v,A,x);break;case 28:e=t[m],r=t[m+1],C.push((e<<24|r<<16)>>16),m+=2;break;case 29:a=C.pop()+g.gsubrsBias,(s=g.gsubrs[a])&&R(s);break;case 30:while(0<C.length){if(S=A,b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v+(1===C.length?C.shift():0),w.curveTo(S,b,y,v,A,x),0===C.length)break;S=A+C.shift(),b=x,y=S+C.shift(),v=b+C.shift(),x=v+C.shift(),A=y+(1===C.length?C.shift():0),w.curveTo(S,b,y,v,A,x)}break;case 31:while(0<C.length){if(S=A+C.shift(),b=x,y=S+C.shift(),v=b+C.shift(),x=v+C.shift(),A=y+(1===C.length?C.shift():0),w.curveTo(S,b,y,v,A,x),0===C.length)break;S=A,b=x+C.shift(),y=S+C.shift(),v=b+C.shift(),A=y+C.shift(),x=v+(1===C.length?C.shift():0),w.curveTo(S,b,y,v,A,x)}break;default:p<32?console.log("Glyph "+f.index+": unknown operator "+p):p<247?C.push(p-139):p<251?(e=t[m],m+=1,C.push(256*(p-247)+e+108)):p<255?(e=t[m],m+=1,C.push(256*-(p-251)-e-108)):(e=t[m],r=t[m+1],i=t[m+2],n=t[m+3],m+=4,C.push((e<<24|r<<16|i<<8|n)/65536))}}}return R(t),f.advanceWidth=k,w}function ce(t,e,r,i){var n=[],a,s=new ft.Parser(t,e),e=s.parseCard8();if(0===e)for(var o=0;o<r;o++){if(i<=(a=s.parseCard8()))throw new Error("CFF table CID Font FDSelect has bad FD index value "+a+" (FD count "+i+")");n.push(a)}else{if(3!==e)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+e);var l=s.parseCard16(),u=s.parseCard16(),h;if(0!==u)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+u);for(var c=0;c<l;c++){if(a=s.parseCard8(),h=s.parseCard16(),i<=a)throw new Error("CFF table CID Font FDSelect has bad FD index value "+a+" (FD count "+i+")");if(r<h)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+h);for(;u<h;u++)n.push(a);u=h}if(h!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+h)}return n}function de(r,i,n,t){n.tables.cff={};var e=re(r,i),a=Xt(r,e.endOffset,ft.bytesToString),s=Xt(r,a.endOffset),e=Xt(r,s.endOffset,ft.bytesToString),a=Xt(r,e.endOffset);n.gsubrs=a.objects,n.gsubrsBias=zt(n.gsubrs);var s=oe(r,i,s.objects,e.objects);if(1!==s.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+s.length);var o=s[0];if((n.tables.cff.topDict=o)._privateDict&&(n.defaultWidthX=o._privateDict.defaultWidthX,n.nominalWidthX=o._privateDict.nominalWidthX),void 0!==o.ros[0]&&void 0!==o.ros[1]&&(n.isCIDFont=!0),n.isCIDFont){var l=o.fdArray,u=o.fdSelect;if(0===l||0===u)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");var l=Xt(r,l+=i),l=oe(r,i,l.objects,e.objects);o._fdArray=l,o._fdSelect=ce(r,u+=i,n.numGlyphs,l.length)}var u=i+o.private[1],l=se(r,u,o.private[0],e.objects),l,l,h;n.defaultWidthX=l.defaultWidthX,n.nominalWidthX=l.nominalWidthX,0!==l.subrs?(l=u+l.subrs,l=Xt(r,l),n.subrs=l.objects,n.subrsBias=zt(n.subrs)):(n.subrs=[],n.subrsBias=0),t.lowMemory?(h=Jt(r,i+o.charStrings),n.nGlyphs=h.offsets.length):(h=Xt(r,i+o.charStrings),n.nGlyphs=h.objects.length);var e=le(r,i+o.charset,n.nGlyphs,e.objects);if(0===o.encoding?n.cffEncoding=new Et(It,e):1===o.encoding?n.cffEncoding=new Et(At,e):n.cffEncoding=ue(r,i+o.encoding,e),n.encoding=n.encoding||n.cffEncoding,n.glyphs=new Wt.GlyphSet(n),t.lowMemory)n._push=function(t){var e=Yt(t,h.offsets,r,i+o.charStrings);n.glyphs.push(t,Wt.cffGlyphLoader(n,t,he,e))};else for(var c=0;c<n.nGlyphs;c+=1){var d=h.objects[c];n.glyphs.push(c,Wt.cffGlyphLoader(n,c,he,d))}}function me(t,e){var r,i=Pt.indexOf(t);return 0<=i&&(r=i),0<=(i=e.indexOf(t))?r=i+Pt.length:(r=Pt.length+e.length,e.push(t)),r}function pe(){return new it.Record("Header",[{name:"major",type:"Card8",value:1},{name:"minor",type:"Card8",value:0},{name:"hdrSize",type:"Card8",value:4},{name:"major",type:"Card8",value:1}])}function ge(t){var e=new it.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);e.names=[];for(var r=0;r<t.length;r+=1)e.names.push({name:"name_"+r,type:"NAME",value:t[r]});return e}function fe(t,e,r){for(var i={},n=0;n<t.length;n+=1){var a=t[n],s=e[a.name];void 0===s||qt(s,a.value)||("SID"===a.type&&(s=me(s,r)),i[a.op]={name:a.name,type:a.type,value:s})}return i}function Se(t,e){var r=new it.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=fe(ie,t,e),r}function be(t){var e=new it.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return e.topDicts=[{name:"topDict_0",type:"TABLE",value:t}],e}function ye(t){var e=new it.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);e.strings=[];for(var r=0;r<t.length;r+=1)e.strings.push({name:"string_"+r,type:"STRING",value:t[r]});return e}function ve(){return new it.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}])}function we(t,e){for(var r=new it.Record("Charsets",[{name:"format",type:"Card8",value:0}]),i=0;i<t.length;i+=1){var n,a=me(t[i],e);r.fields.push({name:"glyph_"+i,type:"SID",value:a})}return r}function Ce(t){var e=[],r=t.path;e.push({name:"width",type:"NUMBER",value:t.advanceWidth});for(var i=0,n=0,a=0;a<r.commands.length;a+=1){var s=void 0,o=void 0,l=r.commands[a],u,h,l,c,d,u,h,s,o;"M"===(l="Q"===l.type?{type:"C",x:l.x,y:l.y,x1:(u=1/3)*i+(h=2/3)*l.x1,y1:u*n+h*l.y1,x2:u*l.x+h*l.x1,y2:u*l.y+h*l.y1}:l).type?(s=Math.round(l.x-i),o=Math.round(l.y-n),e.push({name:"dx",type:"NUMBER",value:s}),e.push({name:"dy",type:"NUMBER",value:o}),e.push({name:"rmoveto",type:"OP",value:21}),i=Math.round(l.x),n=Math.round(l.y)):"L"===l.type?(s=Math.round(l.x-i),o=Math.round(l.y-n),e.push({name:"dx",type:"NUMBER",value:s}),e.push({name:"dy",type:"NUMBER",value:o}),e.push({name:"rlineto",type:"OP",value:5}),i=Math.round(l.x),n=Math.round(l.y)):"C"===l.type&&(c=Math.round(l.x1-i),d=Math.round(l.y1-n),u=Math.round(l.x2-l.x1),h=Math.round(l.y2-l.y1),s=Math.round(l.x-l.x2),o=Math.round(l.y-l.y2),e.push({name:"dx1",type:"NUMBER",value:c}),e.push({name:"dy1",type:"NUMBER",value:d}),e.push({name:"dx2",type:"NUMBER",value:u}),e.push({name:"dy2",type:"NUMBER",value:h}),e.push({name:"dx",type:"NUMBER",value:s}),e.push({name:"dy",type:"NUMBER",value:o}),e.push({name:"rrcurveto",type:"OP",value:8}),i=Math.round(l.x),n=Math.round(l.y))}return e.push({name:"endchar",type:"OP",value:14}),e}function Te(t){for(var e=new it.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<t.length;r+=1){var i=t.get(r),n=Ce(i);e.charStrings.push({name:i.name,type:"CHARSTRING",value:n})}return e}function Pe(t,e){var r=new it.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=fe(ne,t,e),r}function Ie(t,e){for(var r=new it.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),i=1/e.unitsPerEm,n={version:e.version,fullName:e.fullName,familyName:e.familyName,weight:e.weightName,fontBBox:e.fontBBox||[0,0,0,0],fontMatrix:[i,0,0,i,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},a={},s=[],o,l=1;l<t.length;l+=1)o=t.get(l),s.push(o.name);var i=[];r.header=pe(),r.nameIndex=ge([e.postScriptName]);var e=Se(n,i);r.topDictIndex=be(e),r.globalSubrIndex=ve(),r.charsets=we(s,i),r.charStringsIndex=Te(t),r.privateDict=Pe(a,i),r.stringIndex=ye(i);var a=r.header.sizeOf()+r.nameIndex.sizeOf()+r.topDictIndex.sizeOf()+r.stringIndex.sizeOf()+r.globalSubrIndex.sizeOf();return n.charset=a,n.encoding=0,n.charStrings=n.charset+r.charsets.sizeOf(),n.private[1]=n.charStrings+r.charStringsIndex.sizeOf(),e=Se(n,i),r.topDictIndex=be(e),r}var Ae={parse:de,make:Ie};function xe(t,e){var r={},e=new ft.Parser(t,e);return r.version=e.parseVersion(),r.fontRevision=Math.round(1e3*e.parseFixed())/1e3,r.checkSumAdjustment=e.parseULong(),r.magicNumber=e.parseULong(),N.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=e.parseUShort(),r.unitsPerEm=e.parseUShort(),r.created=e.parseLongDateTime(),r.modified=e.parseLongDateTime(),r.xMin=e.parseShort(),r.yMin=e.parseShort(),r.xMax=e.parseShort(),r.yMax=e.parseShort(),r.macStyle=e.parseUShort(),r.lowestRecPPEM=e.parseUShort(),r.fontDirectionHint=e.parseShort(),r.indexToLocFormat=e.parseShort(),r.glyphDataFormat=e.parseShort(),r}function De(t){var e=Math.round((new Date).getTime()/1e3)+2082844800,r=e;return t.createdTimestamp&&(r=t.createdTimestamp+2082844800),new it.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:e},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],t)}var Be={parse:xe,make:De};function Ee(t,e){var r={},e=new ft.Parser(t,e);return r.version=e.parseVersion(),r.ascender=e.parseShort(),r.descender=e.parseShort(),r.lineGap=e.parseShort(),r.advanceWidthMax=e.parseUShort(),r.minLeftSideBearing=e.parseShort(),r.minRightSideBearing=e.parseShort(),r.xMaxExtent=e.parseShort(),r.caretSlopeRise=e.parseShort(),r.caretSlopeRun=e.parseShort(),r.caretOffset=e.parseShort(),e.relativeOffset+=8,r.metricDataFormat=e.parseShort(),r.numberOfHMetrics=e.parseUShort(),r}function ke(t){return new it.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],t)}var Ne={parse:Ee,make:ke};function Fe(t,e,r,i,n){for(var a,s,o=new ft.Parser(t,e),l=0;l<i;l+=1){l<r&&(a=o.parseUShort(),s=o.parseShort());var u=n.get(l);u.advanceWidth=a,u.leftSideBearing=s}}function Re(t,e,r,i,n){var a,s;t._hmtxTableData={};for(var o=new ft.Parser(e,r),l=0;l<n;l+=1)l<i&&(a=o.parseUShort(),s=o.parseShort()),t._hmtxTableData[l]={advanceWidth:a,leftSideBearing:s}}function Le(t,e,r,i,n,a,s){s.lowMemory?Re(t,e,r,i,n):Fe(e,r,i,n,a)}function Me(t){for(var e=new it.Table("hmtx",[]),r=0;r<t.length;r+=1){var i=t.get(r),n=i.advanceWidth||0,i=i.leftSideBearing||0;e.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:n}),e.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:i})}return e}var Oe={parse:Le,make:Me};function He(t){for(var e=new it.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:t.length}]),r="",i=12+4*t.length,n=0;n<t.length;++n){var a=r.indexOf(t[n]);a<0&&(a=r.length,r+=t[n]),e.fields.push({name:"offset "+n,type:"USHORT",value:i+a}),e.fields.push({name:"length "+n,type:"USHORT",value:t[n].length})}return e.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),e}function _e(t,e){var r=new ft.Parser(t,e),i=r.parseULong();N.argument(1===i,"Unsupported ltag table version."),r.skip("uLong",1);for(var n=r.parseULong(),a=[],s=0;s<n;s++){for(var o="",l=e+r.parseUShort(),u=r.parseUShort(),h=l;h<l+u;++h)o+=String.fromCharCode(t.getInt8(h));a.push(o)}return a}var Ve={make:He,parse:_e};function Ge(t,e){var r={},e=new ft.Parser(t,e);return r.version=e.parseVersion(),r.numGlyphs=e.parseUShort(),1===r.version&&(r.maxPoints=e.parseUShort(),r.maxContours=e.parseUShort(),r.maxCompositePoints=e.parseUShort(),r.maxCompositeContours=e.parseUShort(),r.maxZones=e.parseUShort(),r.maxTwilightPoints=e.parseUShort(),r.maxStorage=e.parseUShort(),r.maxFunctionDefs=e.parseUShort(),r.maxInstructionDefs=e.parseUShort(),r.maxStackElements=e.parseUShort(),r.maxSizeOfInstructions=e.parseUShort(),r.maxComponentElements=e.parseUShort(),r.maxComponentDepth=e.parseUShort()),r}function Ue(t){return new it.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:t}])}var je={parse:Ge,make:Ue},We=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],qe={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},ze={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},Xe={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",1040:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"};function Je(t,e,r){switch(t){case 0:if(65535===e)return"und";if(r)return r[e];break;case 1:return qe[e];case 3:return Xe[e]}return}var Ye="utf-16",Qe={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},Ke={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"};function Ze(t,e,r){switch(t){case 0:return Ye;case 1:return Ke[r]||Qe[e];case 3:if(1===e||10===e)return Ye;break}return}function $e(t,e,r){for(var i={},n=new ft.Parser(t,e),e=n.parseUShort(),a=n.parseUShort(),s=n.offset+n.parseUShort(),o=0;o<a;o++){var l=n.parseUShort(),u=n.parseUShort(),h=n.parseUShort(),c=n.parseUShort(),d=We[c]||c,m=n.parseUShort(),p=n.parseUShort(),c=Je(l,h,r),u=Ze(l,u,h),h,u,h;void 0!==u&&void 0!==c&&(h=void 0,(h=u===Ye?M.UTF16(t,s+p,m):M.MACSTRING(t,s+p,m,u))&&((u=void 0===(u=i[d])?i[d]={}:u)[c]=h))}var g=0;return 1===e&&(g=n.parseUShort()),i}function tr(t){var e={},r;for(r in t)e[t[r]]=parseInt(r);return e}function er(t,e,r,i,n,a){return new it.Record("NameRecord",[{name:"platformID",type:"USHORT",value:t},{name:"encodingID",type:"USHORT",value:e},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:i},{name:"length",type:"USHORT",value:n},{name:"offset",type:"USHORT",value:a}])}function rr(t,e){var r=t.length,i=e.length-r+1;t:for(var n=0;n<i;n++)for(;n<i;n++){for(var a=0;a<r;a++)if(e[n+a]!==t[a])continue t;return n}return-1}function ir(t,e){var r;if((r=rr(t,e))<0)for(var r=e.length,i=0,n=t.length;i<n;++i)e.push(t[i]);return r}function nr(t,e){var r,i=[],n={},a=tr(We),s;for(s in t){var o=a[s];if(void 0===o&&(o=s),r=parseInt(o),isNaN(r))throw new Error('Name table entry "'+s+'" does not exist, see nameTableNames for complete list.');n[r]=t[s],i.push(r)}for(var l=tr(qe),u=tr(Xe),h=[],c=[],d=0;d<i.length;d++){var r,m=n[r=i[d]],p;for(p in m){var g=m[p],f=1,S=l[p],b=ze[S],y=Ze(f,b,S),v=O.MACSTRING(g,y);void 0===v&&(f=0,(S=e.indexOf(p))<0&&(S=e.length,e.push(p)),b=4,v=O.UTF16(g));var y=ir(v,c);h.push(er(f,b,S,r,v.length,y));var v=u[p],y,g;void 0!==v&&(g=ir(y=O.UTF16(g),c),h.push(er(3,1,v,r,y.length,g)))}}h.sort(function(t,e){return t.platformID-e.platformID||t.encodingID-e.encodingID||t.languageID-e.languageID||t.nameID-e.nameID});for(var w=new it.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:h.length},{name:"stringOffset",type:"USHORT",value:6+12*h.length}]),C=0;C<h.length;C++)w.fields.push({name:"record_"+C,type:"RECORD",value:h[C]});return w.fields.push({name:"strings",type:"LITERAL",value:c}),w}var ar={parse:$e,make:nr},sr=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function or(t){for(var e=0;e<sr.length;e+=1){var r=sr[e];if(t>=r.begin&&t<r.end)return e}return-1}function lr(t,e){var r={},i=new ft.Parser(t,e);r.version=i.parseUShort(),r.xAvgCharWidth=i.parseShort(),r.usWeightClass=i.parseUShort(),r.usWidthClass=i.parseUShort(),r.fsType=i.parseUShort(),r.ySubscriptXSize=i.parseShort(),r.ySubscriptYSize=i.parseShort(),r.ySubscriptXOffset=i.parseShort(),r.ySubscriptYOffset=i.parseShort(),r.ySuperscriptXSize=i.parseShort(),r.ySuperscriptYSize=i.parseShort(),r.ySuperscriptXOffset=i.parseShort(),r.ySuperscriptYOffset=i.parseShort(),r.yStrikeoutSize=i.parseShort(),r.yStrikeoutPosition=i.parseShort(),r.sFamilyClass=i.parseShort(),r.panose=[];for(var n=0;n<10;n++)r.panose[n]=i.parseByte();return r.ulUnicodeRange1=i.parseULong(),r.ulUnicodeRange2=i.parseULong(),r.ulUnicodeRange3=i.parseULong(),r.ulUnicodeRange4=i.parseULong(),r.achVendID=String.fromCharCode(i.parseByte(),i.parseByte(),i.parseByte(),i.parseByte()),r.fsSelection=i.parseUShort(),r.usFirstCharIndex=i.parseUShort(),r.usLastCharIndex=i.parseUShort(),r.sTypoAscender=i.parseShort(),r.sTypoDescender=i.parseShort(),r.sTypoLineGap=i.parseShort(),r.usWinAscent=i.parseUShort(),r.usWinDescent=i.parseUShort(),1<=r.version&&(r.ulCodePageRange1=i.parseULong(),r.ulCodePageRange2=i.parseULong()),2<=r.version&&(r.sxHeight=i.parseShort(),r.sCapHeight=i.parseShort(),r.usDefaultChar=i.parseUShort(),r.usBreakChar=i.parseUShort(),r.usMaxContent=i.parseUShort()),r}function ur(t){return new it.Table("OS/2",[{name:"version",type:"USHORT",value:3},{name:"xAvgCharWidth",type:"SHORT",value:0},{name:"usWeightClass",type:"USHORT",value:0},{name:"usWidthClass",type:"USHORT",value:0},{name:"fsType",type:"USHORT",value:0},{name:"ySubscriptXSize",type:"SHORT",value:650},{name:"ySubscriptYSize",type:"SHORT",value:699},{name:"ySubscriptXOffset",type:"SHORT",value:0},{name:"ySubscriptYOffset",type:"SHORT",value:140},{name:"ySuperscriptXSize",type:"SHORT",value:650},{name:"ySuperscriptYSize",type:"SHORT",value:699},{name:"ySuperscriptXOffset",type:"SHORT",value:0},{name:"ySuperscriptYOffset",type:"SHORT",value:479},{name:"yStrikeoutSize",type:"SHORT",value:49},{name:"yStrikeoutPosition",type:"SHORT",value:258},{name:"sFamilyClass",type:"SHORT",value:0},{name:"bFamilyType",type:"BYTE",value:0},{name:"bSerifStyle",type:"BYTE",value:0},{name:"bWeight",type:"BYTE",value:0},{name:"bProportion",type:"BYTE",value:0},{name:"bContrast",type:"BYTE",value:0},{name:"bStrokeVariation",type:"BYTE",value:0},{name:"bArmStyle",type:"BYTE",value:0},{name:"bLetterform",type:"BYTE",value:0},{name:"bMidline",type:"BYTE",value:0},{name:"bXHeight",type:"BYTE",value:0},{name:"ulUnicodeRange1",type:"ULONG",value:0},{name:"ulUnicodeRange2",type:"ULONG",value:0},{name:"ulUnicodeRange3",type:"ULONG",value:0},{name:"ulUnicodeRange4",type:"ULONG",value:0},{name:"achVendID",type:"CHARARRAY",value:"XXXX"},{name:"fsSelection",type:"USHORT",value:0},{name:"usFirstCharIndex",type:"USHORT",value:0},{name:"usLastCharIndex",type:"USHORT",value:0},{name:"sTypoAscender",type:"SHORT",value:0},{name:"sTypoDescender",type:"SHORT",value:0},{name:"sTypoLineGap",type:"SHORT",value:0},{name:"usWinAscent",type:"USHORT",value:0},{name:"usWinDescent",type:"USHORT",value:0},{name:"ulCodePageRange1",type:"ULONG",value:0},{name:"ulCodePageRange2",type:"ULONG",value:0},{name:"sxHeight",type:"SHORT",value:0},{name:"sCapHeight",type:"SHORT",value:0},{name:"usDefaultChar",type:"USHORT",value:0},{name:"usBreakChar",type:"USHORT",value:0},{name:"usMaxContext",type:"USHORT",value:0}],t)}var hr={parse:lr,make:ur,unicodeRanges:sr,getUnicodeRange:or};function cr(t,e){var r={},i=new ft.Parser(t,e);switch(r.version=i.parseVersion(),r.italicAngle=i.parseFixed(),r.underlinePosition=i.parseShort(),r.underlineThickness=i.parseShort(),r.isFixedPitch=i.parseULong(),r.minMemType42=i.parseULong(),r.maxMemType42=i.parseULong(),r.minMemType1=i.parseULong(),r.maxMemType1=i.parseULong(),r.version){case 1:r.names=xt.slice();break;case 2:r.numberOfGlyphs=i.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var n=0;n<r.numberOfGlyphs;n++)r.glyphNameIndex[n]=i.parseUShort();r.names=[];for(var a=0,s;a<r.numberOfGlyphs;a++){r.glyphNameIndex[a]>=xt.length&&(s=i.parseChar(),r.names.push(i.parseString(s)))}break;case 2.5:r.numberOfGlyphs=i.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var o=0;o<r.numberOfGlyphs;o++)r.offset[o]=i.parseChar();break}return r}function dr(){return new it.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}var mr={parse:cr,make:dr},pr=new Array(9);pr[1]=function t(){var e=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(pt.coverage),deltaGlyphId:this.parseUShort()};if(2===r)return{substFormat:2,coverage:this.parsePointer(pt.coverage),substitute:this.parseOffset16List()};N.assert(!1,"0x"+e.toString(16)+": lookup type 1 format must be 1 or 2.")},pr[2]=function t(){var e=this.parseUShort();return N.argument(1===e,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pt.coverage),sequences:this.parseListOfLists()}},pr[3]=function t(){var e=this.parseUShort();return N.argument(1===e,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pt.coverage),alternateSets:this.parseListOfLists()}},pr[4]=function t(){var e=this.parseUShort();return N.argument(1===e,"GSUB ligature table identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pt.coverage),ligatureSets:this.parseListOfLists(function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}})}};var gr={sequenceIndex:pt.uShort,lookupListIndex:pt.uShort};function fr(t,e){var t=new pt(t,e=e||0),e=t.parseVersion(1);return N.argument(1===e||1.1===e,"Unsupported GSUB table version."),1===e?{version:e,scripts:t.parseScriptList(),features:t.parseFeatureList(),lookups:t.parseLookupList(pr)}:{version:e,scripts:t.parseScriptList(),features:t.parseFeatureList(),lookups:t.parseLookupList(pr),variations:t.parseFeatureVariationsList()}}pr[5]=function t(){var e=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:r,coverage:this.parsePointer(pt.coverage),ruleSets:this.parseListOfLists(function(){var t=this.parseUShort(),e=this.parseUShort();return{input:this.parseUShortList(t-1),lookupRecords:this.parseRecordList(e,gr)}})};if(2===r)return{substFormat:r,coverage:this.parsePointer(pt.coverage),classDef:this.parsePointer(pt.classDef),classSets:this.parseListOfLists(function(){var t=this.parseUShort(),e=this.parseUShort();return{classes:this.parseUShortList(t-1),lookupRecords:this.parseRecordList(e,gr)}})};if(3===r){var i=this.parseUShort(),n=this.parseUShort();return{substFormat:r,coverages:this.parseList(i,pt.pointer(pt.coverage)),lookupRecords:this.parseRecordList(n,gr)}}N.assert(!1,"0x"+e.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},pr[6]=function t(){var e=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(pt.coverage),chainRuleSets:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(gr)}})};if(2===r)return{substFormat:2,coverage:this.parsePointer(pt.coverage),backtrackClassDef:this.parsePointer(pt.classDef),inputClassDef:this.parsePointer(pt.classDef),lookaheadClassDef:this.parsePointer(pt.classDef),chainClassSet:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(gr)}})};if(3===r)return{substFormat:3,backtrackCoverage:this.parseList(pt.pointer(pt.coverage)),inputCoverage:this.parseList(pt.pointer(pt.coverage)),lookaheadCoverage:this.parseList(pt.pointer(pt.coverage)),lookupRecords:this.parseRecordList(gr)};N.assert(!1,"0x"+e.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},pr[7]=function t(){var e=this.parseUShort();N.argument(1===e,"GSUB Extension Substitution subtable identifier-format must be 1");var r=this.parseUShort(),e=new pt(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:r,extension:pr[r].call(e)}},pr[8]=function t(){var e=this.parseUShort();return N.argument(1===e,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pt.coverage),backtrackCoverage:this.parseList(pt.pointer(pt.coverage)),lookaheadCoverage:this.parseList(pt.pointer(pt.coverage)),substitutes:this.parseUShortList()}};var Sr=new Array(9);function br(t){return new it.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new it.ScriptList(t.scripts)},{name:"features",type:"TABLE",value:new it.FeatureList(t.features)},{name:"lookups",type:"TABLE",value:new it.LookupList(t.lookups,Sr)}])}Sr[1]=function t(e){return 1===e.substFormat?new it.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new it.Coverage(e.coverage)},{name:"deltaGlyphID",type:"USHORT",value:e.deltaGlyphId}]):new it.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new it.Coverage(e.coverage)}].concat(it.ushortList("substitute",e.substitute)));N.fail("Lookup type 1 substFormat must be 1 or 2.")},Sr[3]=function t(e){return N.assert(1===e.substFormat,"Lookup type 3 substFormat must be 1."),new it.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new it.Coverage(e.coverage)}].concat(it.tableList("altSet",e.alternateSets,function(t){return new it.Table("alternateSetTable",it.ushortList("alternate",t))})))},Sr[4]=function t(e){return N.assert(1===e.substFormat,"Lookup type 4 substFormat must be 1."),new it.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new it.Coverage(e.coverage)}].concat(it.tableList("ligSet",e.ligatureSets,function(t){return new it.Table("ligatureSetTable",it.tableList("ligature",t,function(t){return new it.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:t.ligGlyph}].concat(it.ushortList("component",t.components,t.components.length+1)))}))})))};var yr={parse:fr,make:br};function vr(t,e){var r=new ft.Parser(t,e),i=r.parseULong();N.argument(1===i,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var n=r.parseULong(),a={},s=0;s<n;s++){var o=r.parseTag(),l=r.parseULong(),u=r.parseULong(),u=M.UTF8(t,e+l,u);a[o]=u}return a}function wr(t){var e=Object.keys(t).length,r="",i=16+12*e,n=new it.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:i},{name:"numTags",type:"ULONG",value:e}]),a;for(a in t){var s=r.length;r+=t[a],n.fields.push({name:"tag "+a,type:"TAG",value:a}),n.fields.push({name:"offset "+a,type:"ULONG",value:i+s}),n.fields.push({name:"length "+a,type:"ULONG",value:t[a].length})}return n.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),n}var Cr={parse:vr,make:wr};function Tr(t){return Math.log(t)/Math.log(2)|0}function Pr(t){while(t.length%4!=0)t.push(0);for(var e=0,r=0;r<t.length;r+=4)e+=(t[r]<<24)+(t[r+1]<<16)+(t[r+2]<<8)+t[r+3];return e%=Math.pow(2,32)}function Ir(t,e,r,i){return new it.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==t?t:""},{name:"checkSum",type:"ULONG",value:void 0!==e?e:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==i?i:0}])}function Ar(t){var e=new it.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);e.tables=t,e.numTables=t.length;var r=Math.pow(2,Tr(e.numTables));e.searchRange=16*r,e.entrySelector=Tr(r),e.rangeShift=16*e.numTables-e.searchRange;var i=[],n=[],a=e.sizeOf()+Ir().sizeOf()*e.numTables;while(a%4!=0)a+=1,n.push({name:"padding",type:"BYTE",value:0});for(var s=0;s<t.length;s+=1){var o=t[s];N.argument(4===o.tableName.length,"Table name"+o.tableName+" is invalid.");var l=o.sizeOf(),u=Ir(o.tableName,Pr(o.encode()),a,l);i.push({name:u.tag+" Table Record",type:"RECORD",value:u}),n.push({name:o.tableName+" table",type:"RECORD",value:o}),a+=l,N.argument(!isNaN(a),"Something went wrong calculating the offset.");while(a%4!=0)a+=1,n.push({name:"padding",type:"BYTE",value:0})}return i.sort(function(t,e){return t.value.tag>e.value.tag?1:-1}),e.fields=e.fields.concat(i),e.fields=e.fields.concat(n),e}function xr(t,e,r){for(var i=0;i<e.length;i+=1){var n=t.charToGlyphIndex(e[i]),a;if(0<n)return t.glyphs.get(n).getMetrics()}return r}function Dr(t){for(var e=0,r=0;r<t.length;r+=1)e+=t[r];return e/t.length}function Br(t){for(var e=[],r=[],i=[],n=[],a=[],s=[],o=[],l,u=0,h=0,c=0,d=0,m=0,p=0;p<t.glyphs.length;p+=1){var g=t.glyphs.get(p),f=0|g.unicode;if(isNaN(g.advanceWidth))throw new Error("Glyph "+g.name+" ("+p+"): advanceWidth is not a number.");(f<l||void 0===l)&&0<f&&(l=f),u<f&&(u=f);var f=hr.getUnicodeRange(f);if(f<32)h|=1<<f;else if(f<64)c|=1<<f-32;else if(f<96)d|=1<<f-64;else{if(!(f<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");m|=1<<f-96}if(".notdef"===g.name)continue;var f=g.getMetrics();e.push(f.xMin),r.push(f.yMin),i.push(f.xMax),n.push(f.yMax),s.push(f.leftSideBearing),o.push(f.rightSideBearing),a.push(g.advanceWidth)}var S={xMin:Math.min.apply(null,e),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,i),yMax:Math.max.apply(null,n),advanceWidthMax:Math.max.apply(null,a),advanceWidthAvg:Dr(a),minLeftSideBearing:Math.min.apply(null,s),maxLeftSideBearing:Math.max.apply(null,s),minRightSideBearing:Math.min.apply(null,o)};S.ascender=t.ascender,S.descender=t.descender;var b=Be.make({flags:3,unitsPerEm:t.unitsPerEm,xMin:S.xMin,yMin:S.yMin,xMax:S.xMax,yMax:S.yMax,lowestRecPPEM:3,createdTimestamp:t.createdTimestamp}),y=Ne.make({ascender:S.ascender,descender:S.descender,advanceWidthMax:S.advanceWidthMax,minLeftSideBearing:S.minLeftSideBearing,minRightSideBearing:S.minRightSideBearing,xMaxExtent:S.maxLeftSideBearing+(S.xMax-S.xMin),numberOfHMetrics:t.glyphs.length}),v=je.make(t.glyphs.length),w=hr.make({xAvgCharWidth:Math.round(S.advanceWidthAvg),usWeightClass:t.tables.os2.usWeightClass,usWidthClass:t.tables.os2.usWidthClass,usFirstCharIndex:l,usLastCharIndex:u,ulUnicodeRange1:h,ulUnicodeRange2:c,ulUnicodeRange3:d,ulUnicodeRange4:m,fsSelection:t.tables.os2.fsSelection,sTypoAscender:S.ascender,sTypoDescender:S.descender,sTypoLineGap:0,usWinAscent:S.yMax,usWinDescent:Math.abs(S.yMin),ulCodePageRange1:1,sxHeight:xr(t,"xyvw",{yMax:Math.round(S.ascender/2)}).yMax,sCapHeight:xr(t,"HIKLEFJMNTZBDPRAGOQSUVWXY",S).yMax,usDefaultChar:t.hasChar(" ")?32:0,usBreakChar:t.hasChar(" ")?32:0}),C=Oe.make(t.glyphs),T=Tt.make(t.glyphs),P=t.getEnglishName("fontFamily"),I=t.getEnglishName("fontSubfamily"),A=P+" "+I,x,x=(x=t.getEnglishName("postScriptName"))||P.replace(/\s/g,"")+"-"+I,D={},B;for(B in t.names)D[B]=t.names[B];D.uniqueID||(D.uniqueID={en:t.getEnglishName("manufacturer")+":"+A}),D.postScriptName||(D.postScriptName={en:x}),D.preferredFamily||(D.preferredFamily=t.names.fontFamily),D.preferredSubfamily||(D.preferredSubfamily=t.names.fontSubfamily);var E=[],k=ar.make(D,E),N=0<E.length?Ve.make(E):void 0,E=mr.make(),x=Ae.make(t.glyphs,{version:t.getEnglishName("version"),fullName:A,familyName:P,weightName:I,postScriptName:x,unitsPerEm:t.unitsPerEm,fontBBox:[0,S.yMin,S.ascender,S.advanceWidthMax]}),S=t.metas&&0<Object.keys(t.metas).length?Cr.make(t.metas):void 0,C=[b,y,v,w,k,T,E,x,C];N&&C.push(N),t.tables.gsub&&C.push(yr.make(t.tables.gsub)),S&&C.push(S);for(var C=Ar(C),F,R=Pr(C.encode()),L=C.fields,M=!1,O=0;O<L.length;O+=1)if("head table"===L[O].name){L[O].value.checkSumAdjustment=2981146554-R,M=!0;break}if(!M)throw new Error("Could not find head table with checkSum to adjust.");return C}var Er={make:Ar,fontToTable:Br,computeCheckSum:Pr};function kr(t,e){var r=0,i=t.length-1;while(r<=i){var n=r+i>>>1,a=t[n].tag;if(a===e)return n;a<e?r=n+1:i=n-1}return-r-1}function Nr(t,e){var r=0,i=t.length-1;while(r<=i){var n=r+i>>>1,a=t[n];if(a===e)return n;a<e?r=n+1:i=n-1}return-r-1}function Fr(t,e){var r,i=0,n=t.length-1;while(i<=n){var a=i+n>>>1,r,s=(r=t[a]).start;if(s===e)return r;s<e?i=a+1:n=a-1}if(0<i){if(e>(r=t[i-1]).end)return 0;return r}}function Rr(t,e){this.font=t,this.tableName=e}function Lr(t){Rr.call(this,t,"gpos")}function Mr(t){Rr.call(this,t,"gsub")}function Or(t,e){var r=t.length;if(r!==e.length)return 0;for(var i=0;i<r;i++)if(t[i]!==e[i])return 0;return 1}function Hr(t,e,r){for(var i=t.subtables,n=0;n<i.length;n++){var a=i[n];if(a.substFormat===e)return a}if(r)return i.push(r),r;return}function _r(){return"undefined"!=typeof window}function Vr(t){for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),i=0;i<t.length;++i)r[i]=t[i];return e}function Gr(t){for(var e=new Buffer(t.byteLength),r=new Uint8Array(t),i=0;i<e.length;++i)e[i]=r[i];return e}function Ur(t,e){if(!t)throw e}function jr(t,e,r,i,n){var a,a=0<(e&i)?(a=t.parseByte(),r+(a=0==(e&n)?-a:a)):0<(e&n)?r:r+t.parseShort();return a}function Wr(t,e,r){var i=new ft.Parser(e,r),n,a;if(t.numberOfContours=i.parseShort(),t._xMin=i.parseShort(),t._yMin=i.parseShort(),t._xMax=i.parseShort(),t._yMax=i.parseShort(),0<t.numberOfContours){for(var s=t.endPointIndices=[],o=0;o<t.numberOfContours;o+=1)s.push(i.parseUShort());t.instructionLength=i.parseUShort(),t.instructions=[];for(var l=0;l<t.instructionLength;l+=1)t.instructions.push(i.parseByte());for(var u=s[s.length-1]+1,n=[],h=0;h<u;h+=1)if(a=i.parseByte(),n.push(a),0<(8&a))for(var c=i.parseByte(),d=0;d<c;d+=1)n.push(a),h+=1;if(N.argument(n.length===u,"Bad flags."),0<s.length){var m=[],p;if(0<u){for(var g=0;g<u;g+=1)a=n[g],(p={}).onCurve=!!(1&a),p.lastPointOfContour=0<=s.indexOf(g),m.push(p);for(var f=0,S=0;S<u;S+=1)a=n[S],(p=m[S]).x=jr(i,a,f,2,16),f=p.x;for(var b=0,y=0;y<u;y+=1)a=n[y],(p=m[y]).y=jr(i,a,b,4,32),b=p.y}t.points=m}else t.points=[]}else if(0===t.numberOfContours)t.points=[];else{t.isComposite=!0,t.points=[],t.components=[];var v=!0;while(v){n=i.parseUShort();var w={glyphIndex:i.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};0<(1&n)?0<(2&n)?(w.dx=i.parseShort(),w.dy=i.parseShort()):w.matchedPoints=[i.parseUShort(),i.parseUShort()]:0<(2&n)?(w.dx=i.parseChar(),w.dy=i.parseChar()):w.matchedPoints=[i.parseByte(),i.parseByte()],0<(8&n)?w.xScale=w.yScale=i.parseF2Dot14():0<(64&n)?(w.xScale=i.parseF2Dot14(),w.yScale=i.parseF2Dot14()):0<(128&n)&&(w.xScale=i.parseF2Dot14(),w.scale01=i.parseF2Dot14(),w.scale10=i.parseF2Dot14(),w.yScale=i.parseF2Dot14()),t.components.push(w),v=!!(32&n)}if(256&n){t.instructionLength=i.parseUShort(),t.instructions=[];for(var C=0;C<t.instructionLength;C+=1)t.instructions.push(i.parseByte())}}}function qr(t,e){for(var r=[],i=0;i<t.length;i+=1){var n=t[i],n={x:e.xScale*n.x+e.scale01*n.y+e.dx,y:e.scale10*n.x+e.yScale*n.y+e.dy,onCurve:n.onCurve,lastPointOfContour:n.lastPointOfContour};r.push(n)}return r}function zr(t){for(var e=[],r=[],i=0;i<t.length;i+=1){var n=t[i];r.push(n),n.lastPointOfContour&&(e.push(r),r=[])}return N.argument(0===r.length,"There are still points left in the current contour."),e}function Xr(t){var e=new L;if(!t)return e;for(var r=zr(t),i=0;i<r.length;++i){var n=r[i],a=null,s=n[n.length-1],o=n[0],l;s.onCurve?e.moveTo(s.x,s.y):o.onCurve?e.moveTo(o.x,o.y):(l={x:.5*(s.x+o.x),y:.5*(s.y+o.y)},e.moveTo(l.x,l.y));for(var u=0;u<n.length;++u){var h,c,a=s,s=o,o=n[(u+1)%n.length];s.onCurve?e.lineTo(s.x,s.y):((h=a).onCurve||(h={x:.5*(s.x+a.x),y:.5*(s.y+a.y)}),(c=o).onCurve||(c={x:.5*(s.x+o.x),y:.5*(s.y+o.y)}),e.quadraticCurveTo(s.x,s.y,c.x,c.y))}e.closePath()}return e}function Jr(t,e){if(e.isComposite)for(var r=0;r<e.components.length;r+=1){var i=e.components[r],n=t.get(i.glyphIndex);if(n.getPath(),n.points){var a=void 0;if(void 0===i.matchedPoints)a=qr(n.points,i);else{if(i.matchedPoints[0]>e.points.length-1||i.matchedPoints[1]>n.points.length-1)throw Error("Matched points out of range in "+e.name);var s=e.points[i.matchedPoints[0]],o=n.points[i.matchedPoints[1]],i={xScale:i.xScale,scale01:i.scale01,scale10:i.scale10,yScale:i.yScale,dx:0,dy:0},o=qr([o],i)[0];i.dx=s.x-o.x,i.dy=s.y-o.y,a=qr(n.points,i)}e.points=e.points.concat(a)}}return Xr(e.points)}function Yr(t,e,r,i){for(var n=new Wt.GlyphSet(i),a=0;a<r.length-1;a+=1){var s=r[a],o;s!==r[a+1]?n.push(a,Wt.ttfGlyphLoader(i,a,Wr,t,e+s,Jr)):n.push(a,Wt.glyphLoader(i,a))}return n}function Qr(i,n,a,s){var o=new Wt.GlyphSet(s);return s._push=function(t){var e=a[t],r;e!==a[t+1]?o.push(t,Wt.ttfGlyphLoader(s,t,Wr,i,n+e,Jr)):o.push(t,Wt.glyphLoader(s,t))},o}function Kr(t,e,r,i,n){return(n.lowMemory?Qr:Yr)(t,e,r,i)}(Lr.prototype=Rr.prototype={searchTag:kr,binSearch:Nr,getTable:function(t){var e=this.font.tables[this.tableName];return e=!e&&t?this.font.tables[this.tableName]=this.createDefaultTable():e},getScriptNames:function(){var t=this.getTable();if(!t)return[];return t.scripts.map(function(t){return t.tag})},getDefaultScriptName:function(){var t=this.getTable();if(!t)return;for(var e=!1,r=0;r<t.scripts.length;r++){var i=t.scripts[r].tag;if("DFLT"===i)return i;"latn"===i&&(e=!0)}if(e)return"latn"},getScriptTable:function(t,e){var r=this.getTable(e);if(r){var i=r.scripts,r=kr(r.scripts,t=t||"DFLT");if(0<=r)return i[r].script;if(e){var t={tag:t,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return i.splice(-1-r,0,t),t.script}}},getLangSysTable:function(t,e,r){var i=this.getScriptTable(t,r);if(i){if(!e||"dflt"===e||"DFLT"===e)return i.defaultLangSys;var t=kr(i.langSysRecords,e);if(0<=t)return i.langSysRecords[t].langSys;if(r){var e={tag:e,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return i.langSysRecords.splice(-1-t,0,e),e.langSys}}},getFeatureTable:function(t,e,r,i){var e=this.getLangSysTable(t,e,i);if(e){for(var n,a=e.featureIndexes,s=this.font.tables[this.tableName].features,o=0;o<a.length;o++)if((n=s[a[o]]).tag===r)return n.feature;if(i){var i=s.length;return N.assert(0===i||r>=s[i-1].tag,"Features must be added in alphabetical order."),s.push(n={tag:r,feature:{params:0,lookupListIndexes:[]}}),a.push(i),n.feature}}},getLookupTables:function(t,e,r,i,n){var r=this.getFeatureTable(t,e,r,n),a=[];if(r){for(var s,o=r.lookupListIndexes,l=this.font.tables[this.tableName].lookups,u=0;u<o.length;u++)(s=l[o[u]]).lookupType===i&&a.push(s);if(0===a.length&&n){var s,n=l.length;return l.push(s={lookupType:i,lookupFlag:0,subtables:[],markFilteringSet:void 0}),o.push(n),[s]}}return a},getGlyphClass:function(t,e){switch(t.format){case 1:if(t.startGlyph<=e&&e<t.startGlyph+t.classes.length)return t.classes[e-t.startGlyph];return 0;case 2:var r=Fr(t.ranges,e);return r?r.classId:0}},getCoverageIndex:function(t,e){switch(t.format){case 1:var r=Nr(t.glyphs,e);return 0<=r?r:-1;case 2:var r=Fr(t.ranges,e);return r?r.index+e-r.start:-1}},expandCoverage:function(t){if(1===t.format)return t.glyphs;for(var e=[],r=t.ranges,i=0;i<r.length;i++)for(var n=r[i],a=n.start,s=n.end,o=a;o<=s;o++)e.push(o);return e}}).init=function(){var t=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(t)},Lr.prototype.getKerningValue=function(t,e,r){for(var i=this,n=0;n<t.length;n++)for(var a=t[n].subtables,s=0;s<a.length;s++){var o=a[s],l=i.getCoverageIndex(o.coverage,e);if(l<0)continue;switch(o.posFormat){case 1:for(var u=o.pairSets[l],h=0;h<u.length;h++){var c=u[h];if(c.secondGlyph===r)return c.value1&&c.value1.xAdvance||0}break;case 2:var d=i.getGlyphClass(o.classDef1,e),m=i.getGlyphClass(o.classDef2,r),m=o.classRecords[d][m];return m.value1&&m.value1.xAdvance||0}}return 0},Lr.prototype.getKerningTables=function(t,e){if(this.font.tables.gpos)return this.getLookupTables(t,e,"kern",2)},(Mr.prototype=Rr.prototype).createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},Mr.prototype.getSingle=function(t,e,r){for(var i=this,n=[],a=this.getLookupTables(e,r,t,1),s=0;s<a.length;s++)for(var o=a[s].subtables,l=0;l<o.length;l++){var u=o[l],h=i.expandCoverage(u.coverage),c=void 0;if(1===u.substFormat)for(var d=u.deltaGlyphId,c=0;c<h.length;c++){var m=h[c];n.push({sub:m,by:m+d})}else{var p=u.substitute;for(c=0;c<h.length;c++)n.push({sub:h[c],by:p[c]})}}return n},Mr.prototype.getAlternates=function(t,e,r){for(var i=this,n=[],a=this.getLookupTables(e,r,t,3),s=0;s<a.length;s++)for(var o=a[s].subtables,l=0;l<o.length;l++)for(var u=o[l],h=i.expandCoverage(u.coverage),c=u.alternateSets,d=0;d<h.length;d++)n.push({sub:h[d],by:c[d]});return n},Mr.prototype.getLigatures=function(t,e,r){for(var i=this,n=[],a=this.getLookupTables(e,r,t,4),s=0;s<a.length;s++)for(var o=a[s].subtables,l=0;l<o.length;l++)for(var u=o[l],h=i.expandCoverage(u.coverage),c=u.ligatureSets,d=0;d<h.length;d++)for(var m=h[d],p=c[d],g=0;g<p.length;g++){var f=p[g];n.push({sub:[m].concat(f.components),by:f.ligGlyph})}return n},Mr.prototype.addSingle=function(t,e,r,i){var n,r=Hr(this.getLookupTables(r,i,t,1,!0)[0],2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});N.assert(1===r.coverage.format,"Ligature: unable to modify coverage table format "+r.coverage.format);var i=e.sub,t=this.binSearch(r.coverage.glyphs,i);t<0&&(r.coverage.glyphs.splice(t=-1-t,0,i),r.substitute.splice(t,0,0)),r.substitute[t]=e.by},Mr.prototype.addAlternate=function(t,e,r,i){var n,r=Hr(this.getLookupTables(r,i,t,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});N.assert(1===r.coverage.format,"Ligature: unable to modify coverage table format "+r.coverage.format);var i=e.sub,t=this.binSearch(r.coverage.glyphs,i);t<0&&(r.coverage.glyphs.splice(t=-1-t,0,i),r.alternateSets.splice(t,0,0)),r.alternateSets[t]=e.by},Mr.prototype.addLigature=function(t,e,r,i){var r=this.getLookupTables(r,i,t,4,!0)[0],i=r.subtables[0];i||(r.subtables[0]=i={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]}),N.assert(1===i.coverage.format,"Ligature: unable to modify coverage table format "+i.coverage.format);var t=e.sub[0],n=e.sub.slice(1),r={ligGlyph:e.by,components:n},e=this.binSearch(i.coverage.glyphs,t);if(0<=e){for(var a=i.ligatureSets[e],s=0;s<a.length;s++)if(Or(a[s].components,n))return;a.push(r)}else i.coverage.glyphs.splice(e=-1-e,0,t),i.ligatureSets.splice(e,0,[r])},Mr.prototype.getFeature=function(t,e,r){if(/ss\d\d/.test(t))return this.getSingle(t,e,r);switch(t){case"aalt":case"salt":return this.getSingle(t,e,r).concat(this.getAlternates(t,e,r));case"dlig":case"liga":case"rlig":return this.getLigatures(t,e,r)}return},Mr.prototype.add=function(t,e,r,i){if(/ss\d\d/.test(t))return this.addSingle(t,e,r,i);switch(t){case"aalt":case"salt":if("number"==typeof e.by)return this.addSingle(t,e,r,i);return this.addAlternate(t,e,r,i);case"dlig":case"liga":case"rlig":return this.addLigature(t,e,r,i)}return};var Zr={getPath:Xr,parse:Kr},$r,ti,ei,ri;function ii(t){this.font=t,this.getCommands=function(t){return Zr.getPath(t).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function ni(t){return t}function ai(t){return Math.sign(t)*Math.round(Math.abs(t))}function si(t){return Math.sign(t)*Math.round(Math.abs(2*t))/2}function oi(t){return Math.sign(t)*(Math.round(Math.abs(t)+.5)-.5)}function li(t){return Math.sign(t)*Math.ceil(Math.abs(t))}function ui(t){return Math.sign(t)*Math.floor(Math.abs(t))}var hi=function(t){var e=this.srPeriod,r=this.srPhase,i,n=1;if(t<0&&(t=-t,n=-1),t+=this.srThreshold-r,t=Math.trunc(t/e)*e,(t+=r)<0)return r*n;return t*n},ci={x:1,y:0,axis:"x",distance:function(t,e,r,i){return(r?t.xo:t.x)-(i?e.xo:e.x)},interpolate:function(t,e,r,i){var n,a,s,o,l,u,h;if(!i||i===this){if(n=t.xo-e.xo,a=t.xo-r.xo,l=e.x-e.xo,u=r.x-r.xo,0===(h=(s=Math.abs(n))+(o=Math.abs(a))))return void(t.x=t.xo+(l+u)/2);return void(t.x=t.xo+(l*o+u*s)/h)}if(n=i.distance(t,e,!0,!0),a=i.distance(t,r,!0,!0),l=i.distance(e,e,!1,!0),u=i.distance(r,r,!1,!0),0===(h=(s=Math.abs(n))+(o=Math.abs(a))))return void ci.setRelative(t,t,(l+u)/2,i,!0);ci.setRelative(t,t,(l*o+u*s)/h,i,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(t,e,r,i,n){if(!i||i===this)return void(t.x=(n?e.xo:e.x)+r);var a=n?e.xo:e.x,e=n?e.yo:e.y,a=a+r*i.x,r=e+r*i.y;t.x=a+(t.y-r)/i.normalSlope},slope:0,touch:function(t){t.xTouched=!0},touched:function(t){return t.xTouched},untouch:function(t){t.xTouched=!1}},di={x:0,y:1,axis:"y",distance:function(t,e,r,i){return(r?t.yo:t.y)-(i?e.yo:e.y)},interpolate:function(t,e,r,i){var n,a,s,o,l,u,h;if(!i||i===this){if(n=t.yo-e.yo,a=t.yo-r.yo,l=e.y-e.yo,u=r.y-r.yo,0===(h=(s=Math.abs(n))+(o=Math.abs(a))))return void(t.y=t.yo+(l+u)/2);return void(t.y=t.yo+(l*o+u*s)/h)}if(n=i.distance(t,e,!0,!0),a=i.distance(t,r,!0,!0),l=i.distance(e,e,!1,!0),u=i.distance(r,r,!1,!0),0===(h=(s=Math.abs(n))+(o=Math.abs(a))))return void di.setRelative(t,t,(l+u)/2,i,!0);di.setRelative(t,t,(l*o+u*s)/h,i,!0)},normalSlope:0,setRelative:function(t,e,r,i,n){if(!i||i===this)return void(t.y=(n?e.yo:e.y)+r);var a=n?e.xo:e.x,e=n?e.yo:e.y,a=a+r*i.x,r=e+r*i.y;t.y=r+i.normalSlope*(t.x-a)},slope:Number.POSITIVE_INFINITY,touch:function(t){t.yTouched=!0},touched:function(t){return t.yTouched},untouch:function(t){t.yTouched=!1}};function mi(t,e){this.x=t,this.y=e,this.axis=void 0,this.slope=e/t,this.normalSlope=-t/e,Object.freeze(this)}function pi(t,e){var r=Math.sqrt(t*t+e*e);return e/=r,1===(t/=r)&&0===e?ci:0===t&&1===e?di:new mi(t,e)}function gi(t,e,r,i){this.x=this.xo=Math.round(64*t)/64,this.y=this.yo=Math.round(64*e)/64,this.lastPointOfContour=r,this.onCurve=i,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}Object.freeze(ci),Object.freeze(di),mi.prototype.distance=function(t,e,r,i){return this.x*ci.distance(t,e,r,i)+this.y*di.distance(t,e,r,i)},mi.prototype.interpolate=function(t,e,r,i){var n,e,a,s,r,a,s,a=i.distance(t,e,!0,!0),s=i.distance(t,r,!0,!0),n=i.distance(e,e,!1,!0),e=i.distance(r,r,!1,!0),r=Math.abs(a),a=Math.abs(s),s=r+a;if(0===s)return void this.setRelative(t,t,(n+e)/2,i,!0);this.setRelative(t,t,(n*a+e*r)/s,i,!0)},mi.prototype.setRelative=function(t,e,r,i,n){var a=n?e.xo:e.x,s=n?e.yo:e.y,n=a+r*(i=i||this).x,e=s+r*i.y,a=i.normalSlope,s=this.slope,r=t.x,i=t.y;t.x=(s*r-a*n+e-i)/(s-a),t.y=s*(t.x-r)+i},mi.prototype.touch=function(t){t.xTouched=!0,t.yTouched=!0},gi.prototype.nextTouched=function(t){var e=this.nextPointOnContour;while(!t.touched(e)&&e!==this)e=e.nextPointOnContour;return e},gi.prototype.prevTouched=function(t){var e=this.prevPointOnContour;while(!t.touched(e)&&e!==this)e=e.prevPointOnContour;return e};var fi=Object.freeze(new gi(0,0)),Si={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};function bi(t,e){switch(this.env=t,this.stack=[],this.prog=e,t){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=ci,this.round=ai}}function yi(t){for(var e=t.tZone=new Array(t.gZone.length),r=0;r<e.length;r++)e[r]=new gi(0,0)}function vi(t,e){var r=t.prog,i=t.ip,n=1,a;do{if(88===(a=r[++i]))n++;else if(89===a)n--;else if(64===a)i+=r[i+1]+1;else if(65===a)i+=2*r[i+1]+1;else if(176<=a&&a<=183)i+=a-176+1;else if(184<=a&&a<=191)i+=2*(a-184+1);else if(e&&1===n&&27===a)break}while(0<n);t.ip=i}function wi(t,e){v.DEBUG&&console.log(e.step,"SVTCA["+t.axis+"]"),e.fv=e.pv=e.dpv=t}function Ci(t,e){v.DEBUG&&console.log(e.step,"SPVTCA["+t.axis+"]"),e.pv=e.dpv=t}function Ti(t,e){v.DEBUG&&console.log(e.step,"SFVTCA["+t.axis+"]"),e.fv=t}function Pi(t,e){var r=e.stack,i=r.pop(),n=r.pop(),a=e.z2[i],r=e.z1[n],s,a;v.DEBUG&&console.log("SPVTL["+t+"]",i,n),a=t?(s=a.y-r.y,r.x-a.x):(s=r.x-a.x,r.y-a.y),e.pv=e.dpv=pi(s,a)}function Ii(t,e){var r=e.stack,i=r.pop(),n=r.pop(),a=e.z2[i],r=e.z1[n],s,a;v.DEBUG&&console.log("SFVTL["+t+"]",i,n),a=t?(s=a.y-r.y,r.x-a.x):(s=r.x-a.x,r.y-a.y),e.fv=pi(s,a)}function Ai(t){var e=t.stack,r=e.pop(),e=e.pop();v.DEBUG&&console.log(t.step,"SPVFS[]",r,e),t.pv=t.dpv=pi(e,r)}function xi(t){var e=t.stack,r=e.pop(),e=e.pop();v.DEBUG&&console.log(t.step,"SPVFS[]",r,e),t.fv=pi(e,r)}function Di(t){var e=t.stack,r=t.pv;v.DEBUG&&console.log(t.step,"GPV[]"),e.push(16384*r.x),e.push(16384*r.y)}function Bi(t){var e=t.stack,r=t.fv;v.DEBUG&&console.log(t.step,"GFV[]"),e.push(16384*r.x),e.push(16384*r.y)}function Ei(t){t.fv=t.pv,v.DEBUG&&console.log(t.step,"SFVTPV[]")}function ki(t){var e=t.stack,r=e.pop(),i=e.pop(),n=e.pop(),a=e.pop(),s=e.pop(),o=t.z0,l=t.z1,u=o[r],h=o[i],c=l[n],e=l[a],o=t.z2[s];v.DEBUG&&console.log("ISECT[], ",r,i,n,a,s);var l=u.x,t=u.y,r=h.x,i=h.y,n=c.x,a=c.y,s=e.x,u=e.y,h=(l-r)*(a-u)-(t-i)*(n-s),c=l*i-t*r,e=n*u-a*s;o.x=(c*(n-s)-e*(l-r))/h,o.y=(c*(a-u)-e*(t-i))/h}function Ni(t){t.rp0=t.stack.pop(),v.DEBUG&&console.log(t.step,"SRP0[]",t.rp0)}function Fi(t){t.rp1=t.stack.pop(),v.DEBUG&&console.log(t.step,"SRP1[]",t.rp1)}function Ri(t){t.rp2=t.stack.pop(),v.DEBUG&&console.log(t.step,"SRP2[]",t.rp2)}function Li(t){var e=t.stack.pop();switch(v.DEBUG&&console.log(t.step,"SZP0[]",e),t.zp0=e){case 0:t.tZone||yi(t),t.z0=t.tZone;break;case 1:t.z0=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function Mi(t){var e=t.stack.pop();switch(v.DEBUG&&console.log(t.step,"SZP1[]",e),t.zp1=e){case 0:t.tZone||yi(t),t.z1=t.tZone;break;case 1:t.z1=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function Oi(t){var e=t.stack.pop();switch(v.DEBUG&&console.log(t.step,"SZP2[]",e),t.zp2=e){case 0:t.tZone||yi(t),t.z2=t.tZone;break;case 1:t.z2=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function Hi(t){var e=t.stack.pop();switch(v.DEBUG&&console.log(t.step,"SZPS[]",e),t.zp0=t.zp1=t.zp2=e){case 0:t.tZone||yi(t),t.z0=t.z1=t.z2=t.tZone;break;case 1:t.z0=t.z1=t.z2=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function _i(t){t.loop=t.stack.pop(),v.DEBUG&&console.log(t.step,"SLOOP[]",t.loop)}function Vi(t){v.DEBUG&&console.log(t.step,"RTG[]"),t.round=ai}function Gi(t){v.DEBUG&&console.log(t.step,"RTHG[]"),t.round=oi}function Ui(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"SMD[]",e),t.minDis=e/64}function ji(t){v.DEBUG&&console.log(t.step,"ELSE[]"),vi(t,!1)}function Wi(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"JMPR[]",e),t.ip+=e-1}function qi(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"SCVTCI[]",e),t.cvCutIn=e/64}function zi(t){var e=t.stack;v.DEBUG&&console.log(t.step,"DUP[]"),e.push(e[e.length-1])}function Xi(t){v.DEBUG&&console.log(t.step,"POP[]"),t.stack.pop()}function Ji(t){v.DEBUG&&console.log(t.step,"CLEAR[]"),t.stack.length=0}function Yi(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"SWAP[]"),e.push(r),e.push(i)}function Qi(t){var e=t.stack;v.DEBUG&&console.log(t.step,"DEPTH[]"),e.push(e.length)}function Ki(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"LOOPCALL[]",r,i);var n=t.ip,e=t.prog;t.prog=t.funcs[r];for(var a=0;a<i;a++)ti(t),v.DEBUG&&console.log(++t.step,a+1<i?"next loopcall":"done loopcall",a);t.ip=n,t.prog=e}function Zi(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"CALL[]",e);var r=t.ip,i=t.prog;t.prog=t.funcs[e],ti(t),t.ip=r,t.prog=i,v.DEBUG&&console.log(++t.step,"returning from",e)}function $i(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"CINDEX[]",r),e.push(e[e.length-r])}function tn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"MINDEX[]",r),e.push(e.splice(e.length-r,1)[0])}function en(t){if("fpgm"!==t.env)throw new Error("FDEF not allowed here");var e=t.stack,r=t.prog,i=t.ip,n=e.pop(),e=i;v.DEBUG&&console.log(t.step,"FDEF[]",n);while(45!==r[++i]);t.ip=i,t.funcs[n]=r.slice(e+1,i)}function rn(t,e){var r=e.stack.pop(),i=e.z0[r],n=e.fv,a=e.pv;v.DEBUG&&console.log(e.step,"MDAP["+t+"]",r);var s=a.distance(i,fi);t&&(s=e.round(s)),n.setRelative(i,fi,s,a),n.touch(i),e.rp0=e.rp1=r}function nn(t,e){var r=e.z2,i=r.length-2,n,a,s;v.DEBUG&&console.log(e.step,"IUP["+t.axis+"]");for(var o=0;o<i;o++){if(n=r[o],t.touched(n))continue;if((a=n.prevTouched(t))===n)continue;a===(s=n.nextTouched(t))&&t.setRelative(n,n,t.distance(a,a,!1,!0),t,!0),t.interpolate(n,a,s,t)}}function an(t,e){var r=e.stack,i=t?e.rp1:e.rp2,n=(t?e.z0:e.z1)[i],a=e.fv,s=e.pv,o=e.loop,l=e.z2;while(o--){var u=r.pop(),h=l[u],c=s.distance(n,n,!1,!0);a.setRelative(h,h,c,s),a.touch(h),v.DEBUG&&console.log(e.step,(1<e.loop?"loop "+(e.loop-o)+": ":"")+"SHP["+(t?"rp1":"rp2")+"]",u)}e.loop=1}function sn(t,e){var r=e.stack,i=t?e.rp1:e.rp2,n=(t?e.z0:e.z1)[i],a=e.fv,s=e.pv,r=r.pop(),o=e.z2[e.contours[r]],l=o;v.DEBUG&&console.log(e.step,"SHC["+t+"]",r);var u=s.distance(n,n,!1,!0);do{l!==n&&a.setRelative(l,l,u,s),l=l.nextPointOnContour}while(l!==o)}function on(t,e){var r=e.stack,i=t?e.rp1:e.rp2,i=(t?e.z0:e.z1)[i],n=e.fv,a=e.pv,r=r.pop(),s,o;switch(v.DEBUG&&console.log(e.step,"SHZ["+t+"]",r),r){case 0:s=e.tZone;break;case 1:s=e.gZone;break;default:throw new Error("Invalid zone")}for(var l=a.distance(i,i,!1,!0),u=s.length-2,h=0;h<u;h++)o=s[h],n.setRelative(o,o,l,a)}function ln(t){var e=t.stack,r=t.loop,i=t.fv,n=e.pop()/64,a=t.z2;while(r--){var s=e.pop(),o=a[s];v.DEBUG&&console.log(t.step,(1<t.loop?"loop "+(t.loop-r)+": ":"")+"SHPIX[]",s,n),i.setRelative(o,o,n),i.touch(o)}t.loop=1}function un(t){var e=t.stack,r=t.rp1,i=t.rp2,n=t.loop,a=t.z0[r],s=t.z1[i],o=t.fv,l=t.dpv,u=t.z2;while(n--){var h=e.pop(),c=u[h];v.DEBUG&&console.log(t.step,(1<t.loop?"loop "+(t.loop-n)+": ":"")+"IP[]",h,r,"<->",i),o.interpolate(c,a,s,l),o.touch(c)}t.loop=1}function hn(t,e){var r=e.stack,i=r.pop()/64,n=r.pop(),a=e.z1[n],s=e.z0[e.rp0],o=e.fv,r=e.pv;o.setRelative(a,s,i,r),o.touch(a),v.DEBUG&&console.log(e.step,"MSIRP["+t+"]",i,n),e.rp1=e.rp0,e.rp2=n,t&&(e.rp0=n)}function cn(t){var e=t.stack,r=t.rp0,i=t.z0[r],n=t.loop,a=t.fv,s=t.pv,o=t.z1;while(n--){var l=e.pop(),u=o[l];v.DEBUG&&console.log(t.step,(1<t.loop?"loop "+(t.loop-n)+": ":"")+"ALIGNRP[]",l),a.setRelative(u,i,0,s),a.touch(u)}t.loop=1}function dn(t){v.DEBUG&&console.log(t.step,"RTDG[]"),t.round=si}function mn(t,e){var r=e.stack,i=r.pop(),n=r.pop(),a=e.z0[n],s=e.fv,o=e.pv,r=e.cvt[i];v.DEBUG&&console.log(e.step,"MIAP["+t+"]",i,"(",r,")",n);var i=o.distance(a,fi);t&&(Math.abs(i-r)<e.cvCutIn&&(i=r),i=e.round(i)),s.setRelative(a,fi,i,o),0===e.zp0&&(a.xo=a.x,a.yo=a.y),s.touch(a),e.rp0=e.rp1=n}function pn(t){var e=t.prog,r=t.ip,i=t.stack,n=e[++r];v.DEBUG&&console.log(t.step,"NPUSHB[]",n);for(var a=0;a<n;a++)i.push(e[++r]);t.ip=r}function gn(t){var e=t.ip,r=t.prog,i=t.stack,n=r[++e];v.DEBUG&&console.log(t.step,"NPUSHW[]",n);for(var a=0;a<n;a++){var s=r[++e]<<8|r[++e];32768&s&&(s=-((65535^s)+1)),i.push(s)}t.ip=e}function fn(t){var e=t.stack,r,r=(r=t.store)||(t.store=[]),i=e.pop(),e=e.pop();v.DEBUG&&console.log(t.step,"WS",i,e),r[e]=i}function Sn(t){var e=t.stack,r=t.store,i=e.pop();v.DEBUG&&console.log(t.step,"RS",i);var i=r&&r[i]||0;e.push(i)}function bn(t){var e=t.stack,r=e.pop(),e=e.pop();v.DEBUG&&console.log(t.step,"WCVTP",r,e),t.cvt[e]=r/64}function yn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"RCVT",r),e.push(64*t.cvt[r])}function vn(t,e){var r=e.stack,i=r.pop(),n=e.z2[i];v.DEBUG&&console.log(e.step,"GC["+t+"]",i),r.push(64*e.dpv.distance(n,fi,t,!1))}function wn(t,e){var r=e.stack,i=r.pop(),n=r.pop(),a=e.z1[i],r=e.z0[n],a=e.dpv.distance(r,a,t,t);v.DEBUG&&console.log(e.step,"MD["+t+"]",i,n,"->",a),e.stack.push(Math.round(64*a))}function Cn(t){v.DEBUG&&console.log(t.step,"MPPEM[]"),t.stack.push(t.ppem)}function Tn(t){v.DEBUG&&console.log(t.step,"FLIPON[]"),t.autoFlip=!0}function Pn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"LT[]",r,i),e.push(i<r?1:0)}function In(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"LTEQ[]",r,i),e.push(i<=r?1:0)}function An(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"GT[]",r,i),e.push(r<i?1:0)}function xn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"GTEQ[]",r,i),e.push(r<=i?1:0)}function Dn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"EQ[]",r,i),e.push(r===i?1:0)}function Bn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"NEQ[]",r,i),e.push(r!==i?1:0)}function En(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"ODD[]",r),e.push(Math.trunc(r)%2?1:0)}function kn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"EVEN[]",r),e.push(Math.trunc(r)%2?0:1)}function Nn(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"IF[]",e),e||(vi(t,!0),v.DEBUG&&console.log(t.step,"EIF[]"))}function Fn(t){v.DEBUG&&console.log(t.step,"EIF[]")}function Rn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"AND[]",r,i),e.push(r&&i?1:0)}function Ln(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"OR[]",r,i),e.push(r||i?1:0)}function Mn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"NOT[]",r),e.push(r?0:1)}function On(t,e){var r=e.stack,i=r.pop(),n=e.fv,a=e.pv,s=e.ppem,o=e.deltaBase+16*(t-1),l=e.deltaShift,u=e.z0;v.DEBUG&&console.log(e.step,"DELTAP["+t+"]",i,r);for(var h=0;h<i;h++){var c=r.pop(),d=r.pop(),m;if(o+((240&d)>>4)!==s)continue;var d=(15&d)-8;0<=d&&d++,v.DEBUG&&console.log(e.step,"DELTAPFIX",c,"by",d*l);var c=u[c];n.setRelative(c,c,d*l,a)}}function Hn(t){var e,r=t.stack.pop();v.DEBUG&&console.log(t.step,"SDB[]",r),t.deltaBase=r}function _n(t){var e,r=t.stack.pop();v.DEBUG&&console.log(t.step,"SDS[]",r),t.deltaShift=Math.pow(.5,r)}function Vn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"ADD[]",r,i),e.push(i+r)}function Gn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"SUB[]",r,i),e.push(i-r)}function Un(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"DIV[]",r,i),e.push(64*i/r)}function jn(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"MUL[]",r,i),e.push(i*r/64)}function Wn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"ABS[]",r),e.push(Math.abs(r))}function qn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"NEG[]",r),e.push(-r)}function zn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"FLOOR[]",r),e.push(64*Math.floor(r/64))}function Xn(t){var e=t.stack,r=e.pop();v.DEBUG&&console.log(t.step,"CEILING[]",r),e.push(64*Math.ceil(r/64))}function Jn(t,e){var r=e.stack,i=r.pop();v.DEBUG&&console.log(e.step,"ROUND[]"),r.push(64*e.round(i/64))}function Yn(t){var e=t.stack,r=e.pop(),e=e.pop();v.DEBUG&&console.log(t.step,"WCVTF[]",r,e),t.cvt[e]=r*t.ppem/t.font.unitsPerEm}function Qn(t,e){var r=e.stack,i=r.pop(),n=e.ppem,a=e.deltaBase+16*(t-1),s=e.deltaShift;v.DEBUG&&console.log(e.step,"DELTAC["+t+"]",i,r);for(var o=0;o<i;o++){var l=r.pop(),u=r.pop(),h;if(a+((240&u)>>4)!==n)continue;var u=(15&u)-8;0<=u&&u++;var u=u*s;v.DEBUG&&console.log(e.step,"DELTACFIX",l,"by",u),e.cvt[l]+=u}}function Kn(t){var e=t.stack.pop(),r;switch(v.DEBUG&&console.log(t.step,"SROUND[]",e),t.round=hi,192&e){case 0:r=.5;break;case 64:r=1;break;case 128:r=2;break;default:throw new Error("invalid SROUND value")}switch(t.srPeriod=r,48&e){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*r;break;case 32:t.srPhase=.5*r;break;case 48:t.srPhase=.75*r;break;default:throw new Error("invalid SROUND value")}t.srThreshold=0===(e&=15)?0:(e/8-.5)*r}function Zn(t){var e=t.stack.pop(),r;switch(v.DEBUG&&console.log(t.step,"S45ROUND[]",e),t.round=hi,192&e){case 0:r=Math.sqrt(2)/2;break;case 64:r=Math.sqrt(2);break;case 128:r=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(t.srPeriod=r,48&e){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*r;break;case 32:t.srPhase=.5*r;break;case 48:t.srPhase=.75*r;break;default:throw new Error("invalid S45ROUND value")}t.srThreshold=0===(e&=15)?0:(e/8-.5)*r}function $n(t){v.DEBUG&&console.log(t.step,"ROFF[]"),t.round=ni}function ta(t){v.DEBUG&&console.log(t.step,"RUTG[]"),t.round=li}function ea(t){v.DEBUG&&console.log(t.step,"RDTG[]"),t.round=ui}function ra(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"SCANCTRL[]",e)}function ia(t,e){var r=e.stack,i=r.pop(),n=r.pop(),a=e.z2[i],r=e.z1[n],s,a;v.DEBUG&&console.log(e.step,"SDPVTL["+t+"]",i,n),a=t?(s=a.y-r.y,r.x-a.x):(s=r.x-a.x,r.y-a.y),e.dpv=pi(s,a)}function na(t){var e=t.stack,r=e.pop(),i=0;v.DEBUG&&console.log(t.step,"GETINFO[]",r),1&r&&(i=35),32&r&&(i|=4096),e.push(i)}function aa(t){var e=t.stack,r=e.pop(),i=e.pop(),n=e.pop();v.DEBUG&&console.log(t.step,"ROLL[]"),e.push(i),e.push(r),e.push(n)}function sa(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"MAX[]",r,i),e.push(Math.max(i,r))}function oa(t){var e=t.stack,r=e.pop(),i=e.pop();v.DEBUG&&console.log(t.step,"MIN[]",r,i),e.push(Math.min(i,r))}function la(t){var e=t.stack.pop();v.DEBUG&&console.log(t.step,"SCANTYPE[]",e)}function ua(t){var e=t.stack.pop(),r=t.stack.pop();switch(v.DEBUG&&console.log(t.step,"INSTCTRL[]",e,r),e){case 1:return void(t.inhibitGridFit=!!r);case 2:return void(t.ignoreCvt=!!r);default:throw new Error("invalid INSTCTRL[] selector")}}function ha(t,e){var r=e.stack,i=e.prog,n=e.ip;v.DEBUG&&console.log(e.step,"PUSHB["+t+"]");for(var a=0;a<t;a++)r.push(i[++n]);e.ip=n}function ca(t,e){var r=e.ip,i=e.prog,n=e.stack;v.DEBUG&&console.log(e.ip,"PUSHW["+t+"]");for(var a=0;a<t;a++){var s=i[++r]<<8|i[++r];32768&s&&(s=-((65535^s)+1)),n.push(s)}e.ip=r}function da(t,e,r,i,n,a){var s=a.stack,o=t&&s.pop(),l=s.pop(),u=a.rp0,h=a.z0[u],c=a.z1[l],d=a.minDis,m=a.fv,p=a.dpv,g,s,u,f,s=g=p.distance(c,h,!0,!0),u=0<=s?1:-1;s=Math.abs(s),t&&(f=a.cvt[o],i&&Math.abs(s-f)<a.cvCutIn&&(s=f)),r&&s<d&&(s=d),i&&(s=a.round(s)),m.setRelative(c,h,u*s,p),m.touch(c),v.DEBUG&&console.log(a.step,(t?"MIRP[":"MDRP[")+(e?"M":"m")+(r?">":"_")+(i?"R":"_")+(0===n?"Gr":1===n?"Bl":2===n?"Wh":"")+"]",t?o+"("+a.cvt[o]+","+f+")":"",l,"(d =",g,"->",u*s,")"),a.rp1=a.rp0,a.rp2=l,e&&(a.rp0=l)}function ma(t){this.char=t,this.state={},this.activeState=null}function pa(t,e,r){this.contextName=r,this.startIndex=t,this.endOffset=e}function ga(t,e,r){this.contextName=t,this.openRange=null,this.ranges=[],this.checkStart=e,this.checkEnd=r}function fa(t,e){this.context=t,this.index=e,this.length=t.length,this.current=t[e],this.backtrack=t.slice(0,e),this.lookahead=t.slice(e+1)}function Sa(t){this.eventId=t,this.subscribers=[]}function ba(r){var i=this,t=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"],e;t.forEach(function(t){Object.defineProperty(i.events,t,{value:new Sa(t)})}),r&&t.forEach(function(t){var e=r[t];"function"==typeof e&&i.events[t].subscribe(e)}),["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach(function(t){i.events[t].subscribe(i.updateContextsRanges)})}function ya(t){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],ba.call(this,t)}function va(t){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(t)}function wa(t){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(t)}function Ca(t){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(t)}function Ta(t){return/[A-z]/.test(t)}function Pa(t){return/\s/.test(t)}function Ia(t){this.font=t,this.features={}}function Aa(t){this.id=t.id,this.tag=t.tag,this.substitution=t.substitution}function xa(t,e){if(!t)return-1;switch(e.format){case 1:return e.glyphs.indexOf(t);case 2:for(var r=e.ranges,i=0;i<r.length;i++){var n=r[i];if(t>=n.start&&t<=n.end){var a=t-n.start;return n.index+a}}break;default:return-1}return-1}function Da(t,e){var r;if(-1===xa(t,e.coverage))return null;return t+e.deltaGlyphId}function Ba(t,e){var t=xa(t,e.coverage);if(-1===t)return null;return e.substitute[t]}function Ea(t,e){for(var r=[],i=0;i<t.length;i++){var n=t[i],a=e.current,a,n=xa(a=Array.isArray(a)?a[0]:a,n);-1!==n&&r.push(n)}if(r.length!==t.length)return-1;return r}function ka(t,e){var r=this,i=e.inputCoverage.length+e.lookaheadCoverage.length+e.backtrackCoverage.length;if(t.context.length<i)return[];var n=Ea(e.inputCoverage,t);if(-1===n)return[];var a=e.inputCoverage.length-1;if(t.lookahead.length<e.lookaheadCoverage.length)return[];var s=t.lookahead.slice(a);while(s.length&&Ca(s[0].char))s.shift();var i=new fa(s,0),a=Ea(e.lookaheadCoverage,i),o=[].concat(t.backtrack);o.reverse();while(o.length&&Ca(o[0].char))o.shift();if(o.length<e.backtrackCoverage.length)return[];var i=new fa(o,0),i=Ea(e.backtrackCoverage,i),l,u=[];if(n.length===e.inputCoverage.length&&a.length===e.lookaheadCoverage.length&&i.length===e.backtrackCoverage.length)for(var h=0;h<e.lookupRecords.length;h++)for(var c,d=e.lookupRecords[h].lookupListIndex,m=r.getLookupByIndex(d),p=0;p<m.subtables.length;p++){var g=m.subtables[p],f=r.getLookupMethod(m,g),S;if("12"===r.getSubstitutionType(m,g))for(var b=0;b<n.length;b++){var y,v=f(t.get(b));v&&u.push(v)}}return u}function Na(t,e){var r,i=xa(t.current,e.coverage),n;if(-1===i)return null;for(var a=e.ligatureSets[i],s=0;s<a.length;s++)for(var n=a[s],o=0,l,u;o<n.components.length;o++){if(t.lookahead[o]!==n.components[o])break;if(o===n.components.length-1)return n}return null}function Fa(t,e){var t=xa(t,e.coverage);if(-1===t)return null;return e.sequences[t]}function Ra(t){var e=t.current,t=t.get(-1);return null===t&&va(e)||!va(t)&&va(e)}function La(t){var t=t.get(1);return null===t||!va(t)}ii.prototype.exec=function(t,e){if("number"!=typeof e)throw new Error("Point size is not a number!");if(2<this._errorState)return;var r=this.font,i=this._prepState;if(!i||i.ppem!==e){var n=this._fpgmState;if(!n){bi.prototype=Si,(n=this._fpgmState=new bi("fpgm",r.tables.fpgm)).funcs=[],n.font=r,v.DEBUG&&(console.log("---EXEC FPGM---"),n.step=-1);try{ti(n)}catch(t){return console.log("Hinting error in FPGM:"+t),void(this._errorState=3)}}bi.prototype=n,(i=this._prepState=new bi("prep",r.tables.prep)).ppem=e;var a=r.tables.cvt;if(a)for(var s=i.cvt=new Array(a.length),o=e/r.unitsPerEm,l=0;l<a.length;l++)s[l]=a[l]*o;else i.cvt=[];v.DEBUG&&(console.log("---EXEC PREP---"),i.step=-1);try{ti(i)}catch(t){this._errorState<2&&console.log("Hinting error in PREP:"+t),this._errorState=2}}if(1<this._errorState)return;try{return ei(t,i)}catch(t){return this._errorState<1&&(console.log("Hinting error:"+t),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}},ei=function(t,e){var r=e.ppem/e.font.unitsPerEm,i=r,n=t.components,a,s,o;if(bi.prototype=e,n){for(var l=e.font,s=[],a=[],u=0;u<n.length;u++){var h=n[u],c=l.glyphs.get(h.glyphIndex),o=new bi("glyf",c.instructions);v.DEBUG&&(console.log("---EXEC COMP "+u+"---"),o.step=-1),ri(c,o,r,i);for(var d=Math.round(h.dx*r),m=Math.round(h.dy*i),p=o.gZone,g=o.contours,f=0;f<p.length;f++){var S=p[f];S.xTouched=S.yTouched=!1,S.xo=S.x=S.x+d,S.yo=S.y=S.y+m}var b=s.length;s.push.apply(s,p);for(var y=0;y<g.length;y++)a.push(g[y]+b)}t.instructions&&!o.inhibitGridFit&&((o=new bi("glyf",t.instructions)).gZone=o.z0=o.z1=o.z2=s,o.contours=a,s.push(new gi(0,0),new gi(Math.round(t.advanceWidth*r),0)),v.DEBUG&&(console.log("---EXEC COMPOSITE---"),o.step=-1),ti(o),s.length-=2)}else o=new bi("glyf",t.instructions),v.DEBUG&&(console.log("---EXEC GLYPH---"),o.step=-1),ri(t,o,r,i),s=o.gZone;return s},ri=function(t,e,r,i){for(var n=t.points||[],a=n.length,s=e.gZone=e.z0=e.z1=e.z2=[],o=e.contours=[],l,u=0,h,c;u<a;u++)l=n[u],s[u]=new gi(l.x*r,l.y*i,l.lastPointOfContour,l.onCurve);for(var d=0;d<a;d++)l=s[d],h||(h=l,o.push(d)),l.lastPointOfContour?((l.nextPointOnContour=h).prevPointOnContour=l,h=void 0):(c=s[d+1],(l.nextPointOnContour=c).prevPointOnContour=l);if(e.inhibitGridFit)return;if(v.DEBUG){console.log("PROCESSING GLYPH",e.stack);for(var m=0;m<a;m++)console.log(m,s[m].x,s[m].y)}if(s.push(new gi(0,0),new gi(Math.round(t.advanceWidth*r),0)),ti(e),s.length-=2,v.DEBUG){console.log("FINISHED GLYPH",e.stack);for(var p=0;p<a;p++)console.log(p,s[p].x,s[p].y)}},ti=function(t){var e=t.prog;if(!e)return;var r=e.length,i;for(t.ip=0;t.ip<r;t.ip++){if(v.DEBUG&&t.step++,!(i=$r[e[t.ip]]))throw new Error("unknown instruction: 0x"+Number(e[t.ip]).toString(16));i(t)}},$r=[wi.bind(void 0,di),wi.bind(void 0,ci),Ci.bind(void 0,di),Ci.bind(void 0,ci),Ti.bind(void 0,di),Ti.bind(void 0,ci),Pi.bind(void 0,0),Pi.bind(void 0,1),Ii.bind(void 0,0),Ii.bind(void 0,1),Ai,xi,Di,Bi,Ei,ki,Ni,Fi,Ri,Li,Mi,Oi,Hi,_i,Vi,Gi,Ui,ji,Wi,qi,void 0,void 0,zi,Xi,Ji,Yi,Qi,$i,tn,void 0,void 0,void 0,Ki,Zi,en,void 0,rn.bind(void 0,0),rn.bind(void 0,1),nn.bind(void 0,di),nn.bind(void 0,ci),an.bind(void 0,0),an.bind(void 0,1),sn.bind(void 0,0),sn.bind(void 0,1),on.bind(void 0,0),on.bind(void 0,1),ln,un,hn.bind(void 0,0),hn.bind(void 0,1),cn,dn,mn.bind(void 0,0),mn.bind(void 0,1),pn,gn,fn,Sn,bn,yn,vn.bind(void 0,0),vn.bind(void 0,1),void 0,wn.bind(void 0,0),wn.bind(void 0,1),Cn,void 0,Tn,void 0,void 0,Pn,In,An,xn,Dn,Bn,En,kn,Nn,Fn,Rn,Ln,Mn,On.bind(void 0,1),Hn,_n,Vn,Gn,Un,jn,Wn,qn,zn,Xn,Jn.bind(void 0,0),Jn.bind(void 0,1),Jn.bind(void 0,2),Jn.bind(void 0,3),void 0,void 0,void 0,void 0,Yn,On.bind(void 0,2),On.bind(void 0,3),Qn.bind(void 0,1),Qn.bind(void 0,2),Qn.bind(void 0,3),Kn,Zn,void 0,void 0,$n,void 0,ta,ea,Xi,Xi,void 0,void 0,void 0,void 0,void 0,ra,ia.bind(void 0,0),ia.bind(void 0,1),na,void 0,aa,sa,oa,la,ua,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,ha.bind(void 0,1),ha.bind(void 0,2),ha.bind(void 0,3),ha.bind(void 0,4),ha.bind(void 0,5),ha.bind(void 0,6),ha.bind(void 0,7),ha.bind(void 0,8),ca.bind(void 0,1),ca.bind(void 0,2),ca.bind(void 0,3),ca.bind(void 0,4),ca.bind(void 0,5),ca.bind(void 0,6),ca.bind(void 0,7),ca.bind(void 0,8),da.bind(void 0,0,0,0,0,0),da.bind(void 0,0,0,0,0,1),da.bind(void 0,0,0,0,0,2),da.bind(void 0,0,0,0,0,3),da.bind(void 0,0,0,0,1,0),da.bind(void 0,0,0,0,1,1),da.bind(void 0,0,0,0,1,2),da.bind(void 0,0,0,0,1,3),da.bind(void 0,0,0,1,0,0),da.bind(void 0,0,0,1,0,1),da.bind(void 0,0,0,1,0,2),da.bind(void 0,0,0,1,0,3),da.bind(void 0,0,0,1,1,0),da.bind(void 0,0,0,1,1,1),da.bind(void 0,0,0,1,1,2),da.bind(void 0,0,0,1,1,3),da.bind(void 0,0,1,0,0,0),da.bind(void 0,0,1,0,0,1),da.bind(void 0,0,1,0,0,2),da.bind(void 0,0,1,0,0,3),da.bind(void 0,0,1,0,1,0),da.bind(void 0,0,1,0,1,1),da.bind(void 0,0,1,0,1,2),da.bind(void 0,0,1,0,1,3),da.bind(void 0,0,1,1,0,0),da.bind(void 0,0,1,1,0,1),da.bind(void 0,0,1,1,0,2),da.bind(void 0,0,1,1,0,3),da.bind(void 0,0,1,1,1,0),da.bind(void 0,0,1,1,1,1),da.bind(void 0,0,1,1,1,2),da.bind(void 0,0,1,1,1,3),da.bind(void 0,1,0,0,0,0),da.bind(void 0,1,0,0,0,1),da.bind(void 0,1,0,0,0,2),da.bind(void 0,1,0,0,0,3),da.bind(void 0,1,0,0,1,0),da.bind(void 0,1,0,0,1,1),da.bind(void 0,1,0,0,1,2),da.bind(void 0,1,0,0,1,3),da.bind(void 0,1,0,1,0,0),da.bind(void 0,1,0,1,0,1),da.bind(void 0,1,0,1,0,2),da.bind(void 0,1,0,1,0,3),da.bind(void 0,1,0,1,1,0),da.bind(void 0,1,0,1,1,1),da.bind(void 0,1,0,1,1,2),da.bind(void 0,1,0,1,1,3),da.bind(void 0,1,1,0,0,0),da.bind(void 0,1,1,0,0,1),da.bind(void 0,1,1,0,0,2),da.bind(void 0,1,1,0,0,3),da.bind(void 0,1,1,0,1,0),da.bind(void 0,1,1,0,1,1),da.bind(void 0,1,1,0,1,2),da.bind(void 0,1,1,0,1,3),da.bind(void 0,1,1,1,0,0),da.bind(void 0,1,1,1,0,1),da.bind(void 0,1,1,1,0,2),da.bind(void 0,1,1,1,0,3),da.bind(void 0,1,1,1,1,0),da.bind(void 0,1,1,1,1,1),da.bind(void 0,1,1,1,1,2),da.bind(void 0,1,1,1,1,3)],ma.prototype.setState=function(t,e){return this.state[t]=e,this.activeState={key:t,value:this.state[t]},this.activeState},ma.prototype.getState=function(t){return this.state[t]||null},ya.prototype.inboundIndex=function(t){return 0<=t&&t<this.tokens.length},ya.prototype.composeRUD=function(t){var e=this,r=!0,t=t.map(function(t){return e[t[0]].apply(e,t.slice(1).concat(r))}),i=function(t){return"object"==typeof t&&t.hasOwnProperty("FAIL")};if(t.every(i))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:t.filter(i)};this.dispatch("composeRUD",[t.filter(function(t){return!i(t)})])},ya.prototype.replaceRange=function(t,e,r,i){e=null!==e?e:this.tokens.length;var n=r.every(function(t){return t instanceof ma});if(!isNaN(t)&&this.inboundIndex(t)&&n){var n=this.tokens.splice.apply(this.tokens,[t,e].concat(r));return i||this.dispatch("replaceToken",[t,e,r]),[n,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},ya.prototype.replaceToken=function(t,e,r){if(!isNaN(t)&&this.inboundIndex(t)&&e instanceof ma){var i=this.tokens.splice(t,1,e);return r||this.dispatch("replaceToken",[t,e]),[i[0],e]}return{FAIL:"replaceToken: invalid token or index."}},ya.prototype.removeRange=function(t,e,r){e=isNaN(e)?this.tokens.length:e;var i=this.tokens.splice(t,e);return r||this.dispatch("removeRange",[i,t,e]),i},ya.prototype.removeToken=function(t,e){if(!isNaN(t)&&this.inboundIndex(t)){var r=this.tokens.splice(t,1);return e||this.dispatch("removeToken",[r,t]),r}return{FAIL:"removeToken: invalid token index."}},ya.prototype.insertToken=function(t,e,r){var i;return t.every(function(t){return t instanceof ma})?(this.tokens.splice.apply(this.tokens,[e,0].concat(t)),r||this.dispatch("insertToken",[t,e]),t):{FAIL:"insertToken: invalid token(s)."}},ya.prototype.registerModifier=function(a,s,o){this.events.newToken.subscribe(function(t,e){var r,i,n,e;null!==s&&!0!==s.apply(this,[t,e])||(e=o.apply(this,[t,e]),t.setState(a,e))}),this.registeredModifiers.push(a)},Sa.prototype.subscribe=function(t){return"function"==typeof t?this.subscribers.push(t)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},Sa.prototype.unsubscribe=function(t){this.subscribers.splice(t,1)},fa.prototype.setCurrentIndex=function(t){this.index=t,this.current=this.context[t],this.backtrack=this.context.slice(0,t),this.lookahead=this.context.slice(t+1)},fa.prototype.get=function(t){switch(!0){case 0===t:return this.current;case t<0&&Math.abs(t)<=this.backtrack.length:return this.backtrack.slice(t)[0];case 0<t&&t<=this.lookahead.length:return this.lookahead[t-1];default:return null}},ya.prototype.rangeToText=function(t){if(t instanceof pa)return this.getRangeTokens(t).map(function(t){return t.char}).join("")},ya.prototype.getText=function(){return this.tokens.map(function(t){return t.char}).join("")},ya.prototype.getContext=function(t){var t=this.registeredContexts[t];return t||null},ya.prototype.on=function(t,e){var t=this.events[t];return t?t.subscribe(e):null},ya.prototype.dispatch=function(t,e){var r=this,t=this.events[t];t instanceof Sa&&t.subscribers.forEach(function(t){t.apply(r,e||[])})},ya.prototype.registerContextChecker=function(t,e,r){if(this.getContext(t))return{FAIL:"context name '"+t+"' is already registered."};if("function"!=typeof e)return{FAIL:"missing context start check."};if("function"!=typeof r)return{FAIL:"missing context end check."};var r=new ga(t,e,r);return this.registeredContexts[t]=r,this.contextCheckers.push(r),r},ya.prototype.getRangeTokens=function(t){var e=t.startIndex+t.endOffset;return[].concat(this.tokens.slice(t.startIndex,e))},ya.prototype.getContextRanges=function(t){var e=this.getContext(t);return e?e.ranges:{FAIL:"context checker '"+t+"' is not registered."}},ya.prototype.resetContextsRanges=function(){var t=this.registeredContexts,e,r;for(e in t){t.hasOwnProperty(e)&&(t[e].ranges=[])}},ya.prototype.updateContextsRanges=function(){var t=this;this.resetContextsRanges();for(var e=this.tokens.map(function(t){return t.char}),r=0;r<e.length;r++){var i=new fa(e,r);t.runContextCheck(i)}this.dispatch("updateContextsRanges",[this.registeredContexts])},ya.prototype.setEndOffset=function(t,e){var r,i=new pa(this.getContext(e).openRange.startIndex,t,e),t=this.getContext(e).ranges;return i.rangeId=e+"."+t.length,t.push(i),this.getContext(e).openRange=null,i},ya.prototype.runContextCheck=function(i){var n=this,a=i.index;this.contextCheckers.forEach(function(t){var e=t.contextName,r=n.getContext(e).openRange,r,r;!r&&t.checkStart(i)&&(r=new pa(a,null,e),n.getContext(e).openRange=r,n.dispatch("contextStart",[e,a])),r&&t.checkEnd(i)&&(r=a-r.startIndex+1,r=n.setEndOffset(r,e),n.dispatch("contextEnd",[e,r]))})},ya.prototype.tokenize=function(t){var e=this;this.tokens=[],this.resetContextsRanges();var r=Array.from(t);this.dispatch("start");for(var i=0;i<r.length;i++){var n=r[i],a=new fa(r,i);e.dispatch("next",[a]),e.runContextCheck(a);var n=new ma(n);e.tokens.push(n),e.dispatch("newToken",[n,a])}return this.dispatch("end",[this.tokens]),this.tokens},Ia.prototype.getDefaultScriptFeaturesIndexes=function(){for(var t=this.font.tables.gsub.scripts,e=0;e<t.length;e++){var r=t[e];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},Ia.prototype.getScriptFeaturesIndexes=function(t){var e;if(!this.font.tables.gsub)return[];if(!t)return this.getDefaultScriptFeaturesIndexes();for(var r=this.font.tables.gsub.scripts,i=0;i<r.length;i++){var n=r[i];if(n.tag===t&&n.script.defaultLangSys)return n.script.defaultLangSys.featureIndexes;var a=n.langSysRecords;if(a)for(var s=0;s<a.length;s++){var o=a[s],l;if(o.tag===t)return o.langSys.featureIndexes}}return this.getDefaultScriptFeaturesIndexes()},Ia.prototype.mapTagsToFeatures=function(t,e){for(var r={},i=0;i<t.length;i++){var n=t[i].tag,a=t[i].feature;r[n]=a}this.features[e].tags=r},Ia.prototype.getScriptFeatures=function(t){var e=this.features[t];if(this.features.hasOwnProperty(t))return e;var r=this.getScriptFeaturesIndexes(t);if(!r)return null;var i=this.font.tables.gsub,e=r.map(function(t){return i.features[t]});return this.features[t]=e,this.mapTagsToFeatures(e,t),e},Ia.prototype.getSubstitutionType=function(t,e){var r,i;return t.lookupType.toString()+e.substFormat.toString()},Ia.prototype.getLookupMethod=function(t,e){var r=this,i;switch(this.getSubstitutionType(t,e)){case"11":return function(t){return Da.apply(r,[t,e])};case"12":return function(t){return Ba.apply(r,[t,e])};case"63":return function(t){return ka.apply(r,[t,e])};case"41":return function(t){return Na.apply(r,[t,e])};case"21":return function(t){return Fa.apply(r,[t,e])};default:throw new Error("lookupType: "+t.lookupType+" - "+"substFormat: "+e.substFormat+" "+"is not yet supported")}},Ia.prototype.lookupFeature=function(t){var e=this,r=t.contextParams,i=r.index,n=this.getFeature({tag:t.tag,script:t.script});if(!n)return new Error("font '"+this.font.names.fullName.en+"' "+"doesn't support feature '"+t.tag+"' "+"for script '"+t.script+"'.");for(var a=this.getFeatureLookups(n),s=[].concat(r.context),o=0;o<a.length;o++)for(var l=a[o],u=e.getLookupSubtables(l),h=0;h<u.length;h++){var c=u[h],d=e.getSubstitutionType(l,c),m=e.getLookupMethod(l,c),p=void 0;switch(d){case"11":(p=m(r.current))&&s.splice(i,1,new Aa({id:11,tag:t.tag,substitution:p}));break;case"12":(p=m(r.current))&&s.splice(i,1,new Aa({id:12,tag:t.tag,substitution:p}));break;case"63":p=m(r),Array.isArray(p)&&p.length&&s.splice(i,1,new Aa({id:63,tag:t.tag,substitution:p}));break;case"41":(p=m(r))&&s.splice(i,1,new Aa({id:41,tag:t.tag,substitution:p}));break;case"21":(p=m(r.current))&&s.splice(i,1,new Aa({id:21,tag:t.tag,substitution:p}));break}if(r=new fa(s,i),Array.isArray(p)&&!p.length)continue;p=null}return s.length?s:null},Ia.prototype.supports=function(e){if(!e.script)return!1;this.getScriptFeatures(e.script);var t=this.features.hasOwnProperty(e.script);if(!e.tag)return t;var r=this.features[e.script].some(function(t){return t.tag===e.tag});return t&&r},Ia.prototype.getLookupSubtables=function(t){return t.subtables||null},Ia.prototype.getLookupByIndex=function(t){var e;return this.font.tables.gsub.lookups[t]||null},Ia.prototype.getFeatureLookups=function(t){return t.lookupListIndexes.map(this.getLookupByIndex.bind(this))},Ia.prototype.getFeature=function t(e){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(e.script)||this.getScriptFeatures(e.script);var r=this.features[e.script];if(!r)return{FAIL:"No feature for script "+e.script};if(!r.tags[e.tag])return null;return this.features[e.script].tags[e.tag]};var Ma={startCheck:Ra,endCheck:La};function Oa(t){var e=t.current,t=t.get(-1);return(va(e)||Ca(e))&&!va(t)}function Ha(t){var e=t.get(1);switch(!0){case null===e:return!0;case!va(e)&&!Ca(e):var r=Pa(e);if(!r)return!0;if(r){var i=!1,i;if(!t.lookahead.some(function(t){return va(t)||Ca(t)}))return!0}break;default:return!1}}var t={startCheck:Oa,endCheck:Ha};function _a(t,e,r){e[r].setState(t.tag,t.substitution)}function Va(t,e,r){e[r].setState(t.tag,t.substitution)}function Ga(i,n,a){i.substitution.forEach(function(t,e){var r;n[a+e].setState(i.tag,t)})}function Ua(t,e,r){var i=e[r];i.setState(t.tag,t.substitution.ligGlyph);for(var n=t.substitution.components.length,a=0;a<n;a++)(i=e[r+a+1]).setState("deleted",!0)}var ja={11:_a,12:Va,63:Ga,41:Ua};function Wa(t,e,r){t instanceof Aa&&ja[t.id](t,e,r)}function qa(t){for(var e=[].concat(t.backtrack),r=e.length-1;0<=r;r--){var i=e[r],n=wa(i),i=Ca(i);if(!n&&!i)return 1;if(n)return 0}return 0}function za(t){if(wa(t.current))return 0;for(var e=0,r,i;e<t.lookahead.length;e++){if(!Ca(t.lookahead[e]))return 1}return 0}function Xa(t){var i=this,n="arab",a=this.featuresTags[n],s=this.tokenizer.getRangeTokens(t);if(1===s.length)return;var o=new fa(s.map(function(t){return t.getState("glyphIndex")}),0),l=new fa(s.map(function(t){return t.char}),0);s.forEach(function(t,e){if(Ca(t.char))return;o.setCurrentIndex(e),l.setCurrentIndex(e);var e=0,r;switch(qa(l)&&(e|=1),za(l)&&(e|=2),e){case 1:r="fina";break;case 2:r="init";break;case 3:r="medi";break}if(-1===a.indexOf(r))return;var e=i.query.lookupFeature({tag:r,script:n,contextParams:o});if(e instanceof Error)return console.info(e.message);e.forEach(function(t,e){t instanceof Aa&&(Wa(t,s,e),o.context[e]=t.substitution)})})}function Ja(t,e){var r;return new fa(t.map(function(t){return t.activeState.value}),e||0)}function Ya(t){var i=this,n="arab",a=this.tokenizer.getRangeTokens(t),s=Ja(a);s.context.forEach(function(t,e){s.setCurrentIndex(e);var r=i.query.lookupFeature({tag:"rlig",script:n,contextParams:s});r.length&&(r.forEach(function(t){return Wa(t,a,e)}),s=Ja(a))})}function Qa(t){var e=t.current,t=t.get(-1);return null===t&&Ta(e)||!Ta(t)&&Ta(e)}function Ka(t){var t=t.get(1);return null===t||!Ta(t)}var e={startCheck:Qa,endCheck:Ka};function Za(t,e){var r;return new fa(t.map(function(t){return t.activeState.value}),e||0)}function $a(t){var i=this,n="latn",a=this.tokenizer.getRangeTokens(t),s=Za(a);s.context.forEach(function(t,e){s.setCurrentIndex(e);try{var r=i.query.lookupFeature({tag:"liga",script:n,contextParams:s});r.length&&(r.forEach(function(t){return Wa(t,a,e)}),s=Za(a))}catch(t){}})}function ts(t){this.baseDir=t||"ltr",this.tokenizer=new ya,this.featuresTags={}}function es(t){var e=this.contextChecks[t+"Check"];return this.tokenizer.registerContextChecker(t,e.startCheck,e.endCheck)}function rs(){return es.call(this,"latinWord"),es.call(this,"arabicWord"),es.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function is(){var r=this,t;this.tokenizer.getContextRanges("arabicSentence").forEach(function(t){var e=r.tokenizer.getRangeTokens(t);r.tokenizer.replaceRange(t.startIndex,t.endOffset,e.reverse())})}function ns(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply "+"arabic presentation features.")}function as(){var e=this,t,r;if(!this.featuresTags.hasOwnProperty("arab"))return;ns.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(t){Xa.call(e,t)})}function ss(){var e=this,t="arab",r,i;if(!this.featuresTags.hasOwnProperty(t))return;if(-1===this.featuresTags[t].indexOf("rlig"))return;ns.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(t){Ya.call(e,t)})}function os(){var e=this,t="latn",r,i;if(!this.featuresTags.hasOwnProperty(t))return;if(-1===this.featuresTags[t].indexOf("liga"))return;ns.call(this),this.tokenizer.getContextRanges("latinWord").forEach(function(t){$a.call(e,t)})}function ls(t){(t=t||{}).empty||(Ur(t.familyName,"When creating a new Font object, familyName is required."),Ur(t.styleName,"When creating a new Font object, styleName is required."),Ur(t.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),Ur(t.ascender,"When creating a new Font object, ascender is required."),Ur(t.descender,"When creating a new Font object, descender is required."),Ur(t.descender<0,"Descender should be negative (e.g. -512)."),this.names={fontFamily:{en:t.familyName||" "},fontSubfamily:{en:t.styleName||" "},fullName:{en:t.fullName||t.familyName+" "+t.styleName},postScriptName:{en:t.postScriptName||(t.familyName+t.styleName).replace(/\s/g,"")},designer:{en:t.designer||" "},designerURL:{en:t.designerURL||" "},manufacturer:{en:t.manufacturer||" "},manufacturerURL:{en:t.manufacturerURL||" "},license:{en:t.license||" "},licenseURL:{en:t.licenseURL||" "},version:{en:t.version||"Version 0.1"},description:{en:t.description||" "},copyright:{en:t.copyright||" "},trademark:{en:t.trademark||" "}},this.unitsPerEm=t.unitsPerEm||1e3,this.ascender=t.ascender,this.descender=t.descender,this.createdTimestamp=t.createdTimestamp,this.tables={os2:{usWeightClass:t.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:t.widthClass||this.usWidthClasses.MEDIUM,fsSelection:t.fsSelection||this.fsSelectionValues.REGULAR}}),this.supported=!0,this.glyphs=new Wt.GlyphSet(this,t.glyphs||[]),this.encoding=new Dt(this),this.position=new Lr(this),this.substitution=new Mr(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){if(this._hinting)return this._hinting;if("truetype"===this.outlinesFormat)return this._hinting=new ii(this)}})}function us(t,e){var r=JSON.stringify(t),i=256,n;for(n in e){var a=parseInt(n);if(!a||a<256)continue;if(JSON.stringify(e[n])===r)return a;i<=a&&(i=a+1)}return e[i]=t,i}function hs(t,e,r){var r=us(e.name,r);return[{name:"tag_"+t,type:"TAG",value:e.tag},{name:"minValue_"+t,type:"FIXED",value:e.minValue<<16},{name:"defaultValue_"+t,type:"FIXED",value:e.defaultValue<<16},{name:"maxValue_"+t,type:"FIXED",value:e.maxValue<<16},{name:"flags_"+t,type:"USHORT",value:0},{name:"nameID_"+t,type:"USHORT",value:r}]}function cs(t,e,r){var i={},e=new ft.Parser(t,e);return i.tag=e.parseTag(),i.minValue=e.parseFixed(),i.defaultValue=e.parseFixed(),i.maxValue=e.parseFixed(),e.skip("uShort",1),i.name=r[e.parseUShort()]||{},i}function ds(t,e,r,i){for(var n,a=[{name:"nameID_"+t,type:"USHORT",value:us(e.name,i)},{name:"flags_"+t,type:"USHORT",value:0}],s=0;s<r.length;++s){var o=r[s].tag;a.push({name:"axis_"+t+" "+o,type:"FIXED",value:e.coordinates[o]<<16})}return a}function ms(t,e,r,i){var n={},a=new ft.Parser(t,e);n.name=i[a.parseUShort()]||{},a.skip("uShort",1),n.coordinates={};for(var s=0;s<r.length;++s)n.coordinates[r[s].tag]=a.parseFixed();return n}function ps(t,e){var r=new it.Table("fvar",[{name:"version",type:"ULONG",value:65536},{name:"offsetToData",type:"USHORT",value:0},{name:"countSizePairs",type:"USHORT",value:2},{name:"axisCount",type:"USHORT",value:t.axes.length},{name:"axisSize",type:"USHORT",value:20},{name:"instanceCount",type:"USHORT",value:t.instances.length},{name:"instanceSize",type:"USHORT",value:4+4*t.axes.length}]);r.offsetToData=r.sizeOf();for(var i=0;i<t.axes.length;i++)r.fields=r.fields.concat(hs(i,t.axes[i],e));for(var n=0;n<t.instances.length;n++)r.fields=r.fields.concat(ds(n,t.instances[n],t.axes,e));return r}function gs(t,e,r){var i=new ft.Parser(t,e),n=i.parseULong();N.argument(65536===n,"Unsupported fvar table version.");var a=i.parseOffset16();i.skip("uShort",1);for(var s=i.parseUShort(),o=i.parseUShort(),l=i.parseUShort(),u=i.parseUShort(),h=[],c=0;c<s;c++)h.push(cs(t,e+a+c*o,r));for(var d=[],m=e+a+s*o,p=0;p<l;p++)d.push(ms(t,m+p*u,h,r));return{axes:h,instances:d}}ts.prototype.setText=function(t){this.text=t},ts.prototype.contextChecks={latinWordCheck:e,arabicWordCheck:Ma,arabicSentenceCheck:t},ts.prototype.registerFeatures=function(e,t){var r=this,t=t.filter(function(t){return r.query.supports({script:e,tag:t})});this.featuresTags.hasOwnProperty(e)?this.featuresTags[e]=this.featuresTags[e].concat(t):this.featuresTags[e]=t},ts.prototype.applyFeatures=function(t,e){var r=this;if(!t)throw new Error("No valid font was provided to apply features");this.query||(this.query=new Ia(t));for(var i=0;i<e.length;i++){var n=e[i];if(!r.query.supports({script:n.script}))continue;r.registerFeatures(n.script,n.tags)}},ts.prototype.registerModifier=function(t,e,r){this.tokenizer.registerModifier(t,e,r)},ts.prototype.checkContextReady=function(t){return!!this.tokenizer.getContext(t)},ts.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(as.call(this),ss.call(this)),this.checkContextReady("latinWord")&&os.call(this),this.checkContextReady("arabicSentence")&&is.call(this)},ts.prototype.processText=function(t){this.text&&this.text===t||(this.setText(t),rs.call(this),this.applyFeaturesToContexts())},ts.prototype.getBidiText=function(t){return this.processText(t),this.tokenizer.getText()},ts.prototype.getTextGlyphs=function(t){var e=this;this.processText(t);for(var r=[],i=0;i<this.tokenizer.tokens.length;i++){var n=e.tokenizer.tokens[i];if(n.state.deleted)continue;var n=n.activeState.value;r.push(Array.isArray(n)?n[0]:n)}return r},ls.prototype.hasChar=function(t){return null!==this.encoding.charToGlyphIndex(t)},ls.prototype.charToGlyphIndex=function(t){return this.encoding.charToGlyphIndex(t)},ls.prototype.charToGlyph=function(t){var t=this.charToGlyphIndex(t),e,e;return e=(e=this.glyphs.get(t))||this.glyphs.get(0)},ls.prototype.updateFeatures=function(e){return this.defaultRenderOptions.features.map(function(t){return"latn"===t.script?{script:"latn",tags:t.tags.filter(function(t){return e[t]})}:t})},ls.prototype.stringToGlyphs=function(t,e){var r=this,i=new ts,n;i.registerModifier("glyphIndex",null,function(t){return r.charToGlyphIndex(t.char)});var e=e?this.updateFeatures(e.features):this.defaultRenderOptions.features;i.applyFeatures(this,e);for(var a=i.getTextGlyphs(t),s=a.length,o=new Array(s),l=this.glyphs.get(0),u=0;u<s;u+=1)o[u]=r.glyphs.get(a[u])||l;return o},ls.prototype.nameToGlyphIndex=function(t){return this.glyphNames.nameToGlyphIndex(t)},ls.prototype.nameToGlyph=function(t){var t=this.nameToGlyphIndex(t),e,e;return e=(e=this.glyphs.get(t))||this.glyphs.get(0)},ls.prototype.glyphIndexToName=function(t){if(!this.glyphNames.glyphIndexToName)return"";return this.glyphNames.glyphIndexToName(t)},ls.prototype.getKerningValue=function(t,e){t=t.index||t,e=e.index||e;var r=this.position.defaultKerningTables;if(r)return this.position.getKerningValue(r,t,e);return this.kerningPairs[t+","+e]||0},ls.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},ls.prototype.forEachGlyph=function(t,e,r,i,n,a){var s=this;e=void 0!==e?e:0,r=void 0!==r?r:0,n=n||this.defaultRenderOptions;var o=1/this.unitsPerEm*(i=void 0!==i?i:72),l=this.stringToGlyphs(t,n),u,t,u;n.kerning&&(t=n.script||this.position.getDefaultScriptName(),u=this.position.getKerningTables(t,n.language));for(var h=0;h<l.length;h+=1){var c=l[h],d;a.call(s,c,e,r,i,n),c.advanceWidth&&(e+=c.advanceWidth*o),n.kerning&&h<l.length-1&&(e+=(u?s.position.getKerningValue(u,c.index,l[h+1].index):s.getKerningValue(c,l[h+1]))*o),n.letterSpacing?e+=n.letterSpacing*i:n.tracking&&(e+=n.tracking/1e3*i)}return e},ls.prototype.getPath=function(t,e,r,i,n){var a=new L;return this.forEachGlyph(t,e,r,i,n,function(t,e,r,i){var i=t.getPath(e,r,i,n,this);a.extend(i)}),a},ls.prototype.getPaths=function(t,e,r,i,n){var a=[];return this.forEachGlyph(t,e,r,i,n,function(t,e,r,i){var i=t.getPath(e,r,i,n,this);a.push(i)}),a},ls.prototype.getAdvanceWidth=function(t,e,r){return this.forEachGlyph(t,0,0,e,r,function(){})},ls.prototype.draw=function(t,e,r,i,n,a){this.getPath(e,r,i,n,a).draw(t)},ls.prototype.drawPoints=function(n,t,e,r,i,a){this.forEachGlyph(t,e,r,i,a,function(t,e,r,i){t.drawPoints(n,e,r,i)})},ls.prototype.drawMetrics=function(n,t,e,r,i,a){this.forEachGlyph(t,e,r,i,a,function(t,e,r,i){t.drawMetrics(n,e,r,i)})},ls.prototype.getEnglishName=function(t){var t=this.names[t];if(t)return t.en},ls.prototype.validate=function(){var e=this;function t(t,e){}function r(t){var t=e.getEnglishName(t);t&&t.trim().length}r("fontFamily"),r("weightName"),r("manufacturer"),r("copyright"),r("version"),this.unitsPerEm},ls.prototype.toTables=function(){return Er.fontToTable(this)},ls.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},ls.prototype.toArrayBuffer=function(){for(var t,e=this.toTables().encode(),r=new ArrayBuffer(e.length),i=new Uint8Array(r),n=0;n<e.length;n++)i[n]=e[n];return r},ls.prototype.download=function(t){var e=this.getEnglishName("fontFamily"),r=this.getEnglishName("fontSubfamily");t=t||e.replace(/\s/g,"")+"-"+r+".otf";var e=this.toArrayBuffer(),r,i,r,i,i,e;_r()?(window.URL=window.URL||window.webkitURL,window.URL?(r=new DataView(e),i=new Blob([r],{type:"font/opentype"}),(r=document.createElement("a")).href=window.URL.createObjectURL(i),r.download=t,(i=document.createEvent("MouseEvents")).initEvent("click",!0,!1),r.dispatchEvent(i)):console.warn("Font file could not be downloaded. Try using a different browser.")):(i=Ms("fs"),e=Gr(e),i.writeFileSync(t,e))},ls.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},ls.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},ls.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var fs={make:ps,parse:gs},Ss=new Array(10);function bs(t,e){var t=new pt(t,e=e||0),e=t.parseVersion(1);return N.argument(1===e||1.1===e,"Unsupported GPOS table version "+e),1===e?{version:e,scripts:t.parseScriptList(),features:t.parseFeatureList(),lookups:t.parseLookupList(Ss)}:{version:e,scripts:t.parseScriptList(),features:t.parseFeatureList(),lookups:t.parseLookupList(Ss),variations:t.parseFeatureVariationsList()}}Ss[1]=function t(){var e=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{posFormat:1,coverage:this.parsePointer(pt.coverage),value:this.parseValueRecord()};if(2===r)return{posFormat:2,coverage:this.parsePointer(pt.coverage),values:this.parseValueRecordList()};N.assert(!1,"0x"+e.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},Ss[2]=function t(){var e=this.offset+this.relativeOffset,r=this.parseUShort();N.assert(1===r||2===r,"0x"+e.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var i=this.parsePointer(pt.coverage),n=this.parseUShort(),a=this.parseUShort();if(1===r)return{posFormat:r,coverage:i,valueFormat1:n,valueFormat2:a,pairSets:this.parseList(pt.pointer(pt.list(function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(n),value2:this.parseValueRecord(a)}})))};if(2===r){var s=this.parsePointer(pt.classDef),o=this.parsePointer(pt.classDef),l=this.parseUShort(),e=this.parseUShort();return{posFormat:r,coverage:i,valueFormat1:n,valueFormat2:a,classDef1:s,classDef2:o,class1Count:l,class2Count:e,classRecords:this.parseList(l,pt.list(e,function(){return{value1:this.parseValueRecord(n),value2:this.parseValueRecord(a)}}))}}},Ss[3]=function t(){return{error:"GPOS Lookup 3 not supported"}},Ss[4]=function t(){return{error:"GPOS Lookup 4 not supported"}},Ss[5]=function t(){return{error:"GPOS Lookup 5 not supported"}},Ss[6]=function t(){return{error:"GPOS Lookup 6 not supported"}},Ss[7]=function t(){return{error:"GPOS Lookup 7 not supported"}},Ss[8]=function t(){return{error:"GPOS Lookup 8 not supported"}},Ss[9]=function t(){return{error:"GPOS Lookup 9 not supported"}};var ys=new Array(10);function vs(t){return new it.Table("GPOS",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new it.ScriptList(t.scripts)},{name:"features",type:"TABLE",value:new it.FeatureList(t.features)},{name:"lookups",type:"TABLE",value:new it.LookupList(t.lookups,ys)}])}var ws={parse:bs,make:vs};function Cs(t){var e={};t.skip("uShort");var r=t.parseUShort();N.argument(0===r,"Unsupported kern sub-table version."),t.skip("uShort",2);var i=t.parseUShort();t.skip("uShort",3);for(var n=0;n<i;n+=1){var a=t.parseUShort(),s=t.parseUShort(),o=t.parseShort();e[a+","+s]=o}return e}function Ts(t){var e={},r;t.skip("uShort"),1<t.parseULong()&&console.warn("Only the first kern subtable is supported."),t.skip("uLong");var i,n=255&t.parseUShort();if(t.skip("uShort"),0==n){var a=t.parseUShort();t.skip("uShort",3);for(var s=0;s<a;s+=1){var o=t.parseUShort(),l=t.parseUShort(),u=t.parseShort();e[o+","+l]=u}}return e}function Ps(t,e){var t=new ft.Parser(t,e),e=t.parseUShort();if(0===e)return Cs(t);if(1===e)return Ts(t);throw new Error("Unsupported kern table version ("+e+").")}var Is={parse:Ps};function As(t,e,r,i){for(var n=new ft.Parser(t,e),a=i?n.parseUShort:n.parseULong,s=[],o=0;o<r+1;o+=1){var l=a.call(n);i&&(l*=2),s.push(l)}return s}var xs={parse:As};function Ds(t,r){var e;Ms("fs").readFile(t,function(t,e){if(t)return r(t.message);r(null,Vr(e))})}function Bs(t,e){var r=new XMLHttpRequest;r.open("get",t,!0),r.responseType="arraybuffer",r.onload=function(){return r.response?e(null,r.response):e("Font could not be loaded: "+r.statusText)},r.onerror=function(){e("Font could not be loaded")},r.send()}function Es(t,e){for(var r=[],i=12,n=0;n<e;n+=1){var a=ft.getTag(t,i),s=ft.getULong(t,i+4),o=ft.getULong(t,i+8),l=ft.getULong(t,i+12);r.push({tag:a,checksum:s,offset:o,length:l,compression:!1}),i+=16}return r}function ks(t,e){for(var r=[],i=44,n=0;n<e;n+=1){var a=ft.getTag(t,i),s=ft.getULong(t,i+4),o=ft.getULong(t,i+8),l=ft.getULong(t,i+12),u=void 0,u;r.push({tag:a,offset:s,compression:u=o<l&&"WOFF",compressedLength:o,length:l}),i+=20}return r}function Ns(t,e){if("WOFF"===e.compression){var r=new Uint8Array(t.buffer,e.offset+2,e.compressedLength-2),i=new Uint8Array(e.length),n;if(x(r,i),i.byteLength!==e.length)throw new Error("Decompression error: "+e.tag+" decompressed length doesn't match recorded length");return{data:new DataView(i.buffer,0),offset:0}}return{data:t,offset:e.offset}}function Fs(t,e){var r,i;e=null==e?{}:e;var n=new ls({empty:!0}),a=new DataView(t,0),s,o=[],t=ft.getTag(a,0),l,u,h,c,d,m,p,g,f,S,b;if(t===String.fromCharCode(0,1,0,0)||"true"===t||"typ1"===t)n.outlinesFormat="truetype",o=Es(a,s=ft.getUShort(a,4));else if("OTTO"===t)n.outlinesFormat="cff",o=Es(a,s=ft.getUShort(a,4));else{if("wOFF"!==t)throw new Error("Unsupported OpenType signature "+t);var y=ft.getTag(a,4);if(y===String.fromCharCode(0,1,0,0))n.outlinesFormat="truetype";else{if("OTTO"!==y)throw new Error("Unsupported OpenType flavor "+t);n.outlinesFormat="cff"}o=ks(a,s=ft.getUShort(a,12))}for(var v=0;v<s;v+=1){var w=o[v],C=void 0;switch(w.tag){case"cmap":C=Ns(a,w),n.tables.cmap=Tt.parse(C.data,C.offset),n.encoding=new Bt(n.tables.cmap);break;case"cvt ":C=Ns(a,w),b=new ft.Parser(C.data,C.offset),n.tables.cvt=b.parseShortList(w.length/2);break;case"fvar":u=w;break;case"fpgm":C=Ns(a,w),b=new ft.Parser(C.data,C.offset),n.tables.fpgm=b.parseByteList(w.length);break;case"head":C=Ns(a,w),n.tables.head=Be.parse(C.data,C.offset),n.unitsPerEm=n.tables.head.unitsPerEm,r=n.tables.head.indexToLocFormat;break;case"hhea":C=Ns(a,w),n.tables.hhea=Ne.parse(C.data,C.offset),n.ascender=n.tables.hhea.ascender,n.descender=n.tables.hhea.descender,n.numberOfHMetrics=n.tables.hhea.numberOfHMetrics;break;case"hmtx":m=w;break;case"ltag":C=Ns(a,w),i=Ve.parse(C.data,C.offset);break;case"maxp":C=Ns(a,w),n.tables.maxp=je.parse(C.data,C.offset),n.numGlyphs=n.tables.maxp.numGlyphs;break;case"name":f=w;break;case"OS/2":C=Ns(a,w),n.tables.os2=hr.parse(C.data,C.offset);break;case"post":C=Ns(a,w),n.tables.post=mr.parse(C.data,C.offset),n.glyphNames=new kt(n.tables.post);break;case"prep":C=Ns(a,w),b=new ft.Parser(C.data,C.offset),n.tables.prep=b.parseByteList(w.length);break;case"glyf":h=w;break;case"loca":g=w;break;case"CFF ":l=w;break;case"kern":p=w;break;case"GPOS":c=w;break;case"GSUB":d=w;break;case"meta":S=w;break}}var y=Ns(a,f);if(n.tables.name=ar.parse(y.data,y.offset,i),n.names=n.tables.name,h&&g){var t=0===r,y=Ns(a,g),y=xs.parse(y.data,y.offset,n.numGlyphs,t),t=Ns(a,h);n.glyphs=Zr.parse(t.data,t.offset,y,n,e)}else{if(!l)throw new Error("Font doesn't contain TrueType or CFF outlines.");var T=Ns(a,l);Ae.parse(T.data,T.offset,n,e)}var T=Ns(a,m),e,P,P,I,I;return Oe.parse(n,T.data,T.offset,n.numberOfHMetrics,n.numGlyphs,n.glyphs,e),Rt(n,e),p?(e=Ns(a,p),n.kerningPairs=Is.parse(e.data,e.offset)):n.kerningPairs={},c&&(P=Ns(a,c),n.tables.gpos=ws.parse(P.data,P.offset),n.position.init()),d&&(P=Ns(a,d),n.tables.gsub=yr.parse(P.data,P.offset)),u&&(I=Ns(a,u),n.tables.fvar=fs.parse(I.data,I.offset,n.names)),S&&(I=Ns(a,S),n.tables.meta=Cr.parse(I.data,I.offset),n.metas=n.tables.meta),n}function Rs(t,i,n){var e,r;("undefined"==typeof window?Ds:Bs)(t,function(t,e){if(t)return i(t);var r;try{r=Fs(e,n)}catch(t){return i(t,null)}return i(null,r)})}function Ls(t,e){var r,i;return Fs(Vr(Ms("fs").readFileSync(t)),e)}v.Font=ls,v.Glyph=Ht,v.Path=L,v.BoundingBox=B,v._parse=ft,v.parse=Fs,v.load=Rs,v.loadSync=Ls,Object.defineProperty(v,"__esModule",{value:!0})}(Ae.a.Opentype={}),function(t){"use strict";function r(t){return parseInt(t)===t}function i(t){if(!r(t.length))return 0;for(var e=0;e<t.length;e++)if(!r(t[e])||t[e]<0||255<t[e])return 0;return 1}function a(t,e){if(t.buffer&&"Uint8Array"===t.name)return t=e?t.slice?t.slice():Array.prototype.slice.call(t):t;if(Array.isArray(t)){if(!i(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(r(t.length)&&i(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function l(t){return new Uint8Array(t)}function s(t,e,r,i,n){null==i&&null==n||(t=t.slice?t.slice(i,n):Array.prototype.slice.call(t,i,n)),e.set(t,r)}var e={toBytes:n,fromBytes:o};function n(t){var e=[],r=0;t=encodeURI(t);while(r<t.length){var i=t.charCodeAt(r++);37===i?(e.push(parseInt(t.substr(r,2),16)),r+=2):e.push(i)}return a(e)}function o(t){var e=[],r=0;while(r<t.length){var i=t[r];i<128?(e.push(String.fromCharCode(i)),r++):191<i&&i<224?(e.push(String.fromCharCode((31&i)<<6|63&t[r+1])),r+=2):(e.push(String.fromCharCode((15&i)<<12|(63&t[r+1])<<6|63&t[r+2])),r+=3)}return e.join("")}var u=(h="0123456789abcdef",{toBytes:c,fromBytes:d}),h;function c(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e}function d(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e.push(h[(240&i)>>4]+h[15&i])}return e.join("")}var m={16:10,24:12,32:14},p=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],g=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],f=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],S=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],b=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],y=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],v=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],w=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],C=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],T=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],P=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],I=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],A=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],x=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],D=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function B(t){for(var e=[],r=0;r<t.length;r+=4)e.push(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}var E=function(t){if(!(this instanceof E))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:a(t,!0)}),this._prepare()};E.prototype._prepare=function(){var t=m[this.key.length];if(null==t)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var e=0;e<=t;e++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);for(var r=4*(t+1),i=this.key.length/4,n=B(this.key),a,e=0;e<i;e++)this._Ke[a=e>>2][e%4]=n[e],this._Kd[t-a][e%4]=n[e];var s=0,o=i,l;while(o<r){if(l=n[i-1],n[0]^=g[l>>16&255]<<24^g[l>>8&255]<<16^g[255&l]<<8^g[l>>24&255]^p[s]<<24,s+=1,8!=i)for(var e=1;e<i;e++)n[e]^=n[e-1];else{for(var e=1;e<i/2;e++)n[e]^=n[e-1];l=n[i/2-1],n[i/2]^=g[255&l]^g[l>>8&255]<<8^g[l>>16&255]<<16^g[l>>24&255]<<24;for(var e=i/2+1;e<i;e++)n[e]^=n[e-1]}var e=0,u,h;while(e<i&&o<r)this._Ke[u=o>>2][h=o%4]=n[e],this._Kd[t-u][h]=n[e++],o++}for(var u=1;u<t;u++)for(var h=0;h<4;h++)l=this._Kd[u][h],this._Kd[u][h]=I[l>>24&255]^A[l>>16&255]^x[l>>8&255]^D[255&l]},E.prototype.encrypt=function(t){if(16!=t.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var e=this._Ke.length-1,r=[0,0,0,0],i=B(t),n=0;n<4;n++)i[n]^=this._Ke[0][n];for(var a=1;a<e;a++){for(var n=0;n<4;n++)r[n]=S[i[n]>>24&255]^b[i[(n+1)%4]>>16&255]^y[i[(n+2)%4]>>8&255]^v[255&i[(n+3)%4]]^this._Ke[a][n];i=r.slice()}for(var s=l(16),o,n=0;n<4;n++)o=this._Ke[e][n],s[4*n]=255&(g[i[n]>>24&255]^o>>24),s[4*n+1]=255&(g[i[(n+1)%4]>>16&255]^o>>16),s[4*n+2]=255&(g[i[(n+2)%4]>>8&255]^o>>8),s[4*n+3]=255&(g[255&i[(n+3)%4]]^o);return s},E.prototype.decrypt=function(t){if(16!=t.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var e=this._Kd.length-1,r=[0,0,0,0],i=B(t),n=0;n<4;n++)i[n]^=this._Kd[0][n];for(var a=1;a<e;a++){for(var n=0;n<4;n++)r[n]=w[i[n]>>24&255]^C[i[(n+3)%4]>>16&255]^T[i[(n+2)%4]>>8&255]^P[255&i[(n+1)%4]]^this._Kd[a][n];i=r.slice()}for(var s=l(16),o,n=0;n<4;n++)o=this._Kd[e][n],s[4*n]=255&(f[i[n]>>24&255]^o>>24),s[4*n+1]=255&(f[i[(n+3)%4]>>16&255]^o>>16),s[4*n+2]=255&(f[i[(n+2)%4]>>8&255]^o>>8),s[4*n+3]=255&(f[255&i[(n+1)%4]]^o);return s};var k=function(t){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new E(t)};k.prototype.encrypt=function(t){if((t=a(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=l(t.length),r=l(16),i=0;i<t.length;i+=16)s(t,r,0,i,i+16),s(r=this._aes.encrypt(r),e,i);return e},k.prototype.decrypt=function(t){if((t=a(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=l(t.length),r=l(16),i=0;i<t.length;i+=16)s(t,r,0,i,i+16),s(r=this._aes.decrypt(r),e,i);return e};var N=function(t,e){if(!(this instanceof N))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=l(16);this._lastCipherblock=a(e,!0),this._aes=new E(t)};N.prototype.encrypt=function(t){if((t=a(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=l(t.length),r=l(16),i=0;i<t.length;i+=16){s(t,r,0,i,i+16);for(var n=0;n<16;n++)r[n]^=this._lastCipherblock[n];this._lastCipherblock=this._aes.encrypt(r),s(this._lastCipherblock,e,i)}return e},N.prototype.decrypt=function(t){if((t=a(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=l(t.length),r=l(16),i=0;i<t.length;i+=16){s(t,r,0,i,i+16);for(var r=this._aes.decrypt(r),n=0;n<16;n++)e[i+n]=r[n]^this._lastCipherblock[n];s(t,this._lastCipherblock,0,i,i+16)}return e};var F=function(t,e,r){if(!(this instanceof F))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 size)")}else e=l(16);this.segmentSize=r=r||1,this._shiftRegister=a(e,!0),this._aes=new E(t)};F.prototype.encrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var e=a(t,!0),r,i=0;i<e.length;i+=this.segmentSize){for(var r=this._aes.encrypt(this._shiftRegister),n=0;n<this.segmentSize;n++)e[i+n]^=r[n];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(e,this._shiftRegister,16-this.segmentSize,i,i+this.segmentSize)}return e},F.prototype.decrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var e=a(t,!0),r,i=0;i<e.length;i+=this.segmentSize){for(var r=this._aes.encrypt(this._shiftRegister),n=0;n<this.segmentSize;n++)e[i+n]^=r[n];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(t,this._shiftRegister,16-this.segmentSize,i,i+this.segmentSize)}return e};var R=function(t,e){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=l(16);this._lastPrecipher=a(e,!0),this._lastPrecipherIndex=16,this._aes=new E(t)};R.prototype.encrypt=function(t){for(var e=a(t,!0),r=0;r<e.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),e[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return e},R.prototype.decrypt=R.prototype.encrypt;var L=function(t){if(!(this instanceof L))throw Error("Counter must be instanitated with `new`");"number"==typeof(t=0!==t&&!t?1:t)?(this._counter=l(16),this.setValue(t)):this.setBytes(t)};L.prototype.setValue=function(t){if("number"!=typeof t||parseInt(t)!=t)throw new Error("invalid counter value (must be an integer)");if(t>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var e=15;0<=e;--e)this._counter[e]=t%256,t=parseInt(t/256)},L.prototype.setBytes=function(t){if(16!=(t=a(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},L.prototype.increment=function(){for(var t=15;0<=t;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var M=function(t,e){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof L||(e=new L(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new E(t)};function O(t){var e=16-(t=a(t,!0)).length%16,r=l(t.length+e);s(t,r);for(var i=t.length;i<r.length;i++)r[i]=e;return r}function H(t){if((t=a(t,!0)).length<16)throw new Error("PKCS#7 invalid length");var e=t[t.length-1];if(16<e)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,i=0;i<e;i++)if(t[r+i]!==e)throw new Error("PKCS#7 invalid padding byte");var n=l(r);return s(t,n,0,0,r),n}M.prototype.encrypt=function(t){for(var e=a(t,!0),r=0;r<e.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),e[r]^=this._remainingCounter[this._remainingCounterIndex++];return e},M.prototype.decrypt=M.prototype.encrypt;var _={AES:E,Counter:L,ModeOfOperation:{ecb:k,cbc:N,cfb:F,ofb:R,ctr:M},utils:{hex:u,utf8:e},padding:{pkcs7:{pad:O,strip:H}},_arrayTest:{coerceArray:a,createArray:l,copyArray:s}};"object"==typeof exports&&"undefined"!=typeof module?module.exports=_:"function"==typeof define&&define.amd?define([],function(){return _}):(t.aesjs&&(_._aesjs=t.aesjs),t.aesjs=_),Ae.a.aesjs=_}(this),"object"==typeof module&&(module.exports=Y),t=this,e=function(){return n={},i.m=r=[function(t,tt,et){"use strict";!function(t){function e(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function r(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function n(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(t=null===t?new c(e):t).length=e,t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return o(this,t)}return i(this,t,e,r)}function i(t,e,r,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,r,i):"string"==typeof e?l(t,e,r):d(t,e)}function a(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,e,r,i){return a(e),!(e<=0)&&void 0!==r?"string"==typeof i?n(t,e).fill(r,i):n(t,e).fill(r):n(t,e)}function o(t,e){if(a(e),t=n(t,e<0?0:0|m(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function l(t,e,r){if(!c.isEncoding(r="string"!=typeof r||""===r?"utf8":r))throw new TypeError('"encoding" must be a valid string encoding');var i=0|g(e,r),r=(t=n(t,i)).write(e,r);return t=r!==i?t.slice(0,r):t}function u(t,e){var r=e.length<0?0:0|m(e.length);t=n(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function h(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,r):new Uint8Array(e,r,i),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=u(t,e),t}function d(t,e){if(c.isBuffer(e)){var r=0|m(e.length);return 0===(t=n(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||J(e.length)?n(t,0):u(t,e);if("Buffer"===e.type&&K(e.data))return u(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function p(t){return c.alloc(+(t=+t!=t?0:t))}function g(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;var r=(t="string"!=typeof t?""+t:t).length;if(0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(t).length;default:if(i)return j(t).length;e=(""+e).toLowerCase(),i=!0}}function f(t,e,r){var i=!1;if((e=void 0===e||e<0?0:e)>this.length)return"";if((r=void 0===r||r>this.length?this.length:r)<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return k(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return B(this,e,r);case"latin1":case"binary":return E(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function S(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function b(t,e,r,i,n){if(0===t.length)return-1;if("string"==typeof r?(i=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,(r=(r=isNaN(r)?n?0:t.length-1:r)<0?t.length+r:r)>=t.length){if(n)return-1;r=t.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:y(t,e,r,i,n);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(n?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(t,e,r):y(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,i,n){function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,o=t.length,l=e.length,u;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o/=s=2,l/=2,r/=2}if(n)for(var h=-1,u=r;u<o;u++)if(a(t,u)===a(e,-1===h?0:u-h)){if(u-(h=-1===h?u:h)+1===l)return h*s}else-1!==h&&(u-=u-h),h=-1;else for(u=r=o<r+l?o-l:r;0<=u;u--){for(var c=!0,d=0;d<l;d++)if(a(t,u+d)!==a(e,d)){c=!1;break}if(c)return u}return-1}function v(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?n<(i=Number(i))&&(i=n):i=n;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");n/2<i&&(i=n/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function w(t,e,r,i){return X(j(e,t.length-r),t,r,i)}function C(t,e,r,i){return X(W(e),t,r,i)}function T(t,e,r,i){return C(t,e,r,i)}function P(t,e,r,i){return X(z(e),t,r,i)}function I(t,e,r,i){return X(q(e,t.length-r),t,r,i)}function A(t,e,r){return Y.fromByteArray(0===e&&r===t.length?t:t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var a=t[n],s=null,o=239<a?4:223<a?3:191<a?2:1,l,u,h,c;if(n+o<=r)switch(o){case 1:a<128&&(s=a);break;case 2:128==(192&(l=t[n+1]))&&(127<(c=(31&a)<<6|63&l)&&(s=c));break;case 3:l=t[n+1],u=t[n+2],128==(192&l)&&128==(192&u)&&(2047<(c=(15&a)<<12|(63&l)<<6|63&u)&&(c<55296||57343<c)&&(s=c));break;case 4:l=t[n+1],u=t[n+2],h=t[n+3],128==(192&l)&&128==(192&u)&&128==(192&h)&&(65535<(c=(15&a)<<18|(63&l)<<12|(63&u)<<6|63&h)&&c<1114112&&(s=c))}null===s?(s=65533,o=1):65535<s&&(s-=65536,i.push(s>>>10&1023|55296),s=56320|1023&s),i.push(s),n+=o}return D(i)}function D(t){var e=t.length;if(e<=Z)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=Z));return r}function B(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(127&t[n]);return i}function E(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function k(t,e,r){var i=t.length;(!r||r<0||i<r)&&(r=i);for(var n="",a=e=!e||e<0?0:e;a<r;++a)n+=U(t[a]);return n}function N(t,e,r){for(var i=t.slice(e,r),n="",a=0;a<i.length;a+=2)n+=String.fromCharCode(i[a]+256*i[a+1]);return n}function F(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(r<t+e)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,r,i,n,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n<e||e<a)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}function L(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,a=Math.min(t.length-r,2);n<a;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>8*(i?n:1-n)}function M(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,a=Math.min(t.length-r,4);n<a;++n)t[r+n]=e>>>8*(i?n:3-n)&255}function O(t,e,r,i){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function H(t,e,r,i,n){return n||O(t,e,r,4,34028234663852886e22,-34028234663852886e22),Q.write(t,e,r,i,23,4),r+4}function _(t,e,r,i,n){return n||O(t,e,r,8,17976931348623157e292,-17976931348623157e292),Q.write(t,e,r,i,52,8),r+8}function V(t){if((t=G(t).replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function G(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function j(t,e){e=e||1/0;for(var r,i=t.length,n=null,a=[],s=0;s<i;++s){if(55295<(r=t.charCodeAt(s))&&r<57344){if(!n){if(56319<r){-1<(e-=3)&&a.push(239,191,189);continue}if(s+1===i){-1<(e-=3)&&a.push(239,191,189);continue}n=r;continue}if(r<56320){-1<(e-=3)&&a.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&-1<(e-=3)&&a.push(239,191,189);if(n=null,r<128){if(--e<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function W(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function q(t,e){for(var r,i,n,a=[],s=0;s<t.length&&!((e-=2)<0);++s)i=(r=t.charCodeAt(s))>>8,a.push(n=r%256),a.push(i);return a}function z(t){return Y.toByteArray(V(t))}function X(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function J(t){return t!=t}var Y=et(5),Q=et(6),K=et(7);tt.Buffer=c,tt.SlowBuffer=p,tt.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:e(),tt.kMaxLength=r(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return i(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return s(null,t,e,r)},c.allocUnsafe=function(t){return o(null,t)},c.allocUnsafeSlow=function(t){return o(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,i=e.length,n=0,a=Math.min(r,i);n<a;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:i<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!K(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(r=e=0;r<t.length;++r)e+=t[r].length;for(var i=c.allocUnsafe(e),n=0,r=0;r<t.length;++r){var a=t[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,n),n+=a.length}return i},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)S(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)S(this,e,e+3),S(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)S(this,e,e+7),S(this,e+1,e+6),S(this,e+2,e+5),S(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?x(this,0,t):f.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",e=tt.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,i,n){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),(e=void 0===e?0:e)<0||r>t.length||i<0||n>this.length)throw new RangeError("out of range index");if(n<=i&&r<=e)return 0;if(n<=i)return-1;if(r<=e)return 1;if(this===t)return 0;for(var a=(n>>>=0)-(i>>>=0),s=(r>>>=0)-(e>>>=0),o=Math.min(a,s),l=this.slice(i,n),u=t.slice(e,r),h=0;h<o;++h)if(l[h]!==u[h]){a=l[h],s=u[h];break}return a<s?-1:s<a?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return b(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return b(this,t,e,r,!1)},c.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var n=this.length-e;if((void 0===r||n<r)&&(r=n),0<t.length&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i=i||"utf8";for(var a=!1;;)switch(i){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return C(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return P(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;c.prototype.slice=function(t,e){var r=this.length,i;if((t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,e)).__proto__=c.prototype;else for(var n=e-t,i=new c(n,void 0),a=0;a<n;++a)i[a]=this[a+t];return i},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var i=this[t],n=1,a=0;++a<e&&(n*=256);)i+=this[t+a]*n;return i},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var i=this[t+--e],n=1;0<e&&(n*=256);)i+=this[t+--e]*n;return i},c.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var i=this[t],n=1,a=0;++a<e&&(n*=256);)i+=this[t+a]*n;return(n*=128)<=i&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var i=e,n=1,a=this[t+--i];0<i&&(n*=256);)a+=this[t+--i]*n;return(n*=128)<=a&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var t=this[t]|this[t+1]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var t=this[t+1]|this[t]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),Q.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),Q.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),Q.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),Q.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,i){var n;t=+t,e|=0,r|=0,i||R(this,t,e,r,Math.pow(2,8*r)-1,0);var a=1,s=0;for(this[e]=255&t;++s<r&&(a*=256);)this[e+s]=t/a&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,i){var n;t=+t,e|=0,r|=0,i||R(this,t,e,r,Math.pow(2,8*r)-1,0);var a=r-1,s=1;for(this[e+a]=255&t;0<=--a&&(s*=256);)this[e+a]=t/s&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,i){var i;t=+t,e|=0,i||R(this,t,e,r,(i=Math.pow(2,8*r-1))-1,-i);var n=0,a=1,s=0;for(this[e]=255&t;++n<r&&(a*=256);)t<0&&0===s&&0!==this[e+n-1]&&(s=1),this[e+n]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,i){var i;t=+t,e|=0,i||R(this,t,e,r,(i=Math.pow(2,8*r-1))-1,-i);var n=r-1,a=1,s=0;for(this[e+n]=255&t;0<=--n&&(a*=256);)t<0&&0===s&&0!==this[e+n+1]&&(s=1),this[e+n]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&(t=t<0?255+t+1:t),e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return H(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return H(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return _(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return _(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,i){if(r=r||0,i||0===i||(i=this.length),e>=t.length&&(e=t.length),(i=0<i&&i<r?r:i)===r)return 0;if(0===t.length||0===this.length)return 0;if((e=e||0)<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length);var n,a=(i=t.length-e<i-r?t.length-e+r:i)-r;if(this===t&&r<e&&e<i)for(n=a-1;0<=n;--n)t[n+e]=this[n+r];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(n=0;n<a;++n)t[n+e]=this[n+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),e);return a},c.prototype.fill=function(t,e,r,i){if("string"==typeof t){var n;if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),1===t.length&&(n=t.charCodeAt(0))<256&&(t=n),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var a;if(e>>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(t=t||0))for(a=e;a<r;++a)this[a]=t;else for(var s=c.isBuffer(t)?t:j(new c(t,i).toString()),o=s.length,a=0;a<r-e;++a)this[a+e]=s[a%o];return this};var $=/[^+\/0-9A-Za-z-_]/g}.call(tt,et(4))},function(t,e,r){e.UINT32=r(8),e.UINT64=r(9)},function(t,e,r){t.exports={h32:r(3),h64:r(10)}},function(r,t,i){!function(o){function l(t){for(var e=[],r=0,i=t.length;r<i;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||57344<=n?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return new Uint8Array(e)}function t(){return 2==arguments.length?new t(arguments[1]).update(arguments[0]).digest():this instanceof t?void e.call(this,arguments[0]):new t(arguments[0])}function e(t){return this.seed=t instanceof u?t.clone():u(t),this.v1=this.seed.clone().add(h).add(c),this.v2=this.seed.clone().add(c),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(h),this.total_len=0,this.memsize=0,this.memory=null,this}var u=i(1).UINT32;u.prototype.xxh_update=function(t,e){var r,i,n=c._low,a=c._high,i=t*n,r=i>>>16;r+=e*n,r&=65535;var s=this._low+(65535&i),e=s>>>16,t=(e+=this._high+(65535&(r+=t*a)))<<16|65535&s,t,s,e,n,a;r=(i=(s=65535&(t=t<<13|t>>>19))*(n=h._low))>>>16,r+=(e=t>>>16)*n,r&=65535,r+=s*(a=h._high),this._low=65535&i,this._high=65535&r};var h=u("2654435761"),c=u("2246822519"),d=u("3266489917"),m=u("668265263"),p=u("374761393");t.prototype.init=e,t.prototype.update=function(t){var e,r="string"==typeof t;r&&(t=l(t),r=!1,e=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(e=!0,t=new Uint8Array(t));var i=0,n=t.length,a=i+n,n;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=r?"":new(e?Uint8Array:o)(16)),this.memsize+n<16)return r?this.memory+=t:e?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(0<this.memsize&&(r?this.memory+=t.slice(0,16-this.memsize):e?this.memory.set(t.subarray(0,16-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,16-this.memsize),n=0,r?(this.v1.xxh_update(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2)),this.v2.xxh_update(this.memory.charCodeAt((n+=4)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2)),this.v3.xxh_update(this.memory.charCodeAt((n+=4)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2)),this.v4.xxh_update(this.memory.charCodeAt((n+=4)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2))):(this.v1.xxh_update(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2]),this.v2.xxh_update(this.memory[(n+=4)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2]),this.v3.xxh_update(this.memory[(n+=4)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2]),this.v4.xxh_update(this.memory[(n+=4)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2])),i+=16-this.memsize,this.memsize=0,r&&(this.memory="")),i<=a-16){var s=a-16;do{r?(this.v1.xxh_update(t.charCodeAt(i+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2)),this.v2.xxh_update(t.charCodeAt((i+=4)+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2)),this.v3.xxh_update(t.charCodeAt((i+=4)+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2)),this.v4.xxh_update(t.charCodeAt((i+=4)+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2))):(this.v1.xxh_update(t[i+1]<<8|t[i],t[i+3]<<8|t[i+2]),this.v2.xxh_update(t[(i+=4)+1]<<8|t[i],t[i+3]<<8|t[i+2]),this.v3.xxh_update(t[(i+=4)+1]<<8|t[i],t[i+3]<<8|t[i+2]),this.v4.xxh_update(t[(i+=4)+1]<<8|t[i],t[i+3]<<8|t[i+2])),i+=4}while(i<=s)}return i<a&&(r?this.memory+=t.slice(i):e?this.memory.set(t.subarray(i,a),this.memsize):t.copy(this.memory,this.memsize,i,a),this.memsize=a-i),this},t.prototype.digest=function(){var t,e,r=this.memory,i="string"==typeof r,n=0,a=this.memsize,s=new u,t=16<=this.total_len?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(p);for(t.add(s.fromNumber(this.total_len));n<=a-4;)i?s.fromBits(r.charCodeAt(n+1)<<8|r.charCodeAt(n),r.charCodeAt(n+3)<<8|r.charCodeAt(n+2)):s.fromBits(r[n+1]<<8|r[n],r[n+3]<<8|r[n+2]),t.add(s.multiply(d)).rotl(17).multiply(m),n+=4;for(;n<a;)s.fromBits(i?r.charCodeAt(n++):r[n++],0),t.add(s.multiply(p)).rotl(11).multiply(h);return e=t.clone().shiftRight(15),t.xor(e).multiply(c),e=t.clone().shiftRight(13),t.xor(e).multiply(d),e=t.clone().shiftRight(16),t.xor(e),this.init(this.seed),t},r.exports=t}.call(t,i(0).Buffer)},function(t){var e,e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,e){"use strict";function l(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function r(t){return 3*t.length/4-l(t)}function i(t){for(var e,r,i,n,a,s=t.length,n=l(t),a=new d(3*s/4-n),r=0<n?s-4:s,o=0,e=0;e<r;e+=4)i=c[t.charCodeAt(e)]<<18|c[t.charCodeAt(e+1)]<<12|c[t.charCodeAt(e+2)]<<6|c[t.charCodeAt(e+3)],a[o++]=i>>16&255,a[o++]=i>>8&255,a[o++]=255&i;return 2===n?(i=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,a[o++]=255&i):1===n&&(i=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,a[o++]=i>>8&255,a[o++]=255&i),a}function s(t){return h[t>>18&63]+h[t>>12&63]+h[t>>6&63]+h[63&t]}function u(t,e,r){for(var i,n=[],a=e;a<r;a+=3)i=(t[a]<<16)+(t[a+1]<<8)+t[a+2],n.push(s(i));return n.join("")}function n(t){for(var e,r=t.length,i=r%3,n="",a=[],s=16383,o=0,l=r-i;o<l;o+=s)a.push(u(t,o,l<o+s?l:o+s));return 1==i?(e=t[r-1],n+=h[e>>2],n+=h[e<<4&63],n+="=="):2==i&&(e=(t[r-2]<<8)+t[r-1],n+=h[e>>10],n+=h[e>>4&63],n+=h[e<<2&63],n+="="),a.push(n),a.join("")}e.byteLength=r,e.toByteArray=i,e.fromByteArray=n;for(var h=[],c=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,m=a.length;o<m;++o)h[o]=a[o],c[a.charCodeAt(o)]=o;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,i,n){var a,s,o=8*n-i-1,l=(1<<o)-1,u=l>>1,h=-7,c=r?n-1:0,d=r?-1:1,r=t[e+c];for(c+=d,a=r&(1<<-h)-1,r>>=-h,h+=o;0<h;a=256*a+t[e+c],c+=d,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=i;0<h;s=256*s+t[e+c],c+=d,h-=8);if(0===a)a=1-u;else{if(a===l)return s?0/0:(r?-1:1)*(1/0);s+=Math.pow(2,i),a-=u}return(r?-1:1)*s*Math.pow(2,a-i)},e.write=function(t,e,r,i,n,a){var s,o,i,l=8*a-n-1,u=(1<<l)-1,h=u>>1,c=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:a-1,m=i?1:-1,a=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(i=Math.pow(2,-s))<1&&(s--,i*=2),2<=(e+=1<=s+h?c/i:c*Math.pow(2,1-h))*i&&(s++,i/=2),u<=s+h?(o=0,s=u):1<=s+h?(o=(e*i-1)*Math.pow(2,n),s+=h):(o=e*Math.pow(2,h-1)*Math.pow(2,n),s=0));8<=n;t[r+d]=255&o,d+=m,o/=256,n-=8);for(s=s<<n|o,l+=n;0<l;t[r+d]=255&s,d+=m,s/=256,l-=8);t[r+d-m]|=128*a}},function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},function(t,e){var r,e,i;function n(t,e){return this instanceof n?(this._low=0,this._high=0,this.remainder=null,void 0===e?s.call(this,t):"string"==typeof t?o.call(this,t,e):void a.call(this,t,e)):new n(t,e)}function a(t,e){return this._low=0|t,this._high=0|e,this}function s(t){return this._low=65535&t,this._high=t>>>16,this}function o(t,e){var e=parseInt(t,e||10);return this._low=65535&e,this._high=e>>>16,this}i=this,n(Math.pow(36,5)),n(Math.pow(16,7)),n(Math.pow(10,9)),n(Math.pow(2,30)),n(36),n(16),n(10),n(2),n.prototype.fromBits=a,n.prototype.fromNumber=s,n.prototype.fromString=o,n.prototype.toNumber=function(){return 65536*this._high+this._low},n.prototype.toString=function(t){return this.toNumber().toString(t||10)},n.prototype.add=function(t){var e=this._low+t._low,r=e>>>16;return r+=this._high+t._high,this._low=65535&e,this._high=65535&r,this},n.prototype.subtract=function(t){return this.add(t.clone().negate())},n.prototype.multiply=function(t){var t,e,r=this._high,i=this._low,n=t._high,a=t._low,e=i*a,t=e>>>16;return t+=r*a,t&=65535,t+=i*n,this._low=65535&e,this._high=65535&t,this},n.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new n(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new n(0),this._low=1,this._high=0,this;for(var e=t.clone(),r=-1;!this.lt(e);)e.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._low=0,this._high=0;0<=r;r--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),16<=r?this._high|=1<<r-16:this._low|=1<<r);return this},n.prototype.negate=function(){var t=(65535&~this._low)+1;return this._low=65535&t,this._high=~this._high+(t>>>16)&65535,this},n.prototype.equals=n.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},n.prototype.greaterThan=n.prototype.gt=function(t){return this._high>t._high||!(this._high<t._high)&&this._low>t._low},n.prototype.lessThan=n.prototype.lt=function(t){return this._high<t._high||!(this._high>t._high)&&this._low<t._low},n.prototype.or=function(t){return this._low|=t._low,this._high|=t._high,this},n.prototype.and=function(t){return this._low&=t._low,this._high&=t._high,this},n.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},n.prototype.xor=function(t){return this._low^=t._low,this._high^=t._high,this},n.prototype.shiftRight=n.prototype.shiftr=function(t){return 16<t?(this._low=this._high>>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},n.prototype.shiftLeft=n.prototype.shiftl=function(t,e){return 16<t?(this._high=this._low<<t-16,this._low=0,e||(this._high&=65535)):16==t?(this._high=this._low,this._low=0):(this._high=this._high<<t|this._low>>16-t,this._low=this._low<<t&65535,e||(this._high&=65535)),this},n.prototype.rotateLeft=n.prototype.rotl=function(t){var e=this._high<<16|this._low,e;return this._low=65535&(e=e<<t|e>>>32-t),this._high=e>>>16,this},n.prototype.rotateRight=n.prototype.rotr=function(t){var e=this._high<<16|this._low,e;return this._low=65535&(e=e>>>t|e<<32-t),this._high=e>>>16,this},n.prototype.clone=function(){return new n(this._low,this._high)},void 0===(e=function(){return n}.apply(e,r=[]))||(t.exports=e)},function(t,e){var r,e,i,o,a;function l(t,e,r,i){return this instanceof l?(this.remainder=null,"string"==typeof t?u.call(this,t,e):void 0===e?s.call(this,t):void n.apply(this,arguments)):new l(t,e,r,i)}function n(t,e,r,i){return void 0===r?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16):(this._a00=0|t,this._a16=0|e,this._a32=0|r,this._a48=0|i),this}function s(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function u(t,e){e=e||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var r=o[e]||new l(Math.pow(e,5)),i=0,n=t.length;i<n;i+=5){var a=Math.min(5,n-i),s=parseInt(t.slice(i,i+a),e);this.multiply(a<5?new l(Math.pow(e,a)):r).add(new l(s))}return this}i=this,o={16:l(Math.pow(16,5)),10:l(Math.pow(10,5)),2:l(Math.pow(2,5))},a={16:l(16),10:l(10),2:l(2)},l.prototype.fromBits=n,l.prototype.fromNumber=s,l.prototype.fromString=u,l.prototype.toNumber=function(){return 65536*this._a16+this._a00},l.prototype.toString=function(t){var e=a[t=t||10]||new l(t);if(!this.gt(e))return this.toNumber().toString(t);for(var r=this.clone(),i=new Array(64),n=63;0<=n&&(r.div(e),i[n]=r.remainder.toNumber().toString(t),r.gt(e));n--);return i[n-1]=r.toNumber().toString(t),i.join("")},l.prototype.add=function(t){var e=this._a00+t._a00,r=e>>>16,i=(r+=this._a16+t._a16)>>>16,n=(i+=this._a32+t._a32)>>>16;return n+=this._a48+t._a48,this._a00=65535&e,this._a16=65535&r,this._a32=65535&i,this._a48=65535&n,this},l.prototype.subtract=function(t){return this.add(t.clone().negate())},l.prototype.multiply=function(t){var e=this._a00,r=this._a16,i=this._a32,n=this._a48,a=t._a00,s=t._a16,o=t._a32,l,u=e*a,h=u>>>16,c=(h+=e*s)>>>16;h&=65535,c+=(h+=r*a)>>>16;var d=(c+=e*o)>>>16;return c&=65535,d+=(c+=r*s)>>>16,c&=65535,d+=(c+=i*a)>>>16,d+=e*t._a48,d&=65535,d+=r*o,d&=65535,d+=i*s,d&=65535,d+=n*a,this._a00=65535&u,this._a16=65535&h,this._a32=65535&c,this._a48=65535&d,this},l.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new l(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new l(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var e=t.clone(),r=-1;!this.lt(e);)e.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;0<=r;r--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),48<=r?this._a48|=1<<r-48:32<=r?this._a32|=1<<r-32:16<=r?this._a16|=1<<r-16:this._a00|=1<<r);return this},l.prototype.negate=function(){var t=(65535&~this._a00)+1;return this._a00=65535&t,t=(65535&~this._a16)+(t>>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},l.prototype.equals=l.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},l.prototype.greaterThan=l.prototype.gt=function(t){return this._a48>t._a48||!(this._a48<t._a48)&&(this._a32>t._a32||!(this._a32<t._a32)&&(this._a16>t._a16||!(this._a16<t._a16)&&this._a00>t._a00))},l.prototype.lessThan=l.prototype.lt=function(t){return this._a48<t._a48||!(this._a48>t._a48)&&(this._a32<t._a32||!(this._a32>t._a32)&&(this._a16<t._a16||!(this._a16>t._a16)&&this._a00<t._a00))},l.prototype.or=function(t){return this._a00|=t._a00,this._a16|=t._a16,this._a32|=t._a32,this._a48|=t._a48,this},l.prototype.and=function(t){return this._a00&=t._a00,this._a16&=t._a16,this._a32&=t._a32,this._a48&=t._a48,this},l.prototype.xor=function(t){return this._a00^=t._a00,this._a16^=t._a16,this._a32^=t._a32,this._a48^=t._a48,this},l.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},l.prototype.shiftRight=l.prototype.shiftr=function(t){return 48<=(t%=64)?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):32<=t?(this._a00=65535&(this._a32>>(t-=32)|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):16<=t?(this._a00=65535&(this._a16>>(t-=16)|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},l.prototype.shiftLeft=l.prototype.shiftl=function(t,e){return 48<=(t%=64)?(this._a48=this._a00<<t-48,this._a32=0,this._a16=0,this._a00=0):32<=t?(this._a48=this._a16<<(t-=32)|this._a00>>16-t,this._a32=this._a00<<t&65535,this._a16=0,this._a00=0):16<=t?(this._a48=this._a32<<(t-=16)|this._a16>>16-t,this._a32=65535&(this._a16<<t|this._a00>>16-t),this._a16=this._a00<<t&65535,this._a00=0):(this._a48=this._a48<<t|this._a32>>16-t,this._a32=65535&(this._a32<<t|this._a16>>16-t),this._a16=65535&(this._a16<<t|this._a00>>16-t),this._a00=this._a00<<t&65535),e||(this._a48&=65535),this},l.prototype.rotateLeft=l.prototype.rotl=function(t){if(0==(t%=64))return this;if(32<=t){var e=this._a00;if(this._a00=this._a32,this._a32=e,e=this._a48,this._a48=this._a16,this._a16=e,32==t)return this;t-=32}var r=this._a48<<16|this._a32,i=this._a16<<16|this._a00,e=r<<t|i>>>32-t,t=i<<t|r>>>32-t;return this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16,this},l.prototype.rotateRight=l.prototype.rotr=function(t){if(0==(t%=64))return this;if(32<=t){var e=this._a00;if(this._a00=this._a32,this._a32=e,e=this._a48,this._a48=this._a16,this._a16=e,32==t)return this;t-=32}var r=this._a48<<16|this._a32,i=this._a16<<16|this._a00,e=r>>>t|i<<32-t,t=i>>>t|r<<32-t;return this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16,this},l.prototype.clone=function(){return new l(this._a00,this._a16,this._a32,this._a48)},void 0===(e=function(){return l}.apply(e,r=[]))||(t.exports=e)},function(r,t,i){!function(l){function u(t){for(var e=[],r=0,i=t.length;r<i;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||57344<=n?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return new Uint8Array(e)}function t(){return 2==arguments.length?new t(arguments[1]).update(arguments[0]).digest():this instanceof t?void e.call(this,arguments[0]):new t(arguments[0])}function e(t){return this.seed=t instanceof h?t.clone():h(t),this.v1=this.seed.clone().add(c).add(d),this.v2=this.seed.clone().add(d),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(c),this.total_len=0,this.memsize=0,this.memory=null,this}var h=i(1).UINT64,c=h("11400714785074694791"),d=h("14029467366897019727"),o=h("1609587929392839161"),m=h("9650029242287828579"),p=h("2870177450012600261");t.prototype.init=e,t.prototype.update=function(t){var e,r="string"==typeof t;r&&(t=u(t),r=!1,e=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(e=!0,t=new Uint8Array(t));var i=0,n=t.length,a=i+n,n,s,s;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=r?"":new(e?Uint8Array:l)(32)),this.memsize+n<32)return r?this.memory+=t:e?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(0<this.memsize&&(r?this.memory+=t.slice(0,32-this.memsize):e?this.memory.set(t.subarray(0,32-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,32-this.memsize),n=0,s=r?(s=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v1.add(s.multiply(d)).rotl(31).multiply(c),s=h(this.memory.charCodeAt((n+=8)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v2.add(s.multiply(d)).rotl(31).multiply(c),s=h(this.memory.charCodeAt((n+=8)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v3.add(s.multiply(d)).rotl(31).multiply(c),h(this.memory.charCodeAt((n+=8)+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6))):(s=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v1.add(s.multiply(d)).rotl(31).multiply(c),s=h(this.memory[(n+=8)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v2.add(s.multiply(d)).rotl(31).multiply(c),s=h(this.memory[(n+=8)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v3.add(s.multiply(d)).rotl(31).multiply(c),h(this.memory[(n+=8)+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6])),this.v4.add(s.multiply(d)).rotl(31).multiply(c),i+=32-this.memsize,this.memsize=0,r&&(this.memory="")),i<=a-32){var o=a-32,s,s;do{s=r?(s=h(t.charCodeAt(i+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2),t.charCodeAt(i+5)<<8|t.charCodeAt(i+4),t.charCodeAt(i+7)<<8|t.charCodeAt(i+6)),this.v1.add(s.multiply(d)).rotl(31).multiply(c),i+=8,s=h(t.charCodeAt(i+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2),t.charCodeAt(i+5)<<8|t.charCodeAt(i+4),t.charCodeAt(i+7)<<8|t.charCodeAt(i+6)),this.v2.add(s.multiply(d)).rotl(31).multiply(c),i+=8,s=h(t.charCodeAt(i+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2),t.charCodeAt(i+5)<<8|t.charCodeAt(i+4),t.charCodeAt(i+7)<<8|t.charCodeAt(i+6)),this.v3.add(s.multiply(d)).rotl(31).multiply(c),i+=8,h(t.charCodeAt(i+1)<<8|t.charCodeAt(i),t.charCodeAt(i+3)<<8|t.charCodeAt(i+2),t.charCodeAt(i+5)<<8|t.charCodeAt(i+4),t.charCodeAt(i+7)<<8|t.charCodeAt(i+6))):(s=h(t[i+1]<<8|t[i],t[i+3]<<8|t[i+2],t[i+5]<<8|t[i+4],t[i+7]<<8|t[i+6]),this.v1.add(s.multiply(d)).rotl(31).multiply(c),s=h(t[(i+=8)+1]<<8|t[i],t[i+3]<<8|t[i+2],t[i+5]<<8|t[i+4],t[i+7]<<8|t[i+6]),this.v2.add(s.multiply(d)).rotl(31).multiply(c),s=h(t[(i+=8)+1]<<8|t[i],t[i+3]<<8|t[i+2],t[i+5]<<8|t[i+4],t[i+7]<<8|t[i+6]),this.v3.add(s.multiply(d)).rotl(31).multiply(c),h(t[(i+=8)+1]<<8|t[i],t[i+3]<<8|t[i+2],t[i+5]<<8|t[i+4],t[i+7]<<8|t[i+6])),this.v4.add(s.multiply(d)).rotl(31).multiply(c),i+=8}while(i<=o)}return i<a&&(r?this.memory+=t.slice(i):e?this.memory.set(t.subarray(i,a),this.memsize):t.copy(this.memory,this.memsize,i,a),this.memsize=a-i),this},t.prototype.digest=function(){var t,e,r=this.memory,i="string"==typeof r,n=0,a=this.memsize,s=new h;for(32<=this.total_len?((t=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),t.add(this.v3.clone().rotl(12)),t.add(this.v4.clone().rotl(18)),t.xor(this.v1.multiply(d).rotl(31).multiply(c)),t.multiply(c).add(m),t.xor(this.v2.multiply(d).rotl(31).multiply(c)),t.multiply(c).add(m),t.xor(this.v3.multiply(d).rotl(31).multiply(c)),t.multiply(c).add(m),t.xor(this.v4.multiply(d).rotl(31).multiply(c)),t.multiply(c).add(m)):t=this.seed.clone().add(p),t.add(s.fromNumber(this.total_len));n<=a-8;)i?s.fromBits(r.charCodeAt(n+1)<<8|r.charCodeAt(n),r.charCodeAt(n+3)<<8|r.charCodeAt(n+2),r.charCodeAt(n+5)<<8|r.charCodeAt(n+4),r.charCodeAt(n+7)<<8|r.charCodeAt(n+6)):s.fromBits(r[n+1]<<8|r[n],r[n+3]<<8|r[n+2],r[n+5]<<8|r[n+4],r[n+7]<<8|r[n+6]),s.multiply(d).rotl(31).multiply(c),t.xor(s).rotl(27).multiply(c).add(m),n+=8;for(n+4<=a&&(i?s.fromBits(r.charCodeAt(n+1)<<8|r.charCodeAt(n),r.charCodeAt(n+3)<<8|r.charCodeAt(n+2),0,0):s.fromBits(r[n+1]<<8|r[n],r[n+3]<<8|r[n+2],0,0),t.xor(s.multiply(c)).rotl(23).multiply(d).add(o),n+=4);n<a;)s.fromBits(i?r.charCodeAt(n++):r[n++],0,0,0),t.xor(s.multiply(p)).rotl(11).multiply(c);return e=t.clone().shiftRight(33),t.xor(e).multiply(d),e=t.clone().shiftRight(29),t.xor(e).multiply(o),e=t.clone().shiftRight(32),t.xor(e),this.init(this.seed),t},r.exports=t}.call(t,i(0).Buffer)}],i.c=n,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=2);function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var r,n},Ae.a.XXH=e(),Ae.a.JSZip=function i(n,a,s){function o(r,t){if(!a[r]){if(!n[r]){var e=null;if(!t&&e)return e(r,!0);if(l)return l(r,!0);throw new Error("Cannot find module '"+r+"'")}var e=a[r]={exports:{}};n[r][0].call(e.exports,function(t){var e=n[r][1][t];return o(e||t)},e,e.exports,i,n,a,s)}return a[r].exports}for(var l=null,t=0;t<s.length;t++)o(s[t]);return o}({1:[function(t,e,r){"use strict";var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t,e){var r="",i,n,a,s,o,l,i,u=0;while(u<t.length)s=(i=t.charCodeAt(u++))>>2,o=(3&i)<<4|(n=t.charCodeAt(u++))>>4,l=(15&n)<<2|(a=t.charCodeAt(u++))>>6,i=63&a,isNaN(n)?l=i=64:isNaN(a)&&(i=64),r=r+c.charAt(s)+c.charAt(o)+c.charAt(l)+c.charAt(i);return r},r.decode=function(t,e){var r="",i,n,a,s,o,l,u,h=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(h<t.length)s=c.indexOf(t.charAt(h++)),n=(15&(o=c.indexOf(t.charAt(h++))))<<4|(l=c.indexOf(t.charAt(h++)))>>2,a=(3&l)<<6|(u=c.indexOf(t.charAt(h++))),r+=String.fromCharCode(i=s<<2|o>>4),64!=l&&(r+=String.fromCharCode(n)),64!=u&&(r+=String.fromCharCode(a));return r}},{}],2:[function(t,e,r){"use strict";function i(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}i.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=i},{}],3:[function(t,e,r){"use strict";r.STORE={magic:"\0\0",compress:function(t,e){return t},uncompress:function(t){return t},compressInputType:null,uncompressInputType:null},r.DEFLATE=t("./flate")},{"./flate":8}],4:[function(t,e,r){"use strict";var u=t("./utils"),h=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];e.exports=function t(e,r){if(void 0===e||!e.length)return 0;var i="string"!==u.getTypeOf(e);void 0===r&&(r=0);var n=0,a=0,s=0;r^=-1;for(var o=0,l=e.length;o<l;o++)s=i?e[o]:e.charCodeAt(o),r=r>>>8^(n=h[a=255&(r^s)]);return-1^r}},{"./utils":21}],5:[function(t,e,r){"use strict";var i=t("./utils");function n(t){this.data=null,this.length=0,this.index=0}n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e=0,r;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)e=(e<<8)+this.byteAt(r);return this.index+=t,e},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},e.exports=n},{"./utils":21}],6:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!1,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],7:[function(t,e,r){"use strict";var i=t("./utils");r.string2binary=function(t){return i.string2binary(t)},r.string2Uint8Array=function(t){return i.transformTo("uint8array",t)},r.uint8Array2String=function(t){return i.transformTo("string",t)},r.string2Blob=function(t){var t=i.transformTo("arraybuffer",t);return i.arrayBuffer2Blob(t)},r.arrayBuffer2Blob=function(t){return i.arrayBuffer2Blob(t)},r.transformTo=function(t,e){return i.transformTo(t,e)},r.getTypeOf=function(t){return i.getTypeOf(t)},r.checkSupport=function(t){return i.checkSupport(t)},r.MAX_VALUE_16BITS=i.MAX_VALUE_16BITS,r.MAX_VALUE_32BITS=i.MAX_VALUE_32BITS,r.pretty=function(t){return i.pretty(t)},r.findCompression=function(t){return i.findCompression(t)},r.isRegExp=function(t){return i.isRegExp(t)}},{"./utils":21}],8:[function(t,e,r){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=t("pako");r.uncompressInputType=i?"uint8array":"array",r.compressInputType=i?"uint8array":"array",r.magic="\b\0",r.compress=function(t,e){return n.deflateRaw(t,{level:e.level||-1})},r.uncompress=function(t){return n.inflateRaw(t)}},{pako:24}],9:[function(t,e,r){"use strict";var i=t("./base64");function n(t,e){if(!(this instanceof n))return new n(t,e);this.files={},this.comment=null,this.root="",t&&this.load(t,e),this.clone=function(){var t=new n,e;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(n.prototype=t("./object")).load=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.utils=t("./deprecatedPublicUtils"),n.base64={encode:function(t){return i.encode(t)},decode:function(t){return i.decode(t)}},n.compressions=t("./compressions"),e.exports=n},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(t,e,r){"use strict";var a=t("./base64"),s=t("./zipEntries");e.exports=function(t,e){var r,t,i,n;for((e=e||{}).base64&&(t=a.decode(t)),r=(t=new s(t,e)).files,i=0;i<r.length;i++)n=r[i],this.file(n.fileName,n.decompressed,{binary:!0,optimizedBinaryString:!0,date:n.date,dir:n.dir,comment:n.fileComment.length?n.fileComment:null,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions,createFolders:e.createFolders});return t.zipComment.length&&(this.comment=t.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(t,e,r){!function(r){"use strict";e.exports=function(t,e){return r.from(t,e)},e.exports.test=function(t){return r.isBuffer(t)}}.call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(t,e,r){"use strict";var t=t("./uint8ArrayReader");function i(t){this.data=t,this.length=this.data.length,this.index=0}(i.prototype=new t).readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=i},{"./uint8ArrayReader":18}],13:[function(t,e,r){"use strict";var i=t("./support"),y=t("./utils"),v=t("./crc32"),w=t("./signature"),n=t("./defaults"),m=t("./base64"),p=t("./compressions"),a=t("./compressedObject"),s=t("./nodeBuffer"),C=t("./utf8"),g=t("./stringWriter"),f=t("./uint8ArrayWriter"),o=function(t){var e;return t._data instanceof a&&(t._data=t._data.getContent(),t.options.binary=!0,t.options.base64=!1,"uint8array"===y.getTypeOf(t._data)&&(e=t._data,t._data=new Uint8Array(e.length),0!==e.length&&t._data.set(e,0))),t._data},l=function(t){var e=o(t),r;if("string"===y.getTypeOf(e)){if(!t.options.binary&&i.nodebuffer)return s(e,"utf-8");return t.asBinary()}return e},u=function(t){var e=o(this);if(null==e)return"";return this.options.base64&&(e=m.decode(e)),e=t&&this.options.binary?E.utf8decode(e):y.transformTo("string",e),e=!t&&!this.options.binary?y.transformTo("string",E.utf8encode(e)):e},h=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this.options=r,this._initialMetadata={dir:r.dir,date:r.date}};h.prototype={asText:function(){return u.call(this,!0)},asBinary:function(){return u.call(this,!1)},asNodeBuffer:function(){var t=l(this);return y.transformTo("nodebuffer",t)},asUint8Array:function(){var t=l(this);return y.transformTo("uint8array",t)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var T=function(t,e){for(var r="",i,i=0;i<e;i++)r+=String.fromCharCode(255&t),t>>>=8;return r},S=function(){for(var t={},e,r,e=0;e<arguments.length;e++)for(r in arguments[e])arguments[e].hasOwnProperty(r)&&void 0===t[r]&&(t[r]=arguments[e][r]);return t},c=function(t){return!0!==(t=t||{}).base64||null!==t.binary&&void 0!==t.binary||(t.binary=!0),(t=S(t,n)).date=t.date||new Date,null!==t.compression&&(t.compression=t.compression.toUpperCase()),t},d=function(t,e,r){var i=y.getTypeOf(e),n;if("string"==typeof(r=c(r)).unixPermissions&&(r.unixPermissions=parseInt(r.unixPermissions,8)),r.unixPermissions&&16384&r.unixPermissions&&(r.dir=!0),r.dosPermissions&&16&r.dosPermissions&&(r.dir=!0),r.dir&&(t=P(t)),r.createFolders&&(n=b(t))&&I.call(this,n,!0),r.dir||null==e)r.base64=!1,r.binary=!1,i=e=null;else if("string"===i)r.binary&&!r.base64&&!0!==r.optimizedBinaryString&&(e=y.string2binary(e));else{if(r.base64=!1,r.binary=!0,!(i||e instanceof a))throw new Error("The data of '"+t+"' is in an unsupported format !");"arraybuffer"===i&&(e=y.transformTo("uint8array",e))}var r=new h(t,e,r);return this.files[t]=r},b=function(t){var e=(t="/"==t.slice(-1)?t.substring(0,t.length-1):t).lastIndexOf("/");return 0<e?t.substring(0,e):""},P=function(t){return"/"!=t.slice(-1)&&(t+="/"),t},I=function(t,e){return e=void 0!==e&&e,t=P(t),this.files[t]||d.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},A=function(t,e,r){var i=new a,n;return t._data instanceof a?(i.uncompressedSize=t._data.uncompressedSize,i.crc32=t._data.crc32,0===i.uncompressedSize||t.dir?(e=p["STORE"],i.compressedContent="",i.crc32=0):t._data.compressionMethod===e.magic?i.compressedContent=t._data.getCompressedContent():(n=t._data.getContent(),i.compressedContent=e.compress(y.transformTo(e.compressInputType,n),r))):((n=l(t))&&0!==n.length&&!t.dir||(e=p["STORE"],n=""),i.uncompressedSize=n.length,i.crc32=v(n),i.compressedContent=e.compress(y.transformTo(e.compressInputType,n),r)),i.compressedSize=i.compressedContent.length,i.compressionMethod=e.magic,i},x=function(t,e){var r;return(65535&(t?t:e?16893:33204))<<16},D=function(t,e){return 63&(t||0)},B=function(t,e,r,i,n){var a=r.compressedContent,s=y.transformTo("string",C.utf8encode(e.name)),o=e.comment||"",l=y.transformTo("string",C.utf8encode(o)),u=s.length!==e.name.length,h=l.length!==o.length,c=e.options,e,d,m="",p="",g="",d,f,d=(e._initialMetadata.dir!==e.dir?e:c).dir,f=(e._initialMetadata.date!==e.date?e:c).date,o=0,c=0;d&&(o|=16),"UNIX"===n?(c=798,o|=x(e.unixPermissions,d)):(c=20,o|=D(e.dosPermissions,d)),e=f.getHours(),e<<=6,e|=f.getMinutes(),e<<=5,e|=f.getSeconds()/2,d=f.getFullYear()-1980,d<<=4,d|=f.getMonth()+1,d<<=5,d|=f.getDate(),u&&(p=T(1,1)+T(v(s),4)+s,m+="up"+T(p.length,2)+p),h&&(g=T(1,1)+T(this.crc32(l),4)+l,m+="uc"+T(g.length,2)+g);var g="",S,b;return g+="\n\0",g+=u||h?"\0\b":"\0\0",g+=r.compressionMethod,g+=T(e,2),g+=T(d,2),g+=T(r.crc32,4),g+=T(r.compressedSize,4),g+=T(r.uncompressedSize,4),g+=T(s.length,2),g+=T(m.length,2),{fileRecord:w.LOCAL_FILE_HEADER+g+s+m,dirRecord:w.CENTRAL_FILE_HEADER+T(c,2)+g+T(l.length,2)+"\0\0"+"\0\0"+T(o,4)+T(i,4)+s+m+l,compressedObject:r}},E={load:function(t,e){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(t){var e=[],r,i,i,n;for(r in this.files){if(!this.files.hasOwnProperty(r))continue;i=this.files[r],n=new h(i.name,i._data,S(i.options)),i=r.slice(this.root.length,r.length),r.slice(0,this.root.length)===this.root&&t(i,n)&&e.push(n)}return e},file:function(r,t,e){if(1===arguments.length){if(y.isRegExp(r)){var i=r;return this.filter(function(t,e){return!e.dir&&i.test(t)})}return this.filter(function(t,e){return!e.dir&&t===r})[0]||null}return r=this.root+r,d.call(this,r,t,e),this},folder:function(r){if(!r)return this;if(y.isRegExp(r))return this.filter(function(t,e){return e.dir&&r.test(t)});var t=this.root+r,e=I.call(this,t),t=this.clone();return t.root=e.name,t},remove:function(r){r=this.root+r;var t=this.files[r];if(t||("/"!=r.slice(-1)&&(r+="/"),t=this.files[r]),t&&!t.dir)delete this.files[r];else for(var e=this.filter(function(t,e){return e.name.slice(0,r.length)===r}),i=0;i<e.length;i++)delete this.files[e[i].name];return this},generate:function(t){t=S(t||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip"}),y.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var e=[],r=0,i=0,n,a,s=y.transformTo("string",this.utf8encode(t.comment||this.comment||"")),o;for(o in this.files){if(!this.files.hasOwnProperty(o))continue;var l=this.files[o],u=l.options.compression||t.compression.toUpperCase(),h=p[u];if(!h)throw new Error(u+" is not a valid compression method !");var u=l.options.compressionOptions||t.compressionOptions||{},u=A.call(this,l,h,u),l=B.call(this,o,l,u,r,t.platform);r+=l.fileRecord.length+u.compressedSize,i+=l.dirRecord.length,e.push(l)}for(var c="",c=w.CENTRAL_DIRECTORY_END+"\0\0"+"\0\0"+T(e.length,2)+T(e.length,2)+T(i,4)+T(r,4)+T(s.length,2)+s,s=t.type.toLowerCase(),n=new("uint8array"===s||"arraybuffer"===s||"blob"===s||"nodebuffer"===s?f:g)(r+i+c.length),a=0;a<e.length;a++)n.append(e[a].fileRecord),n.append(e[a].compressedObject.compressedContent);for(a=0;a<e.length;a++)n.append(e[a].dirRecord);n.append(c);var d=n.finalize();switch(t.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return y.transformTo(t.type.toLowerCase(),d);case"blob":return y.arrayBuffer2Blob(y.transformTo("arraybuffer",d),t.mimeType);case"base64":return t.base64?m.encode(d):d;default:return d}},crc32:function(t,e){return v(t,e)},utf8encode:function(t){return y.transformTo("string",C.utf8encode(t))},utf8decode:function(t){return C.utf8decode(t)}};e.exports=E},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],15:[function(t,e,r){"use strict";var i=t("./dataReader"),n=t("./utils");function a(t,e){this.data=t,e||(this.data=n.string2binary(this.data)),this.length=this.data.length,this.index=0}(a.prototype=new i).byteAt=function(t){return this.data.charCodeAt(t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=a},{"./dataReader":5,"./utils":21}],16:[function(t,e,r){"use strict";var i=t("./utils"),t=function(){this.data=[]};t.prototype={append:function(t){t=i.transformTo("string",t),this.data.push(t)},finalize:function(){return this.data.join("")}},e.exports=t},{"./utils":21}],17:[function(t,e,n){!function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var e=new ArrayBuffer(0);try{n.blob=0===new Blob([e],{type:"application/zip"}).size}catch(t){try{var r,i=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);i.append(e),n.blob=0===i.getBlob("application/zip").size}catch(t){n.blob=!1}}}}.call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(t,e,r){"use strict";var t=t("./dataReader");function i(t){t&&(this.data=t,this.length=this.data.length,this.index=0)}(i.prototype=new t).byteAt=function(t){return this.data[t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),i=t.charCodeAt(2),n=t.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===e&&this.data[a+1]===r&&this.data[a+2]===i&&this.data[a+3]===n)return a;return-1},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.index,this.index+t);return this.index+=t,e},e.exports=i},{"./dataReader":5}],19:[function(t,e,r){"use strict";var i=t("./utils"),t=function(t){this.data=new Uint8Array(t),this.index=0};t.prototype={append:function(t){0!==t.length&&(t=i.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},e.exports=t},{"./utils":21}],20:[function(t,e,r){"use strict";for(var l=t("./utils"),u=t("./support"),i=t("./nodeBuffer"),h=new Array(256),n=0;n<256;n++)h[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;h[254]=h[254]=1;var a=function(t){for(var e,r,i,n,a,s=t.length,o=0,n=0;n<s;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new(u.uint8array?Uint8Array:Array)(o),n=a=0;a<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},o=function(t,e){var r,r=(e=(e=e||t.length)>t.length?t.length:e)-1;while(0<=r&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+h[t[r]]>e?r:e},c=function(t){for(var e,r,i,n,a,s=t.length,o=new Array(2*s),i=0,r=0;r<s;){if((n=t[r++])<128){o[i++]=n;continue}if(4<(a=h[n])){o[i++]=65533,r+=a-1;continue}n&=2===a?31:3===a?15:7;while(1<a&&r<s)n=n<<6|63&t[r++],a--;if(1<a){o[i++]=65533;continue}n<65536?o[i++]=n:(n-=65536,o[i++]=55296|n>>10&1023,o[i++]=56320|1023&n)}return o.length!==i&&(o.subarray?o=o.subarray(0,i):o.length=i),l.applyFromCharCode(o)};r.utf8encode=function t(e){if(u.nodebuffer)return i(e,"utf-8");return a(e)},r.utf8decode=function t(e){if(u.nodebuffer)return l.transformTo("nodebuffer",e).toString("utf-8");var r=[],i=0,n=(e=l.transformTo(u.uint8array?"uint8array":"array",e)).length,a=65536;while(i<n){var s=o(e,Math.min(i+a,n));u.uint8array?r.push(c(e.subarray(i,s))):r.push(c(e.slice(i,s))),i=s}return r.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(t,e,u){"use strict";var r=t("./support"),i=t("./compressions"),h=t("./nodeBuffer");function n(t){return t}function a(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}function s(t){var e=65536,r=[],i=t.length,n=u.getTypeOf(t),a=0,s=!0;try{switch(n){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,h(0));break}}catch(t){s=!1}if(!s){for(var o="",l=0;l<t.length;l++)o+=String.fromCharCode(t[l]);return o}while(a<i&&1<e)try{"array"===n||"nodebuffer"===n?r.push(String.fromCharCode.apply(null,t.slice(a,Math.min(a+e,i)))):r.push(String.fromCharCode.apply(null,t.subarray(a,Math.min(a+e,i)))),a+=e}catch(t){e=Math.floor(e/2)}return r.join("")}function o(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}u.string2binary=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(255&t.charCodeAt(r));return e},u.arrayBuffer2Blob=function(e,r){u.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch(t){try{var i,n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}},u.applyFromCharCode=s;var l={};l["string"]={string:n,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return l["string"]["uint8array"](t).buffer},uint8array:function(t){return a(t,new Uint8Array(t.length))},nodebuffer:function(t){return a(t,h(t.length))}},l["array"]={string:s,array:n,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h(t)}},l["arraybuffer"]={string:function(t){return s(new Uint8Array(t))},array:function(t){return o(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:n,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h(new Uint8Array(t))}},l["uint8array"]={string:s,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:n,nodebuffer:function(t){return h(t)}},l["nodebuffer"]={string:s,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return l["nodebuffer"]["uint8array"](t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:n},u.transformTo=function(t,e){if(e=e||"",!t)return e;u.checkSupport(t);var r=u.getTypeOf(e),i;return l[r][t](e)},u.getTypeOf=function(t){if("string"==typeof t)return"string";if("[object Array]"===Object.prototype.toString.call(t))return"array";if(r.nodebuffer&&h.test(t))return"nodebuffer";if(r.uint8array&&t instanceof Uint8Array)return"uint8array";if(r.arraybuffer&&t instanceof ArrayBuffer)return"arraybuffer"},u.checkSupport=function(t){var e;if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this browser")},u.MAX_VALUE_16BITS=65535,u.MAX_VALUE_32BITS=-1,u.pretty=function(t){for(var e="",r,i,i=0;i<(t||"").length;i++)e+="\\x"+((r=t.charCodeAt(i))<16?"0":"")+r.toString(16).toUpperCase();return e},u.findCompression=function(t){for(var e in i){if(!i.hasOwnProperty(e))continue;if(i[e].magic===t)return i[e]}return null},u.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(t,e,r){"use strict";var i=t("./stringReader"),n=t("./nodeBufferReader"),a=t("./uint8ArrayReader"),s=t("./utils"),o=t("./signature"),l=t("./zipEntry"),u=t("./support"),h=t("./object");function c(t,e){this.files=[],this.loadOptions=e,t&&this.load(t)}c.prototype={checkSignature:function(t){var e=this.reader.readString(4);if(e!==t)throw new Error("Corrupted zip or bug : unexpected signature "+"("+s.pretty(e)+", expected "+s.pretty(t)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=h.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var t=this.zip64EndOfCentralSize-44,e=0,r,i,n;while(e<t)r=this.reader.readInt(2),i=this.reader.readInt(4),n=this.reader.readString(i),this.zip64ExtensibleData[r]={id:r,length:i,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var t,e,t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===o.CENTRAL_FILE_HEADER)(t=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(-1===t){var e=!0;try{this.reader.setIndex(0),this.checkSignature(o.LOCAL_FILE_HEADER),e=!1}catch(t){}throw e?new Error("Can't find end of central directory : is this a zip file ? "+"If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}if(this.reader.setIndex(t),this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(t){var e=s.getTypeOf(t);"string"!==e||u.uint8array?this.reader="nodebuffer"===e?new n(t):new a(s.transformTo("uint8array",t)):this.reader=new i(t,this.loadOptions.optimizedBinaryString)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(t,e,r){"use strict";var i=t("./stringReader"),a=t("./utils"),n=t("./compressedObject"),s=t("./object"),o=0,l=3;function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(r,i,n){return function(){var t=r.index;r.setIndex(i);var e=r.readData(n);return r.setIndex(t),e}},prepareContent:function(t,e,r,i,n){return function(){var t=a.transformTo(i.uncompressInputType,this.getCompressedContent()),t=i.uncompress(t);if(t.length!==n)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(t){var e,e;if(t.skip(22),this.fileNameLength=t.readInt(2),e=t.readInt(2),this.fileName=t.readString(this.fileNameLength),t.skip(e),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory "+"(compressedSize == -1 || uncompressedSize == -1)");if(null===(e=a.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new n,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(t,t.index,this.compressedSize,e),this.decompressed.getContent=this.prepareContent(t,t.index,this.compressedSize,e,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(t){if(this.versionMadeBy=t.readInt(2),this.versionNeeded=t.readInt(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4),this.fileNameLength=t.readInt(2),this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=t.readString(this.fileNameLength),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readString(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),t==o&&(this.dosPermissions=63&this.externalFileAttributes),t==l&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileName.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(!this.extraFields[1])return;var e=new i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),
this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))},readExtraFields:function(t){var e=t.index,r,i,n;this.extraFields=this.extraFields||{};while(t.index<e+this.extraFieldsLength)r=t.readInt(2),i=t.readInt(2),n=t.readString(i),this.extraFields[r]={id:r,length:i,value:n}},handleUTF8:function(){var t,t;this.useUTF8()?(this.fileName=s.utf8decode(this.fileName),this.fileComment=s.utf8decode(this.fileComment)):(null!==(t=this.findExtraFieldUnicodePath())&&(this.fileName=t),null!==(t=this.findExtraFieldUnicodeComment())&&(this.fileComment=t))},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(s.crc32(this.fileName)!==e.readInt(4))return null;return s.utf8decode(e.readString(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(s.crc32(this.fileComment)!==e.readInt(4))return null;return s.utf8decode(e.readString(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(t,e,r){"use strict";var i,n,a,s,o={};(0,t("./lib/utils/common").assign)(o,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=o},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(t,e,r){"use strict";var s=t("./zlib/deflate.js"),o=t("./utils/common"),l=t("./utils/strings"),i=t("./zlib/messages"),n=t("./zlib/zstream"),u=0,h=4,c=0,d=1,a=-1,m=0,p=8,g=function(t){this.options=o.assign({level:a,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new n,this.strm.avail_out=0;var t=s.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(t!==c)throw new Error(i[t]);e.header&&s.deflateSetHeader(this.strm,e.header)};function f(t,e){var e=new g(e);if(e.push(t,!0),e.err)throw e.msg;return e.result}function S(t,e){return(e=e||{}).raw=!0,f(t,e)}function b(t,e){return(e=e||{}).gzip=!0,f(t,e)}g.prototype.push=function(t,e){var r=this.strm,i=this.options.chunkSize,n,a;if(this.ended)return!1;a=e===~~e?e:!0===e?h:u,r.input="string"==typeof t?l.string2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new o.Buf8(i),r.next_out=0,r.avail_out=i),(n=s.deflate(r,a))!==d&&n!==c)return this.onEnd(n),this.ended=!0,!1;(0===r.avail_out||0===r.avail_in&&a===h)&&("string"===this.options.to?this.onData(l.buf2binstring(o.shrinkBuf(r.output,r.next_out))):this.onData(o.shrinkBuf(r.output,r.next_out)))}while((0<r.avail_in||0===r.avail_out)&&n!==d);if(a===h)return n=s.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c;return!0},g.prototype.onData=function(t){this.chunks.push(t)},g.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=g,r.deflate=f,r.deflateRaw=S,r.gzip=b},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(t,e,r){"use strict";var u=t("./zlib/inflate.js"),h=t("./utils/common"),c=t("./utils/strings"),d=t("./zlib/constants"),i=t("./zlib/messages"),n=t("./zlib/zstream"),a=t("./zlib/gzheader"),s=function(t){this.options=h.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new n,this.strm.avail_out=0;var e=u.inflateInit2(this.strm,e.windowBits);if(e!==d.Z_OK)throw new Error(i[e]);this.header=new a,u.inflateGetHeader(this.strm,this.header)};function o(t,e){var e=new s(e);if(e.push(t,!0),e.err)throw e.msg;return e.result}function l(t,e){return(e=e||{}).raw=!0,o(t,e)}s.prototype.push=function(t,e){var r=this.strm,i=this.options.chunkSize,n,a,s,o,l;if(this.ended)return!1;a=e===~~e?e:!0===e?d.Z_FINISH:d.Z_NO_FLUSH,r.input="string"==typeof t?c.binstring2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new h.Buf8(i),r.next_out=0,r.avail_out=i),(n=u.inflate(r,d.Z_NO_FLUSH))!==d.Z_STREAM_END&&n!==d.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(0===r.avail_out||n===d.Z_STREAM_END||0===r.avail_in&&a===d.Z_FINISH)&&("string"===this.options.to?(s=c.utf8border(r.output,r.next_out),o=r.next_out-s,l=c.buf2string(r.output,s),r.next_out=o,r.avail_out=i-o,o&&h.arraySet(r.output,r.output,s,o,0),this.onData(l)):this.onData(h.shrinkBuf(r.output,r.next_out)))}while(0<r.avail_in&&n!==d.Z_STREAM_END);if((a=n===d.Z_STREAM_END?d.Z_FINISH:a)===d.Z_FINISH)return n=u.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===d.Z_OK;return!0},s.prototype.onData=function(t){this.chunks.push(t)},s.prototype.onEnd=function(t){t===d.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=h.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=s,r.inflate=o,r.inflateRaw=l,r.ungzip=o},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(t,e,r){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){var e=Array.prototype.slice.call(arguments,1);while(e.length){var r=e.shift(),i;if(!r)continue;if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t},r.shrinkBuf=function(t,e){if(t.length===e)return t;if(t.subarray)return t.subarray(0,e);return t.length=e,t};var n={arraySet:function(t,e,r,i,n){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+i),n);for(var a=0;a<i;a++)t[n+a]=e[r+a]},flattenChunks:function(t){for(var e,r,i,n,a,s,i=0,e=0,r=t.length;e<r;e++)i+=t[e].length;for(s=new Uint8Array(i),e=n=0,r=t.length;e<r;e++)a=t[e],s.set(a,n),n+=a.length;return s}},a={arraySet:function(t,e,r,i,n){for(var a=0;a<i;a++)t[n+a]=e[r+a]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,n)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(i)},{}],28:[function(t,e,r){"use strict";var l=t("./common"),n=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(t){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){a=!1}for(var u=new l.Buf8(256),i=0;i<256;i++)u[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;function h(t,e){if(e<65537&&(t.subarray&&a||!t.subarray&&n))return String.fromCharCode.apply(null,l.shrinkBuf(t,e));for(var r="",i=0;i<e;i++)r+=String.fromCharCode(t[i]);return r}u[254]=u[254]=1,r.string2buf=function(t){for(var e,r,i,n,a,s=t.length,o=0,n=0;n<s;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new l.Buf8(o),n=a=0;a<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return h(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,i=e.length;r<i;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){for(var r,i,n,a,s=e||t.length,o=new Array(2*s),i=0,r=0;r<s;){if((n=t[r++])<128){o[i++]=n;continue}if(4<(a=u[n])){o[i++]=65533,r+=a-1;continue}n&=2===a?31:3===a?15:7;while(1<a&&r<s)n=n<<6|63&t[r++],a--;if(1<a){o[i++]=65533;continue}n<65536?o[i++]=n:(n-=65536,o[i++]=55296|n>>10&1023,o[i++]=56320|1023&n)}return h(o,i)},r.utf8border=function(t,e){var r,r=(e=(e=e||t.length)>t.length?t.length:e)-1;while(0<=r&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+u[t[r]]>e?r:e}},{"./common":27}],29:[function(t,e,r){"use strict";function i(t,e,r,i){var n=65535&t|0,a=t>>>16&65535|0,s=0;while(0!==r){r-=s=2e3<r?2e3:r;do{a=a+(n=n+e[i++]|0)|0}while(--s);n%=65521,a%=65521}return n|a<<16|0}e.exports=i},{}],30:[function(t,e,r){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(t,e,r){"use strict";function i(){for(var t,e=[],r=0;r<256;r++){for(var t=r,i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}var o=i();function n(t,e,r,i){var n=o,a=i+r;t^=-1;for(var s=i;s<a;s++)t=t>>>8^n[255&(t^e[s])];return-1^t}e.exports=n},{}],32:[function(t,e,r){"use strict";var l=t("../utils/common"),u=t("./trees"),a=t("./adler32"),h=t("./crc32"),i=t("./messages"),c=0,d=1,m=3,p=4,g=5,f=0,S=1,b=-2,n=-3,y=-5,v=-1,s=1,w=2,C=3,T=4,o=0,P=2,I=8,A=9,x=15,D=8,B,E,k=256+1+29,N=30,F=19,R=2*k+1,L=15,M=3,O=258,H=O+M+1,_=32,V=42,G=69,U=73,j=91,W=103,q=113,z=666,X=1,J=2,Y=3,Q=4,K=3;function Z(t,e){return t.msg=i[e],e}function $(t){return(t<<1)-(4<t?9:0)}function tt(t){var e=t.length;while(0<=--e)t[e]=0}function et(t){var e=t.state,r=e.pending;if(0===(r=r>t.avail_out?t.avail_out:r))return;l.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0)}function rt(t,e){u._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,et(t.strm)}function it(t,e){t.pending_buf[t.pending++]=e}function nt(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function at(t,e,r,i){var n=t.avail_in;if(0===(n=i<n?i:n))return 0;return t.avail_in-=n,l.arraySet(e,t.input,t.next_in,n,r),1===t.state.wrap?t.adler=a(t.adler,e,n,r):2===t.state.wrap&&(t.adler=h(t.adler,e,n,r)),t.next_in+=n,t.total_in+=n,n}function st(t,e){var r=t.max_chain_length,i=t.strstart,n,a,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-H?t.strstart-(t.w_size-H):0,u=t.window,h=t.w_mask,c=t.prev,d=t.strstart+O,m=u[i+s-1],p=u[i+s];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do{if(u[(n=e)+s]!==p||u[n+s-1]!==m||u[n]!==u[i]||u[++n]!==u[i+1])continue;i+=2,n++;do{}while(u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&i<d);if(a=O-(d-i),i=d-O,s<a){if(t.match_start=e,o<=(s=a))break;m=u[i+s-1],p=u[i+s]}}while((e=c[e&h])>l&&0!=--r);if(s<=t.lookahead)return s;return t.lookahead}function ot(t){var e=t.w_size,r,i,n,a,s;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-H)){l.arraySet(t.window,t.window,e,e,0),t.match_start-=e,t.strstart-=e,t.block_start-=e,r=i=t.hash_size;do{n=t.head[--r],t.head[r]=e<=n?n-e:0}while(--i);r=i=e;do{n=t.prev[--r],t.prev[r]=e<=n?n-e:0}while(--i);a+=e}if(0===t.strm.avail_in)break;if(i=at(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=i,t.lookahead+t.insert>=M){s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;while(t.insert)if(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+M-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,t.lookahead+t.insert<M)break}}while(t.lookahead<H&&0!==t.strm.avail_in)}function lt(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ot(t),0===t.lookahead&&e===c)return X;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+r;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,rt(t,!1),0===t.strm.avail_out))return X;if(t.strstart-t.block_start>=t.w_size-H&&(rt(t,!1),0===t.strm.avail_out))return X}if(t.insert=0,e===p){if(rt(t,!0),0===t.strm.avail_out)return Y;return Q}if(t.strstart>t.block_start&&(rt(t,!1),0===t.strm.avail_out))return X;return X}function ut(t,e){for(var r,i;;){if(t.lookahead<H){if(ot(t),t.lookahead<H&&e===c)return X;if(0===t.lookahead)break}if(r=0,t.lookahead>=M&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+M-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-H&&(t.match_length=st(t,r)),t.match_length>=M)if(i=u._tr_tally(t,t.strstart-t.match_start,t.match_length-M),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=M){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+M-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(rt(t,!1),0===t.strm.avail_out))return X}if(t.insert=t.strstart<M-1?t.strstart:M-1,e===p){if(rt(t,!0),0===t.strm.avail_out)return Y;return Q}if(t.last_lit&&(rt(t,!1),0===t.strm.avail_out))return X;return J}function ht(t,e){for(var r,i,n;;){if(t.lookahead<H){if(ot(t),t.lookahead<H&&e===c)return X;if(0===t.lookahead)break}if(r=0,t.lookahead>=M&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+M-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=M-1,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-H&&(t.match_length=st(t,r),t.match_length<=5&&(t.strategy===s||t.match_length===M&&4096<t.strstart-t.match_start)&&(t.match_length=M-1)),t.prev_length>=M&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-M,i=u._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-M),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+M-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=M-1,t.strstart++,i&&(rt(t,!1),0===t.strm.avail_out))return X}else if(t.match_available){if((i=u._tr_tally(t,0,t.window[t.strstart-1]))&&rt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return X}else t.match_available=1,t.strstart++,t.lookahead--}if(t.match_available&&(i=u._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<M-1?t.strstart:M-1,e===p){if(rt(t,!0),0===t.strm.avail_out)return Y;return Q}if(t.last_lit&&(rt(t,!1),0===t.strm.avail_out))return X;return J}function ct(t,e){for(var r,i,n,a,s=t.window;;){if(t.lookahead<=O){if(ot(t),t.lookahead<=O&&e===c)return X;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=M&&0<t.strstart&&(i=s[n=t.strstart-1])===s[++n]&&i===s[++n]&&i===s[++n]){a=t.strstart+O;do{}while(i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&n<a);t.match_length=O-(a-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=M?(r=u._tr_tally(t,1,t.match_length-M),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(rt(t,!1),0===t.strm.avail_out))return X}if(t.insert=0,e===p){if(rt(t,!0),0===t.strm.avail_out)return Y;return Q}if(t.last_lit&&(rt(t,!1),0===t.strm.avail_out))return X;return J}function dt(t,e){for(var r;;){if(0===t.lookahead&&(ot(t),0===t.lookahead)){if(e===c)return X;break}if(t.match_length=0,r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(rt(t,!1),0===t.strm.avail_out))return X}if(t.insert=0,e===p){if(rt(t,!0),0===t.strm.avail_out)return Y;return Q}if(t.last_lit&&(rt(t,!1),0===t.strm.avail_out))return X;return J}var t=function(t,e,r,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=i,this.func=n},mt;function pt(t){t.window_size=2*t.w_size,tt(t.head),t.max_lazy_match=mt[t.level].max_lazy,t.good_match=mt[t.level].good_length,t.nice_match=mt[t.level].nice_length,t.max_chain_length=mt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=M-1,t.match_available=0,t.ins_h=0}function gt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=I,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new l.Buf16(2*R),this.dyn_dtree=new l.Buf16(2*(2*N+1)),this.bl_tree=new l.Buf16(2*(2*F+1)),tt(this.dyn_ltree),tt(this.dyn_dtree),tt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(L+1),this.heap=new l.Buf16(2*k+1),tt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*k+1),tt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ft(t){var e;if(!t||!t.state)return Z(t,b);return t.total_in=t.total_out=0,t.data_type=P,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?V:q,t.adler=2===e.wrap?0:1,e.last_flush=c,u._tr_init(e),f}function St(t){var e=ft(t);return e===f&&pt(t.state),e}function bt(t,e){if(!t||!t.state)return b;if(2!==t.state.wrap)return b;return t.state.gzhead=e,f}function yt(t,e,r,i,n,a){if(!t)return b;var s=1;if(e===v&&(e=6),i<0?(s=0,i=-i):15<i&&(s=2,i-=16),n<1||A<n||r!==I||i<8||15<i||e<0||9<e||a<0||T<a)return Z(t,b);8===i&&(i=9);var o=new gt;return(t.state=o).strm=t,o.wrap=s,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+M-1)/M),o.window=new l.Buf8(2*o.w_size),o.head=new l.Buf16(o.hash_size),o.prev=new l.Buf16(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new l.Buf8(o.pending_buf_size),o.d_buf=o.lit_bufsize>>1,o.l_buf=(1+2)*o.lit_bufsize,o.level=e,o.strategy=a,o.method=r,St(t)}function vt(t,e){return yt(t,e,I,x,D,o)}function wt(t,e){var r,i,n,a,s,o,o;if(!t||!t.state||g<e||e<0)return t?Z(t,b):b;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||i.status===z&&e!==p)return Z(t,0===t.avail_out?y:b);if(i.strm=t,r=i.last_flush,i.last_flush=e,i.status===V&&(2===i.wrap?(t.adler=0,it(i,31),it(i,139),it(i,8),i.gzhead?(it(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),it(i,255&i.gzhead.time),it(i,i.gzhead.time>>8&255),it(i,i.gzhead.time>>16&255),it(i,i.gzhead.time>>24&255),it(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),it(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(it(i,255&i.gzhead.extra.length),it(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=h(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=G):(it(i,0),it(i,0),it(i,0),it(i,0),it(i,0),it(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),it(i,K),i.status=q)):(s=I+(i.w_bits-8<<4)<<8,o=-1,s|=(o=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(s|=_),s+=31-s%31,i.status=q,nt(i,s),0!==i.strstart&&(nt(i,t.adler>>>16),nt(i,65535&t.adler)),t.adler=1)),i.status===G)if(i.gzhead.extra){n=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),et(t),n=i.pending,i.pending===i.pending_buf_size))break;it(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=U)}else i.status=U;if(i.status===U)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),et(t),n=i.pending,i.pending===i.pending_buf_size)){a=1;break}a=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,it(i,a)}while(0!==a);i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),0===a&&(i.gzindex=0,i.status=j)}else i.status=j;if(i.status===j)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),et(t),n=i.pending,i.pending===i.pending_buf_size)){a=1;break}a=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,it(i,a)}while(0!==a);i.gzhead.hcrc&&i.pending>n&&(t.adler=h(t.adler,i.pending_buf,i.pending-n,n)),0===a&&(i.status=W)}else i.status=W;if(i.status===W&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&et(t),i.pending+2<=i.pending_buf_size&&(it(i,255&t.adler),it(i,t.adler>>8&255),t.adler=0,i.status=q)):i.status=q),0!==i.pending){if(et(t),0===t.avail_out)return i.last_flush=-1,f}else if(0===t.avail_in&&$(e)<=$(r)&&e!==p)return Z(t,y);if(i.status===z&&0!==t.avail_in)return Z(t,y);if(0!==t.avail_in||0!==i.lookahead||e!==c&&i.status!==z){var r=i.strategy===w?dt(i,e):i.strategy===C?ct(i,e):mt[i.level].func(i,e);if(r!==Y&&r!==Q||(i.status=z),r===X||r===Y)return 0===t.avail_out&&(i.last_flush=-1),f;if(r===J&&(e===d?u._tr_align(i):e!==g&&(u._tr_stored_block(i,0,0,!1),e===m&&(tt(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),et(t),0===t.avail_out))return i.last_flush=-1,f}if(e!==p)return f;if(i.wrap<=0)return S;return 2===i.wrap?(it(i,255&t.adler),it(i,t.adler>>8&255),it(i,t.adler>>16&255),it(i,t.adler>>24&255),it(i,255&t.total_in),it(i,t.total_in>>8&255),it(i,t.total_in>>16&255),it(i,t.total_in>>24&255)):(nt(i,t.adler>>>16),nt(i,65535&t.adler)),et(t),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?f:S}function Ct(t){var e;if(!t||!t.state)return b;if((e=t.state.status)!==V&&e!==G&&e!==U&&e!==j&&e!==W&&e!==q&&e!==z)return Z(t,b);return t.state=null,e===q?Z(t,n):f}mt=[new t(0,0,0,0,lt),new t(4,4,8,4,ut),new t(4,5,16,8,ut),new t(4,6,32,32,ut),new t(4,4,16,16,ht),new t(8,16,32,32,ht),new t(8,16,128,128,ht),new t(8,32,128,256,ht),new t(32,128,258,1024,ht),new t(32,258,258,4096,ht)],r.deflateInit=vt,r.deflateInit2=yt,r.deflateReset=St,r.deflateResetKeep=ft,r.deflateSetHeader=bt,r.deflate=wt,r.deflateEnd=Ct,r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(t,e,r){"use strict";function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=i},{}],34:[function(t,e,r){"use strict";var D=30,B=12;e.exports=function t(e,r){var i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b,y,v,w,C,T,P,I,A,x,i=e.state,n=e.next_in,A=e.input,a=n+(e.avail_in-5),s=e.next_out,x=e.output,o=s-(r-e.avail_out),l=s+(e.avail_out-257),u=i.dmax,h=i.wsize,c=i.whave,d=i.wnext,m=i.window,p=i.hold,g=i.bits,f=i.lencode,S=i.distcode,b=(1<<i.lenbits)-1,y=(1<<i.distbits)-1;t:do{g<15&&(p+=A[n++]<<g,g+=8,p+=A[n++]<<g,g+=8),v=f[p&b];e:for(;;){if(p>>>=w=v>>>24,g-=w,0===(w=v>>>16&255))x[s++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=f[(65535&v)+(p&(1<<w)-1)];continue e}if(32&w){i.mode=B;break t}e.msg="invalid literal/length code",i.mode=D;break t}C=65535&v,(w&=15)&&(g<w&&(p+=A[n++]<<g,g+=8),C+=p&(1<<w)-1,p>>>=w,g-=w),g<15&&(p+=A[n++]<<g,g+=8,p+=A[n++]<<g,g+=8),v=S[p&y];r:for(;;){if(p>>>=w=v>>>24,g-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=S[(65535&v)+(p&(1<<w)-1)];continue r}e.msg="invalid distance code",i.mode=D;break t}if(T=65535&v,g<(w&=15)&&(p+=A[n++]<<g,(g+=8)<w&&(p+=A[n++]<<g,g+=8)),u<(T+=p&(1<<w)-1)){e.msg="invalid distance too far back",i.mode=D;break t}if(p>>>=w,g-=w,(w=s-o)<T){if(c<(w=T-w)&&i.sane){e.msg="invalid distance too far back",i.mode=D;break t}if(I=m,(P=0)===d){if(P+=h-w,w<C){C-=w;do{x[s++]=m[P++]}while(--w);P=s-T,I=x}}else if(d<w){if(P+=h+d-w,(w-=d)<C){C-=w;do{x[s++]=m[P++]}while(--w);if(P=0,d<C){C-=w=d;do{x[s++]=m[P++]}while(--w);P=s-T,I=x}}}else if(P+=d-w,w<C){C-=w;do{x[s++]=m[P++]}while(--w);P=s-T,I=x}while(2<C)x[s++]=I[P++],x[s++]=I[P++],x[s++]=I[P++],C-=3;C&&(x[s++]=I[P++],1<C&&(x[s++]=I[P++]))}else{P=s-T;do{x[s++]=x[P++],x[s++]=x[P++],x[s++]=x[P++],C-=3}while(2<C);C&&(x[s++]=x[P++],1<C&&(x[s++]=x[P++]))}break}}break}}while(n<a&&s<l);return p&=(1<<(g-=(C=g>>3)<<3))-1,e.next_in=n-=C,e.next_out=s,e.avail_in=n<a?5+(a-n):5-(n-a),e.avail_out=s<l?257+(l-s):257-(s-l),i.hold=p,void(i.bits=g)}},{}],35:[function(t,e,r){"use strict";var B=t("../utils/common"),E=t("./adler32"),k=t("./crc32"),N=t("./inffast"),F=t("./inftrees"),R=0,L=1,M=2,O=4,H=5,_=6,V=0,G=1,U=2,j=-2,W=-3,q=-4,z=-5,X=8,J=1,Y=2,Q=3,K=4,Z=5,$=6,tt=7,et=8,rt=9,it=10,nt=11,at=12,st=13,ot=14,lt=15,ut=16,ht=17,ct=18,dt=19,mt=20,pt=21,gt=22,ft=23,St=24,bt=25,yt=26,vt=27,wt=28,Ct=29,Tt=30,Pt=31,It=32,i=852,n=592,a,s=15;function At(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new B.Buf16(320),this.work=new B.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(t){var e;if(!t||!t.state)return j;return e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=J,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new B.Buf32(i),e.distcode=e.distdyn=new B.Buf32(n),e.sane=1,e.back=-1,V}function u(t){var e;if(!t||!t.state)return j;return(e=t.state).wsize=0,e.whave=0,e.wnext=0,l(t)}function h(t,e){var r,i;if(!t||!t.state)return j;if(i=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||15<e))return j;return null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=r,i.wbits=e,u(t)}function c(t,e){var e,r;if(!t)return j;return r=new o,(t.state=r).window=null,(e=h(t,e))!==V&&(t.state=null),e}function d(t){return c(t,s)}var m=!0,p,g;function xt(t){if(m){var e;p=new B.Buf32(512),g=new B.Buf32(32),e=0;while(e<144)t.lens[e++]=8;while(e<256)t.lens[e++]=9;while(e<280)t.lens[e++]=7;while(e<288)t.lens[e++]=8;F(L,t.lens,0,288,p,0,t.work,{bits:9}),e=0;while(e<32)t.lens[e++]=5;F(M,t.lens,0,32,g,0,t.work,{bits:5}),m=!1}t.lencode=p,t.lenbits=9,t.distcode=g,t.distbits=5}function Dt(t,e,r,i){var t,n=t.state;return null===n.window&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new B.Buf8(n.wsize)),i>=n.wsize?(B.arraySet(n.window,e,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(t=n.wsize-n.wnext,B.arraySet(n.window,e,r-i,t=i<t?i:t,n.wnext),(i-=t)?(B.arraySet(n.window,e,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=t,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=t))),0}function f(t,e){var r,i,n,a,s,o,l,u,h,c,d,m,p,g,f=0,S,b,y,v,w,C,T,P,I=new B.Buf8(4),A,x,D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return j;(r=t.state).mode===at&&(r.mode=st),s=t.next_out,n=t.output,l=t.avail_out,a=t.next_in,i=t.input,o=t.avail_in,u=r.hold,h=r.bits,c=o,d=l,P=V;t:for(;;)switch(r.mode){case J:if(0===r.wrap){r.mode=st;break}while(h<16){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(2&r.wrap&&35615===u){r.check=0,I[0]=255&u,I[1]=u>>>8&255,r.check=k(r.check,I,2,0),h=u=0,r.mode=Y;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",r.mode=Tt;break}if((15&u)!=X){t.msg="unknown compression method",r.mode=Tt;break}if(h-=4,T=(15&(u>>>=4))+8,0===r.wbits)r.wbits=T;else if(T>r.wbits){t.msg="invalid window size",r.mode=Tt;break}r.dmax=1<<T,t.adler=r.check=1,r.mode=512&u?it:at,h=u=0;break;case Y:while(h<16){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(r.flags=u,(255&r.flags)!=X){t.msg="unknown compression method",r.mode=Tt;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=Tt;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=k(r.check,I,2,0)),h=u=0,r.mode=Q;case Q:while(h<32){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.head&&(r.head.time=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,I[2]=u>>>16&255,I[3]=u>>>24&255,r.check=k(r.check,I,4,0)),h=u=0,r.mode=K;case K:while(h<16){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=k(r.check,I,2,0)),h=u=0,r.mode=Z;case Z:if(1024&r.flags){while(h<16){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=k(r.check,I,2,0)),h=u=0}else r.head&&(r.head.extra=null);r.mode=$;case $:if(1024&r.flags&&((m=o<(m=r.length)?o:m)&&(r.head&&(T=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),B.arraySet(r.head.extra,i,a,m,T)),512&r.flags&&(r.check=k(r.check,i,m,a)),o-=m,a+=m,r.length-=m),r.length))break t;r.length=0,r.mode=tt;case tt:if(2048&r.flags){if(0===o)break t;m=0;do{T=i[a+m++],r.head&&T&&r.length<65536&&(r.head.name+=String.fromCharCode(T))}while(T&&m<o);if(512&r.flags&&(r.check=k(r.check,i,m,a)),o-=m,a+=m,T)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=et;case et:if(4096&r.flags){if(0===o)break t;m=0;do{T=i[a+m++],r.head&&T&&r.length<65536&&(r.head.comment+=String.fromCharCode(T))}while(T&&m<o);if(512&r.flags&&(r.check=k(r.check,i,m,a)),o-=m,a+=m,T)break t}else r.head&&(r.head.comment=null);r.mode=rt;case rt:if(512&r.flags){while(h<16){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(u!==(65535&r.check)){t.msg="header crc mismatch",r.mode=Tt;break}h=u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=at;break;case it:while(h<32){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}t.adler=r.check=At(u),h=u=0,r.mode=nt;case nt:if(0===r.havedict)return t.next_out=s,t.avail_out=l,t.next_in=a,t.avail_in=o,r.hold=u,r.bits=h,U;t.adler=r.check=1,r.mode=at;case at:if(e===H||e===_)break t;case st:if(r.last){u>>>=7&h,h-=7&h,r.mode=vt;break}while(h<3){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}switch(r.last=1&u,--h,3&(u>>>=1)){case 0:r.mode=ot;break;case 1:if(xt(r),r.mode=mt,e===_){u>>>=2,h-=2;break t}break;case 2:r.mode=ht;break;case 3:t.msg="invalid block type",r.mode=Tt}u>>>=2,h-=2;break;case ot:u>>>=7&h,h-=7&h;while(h<32){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if((65535&u)!=(u>>>16^65535)){t.msg="invalid stored block lengths",r.mode=Tt;break}if(r.length=65535&u,h=u=0,r.mode=lt,e===_)break t;case lt:r.mode=ut;case ut:if(m=r.length){if(0===(m=l<(m=o<m?o:m)?l:m))break t;B.arraySet(n,i,a,m,s),o-=m,a+=m,l-=m,s+=m,r.length-=m;break}r.mode=at;break;case ht:while(h<14){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(r.nlen=(31&u)+257,u>>>=5,h-=5,r.ndist=(31&u)+1,u>>>=5,h-=5,r.ncode=(15&u)+4,u>>>=4,h-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=Tt;break}r.have=0,r.mode=ct;case ct:while(r.have<r.ncode){while(h<3){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.lens[D[r.have++]]=7&u,u>>>=3,h-=3}while(r.have<19)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},P=F(R,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,P){t.msg="invalid code lengths set",r.mode=Tt;break}r.have=0,r.mode=dt;case dt:while(r.have<r.nlen+r.ndist){for(;;){if(b=(f=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,y=65535&f,(S=f>>>24)<=h)break;if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(y<16)u>>>=S,h-=S,r.lens[r.have++]=y;else{if(16===y){x=S+2;while(h<x){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(u>>>=S,h-=S,0===r.have){t.msg="invalid bit length repeat",r.mode=Tt;break}T=r.lens[r.have-1],m=3+(3&u),u>>>=2,h-=2}else if(17===y){x=S+3;while(h<x){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}h-=S,T=0,m=3+(7&(u>>>=S)),u>>>=3,h-=3}else{x=S+7;while(h<x){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}h-=S,T=0,m=11+(127&(u>>>=S)),u>>>=7,h-=7}if(r.have+m>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=Tt;break}while(m--)r.lens[r.have++]=T}}if(r.mode===Tt)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=Tt;break}if(r.lenbits=9,A={bits:r.lenbits},P=F(L,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,P){t.msg="invalid literal/lengths set",r.mode=Tt;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},P=F(M,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,P){t.msg="invalid distances set",r.mode=Tt;break}if(r.mode=mt,e===_)break t;case mt:r.mode=pt;case pt:if(6<=o&&258<=l){t.next_out=s,t.avail_out=l,t.next_in=a,t.avail_in=o,r.hold=u,r.bits=h,N(t,d),s=t.next_out,n=t.output,l=t.avail_out,a=t.next_in,i=t.input,o=t.avail_in,u=r.hold,h=r.bits,r.mode===at&&(r.back=-1);break}for(r.back=0;;){if(b=(f=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,y=65535&f,(S=f>>>24)<=h)break;if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(b&&0==(240&b)){for(v=S,w=b,C=y;;){if(b=(f=r.lencode[C+((u&(1<<v+w)-1)>>v)])>>>16&255,y=65535&f,v+(S=f>>>24)<=h)break;if(0===o)break t;o--,u+=i[a++]<<h,h+=8}u>>>=v,h-=v,r.back+=v}if(u>>>=S,h-=S,r.back+=S,r.length=y,0===b){r.mode=yt;break}if(32&b){r.back=-1,r.mode=at;break}if(64&b){t.msg="invalid literal/length code",r.mode=Tt;break}r.extra=15&b,r.mode=gt;case gt:if(r.extra){x=r.extra;while(h<x){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,h-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=ft;case ft:for(;;){if(b=(f=r.distcode[u&(1<<r.distbits)-1])>>>16&255,y=65535&f,(S=f>>>24)<=h)break;if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(0==(240&b)){for(v=S,w=b,C=y;;){if(b=(f=r.distcode[C+((u&(1<<v+w)-1)>>v)])>>>16&255,y=65535&f,v+(S=f>>>24)<=h)break;if(0===o)break t;o--,u+=i[a++]<<h,h+=8}u>>>=v,h-=v,r.back+=v}if(u>>>=S,h-=S,r.back+=S,64&b){t.msg="invalid distance code",r.mode=Tt;break}r.offset=y,r.extra=15&b,r.mode=St;case St:if(r.extra){x=r.extra;while(h<x){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,h-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=Tt;break}r.mode=bt;case bt:if(0===l)break t;if(r.offset>(m=d-l)){if((m=r.offset-m)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=Tt;break}p=m>r.wnext?(m-=r.wnext,r.wsize-m):r.wnext-m,m>r.length&&(m=r.length),g=r.window}else g=n,p=s-r.offset,m=r.length;l-=m=l<m?l:m,r.length-=m;do{n[s++]=g[p++]}while(--m);0===r.length&&(r.mode=pt);break;case yt:if(0===l)break t;n[s++]=r.length,l--,r.mode=pt;break;case vt:if(r.wrap){while(h<32){if(0===o)break t;o--,u|=i[a++]<<h,h+=8}if(d-=l,t.total_out+=d,r.total+=d,d&&(t.adler=r.check=(r.flags?k:E)(r.check,n,d,s-d)),d=l,(r.flags?u:At(u))!==r.check){t.msg="incorrect data check",r.mode=Tt;break}h=u=0}r.mode=wt;case wt:if(r.wrap&&r.flags){while(h<32){if(0===o)break t;o--,u+=i[a++]<<h,h+=8}if(u!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=Tt;break}h=u=0}r.mode=Ct;case Ct:P=G;break t;case Tt:P=W;break t;case Pt:return q;case It:default:return j}if(t.next_out=s,t.avail_out=l,t.next_in=a,t.avail_in=o,r.hold=u,r.bits=h,(r.wsize||d!==t.avail_out&&r.mode<Tt&&(r.mode<vt||e!==O))&&Dt(t,t.output,t.next_out,d-t.avail_out))return r.mode=Pt,q;return c-=t.avail_in,d-=t.avail_out,t.total_in+=c,t.total_out+=d,r.total+=d,r.wrap&&d&&(t.adler=r.check=(r.flags?k:E)(r.check,n,d,t.next_out-d)),t.data_type=r.bits+(r.last?64:0)+(r.mode===at?128:0)+(r.mode===mt||r.mode===lt?256:0),P=(0==c&&0===d||e===O)&&P===V?z:P}function S(t){if(!t||!t.state)return j;var e=t.state;return e.window&&(e.window=null),t.state=null,V}function b(t,e){var t;if(!t||!t.state)return j;if(0==(2&(t=t.state).wrap))return j;return(t.head=e).done=!1,V}r.inflateReset=u,r.inflateReset2=h,r.inflateResetKeep=l,r.inflateInit=d,r.inflateInit2=c,r.inflate=f,r.inflateEnd=S,r.inflateGetHeader=b,r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(t,e,r){"use strict";var M=t("../utils/common"),O=15,H=852,_=592,V=0,G=1,U=2,j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],W=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],z=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function t(e,r,i,n,a,s,o,l){for(var u=l.bits,h=0,c=0,d=0,m=0,p=0,g=0,f=0,S=0,b=0,y=0,v,w,C,T,P,I=null,A=0,x,D=new M.Buf16(O+1),B=new M.Buf16(O+1),E=null,k=0,N,F,R,h=0;h<=O;h++)D[h]=0;for(c=0;c<n;c++)D[r[i+c]]++;for(p=u,m=O;1<=m;m--)if(0!==D[m])break;if(m<p&&(p=m),0===m)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,l.bits=1,0;for(d=1;d<m;d++)if(0!==D[d])break;for(p<d&&(p=d),h=S=1;h<=O;h++)if(S<<=1,(S-=D[h])<0)return-1;if(0<S&&(e===V||1!==m))return-1;for(B[1]=0,h=1;h<O;h++)B[h+1]=B[h]+D[h];for(c=0;c<n;c++)0!==r[i+c]&&(o[B[r[i+c]]++]=c);if(x=e===V?(I=E=o,19):e===G?(I=j,A-=257,E=W,k-=257,256):(I=q,E=z,-1),h=d,P=s,C=-1,T=(b=1<<(g=p))-1,e===G&&H<b||e===U&&_<b)return 1;for(var L=f=c=y=0;;){L++,R=o[c]<x?(F=0,o[c]):o[c]>x?(F=E[k+o[c]],I[A+o[c]]):(F=32+64,0),v=1<<(N=h-f),d=w=1<<g;do{a[P+(y>>f)+(w-=v)]=N<<24|F<<16|R|0}while(0!==w);v=1<<h-1;while(y&v)v>>=1;if(0!==v?(y&=v-1,y+=v):y=0,c++,0==--D[h]){if(h===m)break;h=r[i+o[c]]}if(p<h&&(y&T)!==C){P+=d,S=1<<(g=h-(f=0===f?p:f));while(g+f<m){if((S-=D[g+f])<=0)break;g++,S<<=1}if(b+=1<<g,e===G&&H<b||e===U&&_<b)return 1;a[C=y&T]=p<<24|g<<16|P-s|0}}return 0!==y&&(a[P+y]=h-f<<24|64<<16|0),l.bits=p,0}},{"../utils/common":27}],37:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(t,e,r){"use strict";var n=t("../utils/common"),o=4,i=0,a=1,l=2;function s(t){var e=t.length;while(0<=--e)t[e]=0}var u=0,h=1,c=2,d=3,m=258,p=29,g=256,f=g+1+p,S=30,b=19,y=2*f+1,v=15,w=16,C=7,T=256,P=16,I=17,A=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],t=512,k=new Array(2*(f+2));s(k);var N=new Array(2*S);s(N);var F=new Array(t);s(F);var R=new Array(m-d+1);s(R);var L=new Array(p);s(L);var M=new Array(S);s(M);var O=function(t,e,r,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=t&&t.length},H,_,V,G=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e};function U(t){return t<256?F[t]:F[256+(t>>>7)]}function j(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function W(t,e,r){t.bi_valid>w-r?(t.bi_buf|=e<<t.bi_valid&65535,j(t,t.bi_buf),t.bi_buf=e>>w-t.bi_valid,t.bi_valid+=r-w):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function q(t,e,r){W(t,r[2*e],r[2*e+1])}function z(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(0<--e);return r>>>1}function X(t){16===t.bi_valid?(j(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function J(t,e){for(var r=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length,u,h,c,d,m,p,g=0,d=0;d<=v;d++)t.bl_count[d]=0;for(r[2*t.heap[t.heap_max]+1]=0,u=t.heap_max+1;u<y;u++){if(l<(d=r[2*r[2*(h=t.heap[u])+1]+1]+1)&&(d=l,g++),r[2*h+1]=d,i<h)continue;t.bl_count[d]++,m=0,o<=h&&(m=s[h-o]),p=r[2*h],t.opt_len+=p*(d+m),a&&(t.static_len+=p*(n[2*h+1]+m))}if(0===g)return;do{d=l-1;while(0===t.bl_count[d])d--;t.bl_count[d]--,t.bl_count[d+1]+=2,t.bl_count[l]--,g-=2}while(0<g);for(d=l;0!==d;d--){h=t.bl_count[d];while(0!==h){if(i<(c=t.heap[--u]))continue;r[2*c+1]!==d&&(t.opt_len+=(d-r[2*c+1])*r[2*c],r[2*c+1]=d),h--}}}function Y(t,e,r){for(var i=new Array(v+1),n=0,a,s,a=1;a<=v;a++)i[a]=n=n+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[2*s+1];if(0===o)continue;t[2*s]=z(i[o]++,o)}}function Q(){for(var t,e,r,i,n,a=new Array(v+1),r=0,i=0;i<p-1;i++)for(L[i]=r,t=0;t<1<<x[i];t++)R[r++]=i;for(R[r-1]=i,i=n=0;i<16;i++)for(M[i]=n,t=0;t<1<<D[i];t++)F[n++]=i;for(n>>=7;i<S;i++)for(M[i]=n<<7,t=0;t<1<<D[i]-7;t++)F[256+n++]=i;for(e=0;e<=v;e++)a[e]=0;t=0;while(t<=143)k[2*t+1]=8,t++,a[8]++;while(t<=255)k[2*t+1]=9,t++,a[9]++;while(t<=279)k[2*t+1]=7,t++,a[7]++;while(t<=287)k[2*t+1]=8,t++,a[8]++;for(Y(k,f+1,a),t=0;t<S;t++)N[2*t+1]=5,N[2*t]=z(t,5);H=new O(k,x,g+1,f,v),_=new O(N,D,0,S,v),V=new O(new Array(0),B,0,b,C)}function K(t){for(var e,e=0;e<f;e++)t.dyn_ltree[2*e]=0;for(e=0;e<S;e++)t.dyn_dtree[2*e]=0;for(e=0;e<b;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*T]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function Z(t){8<t.bi_valid?j(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function $(t,e,r,i){Z(t),i&&(j(t,r),j(t,~r)),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function tt(t,e,r,i){var n=2*e,a=2*r;return t[n]<t[a]||t[n]===t[a]&&i[e]<=i[r]}function et(t,e,r){var i=t.heap[r],n=r<<1;while(n<=t.heap_len){if(n<t.heap_len&&tt(e,t.heap[n+1],t.heap[n],t.depth)&&n++,tt(e,i,t.heap[n],t.depth))break;t.heap[r]=t.heap[n],r=n,n<<=1}t.heap[r]=i}function rt(t,e,r){var i,n,a=0,s,o;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],n=t.pending_buf[t.l_buf+a],a++,0==i?q(t,n,e):(q(t,(s=R[n])+g+1,e),0!==(o=x[s])&&W(t,n-=L[s],o),q(t,s=U(--i),r),0!==(o=D[s])&&W(t,i-=M[s],o))}while(a<t.last_lit);q(t,T,e)}function it(t,e){var r=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,a=e.stat_desc.elems,s,o,l=-1,u;for(t.heap_len=0,t.heap_max=y,s=0;s<a;s++)0!==r[2*s]?(t.heap[++t.heap_len]=l=s,t.depth[s]=0):r[2*s+1]=0;while(t.heap_len<2)r[2*(u=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[u]=0,t.opt_len--,n&&(t.static_len-=i[2*u+1]);for(e.max_code=l,s=t.heap_len>>1;1<=s;s--)et(t,r,s);u=a;do{s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],et(t,r,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,r[2*u]=r[2*s]+r[2*o],t.depth[u]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,r[2*s+1]=r[2*o+1]=u,t.heap[1]=u++,et(t,r,1)}while(2<=t.heap_len);t.heap[--t.heap_max]=t.heap[1],J(t,e),Y(r,l,t.bl_count)}function nt(t,e,r){var i,n=-1,a,s=e[0*2+1],o=0,l=7,u=4;for(0===s&&(l=138,u=3),e[2*(r+1)+1]=65535,i=0;i<=r;i++){if(a=s,s=e[2*(i+1)+1],++o<l&&a===s)continue;o<u?t.bl_tree[2*a]+=o:0!==a?(a!==n&&t.bl_tree[2*a]++,t.bl_tree[2*P]++):o<=10?t.bl_tree[2*I]++:t.bl_tree[2*A]++,n=a,u=(o=0)===s?(l=138,3):a===s?(l=6,3):(l=7,4)}}function at(t,e,r){var i,n=-1,a,s=e[0*2+1],o=0,l=7,u=4;for(0===s&&(l=138,u=3),i=0;i<=r;i++){if(a=s,s=e[2*(i+1)+1],++o<l&&a===s)continue;if(o<u)do{q(t,a,t.bl_tree)}while(0!=--o);else 0!==a?(a!==n&&(q(t,a,t.bl_tree),o--),q(t,P,t.bl_tree),W(t,o-3,2)):o<=10?(q(t,I,t.bl_tree),W(t,o-3,3)):(q(t,A,t.bl_tree),W(t,o-11,7));n=a,u=(o=0)===s?(l=138,3):a===s?(l=6,3):(l=7,4)}}function st(t){var e;for(nt(t,t.dyn_ltree,t.l_desc.max_code),nt(t,t.dyn_dtree,t.d_desc.max_code),it(t,t.bl_desc),e=b-1;3<=e;e--)if(0!==t.bl_tree[2*E[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function ot(t,e,r,i){var n;for(W(t,e-257,5),W(t,r-1,5),W(t,i-4,4),n=0;n<i;n++)W(t,t.bl_tree[2*E[n]+1],3);at(t,t.dyn_ltree,e-1),at(t,t.dyn_dtree,r-1)}function lt(t){for(var e=4093624447,r,r=0;r<=31;r++,e>>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return i;if(0!==t.dyn_ltree[9*2]||0!==t.dyn_ltree[10*2]||0!==t.dyn_ltree[13*2])return a;for(r=32;r<g;r++)if(0!==t.dyn_ltree[2*r])return a;return i}var ut=!1;function ht(t){ut||(Q(),ut=!0),t.l_desc=new G(t.dyn_ltree,H),t.d_desc=new G(t.dyn_dtree,_),t.bl_desc=new G(t.bl_tree,V),t.bi_buf=0,t.bi_valid=0,K(t)}function ct(t,e,r,i){W(t,(u<<1)+(i?1:0),3),$(t,e,r,!0)}function dt(t){W(t,h<<1,3),q(t,T,k),X(t)}function mt(t,e,r,i){var n,a,s=0;0<t.level?(t.strm.data_type===l&&(t.strm.data_type=lt(t)),it(t,t.l_desc),it(t,t.d_desc),s=st(t),n=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=n&&(n=a)):n=a=r+5,r+4<=n&&-1!==e?ct(t,e,r,i):t.strategy===o||a===n?(W(t,(h<<1)+(i?1:0),3),rt(t,k,N)):(W(t,(c<<1)+(i?1:0),3),ot(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),rt(t,t.dyn_ltree,t.dyn_dtree)),K(t),i&&Z(t)}function pt(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(R[r]+g+1)]++,t.dyn_dtree[2*U(e)]++),t.last_lit===t.lit_bufsize-1}r._tr_init=ht,r._tr_stored_block=ct,r._tr_flush_block=mt,r._tr_tally=pt,r._tr_align=dt},{"../utils/common":27}],39:[function(t,e,r){"use strict";function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=i},{}]},{},[9])(9),"object"==typeof module&&(module.exports=Y),Y.tsfb=function(t,s,r,o){function l(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r=r||Promise)(function(e,r){function i(t){try{a(o.next(t))}catch(t){r(t)}}function n(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?e(t.value):l(t.value).then(i,n)}a((o=o.apply(t,s||[])).next())})},Ae.b.Activator=class{static createInstance(t){return new t}},Ae.b.Attribute=class{};{let h=class{static encode(t){let e="";var r,i,n;let a,s,o,l,u=0;t=h.utf8_encode(t);while(u<t.length)r=t.charCodeAt(u++),i=t.charCodeAt(u++),n=t.charCodeAt(u++),a=r>>2,s=(3&r)<<4|i>>4,o=(15&i)<<2|n>>6,l=63&n,isNaN(i)?o=l=64:isNaN(n)&&(l=64),e=e+h.keyStr.charAt(a)+h.keyStr.charAt(s)+h.keyStr.charAt(o)+h.keyStr.charAt(l);return e}static decode(t){let e="";var r,i,n,a,s,o,l;let u=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u<t.length)a=this.keyStr.indexOf(t.charAt(u++)),i=(15&(s=this.keyStr.indexOf(t.charAt(u++))))<<4|(o=this.keyStr.indexOf(t.charAt(u++)))>>2,n=(3&o)<<6|(l=this.keyStr.indexOf(t.charAt(u++))),e+=String.fromCharCode(r=a<<2|s>>4),64!=o&&(e+=String.fromCharCode(i)),64!=l&&(e+=String.fromCharCode(n));return e=h.utf8_decode(e),e}static utf8_encode(e){let r="";e=e.replace(/\r\n/g,"\n");for(let t=0;t<e.length;t++){var i=e.charCodeAt(t);i<128?r+=String.fromCharCode(i):(127<i&&i<2048?r+=String.fromCharCode(i>>6|192):(r+=String.fromCharCode(i>>12|224),r+=String.fromCharCode(i>>6&63|128)),r+=String.fromCharCode(63&i|128))}return r}static utf8_decode(t){let e="",r=0,i,n,a=0;while(r<t.length)(i=t.charCodeAt(r))<128?(e+=String.fromCharCode(i),r++):191<i&&i<224?(n=t.charCodeAt(r+1),e+=String.fromCharCode((31&i)<<6|63&n),r+=2):(n=t.charCodeAt(r+1),a=t.charCodeAt(r+2),e+=String.fromCharCode((15&i)<<12|(63&n)<<6|63&a),r+=3);return e}};h.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ae.b.Base64=h}(l=s=Ae.bh.UnicodeCategory||(Ae.bh.UnicodeCategory={}))[l["UppercaseLetter"]=0]="UppercaseLetter",l[l["LowercaseLetter"]=1]="LowercaseLetter",l[l["TitlecaseLetter"]=2]="TitlecaseLetter",l[l["ModifierLetter"]=3]="ModifierLetter",l[l["OtherLetter"]=4]="OtherLetter",l[l["NonSpacingMark"]=5]="NonSpacingMark",l[l["SpacingCombiningMark"]=6]="SpacingCombiningMark",l[l["EnclosingMark"]=7]="EnclosingMark",l[l["DecimalDigitNumber"]=8]="DecimalDigitNumber",l[l["LetterNumber"]=9]="LetterNumber",l[l["OtherNumber"]=10]="OtherNumber",l[l["SpaceSeparator"]=11]="SpaceSeparator",l[l["LineSeparator"]=12]="LineSeparator",l[l["ParagraphSeparator"]=13]="ParagraphSeparator",l[l["Control"]=14]="Control",l[l["Format"]=15]="Format",l[l["Surrogate"]=16]="Surrogate",l[l["PrivateUse"]=17]="PrivateUse",l[l["ConnectorPunctuation"]=18]="ConnectorPunctuation",l[l["DashPunctuation"]=19]="DashPunctuation",l[l["OpenPunctuation"]=20]="OpenPunctuation",l[l["ClosePunctuation"]=21]="ClosePunctuation",l[l["InitialQuotePunctuation"]=22]="InitialQuotePunctuation",l[l["FinalQuotePunctuation"]=23]="FinalQuotePunctuation",l[l["OtherPunctuation"]=24]="OtherPunctuation",l[l["MathSymbol"]=25]="MathSymbol",l[l["CurrencySymbol"]=26]="CurrencySymbol",l[l["ModifierSymbol"]=27]="ModifierSymbol",l[l["OtherSymbol"]=28]="OtherSymbol",l[l["OtherNotAssigned"]=29]="OtherNotAssigned";let xe=Ae.bh.UnicodeCategory;{let r=class{static isUpper(t,e=0){var r;return this.getUnicodeCategory(t,e)==xe.UppercaseLetter}static isLower(t,e=0){var r;return this.getUnicodeCategory(t,e)==xe.LowercaseLetter}static isLetter(t,e=0){var e=this.getUnicodeCategory(t,e);return this.checkLetter(e)}static isDigit(t,e=0){var r,i;if(null!=t&&"number"==typeof t)return Ae.b.Chars.getUnicodeCategory(t)==xe.DecimalDigitNumber;return this.getUnicodeCategory(t,e)==xe.DecimalDigitNumber}static isLetterOrDigit(t,e=0){var e=this.getUnicodeCategory(t,e);return this.checkLetter(e)||e==xe.DecimalDigitNumber}static toLower(t){return t.toLocaleLowerCase()}static toUpper(t){return t.toLocaleUpperCase()}static isWhitespace(t,e=0,r=!0){if(null==t||t.length<e+1)return!1;var e=t.charCodeAt(e);if(32==e||9<=e&&e<=13||160==e&&r||133==e)return!0;var e=Ae.b.Chars.getUnicodeCategory(e);return e==xe.SpaceSeparator||e==xe.LineSeparator||e==xe.ParagraphSeparator}static checkLetter(t){return t==xe.UppercaseLetter||t==xe.LowercaseLetter||t==xe.TitlecaseLetter||t==xe.ModifierLetter||t==xe.OtherLetter}static getUnicodeCategory(t,e=0){if(null==t||t.length<e+1)return xe.OtherNotAssigned;var e=t.charCodeAt(e);return Ae.b.Chars.getUnicodeCategory(e)}static isControl(t,e=0){return r.getUnicodeCategory(t,e)==xe.Control}};Ae.b.Char=r}var k=class{static getUnicodeCategory(t){if(t<13312)return this._table_0[t];if(t<19894)return xe.OtherLetter;if(t<19904)return xe.OtherNotAssigned;if(t<19968)return xe.OtherSymbol;if(t<40896)return xe.OtherLetter;if(t<44032)return this._table_9fc0[t-40896];if(t<55168)return xe.OtherLetter;if(t<55296)return this._table_d780[t-55168];if(t<57344)return xe.Surrogate;if(t<63744)return xe.PrivateUse;if(t<64064)return xe.OtherLetter;if(t<65536)return this._table_fa40[t-64064];return xe.OtherNotAssigned}},N,F,R,L,M,O,H,_,V,G;k._table_0=[14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,11,24,24,24,26,24,24,24,20,21,24,25,24,19,24,24,8,8,8,8,8,8,8,8,8,8,24,24,25,25,25,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,24,21,27,18,27,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,4,6,6,6,5,5,5,5,5,5,5,5,6,6,6,6,5,6,6,4,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,5,5,24,24,8,8,8,8,8,8,8,8,8,8,24,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,6,29,4,4,4,4,4,4,4,4,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,29,29,29,4,4,4,4,29,29,5,4,6,6,6,5,5,5,5,29,29,6,6,29,29,6,6,5,4,29,29,29,29,29,29,29,29,6,29,29,29,29,4,4,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,4,4,26,26,10,10,10,10,10,10,28,26,29,29,29,29,29,5,5,6,29,4,4,4,4,4,4,29,29,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,29,4,4,29,29,5,29,6,6,6,5,5,29,29,29,29,5,5,29,29,5,5,5,29,29,29,5,29,29,29,29,29,29,29,4,4,4,4,29,4,29,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,5,5,4,4,4,5,29,29,29,29,29,29,29,29,29,29,29,5,5,6,29,4,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,4,4,4,29,29,5,4,6,6,6,5,5,5,5,5,29,5,5,6,29,6,6,5,29,29,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,24,26,29,29,29,29,29,29,29,4,29,29,29,29,29,29,29,5,6,6,29,4,4,4,4,4,4,4,4,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,4,4,4,29,29,5,4,6,5,6,5,5,5,5,29,29,6,6,29,29,6,6,5,29,29,29,29,29,29,29,29,5,6,29,29,29,29,4,4,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,28,4,10,10,10,10,10,10,29,29,29,29,29,29,29,29,29,29,5,4,29,4,4,4,4,4,4,29,29,29,4,4,4,29,4,4,4,4,29,29,29,4,4,29,4,29,4,4,29,29,29,4,4,29,29,29,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,6,6,5,6,6,29,29,29,6,6,6,29,6,6,6,5,29,29,4,29,29,29,29,29,29,6,29,29,29,29,29,29,29,29,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,10,10,10,28,28,28,28,28,28,26,28,29,29,29,29,29,5,6,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,5,5,5,6,6,6,6,29,5,5,5,29,5,5,5,5,29,29,29,29,29,29,29,5,5,29,4,4,4,29,29,29,29,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,29,29,10,10,10,10,10,10,10,28,29,5,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,29,29,5,4,6,5,6,6,6,6,6,29,5,6,6,29,6,6,5,5,29,29,29,29,29,29,29,6,6,29,29,29,29,29,29,29,4,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,6,6,6,5,5,5,5,29,6,6,6,29,6,6,6,5,4,29,29,29,29,29,29,29,29,6,29,29,29,29,29,29,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,29,29,29,28,4,4,4,4,4,4,29,29,6,6,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,29,4,29,29,4,4,4,4,4,4,4,29,29,29,5,29,29,29,29,6,6,6,5,5,5,29,5,29,6,6,6,6,6,6,6,6,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,29,29,6,6,24,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,4,5,5,5,5,5,5,5,29,29,29,29,26,4,4,4,4,4,4,3,5,5,5,5,5,5,5,5,24,8,8,8,8,8,8,8,8,8,8,24,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,29,4,29,29,4,4,29,4,29,29,4,29,29,29,29,29,29,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,29,4,29,4,29,29,4,4,29,4,4,4,4,5,4,4,5,5,5,5,5,5,29,5,5,4,29,29,4,4,4,4,4,29,3,29,5,5,5,5,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,28,28,28,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,28,24,28,28,28,5,5,28,28,28,28,28,28,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,28,5,28,5,28,5,20,21,20,21,6,6,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,5,5,5,5,5,24,5,5,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,29,28,28,28,28,28,28,28,28,5,28,28,28,28,28,28,29,28,28,24,24,24,24,24,28,28,28,28,24,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,5,5,5,6,5,5,5,5,5,5,6,5,5,6,6,5,5,4,8,8,8,8,8,8,8,8,8,8,24,24,24,24,24,24,4,4,4,4,4,4,6,6,5,5,4,4,4,4,5,5,5,4,6,6,6,4,4,6,6,6,6,6,6,6,4,4,4,5,5,5,5,4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,4,4,4,4,4,4,4,4,4,4,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,20,21,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,24,24,24,9,9,9,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,5,5,5,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,24,24,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,29,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,5,6,6,5,5,5,5,5,5,5,5,5,5,5,24,24,24,3,24,24,24,26,4,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,10,10,10,10,10,10,10,10,10,10,29,29,29,29,29,29,24,24,24,24,24,24,19,24,24,24,24,5,5,5,15,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,5,5,5,6,6,6,6,5,5,6,6,6,29,29,29,29,6,6,5,6,6,6,6,6,6,5,5,5,29,29,29,29,28,29,29,29,24,24,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,10,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,6,5,29,29,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,6,5,5,5,5,5,5,5,29,5,6,5,6,6,5,5,5,5,5,5,5,5,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,29,29,5,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,24,24,24,24,24,24,24,3,24,24,24,24,24,24,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,7,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,5,5,5,6,5,6,6,6,6,6,5,6,6,4,4,4,4,4,4,4,29,29,29,29,8,8,8,8,8,8,8,8,8,8,24,24,24,24,24,24,24,28,28,28,28,28,28,28,28,28,28,5,5,5,5,5,5,5,5,5,28,28,28,28,28,28,28,28,28,29,29,29,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,5,5,5,6,6,5,5,6,5,5,5,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,6,6,6,5,6,5,5,5,6,6,29,29,29,29,29,29,29,29,24,24,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,6,6,5,5,29,29,29,24,24,24,24,24,8,8,8,8,8,8,8,8,8,8,29,29,29,4,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,29,29,0,0,0,0,0,0,29,29,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,29,29,0,0,0,0,0,0,29,29,1,1,1,1,1,1,1,1,29,0,29,0,29,0,29,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,29,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,29,1,1,0,0,0,0,2,27,1,27,27,27,1,1,1,29,1,1,0,0,0,0,2,27,27,27,1,1,1,1,29,29,1,1,0,0,0,0,29,27,27,27,1,1,1,1,1,1,1,1,0,0,0,0,0,27,27,27,29,29,1,1,1,29,1,1,0,0,0,0,2,27,27,29,11,11,11,11,11,11,11,11,11,11,11,15,15,15,15,15,19,19,19,19,19,19,24,24,22,23,20,22,22,23,20,22,24,24,24,24,24,24,24,24,12,13,15,15,15,15,15,11,24,24,24,24,24,24,24,24,24,22,23,24,24,24,24,18,18,24,24,24,25,20,21,24,24,24,24,24,24,24,24,24,24,24,25,24,18,24,24,24,24,24,24,24,24,24,24,11,15,15,15,15,15,29,15,15,15,15,15,15,15,15,15,15,10,3,29,29,10,10,10,10,10,10,25,25,25,20,21,3,10,10,10,10,10,10,10,10,10,10,25,25,25,20,21,29,3,3,3,3,3,3,3,3,3,3,3,3,3,29,29,29,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,7,7,7,7,5,7,7,7,5,5,5,5,5,5,5,5,5,5,5,5,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,0,28,28,28,28,0,28,28,1,0,0,0,1,1,0,0,0,1,28,0,28,28,25,0,0,0,0,0,28,28,28,28,28,28,0,28,0,28,0,28,0,0,0,0,28,1,0,0,0,0,1,4,4,4,4,1,28,28,1,1,0,0,25,25,25,25,25,0,1,1,1,1,28,25,28,28,1,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,0,1,9,9,9,9,10,28,28,29,29,29,29,25,25,25,25,25,28,28,28,28,28,25,25,28,28,28,28,25,28,28,25,28,28,25,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,28,28,25,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,20,21,20,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,28,28,28,28,28,28,28,20,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,20,21,20,21,20,21,20,21,20,21,20,21,20,21,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,20,21,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,0,1,0,0,0,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,3,3,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,28,28,28,28,28,28,0,1,0,1,5,5,5,0,1,29,29,29,29,29,24,24,24,24,10,24,24,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,1,29,29,29,29,29,1,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,3,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,24,22,23,22,23,24,24,24,22,23,24,22,23,24,24,24,24,24,24,24,24,24,19,24,24,19,24,22,23,24,24,22,23,20,21,20,21,20,21,20,21,24,24,24,24,24,3,24,24,24,24,24,24,24,24,24,24,19,19,24,24,24,24,19,24,20,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,11,24,24,24,28,3,4,9,20,21,20,21,20,21,20,21,20,21,28,28,20,21,20,21,20,21,20,21,19,20,21,21,28,9,9,9,9,9,9,9,9,9,5,5,5,5,6,6,19,3,3,3,3,3,28,28,9,9,9,3,4,24,28,28,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,5,5,27,27,3,3,4,19,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,24,3,3,3,4,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,28,28,10,10,10,10,28,28,28,28,28,28,28,28,28,28,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],k._table_9fc0=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,4,5,7,7,7,24,5,5,5,5,5,5,5,5,5,5,24,3,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,3,5,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,9,9,9,9,9,9,9,9,9,5,5,24,24,24,24,24,24,29,29,29,29,29,29,29,29,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,3,3,3,3,3,3,3,3,3,27,27,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,1,1,1,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,3,27,27,0,1,0,1,4,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,29,29,0,0,0,0,0,1,0,1,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,3,3,1,4,4,4,4,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,5,6,28,28,28,28,29,29,29,29,10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,5,5,6,6,5,5,29,29,29,29,29,29,29,29,29,4,4,4,5,4,4,4,4,4,4,4,4,5,6,29,29,8,8,8,8,8,8,8,8,8,8,29,29,24,24,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,28,28,28,4,6,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,5,5,5,4,4,5,5,4,4,4,4,4,5,5,4,5,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,3,24,24,4,4,4,4,4,4,4,4,4,4,4,6,5,5,6,6,24,24,4,3,3,6,5,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,27,3,3,3,3,1,1,1,1,1,1,29,29,29,29,29,29,29,29,29,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,6,6,5,6,6,24,6,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29],k._table_d780=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29],k._table_fa40=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,1,1,1,1,1,1,1,29,29,29,29,29,29,29,29,29,29,29,29,1,1,1,1,1,29,29,29,29,29,4,5,4,4,4,4,4,4,4,4,4,4,25,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,29,4,29,4,4,29,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,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29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,26,28,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,24,24,24,24,24,24,20,21,24,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,19,19,18,18,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,24,24,20,21,24,24,24,24,18,18,18,24,24,24,29,24,24,24,24,19,20,21,20,21,20,21,24,24,24,25,19,25,25,25,29,24,26,24,24,29,29,29,29,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,15,29,24,24,24,26,24,24,24,20,21,24,25,24,19,24,24,8,8,8,8,8,8,8,8,8,8,24,24,25,25,25,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,24,21,27,18,27,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,20,25,21,25,20,21,24,20,21,24,24,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,29,29,29,26,26,25,27,28,26,26,29,28,25,25,25,25,28,28,29,29,29,29,29,29,29,29,29,29,15,15,15,28,28,29,29],Ae.b.Chars=k;{let r=class{static changeType(t,e){switch(e){case String:return t.toString();case Boolean:return t.stimulsoft().toBoolean();case Number:return t.stimulsoft().toNumber();case Ae.b.TimeSpan:return Ae.b.TimeSpan.fromString(t.toString());case Ae.b.DateTime:return Ae.b.DateTime.fromString(t.toString())}return t}static changeType2(t,e){switch(e){case Ae.b.TypeCode.Empty:return t;case Ae.b.TypeCode.Object:return t;case Ae.b.TypeCode.DBNull:return t;case Ae.b.TypeCode.Boolean:return t.stimulsoft().toBoolean();case Ae.b.TypeCode.Char:return t.toString();case Ae.b.TypeCode.SByte:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Byte:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Int16:return t.stimulsoft().toNumber();case Ae.b.TypeCode.UInt16:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Int32:return t.stimulsoft().toNumber();case Ae.b.TypeCode.UInt32:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Int64:return t.stimulsoft().toNumber();case Ae.b.TypeCode.UInt64:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Single:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Double:return t.stimulsoft().toNumber();case Ae.b.TypeCode.Decimal:return t.stimulsoft().toNumber();case Ae.b.TypeCode.DateTime:return Ae.b.DateTime.fromString(t.toString());case Ae.b.TypeCode.String:return t.toString()}return t}static toDateTime(t){if(t instanceof Ae.b.DateTime)return t;if("string"==typeof t)return Ae.b.DateTime.fromString(t);var e=Date.parse(t);if(isNaN(e))return t;return new Ae.b.DateTime(e)}static toString(t){if(null==t)return"";return t.toString()}static toFont(t){let e=[],r="",i=!1;for(var n of t.split(",")){var a;i&&(null!=Ae.b.Enum.parse(Ae.bn.FontStyle,n.trim())?r+="|"+n.trim():i=!1),i||(0<=n.toLowerCase().indexOf("style")?(r=n.substr(n.indexOf("=")+1),i=!0):e.push(n))}if(0<r.length&&e.splice(2,0,r),2==e.length)return new Ae.bn.Font(e[0],e[1].stimulsoft().toNumber());if(3==e.length)return new Ae.bn.Font(e[0],e[1].stimulsoft().toNumber(),Ae.b.Enum.parse(Ae.bn.FontStyle,e[2].stimulsoft().replaceAll("|",",")));if(4<=e.length)return new Ae.bn.Font(e[0],e[1].stimulsoft().toNumber(),Ae.b.Enum.parse(Ae.bn.FontStyle,e[2].stimulsoft().replaceAll("|",",")),Ae.b.Enum.parse(Ae.bn.GraphicsUnit,e[3]));return null}static toBoolean(t){if("string"==typeof t&&!Ae.b.StiString.isNullOrEmpty(t))return"true"==t.toLowerCase();return!!t}static toNumber(t){return+t}static toDouble(t){return r.toNumber(t)}static toInt32(t,e){return e?parseInt(t,e):r.toNumber(t)}static toInt64(t){return r.toNumber(t)}static toUInt64(t){return r.toNumber(t)}static toUInt32(t){return r.toNumber(t)}static toBase64String(t){if(void 0===t||null==t)return null;let e="";if("string"==typeof t)e=t,window&&window.atob&&(e=e.stimulsoft().toUnicodeString());else{var r=new Uint8Array(t);for(let t=0;t<r.byteLength;t++)e+=String.fromCharCode(r[t])}return window&&window.atob?window.btoa(e):Ae.b.Base64.encode(e)}static fromBase64String(t){if(void 0===t||null==t)return null;let r=[];try{let e=window&&window.atob?window.atob(t.split("\r\n").join("").split("\n").join("")):Ae.b.Base64.decode(t);if(this.isUTF16LE(e))return this.fromUTF16LE(e);for(let t=0;t<e.length;t++)r.push(e.charCodeAt(t))}catch(t){}return r}static fromBase64StringText(t){if(window&&window.atob)return window.atob(t).stimulsoft().fromUnicodeString();return Ae.b.Base64.decode(t)}static fromUTF16LE(r){let i=[];if(Ae.b.StiArray.isArray(r)){var e=r;for(let t=2;t<r.length;t+=2)i.push(e[t]|e[t+1]<<8)}else if("string"==typeof r){let e=r;for(let t=2;t<r.length;t+=2)i.push(e.charCodeAt(t)|e.charCodeAt(t+1)<<8)}return i}static isUTF16LE(t){if(Ae.b.StiArray.isArray(t))return 255==t[0]&&254==t[1];if("string"==typeof t)return 255==t.charCodeAt(0)&&254==t.charCodeAt(1);return!1}};r.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ae.b.Convert=r}let Ms;{let c=class{static initialize(r=null){0==c.isInitialize&&(c._isNodeJs=!0,Ms=require,Ae.bo.File.getFile=c.getFile,Ae.bo.File.saveFile=c.saveFile,Ae.bo.File.getFilesNames=c.getFilesNames,Ae.bo.Path.getSep=c.getSep,Y.StiVersion.platform=c.platform,Ae.am.StiSqlAdapterService.prototype.callRemoteApi=c.callRemoteApi,c.useWebKit||(Ae.bo.Http.getFile=c.getFileHttp,Ae.bo.Http.send=c.send,Ae.b.Convert.fromBase64String=c.fromBase64String,Ae.b.Convert.fromBase64StringText=c.fromBase64StringText,Ae.b.Convert.toBase64String=c.toBase64String,Ae.b.StiString.prototype.fromUnicodeString=c.fromUnicodeString,Ae.d.StiSettings.get=c.getSetting,Ae.d.StiSettings.set=c.setSetting,Ae.b.StiObject.saveAs=c.saveAs,Ae.bm.XmlConverter.toXml=Ae.bm.XmlConverter.toXml2,Ae.bn.Image.prototype.convertAsync=c.convertAsync),c.getLocalizationInfo(function(t){for(var e of t)(e.ext?Ae.c.Check.StiLocalizationExt:Ae.R.StiLocalization).addLocalizationFile(e.filePath,!1,e.language);null!=r&&r()}),Buffer.prototype.stimulsoft=function(){return new Ae.b.StiObject(this.valueOf())},Object.defineProperty(Buffer.prototype,"stimulsoft",{enumerable:!1})),c.isInitialize=!0}static platform(){let t=Ms("os");return t.platform()}static callRemoteApi(n,t){let a=new Ae.b.StiPromise;if(Ae.b.StiString.isNullOrEmpty(Y.StiOptions.WebServer.url)){var e=t=>{t.checkVersion=!1,t&&t.success&&a.callTry(t),t&&!t.success&&a.callCatch(t.notice),t||a.callCatch({success:!1,notice:""})};n.queryString=c.applyQueryParameters(n.queryString,n.parameters,n.escapeQueryParameters),"MySQL"==n.database?c.processMySql(n,e):"Firebird"==n.database?c.processFirebird(n,e):"MS SQL"==n.database?c.processMsSql(n,e):"PostgreSQL"==n.database?c.processPostgreSQL(n,e):e({success:!1,notice:"Database '"+n.database+"' not supported!"})}else try{n.rnd=Math.random();let t=Ms("https"),e=Ms("url");var s=e.parse(Y.StiOptions.WebServer.url);"http:"==s.protocol&&(t=Ms("http"));let r={host:s.hostName,path:s.path,port:s.port,method:"POST",headers:{}};if(n.headers)for(var o of n.headers)r.headers[o.key]=o.value;delete n.headers;let i=t.request(r,function(e){e.setEncoding("utf8");let r="";e.on("data",function(t){r+=t}),e.on("end",function(){var t;200==e.statusCode?(t=r,a.callTry(t)):a.callCatch(Ae.R.StiLocalization.get("DesignerFx","ConnectionError"))})});i.on("error",function(t){a.callCatch(Ae.R.StiLocalization.get("DesignerFx","ConnectionError"))}),i.write(Ae.am.StiSqlAdapterService.getStringCommand(n)),i.end()}catch(t){Ae.b.StiError.showError(t,!1),a.callCatch(t.message)}return a}static applyQueryParameters(r,i,n){if(null==r||r.indexOf("@")<0)return r;let a="";while(0<=r.indexOf("@")&&null!=i&&0<i.length){a+=r.substring(0,r.indexOf("@")),r=r.substring(r.indexOf("@")+1);let e="";while(0<r.length){let t=r.charAt(0);if(1!==t.length||!t.match(/[a-zA-Z0-9_-]/i))break;e+=t,r=r.substring(1)}let t=i.find(t=>t.name.toLowerCase()==e.toLowerCase());t?"number"!=t.type?a+=n?"'"+t.value.toString().replace(/\\/gi,"\\\\").replace(/\'/gi,"\\'").replace(/\"/gi,'\\"')+"'":"'"+t.value.toString()+"'":a+=t.value.toString():a+="@"+e}return a+r}static stripBom(t){if(Buffer.isBuffer(t)){if(239==t[0]&&187==t[1]&&191==t[2])return t.slice(3);if(254==t[0]&&255==t[1])return t.slice(2);if(255==t[0]&&254==t[1])return t.slice(2);if(0==t[0]&&0==t[1]&&254==t[2]&&255==t[3])return t.slice(4);if(255==t[0]&&254==t[1]&&0==t[2]&&0==t[3])return t.slice(4)}return t}static getFile(e,r=!1,t="",i=null){if(e.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi))return Ae.bo.Http.getFile(e,r,t,i);let n;try{let t=Ms("fs");n=c.stripBom(t.readFileSync(e.trim())),0==r&&"object"==typeof n&&(n=Ae.bl.Encoding.UTF8.getString(n))}catch(t){}return n}static getFileHttp(i,n=!1,a="",s=null){try{let t=Ms("sync-request"),e={headers:{"Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",ETag:"0"}};if(Ae.b.StiString.isNullOrEmpty(a)||(e.headers["Content-Type"]=a),s)for(var o of s)e.headers[o.key]=o.value;let r=t("GET",i,e);if(200==r.statusCode){if(n)return r.body;return Ae.bl.Encoding.UTF8.getString(c.stripBom(r.getBody()))}throw 404==r.statusCode?new Error("File not Found"):new Error("Status "+r.statusCode)}catch(t){}}static send(t,e,r,i=null){let n=Ms("sync-request"),a={headers:{}};if("get"===t.toLocaleLowerCase()&&(a.headers={"Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",ETag:"0"}),i)for(var s of i)a.headers[s.key]=s.value;let o=n(t,e,a);var e=Ae.bl.Encoding.UTF8.getString(c.stripBom(o.getBody()));return{status:o.statusCode,responseText:e,statusText:e}}static saveAs(t,e,r){let i=Ms("fs");i.writeFileSync(e,t)}static saveFile(t,e){let r=Ms("fs");r.writeFile(t,e,t=>{t&&Ae.b.StiError.showError(t)})}static getFilesNames(t){let e=Ms("fs");return e.readdirSync(t)}static getSep(){var t;return Ms("path").sep}static fromBase64String(t){var e=Buffer.from(t.toString(),"base64");let r=[];for(let t=0;t<e.length;t++){var i=e[t];r.push(i)}return r}static fromBase64StringText(t){return Buffer.from(t.toString(),"base64").toString("binary")}static toBase64String(t){if(null==t)return null;return"string"==typeof t&&(t=t.stimulsoft().toUnicodeString()),Buffer.from(t).toString("base64")}static fromUnicodeString(){return Buffer.from(this.toString(),"binary").toString("utf8")}static isNodeJs(){return 0==this.isInitialize&&(this._isNodeJs="undefined"==typeof window),this._isNodeJs}static isBuffer(t){return"undefined"!=typeof Buffer&&t instanceof Buffer}static fillInfo(a,s){let t=Ms("fs"),o=t.createReadStream(a.filePath);function l(){let t;while(null!==(t=o.read(200))){var e=t.indexOf("language"),e=t.indexOf('"',e)+1,r=t.indexOf('"',e),i=t.substring(e,r),n=t.indexOf("description"),n=t.indexOf('"',n)+1,e=t.indexOf('"',n),r=t.substring(n,e),n=t.indexOf("cultureName"),n=t.indexOf('"',n)+1,e=t.indexOf('"',n),e=t.substring(n,e);a.language=i,a.description=r,a.cultureName=e,o.removeListener("readable",l),s(a);break}}o.setEncoding("utf8"),o.on("readable",l),o.on("end",function(){})}static getLocalizationInfo(a){let s=Ms("fs"),o=[],l=Ms("path"),u=c.localizationPath,h=0;s.exists(u,function(t){if(t){var r=s.readdirSync(u),e,i;for(e in 0==r.length&&a(o),r)".xml"==l.extname(r[e])&&h++;for(i in r)if(".xml"==l.extname(r[i])){var n=u+"/"+r[i];let t=l.basename(n,".xml"),e=!1;t.indexOf(".ext")==t.length-4&&(e=!0),c.fillInfo({filePath:n,ext:e},function(t){o.push(t),o.length>=h&&a(o)})}}else a(o)})}static getSetting(t,e){return e}static setSetting(t,e){}};c.isInitialize=!1,c.convertAsync=function(s,o=!1){return Y.tsfb(this,void 0,void 0,function*(){return new Promise((n,a)=>{try{let i=this,e=i.data[s.toString()];if(null!=e)return n(i);if(null==e&&(e=i.data[Ae.bp.ImageFormat.Png.toString()]),null==e&&(e=i.data[Ae.bp.ImageFormat.Bmp.toString()]),null==e&&(e=i.data[Ae.bp.ImageFormat.Jpeg.toString()]),null==e&&(e=i.data[Ae.bp.ImageFormat.Gif.toString()]),null!=e){let t=Ms("jimp");var r=Buffer.from(e.base64.replace(/^data:image\/\w+;base64,/,""),"base64");return void t.read(r,function(t,r){if(t)return a(t);r.background(4294967295),o?r.getBuffer(s.mimeType,function(t,e){if(t)return a(t);i.imageData=e,r.getBase64(s.mimeType,function(t,e){if(t)return a(t);i.base64=e,n(i)})}):r.getBase64(s.mimeType,function(t,e){if(t)return a(t);i.base64=e,n(i)})})}if(null==e&&(e=i.data[Ae.bp.ImageFormat.Svg.toString()]),null==e)return a("No Image");{let t=Ms("svg2img");t(e.base64,function(t,e){return Y.tsfb(this,void 0,void 0,function*(){if(t)return a(t);i.bytes=e,s!=Ae.bp.ImageFormat.Png&&(yield i.convertAsync(s,o)),n(i)})})}}catch(t){a(t.message)}})})},c.processFirebird=function(n,e){let u=function(t){try{h&&h.detach(),e(t)}catch(t){throw Ae.b.StiError.showError(t,!1),t}},a=function(t){u({success:!1,notice:t})};try{var s=function(){e.attach(l,function(t,e){h=e,t?a(t.message):r()})};let t=function(t){h.query(t,void 0,function(t,e){t?a(t.message):i(e),h.detach()})},r=function(){n.queryString?t(n.queryString):u({success:!0})},i=function(e){let r=[],i=[],n=[],a=!1;for(var s in e){let t=[];for(var o in e[s]){a||r.push(o);var l=r.indexOf(o);if(n[l]=typeof e[s][o],(e[s][o]instanceof Uint8Array||e[s][o]instanceof Buffer)&&(e[s][o]=e[s][o].toString(),n[l]="string"),null!=e[s][o]&&"function"==typeof e[s][o].toISOString){let t=new Date(e[s][o].getTime()-6e4*e[s][o].getTimezoneOffset()).toISOString();e[s][o]=t.replace("Z",""),n[l]="datetime"}t[l]=e[s][o]}a=!0,i.push(t)}u({success:!0,columns:r,rows:i,types:n})};var o=function(t){let r={host:"localhost",port:"3050"},i=!1;for(var n in t.split(";")){let e=t.split(";")[n];if(e){let t=e.split("=");if(t&&2<=t.length)switch(t[0]=t[0].trim().toLowerCase(),t[1]=t[1].trim(),t[0]){case"server":case"host":case"location":case"datasource":case"data source":r["host"]=t[1];break;case"port":r["port"]=t[1];break;case"database":r["database"]=t[1],i=!0;break;case"uid":case"user":case"user id":r["userId"]=t[1];break;case"pwd":case"password":r["password"]=t[1];break;case"charset":r["charset"]=t[1];break}}}if(!i)return a("Connection String parse error"),null;return r},l,h;let e=Ms("node-firebird");n.connectionStringInfo=o(n.connectionString),n.connectionStringInfo&&(l={host:n.connectionStringInfo.host,port:n.connectionStringInfo.port,database:n.connectionStringInfo.database,user:n.connectionStringInfo.userId,password:n.connectionStringInfo.password,charset:n.connectionStringInfo.charset},s())}catch(t){Ae.b.StiError.showError(t,!1),a(t.stack)}},c.processMsSql=function(n,e){let d=function(t){try{u&&u.close(),e(t)}catch(t){throw Ae.b.StiError.showError(t,!1),t}},s=function(t){d({success:!1,notice:t})};try{var o=function(){u=new c.ConnectionPool(i,function(t){t?s(t.message):e()})};let t=function(t){let e=u.request();e.query(t,function(t,e){t?s(t.message):r(e)})},e=function(){n.queryString?t(n.queryString):d({success:!0})},r=function(r){let i=[],t=[],n=[];for(var e in(r=0<(r=r.recordset).length&&Ae.b.StiArray.isArray(r[0])?r[0]:r).columns){var e=r.columns[e],a=i.length;switch(i.push(e.name),e.type){case c.UniqueIdentifier:case c.BigInt:case c.timestamp:case c.Int:case c.SmallInt:case c.TinyInt:n[a]="int";break;case c.Decimal:case c.Money:case c.SmallMoney:case c.Float:case c.Real:n[a]="number";break;case c.DateTime:case c.Date:case c.DateTime2:case c.SmallDateTime:n[a]="datetime";break;case c.DateTimeOffset:n[a]="datetimeZ";break;case c.Time:n[a]="time";break;case c.Bit:n[a]="boolean";break;case c.Binary:case c.Image:n[a]="array";break;default:n[a]="string";break}}for(var s in r=0<r.length&&Array.isArray(r[0])?r[0]:r){let e=[];for(var o in r[s]){var l=i.indexOf(o),u;if((r[s][o]instanceof Uint8Array||r[s][o]instanceof Buffer)&&(n[l]="array",r[s][o]=Buffer.from(r[s][o]).toString("base64")),null!=r[s][o]&&"function"==typeof r[s][o].toISOString){let t=r[s][o].toISOString();"time"==n[l]?r[s][o]=t.substr(t.indexOf("T")+1).replace("Z",""):"datetimeZ"==n[l]?(u="+00:00",r[s][o]=t.replace("Z","")+u):(r[s][o]=t.replace("Z",""),n[l]="datetime")}if(""==o&&Array.isArray(r[s][o]))for(let t=0;t<r[s][o].length;t++)i.length<=l+t&&""!=i[l+t]&&(i.splice(l+t-1,0,i[l]),n.splice(l+t-1,0,n[l])),e[l+t]=r[s][o][t];else e[l]=r[s][o]}t.push(e)}for(var h in n)"datetimeZ"==n[h]&&(n[h]="datetimeoffset");d({success:!0,columns:i,rows:t,types:n})},a=function(t){const e={},r=/(.*),([0-9]+)/,i=r.exec(t);i&&(e.port=i[2].trim(),t=i[1].trim());const n=/(.*)\\(.*)/,a=n.exec(t);return a&&(e.instanceName=a[2].trim(),t=a[1].trim()),e.host=t,e};var l=function(t){let r={options:{trustServerCertificate:!0,cryptoCredentialsDetails:{minVersion:"TLSv1"}}};for(var i in t.split(";")){let e=t.split(";")[i];if(e){let t=e.split("=");if(t&&2<=t.length)switch(t[0]=t[0].trim().toLowerCase(),t[1]=t[1].trim(),t[0]){case"data source":case"server":var n=a(t[1]);r["server"]=n.host,"port"in n&&(r["port"]=+n.port),"instanceName"in n&&(r.options["instanceName"]=n.instanceName);break;case"database":case"initial catalog":r["database"]=t[1];break;case"uid":case"user":case"user id":r["user"]=t[1];break;case"pwd":case"password":r["password"]=t[1];break;case"domain":r["domain"]=t[1];break;case"encrypt":r.options["encrypt"]=!!t[1];break;case"connectiontimeout":r.options["connectionTimeout"]=t[1];break;case"requesttimeout":r.options["requestTimeout"]=t[1];break;case"tdsversion":r.options["tdsVersion"]=t[1];break;case"trustservercertificate":r.options["trustServerCertificate"]=!!t[1];break}}}return r},u;let c=Ms("mssql"),i=l(n.connectionString);!("connectionTimeout"in i)&&"timeout"in n&&(i["connectionTimeout"]=n.timeout),!("requestTimeout"in i)&&"timeout"in n&&(i["requestTimeout"]=n.timeout),o()}catch(t){Ae.b.StiError.showError(t,!1),s(t.stack)}},c.processMySql=function(n,e){let h=function(t){try{l&&l.end(),e(t)}catch(t){throw Ae.b.StiError.showError(t,!1),t}},a=function(t){h({success:!1,notice:t})};try{var s=function(){l.connect(function(t){t?a(t.message):e()})};let t=function(t,e){l.query("USE "+n.connectionStringInfo.database),l.query({sql:t,timeout:e},function(t,e,r){t?a(t.message):i(e,r)})},e=function(){n.queryString?t(n.queryString,n.timeout):h({success:!0})},i=function(e,t){let r=[],i=[],n=[];for(var a in t=0<t.length&&Ae.b.StiArray.isArray(t[0])?t[0]:t){var s=t[a];switch(r.push(s.name),s.type){case 16:n[a]="boolean";break;case 1:case 2:case 3:case 5:case 8:case 9:case 13:case 501:case 502:case 503:case 508:case 509:n[a]="int";break;case 0:case 4:case 246:n[a]="number";break;case 7:case 10:case 12:case 14:n[a]="datetime";break;case 11:n[a]="time";break;case 15:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 600:case 601:case 749:case 750:case 751:case 752:case 800:default:n[a]="string";break}}for(var o in e=0<e.length&&Ae.b.StiArray.isArray(e[0])?e[0]:e){let t=[];for(var l in e[o]){var u=r.indexOf(l);if((e[o][l]instanceof Uint8Array||e[o][l]instanceof Buffer)&&(n[u]="array",e[o][l]=Buffer.from(e[o][l]).toString("base64")),null!=e[o][l]&&"function"==typeof e[o][l].toISOString){let t=new Date(e[o][l].getTime()-6e4*e[o][l].getTimezoneOffset()).toISOString();e[o][l]=t.replace("Z",""),n[u]="datetime"}t[u]=e[o][l]}i.push(t)}h({success:!0,columns:r,rows:i,types:n})};var o=function(t){let r={host:"localhost",port:"3306",charset:"utf8"};for(var i in t.split(";")){let e=t.split(";")[i];if(e){let t=e.split("=");if(t&&2<=t.length)switch(t[0]=t[0].trim().toLowerCase(),t[1]=t[1].trim(),t[0]){case"server":case"host":case"location":r["host"]=t[1];break;case"port":r["port"]=t[1];break;case"database":case"data source":r["database"]=t[1];break;case"uid":case"user":case"username":case"userid":case"user id":r["userId"]=t[1];break;case"pwd":case"password":r["password"]=t[1];break;case"charset":r["charset"]=t[1];break}}}return r};let r=Ms("mysql");n.connectionStringInfo=o(n.connectionString);var l=r.createConnection({host:n.connectionStringInfo.host,user:n.connectionStringInfo.userId,password:n.connectionStringInfo.password,port:n.connectionStringInfo.port,charset:n.connectionStringInfo.charset,database:n.connectionStringInfo.database});s()}catch(t){Ae.b.StiError.showError(t,!1),a(t.stack)}},c.processPostgreSQL=function(n,e){let h=function(t){try{l&&l.end(),e(t)}catch(t){}},a=function(t){h({success:!1,notice:t})};try{var s=function(){l.connect(function(t){t?a(t):e()})};let t=function(t){l.query(t,function(t,e){t?a(t):r(e)})},e=function(){n.queryString?t(n.queryString):h({success:!0})},r=function(r){let e=[],i=[],n=[];for(var t in r.fields){var a=r.fields[t];switch(e.push(a.name),a.dataTypeID){case 16:n[t]="boolean";break;case 20:case 21:case 23:n[t]="int";break;case 700:case 701:case 790:n[t]="number";break;case 702:case 1082:case 1114:n[t]="datetime";break;case 1184:n[t]="datetimeZ";break;case 1083:n[t]="time";break;case 1266:n[t]="timeZ";break;case 17:case 18:case 19:case 24:case 25:case 26:case 27:case 28:case 29:case 114:case 142:case 194:case 210:case 602:case 604:case 650:case 703:case 704:case 718:case 774:case 829:case 869:case 1033:case 1042:case 1043:case 1186:case 1560:case 1562:case 1700:case 1790:case 2202:case 2203:case 2204:case 2205:case 2206:case 2950:case 2970:case 3220:case 3361:case 3402:case 3614:case 3615:case 3642:case 3734:case 3769:case 3802:case 4089:case 4096:default:n[t]="string";break}}for(var s in 0<r.rows.length&&Ae.b.StiArray.isArray(r.rows[0])&&(r.rows=r.rows[0]),r.rows){let t=[];for(var o in r.rows[s]){var l=e.indexOf(o);if(r.rows[s][o]instanceof Uint8Array&&(n[l]="array",r.rows[s][o]=Buffer.from(r.rows[s][o]).toString("base64")),null!=r.rows[s][o]&&"function"==typeof r.rows[s][o].toISOString)if("datetimeZ"==n[l])r.rows[s][o]=r.rows[s][o].toISOString();else{let t=new Date(r.rows[s][o].getTime()-6e4*r.rows[s][o].getTimezoneOffset()).toISOString();r.rows[s][o]=t.replace("Z",""),n[l]="datetime"}if(null!=r.rows[s][o]&&"timeZ"==n[l]){let t=r.rows[s][o],e=t.substr(t.indexOf("+"));-1==e.indexOf(":")&&(e+=":00"),t=t.substr(0,t.indexOf("+")),-1==t.indexOf(".")&&(t+=".000"),r.rows[s][o]="0001-01-01T"+t+e}t[l]=r.rows[s][o]}i.push(t)}for(var u in n)"timeZ"==n[u]&&(n[u]="datetimeoffset"),"datetimeZ"==n[u]&&(n[u]="datetime");h({success:!0,columns:e,rows:i,types:n})};var o=function(t){let r={port:5432};for(var i in t.split(";")){let e=t.split(";")[i];if(e){let t=e.split("=");if(t&&2<=t.length)switch(t[0]=t[0].trim().toLowerCase(),t[1]=t[1].trim(),t[0]){case"data source":case"server":case"host":r["host"]=t[1];break;case"port":r["port"]=t[1];break;case"database":case"location":r["database"]=t[1];break;case"uid":case"user":case"user id":r["userId"]=t[1];break;case"pwd":case"password":r["password"]=t[1];break;case"ssl":r["ssl"]=t[1];break;case"sslmode":"require"==t[1]?r["ssl"]=1:"disable"==t[1]&&(r["ssl"]=0);break}}}return r};let i=Ms("pg");n.connectionString.startsWith("postgres://")?n.postgreConnectionString=n.connectionString:(n.connectionStringInfo=o(n.connectionString),n.postgreConnectionString="postgres://"+n.connectionStringInfo.userId+":"+n.connectionStringInfo.password+"@"+n.connectionStringInfo.host,null!=n.connectionStringInfo.port&&(n.postgreConnectionString+=":"+n.connectionStringInfo.port),n.postgreConnectionString+="/"+n.connectionStringInfo.database);var l=new i.Client(n.postgreConnectionString);s()}catch(t){a(t.stack)}},c._isNodeJs=!1,c.isStandaloneVersion=!1,c.useWebKit=!0,c.consoleLog=!0,c.localizationPath="",Ae.b.NodeJs=c}Ae.bh.TextInfo=class{constructor(t){this.listSeparator=";",null!=t&&(this.listSeparator=t)}toTitleCase(t){if(null==t)return t;let e=t.split(" ");for(var r in e){if(0==e[r].length)continue;e[r]=e[r].stimulsoft().insert(0,e[r][0].toUpperCase(),1)}return e.join(" ")}};{let e=class{constructor(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b,y,v,w,C,T,P){if(this.numberDecimalSeparator=".",this.numberDecimalDigits=2,this.numberGroupSeparator=" ",this.numberGroupSizes=[3],this.numberNegativePattern=1,this.currencyDecimalDigits=2,this.currencyDecimalSeparator=",",this.currencyGroupSeparator=" ",this.currencyGroupSizes=[3],this.currencyNegativePattern=5,this.currencyPositivePattern=1,this.currencySymbol="$",this.percentDecimalDigits=2,this.percentDecimalSeparator=",",this.percentGroupSeparator=" ",this.percentGroupSizes=[3],this.percentNegativePattern=1,this.percentPositivePattern=1,this.percentSymbol="%",this.perMilleSymbol="‰",this.positiveInfinitySymbol="Infinity",this.positiveSign="+",this.NaNSymbol="NaN",this.negativeInfinitySymbol="-Infinity",this.negativeSign="-",!t)return;this.numberDecimalSeparator=t,this.numberDecimalDigits=e,this.numberGroupSeparator=r,this.numberGroupSizes=i,this.numberNegativePattern=n,this.currencyDecimalDigits=a,this.currencyDecimalSeparator=s,this.currencyGroupSeparator=o,this.currencyGroupSizes=l,this.currencyNegativePattern=u,this.currencyPositivePattern=h,this.currencySymbol=c,this.percentDecimalDigits=d,this.percentDecimalSeparator=m,this.percentGroupSeparator=p,this.percentGroupSizes=g,this.percentNegativePattern=f,this.percentPositivePattern=S,this.percentSymbol=b,this.perMilleSymbol=y,this.positiveInfinitySymbol=v,this.positiveSign=w,this.NaNSymbol=C,this.negativeInfinitySymbol=T,this.negativeSign=P}getFormat(t){return t instanceof e?this:null}};Ae.bh.NumberFormatInfo=e}Ae.bh.DateTimeFormatInfo=class{constructor(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f){this.shortDatePattern=t,this.dateSeparator=e,this.longDatePattern=r,this.dayNames=i,this.monthNames=n,this.shortestDayNames=a,this.abbreviatedMonthNames=s,this.monthGenitiveNames=o,this.timeSeparator=l,this.AMDesignator=u,this.PMDesignator=h,this.fullDateTimePattern=c,this.shortTimePattern=d,this.longTimePattern=m,this.yearMonthPattern=p,this.calendarWeekRule=g,this.firstDayOfWeek=f}};{let n=class{constructor(e,t=null,r=null,i=null){if(this.name=e,null!=t)this.numberFormat=t,this.dateTimeFormat=r;else{let t=n.cultures[e];null==t&&(t=n.currentCulture),this.numberFormat=t.numberFormat,this.dateTimeFormat=t.dateTimeFormat}this.textInfo=i||new Ae.bh.TextInfo}static get currentCulture(){if(!this._currentCulture){let t="en";Ae.b.NodeJs.useWebKit&&(t=navigator.language||navigator["userLanguage"]),this.cultures[t]?this._currentCulture=this.cultures[t]:t&&0<t.indexOf("-")&&this.cultures[t.substring(0,t.indexOf("-")).toLowerCase()]?this._currentCulture=this.cultures[t.substring(0,t.indexOf("-")).toLowerCase()]:this._currentCulture=this.cultures["en"]}return this._currentCulture}static set currentCulture(t){this._currentCulture=t}static get cultures(){if(null==this._cultures){this._cultures={};const i=Ae.b.decompressLiteral("\bIQBa_8#@ӛ=HMf\v5JΝ\bL\t\bXη\bG%Y\b֢\fEB0D,-LkRaDˆ\vA` ¨LB\td#‚ϰâ,\t$ϡ\vEØ@\bƑ\vϙ\bXΧ)b0D-q 4D]\bLF dΑtj4^Y,V+0D/\vңHd\b\tTj5 ΑBèð-HHBdMžŠhl2Y-fI\bXΪ-F\vh”\b\tBq@\f[Zi4ףP\tu6֣PL6S0XNFI\t:,-HJ+9palDl:HEB-jd7HEB˒g3Z-G#@¨\b;B !/KL:À/\v @A6kpAϡ9X$#%dr1ˆU\vHo@c%Rq2[Dϡ\t.a<׫@A\bi:-B8X4[-pHòK0^`†Ҁ,5@äE:ƒÄ,.Ҕlð0[$ϡ\tu†D,ˆƗ+°'-\t8Ài3K‚H\fœ\fA\bXΨX5pϡ\t†$cc\v¬ϡ\t\bi:\bEBaRJ„)2PˆM‚1`x‡C–<@D:\v'Bk¨dr\f@!ph\bPӫ4ts9H\b0D\f!*€\f` ƄwHEBRr9]\bF\vdD,nVsBy/Rg,?Q\t.p\b\b \v€`?@ӹ@XΣʮx\vj#2ְP?`xCaP\t\fqiv\vQjry@@z%scL?'M?\vjq?y=oq z)oa}£WE\fnX\bά[$LX\v211\b΀ LBHH€8!00ր^Bc0(`S)Rj\t[@wPYD@DΟA-l)e`0<`Ә,sBƀHFK9fƀʊv{±˶sJr\v@%3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ǐ6Bp<OHCxBDH¤!}ƿ:D@`1zeP^\fSvvf\tPA|z?B Ǜւ'CuBh<˘Côrh/ji8-f3%ש::NpǮ* 2]0@8ך‚\f(,6¶%*0@DΉd#@'_` P…)l\v2-SCXY$\v9hu;M\bWT¢mc¢,Vc$¢RlV JšPlH0Ã),vb$€^b %@`T9.\v9hK<\b\bW˜€+@0DR€8€uAd:€P`\bXΨ.Ӈn0 Z/8Í0׍$\b„$H€C€`È@V€=2)WC;Z,+@D,c\bPrx\bzp…m׌R0‚?‡d\t@29‹P\bXJ­֠Et֟}Àcr``\f\t` y-[ETIx@_~L>sK‚a0d7M@ΠÀe55N֨fRÆ`ÿNO300/8±Ñ3҅Ï0(ƀ!2a`S+Ƶ|\f˜/֊8Imp)W`S+BPj]`SҼƼ7AӋxklýV8xM'ǀ\bM9'XoM*p)TFH£6@*րE€X 6p)U€ªƴsAӟ@`Sl!@O0p)p0E`S*|Ƽ€)A2†\b 8`iVp£@\b|`‚€ Ï'Ÿ€BNg.@ˀƒ.€n 0‘Y@x‘C@˝ˆgi`Æ5„U!‚\f„5``©,,¦(/Ml„3v\bƘ„5\v8£=@h0‚D¢\b+@XƒǠ‚ցà€`€ \t„01@€fÀAˆpƒQ \bր\f@ (ž-× (’!ÀЌ6À0<ÙAAq‹xeA`Œ)>5æ*WNƁ0`h\b#րiky\bXΆAB6l3`\b0…@¤j¼%Hd|:NCmpp`sR.@PΊ@\t0\b\bfF Ÿs?~n½CAO\bbH+Rgº*m˸$¨ƒj@lc;C*(ǔflK\bǬDJ:[,%C$‚`\vQB[@0׮u@Ðàt0[E1Il4-QuI5-ST<ŸŒMV{LA%Wsl0f•0<ϣ6`lduA+iK@D,NVc*¨,v{Mh\t€k9HÖÖS¤‚,f ЄXL@ †H\bNÀJ:/3)֡\bH\t'   [J!joY$S5^,„\fPÀF2GTS5BcցDJ@‚#`”8€\f‚?8‘)~r=Vր\f\tf{[Jg\bӠ‘€(Õí@x%Fh2Z\fV\vZ:°Z,6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ƒq €#3z7{p/4d(‚AS8j' ‘IJ@‹$€\b`x!>R8kʴ€A@Ý ¡Ӏ¡@ 7 ‚GƒeP€cp/%0\bz˜b|\vj|¯\bKPœ!ˀ8­G@s€DK8Yu\b.@cA>\b¡rPœ@HxkHS¡s€AK8Y\t@‡#¡{8˜AQ8i|Hz@BΌ\vw[!4“ %֋l )`}\f\v \f\brˆ,M@¼xC}@\b„`@@`` ֆ\vÀ`?(\bRA<\bT…q  \vHÐ@b\tքY@@%H\v8C~x/Pkx„4%Œ †t1€7$\b€˷@†tb€*B€FmÏÀ@€G7A€a!p/Ə0,Ҁ)@A<T@³bƒj@•A  B‡L`¨6M@(BLFXh\f6„A)\f3„@yH\f0„AYx\f6„AZ(\f6…!ZX\f9„A+\b\f3„A\bP\f+JA}P\b@[h\fu‡Ar@\bfO ƐH@QˆFy!„2רDAC€=H\vCaQh0Ijr'fpy|\feTʎ8v¾X–q£@W%ODl4=@€?>@GX›zHEZ+ւ0')0P*#8HZL]»aRv>ҀžPhƍ‚ ‡֖n!P@D@1Ây(G@¿8DpNʂ3!`q…~ ]`@$€Y@x.\b m8\tbk0h'ƀïq™o7Nր\vQX,'C1P@°Q€08X@°Z @<ˆ x:ƒ?à=Dd`H\bÊP\b-΀6A@z8† Bú ‚o@P=.‡Cr \b\fbÃXP'ƀʐ}4\bh  >*@\b¬ʁYΰ0ŸS  p*J>ap) )p/1'A<QrBxJÀS`^'bOy\bƼ\vdt ,p/A„$„fbˆH‡MX?@+ \b,B†*@y„\f)G<H€BӠ<B€AF0<<€C˜<H€CP<H‚1¼N€B$p<B€B€~(!ƒ!Mh<0„ \f\bzǀ3A:,x\b Ǡ\bBA@ ?Ə€C0~R``p<X·A(p«ҬK \b\b3ëpzlp+N0%5ΏuUc`en.ôPǹ4†\f*7I8όEƄkjr=ӈ5Jr1rWFCf˜,yhA#]lVp@Ò)X,F{KhV QlVsX(ÀPy+c!ne;AP•\f‘,.s0@M0ievƵJz4.c;5G7],YLBE7umPp¡3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ah€s„t@pÔ\bEBB#N<%3aBπ¥(@€Ì @(F\t\f\t@ $0¯#€Cph€%`\b\bF€@0€#`‚p€I@¸P\b€ƒ\tI<ϐ„; Xy„\bE€P¢r€`€@€4€XÀP\bր\f`‚H€\t@„x£€0.J`€6€Ǡ{2‡U@ÀNӶÁ¼V‚@ q˺–`ƒXƒB@ X€€'0ŠX€`€L>À!x€=€\b0\b``Ãpª@‚ƒZÀD0Ҁ  €À r £€€‚4`z…?…0<·~4|€Àèà@@} \b®À0¿@'Q07v-ÑcP0T<!pLj?Xl75a5Hˆ4ÿeP,Nb@žlMas;*\f#Ck`8\tH@\tàX\f…a8L‹@$_I €t€ \v,@°{֘\v`„`€'€X0€€\fK`˜P€0aDÆ@¬8Ÿ[?CthAH<o*``RCQz(@X`x¶·[`x‡!*\fX é`.@~Ly\vE!l@UPX^];H`1!Ϲ)tʌ#\fh,FǁY!@=j07=.›F@yI<\vHes!:i`\vG2NùBuj_4\b2FwZ@\tdD+.Z.B`…VPXá?i`P…3҈nEP#\bh`oJ@œ/*ÇDa¢‰tC݀\b#Zt(fyrZÅ`‡i4`ú)\b€8 =j$}\bD- nTIÂҀì P\b Ǫ\f#\bdBˆ‹@/‘h>€\t€÷€X…l€@ƒBC¹'–x€BMIÒk0¶€u€¤i€x€X΀-<€`h€@› ‰'@N‚ð€ztʅsCeF I\bG#CӀ|Ebv.BjH!xXY \fːC`D4cbA,*DX(]ah>.X\t(JD,;iI~De@,C3Ii<Y.ӛV?Q(RW;D„\b!8…JhTJ6\v\tBd35H+9Jr#‚΀ˆkds€{LHI+9r\b„-@@‚k@ӥ:3}\tk9ˆTs=D(FKL€[@b_*öp,N-1)֠HWB\ta$B)(QQƴP„02!ƣb^\bR$hAD*3:8\bk@P\bE\bfP@.@¿R°fP0\bp6õ#p4HϻDpFB!+x$+?w)PZP$%P\bƇk@/}րHQCr|q ý*oU(פUCt{Ino5],ҋ9t=)w]Bk0X2R0Dʀ\bN6@RT‚fq¢: [€2±.V[B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>P$11Vs*AŒ !JrkKlK/\vʵq2IIa4`.h4׍sB b %VsUV=0‘d¨R\f[%Q€(`8A(k„\tP¢Tr@\b@( ‹bΓ$Aa\v=RB\bRt\t o.‚$!$5@pX€/ (€@¡(€ \bƜ‰T^@‚‚%y(ó@`yxj {Y¶#@ƜCGDk=]RPQ-VI58z@0<ZpÄ4Õ``{\bΊÑIaCwo$)<`.Ӌ@q\v¤# +Ǫ],Y\v!=h-.wPH3H}!>\t@nBpfN%\vFP_40ʀD¡h`-\tpFh5˜>BkQA%3`‚@xL‘_ Œ2>qXtm\f\v!0iA0ʌc!0h/:v:ҧ`GLt€yyG#èfS`n:0ִ<\ftN@#h`rDD,`˭thã?h`W\txíîSp\vn:@h/Z\veP‚@+nB|$€@\bft€70€:¡@ %Z@ˆ€ :œ²CtQ`€€`„f;@ƒTs@€P…^€! ‡:€B@Öh€\t@­H€ƀۀ”€Sb˿#it:\fP€„z\f\b‚\f€7@€ƒ`€:lC@}\f¦$€{8|ô@aC% 040-!;i@š\b\fƒZ0>dʆ›@0v(\b}LNOƒf\b- m5K)TXXDÑB!{Hg q‚oAsP:[U‰yArB]0t<֐55+Ap-nR}`Z+|\v%DÈm\v,7EÆ8FwC~Z)\v%A4LxXoip-2 ‚qM8XWi5‚[)„!”Zgkp-~RPl€\bl‰kc0‚…` WA5C€‘Yc ¡4‰T‚3€_r ={A4π€)a`Z'€¸-<\v%CA4_}-˒Vր5KH£0S@p¡.J@ƛ-sA4M\b €ˆi*\t€@ã`Zoϐ]`ZaoPkʇ@\f\tgkp-Ί(vÀm0.Re`Zb0F'`Z%|\v%aŠl `„6ˆn€\t:‚`R`Z+\v.v0p-((x‘s~V„\b-„4pO8p ‹|y@ \b^À!ƒ …8@éH\b€^A4^|@E\bƒ\tˆ*O`\b0‰@ ž0Æ`žÀ`X†È\v T\t€0x\fA\b\b¥ mRQrÀҁ¹@Ɯƒh@qŠxjç X҂tx<´€-QH*DvcP\b}Xl!pHzH~\fB@ (ƀ3B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vdbF2l D 7\t$ƣƁ΀<`,ƊrUbI5-V\vART\t@!@ŽÃ\v9:Â`\vQB5W(c!Bm4RC\bրÿAH mO/`H: M;Y.Ӊna \t@\t‚ҋ ‡\b@¶pŽ€[*\b΀]\f8Ɛˆ.6LrD\b€/%|Ɛ„Mo8Ɛ„NJ-\bƐ€(zp:)`ˆD€6kDk=<jǀˆd’1-`ŽTƠ$Z_V!j{GdK(dR-#q @A6%T\f)S4Zˆ% Aqq\tW\b M7xBk;Dӛ<!5Yb\b->AƷD)VO\bBMMDj€%$(¸\b@‘.2\bʹ{H6œ`p4F|!ÿ\fJ€xdYEU%pF@}`˜A z0˰ëø΀øAƅ G.\vnBkBP40~\fTaP]t\v8(HZU8-~6+U!3\tg![!2h/Z\b*#h-;9P.b$ʅ}4]v'Ýt1Mw!8h<x.BeQA4m\f¢t0\fTA4h1<FPZt0-K!5h`Ɖ+!?hcz4€Se@DT#V%NB}QA4ÐDK $TWJ@8\t Et\vI(D?Q %GcB%QeF\t~B{„r)tXjKDTpp¥@Bcd„:dT€À4i(îˆ/)8’€eP¤”^ǒ`\f2*‰€È¡;@\vª.Ÿ@\b\f*‰€4T‰€-i(’€*`\f8@†ÁQGN€\vրLe`\bˆK¶p\bG!€*p\b8€B „€^P @‰.a0†`\t|ƒÀILւ:€3pŽÄ ץ`xƒ-€s8¢‚+N pB˖@Axc´{at#TZB,m! T2Gà0(~\f†>iU@@`\b`a~B<CBPBÏPYIr1|E$׀,ˆO%Y„ ¢<ÄÀdh\b\b€׉H@¬ƒrҠth\b(¼+'` Lj†%@@xK‚„ƒ4* \f%?Râ<Ö†(£„|€6\tL‚r€\tÌ\t_€@·4‚ þTŽŠ  l†‚$€<‚\f€7p€ƒa ‹$‹@`HP‚QM@’€^ 0}`x0p^\b/KנPTҠ|@A~PE9%T֮ra@bFP_5s@[xc@}f-πqIWEִp%\fbÿ}d\fH`IP\fN@`il\b(ƒx 9iz\bXCuq0DǜdN\v{!p‡`@`˘T 3^A(0D8X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¡@£†!„%xÁ5IQ VEbZdwp„ƒD@4H˜xVZT‘K\t`oE5\tFV6„3J Áq@$Ҭ /<+,p<€   ZcapR…K ˜6ω€|Å`„Á@pþÁ@C€tÀҋ%CD\f„t@ˆfÂ!pǩ9.€+0!5Q@\b0ÀŒHԀ0Xv ˜`€``AX<€'\tE5zd>TNҀ†€\t(€À@ƒP#0$gÔ p\tXADxVKgTPZ  \v\fPZ-|+%Lm5qpnp:Rh4au’|CÔhT\bƒrpϤ aw#`0@ba<[Rb\tMBs4B /C9MD`-fϘ.6K4°x7\bkeBs|ÆӋ9ִMD\f#ùpn3=P]@apn3>˧VZ,'\b(@6X/L 3<]-`@àl<]-pz#:Xf yFug`` k΅ \b ue`Bd:ZLs\b€]`\v|V/@$MD\fNʲ΄/€PEfipnS¢i`0‰΀$ϡ\tRMDŽ-]lϹiBHXvˀtp.hD-4pT@n:V \vV:@ÿlß÷ %QRf0]fP\vEha2l|U׼p@$q<ZMAYbP~aD#DEGA/@@p =8A@#`Xâʂa`- !p‚x»pp\bʀP!€T€@4QbZD@½\f)!{@;a€h`+@Oqp\teP\vA6]xy! €@G@R`ž\fF`p:CfZp˜.Z_`[M7op-V>^( 6h/mp-pBPop-p^„V``„€#Dm6p-q.0„E\b`Ûb֋5SA6Vxym1p`»<€ǀSH™]V@˞`[fҀò€\tGA6Q ”<Á]xyt‘Zʠ˙z…F`ˡ>ˆnpB[`[@B1:‹mƒ5`[/<\v9cIp-W^!`[.K E`[eN ‰R`%t<º!<\v4sA7N{`£€â@\tx€z@jD‘֠ •\b‚4@\b'mǀǪ\b˜[`ˇA7N`\fB ”bցp¡/v@¶˜W€+øB‡Ӭ†€@ƒ2Š€.@€.‚x øÀk@‚‰@YjÀ3@(/t„\bÁv„Zª€\b0†TÀpÎl?À!@˜`Ã`±das8\v~“VQ\tǮ(ҥn^ʜ\v5P€@@LRs֪s5Z.9B#!.aN@QŠ0€ǁ`<~l\f.6I6nJ@_E áh'C`1H0)Cq#ALh ӋQ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E(t@8ÅQ@A`\ftp8áR[toB#\bh,Ұƒ$€- )fY)`Ž €@ˣtB‚@x־DS0f9DF|#PU€EÄCâ@@$*‹%Bք\fBӱ{wEp/D_W¿~%K*L;?yx‹1¢ P\tL*mPQ0BwCb~ʅ{B)֏@ÀW@ˠ֫<\vEKA8Kx\v'qp..fI\f`7\bGq1p.X©#ǀhTÁCx\b!X€S=Pb=`֮\vBxˆ'q+@Ǘqp.Na8Ƙxǁ´@xp%9@8ǒ €0€`)#`֨<\vA\f€J@\b'pe¢ Æp„4x£/@\b\tOq„a\b6ˆm5PÆe€Ӡ> h<\vE$f˜(֋FdxP@*OpK,0ÆBÄ2j µ@©p.a@Š3„5#£w@÷@@€G \bFD0/0Æ*]„4Q(ŠE3nbHÄ1p£€S©u‚8`ƒ€((:ÀU0\b\fˆk `Ê<Œ<\vEˆjàÎT2”wqҀN.b.p.`X\v!p.QH‚6ÐEnbD…3aHÅVAH€@€i0ÚT$€`Œt‹%ϠƀE@$`,‚$@ŽtQw@ˆHw@?@ǐ¢[@½tX(HӃjF()ô4\v*AU(?~ÝAy (m[\bT'#,pbr>\fΛaDl]HAhd.\fϡaE%<MC\tvxápbr <\vC\bP81\bO˜\fӃaE}hFpb@€TŒ^\fҸEHx13pbR\b!aF)<Ey\vpb\f*WaDlL R1aFϼM\bø@3.\f.WaEg<],D,81Hl<”S@CCǦ\fΧaD'<G¤1pbRø€AC@p5pbU\fϐz€\b KaDa%PÂO\t\f<DV*€t ӦˆQ\vp‚S@„ú€ÎΉˆ1\bH$€z€Hápb@H@‡,‚ @.@‚/€ „€7€¤k€È€eZ€¤€s €$¢DҒp€rb0Q;€†p€҂ $uH{`\fPA\fDx1\b1. br>\fӦbvX0+-\v€\b\b\tv4fCvL)Zr|`èR\f }\fyawˉ \b}\b~p\vA~0)֖PyA%|.]aD'<Ð  `$HM<Ƣ,TY<\t!b|E`bT4`(A-pJ@‡1/F\tW_\b<blæ‹0 Dx AǑƀ•AD .SaEb[^\fpb4^\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)6/ 2ð=@H֎\t 0@~†`O Ÿj`\fP¡\bF@˸€ʀCh`#aj€ø¡_b\bP ad@`Á\b؀~À<€E0ž !zOpn4<d@KÀc€[RÀb t€} ’d\v‚L‚\b€)„gÀb0™ցD ÃT\t@ç`0\b\f>2@¤(ǀÙ\b€$P¢0ÁACPחZÈ`O!s >x¸@<@ni\bDa:)AiZƒ| 8`joPW\b, \f4c˘Eò@06P\f4U>\tv@$j@  <¡ac\b!\bǞE •4@\t,@Ά!'A€Ƕ¡ )ZPÁd€1R(™Kxix¹ΐe.À9`\f_FCӠ0\b¬ ^3Xù@ |d¤`ÿŽw`þր4@\bXϣ$PG@80€4‡c 06€% 1Ɗƒ@´,Z9Z;Iâ\bSb@¢\fÄ Ét€X\f΀)\b\f@‚{ @@¤ YjP\b\b ƒ`ƀ…=àp(  (\b`ƒ`0)\b‡9@ g \fCIJ!`\b9éz9m-ar@]dWSF҆C0l!`E@+T¡=,\fVLb$ Q˄œDX;L?f@D#ebI2f0Þ4Å \vր\f€Y8€-S0€Ҁ\v\b:À@…Œ€ƒ>fÐxŠVLø8\baS°„@Ҡ`†}L@!@oÀβҀנaq-7P`Eɀ~2†€\t(€PL@@ÎjJL@@-$|+-YFRBž,d! Ǹž$Mҁ~HT—\fi\tq-L(I5Pi \fz4PZ-|+%Lm5qp€\v–PX?4!oһ#i\fCs 'YqLt.NA~]raP_D(=O 8x`>NNz4^>N@X\bp%xÄ~-fh'Ӊ|id NDyRz)V@9S\t9s%l΀\b9P\f„-{8\f„\tk<\fˆYZ0R„%k8Ɓƒ\v-SBj%bfN%6Su\f@+D$™939X$²r.R@HåeBk!KI8AB \v+@.%f:\t<Xl‚W /0€8…G€XÇI;„<K(…/€U’F‰\f*€Hd„F08¤4@#(’`֎‰ðÈrˆf ƒ$‚3ƤD€Z‹‡|OxCƞ%beF^ b\tƒ \b\bA\vDM]uP\t~T\bgӨD‹@~I/=\t9cŸ[?uAAa7:# z|<nß~Fî@Dj#kƇx xFOxU\b.]H.\bX97ηMDi=fe!\vqKKTҁ#(MB€HƒŠB\b$5Ơ ’€*ÉKT*A\b,H\bր^+0/…,*8 ¤@S [oiUGҁw@Gtj=!r?{€ Aw@PxLR\t>p\b/tg3n4Vqe@/\fk \t*@I÷Ə>C_0ybVd'8DLJ DƄva?zxP$EeQ0?trAzOX(\f~P@֞3D`\t00o?q0Qb+@ð‚B ·\bҀA~08Λ*:š`4\f4N`\b8>N<cÿ`Ɗ½ |P/Co0[\brd҄\tQY\b@]p\f 00ր¯Áp0\f4Øʁ(8@at<ָӋhC3XDƄBQL M^S`\vPRƄ\tw ( JTkM^m1-GC ϕ= 3ưʀ3u\b\b€hƐ,„PT#E-\tΏPT 0%Σ4B_0EK(EI#0‚4\bMPʵiv[RDQ@on@AgU„(ӊ֟ΨE ä@E8Crz5KΨHa\b@c@jDfÃca\f8¥G)6u{p`PH?‚p ZC$-~0|ƏM_~F+!R\bV>:jQ'4($%ku:€€ހ");i.forEach(t=>{t.d[15]=Ae.bh.CalendarWeekRule[t.d[15]],t.d[16]=Ae.b.DayOfWeek[t.d[16]],this._cultures[t.name]=new n(t.name,new Ae.bh.NumberFormatInfo(...t.n),new Ae.bh.DateTimeFormatInfo(...t.d))});var t=Ae.a.dayjs.locale("en"),e;for(e in this._cultures){var r=this._cultures[e];Ae.a.dayjs.locale(`sti_${e}`,Object.assign({},t,{months:r.dateTimeFormat.monthNames,monthsShort:r.dateTimeFormat.abbreviatedMonthNames,weekdays:r.dateTimeFormat.dayNames,weekdaysShort:r.dateTimeFormat.shortestDayNames,weekdaysMin:r.dateTimeFormat.shortestDayNames,formats:{LT:r.dateTimeFormat.shortTimePattern,LTS:r.dateTimeFormat.longTimePattern,L:r.dateTimeFormat.shortDatePattern,LL:r.dateTimeFormat.longDatePattern,LLLL:r.dateTimeFormat.fullDateTimePattern},meridiem:{AM:r.dateTimeFormat.AMDesignator,PM:r.dateTimeFormat.PMDesignator}}))}}return this._cultures}static get InvariantCulture(){return n.currentCulture}static getCultureInfo(t){var t=this.cultures[t];if(null!=t)return t;return n.currentCulture}};Ae.bh.CultureInfo=n}let xt=Ae.bh.CultureInfo;{let n=class{constructor(t,e,r,i,n,a,s){this.DateTimeOffset="",void 0===t?this.innerDate=new Date:"number"!=typeof t&&t instanceof Date?this.innerDate=t:e?(this.innerDate=new Date(0),this.innerDate.setDate(1),this.innerDate.setMonth(0),this.innerDate.setFullYear(t),this.innerDate.setMonth(e-1),null!=r&&this.innerDate.setDate(r),null!=i&&this.innerDate.setHours(i),null!=n&&this.innerDate.setMinutes(n),null!=a&&this.innerDate.setSeconds(a),null!=s&&this.innerDate.setMilliseconds(s)):(this.innerDate=new Date,this.innerDate.setTime(t))}static getNetTypeName(){return"System.DateTime"}get year(){return this.innerDate.getFullYear()}get month(){return this.innerDate.getMonth()+1}get monthName(){return xt.currentCulture.dateTimeFormat.monthNames[this.month-1]}get monthGenitiveName(){return xt.currentCulture.dateTimeFormat.monthGenitiveNames[this.month-1]}get monthShortName(){return xt.currentCulture.dateTimeFormat.abbreviatedMonthNames[this.month-1]}get day(){return this.innerDate.getDate()}get dayOfWeek(){return this.innerDate.getDay()}get dayName(){return xt.currentCulture.dateTimeFormat.dayNames[this.dayOfWeek]}get dayShortName(){return xt.currentCulture.dateTimeFormat.shortestDayNames[this.dayOfWeek]}get hour(){return this.innerDate.getHours()}get minute(){return this.innerDate.getMinutes()}get second(){return this.innerDate.getSeconds()}get millisecond(){return this.innerDate.getMilliseconds()}get ticks(){return this.innerDate.getTime()}get dayOfYear(){let t=new Date(this.innerDate.getFullYear(),0,1);var e=this.innerDate.getTime()-t.getTime();return Math.ceil(e/864e5)+1}firstDayOfWeek(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("week").toDate())}lastDayOfWeek(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("week").toDate())}firstDayOfMonth(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("month").toDate())}lastDayOfMonth(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("month").toDate())}firstDayOfQuarter(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("quarter").toDate())}lastDayOfQuarter(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("quarter").toDate())}firstDayOfFirthQuarter(){let t=Ae.a.dayjs().month(0);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("quarter").toDate())}lastDayOfFirthQuarter(){let t=Ae.a.dayjs().month(0);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("quarter").toDate())}firstDayOfSecondQuarter(){let t=Ae.a.dayjs().month(3);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("quarter").toDate())}lastDayOfSecondQuarter(){let t=Ae.a.dayjs().month(3);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("quarter").toDate())}firstDayOfThirdQuarter(){let t=Ae.a.dayjs().month(6);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("quarter").toDate())}lastDayOfThirdQuarter(){let t=Ae.a.dayjs().month(6);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("quarter").toDate())}firstDayOfFourthQuarter(){let t=Ae.a.dayjs().month(9);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("quarter").toDate())}lastDayOfFourthQuarter(){let t=Ae.a.dayjs().month(9);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("quarter").toDate())}firstDayOfYear(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.startOf("year").toDate())}lastDayOfYear(){let t=Ae.a.dayjs(this.innerDate);return t=t.locale(`sti_${xt.currentCulture.name}`),new n(t.endOf("year").toDate())}toShortDateString(){return this.toString(xt.currentCulture.dateTimeFormat.shortDatePattern)}toShortTimeString(){return this.toString(xt.currentCulture.dateTimeFormat.shortTimePattern)}static get now(){return new n(new Date)}static get today(){var t=new n(new Date);return new n(t.year,t.month,t.day,0,0,0,0)}static isLeapYear(t){return t%4==0&&t%100!=0||t%400==0}static daysInMonth(t,e){return 33-new Date(t,e-1,33).getDate()}static compare(t,e){if(t.ticks<e.ticks)return-1;if(t.ticks>e.ticks)return 1;return 0}static doubleDateToTicks(t){if(t>=this.oADateMaxAsDouble||t<=this.oADateMinAsDouble)return null;let e=t*this.millisPerDay+(0<=t?.5:-.5);if(e<0&&(e-=e%this.millisPerDay*2),e+=this.doubleDateOffset/this.ticksPerMillisecond,e<0||e>=this.maxMillis)return null;return e*this.ticksPerMillisecond}static ticksToOADate(t){let e=(t+22091976e5)/this.ticksPerMillisecond;var t;return e<0&&(0!=(t=e%this.millisPerDay)&&(e-=2*(this.millisPerDay+t))),e/this.millisPerDay*1e3}static ticksNetToTicksJs(t){var e,r;return t/1e4-621356076e5}negate(){if(this.ticks==Ae.b.TimeSpan.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new n(-this.ticks)}addYears(t){return new n(this.year+t,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}addMonths(t){let e=this.month+t,r=this.year;return e<1&&(r--,e=12+e),new n(r,e,this.day,this.hour,this.minute,this.second,this.millisecond)}addDays(t){let e=new n(this.innerDate.getTime()),r=e.day+t;return r<1&&(e=e.addMonths(-1),r=e.lastDayOfMonth().day+r),new n(e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond)}addHours(t){return new n(this.year,this.month,this.day,this.hour+t,this.minute,this.second,this.millisecond)}addMinutes(t){return new n(this.year,this.month,this.day,this.hour,this.minute+t,this.second,this.millisecond)}addSeconds(t){return new n(this.year,this.month,this.day,this.hour,this.minute,this.second+t,this.millisecond)}addMilliseconds(t){return new n(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond+t)}addTicks(t){return new n(this.ticks+t)}compareTo(t){if(this.ticks<t.ticks)return-1;if(this.ticks>t.ticks)return 1;return 0}subtract(t){return new Ae.b.TimeSpan(this.ticks-t.ticks)}get date(){return this.innerDate}toString(t="G"){let e=Ae.a.dayjs(this.innerDate);if(!e.isValid())return"";switch(e=e.locale(`sti_${xt.currentCulture.name}`),t){case"t":t=xt.currentCulture.dateTimeFormat.shortTimePattern;break;case"T":t=xt.currentCulture.dateTimeFormat.longTimePattern;break;case"d":t=xt.currentCulture.dateTimeFormat.shortDatePattern;break;case"D":t=xt.currentCulture.dateTimeFormat.longDatePattern;break;case"f":t=xt.currentCulture.dateTimeFormat.longDatePattern+" "+xt.currentCulture.dateTimeFormat.shortTimePattern;break;case"F":t=xt.currentCulture.dateTimeFormat.fullDateTimePattern;break;case"g":t=xt.currentCulture.dateTimeFormat.shortDatePattern+" "+xt.currentCulture.dateTimeFormat.shortTimePattern;break;case"G":t=xt.currentCulture.dateTimeFormat.shortDatePattern+" "+xt.currentCulture.dateTimeFormat.longTimePattern;break;case"y":case"Y":t=xt.currentCulture.dateTimeFormat.yearMonthPattern;break;case"s":t="yyyy-MM-dd\\THH:mm:ss";break;case"u":t="yyyy-MM-dd HH:mm:ss\\Z";break;case"m":case"M":t=xt.currentCulture.name.stimulsoft().contains("en")||xt.currentCulture.name.stimulsoft().contains("us")?"MMMM d":"d MMMM";break;case"r":case"R":t="ddd, dd MMM yyyy HH\\:mm\\:ss \\G\\M\\T";break}return t=(t=(t=(t=(t=t.replace(/d/gm,"D").replace(/DDDD/gm,"dddd").replace(/DDD/gm,"ddd")).replace(/y/gm,"Y")).replace(/f/gm,"S").replace(/F/gm,"S")).replace(/tt/gm,"A").replace(/t/gm,"A")).replace(/zzz/gm,"Z").replace(/zz/gm,"Z").replace(/z/gm,"Z"),e.format(t)+this.DateTimeOffset}static oaDateToTicks0(t){let e=864e5*(t-25569);var t;return t<0&&(0!=(t=864e5*(t-Math.trunc(t)))&&(e-=2*t)),e}static ticksToOADate0(t){let e=t/864e5+25569;var t;return e<0&&(0!=(t=e-Math.trunc(e))&&(e=Math.ceil(e)-t-2)),e}toOADate(){return n.ticksToOADate0(this.ticks)}toOADate2(t){var e=n.ticksToOADate(this.ticks);if(t)return Math.round(e);return e}toNetJsonString(){return"\\/Date("+this.ticks.toString()+")\\/"}static tryParseExact(e="2015-12-31",r){try{let t=Ae.a.dayjs(e,r,!0);if(0==t.isValid())return{result:null,successfully:!1};return{result:new n(t.toDate()),successfully:!0}}catch(t){return{result:null,successfully:!1}}}static fromNetJsonString(t){var t=/-?\d+/.exec(t),t=new Date(parseInt(t[0]));return new n(t)}static fromOADate(t){return new n(n.oaDateToTicks0(t))}static fromString(r="2015-12-31",i=!0){try{let t=(r=r.trim()).split(".").join("-").split("\\").join("-").split(" ").join("-"),e;if(0<=t.indexOf("/")){if(e=Ae.a.dayjs(t,"M/D/YYYY",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YY",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YYYY-H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YYYY-H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YYYY-h:m:s-a",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YY-H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YY-H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"M/D/YY-h:m:s-a",!0),e.isValid())return new n(e.toDate());t=r.split("/").join("-")}if(e=Ae.a.dayjs(t,"YYYY-M-D",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YYYY",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YY",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-M-D-H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-M-D-H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-M-D-H:m:s-SSS",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-M-D-H:m:s-SSSSSSS",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-M-D-h:m:s-a",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YYYY-H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YYYY-H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YYYY-h:m:s-a",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YY-H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YY-H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"D-M-YY-h:m:s-a",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"H:m",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"H:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"h:m:s-a",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DD",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:sZ",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:s-SSSZ",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:s-SSSSSSSZ",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:s",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:s-SSS",!0),e.isValid())return new n(e.toDate());if(e=Ae.a.dayjs(t,"YYYY-MM-DDTHH:m:s-SSSSSSS",!0),e.isValid())return new n(e.toDate());return i&&Ae.b.StiError.showError("Parse DateTime Error ("+r+")",!1),null}catch(t){return i&&Ae.b.StiError.showError("Parse DateTime Error ("+r+")",!1),null}}static fromString2(e="2015-12-31",r,i=!0){try{let t=Ae.a.dayjs(r,[e],!0);if(0==t.isValid())return i&&Ae.b.StiError.showError("Parse DateTime Error ("+r+")",!1),null;return new n(t.toDate())}catch(t){}return null}static isISO8601String(e){try{e=e.trim();let t;if(t=Ae.a.dayjs(e,"YYYY-MM-DD",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mmZ",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ss",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ss.SSS",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ss.SSSSSS",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ssZ",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ss.SSSZ",!0),t.isValid())return!0;if(t=Ae.a.dayjs(e,"YYYY-MM-DDTHH:mm:ss.SSSSSSZ",!0),t.isValid())return!0}catch(t){}return!1}get timeOfDay(){return new Ae.b.TimeSpan(this.ticks-new n(this.year,this.month,this.day,0,0,0,0).ticks)}get date2(){return new n(this.year,this.month,this.day,0,0,0,0)}};n.ticksPerMillisecond=1e3,n.ticksPerSecond=1e3*n.ticksPerMillisecond,n.ticksPerMinute=60*n.ticksPerSecond,n.ticksPerHour=60*n.ticksPerMinute,n.ticksPerDay=24*n.ticksPerHour,n.millisPerSecond=1e3,n.millisPerMinute=60*n.millisPerSecond,n.millisPerHour=60*n.millisPerMinute,n.millisPerDay=24*n.millisPerHour,n.daysPerYear=365,n.daysPer4Years=4*n.daysPerYear+1,n.daysPer100Years=25*n.daysPer4Years-1,n.daysPer400Years=4*n.daysPer100Years+1,n.daysTo1601=4*n.daysPer400Years,n.daysTo1899=4*n.daysPer400Years+3*n.daysPer100Years-367,n.daysTo10000=25*n.daysPer400Years-366,n.minTicks=0,n.maxTicks=n.daysTo10000*n.ticksPerDay-1,n.maxMillis=n.daysTo10000*n.millisPerDay,n.fileTimeOffset=n.daysTo1601*n.ticksPerDay,n.doubleDateOffset=n.daysTo1899*n.ticksPerDay,n.oADateMinAsTicks=(n.daysPer100Years-n.daysPerYear)*n.ticksPerDay,n.oADateMinAsDouble=-657435,n.oADateMaxAsDouble=2958466,n.datePartYear=0,n.datePartDayOfYear=1,n.datePartMonth=2,n.DatePartDay=3,n.daysToMonth365=[0,31,59,90,120,151,181,212,243,273,304,334,365],n.daysToMonth366=[0,31,60,91,121,152,182,213,244,274,305,335,366],n.minValue=new n(n.minTicks),n.maxValue=new n(n.maxTicks),Ae.b.DateTime=n}(F=N=Ae.b.DayOfWeek||(Ae.b.DayOfWeek={}))[F["Sunday"]=0]="Sunday",F[F["Monday"]=1]="Monday",F[F["Tuesday"]=2]="Tuesday",F[F["Wednesday"]=3]="Wednesday",F[F["Thursday"]=4]="Thursday",F[F["Friday"]=5]="Friday",F[F["Saturday"]=6]="Saturday";{let s=class{constructor(t,e=null){this.name=t,this.value=e}static getName(t,e){let r="";if(null==t[e]){for(var i in t){var i=+i;0!=i&&(e&i)==i&&(e-=i,r+=(0<r.length?", ":"")+t[i])}return 0==r.length&&(r=t[0]),r}return t[e]}static parse(e,t,r=!0){if(null==t)return null;var i=(t="number"==typeof t||Ae.b.Char.isDigit(t)?s.getName(e,+t):t).toString().split(",");let n;for(let t=0;t<i.length;t++){var a=r?this.upperFirstChar(i[t]):i[t];void 0===n?n=e[a]:n+=e[a]}return n}static upperFirstChar(t){return 0<(t=t.trim()).length?t.charAt(0).toUpperCase()+t.slice(1):t}static getNames(t){let e=[];for(var r in t)"number"!=typeof t[r]&&e.push(t[r]);return e}static getValues(t){let e=[];for(var r in t)"number"!=typeof t[r]&&e.push(+r);return e}toString(){return this.name}compareTo(t){if(null!=this.value)return this.value.stimulsoft().compareTo(t.value);return this.name.stimulsoft().compareTo(t.name)}};Ae.b.Enum=s}Ae.b.Environment=class{static get newLine(){return"\r\n"}},Ae.b.Event=class{constructor(){this.eventList=[]}get isNull(){return 0==this.eventList.length}get isNotNull(){return!this.isNull}add(t,e){this.eventList.push({funct:t,_this:e})}call(...t){for(var e of this.eventList)e.funct.apply(e._this,[e._this,...t])}},Ae.b.EventArgs=class{};{const PA=function t(e){var r=[0,10,13,34,38,92],i=7,n=e,a=[],s=0,o=0;function l(t){s|=(t<<=1)>>>o,8<=(o+=7)&&(a.push(s),s=t<<7-(o-=8)&255)}for(var u=0;u<n.length;u++){var h=n.charCodeAt(u),c;127<h?((c=h>>>8&7)!=i&&l(r[c]),l(127&h)):l(h)}return new Uint8Array(a)},IA=e=>{let r;if("object"==typeof module&&"function"==typeof module.require&&"object"==typeof process&&process.versions&&process.versions.node){const t=module[`require`].bind(module),{Buffer:n}=t("buffer");r=n.from(e).toString()}else if("TextDecoder"in window)r=new TextDecoder("utf-8").decode(e);else{var i=Math.pow(2,16)-1;for(let t=0;t<e.length;t+=i)r+=String.fromCharCode.apply(null,e.subarray(t,Math.min(e.length,t+i)))}return r};function U(i){return function(t,e,r){r.enumerable=i}}function j(n){return function(t,e,r){let i=Ae.b.Type.getType(t);i.enumTypes||(i.enumTypes={}),i.enumTypes[e]||(i.enumTypes[e]=n)}}Ae.b.compactBase64=function t(e){var e=PA(e);return Ae.b.Convert.toBase64String(e)},Ae.b.decompressLiteral=function t(e){function r(t,e){const c=4,l=407708164,u=4,h=8,d=16,m=64,p=192,g=2147483648,f=4,S=7,b={4:65536,5:262144,6:1048576,7:4194304},o=(t,e)=>{var r=0;return r|=t[e++]<<0,r|=t[e++]<<8,r|=t[e++]<<16,r|=t[e++]<<24,r|=t[e++]<<32,r|=t[e++]<<40,r|=t[e++]<<48,r|=t[e++]<<56},y=(t,e)=>{var r=0;return r|=t[e++]<<0,r|=t[e++]<<8,r|=t[e++]<<16,r|=t[e++]<<24};var r;const v=(e,r,i,t,n)=>{let a,s,o,l,u;o=i+t;while(i<o){var h=e[i++];let t=h>>4;if(0<t){if(15===t)while(1)if(t+=e[i],255!==e[i++])break;for(l=i+t;i<l;)r[n++]=e[i++]}if(o<=i)break;if(a=15&h,s=e[i++]|e[i++]<<8,15===a)while(1)if(a+=e[i],255!==e[i++])break;for(a+=c,u=n-s,l=u+a;u<l;)r[n++]=0|r[u++]}return n};var i=(r,i)=>{var t,e,n,a;let s=0,o=0;if(y(r,s)!==l)throw new Error("invalid magic number");if(s+=4,((a=r[s++])&p)!=m)throw new Error("incompatible descriptor version");var t=0!=(a&d),e=0!=(a&u),n=0!=(a&h),a=r[s++]>>f&S;if(void 0===b[a])throw new Error("invalid block size");n&&(s+=8),s++;while(1){let e;if(e=y(r,s),s+=4,0===e)break;if(t&&(s+=4),0!=(e&g)){e&=~g;for(let t=0;t<e;t++)i[o++]=r[s++]}else o=v(r,i,s,e,o),s+=e}return e&&(s+=4),o};let n,a;return void 0===e&&(e=(e=>{let r=0;if(y(e,r)!==l)throw new Error("invalid magic number");r+=4;var t=e[r++];if((t&p)!=m)throw new Error("incompatible descriptor version "+(t&p));var i=0!=(t&d),n=0!=(t&h),t=e[r++]>>f&S;if(void 0===b[t])throw new Error("invalid block size "+t);var a=b[t];if(n)return o(e,r);r++;let s=0;while(1){let t=y(e,r);if(r+=4,t&g?(t&=~g,s+=t):s+=a,0===t)return s;i&&(r+=4),r+=t}})(t)),n=new Uint8Array(e),(a=i(t,n))!==e&&(n=n.slice(0,a)),n}var e=r(PA(e)),e=IA(e);return JSON.parse(e)},Ae.b.enumerable=U,Ae.b.enumType=j;let n=class{constructor(t){this.value=t}is(t){if("is"in this.value)return this.value.is(t);if(t instanceof Ae.b.Interface&&"implements"in this.value)return-1!=this.value.implements().indexOf(t);if(!Ae.b.TypeHelper.getTypes().stimulsoft().contains(t)&&"function"==typeof this.value&&"function"==typeof t)return this.value==t||null==this.value.__proto__||"object"==typeof this.value.__proto__||this.value.__proto__.stimulsoft().is(t);if("function"==typeof t)return this.value instanceof t;return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this.value;return null}memberwiseClone(t=!1){if(!t&&this.value["memberwiseClone"])return this.value.memberwiseClone();var t=n.getOwnPropertyNames(this.value),e;let r=new(this.value.stimulsoft().getType());for(e of t)r[e]=this.value[e];return r}equals(...t){if(this.value["equals"])return this.value.equals(...t);var e=t[0],t=typeof this.value,r,i;if("string"==t||"number"==t||"boolean"==t||"function"==t)return this.value==e;for(i of n.getOwnPropertyNames(this.value))if(null!=this.value[i]&&!this.value[i].stimulsoft().equals(e[i]))return!1;return!0}getHashCode(...t){if("number"==typeof this.value)return this.value;if(this.value["getHashCode"])return this.value.getHashCode(...t);if(this.value instanceof Ae.b.DateTime)return this.value.ticks;null==this.value["stiHashLink"]&&(this.value["stiHashLink"]=Math.random());let e=0;if(null!=this.value["btoa"])return e;var r,i;for(i of n.getOwnPropertyNames(this.value))null!=this.value[i]&&"function"!=typeof this.value[i]&&(null!=this.value[i]["stiHashLink"]?e+=this.value[i]["stiHashLink"]:e+=this.value[i].stimulsoft().getHashCode());return e}static compareTo(t,e){if(null!=t)return t.stimulsoft().compareTo(e);if(null==e)return 0;return-1}compareTo(t){if(this.value["compareTo"])return this.value.compareTo(t);return-1}toBoolean(){if("1"==this.value.toString())return!0;return"true"==this.value.toString().toLowerCase()}toNumber(t=!0){if(!t)return parseInt(this.value);if("string"==typeof this.value&&0<=this.value.indexOf(","))return parseFloat(this.value.split(",").join("."));return parseFloat(this.value)}toString(){return this.value.toString()}getType(){if(this.value["getType"])return this.value.getType();if("function"==typeof this.value)return this.value;return this.value.constructor}getTypeName(){if(this.value["getTypeName"])return this.value.getTypeName();if(this.value==String)return String.prototype.stimulsoft().getTypeName();if(this.value==Number)return Number.prototype.stimulsoft().getTypeName();if(this.value==Array)return Array.prototype.stimulsoft().getTypeName();if(this.value==Boolean)return Boolean.prototype.stimulsoft().getTypeName();if(null!=this.value.ssTypeName)return this.value.ssTypeName;return"Object"}getNetTypeName(){if(this.value["getNetTypeName"])return this.value.getNetTypeName();if(this.value==String)return String.prototype.stimulsoft().getNetTypeName();if(this.value==Number)return Number.prototype.stimulsoft().getNetTypeName();if(this.value==Array)return Array.prototype.stimulsoft().getNetTypeName();if(this.value==Boolean)return Boolean.prototype.stimulsoft().getNetTypeName();if(null!=this.value.ssNamespace&&null!=this.value.ssTypeName)return this.value.ssNamespace+"."+this.value.ssTypeName;return"System.Object"}static referenceEquals(t,e){return t==e}static addEvent(t,e,r){t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent&&t.attachEvent("on"+e,r)}static equals(t,e){if(n.referenceEquals(t,e))return!0;if(null==t||null==e)return!1;return t.stimulsoft().equals(e)}static disableAllEnumerable(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!1})}static keys(t){if(Object.keys)return Object.keys(t);let e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);for(var i in t.__proto__)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}static getOwnPropertyNames(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t);return this.keys(t)}static saveAs(t,e,r="application/octet-stream"){if(!t)return;t instanceof Array&&(t=new Uint8Array(t));var r=new Blob([t],{type:r});"internalSaveAs"in n||Object.defineProperty(n,"internalSaveAs",{value:(m=>{if(void 0===m)return null;if("undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))return null;let t=m.document,p=()=>m.webkitURL||m.URL||m,g=t.createElementNS("http://www.w3.org/1999/xhtml","a"),f="download"in g,S=t=>{var e=new MouseEvent("click");t.dispatchEvent(e)},b=m.webkitRequestFileSystem,y=m.requestFileSystem||b||m.mozRequestFileSystem,a=t=>{(m.setImmediate||m.setTimeout)(()=>{throw t},0)},v="application/octet-stream",w=0,r=500,C=t=>{var e=()=>{"string"==typeof t?p().revokeObjectURL(t):t.remove()};m.chrome?e():setTimeout(e,r)},T=(e,r,i)=>{let n=(r=[].concat(r)).length;while(n--){let t=e["on"+r[n]];if("function"==typeof t)try{t.call(e,i||e)}catch(t){Ae.b.StiError.showError(t.message,!1),a(t)}}},P=t=>{if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type))return new Blob(["\ufeff",t],{type:t.type});return t},i=function(i,r,t){let e=this,n=(i=!t?P(i):i).type,a=!1,s,o,l=()=>{T(this,"writestart progress write writeend".split(" "),void 0)},u=()=>{if(a||!s)try{s=p().createObjectURL(i)}catch(t){s=p()}var t,e;o?o.location.href=s:(e=e||void 0,null==m.open(s,"_blank")&&void 0!==e&&(m.location.href=s)),this.readyState=this.DONE,l(),C(s)},h=t=>function(){if(this.readyState!==this.DONE)return t.apply(this,arguments)},c={create:!0,exclusive:!1},d;if(e.readyState=e.INIT,r=r||"download",f){try{s=p().createObjectURL(i)}catch(t){s=p()}return g.href=s,g.download=r,void setTimeout(()=>{S(g),l(),C(s),this.readyState=this.DONE})}if(m.chrome&&n&&n!==v&&(d=i.slice||i.webkitSlice,i=d.call(i,0,i.size,v),a=!0),b&&"download"!==r&&(r+=".download"),n!==v&&!b||(o=m),!y)return void u();w+=i.size,y(m.TEMPORARY,w,h(t=>{t.root.getDirectory("saved",c,h(t=>{let e=()=>{t.getFile(r,c,h(r=>{r.createWriter(h(function(e){e.onwriteend=function(t){o.location.href=r.toURL(),this.readyState=this.DONE,T(this,"writeend",t),C(r)},e.onerror=()=>{var t=e.error;t.code!==t.ABORT_ERR&&u()},"writestart progress write abort".split(" ").forEach(function(t){e["on"+t]=this["on"+t]}),e.write(i),this.abort=function(){e.abort(),this.readyState=this.DONE},this.readyState=this.WRITING}),u)}),u)};t.getFile(r,{create:!1},h(t=>{t.remove(),e()}),h(t=>{(t.code===t.NOT_FOUND_ERR?e:u)()}))}),u)}),u)},e=i.prototype,n=(t,e,r)=>new i(t,e,r);if("undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob)return(t,e,r)=>(r||(t=P(t)),navigator.msSaveOrOpenBlob(t,e||"download"));return e.abort=function(){var t=this;t.readyState=t.DONE,T(t,"abort",void 0)},e.readyState=e.INIT=0,e.WRITING=1,e.DONE=2,e.error=e.onwritestart=e.onprogress=e.onwrite=e.onabort=e.onerror=e.onwriteend=null,n})("undefined"!=typeof self&&self||"undefined"!=typeof window&&window),enumerable:!1}),n.internalSaveAs(r,e)}static init(){Object.prototype.stimulsoft=function(){return new Ae.b.StiObject(this.valueOf())},Number.prototype.stimulsoft=function(){return new Ae.b.StiNumber(this.valueOf())},String.prototype.stimulsoft=function(){return new Ae.b.StiString(this.valueOf())},Boolean.prototype.stimulsoft=function(){return new Ae.b.StiBoolean(this.valueOf())},Array.prototype.stimulsoft=function(){return new Ae.b.StiArray(this.valueOf())},Object.defineProperty(Object.prototype,"stimulsoft",{enumerable:!1}),Object.defineProperty(Number.prototype,"stimulsoft",{enumerable:!1}),Object.defineProperty(String.prototype,"stimulsoft",{enumerable:!1}),Object.defineProperty(Boolean.prototype,"stimulsoft",{enumerable:!1}),Object.defineProperty(Array.prototype,"stimulsoft",{enumerable:!1})}};n.isNullOrUndefined=t=>null==t||void 0===t,Ae.b.StiObject=n;var W=class extends n{getHashCode(...t){let e=this.value.valueOf();return e%1==0?e:e.toString().stimulsoft().getHashCode(...t)}is(t){if(t==Number)return!0;return!1}as(t){if(t==Number)return this.value;return null}memberwiseClone(t=!1){return this.value}compareTo(t){return this.value<t?-1:this.value>t?1:0}toShort(){if(32767<this.value)return(this.value-65536).stimulsoft().toShort();if(this.value<-32768)return(this.value+65536).stimulsoft().toShort();return this.value.valueOf()}toStringFormat(t){return C.parseFormatString(t,[this.value])}getType(){return Number}getTypeName(){return"Decimal"}getNetTypeName(){return"System.Decimal"}static tryParse(t){var t=t.stimulsoft().toNumber();return{result:t,successfully:!isNaN(t)}}static getValueOrDefault(t){return t||0}};Ae.b.StiNumber=W;let C=class extends n{is(t){if(t==String)return!0;return!1}as(t){if(t==String)return this.value;return null}memberwiseClone(t=!1){return this.value}replaceAll(e,r,i,n){if(null!=i){null==n&&(n=this.value.length);var a=this.value.substr(0,i),s=this.value.substr(i+n);let t=this.value.substr(i,n);return a+t.split(e).join(r)+s}return this.value.split(e).join(r)}contains(t){return-1!=this.value.indexOf(t)}compareTo(t){return this.value<t?-1:this.value>t?1:0}isBase64String(){let t=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;return t.test(this.value)}remove(t,e=Number.MAX_VALUE){return this.value.substr(0,t)+this.value.substring(t+e)}insert(t,e,r=0){return this.value.substring(0,t)+e+this.value.substring(t+r,this.value.length)}padLeft(t,e=" "){var t=t-this.value.length;if(0<t){if(1==t)return e+this.value;return C.repeat(e,t)+this.value}return this.value}padRight(t,e=" "){var t=t-this.value.length;if(0<t){if(1==t)return this.value+e;return this.value+C.repeat(e,t)}return this.value}startsWith(t,e=!1){if(null==t)return!1;if(e)return this.value.toLowerCase().substr(0,t.length)==t.toLowerCase();return this.value.substr(0,t.length)==t}endsWith(t,e=!1){if(null==t)return!1;if(e)return this.value.toLowerCase().substr(this.value.length-t.length,t.length)==t.toLowerCase();return this.value.substr(this.value.length-t.length,t.length)==t}trimStart(t=" "){let e=this.value;while(0<e.length&&e.charAt(0)==t)e=e.substr(1);return e}trimEnd(t=" "){let e=this.value;while(0<e.length&&e.charAt(e.length-1)==t)e=e.substr(0,e.length-1);return e}getHashCode(...t){return Ae.a.XXH.h32(this.value.valueOf(),43981).stimulsoft().toNumber()}toBytesArray(){return Array.prototype.map.call(this.value,t=>t.charCodeAt(0))}toUnicodeString(){return unescape(encodeURIComponent(this.value))}fromUnicodeString(){try{return decodeURIComponent(escape(this.value))}catch(t){return decodeURIComponent(encodeURIComponent(this.value))}}indexOfAny(t){return C.indexOfAny(this.value,t)}regexIndexOf(t,e){var t=this.value.substring(e||0).search(t);return 0<=t?t+(e||0):t}regexLastIndexOf(t,e){t=t.global?t:new RegExp(t.source,"g"+(t.ignoreCase?"i":"")+(t.multiline?"m":"")),void 0===e?e=this.value.length:e<0&&(e=0);var r=this.value.substring(0,e+1),i;let n=-1,a=0;while(null!=(i=t.exec(r)))n=i.index,t.lastIndex=++a;return n}split(...r){let i="/";return r.forEach((t,e)=>i+=e<r.length-1?"|":""),i+="/",this.value.split(new RegExp(i))}toLowerFirst(){return 0<this.value.length?this.value.charAt(0).toLowerCase()+this.value.slice(1):this.value}getType(){return String}getTypeName(){return"String"}getNetTypeName(){return"System.String"}toString(){return this.value}static isNullOrEmpty(t){return null==t||""===t||void 0===t}static isNullOrWhiteSpace(t){return null==t||""===t.trim()}static repeat(t,e){if(e<=0)return"";if(1==e)return t;return Array(Math.trunc(e)+1).join(t)}static fill(t,e){return C.repeat(t,e)}static format(t,...e){let r="",i=0,n=0;while(i<t.length)if("{"==t.charAt(i)){while("{"==t.charAt(i))i++;i-1>n&&(r+=t.substring(n,i-1)),n=i;while(i<t.length&&"}"!=t.charAt(i))i++;i>n&&(r+=C.parseFormatString(t.substring(n,i),e)),i++,n=i}else i++;return i>n&&(r+=t.substring(n,i)),r}static format1(t,e){let r="",i=0,n=0;while(i<t.length)if("{"==t.charAt(i)){while("{"==t.charAt(i))i++;i-1>n&&(r+=t.substring(n,i-1)),n=i;while(i<t.length&&"}"!=t.charAt(i))i++;i>n&&(r+=C.parseFormatString(t.substring(n,i),e)),i++,n=i}else i++;return i>n&&(r+=t.substring(n,i)),r}static parseFormatString(i,n){let a=0;while(a<i.length&&Ae.b.Char.isDigit(i.charAt(a)))a++;if(0<a){var s=parseInt(i.substring(0,a),10);let e="",r=-1,t=null;if(a+1<i.length&&":"==i.charAt(a)){if(C.isNullOrEmpty(n[s]))return"";if(n[s]instanceof Ae.b.DateTime||n[s]instanceof Ae.b.TimeSpan)return n[s].toString(i.substr(a+1));e=i.charAt(a+1),t=i.substr(a+1),a+=2;var o=a;while(a<i.length&&Ae.b.Char.isDigit(i.charAt(a)))a++;a>o&&(r=parseInt(i.substring(o,a),10))}if(0==e.length)return n[s];if(t.stimulsoft().startsWith("dd"))return null==n[s]?"":n[s];switch(e){case"E":case"e":{r<1&&(r=6);let t=n[s].toExponential(r);return t=t.stimulsoft().insert(t.indexOf("e")+2,"00"),t=t.replace("e",e),t}case"F":case"f":var l=C.formatNumber(n[s],r,!1,!0);return null==l?n[s]:l;case"N":case"n":var u=C.formatNumber(n[s],r,!0,!0);return null==u?n[s]:u;case"P":case"p":var u=C.formatNumber(100*n[s],r,!0,!0);return null==u?n[s]:u+"%";case"C":case"c":var h=C.formatNumber(n[s],r,!0,!1);return null==h?n[s]:(n[s]<0?"-$":"$")+h;case"D":case"d":var h=Math.abs(n[s]).toString().stimulsoft().padLeft(r,"0");return"NaN"==h?n[s]:(n[s]<0?"-":"")+h;case"X":return n[s]<0&&(n[s]=4294967295+n[s]+1),n[s].toString(16).toUpperCase().stimulsoft().padLeft(r,"0");case"x":return n[s]<0&&(n[s]=4294967295+n[s]+1),n[s].toString(16).toLowerCase().stimulsoft().padLeft(r,"0");default:return C.customFormat(n[s],t)}}return""}static formatNumber(t,e,r,i){var n=Ae.bh.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,a=Ae.bh.CultureInfo.currentCulture.numberFormat.numberGroupSeparator,s=Ae.bh.CultureInfo.currentCulture.numberFormat.numberGroupSizes[0];let o="";if("number"!=typeof t)return null;t=Ae.b.StiMath.round2(t,e=-1==e?2:e);let l=Math.abs(t).toString().replace(".",",").replace(",",n);var t=t<0;let u=l.substring(0,l.indexOf(n));if(0==u.length&&(u=l),0<s&&r){let t=u.length-s;while(0<=t)o=(0<t?a:"")+u.substr(t,s)+o,t-=s;t<0&&(o=u.substring(0,t+s)+o)}else o=u;if(0<e){let t=l.substring(l.indexOf(n)+1);t=t.substr(0,e),-1==l.indexOf(n)&&(t="");while(t.length<e)t+="0";o+=n+t}return i&&t&&(o="-"+o),o}static customFormat(t,e){if(null==e||0==e.length)return t.toString();if("number"==typeof t)return C.customFormatNumber(t,e);let r=new Ae.b.SwitchSymbolFormatter;return r.formatValue(e,t)}static customFormatNumber(t,e){let r=["p.","$","€","¢","£","¤","¥","₣","₤","₧","₪","₫","฿","₠","₡","₢","₥","₦","₨","₩","₫"];var i=Ae.bh.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,n=Ae.bh.CultureInfo.currentCulture.numberFormat.numberGroupSeparator;let a="",s="",o="",l="",u=!1,h=-1,c=0;for(r.forEach(t=>{e.stimulsoft().startsWith(t)&&(a=t),e.stimulsoft().endsWith(t)&&(s=t)}),c=0;c<e.length;c++){var d=e.charAt(c);if("."==d){u=!0;continue}if("0"==d||"#"==d){u?l+=d:o+=d;continue}u||(h=o.length)}if(0==l.length&&0==o.length)return e;let m=0;-1!=h&&(m=o.length-h);var p=l.length,g=o.indexOf("0"),f=-1==g?0:o.length-g;let S="";var b=Ae.b.StiMath.round2(t,p)<0,g=Math.abs(t);let y=Ae.b.StiMath.trunc(g);var t=Math.pow(10,p);let v=Math.round(Ae.b.StiMath.round2(g-y,p)*t);v>=t&&(y++,v=0);let w=y.toString();if(w.length<f&&(w=C.fill("0",f-w.length)+w),0!=y||0<f)if(0<m){c=w.length-m;while(0<=c)S=(0<c?n:"")+w.substr(c,m)+S,c-=m;c<0&&(S=w.substring(0,c+m)+S)}else S=w;return 0<v&&(S+=i+(v/t).toString().substr(2)),b&&(S="-"+S),a+S+s}static indexOfAny(t,r){if(C.isNullOrEmpty(t)||0==r.length)return-1;for(let e=0;e<t.length;e++){var i=t.charAt(e);for(let t=0;t<r.length;t++)if(r[t]==i)return e}return-1}static join(e,r){var t,i=r.length;let n="";for(let t=0;t<i;t++)n+=r[t],t!=i-1&&(n+=e);return n}static fromBytesArray(t){let e="";var r=new Uint8Array(t);for(let t=0;t<r.byteLength;t++)e+=String.fromCharCode(r[t]);return e}};Ae.b.StiString=C;var q=class extends n{is(t){if(t==Boolean)return!0;return!1}as(t){if(t==Boolean)return this.value;return null}memberwiseClone(t=!1){return this.value}getHashCode(...t){return 1==this.value?1:2}getType(){return Boolean}getTypeName(){return"Boolean"}getNetTypeName(){return"System.Boolean"}compareTo(t){return null==t&&(t=!1),0==this.value&&1==t?-1:1==this.value&&0==t?1:0}};Ae.b.StiBoolean=q;let l=class extends n{constructor(t){super(t),Object.defineProperty(l.prototype,"stimulsoft",{value:void 0,configurable:!0,enumerable:!1})}getHashCode(){let t=0;for(var e of this.value)null!=e&&(t+=e.stimulsoft().getHashCode());return t}getType(){return Boolean}getTypeName(){return"Array"}getNetTypeName(){let t="Byte";for(var e of this.value)if(null!=e){"string"==typeof e&&(t="String");break}return t+"[]"}get countItems(){var t;return n.keys(this.value).length}contains(t){return 0<=this.value.indexOf(t)}remove(t){this.contains(t)&&this.removeAt(this.value.indexOf(t))}removeAt(t){t<0?delete this.value[this.getByIndex(t)]:this.value.splice(t,1)}insert(t,e){this.value.splice(t,0,e)}clear(){this.value.splice(0,this.value.length)}clone(){let t=[];for(var e of this.value)t.push(e);return t}addRange(t){for(var e of t)this.value.push(e)}removeRange(t,e){this.value.splice(t,e)}copyTo(e,t=0){let r=t;for(let t=0;t<this.value.length;t++)e[r]=this.value[t],r++}getKeys(){let t=n.keys(this.value);return t.sort((t,e)=>+t<+e?-1:+e<+t?1:0)}getByIndex(t,e=null){return null==e&&(e=this.getKeys()),this.value[e[t]]}setByIndex(t,e){var r=n.keys(this.value);this.value[r[t]]=e}removeByIndex(t){var t=this.value.indexOf(this.getByIndex(t));return delete this.value[t],this.value}sort2(r){return this.value.sort((t,e)=>r.compare(t,e))}getLength(t){if(0<t)return this.value[0].stimulsoft().getLength(t-1);return this.value.length}toArray(){let t=[];for(var e of this.value)t.push(e);return t}toNumber(t=!0){return NaN}peek(){return this.value[this.value.length-1]}toList(){return new Ae.bi.List(this.value)}static create(e,r,i=!1){let n=[],a=null;e==Number&&(a=0),e==Boolean&&(a=!1);for(let t=0;t<r;t++)i&&(a=new e),n.push(a);return n}static create2(e,r,i,n=!1){let a=[];for(let t=0;t<r;t++){var s=l.create(e,i,n);a.push(s)}return a}static create3(e,r,i,n,a=!1){let s=[];for(let t=0;t<r;t++){var o=l.create2(e,i,n,a);s.push(o)}return s}static create1(e,...r){let i=!1;if("boolean"==typeof r[r.length-1]&&(i=!!r.pop()),e==Number)return 0;if(e==Boolean)return!1;if(0==r.length)return i?new e:null;let n=[];var a=r.shift();for(let t=0;t<a;t++){var s=l.create.apply(this,[e].concat(r,[i]));n.push(s)}return n}static sort3(t,r){let i=[];t.forEach((t,e)=>i.push({key:t,item:r[e]})),i.sort((t,e)=>t.key<e.key?1:t.key>e.key||null==t.key&&null!=e.key?-1:null==e.key?1:0),t.splice(0,t.length),r.splice(0,r.length);for(var e of i)t.push(e.key),r.push(e.item)}static distinct(t){let e=[],r=[];for(var i of t){var n=null===i||void 0===i?void 0:i.stimulsoft().getHashCode(),a;-1==r.indexOf(n)&&(e.push(i),r.push(n))}return e}static isArray(t){if(null!=t){if(Array.isArray(t))return!0;if(t instanceof Array)return!0;if(t instanceof Ae.bi.List)return!0;if(t instanceof Uint8Array)return!0;if(Ae.b.NodeJs.isBuffer(t))return!0}return!1}};l.numberSortFunction=()=>(t,e)=>{if(e<t)return 1;if(t<e)return-1;return 0},l.copy=(e,r,i,n)=>{for(let t=r;t<r+n;t++)i[t]=e[t]},l.copy2=(e,r,i,n,a)=>{for(let t=0;t<a;t++)i[n+t]=e[r+t]},l.copy3=(e,r)=>{for(let t=0;t<e.length;t++)r[t]=e[t]},l.reverse=t=>t.reverse(),l.sort=t=>t.sort(),l.clear=(t,e,r)=>{var i=t[0].stimulsoft().getType();for(e;e<r;e++)i==Number?t[e]=0:i==Boolean?t[e]=!1:t[e]=null;return t},Ae.b.StiArray=l}Ae.b.StiObject.init();let De=Ae.b.StiString;{let s=class{constructor(t){this.args=t.split(",").map(function(t){return t.split(":")[0]}).join(",")}create(t,e){if(De.isNullOrEmpty(t))return null;if(t.startsWith('<xml xmlns="https://developers.google.com/blockly/xml'))return new Function(this.args,"");let r;null!=e?r=e:null!=s._this&&(r=s._this);let i="",n="";null!=r&&"StiReport"==r.constructor.ssTypeName&&(r.dictionary.variables.list.forEach(function(t){De.isNullOrWhiteSpace(t.name)||(i+=`var ${s.fixName(t.name)} = this.getVariable("${t.name}");\r\n`)}),i+="\r\n",r.dictionary.dataSources.list.forEach(function(t,e){i+=`var ${s.fixName(t.name)} = this.dictionary.dataSources.getByIndex(${e.toString()});\r\n`}),i+="\r\n",n+=";\r\n\r\n",r.dictionary.variables.list.forEach(function(t){De.isNullOrWhiteSpace(t.name)||(n+=`this.setVariable("${t.name}", ${s.fixName(t.name)});\r\n`)}));var t=`try{\r\n`+`   var scriptComponents = "var __report__components__ = this.getComponents();\\r\\n";\r\n`+`   let __report__components__ = this.getComponents();\r\n`+`   __report__components__.list.forEach(function(component, index){\r\n`+`      scriptComponents += "var " + component.name.stimulsoft().replaceAll(\" \", \"_\").stimulsoft().replaceAll(\".\", \"_\").stimulsoft().replaceAll(\":\", \"_\") + " = __report__components__.getByIndex(" + index.toString() + ");\\r\\n";\r\n`+`   });\r\n`+`   var script = "${(i+t+n).stimulsoft().replaceAll('"','\\"').stimulsoft().replaceAll("\r","\\r").stimulsoft().replaceAll("\n","\\n")}";\r\n`+`   var functionn = new Function("${this.args}", scriptComponents + script);\r\n`+`   functionn.call(this, ${this.args});\r\n`+`}\r\n`+`catch(e) {\r\n`+`   Stimulsoft.System.StiError.showError(e, true);\r\n`+`}`;let a=new Function(this.args,t);return null!=r&&(a=a.bind(r)),a}static fixName(t){return t.stimulsoft().replaceAll(" ","_").stimulsoft().replaceAll(".","_").stimulsoft().replaceAll(":","_").stimulsoft().replaceAll("-","_").stimulsoft().replaceAll("+","_")}static create(t,e){return s.handler.create(t,e)}};s.handler=new s("sender: any, e: EventArgs"),Ae.b.EventHandler=s}Ae.b.Exception=class extends Error{constructor(t,e){super(t),this.innerException=e}};{let t=class{constructor(t){this.id=t.toLowerCase()}static newGuid(){return new t(t.s4()+t.s4()+"-"+t.s4()+"-"+t.s4()+"-"+t.s4()+"-"+t.s4()+t.s4()+t.s4())}static newGuidString(){return t.s4()+t.s4()+t.s4()+t.s4()+t.s4()+t.s4()+t.s4()+t.s4()}static s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}toString(){return this.id}static get empty(){return new t("00000000-0000-0000-0000-000000000000")}static compareTo(t){var e=this.toString(),t=t.toString();return e<t?-1:t<e?1:0}};Ae.b.Guid=t}Ae.b.Interface=class{constructor(t){this.typeName=t}},Ae.b.IAsIs=new Ae.b.Interface("IAsIs"),Ae.b.ICloneable=new Ae.b.Interface("ICloneable"),Ae.b.IComparable=new Ae.b.Interface("IComparable"),Ae.b.IFormatProvider=new Ae.b.Interface("IFormatProvider");{let o=class{static decode(t){return JSON.parse(t)}static encode(t){return JSON.stringify(t)}static stiPopulateObject(t,e){var r=typeof t,i=typeof e,n,a,s;if(Ae.b.StiObject.isNullOrUndefined(t)||"string"==r||"number"==r||"boolean"==r||"function"==r)return;if(Ae.b.StiObject.isNullOrUndefined(e)||"string"==i||"number"==i||"boolean"==i||"function"==i)return;for(a of Ae.b.StiObject.getOwnPropertyNames(t)){Object.prototype.hasOwnProperty.call(e,a)&&(s=typeof e[a],Ae.b.StiObject.isNullOrUndefined(e[a])||"string"==s||"number"==s||"boolean"==s?e[a]=t[a]:o.stiPopulateObject(t[a],e[a]))}}};Ae.b.JSON2=o}(L=R=Ae.b.MidpointRounding||(Ae.b.MidpointRounding={}))[L["ToEven"]=1e3]="ToEven",L[L["AwayFromZero"]=1001]="AwayFromZero",null!==Object.saveAs&&void 0!==Object.saveAs||(Object.saveAs=(t,e,r="application/octet-stream")=>{Ae.b.StiError.showError("The 'Object.saveAs' method is obsolete. Please use the 'Stimulsoft.System.StiObject.saveAs' method instead."),Ae.b.StiObject.saveAs(t,e,r)},Object.defineProperty(Object.prototype,"saveAs",{enumerable:!1,writable:!0}));{let e=class{static isRangeType(t){switch(t){case r:case i:case n:case a:case s:case o:case l:case u:case h:case c:case d:case m:case Ae.b.StimulsoftByteRange:case Ae.b.StimulsoftCharRange:case Ae.b.StimulsoftDateTimeRange:case Ae.b.StimulsoftDecimalRange:case Ae.b.StimulsoftDoubleRange:case Ae.b.StimulsoftFloatRange:case Ae.b.StimulsoftGuidRange:case Ae.b.StimulsoftIntRange:case Ae.b.StimulsoftLongRange:case Ae.b.StimulsoftShortRange:case Ae.b.StimulsoftStringRange:case Ae.b.StimulsoftTimeSpanRange:return!0}return!1}get rangeName(){return null}get rangeType(){return null}get fromObject(){return null}set fromObject(t){}get toObject(){return null}set toObject(t){}parse(t,e){if(this.rangeType==Ae.b.Char)De.isNullOrEmpty(t)||(this.fromObject=t[0]),De.isNullOrEmpty(e)||(this.toObject=e[0]);else if(this.rangeType==Ae.b.DateTime)try{De.isNullOrEmpty(t.trim())?this.fromObject=null:this.fromObject=Ae.b.DateTime.fromString(t),De.isNullOrEmpty(e.trim())?this.toObject=null:this.toObject=Ae.b.DateTime.fromString(e)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.TimeSpan)try{De.isNullOrEmpty(t.trim())?this.fromObject=null:this.fromObject=Ae.b.TimeSpan.fromString(t),De.isNullOrEmpty(e.trim())?this.toObject=null:this.toObject=Ae.b.TimeSpan.fromString(e)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Decimal)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber()}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Single)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber()}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Double)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber()}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Byte)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(!1),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber(!1)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Int16)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(!1),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber(!1)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Int32)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(!1),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber(!1)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Int64)try{De.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft().toNumber(!1),De.isNullOrEmpty(e.trim())?this.toObject=0:this.toObject=e.stimulsoft().toNumber(!1)}catch(t){Ae.b.StiError.showError(t,!1)}else if(this.rangeType==Ae.b.Guid)try{this.fromObject=new Ae.b.Guid(t),this.toObject=new Ae.b.Guid(e)}catch(t){Ae.b.StiError.showError(t,!1)}else this.rangeType==String&&(this.fromObject=t,this.toObject=e)}equals(t){var t=t.stimulsoft().as(e);if(null==t)return!1;return this.fromObject==t.fromObject&&0==this.fromObject.stimulsoft().compareTo(t.fromObject)&&0==this.toObject.stimulsoft().compareTo(t.toObject)}get fromStrLoc(){if(Y["Base"])return Y["Base"].Localization.StiLocalization.get("PropertyMain","RangeFrom");return"From"}get toStrLoc(){if(Y["Base"])return Y["Base"].Localization.StiLocalization.get("PropertyMain","RangeTo");return"To"}toString(){var t=null!=this.fromObject?this.fromObject:"",e=null!=this.toObject?this.toObject:"";return De.format("{0} {1} {2} {3}",this.fromStrLoc,t,this.toStrLoc.toLowerCase(),e)}getHashCode(){return null}constructor(){return}};Ae.c.Range=e;let r=class extends e{constructor(t,e){super(),this.from="A",this.to="Z",null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"CharRange"}get rangeType(){return Ae.b.Char}get fromObject(){return this.from}set fromObject(t){"string"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"string"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.CharRange=r;let i=class extends e{constructor(t,e){super(),this.from=null,this.to=null,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"DateTimeRange"}get rangeType(){return Ae.b.DateTime}get fromObject(){return this.from}set fromObject(t){t instanceof Ae.b.DateTime&&(this.from=t)}get toObject(){return this.to}set toObject(t){t instanceof Ae.b.DateTime&&(this.to=t)}get fromDate(){if(null==this.from)return Ae.b.DateTime.minValue;return this.from}get toDate(){if(null==this.to)return Ae.b.DateTime.maxValue;return this.to}contains(t){if(null==this.from&&null==this.to)return!0;if(null==t)return!1;if(null==this.from&&null!=this.to)return this.to>=t;if(null!=this.from&&null==this.to)return this.from<=t;return this.from<=t&&this.to>=t}toString(){var t=null!=this.from?De.format("{0:d}",this.from):"-",e=null!=this.to?De.format("{0:d}",this.to):"-";return De.format("{0} {1} {2} {3}",this.fromStrLoc,t,this.toStrLoc.toLowerCase(),e)}};Ae.c.DateTimeRange=i;let n=class extends e{constructor(t,e){super(),this.from=null,this.to=null,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"TimeSpanRange"}get rangeType(){return Ae.b.TimeSpan}get fromObject(){return this.from}set fromObject(t){t instanceof Ae.b.TimeSpan&&(this.from=t)}get toObject(){return this.to}set toObject(t){t instanceof Ae.b.TimeSpan&&(this.to=t)}get fromTime(){if(null==this.from)return Ae.b.TimeSpan.minValue;return this.from}get toTime(){if(null==this.to)return Ae.b.TimeSpan.maxValue;return this.to}contains(t){if(null==this.from&&null==this.to)return!0;if(null==t)return!1;if(null==this.from&&null!=this.to)return this.to>=t;if(null!=this.from&&null==this.to)return this.from<=t;return this.from<=t&&this.to>=t}toString(){var t=null!=this.from?De.format("{0}",this.from):"-",e=null!=this.to?De.format("{0}",this.to):"-";return De.format("{0} {1} {2} {3}",this.fromStrLoc,t,this.toStrLoc.toLowerCase(),e)}};Ae.c.TimeSpanRange=n;let a=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"DecimalRange"}get rangeType(){return Ae.b.Decimal}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.DecimalRange=a;let s=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"FloatRange"}get rangeType(){return Ae.b.Single}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.FloatRange=s;let o=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"DoubleRange"}get rangeType(){return Ae.b.Double}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.DoubleRange=o;let l=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"ByteRange"}get rangeType(){return Ae.b.Byte}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.ByteRange=l;let u=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"ShortRange"}get rangeType(){return Ae.b.Int16}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.ShortRange=u;let h=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"IntRange"}get rangeType(){return Ae.b.Int32}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.IntRange=h;let c=class extends e{constructor(t,e){super(),this.from=0,this.to=0,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"LongRange"}get rangeType(){return Ae.b.Int64}get fromObject(){return this.from}set fromObject(t){"number"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"number"==typeof t&&(this.to=t)}contains(t){return this.from<=t&&this.to>=t}};Ae.c.LongRange=c;let d=class extends e{constructor(t,e){super(),this.from=Ae.b.Guid.empty,this.to=Ae.b.Guid.empty,null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"GuidRange"}get rangeType(){return Ae.b.Guid}get fromObject(){return this.from}set fromObject(t){t instanceof Ae.b.Guid&&(this.from=t)}get toObject(){return this.to}set toObject(t){t instanceof Ae.b.Guid&&(this.to=t)}contains(t){return this.from.stimulsoft().compareTo(t)<=0&&0<=this.to.stimulsoft().compareTo(t)}};Ae.c.GuidRange=d;let m=class extends e{constructor(t,e){super(),this.from="",this.to="",null!=t&&(this.from=t),null!=e&&(this.to=e)}get rangeName(){return"StringRange"}get rangeType(){return String}get fromObject(){return this.from}set fromObject(t){"string"==typeof t&&(this.from=t)}get toObject(){return this.to}set toObject(t){"string"==typeof t&&(this.to=t)}contains(t){if(null==this.from&&null==this.to)return!0;if(null==t)return!0;if(null==this.from&&null!=this.to)return 0<=this.to.stimulsoft().compareTo(t.toString());if(null!=this.from&&null==this.to)return this.from.stimulsoft().compareTo(t.toString())<=0;return this.from.stimulsoft().compareTo(t.toString())<=0&&0<=this.to.stimulsoft().compareTo(t.toString())}};Ae.c.StringRange=m}Ae.b.ResourceManager=class{constructor(){this.resource=[{name:"DHSBigSeparator",value:"dirhams",comment:"Separator for big numbers"},{name:"DHSCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"DHSCentPlural",value:"centimes"},{name:"DHSCentSingle",value:"centime"},{name:"DHSGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"DHSPlural",value:"dirhams"},{name:"DHSSingle",value:"dirham"},{name:"EURBigSeparator",value:"euros",comment:"Separator for big numbers"},{name:"EURCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"EURCentPlural",value:"cents"},{name:"EURCentSingle",value:"cent"},{name:"EURGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"EURPlural",value:"euros"},{name:"EURSingle",value:"euro"},{name:"GBPBigSeparator",value:"pounds",comment:"Separator for big numbers"},{name:"GBPCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"GBPCentPlural",value:"pence"},{name:"GBPCentSingle",value:"penny"},{name:"GBPGender",value:"2",comment:"0 : neutral - 1 : male - 2 : female"},{name:"GBPPlural",value:"pounds"},{name:"GBPSingle",value:"pound"},{name:"MXNBigSeparator",value:"pesos",comment:"Separator for big numbers"},{name:"MXNCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"MXNCentPlural",value:"centavos"},{name:"MXNCentSingle",value:"centavo"},{name:"MXNGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"MXNPlural",value:"pesos"},{name:"MXNSingle",value:"peso"},{name:"TooLongError",value:"the number is too big"},{name:"USDBigSeparator",value:"dollars\tSeparator for big numbers"},{name:"USDCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"USDCentPlural",value:"cents"},{name:"USDCentSingle",value:"cent"},{name:"USDGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"USDPlural",value:"dollars"},{name:"USDSingle",value:"dollar"}]}getString(t,e){for(var r of this.resource)if(r.name==t)return r.value;return""}};{let n=class{static showError(t,e=!0,r=!1){let i=t;null!=t&&null!=t["message"]&&(i=t.message),e&&(!n.errorMessageForm||this.lastErrorMessage==i&&0!=n.errorMessageForm.visible||(n.errorMessageForm.show(i,r),this.lastErrorMessage=i)),Ae.b.NodeJs.consoleLog&&console.log(i)}};n.lastErrorMessage="",Ae.b.StiError=n}{let l=class{static round2(t,e=0){if(l.trunc(t)==t)return t;var r=t<0?-1:1;if(r<0&&(t=Math.abs(t)),0<e){var i=Math.pow(10,e);return Math.round(l.round2(t*i,e-1))/i*r}return Math.round(t)*r}static roundToEven(t,e=0,r=!0){if(l.trunc(t)==t)return t;if(!r)return l.round2(t,e);var i=t<0?-1:1;let n=(t=i<0?Math.abs(t):t).toString();var r=n.indexOf("."),a;let s=n.substr(r+1);if(s.length==e+1&&"5"==s.charAt(e)){if(0<e){var o=Math.pow(10,e);if(1<t*o%2)return Math.round(l.round2(t*o,e-1))/o*i;return(Math.round(t*o)-1)/o*i}if(1<t%2)return Math.round(t)*i;return(Math.round(t)-1)*i}if(0<e){var o=Math.pow(10,e);return Math.round(l.round2(t*o,e-1))/o*i}return Math.round(t)*i}static trunc(t){return t<0?Math.ceil(t):Math.floor(t)}static sign(t){if(0==t||isNaN(t))return t;return 0<t?1:-1}static log10(t){return Math.log(t)/Math.LN10}};Ae.b.StiMath=l}{let e;(M=e=Ae.b.StiNavigatorType||(Ae.b.StiNavigatorType={}))[M["Unknown"]=0]="Unknown",M[M["Edge"]=1]="Edge",M[M["MSIE"]=2]="MSIE",M[M["Chrome"]=3]="Chrome",M[M["Safari"]=4]="Safari",M[M["Mozilla"]=5]="Mozilla",M[M["Opera"]=6]="Opera",Ae.b.StiNavigator=class{static get type(){if(!navigator)return e.Unknown;let t=navigator.userAgent;if(0<=t.indexOf("Edge")&&e.Edge,0<=t.indexOf("MSIE")||0<=t.indexOf("Trident"))return e.MSIE;if(0<=t.indexOf("Gecko")){if(0<=t.indexOf("Chrome"))return e.Chrome;if(0<=t.indexOf("Safari"))return e.Safari;return e.Mozilla}if(0<=t.indexOf("Opera"))return e.Opera;return e.Unknown}}}Ae.b.StiPromise=class{constructor(){this._timeout=-1,this._callTry=!1,this._callCatch=!1,this._callFinaly=!1,this._callTimeout=!0,this.assignFunction=!1,this._catchFunctions=[],this.nextPromises=[],this._startTime=Date.now(),this._tryFunctions=[]}try(t,e=null){return null!=e&&(this._this=e),this.assignFunction=!0,this._tryFunctions.push(t),this._callTry&&this.callTry(this.returnValue),this}catch(t,e=null){return null!=e&&(this._this=e),this.assignFunction=!0,this._catchFunctions.push(t),this._callCatch&&this.callCatch(this._catchArgument),this}finally(t,e=null){return null!=e&&(this._this=e),this._finallyFunction=t,this._callFinaly&&this.callFinally(this._finalyArgument),this}this(t){return this._this=t,this}timeout(t){return this._callTimeout&&(this._timeout=t,this.timeoutHanderId=setTimeout(()=>{this.callCatch("Timeout response from the server.")},this._timeout)),this}callTry(t=null){if(this.returnValue=t,0<this._tryFunctions.length){clearTimeout(this.timeoutHanderId);for(var e of this._tryFunctions)e.apply(this._this,[this.returnValue]);this.callFinally(this.returnValue)}else this.assignFunction?this.callFinally(this.returnValue):(this._callTry=!0,this._callFinaly=!0,this._callTimeout=!1,this._finalyArgument=this._catchArgument);return this}callCatch(t=null){if(this._catchArgument=t,0<this._catchFunctions.length){clearTimeout(this.timeoutHanderId);for(var e of this._catchFunctions)e(this._catchArgument);this.callFinally(this._catchArgument)}else this.assignFunction?this.callFinally(this._catchArgument):(this._callCatch=!0,this._callFinaly=!0,this._callTimeout=!1,this._finalyArgument=this._catchArgument)}callFinally(t){this._callFinaly=!1,this._callTimeout=!1,this._finalyArgument=t,this._finallyFunction?this._finallyFunction(this._finalyArgument):this._callFinaly=!0}callTimeout(){if(-1!=this._timeout&&Date.now()-this._startTime>this._timeout)throw new Error("")}abort(t=null){if(null!=t)t.nextPromises.push(this);else{for(var e of this.nextPromises)e.abort();null!=this.abortFunction&&this.abortFunction(),clearTimeout(this.timeoutHanderId)}return this}onAbort(t){this.abortFunction=t}},(H=O=Ae.b.StringComparison||(Ae.b.StringComparison={}))[H["CurrentCulture"]=0]="CurrentCulture",H[H["CurrentCultureIgnoreCase"]=1]="CurrentCultureIgnoreCase",H[H["InvariantCulture"]=2]="InvariantCulture",H[H["InvariantCultureIgnoreCase"]=3]="InvariantCultureIgnoreCase",H[H["Ordinal"]=4]="Ordinal",H[H["OrdinalIgnoreCase"]=5]="OrdinalIgnoreCase",Ae.b.SwitchSymbolFormatter=class{constructor(t="#"){this.numberSymbol=t,this.isValid=!0}formatValue(e,r){let i="",n=0;var a=e.length,t;for(let t=0;t<a;t++){e.charAt(t)==this.numberSymbol?i+=r.charAt(n++):i+=e.charAt(t)}return i}};let Be=Ae.b.Char;{let g=class{constructor(t=0,e=null,r=null,i=null){var t;this._minus=!1,null==e?this.ticks=t:(t=t,null==i&&(i=0),this.ticks=g.timeToTicks(0,t,e,r,i))}static get zero(){return new g}static getNetTypeName(){return"Stimulsoft.System.TimeSpan"}static get minValue(){return null==this._minValue&&(this._minValue=new g(0,0,Number.MIN_VALUE)),this._minValue}static get maxValue(){return null==this._maxValue&&(this._maxValue=new g(0,0,Number.MAX_VALUE)),this._maxValue}get days(){return Math.floor(this.ticks/g.ticksPerDay)}get hours(){return Math.floor(this.ticks/g.ticksPerHour)%24}get milliseconds(){return Math.floor(this.ticks/g.ticksPerMillisecond)%1e3}get minutes(){return Math.floor(this.ticks/g.ticksPerMinute)%60}get seconds(){return Math.floor(this.ticks/g.ticksPerSecond)%60}get totalDays(){return this.ticks*g.daysPerTick}get totalHours(){return this.ticks*g.hoursPerTick}get totalMilliseconds(){var t=this.ticks*g.millisecondsPerTick;if(t>g.maxMilliSeconds)return g.maxMilliSeconds;if(t<g.minMilliSeconds)return g.minMilliSeconds;return t}get totalMinutes(){return this.ticks*g.minutesPerTick}get totalSeconds(){return this.ticks*g.secondsPerTick}static fromString(t,e=null){if(null==t)return null;let r=!1;Ae.b.StiString.isNullOrEmpty(e)&&(e="hh:mm:ss",r=!0);let i=0,n=0,a=0,s=0,o=0,l,u=0,h=[],c=[],d=!1;while(u<t.length){if(l=t.charAt(u),Be.isDigit(l)){c.push(l),u++;while(u<t.length&&Be.isDigit(l=t.charAt(u)))c[c.length-1]+=t.charAt(u),u++;h.push(+c[c.length-1])}else"-"==l&&(d=!0);r&&"."===l&&(1===h.length?e="d.hh:mm:ss":e+=".f"),u++}u=0;let m=-1;while(u<e.length&&m+1<h.length){if(l=e.charAt(u),"d"===l||"h"===l||"H"===l||"m"===l||"s"===l||"f"===l||"F"===l){m++;while(u<e.length&&e.charAt(u)===l)u++}switch(l){case"d":i=h[m];break;case"h":case"H":n=h[m];break;case"m":a=h[m];break;case"s":s=h[m];break;case"f":case"F":o=h[m];break;default:u++;break}}let p=g.create(i,n,a,s,o);return p._minus=d,p}static interval(t,e){var r,t=t*e+(0<=t?.5:-.5);return new g(t*g.ticksPerMillisecond)}static fromTicks(t){return new g(t)}static fromSeconds(t){return this.interval(t,this.millisPerSecond)}static fromMilliseconds(t){return this.interval(t,1)}add(t){return new g(this.ticks+t)}add2(t){return new g(this.ticks+t.ticks)}toString(e){switch(Ae.b.StiString.isNullOrEmpty(e)&&(e="hh:mm:ss",0!=this.days&&(e="d.hh:mm:ss")),e){case"t":e=xt.currentCulture.dateTimeFormat.shortTimePattern;break;case"T":e=xt.currentCulture.dateTimeFormat.longTimePattern;break}e=e.replace(/H/gm,"h");let r="",i=0,n=!1;while(i<e.length){let t=e.charAt(i);if(!Be.isLetter(t)){r+=t,i++;continue}while(i+1<e.length&&Be.isLetter(e.charAt(i+1)))i++,t+=e.charAt(i);switch(t[0]){case"d":n=!0,r+=Math.abs(this.days).toString().stimulsoft().padLeft(t.length,"0");break;case"h":r+=Math.abs(n?this.hours:Ae.b.StiMath.trunc(Ae.b.StiMath.round2(this.totalHours,2))).toString().stimulsoft().padLeft(t.length,"0");break;case"m":r+=Math.abs(this.minutes).toString().stimulsoft().padLeft(t.length,"0");break;case"s":r+=Math.abs(this.seconds).toString().stimulsoft().padLeft(t.length,"0");break;case"f":r+=Math.abs(this.milliseconds).toString().stimulsoft().padLeft(t.length,"0");break;case"F":0!=this.milliseconds&&(r+=Math.abs(this.milliseconds).toString().stimulsoft().padLeft(t.length,"0"));break}i++}if(this._minus)return"-"+r;return r}negate(){if(this.ticks==g.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new g(-this.ticks)}static timeToTicks(t,e,r,i,n){var a;return(86400*t+3600*e+60*r+i)*g.ticksPerSecond}static create(t=0,e=0,r=0,i=0,n=0){return new g(g.timeToTicks(t,e,r,i,n))}};g.ticksPerMillisecond=1,g.millisecondsPerTick=1/g.ticksPerMillisecond,g.ticksPerSecond=1e3*g.ticksPerMillisecond,g.secondsPerTick=1/g.ticksPerSecond,g.ticksPerMinute=60*g.ticksPerSecond,g.minutesPerTick=1/g.ticksPerMinute,g.ticksPerHour=60*g.ticksPerMinute,g.hoursPerTick=1/g.ticksPerHour,g.ticksPerDay=24*g.ticksPerHour,g.daysPerTick=1/g.ticksPerDay,g.millisPerSecond=1e3,g.millisPerMinute=60*g.millisPerSecond,g.millisPerHour=60*g.millisPerMinute,g.millisPerDay=24*g.millisPerHour,g.maxSeconds=Number.MAX_VALUE/g.ticksPerSecond,g.minSeconds=Number.MIN_VALUE/g.ticksPerSecond,g.maxMilliSeconds=Number.MAX_VALUE/g.ticksPerMillisecond,g.minMilliSeconds=Number.MIN_VALUE/g.ticksPerMillisecond,g.ticksPerTenthSecond=100*g.ticksPerMillisecond,g._minValue=null,g._maxValue=null,Ae.b.TimeSpan=g}(V=_=Ae.b.TypeCode||(Ae.b.TypeCode={}))[V["Empty"]=0]="Empty",V[V["Object"]=1]="Object",V[V["DBNull"]=2]="DBNull",V[V["Boolean"]=3]="Boolean",V[V["Char"]=4]="Char",V[V["SByte"]=5]="SByte",V[V["Byte"]=6]="Byte",V[V["Int16"]=7]="Int16",V[V["UInt16"]=8]="UInt16",V[V["Int32"]=9]="Int32",V[V["UInt32"]=10]="UInt32",V[V["Int64"]=11]="Int64",V[V["UInt64"]=12]="UInt64",V[V["Single"]=13]="Single",V[V["Double"]=14]="Double",V[V["Decimal"]=15]="Decimal",V[V["DateTime"]=16]="DateTime",V[V["String"]=18]="String";let gt=Ae.b.TypeCode;{let t=class{static getTypes(){return null==t.types&&(t.types=[i,e,Ae.b.Char,Ae.b.DateTime,Ae.b.TimeSpan,n,a,Ae.b.Guid,o,l,c,u,h,d,Object,m,p,f,y,g,S,b,v,Ae.bn.Image,w,C,T,P,I,A,x,D,B,E,F,k,N,R,L,M,H,G,O,_,U,V,j,W,q,z,X,J,Y,Q,K,Z,$,tt,rt,it,nt,at,st,ot,lt,ut,ht,ct,dt,mt,pt,Number,Array,Boolean,String]),t.types}static isValueType(t){return t==Boolean||t==i||t==Ae.b.Char||t==Ae.b.DateTime||t==Ae.b.TimeSpan||t==Number||t==s||t==n||t==a||t==Ae.b.Guid||t==l||t==u||t==h||t==Object||t==m||t==p||t==String||t==f||t==S||t==b||t==Ae.bn.Image||t==w||t==C||t==T||t==P||t==I||t==A||t==x||t==D||t==E||t==k||t==N||t==L||t==M||t==H||t==_||t==V}};Ae.b.TypeHelper=t;let r=class{apply(t,e){return null}call(t,...e){return null}bind(t,...e){return null}static getType(t){if(null==t)return null;if("string"==typeof t)return String;if("number"==typeof t)return Number;if("boolean"==typeof t)return Boolean;return(t.__proto__||Object.getPrototypeOf(t)).constructor}static getTypeName(t){return t.stimulsoft().getType().stimulsoft().getTypeName()}static getTypeCode(t){var e;switch(r.getType(t)){case Object:return gt.Object;case Boolean:return gt.Boolean;case Ae.b.Char:return gt.Char;case m:return gt.SByte;case i:return gt.Byte;case l:return gt.Int16;case f:return gt.UInt16;case u:return gt.Int32;case S:return gt.UInt32;case h:return gt.Int64;case b:return gt.UInt64;case p:return gt.Single;case a:return gt.Double;case Number:case n:return gt.Decimal;case Ae.b.DateTime:return gt.DateTime;case String:return gt.String}return gt.Empty}static isNumericType(t){if(null==t)return!1;if(m==t)return!0;if(i==t)return!0;if(c==t)return!0;if(y==t)return!0;if(o==t||l==t||u==t||h==t)return!0;if(g==t||f==t||S==t||b==t)return!0;if(d==t)return!0;if(v==t)return!0;if(s==t)return!0;if(a==t)return!0;if(n==t)return!0;if(Number==t)return!0;return!1}static isIntegerType(t){if(null==t)return!1;if(m==t)return!0;if(i==t)return!0;if(c==t)return!0;if(y==t)return!0;if(o==t||l==t||u==t||h==t)return!0;if(g==t||f==t||S==t||b==t)return!0;if(d==t)return!0;if(v==t)return!0;return!1}static isDateType(t){if(null==t)return!1;return t==Ae.b.DateTime||t==Ae.b.TimeSpan}static isArrayType(t){if(null==t)return!1;if(Array==t)return!0;if(Ae.bi.List==t)return!0;if(Ae.b.ByteArray==t)return!0;return!1}static getHashCode(t){return 0}};Symbol.hasInstance,Ae.b.Type=r;let i=class{};Ae.b.Byte=i;let e=class{static getTypeName(){return"Byte[]"}static getNetTypeName(){return"System.Byte[]"}};Ae.b.ByteArray=e;let n=class{};Ae.b.Decimal=n;let a=class{};Ae.b.Double=a;let s=class{};Ae.b.Float=s;let o=class{};Ae.b.Int=o;let l=class{};Ae.b.Int16=l;let u=class{};Ae.b.Int32=u;let h=class{};Ae.b.Int64=h;let c=class{};Ae.b.Short=c;let d=class{};Ae.b.Long=d;let m=class{};Ae.b.SByte=m;let p=class extends Number{};Ae.b.Single=p;let g=class{};Ae.b.UInt=g;let f=class{};Ae.b.UInt16=f;let S=class{};Ae.b.UInt32=S;let b=class{};Ae.b.UInt64=b;let y=class{};Ae.b.UShort=y;let v=class{};Ae.b.ULong=v;var ft=class{},St;Ae.b.Nullable=ft;let w=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Boolean]"}};Ae.b.NullableBoolean=w;let C=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Byte]"}};Ae.b.NullableByte=C;let T=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Char]"}};Ae.b.NullableChar=T;let P=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.DateTime]"}};Ae.b.NullableDateTime=P;let I=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.TimeSpan]"}};Ae.b.NullableTimeSpan=I;let A=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Decimal]"}};Ae.b.NullableDecimal=A;let x=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Double]"}};Ae.b.NullableDouble=x,Ae.b.NullableFloat=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Float]"}};let D=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Guid]"}};Ae.b.NullableGuid=D;let B=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Int]"}};Ae.b.NullableInt=B;let E=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Int16]"}};Ae.b.NullableInt16=E;let k=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Int32]"}};Ae.b.NullableInt32=k;let N=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Int64]"}};Ae.b.NullableInt64=N;let F=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Short]"}};Ae.b.NullableShort=F;let R=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Long]"}};Ae.b.NullableLong=R;let L=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.SByte]"}};Ae.b.NullableSByte=L;let M=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.Single]"}};Ae.b.NullableSingle=M;let O=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.UInt]"}};Ae.b.NullableUInt=O;let H=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.UInt16]"}};Ae.b.NullableUInt16=H;let _=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.UInt32]"}};Ae.b.NullableUInt32=_;let V=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.UInt64]"}};Ae.b.NullableUInt64=V;let G=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.UShort]"}};Ae.b.NullableUShort=G;let U=class extends ft{static getTypeName(){return"Nullable`1"}static getNetTypeName(){return"System.Nullable`1[System.ULong]"}};Ae.b.NullableULong=U;let j=class extends Ae.c.ByteRange{static getTypeName(){return"ByteRange"}static getNetTypeName(){return"Stimulsoft.Report.ByteRange"}};Ae.b.StimulsoftByteRange=j;let W=class extends Ae.c.CharRange{static getTypeName(){return"CharRange"}static getNetTypeName(){return"Stimulsoft.Report.CharRange"}};Ae.b.StimulsoftCharRange=W;let q=class extends Ae.c.DateTimeRange{static getTypeName(){return"DateTimeRange"}static getNetTypeName(){return"Stimulsoft.Report.DateTimeRange"}};Ae.b.StimulsoftDateTimeRange=q;let z=class extends Ae.c.DecimalRange{static getTypeName(){return"DecimalRange"}static getNetTypeName(){return"Stimulsoft.Report.DecimalRange"}};Ae.b.StimulsoftDecimalRange=z;let X=class extends Ae.c.DoubleRange{static getTypeName(){return"DoubleRange"}static getNetTypeName(){return"Stimulsoft.Report.DoubleRange"}};Ae.b.StimulsoftDoubleRange=X;let J=class extends Ae.c.FloatRange{static getTypeName(){return"FloatRange"}static getNetTypeName(){return"Stimulsoft.Report.FloatRange"}};Ae.b.StimulsoftFloatRange=J;let Y=class extends Ae.c.GuidRange{static getTypeName(){return"GuidRange"}static getNetTypeName(){return"Stimulsoft.Report.GuidRange"}};Ae.b.StimulsoftGuidRange=Y;let Q=class extends Ae.c.IntRange{static getTypeName(){return"IntRange"}static getNetTypeName(){return"Stimulsoft.Report.IntRange"}};Ae.b.StimulsoftIntRange=Q;let K=class extends Ae.c.LongRange{static getTypeName(){return"LongRange"}static getNetTypeName(){return"Stimulsoft.Report.LongRange"}};Ae.b.StimulsoftLongRange=K;let Z=class extends Ae.c.ShortRange{static getTypeName(){return"ShortRange"}static getNetTypeName(){return"Stimulsoft.Report.ShortRange"}};Ae.b.StimulsoftShortRange=Z;let $=class extends Ae.c.StringRange{static getTypeName(){return"StringRange"}static getNetTypeName(){return"Stimulsoft.Report.StringRange"}};Ae.b.StimulsoftStringRange=$;let tt=class extends Ae.c.TimeSpanRange{static getTypeName(){return"TimeSpanRange"}static getNetTypeName(){return"Stimulsoft.Report.TimeSpanRange"}};Ae.b.StimulsoftTimeSpanRange=tt;let et=class{static isListType(t){switch(t){case et:case rt:case it:case nt:case at:case st:case ot:case lt:case ut:case ht:case ct:case dt:case mt:case pt:return!0}return!1}};Ae.b.StimulsoftList=et;let rt=class extends et{static getTypeName(){return"BoolList"}static getNetTypeName(){return"Stimulsoft.Report.BoolList"}};Ae.b.StimulsoftBoolList=rt;let it=class extends et{static getTypeName(){return"ByteList"}static getNetTypeName(){return"Stimulsoft.Report.ByteList"}};Ae.b.StimulsoftByteList=it;let nt=class extends et{static getTypeName(){return"CharList"}static getNetTypeName(){return"Stimulsoft.Report.CharList"}};Ae.b.StimulsoftCharList=nt;let at=class extends et{static getTypeName(){return"DateTimeList"}static getNetTypeName(){return"Stimulsoft.Report.DateTimeList"}};Ae.b.StimulsoftDateTimeList=at;let st=class extends et{static getTypeName(){return"DecimalList"}static getNetTypeName(){return"Stimulsoft.Report.DecimalList"}};Ae.b.StimulsoftDecimalList=st;let ot=class extends et{static getTypeName(){return"DoubleList"}static getNetTypeName(){return"Stimulsoft.Report.DoubleList"}};Ae.b.StimulsoftDoubleList=ot;let lt=class extends et{static getTypeName(){return"FloatList"}static getNetTypeName(){return"Stimulsoft.Report.FloatList"}};Ae.b.StimulsoftFloatList=lt;let ut=class extends et{static getTypeName(){return"GuidList"}static getNetTypeName(){return"Stimulsoft.Report.GuidList"}};Ae.b.StimulsoftGuidList=ut;let ht=class extends et{static getTypeName(){return"IntList"}static getNetTypeName(){return"Stimulsoft.Report.IntList"}};Ae.b.StimulsoftIntList=ht;let ct=class extends et{static getTypeName(){return"LongList"}static getNetTypeName(){return"Stimulsoft.Report.LongList"}};Ae.b.StimulsoftLongList=ct;let dt=class extends et{static getTypeName(){return"ShortList"}static getNetTypeName(){return"Stimulsoft.Report.ShortList"}}
;Ae.b.StimulsoftShortList=dt;let mt=class extends et{static getTypeName(){return"StringList"}static getNetTypeName(){return"Stimulsoft.Report.StringList"}};Ae.b.StimulsoftStringList=mt;let pt=class extends et{static getTypeName(){return"TimeSpanList"}static getNetTypeName(){return"Stimulsoft.Report.TimeSpanList"}};Ae.b.StimulsoftTimeSpanList=pt}Ae.bi.CollectionBase=class{constructor(){this.list=[]}toList(){return this.list.stimulsoft().toList()}toCast(){return this.list}get count(){return this.list.length}get length(){return this.list.length}clear(){this.list=[]}add(t){this.list.push(t)}addRange(t){if(Ae.b.StiArray.isArray(t))for(var e of t)this.add(e);else for(var r of t.list)this.add(r)}remove(t){var t=this.list.indexOf(t);0<=t&&this.list.splice(t,1)}removeAt(t){0<=t&&this.list.splice(t,1)}indexOf(t){return this.list.indexOf(t)}getByIndex(t){return this.list[t]}setByIndex(t,e){this.list[t]=e}insert(t,e){this.list.splice(t,0,e)}contains(t){return 0<=this.list.indexOf(t)}};{let r=class{constructor(t={ignoreCase:!1}){this.ignoreCase=!1,this.isSimpleKeys=!1,this.keys=new Ae.bi.List,this.values=new Ae.bi.List,this.indexObject={},this.ignoreCase=t.ignoreCase,this.ignoreCase&&(this.isSimpleKeys=!0)}get(t){if(this.isSimpleKeys)return this.ignoreCase&&(t=t.toLowerCase()),this.values[this.indexObject[t]];return this.values[this.keys.indexOf(t)]}set(t,e){var r,r;this.isSimpleKeys?"string"!=(r=typeof t)&&"number"!=r&&(this.isSimpleKeys=!1,this.indexObject={}):0==this.keys.length&&("string"!=(r=typeof t)&&"number"!=r||(this.isSimpleKeys=!0));let i=-1;i=this.isSimpleKeys?(this.ignoreCase&&(t=t.toLowerCase()),this.indexObject[t]):this.keys.indexOf(t),0<=i?this.values[i]=e:(this.isSimpleKeys&&(this.ignoreCase&&(t=t.toLowerCase()),this.indexObject[t]=this.keys.length),this.keys.push(t),this.values.push(e))}add(t,e){this.set(t,e)}contains(t){if(this.isSimpleKeys)return this.ignoreCase&&(t=t.toLowerCase()),null!=this.indexObject[t];return this.keys.contains(t)}containsKey(t){if(this.isSimpleKeys)return this.ignoreCase&&(t=t.toLowerCase()),null!=this.indexObject[t];return this.keys.contains(t)}containsValue(t){return this.values.contains(t)}remove(t){let e;if(e=this.isSimpleKeys?(this.ignoreCase&&(t=t.toLowerCase()),this.indexObject[t]):this.keys.indexOf(t),0<=e&&(this.keys.removeAt(e),this.values.removeAt(e),this.isSimpleKeys)){this.indexObject={};for(let t=0;t<this.keys.length;t++)this.indexObject[this.ignoreCase?this.keys[t].toLowerCase():this.keys[t]]=t}}clear(){this.keys=new Ae.bi.List,this.values=new Ae.bi.List,this.indexObject={},this.isSimpleKeys=!1}copyTo(t,e){while(t.length<e)t.push(null);for(var r of this.values)t.length>e?t[e]=r:t.push(r),e++}get count(){return this.keys.length}clone(){let t=new r;if(this.keys.copyTo(t.keys),this.values.copyTo(t.values),this.isSimpleKeys)for(var e of Ae.b.StiObject.keys(this.indexObject))t.indexObject[e]=this.indexObject[e];return t.ignoreCase=this.ignoreCase,t.isSimpleKeys=this.isSimpleKeys,t}};Ae.bi.Hashtable=r}Ae.bi.Dictionary=class extends Ae.bi.Hashtable{get pairs(){return this.keys.map((t,e)=>({key:t,value:this.values[e]}))}tryGetValue(t,e){var t=this.keys.indexOf(t);return e.ref=0<=t?this.values[t]:null,0<=t}},Ae.bi.DictionaryEntry=class{};let z=Ae.b.DateTime;{let c=class extends Array{constructor(t){super(),"number"==typeof t||t&&t.forEach(t=>this.push(t));try{this.__proto__=c.prototype,Object.defineProperty(this,"__proto__",{enumerable:!1})}catch(t){Object.defineProperty(this,"__proto__",{enumerable:!1,writable:!0}),this.__proto__=c.prototype}}static create(e,...r){let i=!1;if("boolean"==typeof r[r.length-1]&&(i=!!r.pop()),0==r.length){if(e==Number)return 0;if(e==Boolean)return!1;return i?new e:null}let n=new c;var a=r.shift();for(let t=0;t<a;t++){var s=c.create.apply(this,[e].concat(r,[i]));n.push(s)}return n}get countItems(){var t;return Ae.b.StiObject.keys(this).length}addRange(t){for(var e of t)this.push(e)}removeRange(t,e){this.splice(t,e)}getRange(t,e){return(t=null==t||t<0?0:t)+e>this.length&&(e=this.length-t),new c(this.slice(t,t+e))}add(t){this.push(t)}insert(t,e){this.splice(t,0,e)}getKeys(){return Ae.b.StiObject.keys(this).sort((t,e)=>t.stimulsoft().toNumber().stimulsoft().compareTo(e.stimulsoft().toNumber()))}getByIndex(t,e=null){return null==e&&(e=this.getKeys()),this[e[t]]}setByIndex(t,e,r=null){null==r&&(r=this.getKeys()),this[r[t]]=e}removeByIndex(t){var t=this.indexOf(this.getByIndex(t,null));return delete this[t],this}copyTo(e,t=0){let r=t;for(let t=0;t<this.length;t++)e[r]=this[t],r++}clear(){this.splice(0,this.length)}peek(){return this[this.length-1]}remove(t){var t=this.indexOf(t);0<=t&&this.removeAt(t)}removeAt(t){this.splice(t,1)}exists(t){for(var e of this)if(t(e))return!0;return!1}fullOuterJoin(t,r,e,i,n){let a=t.toLookup(e,n),s=this.toLookup(r,n);var t=t.where(t=>!s.contains(e.apply(n,[t]))).select(t=>i.apply(n,[null,t]));return this.selectMany2(t=>{let e=a.get(r.apply(n,[t]));return e.any()?e:new c},i,n).concat(t)}toList(){return new c(this)}findIndex2(e){for(let t=0;t<this.length;t++)if(e(this[t]))return t;return-1}findLastIndex2(e){let r=-1;for(let t=0;t<this.length;t++)e(this[t])&&(r=t);return r}zip(e,r){let i=new c;for(let t=0;t<this.length;t++)i.add(r(this[t],e[t]));return i}static repeat(e,r){let i=new c;for(let t=0;t<r;t++)i.push(e);return i}where(e,r){let i=new c;for(let t=0;t<this.length;t++){var n=this[t];e.apply(r,[n,t])&&i.push(n)}return i}join2(t,e,r,i,n){let a=new c,s=new Ae.bi.Hashtable;for(var o of t){var l=r.apply(n,[o]);s.set(l,o)}for(var u of this){var h=e.apply(n,[u]),h=s.get(h);null!=h&&a.push(i.apply(n,[u,h]))}return a}groupJoin(t,e,r,i,n){let a=new c,s=new Ae.bi.Hashtable;for(var o of t){var l=r.apply(n,[o]);let t=s.get(l);null==t&&(t=new c,s.set(l,t)),t.push(o)}for(var u of this){var h=e.apply(n,[u]);let t=s.get(h);null==t&&(t=new c),a.push(i.apply(n,[u,t]))}return a}select(e,r){let i=new c;return this.forEach(t=>i.push(e.apply(r,[t]))),i}selectMany(r,i){let n=new c;return this.forEach(t=>{let e=r.apply(i,[t]);null!=e&&e.forEach(t=>n.push(t))}),n}selectMany2(r,i,n){let a=new c;return this.forEach(e=>{let t=r.apply(n,[e]);null!=t&&t.forEach(t=>a.push(i.apply(n,[e,t])))}),a}orderBy(r,i){let t=this.stimulsoft().toArray();return null==i&&(i={compare:(t,e)=>{if(null!=t&&null==e)return 1;if(null==t&&null!=e)return-1;if(null==t&&null==e)return 0;return t.stimulsoft().compareTo(e)}}),t.sort((t,e)=>i.compare(r(t),r(e))),new c(t)}orderByDescending(r,i){let t=this.stimulsoft().toArray();return null==i&&(i={compare:(t,e)=>{if(null!=t&&null==e)return-1;if(null==t&&null!=e)return 1;if(null==t&&null==e)return 0;return e.stimulsoft().compareTo(t)}}),t.sort((t,e)=>i.compare(r(t),r(e))),new c(t)}groupBy(r,i,n){let a=new c;null==i&&(i={equals:(t,e)=>{if(t==e)return!0;return!1},getHashCode:()=>0});for(var s of this){let e=r.apply(n,[s]),t=a.firstOrDefault(t=>i.equals(t.key,e));null==t&&(t=new Ae.bi.Grouping(new c([])),t.key=e,a.push(t)),t.push(s)}return a}cast(){let e=new c,t;return t=t=>t,this.forEach(t=>e.push(t)),e}toDictionary(e,r){let i=new Ae.bi.Dictionary;for(let t=0;t<this.length;t++)i.add(e(this[t]),r(this[t]));return i}toLookup(e,r){let i=new Ae.bi.Hashtable;for(var n of this){var a=e.apply(r,[n]);let t=i.get(a);null==t&&(t=new c,i.set(a,t)),t.push(n)}return i}concat(t){let e=new c;for(var r of this)e.push(r);for(var i of t)e.push(i);return e}aggregate(e){let r=this[0];for(let t=1;t<this.length;t++)r=e(r,this[t]);return r}aggregate2(e,r){for(let t=0;t<this.length;t++)e=r(e,this[t]);return e}count2(e,r){null==e&&(e=t=>!0);let i=0;return this.forEach(t=>e.apply(r,[t])?i++:null),i}max(e){var r=this.where(t=>null!=t);if(0==r.length)return null;let i=(e=null==e?t=>t:e)(r[0]),n;"string"==typeof i&&(n=function(t,e){return 0<=t.stimulsoft().compareTo(e)?t:e}),"number"==typeof i&&(n=Math.max),i instanceof z&&(n=function(t,e){return 0<=z.compare(t,e)?t:e});for(let t=1;t<r.length;t++)null!=i&&(i=n(e(r[t]),i));return i}min(e){var r=this.where(t=>null!=t);if(0==r.length)return null;let i=(e=null==e?t=>t:e)(r[0]),n;"string"==typeof i&&(n=function(t,e){return t.stimulsoft().compareTo(e)<=0?t:e}),"number"==typeof i&&(n=Math.min),i instanceof z&&(n=function(t,e){return z.compare(t,e)<=0?t:e});for(let t=1;t<r.length;t++)null!=i&&(i=n(e(r[t]),i));return i}sum(e){null==e&&(e=t=>null!=t?null==t?void 0:t.stimulsoft().toNumber():0);let r=0;return this.forEach(t=>r+=e(t)),r}average(e){null==e&&(e=t=>t.stimulsoft().toNumber());let r=0;return this.forEach(t=>r+=e(t)),r/this.length}all(t,e){null==t&&(t=t=>!0);for(var r of this)if(!t.apply(e,[r]))return!1;return!0}any(t,e){null==t&&(t=t=>!0);for(var r of this)if(t.apply(e,[r]))return!0;return!1}contains(t){return 0<=this.indexOf(t)}skip(e){let r=new c;for(let t=e;t<this.length;t++)r.add(this[t]);return r}take(e){let r=new c;e>this.length&&(e=this.length);for(let t=0;t<e;t++)r.add(this[t]);return r}defaultIfEmpty(){if(0<this.length)return this;return new c([null])}distinct(){let e=new c;return this.forEach(t=>e.indexOf(t)<0?e.push(t):null),e}except(t){let e=new c;for(var r of this)-1==t.indexOf(r)&&e.add(r);return e}union(t){let e=new c;return this.forEach(t=>e.add(t)),t.forEach(t=>e.add(t)),e.distinct()}sequenceEqual(e){if(this.length!=e.length)return!1;for(let t=0;t<this.length;t++)if(this[t]!=e[t])return!1;return!0}first(t,e){null==t&&(t=t=>!0);for(var r of this)if(t.apply(e,[r]))return r;return null}firstOrDefault(t){for(var e of this){if(null==t)return e;if(t(e))return e}return null}lastOrDefault(){let t;for(var e of this)t=e;return t}whereEqualsTo(t,e){return null}whereArrayItemEqualsTo(t,e){return null}whereArrayItemStringEqualsTo(t,e){return null}whereFirstOrDefaultArrayItemStringEqualsTo(t,e){return null}static toString2(t){return null}getArrayItem(t){return null}tryCastValueOrFirstDefaultToNullableNumber(){return null}tryCastToNullableNumber(){return null}tryCastToNumber(){return null}tryCastToBool(){return null}tryCastToDateTime(){return null}tryCastToNullableDateTime(){return null}tryCastToTimeSpan(){return null}tryCastToNullableTimeSpan(){return null}tryCastToString(){return null}firstOrDefaultAsNullableNumber(){return null}firstOrDefaultAsNumber(){return null}static getValueOrFirstOrDefault(t){return null}static add2(t,e){return null}static sub(t,e){return null}static mult(t,e){return null}static bitwiseAnd(t,e){return null}static bitwiseXOr(t,e){return null}static bitwiseOr(t,e){return null}static div(t,e){return null}};Ae.bi.List=c,c.prototype.stimulsoft=function(){return new Ae.b.StiArray(this.valueOf())},Object.defineProperty(c.prototype,"stimulsoft",{enumerable:!1}),Ae.b.StiObject.disableAllEnumerable(c.prototype,new c)}Ae.bi.Grouping=class extends Ae.bi.List{},Ae.bi.IEnumerator=new Ae.b.Interface("IEnumerator"),Ae.bi.Queue=class{dequeue(){return null}enqueue(t){}get count(){return null}clear(){}},Ae.bi.Stack=class{pop(){return null}push(t){}clear(){}};{let r=class{constructor(){this.blockSize=128/32,this.SBOX=[],this.INV_SBOX=[],this.SUB_MIX_0=[],this.SUB_MIX_1=[],this.SUB_MIX_2=[],this.SUB_MIX_3=[],this.INV_SUB_MIX_0=[],this.INV_SUB_MIX_1=[],this.INV_SUB_MIX_2=[],this.INV_SUB_MIX_3=[],this.RCON=[0,1,2,4,8,16,32,64,128,27,54];let e=[];for(let t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;let r=0,i=0;for(let t=0;t<256;t++){var n,n=(n=i^i<<1^i<<2^i<<3^i<<4)>>>8^255&n^99;this.SBOX[r]=n,this.INV_SBOX[n]=r;var a=e[r],s=e[a],o=e[s],l=257*e[n]^16843008*n;this.SUB_MIX_0[r]=l<<24|l>>>8,this.SUB_MIX_1[r]=l<<16|l>>>16,this.SUB_MIX_2[r]=l<<8|l>>>24,this.SUB_MIX_3[r]=l,l=16843009*o^65537*s^257*a^16843008*r,this.INV_SUB_MIX_0[n]=l<<24|l>>>8,this.INV_SUB_MIX_1[n]=l<<16|l>>>16,this.INV_SUB_MIX_2[n]=l<<8|l>>>24,this.INV_SUB_MIX_3[n]=l,r?(r=a^e[e[e[o^a]]],i^=e[e[i]]):r=i=1}}doReset(){var r=this.key.sigBytes/4;this.nRounds=r+6;var i=4*(this.nRounds+1);this.keySchedule=[];for(let e=0;e<i;e++)if(e<r)this.keySchedule[e]=this.key.words[e];else{let t=this.keySchedule[e-1];e%r?6<r&&e%r==4&&(t=this.SBOX[t>>>24]<<24|this.SBOX[t>>>16&255]<<16|this.SBOX[t>>>8&255]<<8|this.SBOX[255&t]):(t=t<<8|t>>>24,t=this.SBOX[t>>>24]<<24|this.SBOX[t>>>16&255]<<16|this.SBOX[t>>>8&255]<<8|this.SBOX[255&t],t^=this.RCON[e/r|0]<<24),this.keySchedule[e]=this.keySchedule[e-r]^t}this.invKeySchedule=[];for(let e=0;e<i;e++){var n=i-e;let t;t=e%4?this.keySchedule[n]:this.keySchedule[n-4],e<4||n<=4?this.invKeySchedule[e]=t:this.invKeySchedule[e]=this.INV_SUB_MIX_0[this.SBOX[t>>>24]]^this.INV_SUB_MIX_1[this.SBOX[t>>>16&255]]^this.INV_SUB_MIX_2[this.SBOX[t>>>8&255]]^this.INV_SUB_MIX_3[this.SBOX[255&t]]}}process(){var t=this.data.sigBytes/this.blockSize*4,t,e=(t=Math.ceil(t))*this.blockSize,t=Math.min(4*e,this.data.sigBytes);let r;if(e){for(let t=0;t<e;t+=this.blockSize)this.processBlock(this.data.words,t);r=this.data.words.splice(0,e),this.data.sigBytes-=t}return new o(r,t)}processBlock(t,e){var r=t.slice(e,e+this.blockSize);this.decryptBlock(t,e),this.xorBlock.call(this,t,e,this.blockSize),this.prevBlock=r}xorBlock(e,r,i){let n;this.iv?(n=this.iv,this.iv=void 0):n=this.prevBlock;for(let t=0;t<i;t++)e[r+t]^=n[t]}pkcs7pad(t){var e=4*this.blockSize,r=e-t.sigBytes%e,i=r<<24|r<<16|r<<8|r;let n=[];for(let t=0;t<r;t+=4)n.push(i);var e=new o(n,r);t.concat(e)}pkcs7Unpad(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}encryptBlock(t,e){this.doCryptBlock(t,e,this.keySchedule,this.SUB_MIX_0,this.SUB_MIX_1,this.SUB_MIX_2,this.SUB_MIX_3,this.SBOX)}decryptBlock(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this.doCryptBlock(t,e,this.invKeySchedule,this.INV_SUB_MIX_0,this.INV_SUB_MIX_1,this.INV_SUB_MIX_2,this.INV_SUB_MIX_3,this.INV_SBOX),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r}doCryptBlock(t,e,r,i,n,a,s,o){let l=t[e]^r[0],u=t[e+1]^r[1],h=t[e+2]^r[2],c=t[e+3]^r[3],d=4;for(let t=1;t<this.nRounds;t++){var m=i[l>>>24]^n[u>>>16&255]^a[h>>>8&255]^s[255&c]^r[d++],p=i[u>>>24]^n[h>>>16&255]^a[c>>>8&255]^s[255&l]^r[d++],g=i[h>>>24]^n[c>>>16&255]^a[l>>>8&255]^s[255&u]^r[d++],f=i[c>>>24]^n[l>>>16&255]^a[u>>>8&255]^s[255&h]^r[d++];l=m,u=p,h=g,c=f}var S=(o[l>>>24]<<24|o[u>>>16&255]<<16|o[h>>>8&255]<<8|o[255&c])^r[d++],b=(o[u>>>24]<<24|o[h>>>16&255]<<16|o[c>>>8&255]<<8|o[255&l])^r[d++],y=(o[h>>>24]<<24|o[c>>>16&255]<<16|o[l>>>8&255]<<8|o[255&u])^r[d++],o=(o[c>>>24]<<24|o[l>>>16&255]<<16|o[u>>>8&255]<<8|o[255&h])^r[d++];t[e]=S,t[e+1]=b,t[e+2]=y,t[e+3]=o}static encrypt(t,e){return(new r).encrypt(l.parse(t),l.parse(e)).toString()}encrypt(t,e){this.key=e,this.data=new o,this.nDataBytes=0,this.doReset();var e=i.parse("0000000000000000"),r;return this.iv=e&&e.words,this.data.concat(t),this.nDataBytes+=t.sigBytes,this.pkcs7pad(this.data),this.process()}static decrypt(t,e){return(new r).decrypt(l.parse(t),l.parse(e)).toString()}decrypt(t,e){this.key=e,this.data=new o,this.nDataBytes=0,this.doReset();var e=i.parse("0000000000000000");this.iv=e&&e.words,this.data.concat(t),this.nDataBytes+=t.sigBytes;var t=this.process();return this.pkcs7Unpad(t),t}};Ae.bj.AES=r;let o=class{constructor(t=null,e=null){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length}toString(){let e=[];for(let t=0;t<this.sigBytes;t++){var r=this.words[t>>>2]>>>24-t%4*8&255;e.push(String.fromCharCode(r))}return e.join("").stimulsoft().fromUnicodeString()}concat(e){if(this.clamp(),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){var r=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=r<<24-(this.sigBytes+t)%4*8}else if(65535<e.words.length)for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];else this.words.push.call(this.words,...e.words);return this.sigBytes+=e.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}},i=class{static parse(e){let r=[];for(let t=0;t<e.length;t+=2)r[t>>>3]|=parseInt(e.substr(t,2),16)<<24-t%8*4;return new o(r,e.length/2)}},l=class{static parse(e){let r=e.length;var t=l.map.charAt(64),t,i,n;!t||-1!=(t=e.indexOf(t))&&(r=t);let a=[],s=0;for(let t=0;t<r;t++){t%4&&(i=this.map.indexOf(e.charAt(t-1))<<t%4*2,n=this.map.indexOf(e.charAt(t))>>>6-t%4*2,a[s>>>2]|=(i|n)<<24-s%4*8,s++)}return new o(a,s)}};l.map="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}{let S=class{constructor(){this.BI_FP=52}static staticConstructor(){let e="0".charCodeAt(0);for(let t=0;t<=9;++t)S.BI_RC[e++]=t;e="a".charCodeAt(0);for(let t=10;t<36;++t)S.BI_RC[e++]=t;e="A".charCodeAt(0);for(let t=10;t<36;++t)S.BI_RC[e++]=t}static fromInt(t){let e=new S;return e.fromInt(t),e}get DV(){return 1<<S.dbits}get DB(){return S.dbits}get DM(){return(1<<S.dbits)-1}get FV(){return Math.pow(2,this.BI_FP)}get F1(){return this.BI_FP-S.dbits}get F2(){return 2*S.dbits-this.BI_FP}am(t,e,r,i,n,a){var s=16383&e,o=e>>14;while(0<=--a){var l=16383&this[t],u=this[t++]>>14,h=o*l+u*s,l;n=((l=s*l+((16383&h)<<14)+r[i]+n)>>28)+(h>>14)+o*u,r[i++]=268435455&l}return n}static int2char(t){return(new S).int2char(t)}int2char(t){return S.BI_RM.charAt(t)}intAt(t,e){var e=S.BI_RC[t.charCodeAt(e)];return null==e?-1:e}copyTo(e){for(let t=this.t-1;0<=t;--t)e[t]=this[t];e.t=this.t,e.s=this.s}fromInt(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0}static fromString(t,e=256){let r=new S;return r.fromString(t,e),r}fromString(t,e=256){let r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;let i=t.length,n=!1,a=0;while(0<=--i){var s=8==r?255&Number(t[i]):this.intAt(t,i);if(s<0){"-"==t.charAt(i)&&(n=!0);continue}n=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB)}8==r&&0!=(128&Number(t[0]))&&(this.s=-1,0<a&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),n&&S.ZERO.subTo(this,this)}clamp(){var t=this.s&this.DM;while(0<this.t&&this[this.t-1]==t)--this.t}toString(t){if(this.s<0)return"-"+this.negate().toString(t);let e;if(2==t)e=1;else if(4==t)e=2;else if(8==t)e=3;else if(16==t)e=4;else{if(32!=t)return this.toRadix(t);e=5}var r=(1<<e)-1;let i,n=!1,a="",s=this.t,o=this.DB-s*this.DB%e;if(0<s--){o<this.DB&&0<(i=this[s]>>o)&&(n=!0,a=this.int2char(i));while(0<=s)o<e?(i=(this[s]&(1<<o)-1)<<e-o,i|=this[--s]>>(o+=this.DB-e)):(i=this[s]>>(o-=e)&r,o<=0&&(o+=this.DB,--s)),0<i&&(n=!0),n&&(a+=this.int2char(i))}return n?a:"0"}negate(){var t=new S;return S.ZERO.subTo(this,t),t}abs(){return this.s<0?this.negate():this}compareTo(t){let e=this.s-t.s;if(0!=e)return e;let r=this.t;if(e=r-t.t,0!=e)return this.s<0?-e:e;while(0<=--r)if(0!=(e=this[r]-t[r]))return e;return 0}nbits(t){let e=1,r;return 0!=(r=t>>>16)&&(t=r,e+=16),0!=(r=t>>8)&&(t=r,e+=8),0!=(r=t>>4)&&(t=r,e+=4),0!=(r=t>>2)&&(t=r,e+=2),0!=(r=t>>1)&&(t=r,e+=1),e}bitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+this.nbits(this[this.t-1]^this.s&this.DM)}dlShiftTo(e,r){for(let t=this.t-1;0<=t;--t)r[t+e]=this[t];for(let t=e-1;0<=t;--t)r[t]=0;r.t=this.t+e,r.s=this.s}drShiftTo(e,r){for(let t=e;t<this.t;++t)r[t-e]=this[t];r.t=Math.max(this.t-e,0),r.s=this.s}lShiftTo(t,e){var r=t%this.DB,i=this.DB-r,n=(1<<i)-1,a=Math.floor(t/this.DB);let s=this.s<<r&this.DM;for(let t=this.t-1;0<=t;--t)e[t+a+1]=this[t]>>i|s,s=(this[t]&n)<<r;for(let t=a-1;0<=t;--t)e[t]=0;e[a]=s,e.t=this.t+a+1,e.s=this.s,e.clamp()}rShiftTo(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)return void(e.t=0);var i=t%this.DB,n=this.DB-i,a=(1<<i)-1;e[0]=this[r]>>i;for(let t=r+1;t<this.t;++t)e[t-r-1]|=(this[t]&a)<<n,e[t-r]=this[t]>>i;0<i&&(e[this.t-r-1]|=(this.s&a)<<n),e.t=this.t-r,e.clamp()}subTo(t,e){let r=0,i=0;var n=Math.min(t.t,this.t);while(r<n)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){i-=t.s;while(r<this.t)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{i+=this.s;while(r<t.t)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:0<i&&(e[r++]=i),e.t=r,e.clamp()}multiplyTo(t,e){let r=this.abs();var i=t.abs();let n=r.t;e.t=n+i.t;while(0<=--n)e[n]=0;for(let t=0;t<i.t;++t)e[t+r.t]=r.am(0,i[t],e,t,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&S.ZERO.subTo(e,e)}squareTo(t){let e=this.abs(),r=t.t=2*e.t;while(0<=--r)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()}divRemTo(t,e,r){let i=t.abs();if(i.t<=0)return;let n=this.abs();if(n.t<i.t)return null!=e&&S.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new S);let a=new S;var s=this.s,o=t.s,l=this.DB-this.nbits(i[i.t-1]);0<l?(i.lShiftTo(l,a),n.lShiftTo(l,r)):(i.copyTo(a),n.copyTo(r));var u=a.t,h=a[u-1];if(0==h)return;var t=h*(1<<this.F1)+(1<u?a[u-2]>>this.F2:0),c=this.FV/t,d=(1<<this.F1)/t,m=1<<this.F2;let p=r.t,g=p-u,f=null==e?new S:e;a.dlShiftTo(g,f),0<=r.compareTo(f)&&(r[r.t++]=1,r.subTo(f,r)),S.ONE.dlShiftTo(u,f),f.subTo(a,a);while(a.t<u)a[a.t++]=0;while(0<=--g){let t=r[--p]==h?this.DM:Math.floor(r[p]*c+(r[p-1]+m)*d);if((r[p]+=a.am(0,t,r,g,0,u))<t){a.dlShiftTo(g,f),r.subTo(f,r);while(r[p]<--t)r.subTo(f,r)}}null!=e&&(r.drShiftTo(u,e),s!=o&&S.ZERO.subTo(e,e)),r.t=u,r.clamp(),0<l&&r.rShiftTo(l,r),s<0&&S.ZERO.subTo(r,r)}mod(t){let e=new S;return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(S.ZERO)&&t.subTo(e,e),e}invDigit(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t,e;return 0<(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e}isEven(){return 0==(0<this.t?1&this[0]:this.s)}exp(t,e){if(4294967295<t||t<1)return S.ONE;let r=new S,i=new S,n=e.convert(this),a=this.nbits(t)-1;n.copyTo(r);while(0<=--a){var s;e.sqrTo(r,i),0<(t&1<<a)?e.mulTo(i,n,r):(s=r,r=i,i=s)}return e.revert(r)}modPowInt(t,e){let r;return r=new(t<256||e.isEven()?f:y)(e),this.exp(t,r)}clone(){var t=new S;return this.copyTo(t),t}intValue(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}byteValue(){return 0==this.t?this.s:this[0]<<24>>24}shortValue(){return 0==this.t?this.s:this[0]<<16>>16}chunkSize(t){return Math.floor(Math.LN2*this.DB/Math.log(t))}signum(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}toRadix(t){if(null==t&&(t=10),0==this.signum()||t<2||36<t)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),i=S.fromInt(r);let n=new S,a=new S,s="";this.divRemTo(i,n,a);while(0<n.signum())s=(r+a.intValue()).toString(t).substr(1)+s,n.divRemTo(i,n,a);return a.intValue().toString(t)+s}fromRadix(e,r){this.fromInt(0);var i=this.chunkSize(r=null==r?10:r),n=Math.pow(r,i);let a=!1,s=0,o=0;for(let t=0;t<e.length;++t){var l=this.intAt(e,t);if(l<0){"-"==e.charAt(t)&&0==this.signum()&&(a=!0);continue}o=r*o+l,++s>=i&&(this.multiply2(n),this.addOffset2(o,0),s=0,o=0)}0<s&&(this.multiply2(Math.pow(r,s)),this.addOffset2(o,0)),a&&S.ZERO.subTo(this,this)}static fromNumber(t,e,r){let i=new S;return i.fromNumber(t,e,r),i}fromNumber(t,e,r){if(t<2)this.fromInt(1);else{this.fromNumber2(t,r),this.testBit(t-1)||this.bitwiseTo(S.ONE.shiftLeft(t-1),this.op_or,this),this.isEven()&&this.addOffset2(1,0);while(!this.isProbablePrime(e))this.addOffset2(2,0),this.bitLength()>t&&this.subTo(S.ONE.shiftLeft(t-1),this)}}fromNumber2(t,e){let r=[];var i=7&t;r.length=(t>>3)+1,e.nextBytes(r),0<i?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}toByteArray(){let t=this.t,e=[];e[0]=this.s;let r=this.DB-t*this.DB%8,i,n=0;if(0<t--){r<this.DB&&(i=this[t]>>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<<this.DB-r);while(0<=t)r<8?(i=(this[t]&(1<<r)-1)<<8-r,i|=this[--t]>>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(0<n||i!=this.s)&&(e[n++]=i)}return e}bitwiseTo(e,r,i){let n;var a=Math.min(e.t,this.t);for(let t=0;t<a;++t)i[t]=r(this[t],e[t]);if(e.t<this.t){n=e.s&this.DM;for(let t=a;t<this.t;++t)i[t]=r(this[t],n);i.t=this.t}else{n=this.s&this.DM;for(let t=a;t<e.t;++t)i[t]=r(n,e[t]);i.t=e.t}i.s=r(this.s,e.s),i.clamp()}op_or(t,e){return t|e}shiftLeft(t){var e=new S;return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e}shiftRight(t){var e=new S;return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e}lbit(t){if(0==t)return-1;let e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}getLowestSetBit(){for(let t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+this.lbit(this[t]);if(this.s<0)return this.t*this.DB;return-1}testBit(t){var e=Math.floor(t/this.DB);if(e>=this.t)return 0!=this.s;return 0!=(this[e]&1<<t%this.DB)}addTo(t,e){let r=0,i=0;var n=Math.min(t.t,this.t);while(r<n)i+=this[r]+t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){i+=t.s;while(r<this.t)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{i+=this.s;while(r<t.t)i+=t[r],e[r++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,0<i?e[r++]=i:i<-1&&(e[r++]=this.DV+i),e.t=r,e.clamp()}add(t){var e=new S;return this.addTo(t,e),e}subtract(t){var e=new S;return this.subTo(t,e),e}multiply(t){var e=new S;return this.multiplyTo(t,e),e}square(){var t=new S;return this.squareTo(t),t}divide(t){var e=new S;return this.divRemTo(t,e,null),e}remainder(t){var e=new S;return this.divRemTo(t,null,e),e}multiply2(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()}addOffset2(t,e){if(0==t)return;while(this.t<=e)this[this.t++]=0;this[e]+=t;while(this[e]>=this.DV)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}multiplyLowerTo(t,e,r){let i=Math.min(this.t+t.t,e);r.s=0,r.t=i;while(0<i)r[--i]=0;for(var n=r.t-this.t;i<n;++i)r[i+this.t]=this.am(0,t[i],r,i,0,this.t);for(var a=Math.min(t.t,e);i<a;++i)this.am(0,t[i],r,i,0,e-i);r.clamp()}multiplyUpperTo(e,r,i){let t=i.t=this.t+e.t- --r;i.s=0;while(0<=--t)i[t]=0;for(let t=Math.max(r-this.t,0);t<e.t;++t)i[this.t+t-r]=this.am(r-t,e[t],i,0,0,this.t+t-r);i.clamp(),i.drShiftTo(1,i)}modPow(t,e){let r=t.bitLength(),i,n=S.fromInt(1),a;if(r<=0)return n;i=r<18?1:r<48?3:r<144?4:r<768?5:6,a=new(r<8?f:e.isEven()?b:y)(e);let s=[],o=3;var l=i-1,u=(1<<i)-1;if(s[1]=a.convert(this),1<i){var h=new S;a.sqrTo(s[1],h);while(o<=u)s[o]=new S,a.mulTo(h,s[o-2],s[o]),o+=2}let c=t.t-1,d,m=!0,p=new S,g;r=this.nbits(t[c])-1;while(0<=c){r>=l?d=t[c]>>r-l&u:(d=(t[c]&(1<<r+1)-1)<<l-r,0<c&&(d|=t[c-1]>>this.DB+r-l)),o=i;while(0==(1&d))d>>=1,--o;if((r-=o)<0&&(r+=this.DB,--c),m)s[d].copyTo(n),m=!1;else{while(1<o)a.sqrTo(n,p),a.sqrTo(p,n),o-=2;0<o?a.sqrTo(n,p):(g=n,n=p,p=g),a.mulTo(p,s[d],n)}while(0<=c&&0==(t[c]&1<<r))a.sqrTo(n,p),g=n,n=p,p=g,--r<0&&(r=this.DB-1,--c)}return a.revert(n)}gcd(t){let e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();var t;e.compareTo(r)<0&&(t=e,e=r,r=t);let i=e.getLowestSetBit(),n=r.getLowestSetBit();if(n<0)return e;i<n&&(n=i),0<n&&(e.rShiftTo(n,e),r.rShiftTo(n,r));while(0<e.signum())0<(i=e.getLowestSetBit())&&e.rShiftTo(i,e),0<(i=r.getLowestSetBit())&&r.rShiftTo(i,r),0<=e.compareTo(r)?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return 0<n&&r.lShiftTo(n,r),r}modInt(e){if(e<=0)return 0;var r=this.DV%e;let i=this.s<0?e-1:0;if(0<this.t){if(0==r)i=this[0]%e;else for(let t=this.t-1;0<=t;--t)i=(r*i+this[t])%e;return i}return 0}modInverse(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return S.ZERO;let r=t.clone(),i=this.clone(),n=S.fromInt(1),a=S.fromInt(0),s=S.fromInt(0),o=S.fromInt(1);while(0!=r.signum()){while(r.isEven())r.rShiftTo(1,r),e?(n.isEven()&&a.isEven()||(n.addTo(this,n),a.subTo(t,a)),n.rShiftTo(1,n)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);while(i.isEven())i.rShiftTo(1,i),e?(s.isEven()&&o.isEven()||(s.addTo(this,s),o.subTo(t,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);0<=r.compareTo(i)?(r.subTo(i,r),e&&n.subTo(s,n),a.subTo(o,a)):(i.subTo(r,i),e&&s.subTo(n,s),o.subTo(a,o))}if(0!=i.compareTo(S.ONE))return S.ZERO;if(0<=o.compareTo(t))return o.subtract(t);if(!(o.signum()<0))return o;return o.addTo(t,o),o.signum()<0?o.add(t):o}isProbablePrime(t){let r,i=this.abs();if(1==i.t&&i[0]<=S.lowprimes[S.lowprimes.length-1]){for(let t=0;t<S.lowprimes.length;++t)if(i[0]==S.lowprimes[t])return!0;return!1}if(i.isEven())return!1;r=1;while(r<S.lowprimes.length){let t=S.lowprimes[r],e=r+1;while(e<S.lowprimes.length&&t<S.lplim)t*=S.lowprimes[e++];t=i.modInt(t);while(r<e)if(t%S.lowprimes[r++]==0)return!1}return i.millerRabin(t)}millerRabin(e){let r=this.subtract(S.ONE);var i=r.getLowestSetBit();if(i<=0)return!1;var n=r.shiftRight(i);(e=e+1>>1)>S.lowprimes.length&&(e=S.lowprimes.length);let a=new S;for(let t=0;t<e;++t){a.fromInt(S.lowprimes[Math.floor(Math.random()*S.lowprimes.length)]);let e=a.modPow(n,this);if(0!=e.compareTo(S.ONE)&&0!=e.compareTo(r)){let t=1;while(t++<i&&0!=e.compareTo(r))if(e=e.modPowInt(2,this),0==e.compareTo(S.ONE))return!1;if(0!=e.compareTo(r))return!1}}return!0}};S.BI_RM="0123456789abcdefghijklmnopqrstuvwxyz",S.BI_RC=[],S.canary=0xdeadbeefcafe,S.j_lm=15715070==(16777215&S.canary),S.dbits=28,S.lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],S.lplim=(1<<26)/S.lowprimes[S.lowprimes.length-1],S.ZERO=S.fromInt(0),S.ONE=S.fromInt(1),Ae.bj.BigInteger=S;let f=class{constructor(t){this.m=t}convert(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t}revert(t){return t}reduce(t){t.divRemTo(this.m,null,t)}mulTo(t,e,r){t.multiplyTo(e,r),this.reduce(r)}sqrTo(t,e){t.squareTo(e),this.reduce(e)}},b=class extends f{constructor(t){super(t),this.r2=new S,this.q3=new S,this.r2=new S,this.q3=new S,S.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}convert(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=new S;return t.copyTo(e),this.reduce(e),e}revert(t){return t}reduce(t){t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(t.compareTo(this.r2)<0)t.addOffset2(1,this.m.t+1);t.subTo(this.r2,t);while(0<=t.compareTo(this.m))t.subTo(this.m,t)}sqrTo(t,e){t.squareTo(e),this.reduce(e)}mulTo(t,e,r){t.multiplyTo(e,r),this.reduce(r)}},y=class extends f{constructor(t){super(t),this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}convert(t){let e=new S;return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(S.ZERO)&&this.m.subTo(e,e),e}revert(t){var e=new S;return t.copyTo(e),this.reduce(e),e}reduce(r){while(r.t<=this.mt2)r[r.t++]=0;for(let e=0;e<this.m.t;++e){let t=32767&r[e];var i=t*this.mpl+((t*this.mph+(r[e]>>15)*this.mpl&this.um)<<15)&r.DM;t=e+this.m.t,r[t]+=this.m.am(0,i,r,e,0,this.m.t);while(r[t]>=r.DV)r[t]-=r.DV,r[++t]++}r.clamp(),r.drShiftTo(this.m.t,r),0<=r.compareTo(this.m)&&r.subTo(this.m,r)}montSqrTo(t,e){t.squareTo(e),this.reduce(e)}montMulTo(t,e,r){t.multiplyTo(e,r),this.reduce(r)}};var X=class extends f{nop(t){return t}mulTo(t,e,r){t.multiplyTo(e,r)}sqrTo(t,e){t.squareTo(e)}constructor(t){super(t)}};S.staticConstructor()}Ae.bj.RSAKey=class{constructor(){this.n=null,this.e=65537,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null,this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}verifyString(t,e){e=this.base64toHex(e);var e=this.parseBigInt(e,16),r,i;let n=this.doPublic(e),a=n.toString(16).replace(/^1f+00/,"");if(a.substring(0,Ae.bj.SHA1.signature.length)!=Ae.bj.SHA1.signature)return!1;return a.substring(Ae.bj.SHA1.signature.length)==Ae.bj.SHA1.hex(t.stimulsoft().toUnicodeString())}base64toHex(e){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="=";let n="",a=0,s;for(let t=0;t<e.length;++t){if(e.charAt(t)==i)break;var o=r.indexOf(e.charAt(t));if(o<0)continue;a=0==a?(n+=Ae.bj.BigInteger.int2char(o>>2),s=3&o,1):1==a?(n+=Ae.bj.BigInteger.int2char(s<<2|o>>4),s=15&o,2):2==a?(n+=Ae.bj.BigInteger.int2char(s),n+=Ae.bj.BigInteger.int2char(o>>2),s=3&o,3):(n+=Ae.bj.BigInteger.int2char(s<<2|o>>4),n+=Ae.bj.BigInteger.int2char(15&o),0)}return 1==a&&(n+=Ae.bj.BigInteger.int2char(s<<2)),n}parseBigInt(t,e){return Ae.bj.BigInteger.fromString(t,e)}pkcs1pad2(t,e){if(e<t.length+11)return null;let r=[],i=t.length-1;while(0<=i&&0<e){var n=t.charCodeAt(i--);n<128?r[--e]=n:127<n&&n<2048?(r[--e]=63&n|128,r[--e]=n>>6|192):(r[--e]=63&n|128,r[--e]=n>>6&63|128,r[--e]=n>>12|224)}r[--e]=0;let a=new Ae.bj.SecureRandom,s=[];while(2<e){s[0]=0;while(0==s[0])a.nextBytes(s);r[--e]=s[0]}return r[--e]=2,r[--e]=0,Ae.bj.BigInteger.fromString(r)}pkcs1unpad2(t,e){var r=t.toByteArray();let i=0;while(i<r.length&&0==r[i])++i;if(r.length-i!=e-1||2!=r[i])return null;++i;while(0!=r[i])if(++i>=r.length)return null;let n="";while(++i<r.length){var a=255&r[i];a<128?n+=String.fromCharCode(a):191<a&&a<224?(n+=String.fromCharCode((31&a)<<6|63&r[i+1]),++i):(n+=String.fromCharCode((15&a)<<12|(63&r[i+1])<<6|63&r[i+2]),i+=2)}return n}setPublic(t,e){null!=(t=this.base64toHex(t))&&null!=e&&0<t.length&&0<e.length&&(this.n=this.parseBigInt(t,16),this.e=parseInt(e,16))}setPrivate(t,e,r){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=this.parseBigInt(t,16),this.e=parseInt(e,16),this.d=this.parseBigInt(r,16))}setPrivateEx(t,e,r,i,n,a,s,o){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=this.parseBigInt(t,16),this.e=parseInt(e,16),this.d=this.parseBigInt(r,16),this.p=this.parseBigInt(i,16),this.q=this.parseBigInt(n,16),this.dmp1=this.parseBigInt(a,16),this.dmq1=this.parseBigInt(s,16),this.coeff=this.parseBigInt(o,16))}generate(r,t){var i=new Ae.bj.SecureRandom,n=r>>1,a;this.e=parseInt(t,16);let s=Ae.bj.BigInteger.fromString(t,16);for(;;){for(;;)if(this.p=Ae.bj.BigInteger.fromNumber(r-n,1,i),0==this.p.subtract(Ae.bj.BigInteger.ONE).gcd(s).compareTo(Ae.bj.BigInteger.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=Ae.bj.BigInteger.fromNumber(n,1,i),0==this.q.subtract(Ae.bj.BigInteger.ONE).gcd(s).compareTo(Ae.bj.BigInteger.ONE)&&this.q.isProbablePrime(10))break;this.p.compareTo(this.q)<=0&&(a=this.p,this.p=this.q,this.q=a);let t=this.p.subtract(Ae.bj.BigInteger.ONE);var a=this.q.subtract(Ae.bj.BigInteger.ONE);let e=t.multiply(a);if(0==e.gcd(s).compareTo(Ae.bj.BigInteger.ONE)){this.n=this.p.multiply(this.q),this.d=s.modInverse(e),this.dmp1=this.d.mod(t),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}}doPublic(t){return t.modPowInt(this.e,this.n)}doPrivate(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);let e=t.mod(this.p).modPow(this.dmp1,this.p);var r=t.mod(this.q).modPow(this.dmq1,this.q);while(e.compareTo(r)<0)e=e.add(this.p);return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)}encrypt(t){var t=this.pkcs1pad2(t,this.n.bitLength()+7>>3);if(null==t)return null;let e=this.doPublic(t);if(null==e)return null;var t=e.toString(16);return 0==(1&t.length)?t:"0"+t}decrypt(t){var t=this.parseBigInt(t,16),t=this.doPrivate(t);if(null==t)return null;return this.pkcs1unpad2(t,this.n.bitLength()+7>>3)}};{let e=class{constructor(){this.blockLength=64,this.state=[1732584193,4023233417,2562383102,271733878,3285377520],this.K=[1518500249,1859775393,2400959708,3395469782]}static hex(t){return(new e).hex(t)}hex(t){return this.toHex(this.getMD(t))}getMD(t){var e=[],e=this.unpack(t);return e=this.paddingData(e),this.round(e)}rotl(t,e){return t<<e|t>>>32-e}round(e){let r=[],i=[],n,a=[];for(let t=0;t<this.state.length;t++)r[t]=this.state[t];for(let t=0;t<e.length;t+=this.blockLength){for(let t=0;t<this.state.length;t++)i[t]=r[t];a=this.toBigEndian32(e.slice(t,t+this.blockLength));for(let t=16;t<80;t++)a[t]=this.rotl(a[t-3]^a[t-8]^a[t-14]^a[t-16],1);for(let t=0;t<80;t++)n=t<20?(r[1]&r[2]^~r[1]&r[3])+this.K[0]:t<40?(r[1]^r[2]^r[3])+this.K[1]:t<60?(r[1]&r[2]^r[1]&r[3]^r[2]&r[3])+this.K[2]:(r[1]^r[2]^r[3])+this.K[3],n+=this.rotl(r[0],5)+a[t]+r[4],r[4]=r[3],r[3]=r[2],r[2]=this.rotl(r[1],30),r[1]=r[0],r[0]=n;for(let t=0;t<this.state.length;t++)r[t]+=i[t]}return this.fromBigEndian32(r)}paddingData(t){var e=t.length;let r=e;t[r++]=128;while(r%this.blockLength!=56)t[r++]=0;return t.concat(0,0,0,0,this.fromBigEndian32([e*=8]))}toHex(e){let r="";for(let t=0;t<e.length;t++)r+=(15<e[t]?"":"0")+e[t].toString(16);return r}fromBigEndian32(e){let r=[],i=0;for(let t=0;t<e.length;t++)r[i++]=e[t]>>>24&255,r[i++]=e[t]>>>16&255,r[i++]=e[t]>>>8&255,r[i++]=255&e[t];return r}toBigEndian32(e){let r=[],i=0;for(let t=0;t<e.length;t+=4,i++)r[i]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];return r}unpack(e){let r=[],i=0;var n;for(let t=0;t<e.length;t++)(n=e.charCodeAt(t))<=255?r[i++]=n:(r[i++]=n>>>8,r[i++]=255&n);return r}pack(t){let e="";for(var r in t)e+=String.fromCharCode(t[r]);return e}};e.signature="3021300906052b0e03021a05000414",Ae.bj.SHA1=e}{let P=class{rotate(t,e){return t>>>e|t<<32-e}sigma(t,e,r,i){return this.rotate(t,e)^this.rotate(t,r)^t>>>i}sum(t,e){return t[15&e]+=this.sigma(t[e+14&15],17,19,10)+t[e+9&15]+this.sigma(t[e+1&15],7,18,3)}aggregate(t,e){var r=(65535&t)+(65535&e);return(e=(t>>16)+(e>>16)+(r>>16))<<16|65535&r}conglomerate(t,e,...r){let i=0,n=0,a=0,s=0;for(;i<r.length/2;i++)n=r[i],a+=65535&n,s+=n>>>16;for(s+=a>>>16,t[e+1]=s<<16|65535&a,a=s>>>16,s=0;i<r.length;i++)n=r[i],a+=65535&n,s+=n>>>16;s+=a>>>16,t[e]=s<<16|65535&a}compress(t,e){let r=[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]],i=[],n=0;while(n<16)i[n]=e[(n<<2)+3]|e[(n<<2)+2]<<8|e[(n<<2)+1]<<16|e[n<<2]<<24,n++;for(n=0;n<64;n++){var a=r[0],s=r[1],o=r[2],l=r[4],u=r[7]+(this.rotate(l,6)^this.rotate(l,11)^this.rotate(l,25))+(l&r[5]^~l&r[6])+P.ROUNDS_256[n]+(n<16?i[n]:this.sum(i,n));for(let t=7;0<=t;t--)r[t]=4===t?this.aggregate(r[3],u):0===t?this.aggregate(u,(this.rotate(a,2)^this.rotate(a,13)^this.rotate(a,22))+(a&s^a&o^s&o)):r[t-1]}for(n=0;n<8;n++)t[n]+=r[n]}hash(e,t,r){let i="",n=(t?224===r?P.HASH_512_224:256===r?P.HASH_512_256:384===r?P.HASH_384:P.HASH_512:224===r?P.HASH_224:P.HASH_256).slice();var a=e.length;let s=[],o=0,l=!0,u=0,h=0,c=0;var d=0;let m=0,p,g;if(t){let t=[0,0,0,0,0,0,0,0];var f=[24,16,8,0],S;do{for(s[0]=o,p=1;p<=32;p++)s[p]=0;if("string"==typeof e)for(p=c;u<a&&p<128;++u){let t=e.charCodeAt(u);t<128?s[p>>2]|=t<<f[3&p++]:(t<2048?s[p>>2]|=(192|t>>6)<<f[3&p++]:(t<55296||57344<=t?s[p>>2]|=(224|t>>12)<<f[3&p++]:(t=65536+((1023&t)<<10|1023&e.charCodeAt(++u)),s[p>>2]|=(240|t>>18)<<f[3&p++],s[p>>2]|=(128|t>>12&63)<<f[3&p++]),s[p>>2]|=(128|t>>6&63)<<f[3&p++]),s[p>>2]|=(128|63&t)<<f[3&p++])}else for(p=c;u<a&&p<128;++u)s[p>>2]|=e[u]<<f[3&p++];for(h+=p-c,c=p-128,u===a&&(s[p>>2]|=[-2147483648,8388608,32768,128][3&p],++u),o=s[32],u>a&&p<112&&(s[31]=h<<3,l=!1),g=32;g<160;g+=2){var b=s[g-30],y=s[g-29],v=s[g-4],w=s[g-3];this.conglomerate(s,g,s[g-13],s[g-31],(y>>>1|b<<31)^(y>>>8|b<<24)^(y>>>7|b<<25),(w>>>19|v<<13)^(v>>>29|w<<3)^(w>>>6|v<<26),s[g-14],s[g-32],(b>>>1|y<<31)^(b>>>8|y<<24)^b>>>7,(v>>>19|w<<13)^(w>>>29|v<<3)^v>>>6)}for(S=n.slice(),t[6]=S[2]&S[4],t[7]=S[3]&S[5],p=0;p<160;p+=8)for(g=0;g<8;g+=2){var C=0<g?8-g:0,T=[0,0,0,0];this.conglomerate(T,0,P.ROUNDS_512[p+g+1],s[p+g+1],S[9+C]&S[2===g?9:11+C]^~S[9+C]&S[6===g?15:13-g],(S[9+C]>>>14|S[8+C]<<18)^(S[9+C]>>>18|S[8+C]<<14)^(S[8+C]>>>9|S[9+C]<<23),S[15-g],P.ROUNDS_512[p+g],s[p+g],S[8+C]&S[2===g?8:10+C]^~S[8+C]&S[6===g?14:12-g],(S[8+C]>>>14|S[9+C]<<18)^(S[8+C]>>>18|S[9+C]<<14)^(S[9+C]>>>9|S[8+C]<<23),S[14-g]),this.conglomerate(T,2,(t[g+1]=S[1+C]&S[2===g?1:3+C])^S[1+C]&S[(6===g?g:4-g)+1]^t[7-C],(S[1+C]>>>28|S[C]<<4)^(S[C]>>>2|S[1+C]<<30)^(S[C]>>>7|S[1+C]<<25),(t[g]=S[C]&S[2===g?0:2+C])^S[C]&S[6===g?g:4-g]^t[6-C],(S[C]>>>28|S[1+C]<<4)^(S[1+C]>>>2|S[C]<<30)^(S[1+C]>>>7|S[C]<<25)),this.conglomerate(S,14-g,S[7-g],T[1],S[6-g],T[0]),this.conglomerate(S,6-g,T[3],T[1],T[2],T[0])}for(p=0;p<16;p+=2)this.conglomerate(n,p,n[p+1],S[p+1],n[p],S[p])}while(l)}else{for(u=d>>3&63,c=63&a,(d+=a<<3)<a<<3&&m++,m+=a>>29,p=0;p+63<a;p+=64){if("string"==typeof e)for(g=u;g<64;g++)s[g]=e.charCodeAt(h++);else for(g=u;g<64;g++)s[g]=e[h++];this.compress(n,s),u=0}if("string"==typeof e)for(p=0;p<c;p++)s[p]=e.charCodeAt(h++);else for(p=0;p<c;p++)s[p]=e[h++];for(u=d>>3&63,s[u++]=128,p=u;p<(56<u?64:56);p++)s[p]=0;if(56<u)for(this.compress(n,s),p=0;p<56;p++)s[p]=0;while(p<64)for(g=24;0<=g;g-=8,p++)s[p]=(60<=p?d:m)>>>g&255;this.compress(n,s)}if("string"==typeof e){for(p=0;p<(512===r?16:384===r?12:256===r?8:7);p++)for(g=28;0<=g;g-=4)i+=P.HEX_DIGITS.charAt(n[p]>>>g&15);return i}{let t=[];for(p=0;p<(512===r?16:384===r?12:256===r?8:7);p++)for(g=24;0<=g;g-=8)t.push(n[p]>>>g&255);return t}}SHA2_224(t){return this.hash(t,!1,224)}SHA2_256(t){return this.hash(t,!1,256)}SHA2_384(t){return this.hash(t,!0,384)}SHA2_512(t){return this.hash(t,!0,512)}SHA2_512_224(t){return this.hash(t,!0,224)}SHA2_512_256(t){return this.hash(t,!0,256)}static SHA256(t){let e=new P;return e.hash(t,!1,256)}};P.HASH_224=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],P.HASH_256=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],P.HASH_384=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428],P.HASH_512=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],P.HASH_512_224=[2352822216,424955298,1944164710,2312950998,502970286,855612546,1738396948,1479516111,258812777,2077511080,2011393907,79989058,1067287976,1780299464,286451373,2446758561],P.HASH_512_256=[573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882],P.ROUNDS_256=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],P.ROUNDS_512=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],P.HEX_DIGITS="0123456789abcdef",Ae.bj.SHA2=P}{Ae.bj.SecureRandom=class{constructor(){if(null==this.pool){var t;this.pool=[],this.position=0;while(this.position<e.poolSize)t=Math.floor(65536*Math.random()),this.pool[this.position++]=t>>>8,this.pool[this.position++]=255&t;this.position=0,this.seedTime()}}seedInteger(t){this.pool[this.position++]^=255&t,this.pool[this.position++]^=t>>8&255,this.pool[this.position++]^=t>>16&255,this.pool[this.position++]^=t>>24&255,this.position>=e.poolSize&&(this.position-=e.poolSize)}seedTime(){this.seedInteger((new Date).getTime())}getByte(){if(null==this.state){for(this.seedTime(),this.state=new e,this.state.init(this.pool),this.position=0;this.position<this.pool.length;++this.position)this.pool[this.position]=0;this.position=0}return this.state.next()}nextBytes(e,r=0){0==r&&(r=e.length);for(let t=0;t<r;++t)e[t]=this.getByte()}createNextBytes(t){var e=[];return this.nextBytes(e,t),e}};let e=class{constructor(){this.i=0,this.j=0,this.s=[]}init(e){for(let t=0;t<256;++t)this.s[t]=t;let r=0;for(let t=0;t<256;++t){r=r+this.s[t]+e[t%e.length]&255;var i=this.s[t];this.s[t]=this.s[r],this.s[r]=i}this.i=0,this.j=0}next(){var t;return this.i=this.i+1&255,this.j=this.j+this.s[this.i]&255,t=this.s[this.i],this.s[this.i]=this.s[this.j],this.s[this.j]=t,this.s[t+this.s[this.i]&255]}};e.poolSize=256}Ae.bk.DataStorage=class{constructor(t){this._column=t}static createStorage(t,e){switch(e){case String:case Ae.b.Char:return new Ae.bk.StringStorage(t);case Number:case Ae.b.SByte:case Ae.b.Byte:case Ae.b.Int:case Ae.b.Int16:case Ae.b.Int32:case Ae.b.Int64:case Ae.b.UInt16:case Ae.b.UInt32:case Ae.b.UInt64:case Ae.b.Decimal:case Ae.b.Double:case Ae.b.Single:return new Ae.bk.NumberStorage(t);case Object.stimulsoft().getType():return new Ae.bk.ObjectStorage(t);case Boolean:return new Ae.bk.BooleanStorage(t);case Ae.b.ByteArray:return new Ae.bk.ByteArrayStorage(t);case Ae.b.DateTime:return new Ae.bk.DateTimeStorage(t);default:return new Ae.bk.ObjectStorage(t)}}getValue(t){return this.values[t]}setValue(t,e){this.values[t]=e}setStorage(){this.values=[]}},Ae.bk.BooleanStorage=class extends Ae.bk.DataStorage{setValue(t,e){this.values[t]=null!=e&&e.stimulsoft().toBoolean()}},Ae.bk.ByteArrayStorage=class extends Ae.bk.DataStorage{},Ae.bk.CharStorage=class extends Ae.bk.DataStorage{setValue(t,e){this.values[t]=null!=e?e.toString().charAt(0):""}},Ae.bk.DBNull=class{};{let e=class{constructor(t,e=String,r=null){this._caption=null,this.columnName="",this.dataType=String,this.columnName=null==t?"":t,this.dataType=e,this._caption=r,this.insureStorage(),this.storage.setStorage()}clone(){let t=new e(this.columnName,this.dataType);return t._caption=this._caption,t.table=this.table,t}get caption(){if(null==this._caption||""==this._caption)return this.columnName;return this._caption}set caption(t){this._caption=t=null==t?"":t}getRecord(t){return this.storage.getValue(t)}setRecord(t,e){this.storage.setValue(t,e)}setTable(t){this.table=t}delete(){this.table.columns.remove(this)}insureStorage(){null==this.storage&&(this.storage=Ae.bk.DataStorage.createStorage(this,this.dataType))}changeType(t){this.dataType=t;let e=Ae.bk.DataStorage.createStorage(this,t);for(var r in e.setStorage(),this.storage.values)e.setValue(r,this.storage.values[r]);this.storage=e}};Ae.bk.DataColumn=e}var J=Ae.bi.CollectionBase,Q,K,Z,$,tt,et,rt;Ae.bk.DataColumnCollection=class extends J{constructor(t){super(),this.table=t}baseAdd(t){t.setTable(this.table)}baseRemove(t){t.setTable(null)}add(t){this.list.push(t),this.baseAdd(t)}contains(t){if("string"==typeof t)return null!=this.getByName(t);return super.contains(t)}remove(t){var e=this.list.lastIndexOf(t);-1!=e&&this.list.splice(e,1),this.baseRemove(t)}removeByName(t){var e=this.getByName(t),t=this.list.lastIndexOf(e);-1!=t&&this.list.splice(t,1),this.baseRemove(e)}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.columnName.toLowerCase()==t)return e;return null}getIndexByName(t){var t=this.getByName(t),e;return this.list.indexOf(t)}},Ae.bk.DataKey=class{constructor(e,t){if(t){this.columns=[];for(let t=0;t<e.length;t++)this.columns.push(e[t])}else this.columns=e}get table(){return this.columns[0].table}get columnsReference(){return this.columns}getKeyValues(e){let r=[];for(let t=0;t<this.columns.length;t++)r.push(this.columns[t].getRecord(e));return r}getRows(i,n){var r,a;let s=[];if(1==this.columns.length){var t=this.columns[0].columnName;let e=this.table.columns.getByName(t);for(let t=0;t<this.table.rows.length;t++)e.dataType==Ae.b.DateTime&&n[0].dataType==Ae.b.DateTime?(null===(r=e.getRecord(t))||void 0===r?void 0:r.ticks)==i[0].ticks&&s.push(this.table.rows.getByIndex(t)):e.getRecord(t)==i[0]&&s.push(this.table.rows.getByIndex(t))}else for(let t=0;t<this.table.rows.length;t++){let e=!0,r=this.table.rows.getByIndex(t);for(let t=0;t<this.columns.length;t++){var o=this.columns[t];o.dataType==Ae.b.DateTime&&n[t].dataType==Ae.b.DateTime?(null===(a=r.getValue(o.columnName))||void 0===a?void 0:a.ticks)!=i[t].ticks&&(e=!1):r.getValue(o.columnName)!=i[t]&&(e=!1)}e&&s.push(r)}return s}toArray(){let e=new Array(this.columns.length);for(let t=0;t<this.columns.length;t++)e[t]=this.columns[t];return e}},Ae.bk.DataRelation=class{constructor(t,e,r){this.create(t,e,r)}get parentTable(){return this.parentKey.table}get childTable(){return this.childKey.table}get parentColumns(){return this.parentKey.toArray()}get childColumns(){return this.childKey.toArray()}create(t,e,r){this.parentKey=new Ae.bk.DataKey(e,!0),this.childKey=new Ae.bk.DataKey(r,!0),this.relationName=null==t?"":t}setDataSet(t){this.dataSet!=t&&(this.dataSet=t)}static getChildRows(t,e,r){var r=r.getKeyValues(t);return e.getRows(r,t.columns)}static getParentRows(t,e,r){var r=r.getKeyValues(e);return t.getRows(r,e.columns)}},Ae.bk.DataRelationCollection=class extends J{addCore(t){if(null==t)return;var e=this.getDataSet();if(t.dataSet===e)return;if(null!=t.dataSet)return}add(t){this.addCore(t)}addRange(t){for(var e of t)this.add(e)}internalIndexOf(r){let i=-1;if(null!=r&&0<r.length){var t=this.list.length;for(let e=0;e<t;e++){let t=this.getByIndex(e);if(t.relationName.toLowerCase()==r.toLowerCase())return e;i=-1==i?e:-2}}return i}contains(t){if("string"==typeof t)return 0<=this.internalIndexOf(t);return super.contains(t)}getByName(t){for(var e of this.list)if(e.relationName==t)return e;return null}getDataSet(){return null}};{let r=class{constructor(){this._recordIndex=-1}get recordIndex(){return-1==this._recordIndex&&(this._recordIndex=this.table.rows.indexOf(this)),this._recordIndex}static create(t){let e=new r;return e.table=t,e.columns=t.columns,e}getColumnIndex(t){if("number"==typeof t)return t;if("string"==typeof t)return this.columns.getIndexByName(t);if(t instanceof Ae.bk.DataColumn)return this.columns.indexOf(t);return-1}gett(t){return this.getValue(t)}sett(t,e){this.setValue(t,e)}get itemArray(){let t=[];for(var e of this.columns.list)t.push(this.getValue(e));return t}getValue(t){var t=this.getColumnIndex(t);let e=this.columns.getByIndex(t);if(null!=e)return e.getRecord(this.recordIndex);return null}setValue(t,e){var t=this.getColumnIndex(t);let r=this.columns.getByIndex(t);-1==this._recordIndex&&(this._recordIndex=this.table.rows.length),null!=r&&r.setRecord(this.recordIndex,e)}getValueByIndex(t){let e=this.columns.getByIndex(t);if(null!=e)return e.getRecord(this.recordIndex);return null}setValueByIndex(t,e){let r=this.columns.getByIndex(t);null!=r&&r.setRecord(this.recordIndex,e)}getDataColumn(t){return this.columns.getByName(t)}getChildRows(t){var t=this.table.childRelations.getByName(t);if(null==t)return[];return Ae.bk.DataRelation.getChildRows(t.parentKey,t.childKey,this)}getParentRow(t){var t=this.table.parentRelations.getByName(t);if(null==t)return null;return Ae.bk.DataRelation.getParentRows(t.parentKey,t.childKey,this)[0]}getParentRows(t){var t=this.table.parentRelations.getByName(t);if(null==t)return[];return Ae.bk.DataRelation.getParentRows(t.parentKey,t.childKey,this)}getKeyValues(t){return t.getKeyValues(this.recordIndex)}static copyToDataTable(t){let e=new Ae.bk.DataTable;for(var r of t.firstOrDefault().columns.list)e.columns.add(new Ae.bk.DataColumn(r.columnName,r.dataType));for(var i of t)e.loadDataRow(i.itemArray);return e}};Ae.bk.DataRow=r}Ae.bk.DataRowCollection=class extends J{constructor(t){super(),this.table=t}add(t){return this.table.addRow(t)}remove(t){this.table.removeRow(t)}addArray(t){return t._recordIndex=this.list.push(t)-1,t._recordIndex}removeArray(t){var t=this.list.lastIndexOf(t);-1!=t&&this.list.splice(t,1)}copyTo(e,r){for(let t=0;t<this.length;t++)e[r]=this.getByIndex(t),r++}replaceValues(t,e){for(var r of this.table.columns.list){var i=this.list[t].getValue(r);this.list[t].setValue(r,this.list[e].getValue(r)),this.list[e].setValue(r,i)}}quickSort(t,e,r){let i=e,n=r;var a=this.list[Math.trunc((e+r)/2)];do{while(t(this.list[i],a)<0)i++;while(t(a,this.list[n])<0)n--;i<=n&&(this.replaceValues(i,n),i++,n--)}while(i<n);e<n&&this.quickSort(t,e,n),i<r&&this.quickSort(t,i,r)}sort(...e){var e;if(0<this.list.length){let t=null,r=null,i=1;if(null!=e&&0<e.length&&("function"==typeof e[0]?t=e[0]:r=e[0].toString(),1<e.length&&!e[1]&&(i=-1)),null==r&&(r=this.table.columns.getByIndex(0).columnName),null==t)switch(null===(e=this.table.columns.getByName(r))||void 0===e?void 0:e.storage.stimulsoft().getType()){case Ae.bk.NumberStorage:t=(t,e)=>{var t=t.getValue(r),e=e.getValue(r);if(t<e)return-1*i;if(e<t)return 1*i;return 0};break;case Ae.bk.StringStorage:t=(t,e)=>{var t=t.getValue(r).toLocaleLowerCase(),e=e.getValue(r).toLocaleLowerCase();return(t<e?-1:e<t?1:0)*i};break;case Ae.bk.DateTimeStorage:t=(t,e)=>{var t=t.getValue(r),e=e.getValue(r);if(t.ticks<e.ticks)return-1*i;if(t.ticks>e.ticks)return 1*i;return 0};break}null!=t&&this.quickSort(t,0,this.list.length-1)}}gett(t,e){return this.getByIndex(t).gett(e)}},Ae.bl.XMLConvert=class{static encodeName(t){if(null==t||0==t.length)return"";let e="",r=/_[Xx]([0-9a-fA-F]{4})_/g,i=0,n=0,a=r.exec(t);while(a)e+=t.substring(n,a.index),e+="_x005F_x",n=a.index+2,a=r.exec(t);for(e+=t.substring(n,t.length),t=e,e="",48<=t.charCodeAt(0)&&t.charCodeAt(0)<=57&&(e+="_",e+=this.toHex(t.charCodeAt(0)),e+="_",i++);i<t.length;i++){var s=t.charCodeAt(i);s<48||57<s&&s<65||90<s&&s<95||122<s&&s<160?(e+="_",e+=this.toHex(s),e+="_"):e+=t.substr(i,1)}return e}static decodeName(t){if(null==t||0==t.length)return"";if(t.indexOf("_")<0)return t;let e="";var r=t.length;let i=0,n=/_[Xx]([0-9a-fA-F]{4})_/g,a=n.exec(t);while(a){e+=t.substring(i,a.index);var s=4096*this.fromHex(String(a[1]).charAt(0))+256*this.fromHex(String(a[1]).charAt(1))+16*this.fromHex(String(a[1]).charAt(2))+this.fromHex(String(a[1]).charAt(3));e+=String.fromCharCode(s),i=a.index+7,a=n.exec(t)}return e+=t.substring(i,r),e}static fromHex(t){if("9"<t)return(t<="F"?t.charCodeAt(0)-"A".charCodeAt(0):t.charCodeAt(0)-"a".charCodeAt(0))+10;return t.charCodeAt(0)-"0".charCodeAt(0)}static toHex(t){var e=t.toString(16).toUpperCase();let r="";switch(e.length){case 1:r+="x000"+e;break;case 2:r+="x00"+e;break;case 3:r+="x0"+e;break;case 4:r+="x"+e;break}return r}};let Ee=Ae.bi.List;Ae.bm.XmlNode=class{constructor(){this.nodeName="",this.childNodes=new Ee,this.localName="",this.textContent="",this.attributes=new Ae.bm.XmlAttrCollection}get firstChild(){if(0<this.childNodes.length)return this.childNodes[0];return null}setParentNode(t){this.parentNode=t}getAttribute(e){if(null!=this.attributes)for(let t=0;t<this.attributes.length;t++){var r=this.attributes.getByIndex(t);if(r.name==e)return r.value}return null}item(t){return this.childNodes[t]}getNodeByName(r){for(let e=0;e<this.childNodes.length;e++){let t=this.childNodes[e];if(t.nodeName==r)return t;var i=t.getNodeByName(r);if(null!=i)return i}return null}getNodesByName(r){let i=[];for(let e=0;e<this.childNodes.length;e++){let t=this.childNodes[e];t.nodeName==r&&i.push(t);var n=t.getNodesByName(r);if(null!=n)for(var a of n)i.push(a)}return i}},(K=Q=Ae.bm.XmlNodeType||(Ae.bm.XmlNodeType={}))[K["ATTRIBUTE_NODE"]=0]="ATTRIBUTE_NODE",K[K["ELEMENT_NODE"]=1]="ELEMENT_NODE",K[K["TEXT_NODE"]=2]="TEXT_NODE",K[K["DOCUMENT_NODE"]=3]="DOCUMENT_NODE";{let n=class{static toXml(t){t=t.substring(t.indexOf("<?xml"));var t=n.getXmlDocumentFromString(t);return n.toXmlNode(t)}static toXml2(t){var t=new Ae.a.xmldoc.XmlDocument(t);let e=new Ae.bm.XmlNode;return e.childNodes.add(n.toXmlNode2(t)),e}static toXmlNode2(r){let i=new Ae.bm.XmlNode;if(i.nodeType=n.getNodeType2(r),i.nodeName=Ae.bl.XMLConvert.decodeName(r.name),i.localName=Ae.bl.XMLConvert.decodeName(n.getNodeLocalName2(r)),null!=r.attr)for(var e of Ae.b.StiObject.keys(r.attr)){let t=new Ae.bm.XmlAttr;t.name=e,t.value=n.getText(r.attr[e]),i.attributes.add(t)}if(r.children)for(let e=0;e<r.children.length;e++){let t=this.toXmlNode2(r.children[e]);t.nodeType!=Ae.bm.XmlNodeType.TEXT_NODE&&(0==t.childNodes.length&&(t.textContent=r.children[e].val),t.setParentNode(i),i.childNodes.add(t))}return i}static toXmlNode(r){let i=new Ae.bm.XmlNode;i.nodeType=n.getNodeType(r),i.nodeName=Ae.bl.XMLConvert.decodeName(n.getNodeName(r)),i.localName=Ae.bl.XMLConvert.decodeName(n.getNodeLocalName(r));var t=n.getAttributesArray(r);if(null!=t)for(var e of t){let t=new Ae.bm.XmlAttr;t.name=e.name,t.value=n.getText(e.value),i.attributes.add(t)}for(let e=0;e<n.getChildNodesArray(r).length;e++){let t=this.toXmlNode(n.getChildNodesArray(r)[e]);t.nodeType!=Ae.bm.XmlNodeType.TEXT_NODE&&(0==t.childNodes.length&&(t.textContent=n.getText(n.getChildNodesArray(r)[e].textContent)),t.setParentNode(i),i.childNodes.add(t))}return i}static getXmlDocumentFromString(t){var e=t.indexOf("<?"),r,r,e;return-1!=(e=t.indexOf("encoding",e+1))&&(r=t.indexOf('"',e+1),r=t.indexOf('"',r+1),t=t.replace(t.substring(e,r+1),"")),t=t.split("&#x").join("_amp#x"),(new DOMParser).parseFromString(t,"application/xhtml+xml")}static getAttributesArray(t){return t.attributes}static getNodeType2(t){switch(t.type){case"element":return Ae.bm.XmlNodeType.ELEMENT_NODE;case"text":return Ae.bm.XmlNodeType.TEXT_NODE}return Ae.bm.XmlNodeType.TEXT_NODE}static getNodeType(t){switch(t.nodeType){case Node.ELEMENT_NODE:return Ae.bm.XmlNodeType.ELEMENT_NODE;case Node.ATTRIBUTE_NODE:return Ae.bm.XmlNodeType.ATTRIBUTE_NODE;case Node.DOCUMENT_NODE:return Ae.bm.XmlNodeType.DOCUMENT_NODE;case Node.TEXT_NODE:return Ae.bm.XmlNodeType.TEXT_NODE}return Ae.bm.XmlNodeType.TEXT_NODE}static getNodeName(t){return t.nodeName}static getNodeLocalName2(t){if(t.name&&0<=t.name.indexOf(":"))return t.name.substring(t.name.indexOf(":")+1);return t.name}static getNodeLocalName(t){return t.localName}static getText(t){let e=t.split("_amp#x");for(let t=1;t<e.length;t++){var r=e[t].substr(0,e[t].indexOf(";"));e[t]=String.fromCharCode(parseInt(r,16))+e[t].substr(e[t].indexOf(";")+1)}return e.join("")}static getChildNodesArray(t){return t.childNodes}};Ae.bm.XmlConverter=n}let it=Ae.bk.DataColumn,nt=Ae.bl.XMLConvert,Dt=Ae.bi.Hashtable,at=Ae.bm.XmlConverter,st=Ae.bm.XmlNodeType;{let w;(Z=w=Ae.bk.JsonRelationDirection||(Ae.bk.JsonRelationDirection={}))[Z["ChildToParent"]=0]="ChildToParent",Z[Z["ParentToChild"]=1]="ParentToChild";let t=class{constructor(t=null){this.isRetrieveColumns=!1,this.structureFromSchema=!1,this.dataSetName="",this.enforceConstraints=!1,this.tables=new Ae.bk.DataTableCollection(this),this.relations=new Ae.bk.DataSetRelationCollection(this),this.dataSetName=t,Ae.b.StiString.isNullOrEmpty(this.dataSetName)&&(this.dataSetName="DataSet")}get tryParseDateTime(){if(null==this._tryParseDateTime||null==this._tryParseDateTime)return t.tryParseDateTime;return this._tryParseDateTime}set tryParseDateTime(t){this._tryParseDateTime=t}dispose(){this.tables=new Ae.bk.DataTableCollection(this),this.relations=new Ae.bk.DataSetRelationCollection(this),this.dataSetName="DataSet",this.structureFromSchema=!1}correctJsonString(t){let e=t.replace(/,\s*}/gi,"}");e=e.replace(/,\s*]/gi,"]"),e=e.replace(/:\s*null/gi,": null");let r=0;while(r<e.length){if("{"==e[r])return e;if("["==e[r])return'{"root": '+e+"}";r++}return e}correctJson(t){let n=e=>{if(e instanceof Array)for(let t=0;t<e.length;t++){var r=typeof e[t];"string"==r||"number"==r||"boolean"==r?e[t]={value:e[t]}:n(e[t])}else for(var t in e){var i;null==e[t]?e[t]="":"string"!=(i=typeof e[t])&&"number"!=i&&"boolean"!=i&&(e[t]instanceof Array||(e[t]=[e[t]]),n(e[t]))}};for(var e in n(t),t){var e=typeof t[e];if("string"==e||"number"==e||"boolean"==e)return{root:t}}return t}readJsonFile(t,e=w.ParentToChild){var t;Ae.b.StiString.isNullOrEmpty(t)||(t=Ae.bo.File.getFile(t,!1,"application/json"))&&this.readJson(t,e)}readJson(t,e=w.ParentToChild){try{if(void 0===t||null==t)return;var r,i;"string"==typeof(t=Ae.b.StiArray.isArray(t)&&"number"==typeof t[0]?Ae.bl.Encoding.UTF8.getString(t):t)?(r=this.correctJsonString(t),Ae.b.StiString.isNullOrWhiteSpace(r)||(i=this.correctJson(JSON.parse(r)),this.processObject2(i,e))):this.readJson(JSON.stringify(t),e)}catch(t){throw Ae.b.StiError.showError(t.message,!1),t}}processObject2(t,e=w.ParentToChild){let h=[],c=(r,i,n,a,s=!1)=>{let o=i+"_"+r;for(var l in Ae.b.StiString.isNullOrEmpty(i)&&(o=r),a){let e=a[l],t=typeof e;if(null==e&&(t="string"),"object"==t){let t=!1;if(a instanceof Array)c(r,i,n+".#array#"+l,e,!1);else{if(!s&&e instanceof Array)for(var u of e)u["relationId"]="#relation#"+o;c(l,o,n+"."+l,e),e instanceof Array?(a[l]="#relation#"+n+"."+l+".#array#0",t=!0):e["relationId"]=-1}t||e instanceof Array||(a[l]="#relation#"+n+"."+l)}}if(a instanceof Array)return;n&&(Ae.b.StiString.isNullOrEmpty(i)||(r=i+"_"+r),h.push({collectionName:r,address:n,cast:o,object:a}))};c("","","",t,!0);let a={},r={},s={},o=[];for(var i of h){let t=r[i.cast];var n;t=t||[],t.lastIndexForAddress=0,a[i.address]=t,t.push(i),r[i.cast]=t,"relationId"in i.object&&-1!=i.object.relationId&&0==i.object.relationId.indexOf("#relation#")&&((n=i.object.relationId.split("#relation#").join(""))in r?i.object.relationId=r[n].length:i.object.relationId=0)}for(var l in r){var l=r[l],u;let n=0;for(u of l){var d=u.collectionName,m;let r=this.tables.getByName(d);r||(r=new Ae.bk.DataTable(d),this.tables.add(r));let i=r.addNewRow();for(m in n++,u.object)if(!Ae.b.StiString.isNullOrEmpty(m)){let t=u.object[m];var p=typeof t,g,f;let e=r.columns.getByName(m);if(!e){let t=String;"relationId"!=m&&("number"==p?t=Ae.b.Decimal:"boolean"==p&&(t=Boolean)),e=new Ae.bk.DataColumn(m,t),r.columns.add(e),"relationId"==m?o.push(e):t==String&&(e.initType=!1)}if("relationId"==m){if(-1==u.object.relationId){u.object.relationId=0;let e=a[u.address];for(let t=e.lastIndexForAddress;t<e.length;t++){if(e[t].address==u.address){u.object.relationId=t,e.lastIndexForAddress=t;break}}}i.setValue(e,u.object.relationId)}else{"string"==p&&0==t.indexOf("#relation#")?(i.setValue(e,n-1),(f=a[t.split("#relation#").join("")])&&0<f.length&&(s[r.tableName+"."+e.columnName]={childColumn:e,childTable:r,parentTableName:f[0].collectionName})):(0!=e.initType||Ae.b.StiString.isNullOrEmpty(t)||(delete e.initType,"number"==p?e.changeType(Ae.b.Decimal):"boolean"==p?e.changeType(Boolean):"string"==p&&this.tryParseDateTime&&z.isISO8601String(t)&&e.changeType(z)),i.setValue(e,t))}}}}for(var S in s){var b=s[S].childColumn;let t=this.tables.getByName(s[S].parentTableName);var y=t.columns.getByName("relationId");e==w.ChildToParent?this.relations.add(new Ae.bk.DataRelation(t.tableName,[y],[b])):this.relations.add(new Ae.bk.DataRelation(t.tableName,[b],[y]));for(let t=0;t<o.length;t++)if(o[t]==y){o.stimulsoft().removeAt(t);break}}for(var v of o)v.table.columns.remove(v)}processObject(t,e){let r=new Dt;for(var i in t)try{var n;Object.prototype.hasOwnProperty.call(t,i)&&(n=t[i],Ae.b.StiArray.isArray(n)?this.processArray(n,i):"string"==typeof n||"number"==typeof n||"boolean"==typeof n?r.add(i,n):this.processObject(n,i))}catch(t){throw Ae.b.StiError.showError(t,!1),t}this.processTable(r,e)}processTable(e,t){let r=new Ae.bk.DataTable(t),i=!1;if(0<e.count){i=!0,r.columns.add(new it("key")),r.columns.add(new it("value"));for(var n of e.keys){let t=r.newRow();r.rows.add(t),t.sett("key",n);var n=e.get(n);t.sett("value",n)}}i&&this.tables.add(r)}processArray(t,e){let r=new Dt;for(var i of t)for(var n in i){var a;Object.prototype.hasOwnProperty.call(i,n)&&null!=i[n]&&r.add(n,"")}let s=new Ae.bk.DataTable(e);for(var o of r.keys)s.columns.add(new it(o));for(var l of t){let e=s.newRow();for(var u in s.rows.add(e),l)if(Object.prototype.hasOwnProperty.call(l,u)){let t=l[u];null!=t&&"string"!=typeof t&&"number"!=typeof t&&"boolean"!=typeof t&&(t=JSON.stringify(t,null,2)),e.setValue(u,t)}}this.tables.add(s)}readXmlFile(t){var t=Ae.bo.File.getFile(t,!1,"application/xml");null!=t&&(this.dataNode=at.toXml(t).firstChild,null!=this.dataNode&&this.fillDataSet())}readXml(t){try{if(void 0===t||null==t)return;"string"==typeof(t=Ae.b.StiArray.isArray(t)?Ae.bl.Encoding.UTF8.getString(t):t)&&(t=at.toXml(t)),this.dataNode=t.firstChild,null!=this.dataNode&&this.fillDataSet()}catch(t){throw Ae.b.StiError.showError(t.message,!1),t}}readXmlSchemaFile(t){try{var e=Ae.bo.File.getFile(t);e&&(this.schemaNode=at.toXml(e).firstChild,null!=this.schemaNode&&this.fillDataSet())}catch(t){throw Ae.b.StiError.showError(t.message,!1),t}}readXmlSchema(t){try{if(void 0===t||null==t)return;"string"==typeof(t=Ae.b.StiArray.isArray(t)?Ae.bl.Encoding.UTF8.getString(t):t)&&(t=at.toXml(t)),this.schemaNode=t.firstChild,null!=this.schemaNode&&this.fillDataSet()}catch(t){throw Ae.b.StiError.showError(t.message,!1),t}}fillDataSet(){null==this.schemaNode&&"xs:schema"==this.dataNode.firstChild.nodeName&&(this.schemaNode=this.dataNode.firstChild,this.dataNode.childNodes.removeAt(0)),0==this.tables.count&&(this.structureFromSchema=!1,null!=this.schemaNode?(this.parseSchema(),this.structureFromSchema=!0):this.inferSchemaFromData()),null!=this.dataNode&&(0<this.dataNode.childNodes.length||0<this.dataNode.attributes.length)&&!this.isRetrieveColumns&&this.fillTable(this.dataNode),this.dataNode=null,this.schemaNode=null}parseSchema(){if(null==this.schemaNode.firstChild)return;var t=this.schemaNode.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE&&"element"==nt.decodeName(t.localName)&&"true"==t.getAttribute("msdata:IsDataSet")),t;1==t.length&&t[0]==this.schemaNode.firstChild?(t=nt.decodeName(this.schemaNode.firstChild.getAttribute("name")),Ae.b.StiString.isNullOrEmpty(t)||(this.dataSetName=t),this.parseAdoNetSchema(this.schemaNode)):this.parseUnknownSchema(this.schemaNode)}parseAdoNetSchema(t){let e=t.firstChild,r=[],n=[];for(var i of e.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE))switch(nt.decodeName(i.localName)){case"complexType":i.firstChild.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE&&"element"==nt.decodeName(t.localName)).map(t=>this.extractTableFromElementNode(t));break;case"unique":case"key":r.push(this.extractKey(i));break;case"keyref":n.push(this.extractReference(i));break;default:break}for(let i of n){if(null==i)continue;let t=r.filter(t=>null!=t&&t.name==i.referencedKeyName);t.map(t=>{var e=this.findTable(t.tableName),r=this.findTable(i.tableName);if(null==e||null==r)return;var e=this.findColumns([t.columnName],e),r=this.findColumns([i.columnName],r);if(e.length<1||r.length<1)return;var r=new Ae.bk.DataRelation(i.name,e,r);this.relations.add(r)})}t.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE&&"annotation"==nt.decodeName(t.localName)).map(t=>this.extractRelationsFromAdoNetRelationships(t.firstChild))}extractKey(t){var e=nt.decodeName(t.getAttribute("name"));if(Ae.b.StiString.isNullOrEmpty(e))return null;if(t.childNodes.length<2)return null;let r=t.childNodes[0].getAttribute("xpath");var i=r.substring(r.lastIndexOf("/")+1),i=nt.decodeName(i),t=t.childNodes[1].getAttribute("xpath"),t=nt.decodeName(t);if(Ae.b.StiString.isNullOrEmpty(i)||Ae.b.StiString.isNullOrEmpty(t))return null;return{name:e,tableName:i,columnName:t}}extractReference(t){var e=nt.decodeName(t.getAttribute("name"));if(Ae.b.StiString.isNullOrEmpty(e))return null;if(t.childNodes.length<2)return null;let r=t.childNodes[0].getAttribute("xpath");var i=r.substring(r.lastIndexOf("/")+1),i=nt.decodeName(i),n=t.childNodes[1].getAttribute("xpath"),n=nt.decodeName(n);if(Ae.b.StiString.isNullOrEmpty(i)||Ae.b.StiString.isNullOrEmpty(n))return null;var t=t.getAttribute("refer"),t=nt.decodeName(t);if(Ae.b.StiString.isNullOrEmpty(t))return null;return{name:e,tableName:i,columnName:n,referencedKeyName:t}}extractRelationsFromAdoNetRelationships(r){for(let e=0;e<r.childNodes.length;e++)if(r.childNodes[e].nodeType==st.ELEMENT_NODE){let t=r.childNodes[e];var i="msdata:",n=t.getAttribute("name"),a=this.findTable(t.getAttribute(i+"child")),s=this.findTable(t.getAttribute(i+"parent")),a=this.findColumns(t.getAttribute(i+"childkey").split(" "),a),s=this.findColumns(t.getAttribute(i+"parentkey").split(" "),s),a=new Ae.bk.DataRelation(n,s,a);this.relations.add(a)}}parseUnknownSchema(t){let e=null;this.complexTypeNodes=new Dt;for(var r of t.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE))switch(nt.decodeName(r.localName)){case"element":if(null!=e)break;e=r;break;case"complexType":this.complexTypeNodes.add(nt.decodeName(r.getAttribute("name")),r);break;default:break}if(null==e)return void(this.complexTypeNodes=null);var i=nt.decodeName(e.getAttribute("type")),n;if(Ae.b.StiString.isNullOrEmpty(i)&&this.extractTableFromElementNode(e),null!=this.getStorageTypeOrDefault(i))return void(this.complexTypeNodes=null);var t=nt.decodeName(e.getAttribute("name")),t;Ae.b.StiString.isNullOrEmpty(i)||(t=new Ae.bk.DataTable(t),this.tables.add(t),this.extractColumnsFromComplexTypeNode(this.complexTypeNodes.get(i),t)),this.complexTypeNodes=null}extractTableFromElementNode(t){if(null!=t.firstChild&&"complexType"==nt.decodeName(t.firstChild.localName)){var e=nt.decodeName(t.getAttribute("name")),e=new Ae.bk.DataTable(e);return this.extractColumnsFromComplexTypeNode(t.firstChild,e),this.tables.add(e),e}return null}extractColumnsFromComplexTypeNode(t,e){null!=t.firstChild&&t.firstChild.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE&&"element"==nt.decodeName(t.localName)).map(t=>this.extractColumnFromElementNode(t,e))}extractColumnFromElementNode(e,r){var t,t,i,n=nt.decodeName(e.getAttribute("name"));let a=nt.decodeName(e.getAttribute("type"));a=a.substr(a.indexOf(":")+1);var s=this.getStorageTypeOrDefault(a);if(null!=s){var o=!1,l=null!==(t=e.getAttribute("maxOccurs"))&&void 0!==t?t:"1",l=nt.decodeName(l),u=Number(l),t=null!==(t=e.getAttribute("minOccurs"))&&void 0!==t?t:"1",t=nt.decodeName(t),t=Number(t),o;if("unbounded"==l||!isNaN(u)&&1<u||!isNaN(t)&&1<t){let t=new Ae.bk.DataTable(n);this.tables.add(t);var i=new it(n,s,n);t.columns.add(i),this.linkTables(r,t)}else{var i=nt.decodeName(null!==(i=e.getAttribute("msdata:Caption"))&&void 0!==i?i:n);r.columns.add(new it(n,s,i))}}else{var n=new Ae.bk.DataTable(n);this.tables.add(n);let t;t=null==a?e.firstChild:this.complexTypeNodes.get(a),this.extractColumnsFromComplexTypeNode(t,n),this.linkTables(r,n)}}inferSchemaFromData(){this.dataNode.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE&&null!=t.nodeName).map(t=>this.inferTableFromNode(t))}inferTableFromNode(t){var e=nt.decodeName(t.nodeName);let r=this.tables.getByName(e);return null==r&&(r=new Ae.bk.DataTable(e),this.tables.add(r)),this.inferColumnsFromNode(t,r),r}inferColumnsFromNode(t,e){t.childNodes.where(t=>t.nodeType==st.ELEMENT_NODE).map(t=>this.inferColumnFromNode(t,e));for(var r of t.attributes.list){var i="@"+nt.decodeName(r.name),r=e.columns.getByName(i);null==r&&(r=new it(i),e.columns.add(r))}}inferColumnFromNode(e,r){var i=nt.decodeName(e.nodeName),n;if(null!=e.firstChild){var t=this.inferTableFromNode(e);this.linkTables(r,t)}else if(1<e.parentNode.childNodes.count2(t=>t.nodeName==e.nodeName)){let t=this.tables.getByName(i);null==t&&(n=new it(e.nodeName),t=new Ae.bk.DataTable(i),t.columns.add(n),this.tables.add(t)),this.linkTables(r,t)}else{var i=nt.decodeName(e.nodeName),n=r.columns.getByName(i);null==n&&(n=new it(i),r.columns.add(n))}}fillTable(e,t=null){let r;var i=nt.decodeName(e.nodeName);if(null!=r&&r.tableName==i||(r=this.tables.getByName(i)),null!=r)this.fillRow(e,r,t);else for(let t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];n.nodeType==st.ELEMENT_NODE&&null!=n.nodeName&&this.fillTable(n)}}fillRow(r,i,t=null){let n,a,s,o=i.addNewRow();for(let e=0;e<r.childNodes.length;e++)if(r.childNodes[e].nodeType==st.ELEMENT_NODE){let t=r.childNodes[e];null!=t.nodeName&&(a=nt.decodeName(t.nodeName),n=i.columns.getByName(a),s=null==t.firstChild&&null==this.tables.getByName(a)?t.textContent:"true"==t.getAttribute("isNull")?null:"",null==n?(a=i.tableName+"_id",o.setValue(a,i.rows.count-1),this.fillTable(t,i)):this.addNodeValueToRowIntoColumn(s,o,a,n))}if(!this.structureFromSchema)for(var e of r.attributes.list)a="@"+nt.decodeName(e.name),n=i.columns.getByName(a),s=e.value,this.addNodeValueToRowIntoColumn(s,o,a,n);null!=t&&(o.setValue(t.tableName+"_id",t.rows.count-1),a=nt.decodeName(r.nodeName),null==r.firstChild&&null!=this.tables.getByName(a)&&(s=r.textContent,n=i.columns.getByName(a),this.addNodeValueToRowIntoColumn(s,o,a,n)))}addNodeValueToRowIntoColumn(t,e,r,i){switch(i.dataType){case Boolean:e.setValue(r,t.stimulsoft().toBoolean());break;case Ae.b.Byte:case Ae.b.Decimal:case Ae.b.Double:case Ae.b.Int16:case Ae.b.Int32:case Ae.b.Int64:case Ae.b.SByte:case Ae.b.Single:case Ae.b.UInt16:case Ae.b.UInt32:case Ae.b.UInt64:case Number:e.setValue(r,t.stimulsoft().toNumber());break;default:"string"==typeof t&&(t=t.replace(/\r\n/gi,"\n").replace(/\r/gi,"\n").replace(/\n/gi,"\r\n")),e.setValue(r,t.toString());break}}linkTables(t,e){var r=t.tableName,i=r+"_id";let n=e.columns.getByName(i);null==n&&(n=new it(i,Ae.b.Int32,i),e.columns.add(n));let a=t.columns.getByName(i);null==a&&(a=new it(i,Ae.b.Int32,i),t.columns.add(a));var e=r+"_"+e.tableName,e;null==this.relations.getByName(e)&&(e=new Ae.bk.DataRelation(e,[a],[n]),this.relations.add(e))}getStorageTypeOrDefault(t){switch(t){case"boolean":case"System.Boolean":case"Stimulsoft.System.Boolean":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Boolean]":return Boolean;case"unsignedByte":case"System.Byte":case"Stimulsoft.System.Byte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Byte]":return Ae.b.Byte;case"System.Char":case"Stimulsoft.System.Char":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Char]":return Ae.b.Char;case"binary":case"base64Binary":case"System.Byte[]":case"Stimulsoft.System.Byte[]":case"Stimulsoft.System.Drawing.Image":return Ae.b.ByteArray;case"date":case"dateTime":case"System.DateTime":case"Stimulsoft.System.DateTime":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.DateTime]":return z;case"System.TimeSpan":case"Stimulsoft.System.TimeSpan":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.TimeSpan]":return Ae.b.TimeSpan;case"decimal":case"System.Decimal":case"Stimulsoft.System.Decimal":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Decimal]":return Ae.b.Decimal;case"float":case"double":case"System.Double":case"Stimulsoft.System.Double":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Double]":return Ae.b.Double;case"System.Guid":case"Stimulsoft.System.Guid":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Guid]":return Ae.b.Guid;case"short":case"System.Int16":case"Stimulsoft.System.Int16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int16]":return Ae.b.Int16;case"int":case"System.Int32":case"Stimulsoft.System.Int32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int32]":return Ae.b.Int32;case"long":case"System.Int64":case"Stimulsoft.System.Int64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int64]":return Ae.b.Int64;case"System.Object":case"Stimulsoft.System.Object":return Object;case"System.SByte":case"Stimulsoft.System.SByte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.SByte]":return Ae.b.SByte;case"System.Single":case"Stimulsoft.System.Single":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Single]":return Ae.b.Single;case"System.UInt16":case"Stimulsoft.System.UInt16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt16]":return Ae.b.UInt16;case"System.UInt32":case"Stimulsoft.System.UInt32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt32]":return Ae.b.UInt32;case"System.UInt64":case"Stimulsoft.System.UInt64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt64]":return Ae.b.UInt64;case"string":case"System.String":case"Stimulsoft.System.String":return String;case"duration":return String}return null}findTable(t){return t=nt.decodeName(t),this.tables.getByName(t)}findColumns(t,e){let r=[];var i,n;for(n of t)n=nt.decodeName(n),null!=(i=e.columns.getByName(n))&&r.push(i);return r}writeXml(t=!0){let e="";e+=`<?xml version="1.0" standalone="yes"?>`,t&&(e+=`<${this.dataSetName}>`),e+=this.writeXsd();for(var r of this.tables.list){var i=nt.encodeName(r.tableName),n;for(n of r.rows.list){e+=`<${i}>`;for(var a of n.columns.list){var s=nt.encodeName(a.columnName);let t=a.getRecord(n.recordIndex);Ae.b.StiArray.isArray(t)&&(t=Ae.b.Convert.toBase64String(t)),t instanceof z&&(t=t.toString()),null==t&&(t=""),"string"==typeof t&&(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")),e+=`<${s}>${t}</${s}>`}e+=`</${i}>`}}return e+=`</${this.dataSetName}>`,e}writeXsd(){let t="";t+=`<xs:schema id="${this.dataSetName}" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">`,t+=`<xs:element name="${this.dataSetName}" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">`,t+=`<xs:complexType>`,t+=`<xs:choice minOccurs="0" maxOccurs="unbounded">`;for(var e of this.tables.list){var r=nt.encodeName(e.tableName),i;t+=`<xs:element name="${r}">`,t+=`<xs:complexType>`,t+=`<xs:sequence>`;for(i of e.columns.list){var n=nt.encodeName(i.columnName);t+=`<xs:element name="${n}" type="xs:${this.getTypeFromStorageType(i.dataType)}" />`}t+=`</xs:sequence>`,t+=`</xs:complexType>`,t+=`</xs:element>`}var a,s,o;for(s of this.relations.toList().selectMany(t=>new Ee(t.parentKey.columns)).distinct())t+=`<xs:unique name="${s.columnName}" msdata:PrimaryKey="true">`,t+=`<xs:selector xpath=".//${s.table.tableName}" />`,t+=`<xs:field xpath="${s.columnName}" />`,t+=`</xs:unique>`;for(o of this.relations.list){var l=o.parentKey.columns[0],u=o.childKey.columns[0];t+=`<xs:keyref name="${o.relationName}" refer="${l.columnName}">`,t+=`<xs:selector xpath=".//${u.table.tableName}" />`,t+=`<xs:field xpath="${u.columnName}" />`,t+=`</xs:keyref>`}return t+=`</xs:choice>`,t+=`</xs:complexType>`,t+=`</xs:element>`,t+=`</xs:schema>`,t}getTypeFromStorageType(t){switch(t){case Boolean:return"boolean";case Ae.b.Byte:return"unsignedByte";case Ae.b.ByteArray:return"base64Binary";case z:return"date";case Ae.b.Short:return"short";case Ae.b.Decimal:return"decimal";case Ae.b.Double:return"double";case Ae.b.Int16:return"short";case Ae.b.Int32:return"int";case Ae.b.Int64:return"long";case String:return"string";default:return t.stimulsoft().getNetTypeName()}return null}};t.tryParseDateTime=!0,Ae.bk.DataSet=t}Ae.bk.DataSetRelationCollection=class extends Ae.bk.DataRelationCollection{constructor(t){super(),this.dataSet=t}addCore(t){if(super.addCore(t),t.childTable.dataSet!=this.dataSet||t.parentTable.dataSet!=this.dataSet)return;this.list.push(t),t.parentTable.childRelations.add(t),t.childTable.parentRelations.add(t),t.setDataSet(this.dataSet)}getDataSet(){return this.dataSet}};{let t=class{constructor(t=""){this.needCleanCache=!0,this._index=null,this.tableName="",this.extendedProperties={},this.columns=new Ae.bk.DataColumnCollection(this),this.rows=new Ae.bk.DataRowCollection(this),this.tableName=t,this.defaultView=new Ae.bk.DataView(this)}get index(){return null==this._index&&(this._index=[]),this.needCleanCache&&(this._index.splice(0),this.needCleanCache=!1),this._index}get childRelations(){return null==this._childRelations&&(this._childRelations=new Ae.bk.DataTableRelationCollection(this,!1)),this._childRelations}set childRelations(t){this._childRelations=t}get parentRelations(){return null==this._parentRelations&&(this._parentRelations=new Ae.bk.DataTableRelationCollection(this,!1)),this._parentRelations}set parentRelations(t){this._parentRelations=t}setDataSet(t){this.dataSet=t,this.needCleanCache=!0}addRow(t){return this.needCleanCache=!0,this.rows.addArray(t)}removeRow(t){this.rows.removeArray(t),this.needCleanCache=!0}addNewRow(){var t=this.newRow();return this.addRow(t),this.needCleanCache=!0,t}newRow(){return Ae.bk.DataRow.create(this)}clone(){let e=new t;e.rows=new Ae.bk.DataRowCollection(e),e.tableName=this.tableName,e.dataSet=this.dataSet,e.childRelations=this.childRelations,e.parentRelations=this.parentRelations,e.columns=new Ae.bk.DataColumnCollection(e);for(var r of this.columns.list){let t=r.clone();t.table=e,e.columns.add(t)}return e.needCleanCache=!0,e}copy(){let e=new t;e.rows=new Ae.bk.DataRowCollection(e),e.tableName=this.tableName,e.dataSet=this.dataSet,e.columns=new Ae.bk.DataColumnCollection(e);for(var r of this.columns.list){let t=r.clone();t.table=e,e.columns.add(t),Ae.b.StiArray.copy(r.storage.values,0,t.storage.values,r.storage.values.length)}return this.rows.list.forEach(t=>e.addNewRow()),e.needCleanCache=!0,e}toList(){return this.columns.toList()}loadDataRow(e,t=!0){if(e.length>this.columns.length)throw new Error("The array is larger than the number of columns in the table.");let r=this.addNewRow();for(let t=0;t<e.length;t++)r.sett(t,e[t]);return r}};Ae.bk.DataTable=t}Ae.bk.DataTableCollection=class extends J{constructor(t){super(),this.dataSet=t}add(t){this.checkTableName(t),this.list.push(t),this.baseAdd(t)}remove(t){var e=this.list.lastIndexOf(t);-1!==e&&this.list.splice(e,1),this.baseRemove(t)}baseAdd(t){t.setDataSet(this.dataSet)}baseRemove(t){t.setDataSet(null)}getByName(t){for(var e of this.list)if(e.tableName==t)return e;return null}checkTableName(t){Ae.b.StiString.isNullOrEmpty(t.tableName)&&(t.tableName="Table");let e=1,r=t.tableName,i=this.getByName(r);while(null!=i)r=t.tableName+e.toString(),i=this.getByName(r),e++;t.tableName!=r&&(t.tableName=r)}},Ae.bk.DataTableRelationCollection=class extends Ae.bk.DataRelationCollection{constructor(t,e){super(),this.table=t,this.parentCollection=e}addCache(t){this.list.push(t)}addCore(t){if(this.parentCollection){if(t.childTable!=this.table)return;if(t.parentTable!=this.table)return}this.addCache(t)}getDataSet(){return this.table.dataSet}};{let e=class{constructor(t){this.rowFilter="",this.sort="",this.table=t}clone(){let t=new e(this.table);return t.rowFilter=this.rowFilter,t.sort=this.sort,t}toTable(e=!1){if("FALSE"==this.rowFilter)return this.table.clone();var t=[],r=[];this.parse(this.rowFilter,t," AND "),this.parse(this.rowFilter,r," OR "),Ae.b.StiString.isNullOrEmpty(this.rowFilter)||(1==r.length&&r[0]==this.rowFilter?e=!0:1==t.length&&t[0]==this.rowFilter&&(e=!1));let i=[];this.parse(this.rowFilter,i,e?" AND ":" OR ");for(let t=0;t<i.length;t++){var n=[];this.parse(i[t],n,e?" OR ":" AND "),i.splice(t,1,n)}return this.parseConditions(i),this.filter(e)}filter(a=!0){let s=this.table.clone();for(let t=0;t<this.table.rows.length;t++){let e=0<this.ands.length;a||(e=!e);let n=this.table.rows.getByIndex(t),r=0;while(r<this.ands.length&&(a&&e||!a&&!e)){var o=this.ands[r];let i=!a,t=0;while(t<o.length&&(a&&!i||!a&&i)){let r=o[t];try{var l=this.table.columns.getIndexByName(r["field"]),u=this.table.columns.getByIndex(l),h,c;!r["value"]&&r["value1"]&&(Ae.b.Type.isNumericType(u.dataType)?r["value"]=parseFloat(r["value1"]):u.dataType==Boolean?r["value"]="true"==r["value1"]:Ae.b.Type.isDateType(u.dataType)?(r["value"]=Ae.b.DateTime.tryParseExact(r["value1"],["MM/DD/YYYY hh:mm:ss","MM/DD/YYYY"]).result,r["operator"]+="Date"):"string"==typeof r["value1"]?(r["value"]=r["value1"].toUpperCase(),0<(h=r["value"].trim()).length&&(r["value"]=h)):r["value"]=r["value1"]);let t=n.gett(l);"string"==typeof t&&(t=t.toUpperCase(),0<(c=t.trim()).length&&(t=c)),a||(i=!1);let e=r["value"];var d=r["operator"];("EqualTo"==d&&t==e||"NotEqualTo"==d&&t!=e||"GreaterThan"==d&&t>e||"GreaterThanOrEqualTo"==d&&t>=e||"LessThanOrEqualTo"==d&&t<=e||"LessThan"==d&&t<e||"Containing"==d&&0<=(null===t||void 0===t?void 0:t.indexOf(e))||"BeginningWith"==d&&0==(null===t||void 0===t?void 0:t.indexOf(e))||"EndingWith"==d&&(null===t||void 0===t?void 0:t.lastIndexOf(e))==t.length-e.length||"IsNull"==d&&null==t||"IsNotNull"==d&&null!=t||"NotContaining"==d&&-1==(null===t||void 0===t?void 0:t.indexOf(e))||"IsBlank"==d&&0==(null===t||void 0===t?void 0:t.trim().length)||"IsNotBlank"==d&&0<(null===t||void 0===t?void 0:t.trim().length)||"EqualToDate"==d&&(null===t||void 0===t?void 0:t.toString("MM/DD/YYYY hh:mm:ss"))==(null===e||void 0===e?void 0:e.toString("MM/DD/YYYY hh:mm:ss"))||"NotEqualToDate"==d&&(null===t||void 0===t?void 0:t.toString("MM/DD/YYYY hh:mm:ss"))!=(null===e||void 0===e?void 0:e.toString("MM/DD/YYYY hh:mm:ss"))||"GreaterThanDate"==d&&(null===t||void 0===t?void 0:t.ticks)>(null===e||void 0===e?void 0:e.ticks)||"GreaterThanOrEqualToDate"==d&&(null===t||void 0===t?void 0:t.ticks)>=(null===e||void 0===e?void 0:e.ticks)||"LessThanOrEqualToDate"==d&&(null===t||void 0===t?void 0:t.ticks)<=(null===e||void 0===e?void 0:e.ticks)||"LessThanDate"==d&&(null===t||void 0===t?void 0:t.ticks)<(null===e||void 0===e?void 0:e.ticks))&&(i=!0)}catch(t){}t++}e=i,r++}e&&s.loadDataRow(n.itemArray)}return Ae.b.StiString.isNullOrEmpty(this.sort)||this.sort.split(",").forEach(t=>{let e=this.sort.split(" "),r=e[0].trim();var i=e[e.length-1].trim().toLowerCase();2<e.length&&(e.splice(e.length-1,1),r=e.join(" ").trim()),s.rows.sort(r,"asc"==i)}),s}parseConditions(a){this.ands=[];for(let n=0;n<a.length;n++){let i=[];for(let r=0;r<a[n].length;r++){let t=a[n][r],e={};if(0==t.indexOf("[")?(e["field"]=t.substr(1,t.indexOf("]")-1),t=t.substr(t.indexOf("]")+2),"="==t[0]?(e["operator"]="EqualTo",e["value1"]=t.substr(2)):t[0]+t[1]=="<>"?(e["operator"]="NotEqualTo",e["value1"]=t.substr(3)):t[0]+t[1]==">="?(e["operator"]="GreaterThanOrEqualTo",e["value1"]=t.substr(3)):t[0]+t[1]=="<="?(e["operator"]="LessThanOrEqualTo",e["value1"]=t.substr(3)):">"==t[0]?(e["operator"]="GreaterThan",e["value1"]=t.substr(2)):"<"==t[0]?(e["operator"]="LessThan",e["value1"]=t.substr(2)):0==t.indexOf("LIKE '*")&&t.lastIndexOf("*'")==t.length-2?(e["operator"]="Containing",e["value1"]=t.substr(7,t.lastIndexOf("'")-8)):0==t.indexOf("LIKE '")&&t.lastIndexOf("*'")==t.length-2?(e["operator"]="BeginningWith",e["value1"]=t.substr(6,t.lastIndexOf("'")-7)):0==t.indexOf("LIKE '*")&&t.lastIndexOf("'")==t.length-1?(e["operator"]="EndingWith",e["value1"]=t.substr(7,t.lastIndexOf("'")-7)):0==t.indexOf("IS NULL")?e["operator"]="IsNull":0==t.indexOf("IS NOT NULL")&&(e["operator"]="IsNotNull")):0==t.indexOf("Convert([")?(e["operator"]="EqualTo",e["field"]=t.substr(9,t.indexOf("]")-9),t=t.substr(t.indexOf("LIKE '")+6),e["value1"]=t.substr(0,t.length-2)):0==t.indexOf("NOT (Convert([")?(e["operator"]="NotEqualTo",e["field"]=t.substr(14,t.indexOf("]")-14),t=t.substr(t.indexOf("LIKE '")+6),e["value1"]=t.substr(0,t.length-3)):0==t.indexOf("NOT ([")?(e["operator"]="NotContaining",e["field"]=t.substr(6,t.indexOf("]")-6),t=t.substr(t.indexOf("LIKE '*")+7),e["value1"]=t.substr(0,t.length-3)):0==t.indexOf("TRIM([")&&t.indexOf(") = ''")==t.length-6?(e["operator"]="IsBlank",e["field"]=t.substr(6,t.indexOf("]")-6)):0==t.indexOf("TRIM([")&&t.indexOf(") <> ''")==t.length-7&&(e["operator"]="IsNotBlank",e["field"]=t.substr(6,t.indexOf("]")-6)),e["operator"]){let t=e["value1"];null!=t&&(2<t.length&&(t=t.split("''").join("'")),1<t.length&&"'"==t[0]&&"'"==t[t.length-1]&&(t=t.substr(1,t.length-2)),e["value1"]=t),i.push(e)}}0<i.length&&this.ands.push(i)}}parse(i,t,e){if("("==(i=i.trim())[0]&&")"==i[i.length-1]){let e=!1,r=1;for(let t=1;t<i.length;t++)")"==i[t]&&r--,"("==i[t]&&r++,0==r&&t!=i.length-1&&(e=!0);e||(i=i.substr(1,i.length-2))}let r=0,n=!1,a=0,s="";while(a<i.length)0==r&&!n&&(a<i.length-5&&i[a]+i[a+1]+i[a+2]+i[a+3]+i[a+4]==e||a<i.length-4&&i[a]+i[a+1]+i[a+2]+i[a+3]==e)?(this.parse(s,t,e),s="",a+=e.length):(")"==i[a]&&r--,"("==i[a]&&r++,"'"==i[a]&&(n=!n),s+=i[a],a++);s==i?t.push(s):this.parse(s,t,e)}};Ae.bk.DataView=e}Ae.bk.DateTimeStorage=class extends Ae.bk.DataStorage{setValue(t,e){null==e?this.values[t]="":"string"==typeof e?this.values[t]=Ae.b.DateTime.fromString(e,!1):"number"==typeof e?this.values[t]=new Ae.b.DateTime(new Date(e)):e instanceof Date?this.values[t]=new Ae.b.DateTime(e):e instanceof Ae.b.DateTime?this.values[t]=e:this.values[t]=""}},Ae.bk.NumberStorage=class extends Ae.bk.DataStorage{setValue(e,r){if(null!=r)if("number"==typeof r)this.values[e]=r;else{let t=r.stimulsoft().toNumber();isNaN(t)&&(t=null),this.values[e]=t}else this.values[e]=null}},Ae.bk.ObjectStorage=class extends Ae.bk.DataStorage{},(tt=$=Ae.bk.StorageType||(Ae.bk.StorageType={}))[tt["ObjectType"]=1]="ObjectType",tt[tt["BooleanType"]=3]="BooleanType",tt[tt["CharType"]=4]="CharType",tt[tt["SByteType"]=5]="SByteType",tt[tt["ByteType"]=6]="ByteType",tt[tt["Number16Type"]=7]="Number16Type",tt[tt["Unumber16Type"]=8]="Unumber16Type",tt[tt["NumberType"]=9]="NumberType",tt[tt["Number32Type"]=9]="Number32Type",tt[tt["Unumber32Type"]=10]="Unumber32Type",tt[tt["Number64Type"]=11]="Number64Type",tt[tt["Unumber64Type"]=12]="Unumber64Type",tt[tt["SingleType"]=13]="SingleType",tt[tt["DoubleType"]=14]="DoubleType",tt[tt["DecimalType"]=15]="DecimalType",tt[tt["DateTimeType"]=16]="DateTimeType",tt[tt["TimeSpanType"]=17]="TimeSpanType",tt[tt["StringType"]=18]="StringType",tt[tt["GuidType"]=19]="GuidType",tt[tt["ByteArrayType"]=20]="ByteArrayType",tt[tt["IntType"]=30]="IntType",tt[tt["Int16Type"]=31]="Int16Type",tt[tt["Int32Type"]=32]="Int32Type",tt[tt["Int64Type"]=33]="Int64Type",tt[tt["UInt16Type"]=34]="UInt16Type",tt[tt["UInt32Type"]=35]="UInt32Type",tt[tt["UInt64Type"]=36]="UInt64Type",Ae.bk.StringStorage=class extends Ae.bk.DataStorage{setValue(t,e){this.values[t]=null!=e?e.toString():null}};let lt=Ae.b.TimeSpan;Ae.bk.TimeSpanStorage=class extends Ae.bk.DataStorage{setValue(t,e){this.values[t]="string"==typeof e?lt.fromString(e):"number"==typeof e?lt.fromTicks(+e):e}},Ae.bn.Brush=class{implements(){return[]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}},Ae.bn.Brushes=class{static get aliceBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.aliceBlue)}static get antiqueWhite(){return new Ae.bn.SolidBrush(Ae.bn.Color.antiqueWhite)}static get aqua(){return new Ae.bn.SolidBrush(Ae.bn.Color.aqua)}static get aquamarine(){return new Ae.bn.SolidBrush(Ae.bn.Color.aquamarine)}static get azure(){return new Ae.bn.SolidBrush(Ae.bn.Color.azure)}static get beige(){return new Ae.bn.SolidBrush(Ae.bn.Color.beige)}static get bisque(){return new Ae.bn.SolidBrush(Ae.bn.Color.bisque)}static get black(){return new Ae.bn.SolidBrush(Ae.bn.Color.black)}static get blanchedAlmond(){return new Ae.bn.SolidBrush(Ae.bn.Color.blanchedAlmond)}static get blue(){return new Ae.bn.SolidBrush(Ae.bn.Color.blue)}static get blueViolet(){return new Ae.bn.SolidBrush(Ae.bn.Color.blueViolet)}static get brown(){return new Ae.bn.SolidBrush(Ae.bn.Color.brown)}static get burlyWood(){return new Ae.bn.SolidBrush(Ae.bn.Color.burlyWood)}static get cadetBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.cadetBlue)}static get chartreuse(){return new Ae.bn.SolidBrush(Ae.bn.Color.chartreuse)}static get chocolate(){return new Ae.bn.SolidBrush(Ae.bn.Color.chocolate)}static get coral(){return new Ae.bn.SolidBrush(Ae.bn.Color.coral)}static get cornflowerBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.cornflowerBlue)}static get cornsilk(){return new Ae.bn.SolidBrush(Ae.bn.Color.cornsilk)}static get crimson(){return new Ae.bn.SolidBrush(Ae.bn.Color.crimson)}static get cyan(){return new Ae.bn.SolidBrush(Ae.bn.Color.cyan)}static get darkBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkBlue)}static get darkCyan(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkCyan)}static get darkGoldenrod(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkGoldenrod)}static get darkGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkGray)}static get darkGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkGreen)}static get darkKhaki(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkKhaki)}static get darkMagenta(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkMagenta)}static get darkOliveGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkOliveGreen)}static get darkOrange(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkOrange)}static get darkOrchid(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkOrchid)}static get darkRed(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkRed)}static get darkSalmon(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkSalmon)}static get darkSeaGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkSeaGreen)}static get darkSlateBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkSlateBlue)}static get darkSlateGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkSlateGray)}static get darkTurquoise(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkTurquoise)}static get darkViolet(){return new Ae.bn.SolidBrush(Ae.bn.Color.darkViolet)}static get deepPink(){return new Ae.bn.SolidBrush(Ae.bn.Color.deepPink)}static get deepSkyBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.deepSkyBlue)}static get dimGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.dimGray)}static get dodgerBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.dodgerBlue)}static get firebrick(){return new Ae.bn.SolidBrush(Ae.bn.Color.firebrick)}static get floralWhite(){return new Ae.bn.SolidBrush(Ae.bn.Color.floralWhite)}static get forestGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.forestGreen)}static get fuchsia(){return new Ae.bn.SolidBrush(Ae.bn.Color.fuchsia)}static get gainsboro(){return new Ae.bn.SolidBrush(Ae.bn.Color.gainsboro)}static get ghostWhite(){return new Ae.bn.SolidBrush(Ae.bn.Color.ghostWhite)}static get gold(){return new Ae.bn.SolidBrush(Ae.bn.Color.gold)}static get goldenrod(){return new Ae.bn.SolidBrush(Ae.bn.Color.goldenrod)}static get gray(){return new Ae.bn.SolidBrush(Ae.bn.Color.gray)}static get green(){return new Ae.bn.SolidBrush(Ae.bn.Color.green)}static get greenYellow(){return new Ae.bn.SolidBrush(Ae.bn.Color.greenYellow)}static get honeydew(){return new Ae.bn.SolidBrush(Ae.bn.Color.honeydew)}static get hotPink(){return new Ae.bn.SolidBrush(Ae.bn.Color.hotPink)}static get indianRed(){return new Ae.bn.SolidBrush(Ae.bn.Color.indianRed)}static get indigo(){return new Ae.bn.SolidBrush(Ae.bn.Color.indigo)}static get ivory(){return new Ae.bn.SolidBrush(Ae.bn.Color.ivory)}static get khaki(){return new Ae.bn.SolidBrush(Ae.bn.Color.khaki)}static get lavender(){return new Ae.bn.SolidBrush(Ae.bn.Color.lavender)}static get lavenderBlush(){return new Ae.bn.SolidBrush(Ae.bn.Color.lavenderBlush)}static get lawnGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.lawnGreen)}static get lemonChiffon(){return new Ae.bn.SolidBrush(Ae.bn.Color.lemonChiffon)}static get lightBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightBlue)}static get lightCoral(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightCoral)}static get lightCyan(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightCyan)}static get lightGoldenrodYellow(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightGoldenrodYellow)}static get lightGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightGray)}static get lightGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightGreen)}static get lightPink(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightPink)}static get lightSalmon(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightSalmon)}static get lightSeaGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightSeaGreen)}static get lightSkyBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightSkyBlue)}static get lightSlateGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightSlateGray)}static get lightSteelBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightSteelBlue)}static get lightYellow(){return new Ae.bn.SolidBrush(Ae.bn.Color.lightYellow)}static get lime(){return new Ae.bn.SolidBrush(Ae.bn.Color.lime)}static get limeGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.limeGreen)}static get linen(){return new Ae.bn.SolidBrush(Ae.bn.Color.linen)}static get magenta(){return new Ae.bn.SolidBrush(Ae.bn.Color.magenta)}static get maroon(){return new Ae.bn.SolidBrush(Ae.bn.Color.maroon)}static get mediumAquamarine(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumAquamarine)}static get mediumBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumBlue)}static get mediumOrchid(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumOrchid)}static get mediumPurple(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumPurple)}static get mediumSeaGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumSeaGreen)}static get mediumSlateBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumSlateBlue)}static get mediumSpringGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumSpringGreen)}static get mediumTurquoise(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumTurquoise)}static get mediumVioletRed(){return new Ae.bn.SolidBrush(Ae.bn.Color.mediumVioletRed)}static get midnightBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.midnightBlue)}static get mintCream(){return new Ae.bn.SolidBrush(Ae.bn.Color.mintCream)}static get mistyRose(){return new Ae.bn.SolidBrush(Ae.bn.Color.mistyRose)}static get moccasin(){return new Ae.bn.SolidBrush(Ae.bn.Color.moccasin)}static get navajoWhite(){return new Ae.bn.SolidBrush(Ae.bn.Color.navajoWhite)}static get navy(){return new Ae.bn.SolidBrush(Ae.bn.Color.navy)}static get oldLace(){return new Ae.bn.SolidBrush(Ae.bn.Color.oldLace)}static get olive(){return new Ae.bn.SolidBrush(Ae.bn.Color.olive)}static get oliveDrab(){return new Ae.bn.SolidBrush(Ae.bn.Color.oliveDrab)}static get orange(){return new Ae.bn.SolidBrush(Ae.bn.Color.orange)}static get orangeRed(){return new Ae.bn.SolidBrush(Ae.bn.Color.orangeRed)}static get orchid(){return new Ae.bn.SolidBrush(Ae.bn.Color.orchid)}static get paleGoldenrod(){return new Ae.bn.SolidBrush(Ae.bn.Color.paleGoldenrod)}static get paleGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.paleGreen)}static get paleTurquoise(){return new Ae.bn.SolidBrush(Ae.bn.Color.paleTurquoise)}static get paleVioletRed(){return new Ae.bn.SolidBrush(Ae.bn.Color.paleVioletRed)}static get papayaWhip(){return new Ae.bn.SolidBrush(Ae.bn.Color.papayaWhip)}static get peachPuff(){return new Ae.bn.SolidBrush(Ae.bn.Color.peachPuff)}static get peru(){return new Ae.bn.SolidBrush(Ae.bn.Color.peru)}static get pink(){return new Ae.bn.SolidBrush(Ae.bn.Color.pink)}static get plum(){return new Ae.bn.SolidBrush(Ae.bn.Color.plum)}static get powderBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.powderBlue)}static get purple(){return new Ae.bn.SolidBrush(Ae.bn.Color.purple)}static get red(){return new Ae.bn.SolidBrush(Ae.bn.Color.red)}static get rosyBrown(){return new Ae.bn.SolidBrush(Ae.bn.Color.rosyBrown)}static get royalBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.royalBlue)}static get saddleBrown(){return new Ae.bn.SolidBrush(Ae.bn.Color.saddleBrown)}static get salmon(){return new Ae.bn.SolidBrush(Ae.bn.Color.salmon)}static get sandyBrown(){return new Ae.bn.SolidBrush(Ae.bn.Color.sandyBrown)}static get seaGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.seaGreen)}static get seaShell(){return new Ae.bn.SolidBrush(Ae.bn.Color.seaShell)}static get sienna(){return new Ae.bn.SolidBrush(Ae.bn.Color.sienna)}static get silver(){return new Ae.bn.SolidBrush(Ae.bn.Color.silver)}static get skyBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.skyBlue)}static get slateBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.slateBlue)}static get slateGray(){return new Ae.bn.SolidBrush(Ae.bn.Color.slateGray)}static get snow(){return new Ae.bn.SolidBrush(Ae.bn.Color.snow)}static get springGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.springGreen)}static get steelBlue(){return new Ae.bn.SolidBrush(Ae.bn.Color.steelBlue)}static get tan(){return new Ae.bn.SolidBrush(Ae.bn.Color.tan)}static get teal(){return new Ae.bn.SolidBrush(Ae.bn.Color.teal)}static get thistle(){return new Ae.bn.SolidBrush(Ae.bn.Color.thistle)}static get tomato(){return new Ae.bn.SolidBrush(Ae.bn.Color.tomato)}static get turquoise(){return new Ae.bn.SolidBrush(Ae.bn.Color.turquoise)}static get violet(){return new Ae.bn.SolidBrush(Ae.bn.Color.violet)}static get wheat(){return new Ae.bn.SolidBrush(Ae.bn.Color.wheat)}static get white(){return new Ae.bn.SolidBrush(Ae.bn.Color.white)}static get whiteSmoke(){return new Ae.bn.SolidBrush(Ae.bn.Color.whiteSmoke)}static get yellow(){return new Ae.bn.SolidBrush(Ae.bn.Color.yellow)}static get yellowGreen(){return new Ae.bn.SolidBrush(Ae.bn.Color.yellowGreen)}};{let a=class{constructor(){this.name=a.customName}static get aliceBlue(){let t=a.fromArgb(240,248,255);return t.name="Alice Blue",t}static get antiqueWhite(){let t=a.fromArgb(250,235,215);return t.name="Antique White",t}static get aqua(){let t=a.fromArgb(0,255,255);return t.name="Aqua",t}static get aquamarine(){let t=a.fromArgb(127,255,212);return t.name="Aquamarine",t}static get azure(){let t=a.fromArgb(240,255,255);return t.name="Azure",t}static get beige(){let t=a.fromArgb(245,245,220);return t.name="Beige",t}static get bisque(){let t=a.fromArgb(255,228,196);return t.name="Bisque",t}static get black(){let t=a.fromArgb(0,0,0);return t.name="Black",t}static get blanchedAlmond(){let t=a.fromArgb(255,235,205);return t.name="Blanched Almond",t}static get blue(){let t=a.fromArgb(0,0,255);return t.name="Blue",t}static get blueViolet(){let t=a.fromArgb(138,43,226);return t.name="Blue Violet",t}static get brown(){let t=a.fromArgb(165,42,42);return t.name="Brown",t}static get burlyWood(){let t=a.fromArgb(222,184,135);return t.name="Burly Wood",t}static get cadetBlue(){let t=a.fromArgb(95,158,160);return t.name="Cadet Blue",t}static get chartreuse(){let t=a.fromArgb(127,255,0);return t.name="Chartreuse",t}static get chocolate(){let t=a.fromArgb(210,105,30);return t.name="Chocolate",t}static get coral(){let t=a.fromArgb(255,127,80);return t.name="Coral",t}static get cornflowerBlue(){let t=a.fromArgb(100,149,237);return t.name="Cornflower Blue",t}static get cornsilk(){let t=a.fromArgb(255,248,220);return t.name="Cornsilk",t}static get crimson(){let t=a.fromArgb(220,20,60);return t.name="Crimson",t}static get cyan(){let t=a.fromArgb(0,255,255);return t.name="Cyan",t}static get darkBlue(){let t=a.fromArgb(0,0,139);return t.name="Dark Blue",t}static get darkCyan(){let t=a.fromArgb(0,139,139);return t.name="Dark Cyan",t}static get darkGoldenrod(){let t=a.fromArgb(184,134,11);return t.name="Dark Goldenrod",t}static get darkGray(){let t=a.fromArgb(169,169,169);return t.name="Dark Gray",t}static get darkGreen(){let t=a.fromArgb(0,100,0);return t.name="Dark Green",t}static get darkKhaki(){let t=a.fromArgb(189,183,107);return t.name="Dark Khaki",t}static get darkMagenta(){let t=a.fromArgb(139,0,139);return t.name="Dark Magenta",t}static get darkOliveGreen(){let t=a.fromArgb(85,107,47);return t.name="Dark Olive Green",t}static get darkOrange(){let t=a.fromArgb(255,140,0);return t.name="Dark Orange",t}static get darkOrchid(){let t=a.fromArgb(153,50,204);return t.name="Dark Orchid",t}static get darkRed(){let t=a.fromArgb(139,0,0);return t.name="Dark Red",t}static get darkSalmon(){let t=a.fromArgb(233,150,122);return t.name="Dark Salmon",t}static get darkSeaGreen(){let t=a.fromArgb(143,188,143);return t.name="Dark Sea Green",t}static get darkSlateBlue(){let t=a.fromArgb(72,61,139);return t.name="Dark Slate Blue",t}static get darkSlateGray(){let t=a.fromArgb(47,79,79);return t.name="Dark Slate Gray",t}static get darkTurquoise(){let t=a.fromArgb(0,206,209);return t.name="Dark Turquoise",t}static get darkViolet(){let t=a.fromArgb(148,0,211);return t.name="Dark Violet",t}static get deepPink(){let t=a.fromArgb(255,20,147);return t.name="Deep Pink",t}static get deepSkyBlue(){let t=a.fromArgb(0,191,255);return t.name="Deep Sky Blue",t}static get dimGray(){let t=a.fromArgb(105,105,105);return t.name="Dim Gray",t}static get dodgerBlue(){let t=a.fromArgb(30,144,255);return t.name="Dodger Blue",t}static get firebrick(){let t=a.fromArgb(178,34,34);return t.name="Firebrick",t}static get floralWhite(){let t=a.fromArgb(255,250,240);return t.name="Floral White",t}static get forestGreen(){let t=a.fromArgb(34,139,34);return t.name="Forest Green",t}static get fuchsia(){let t=a.fromArgb(255,0,255);return t.name="Fuchsia",t}static get gainsboro(){let t=a.fromArgb(220,220,220);return t.name="Gainsboro",t}static get ghostWhite(){let t=a.fromArgb(248,248,255);return t.name="Ghost White",t}static get gold(){let t=a.fromArgb(255,215,0);return t.name="Gold",t}static get goldenrod(){let t=a.fromArgb(218,165,32);return t.name="Goldenrod",t}static get gray(){let t=a.fromArgb(128,128,128);return t.name="Gray",t}static get green(){let t=a.fromArgb(0,128,0);return t.name="Green",t}static get greenYellow(){let t=a.fromArgb(173,255,47);return t.name="Green Yellow",t}static get honeydew(){let t=a.fromArgb(240,255,240);return t.name="Honeydew",t}static get hotPink(){let t=a.fromArgb(255,105,180);return t.name="Hot Pink",t}static get indianRed(){let t=a.fromArgb(205,92,92);return t.name="Indian Red",t}static get indigo(){let t=a.fromArgb(75,0,130);return t.name="Indigo",t}static get ivory(){let t=a.fromArgb(255,255,240);return t.name="Ivory",t}static get khaki(){let t=a.fromArgb(240,230,140);return t.name="Khaki",t}static get lavender(){let t=a.fromArgb(230,230,250);return t.name="Lavender",t}static get lavenderBlush(){let t=a.fromArgb(255,240,245);return t.name="Lavender Blush",t}static get lawnGreen(){let t=a.fromArgb(124,252,0);return t.name="Lawn Green",t}static get lemonChiffon(){let t=a.fromArgb(255,250,205);return t.name="Lemon Chiffon",t}static get lightBlue(){let t=a.fromArgb(173,216,230);return t.name="Light Blue",t}static get lightCoral(){let t=a.fromArgb(240,128,128);return t.name="Light Coral",t}static get lightCyan(){let t=a.fromArgb(224,255,255);return t.name="Light Cyan",t}static get lightGoldenrodYellow(){let t=a.fromArgb(250,250,210);return t.name="Light Goldenrod Yellow",t}static get lightGray(){let t=a.fromArgb(211,211,211);return t.name="Light Gray",t}static get lightGreen(){let t=a.fromArgb(144,238,144);return t.name="Light Green",t}static get lightPink(){let t=a.fromArgb(255,182,193);return t.name="Light Pink",t}static get lightSalmon(){let t=a.fromArgb(255,160,122);return t.name="Light Salmon",t}static get lightSeaGreen(){let t=a.fromArgb(32,178,170);return t.name="Light Sea Green",t}static get lightSkyBlue(){let t=a.fromArgb(135,206,250);return t.name="Light Sky Blue",t}static get lightSlateGray(){let t=a.fromArgb(119,136,153);return t.name="Light Slate Gray",t}static get lightSteelBlue(){let t=a.fromArgb(176,196,222);return t.name="Light Steel Blue",t}static get lightYellow(){let t=a.fromArgb(255,255,224);return t.name="Light Yellow",t}static get lime(){let t=a.fromArgb(0,255,0);return t.name="Lime",t}static get limeGreen(){let t=a.fromArgb(50,205,50);return t.name="Lime Green",t}static get linen(){let t=a.fromArgb(250,240,230);return t.name="Linen",t}static get magenta(){let t=a.fromArgb(255,0,255);return t.name="Magenta",t}static get maroon(){let t=a.fromArgb(128,0,0);return t.name="Maroon",t}static get mediumAquamarine(){let t=a.fromArgb(102,205,170);return t.name="Medium Aquamarine",t}static get mediumBlue(){let t=a.fromArgb(0,0,205);return t.name="Medium Blue",t}static get mediumOrchid(){let t=a.fromArgb(186,85,211);return t.name="Medium Orchid",t}static get mediumPurple(){let t=a.fromArgb(147,112,219);return t.name="Medium Purple",t}static get mediumSeaGreen(){let t=a.fromArgb(60,179,113);return t.name="Medium Sea Green",t}static get mediumSlateBlue(){let t=a.fromArgb(123,104,238);return t.name="Medium Slate Blue",t}static get mediumSpringGreen(){let t=a.fromArgb(0,250,154);return t.name="Medium Spring Green",t}static get mediumTurquoise(){let t=a.fromArgb(72,209,204);return t.name="Medium Turquoise",t}static get mediumVioletRed(){let t=a.fromArgb(199,21,133);return t.name="Medium Violet Red",t}static get midnightBlue(){let t=a.fromArgb(25,25,112);return t.name="Midnight Blue",t}static get mintCream(){let t=a.fromArgb(245,255,250);return t.name="Mint Cream",t}static get mistyRose(){let t=a.fromArgb(255,228,225);return t.name="Misty Rose",t}static get moccasin(){let t=a.fromArgb(255,228,181);return t.name="Moccasin",t}static get navajoWhite(){let t=a.fromArgb(255,222,173);return t.name="Navajo White",t}static get navy(){let t=a.fromArgb(0,0,128);return t.name="Navy",t}static get oldLace(){let t=a.fromArgb(253,245,230);return t.name="Old Lace",t}static get olive(){let t=a.fromArgb(128,128,0);return t.name="Olive",t}static get oliveDrab(){let t=a.fromArgb(107,142,35);return t.name="Olive Drab",t}static get orange(){let t=a.fromArgb(255,165,0);return t.name="Orange",t}static get orangeRed(){let t=a.fromArgb(255,69,0);return t.name="Orange Red",t}static get orchid(){let t=a.fromArgb(218,112,214);return t.name="Orchid",t}static get paleGoldenrod(){let t=a.fromArgb(238,232,170);return t.name="Pale Goldenrod",t}static get paleGreen(){let t=a.fromArgb(152,251,152);return t.name="Pale Green",t}static get paleTurquoise(){let t=a.fromArgb(175,238,238);return t.name="Pale Turquoise",t}static get paleVioletRed(){let t=a.fromArgb(219,112,147);return t.name="Pale Violet Red",t}static get papayaWhip(){let t=a.fromArgb(255,239,213);return t.name="Papaya Whip",t}static get peachPuff(){let t=a.fromArgb(255,218,185);return t.name="Peach Puff",t}static get peru(){let t=a.fromArgb(205,133,63);return t.name="Peru",t}static get pink(){let t=a.fromArgb(255,192,203);return t.name="Pink",t}static get plum(){let t=a.fromArgb(221,160,221);return t.name="Plum",t}static get powderBlue(){let t=a.fromArgb(176,224,230);return t.name="Powder Blue",t}static get purple(){let t=a.fromArgb(128,0,128);return t.name="Purple",t}static get red(){let t=a.fromArgb(255,0,0);return t.name="Red",t}static get rosyBrown(){let t=a.fromArgb(188,143,143);return t.name="Rosy Brown",t}static get royalBlue(){let t=a.fromArgb(65,105,225);return t.name="Royal Blue",t}static get saddleBrown(){let t=a.fromArgb(139,69,19);return t.name="Saddle Brown",t}static get salmon(){let t=a.fromArgb(250,128,114);return t.name="Salmon",t}static get sandyBrown(){let t=a.fromArgb(244,164,96);return t.name="Sandy Brown",t}static get seaGreen(){let t=a.fromArgb(46,139,87);return t.name="Sea Green",t}static get seaShell(){let t=a.fromArgb(255,245,238);return t.name="Sea Shell",t}static get sienna(){let t=a.fromArgb(160,82,45);return t.name="Sienna",t}static get silver(){let t=a.fromArgb(192,192,192);return t.name="Silver",t}static get skyBlue(){let t=a.fromArgb(135,206,235);return t.name="Sky Blue",t}static get slateBlue(){let t=a.fromArgb(106,90,205);return t.name="Slate Blue",t}static get slateGray(){let t=a.fromArgb(112,128,144);return t.name="Slate Gray",t}static get snow(){let t=a.fromArgb(255,250,250);return t.name="Snow",t}static get springGreen(){let t=a.fromArgb(0,255,127);return t.name="Spring Green",t}static get steelBlue(){let t=a.fromArgb(70,130,180);return t.name="Steel Blue",t}static get tan(){let t=a.fromArgb(210,180,140);return t.name="Tan",t}static get teal(){let t=a.fromArgb(0,128,128);return t.name="Teal",t}static get thistle(){let t=a.fromArgb(216,191,216);return t.name="Thistle",t}static get tomato(){let t=a.fromArgb(255,99,71);return t.name="Tomato",t}static get turquoise(){let t=a.fromArgb(64,224,208);return t.name="Turquoise",t}static get violet(){let t=a.fromArgb(238,130,238);return t.name="Violet",t}static get wheat(){let t=a.fromArgb(245,222,179);return t.name="Wheat",t}static get white(){let t=a.fromArgb(255,255,255);return t.name="White",t}static get whiteSmoke(){let t=a.fromArgb(245,245,245);return t.name="White Smoke",t}static get yellow(){let t=a.fromArgb(255,255,0);return t.name="Yellow",t}static get yellowGreen(){let t=a.fromArgb(154,205,50);return t.name="Yellow Green",t}static get transparent(){let t=a.fromArgb(0,255,255,255);return t.name="Transparent",t}static get empty(){let t=a.fromArgb(0,255,255,255);return t.name="Empty",t}static fromName(t){if(t=t.replace(/ /gi,""),Ae.b.StiString.isNullOrEmpty(t))return a.empty;t=t.charAt(0).toLowerCase()+t.substr(1);var e=a[t];if(e instanceof a)return e;throw Ae.b.StiString.format("Color.fromName(name); Color name {0} not found.",t)}get a(){return this._a}set a(t){this._a=t,this.name=a.customName}get r(){return this._r}set r(t){this._r=t,this.name=a.customName}get g(){return this._g}set g(t){this._g=t,this.name=a.customName}get b(){return this._b}set b(t){this._b=t,this.name=a.customName}get isNamedColor(){return this.name!=a.customName}equals(t){if(null!=t)return 0==t._a&&255==t._r&&255==t._g&&255==t._b||0==this._a&&255==this._r&&255==this._g&&255==this._b?this._a==t._a:this._a==t._a&&this._r==t._r&&this._g==t._g&&this._b==t._b;return!1}toString(){return Ae.b.StiString.format("rgba({0},{1},{2},{3})",this.r,this.g,this.b,this.a/255)}static fromArgb(t,e,r,i){void 0===e?(i=255&t,r=t>>8&255,e=t>>16&255,t=t>>24&255):void 0===r?(i=e._b,r=e._g,e=e._r):void 0===i&&(i=r,r=e,e=t,t=255);let n=new a;return n._a=Math.trunc(t),n._r=Math.trunc(e),n._g=Math.trunc(r),n._b=Math.trunc(i),n.name=a.customName,n}toArgb(){var t=this._a<<24;return t+=this._r<<16,t+=this._g<<8,t+=this._b}getHashCode(){return this.toArgb()}};a.customName="Custom",Ae.bn.Color=a}{let u=class{static toHtml(t){return this.toHtml2(t,!0)}static toHtml2(t,e){if(t.isNamedColor&&e){if(t.equals(Ae.bn.Color.lightGray))return"LightGrey";return t.name.stimulsoft().replaceAll(" ","")}let r=t.r.toString(16),i=t.g.toString(16),n=t.b.toString(16);return 1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),1==n.length&&(n="0"+n),("#"+r+i+n).toUpperCase()}static fromHtml(i){let n=u.colorCache[i];if(null==n){let t=0,e="FF",r=i;0===r.indexOf("0x")&&(r="#"+r.substring(2)),4==r.length&&0===r.indexOf("#")&&(r+=r.substring(1)),7<r.length&&(t=2,e=r.substr(1,2));var a=r.substr(1+t,2),s=r.substr(3+t,2),o=r.substr(5+t,2),l=parseInt(e,16),a=parseInt(a,16),s=parseInt(s,16),o=parseInt(o,16);if(isNaN(l)||isNaN(a)||isNaN(s)||isNaN(o))throw i+" not color";n=Ae.bn.Color.fromArgb(l,a,s,o),u.colorCache[i]=n}return n}};u.colorCache={},Ae.bn.ColorTranslator=u}(rt=et=Ae.bn.ContentAlignment||(Ae.bn.ContentAlignment={}))[rt["TopLeft"]=1]="TopLeft",rt[rt["TopCenter"]=2]="TopCenter",rt[rt["TopRight"]=4]="TopRight",rt[rt["MiddleLeft"]=16]="MiddleLeft",rt[rt["MiddleCenter"]=32]="MiddleCenter",rt[rt["MiddleRight"]=64]="MiddleRight",rt[rt["BottomLeft"]=256]="BottomLeft",rt[rt["BottomCenter"]=512]="BottomCenter",rt[rt["BottomRight"]=1024]="BottomRight",Ae.bn.Font=class{constructor(t="Arial",e=10,r,i){this.style=Ae.bn.FontStyle.Regular,this.unit=Ae.bn.GraphicsUnit.Point,this._height=-1,this.fontFamily=new Ae.bn.FontFamily(t),this.size=e,void 0!==r&&(this.style=r),void 0!==i&&(this.unit=i)}clone(t=!0,e=!0){let r=this.stimulsoft().memberwiseClone();return r._fontFamily=new Ae.bn.FontFamily(this.fontFamily.name),r}get name(){return this.fontFamily.name}get sizeInPoints(){switch(this.unit){case Ae.bn.GraphicsUnit.Pixel:return.75*this.size}return this.size}get bold(){return 0!=(this.style&Ae.bn.FontStyle.Bold)}get italic(){return 0!=(this.style&Ae.bn.FontStyle.Italic)}get strikeout(){return 0!=(this.style&Ae.bn.FontStyle.Strikeout)}get underline(){return 0!=(this.style&Ae.bn.FontStyle.Underline)}toString(){if(null!=this._toString)return this._toString;return this._toString=Ae.b.StiString.format("{0} {1} {2} {3}",this.style==Ae.bn.FontStyle.Italic?"italic":"normal",this.style==Ae.bn.FontStyle.Bold?"bold":"normal",this.sizeInPoints.toString()+"pt",this.fontFamily.name),this._toString}getHeight(){return-1==this._height&&(this._height=Ae.bn.Graphics.measureString("A",this).height),this._height}getHashCode(){if(null!=this.hashCode)return this.hashCode;return this.hashCode=397*this.hashCode^(null!=this.fontFamily?this.fontFamily.name.stimulsoft().getHashCode():0),this.hashCode=397*this.hashCode^(null!=this.size?20*this.size:0),this.hashCode=397*this.hashCode^(null!=this.style?this.style:0),this.hashCode=397*this.hashCode^(null!=this.unit?this.unit:0),this.hashCode=Math.abs(this.hashCode),this.hashCode}};{let t=class{constructor(t){this.name=t}static get families(){return null==t._families&&(t._families=[],t._families.push(new t("Agency FB")),t._families.push(new t("Aharoni")),t._families.push(new t("Algerian")),t._families.push(new t("Andalus")),t._families.push(new t("Angsana New")),t._families.push(new t("AngsanaUPC")),t._families.push(new t("Aparajita")),t._families.push(new t("Arabic Typesetting")),t._families.push(new t("Arial")),t._families.push(new t("Arial Black")),t._families.push(new t("Arial Narrow")),t._families.push(new t("Arial Rounded MT Bold")),t._families.push(new t("Arial Unicode MS")),t._families.push(new t("Baskerville Old Face")),t._families.push(new t("Batang")),t._families.push(new t("BatangChe")),t._families.push(new t("Bauhaus 93")),t._families.push(new t("Bell MT")),t._families.push(new t("Berlin Sans FB")),t._families.push(new t("Berlin Sans FB Demi")),t._families.push(new t("Bernard MT Condensed")),t._families.push(new t("Blackadder ITC")),t._families.push(new t("Bodoni MT")),t._families.push(new t("Bodoni MT Black")),t._families.push(new t("Bodoni MT Condensed")),t._families.push(new t("Bodoni MT Poster Compressed")),t._families.push(new t("Book Antiqua")),t._families.push(new t("Bookman Old Style")),t._families.push(new t("Bookshelf Symbol 7")),t._families.push(new t("Bradley Hand ITC")),t._families.push(new t("Britannic Bold")),t._families.push(new t("Broadway")),t._families.push(new t("Browallia New")),t._families.push(new t("BrowalliaUPC")),t._families.push(new t("Brush Script MT")),t._families.push(new t("Buxton Sketch")),t._families.push(new t("Calibri")),t._families.push(new t("Calibri Light")),t._families.push(new t("Californian FB")),t._families.push(new t("Calisto MT")),t._families.push(new t("Cambria")),t._families.push(new t("Cambria Math")),t._families.push(new t("Candara")),t._families.push(new t("Castellar")),t._families.push(new t("Centaur")),t._families.push(new t("Century")),t._families.push(new t("Century Gothic")),t._families.push(new t("Century Schoolbook")),t._families.push(new t("Chiller")),t._families.push(new t("Colonna MT")),t._families.push(new t("Comic Sans MS")),t._families.push(new t("Consolas")),t._families.push(new t("Constantia")),t._families.push(new t("Cooper Black")),t._families.push(new t("Copperplate Gothic Bold")),t._families.push(new t("Copperplate Gothic Light")),t._families.push(new t("Corbel")),t._families.push(new t("Cordia New")),t._families.push(new t("CordiaUPC")),t._families.push(new t("Courier New")),t._families.push(new t("Curlz MT")),t._families.push(new t("DaunPenh")),t._families.push(new t("David")),t._families.push(new t("DejaVu Sans")),t._families.push(new t("DengXian")),t._families.push(new t("DFKai-SB")),t._families.push(new t("DilleniaUPC")),t._families.push(new t("DokChampa")),t._families.push(new t("Dotum")),t._families.push(new t("DotumChe")),t._families.push(new t("Ebrima")),t._families.push(new t("Edwardian Script ITC")),t._families.push(new t("Elephant")),t._families.push(new t("Engravers MT")),t._families.push(new t("Eras Bold ITC")),t._families.push(new t("Eras Demi ITC")),t._families.push(new t("Eras Light ITC")),t._families.push(new t("Eras Medium ITC")),t._families.push(new t("Estrangelo Edessa")),t._families.push(new t("EucrosiaUPC")),t._families.push(new t("Euphemia")),t._families.push(new t("FangSong")),t._families.push(new t("Felix Titling")),t._families.push(new t("Footlight MT Light")),t._families.push(new t("Forte")),t._families.push(new t("Franklin Gothic Book")),t._families.push(new t("Franklin Gothic Demi")),t._families.push(new t("Franklin Gothic Demi Cond")),t._families.push(new t("Franklin Gothic Heavy")),t._families.push(new t("Franklin Gothic Medium")),t._families.push(new t("Franklin Gothic Medium Cond")),t._families.push(new t("FrankRuehl")),t._families.push(new t("FreesiaUPC")),t._families.push(new t("Freestyle Script")),t._families.push(new t("French Script MT")),t._families.push(new t("Gabriola")),t._families.push(new t("Garamond")),t._families.push(new t("Gautami")),t._families.push(new t("Georgia")),t._families.push(new t("Gigi")),t._families.push(new t("Gill Sans MT")),t._families.push(new t("Gill Sans MT Condensed")),t._families.push(new t("Gill Sans MT Ext Condensed Bold")),t._families.push(new t("Gill Sans Ultra Bold")),t._families.push(new t("Gill Sans Ultra Bold Condensed")),t._families.push(new t("Gisha")),t._families.push(new t("Gloucester MT Extra Condensed")),t._families.push(new t("Goudy Old Style")),t._families.push(new t("Goudy Stout")),t._families.push(new t("Gulim")),t._families.push(new t("GulimChe")),t._families.push(new t("Gungsuh")),t._families.push(new t("GungsuhChe")),t._families.push(new t("Haettenschweiler")),t._families.push(new t("Harlow Solid Italic")),t._families.push(new t("Harrington")),t._families.push(new t("High Tower Text")),t._families.push(new t("Impact")),t._families.push(new t("Imprint MT Shadow")),t._families.push(new t("Informal Roman")),t._families.push(new t("IrisUPC")),t._families.push(new t("Iskoola Pota")),t._families.push(new t("JasmineUPC")),t._families.push(new t("Jokerman")),t._families.push(new t("Juice ITC")),t._families.push(new t("KaiTi")),t._families.push(new t("Kalinga")),t._families.push(new t("Kartika")),t._families.push(new t("Khmer UI")),t._families.push(new t("KodchiangUPC")),t._families.push(new t("Kokila")),t._families.push(new t("Kristen ITC")),t._families.push(new t("Kunstler Script")),t._families.push(new t("Lao UI")),t._families.push(new t("Latha")),t._families.push(new t("Leelawadee")),t._families.push(new t("Levenim MT")),t._families.push(new t("LilyUPC")),t._families.push(new t("Lucida Bright")),t._families.push(new t("Lucida Calligraphy")),t._families.push(new t("Lucida Console")),t._families.push(new t("Lucida Fax")),t._families.push(new t("Lucida Handwriting")),t._families.push(new t("Lucida Sans")),t._families.push(new t("Lucida Sans Typewriter")),t._families.push(new t("Lucida Sans Unicode")),t._families.push(new t("Magneto")),t._families.push(new t("Maiandra GD")),t._families.push(new t("Malgun Gothic")),t._families.push(new t("Mangal")),t._families.push(new t("Marlett")),t._families.push(new t("Matura MT Script Capitals")),t._families.push(new t("Meiryo")),t._families.push(new t("Meiryo UI")),t._families.push(new t("Microsoft Himalaya")),t._families.push(new t("Microsoft JhengHei")),t._families.push(new t("Microsoft MHei")),t._families.push(new t("Microsoft NeoGothic")),t._families.push(new t("Microsoft New Tai Lue")),t._families.push(new t("Microsoft PhagsPa")),t._families.push(new t("Microsoft Sans Serif")),t._families.push(new t("Microsoft Tai Le")),t._families.push(new t("Microsoft Uighur")),t._families.push(new t("Microsoft YaHei")),t._families.push(new t("Microsoft Yi Baiti")),t._families.push(new t("MingLiU")),t._families.push(new t("MingLiU_HKSCS")),t._families.push(new t("MingLiU_HKSCS-ExtB")),t._families.push(new t("MingLiU-ExtB")),t._families.push(new t("Miriam")),t._families.push(new t("Miriam Fixed")),t._families.push(new t("Mistral")),t._families.push(new t("Modern No. 20")),t._families.push(new t("Mongolian Baiti")),t._families.push(new t("Monotype Corsiva")),t._families.push(new t("MoolBoran")),t._families.push(new t("MS Gothic")),t._families.push(new t("MS Mincho")),t._families.push(new t("MS Outlook")),t._families.push(new t("MS PGothic")),t._families.push(new t("MS PMincho")),t._families.push(new t("MS Reference Sans Serif")),t._families.push(new t("MS Reference Specialty")),t._families.push(new t("MS UI Gothic")),t._families.push(new t("MT Extra")),t._families.push(new t("MV Boli")),t._families.push(new t("Narkisim")),t._families.push(new t("Niagara Engraved")),t._families.push(new t("Niagara Solid")),t._families.push(new t("Nina")),t._families.push(new t("NSimSun")),t._families.push(new t("Nyala")),t._families.push(new t("OCR A Extended")),t._families.push(new t("Old English Text MT")),t._families.push(new t("Onyx")),t._families.push(new t("Palace Script MT")),t._families.push(new t("Palatino Linotype")),t._families.push(new t("Papyrus")),t._families.push(new t("Parchment")),t._families.push(new t("Perpetua")),t._families.push(new t("Perpetua Titling MT")),t._families.push(new t("Plantagenet Cherokee")),t._families.push(new t("Playbill")),t._families.push(new t("PMingLiU")),t._families.push(new t("PMingLiU-ExtB")),t._families.push(new t("Poor Richard")),t._families.push(new t("Pristina")),t._families.push(new t("Raavi")),t._families.push(new t("Rage Italic")),t._families.push(new t("Ravie")),t._families.push(new t("Rockwell")),t._families.push(new t("Rockwell Condensed")),t._families.push(new t("Rockwell Extra Bold")),t._families.push(new t("Rod")),t._families.push(new t("Sakkal Majalla")),t._families.push(new t("Script MT Bold")),t._families.push(new t("Segoe Condensed")),t._families.push(new t("Segoe Marker")),t._families.push(new t("Segoe Print")),t._families.push(new t("Segoe Script")),t._families.push(new t("Segoe UI")),t._families.push(new t("Segoe UI Light")),t._families.push(new t("Segoe UI Semibold")),t._families.push(new t("Segoe UI Symbol")),t._families.push(new t("Segoe WP")),t._families.push(new t("Segoe WP Black")),t._families.push(new t("Segoe WP Light")),t._families.push(new t("Segoe WP Semibold")),t._families.push(new t("Segoe WP SemiLight")),t._families.push(new t("Shonar Bangla")),t._families.push(new t("Showcard Gothic")),t._families.push(new t("Shruti")),t._families.push(new t("SimHei")),t._families.push(new t("Simplified Arabic")),t._families.push(new t("Simplified Arabic Fixed")),t._families.push(new t("SimSun")),t._families.push(new t("SimSun-ExtB")),t._families.push(new t("SketchFlow Print")),t._families.push(new t("Snap ITC")),t._families.push(new t("Stencil")),t._families.push(new t("Sylfaen")),t._families.push(new t("Symbol")),t._families.push(new t("Tahoma")),t._families.push(new t("Tempus Sans ITC")),t._families.push(new t("Times New Roman")),t._families.push(new t("Traditional Arabic")),t._families.push(new t("Trebuchet MS")),t._families.push(new t("Tunga")),t._families.push(new t("Tw Cen MT")),t._families.push(new t("Tw Cen MT Condensed")),t._families.push(new t("Tw Cen MT Condensed Extra Bold")),t._families.push(new t("Utsaah")),t._families.push(new t("Vani")),t._families.push(new t("Verdana")),t._families.push(new t("Vijaya")),t._families.push(new t("Viner Hand ITC")),t._families.push(new t("Vivaldi")),t._families.push(new t("Vladimir Script")),t._families.push(new t("Vrinda")),t._families.push(new t("Webdings")),t._families.push(new t("Wide Latin")),t._families.push(new t("Wingdings")),t._families.push(new t("Wingdings 2")),t._families.push(new t("Wingdings 3")),t._families.push(new t("Yu Gothic"))),t._families}isStyleAvailable(t){return!0}static cleanFamilies(){this._families=[]}};Ae.bn.FontFamily=t}var ot=class{static getSize(t,e){let r=new Ae.bn.Size(0,0),i=0;for(var n of this.family_Helvetica)t.name==n&&(i=0);for(var a of this.family_Times_Roman)t.name==a&&(i=4);for(var s of this.family_Courier)t.name==s&&(i=8);i<12&&(1==t.bold&&(i+=1),1==t.italic&&(i+=2));for(var o of e.split("\n")){for(var l of o.split(""))r.width+=this.standardFontWidths[l.charCodeAt(0)][i]/1e3*t.size;r.height+=this.standardFontInfo[7][i]/1e3*t.size}return r}static get standardFontWidths(){return null==this._standardFontWidths&&(this._standardFontWidths=[],this._standardFontWidths[32]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[33]=[278,333,278,333,333,333,333,389,600,600,600,600],this._standardFontWidths[34]=[355,474,355,474,408,555,420,555,600,600,600,600],this._standardFontWidths[35]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[36]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[37]=[889,889,889,889,833,1e3,833,833,600,600,600,600],this._standardFontWidths[38]=[667,722,667,722,778,833,778,778,600,600,600,600],this._standardFontWidths[39]=[191,238,191,238,180,278,214,278,600,600,600,600],this._standardFontWidths[40]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[41]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[42]=[389,389,389,389,500,500,500,500,600,600,600,600],this._standardFontWidths[43]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[44]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[45]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[46]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[47]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[48]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[49]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[50]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[51]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[52]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[53]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[54]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[55]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[56]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[57]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[58]=[278,333,278,333,278,333,333,333,600,600,600,600],this._standardFontWidths[59]=[278,333,278,333,278,333,333,333,600,600,600,600],this._standardFontWidths[60]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[61]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[62]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[63]=[556,611,556,611,444,500,500,500,600,600,600,600],this._standardFontWidths[64]=[1015,975,1015,975,921,930,920,832,600,600,600,600],this._standardFontWidths[65]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[66]=[667,722,667,722,667,667,611,667,600,600,600,600],this._standardFontWidths[67]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[68]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[69]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[70]=[611,611,611,611,556,611,611,667,600,600,600,600],this._standardFontWidths[71]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[72]=[722,722,722,722,722,778,722,778,600,600,600,600],this._standardFontWidths[73]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[74]=[500,556,500,556,389,500,444,500,600,600,600,600],this._standardFontWidths[75]=[667,722,667,722,722,778,667,667,600,600,600,600],this._standardFontWidths[76]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[77]=[833,833,833,833,889,944,833,889,600,600,600,600],this._standardFontWidths[78]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[79]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[80]=[667,667,667,667,556,611,611,611,600,600,600,600],this._standardFontWidths[81]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[82]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[83]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[84]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[85]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[86]=[667,667,667,667,722,722,611,667,600,600,600,600],this._standardFontWidths[87]=[944,944,944,944,944,1e3,833,889,600,600,600,600],this._standardFontWidths[88]=[667,667,667,667,722,722,611,667,600,600,600,600],this._standardFontWidths[89]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[90]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[91]=[278,333,278,333,333,333,389,333,600,600,600,600],this._standardFontWidths[92]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[93]=[278,333,278,333,333,333,389,333,600,600,600,600],this._standardFontWidths[94]=[469,584,469,584,469,581,422,570,600,600,600,600],this._standardFontWidths[95]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[96]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[97]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[98]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[99]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[100]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[101]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[102]=[278,333,278,333,333,333,278,333,600,600,600,600],this._standardFontWidths[103]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[104]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[105]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[106]=[222,278,222,278,278,333,278,278,600,600,600,600],this._standardFontWidths[107]=[500,556,500,556,500,556,444,500,600,600,600,600],this._standardFontWidths[108]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[109]=[833,889,833,889,778,833,722,778,600,600,600,600],this._standardFontWidths[110]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[111]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[112]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[113]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[114]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[115]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[116]=[278,333,278,333,278,333,278,278,600,600,600,600],this._standardFontWidths[117]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[118]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[119]=[722,778,722,778,722,722,667,667,600,600,600,600],this._standardFontWidths[120]=[500,556,500,556,500,500,444,500,600,600,600,600],this._standardFontWidths[121]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[122]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[123]=[334,389,334,389,480,394,400,348,600,600,600,600],this._standardFontWidths[124]=[260,280,260,280,200,220,275,220,600,600,600,600],this._standardFontWidths[125]=[334,389,334,389,480,394,400,348,600,600,600,600],this._standardFontWidths[126]=[584,584,584,584,541,520,541,570,600,600,600,600],this._standardFontWidths[161]=[333,333,333,333,333,333,389,389,600,600,600,600],this._standardFontWidths[162]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[163]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[164]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[165]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[166]=[260,280,260,280,200,220,275,220,600,600,600,600],this._standardFontWidths[167]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[168]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[169]=[737,737,737,737,760,747,760,747,600,600,600,600],this._standardFontWidths[170]=[370,370,370,370,276,300,276,266,600,600,600,600],this._standardFontWidths[171]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[172]=[584,584,584,584,564,570,675,606,600,600,600,600],this._standardFontWidths[174]=[737,737,737,737,760,747,760,747,600,600,600,600],this._standardFontWidths[175]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[176]=[400,400,400,400,400,400,400,400,600,600,600,600],this._standardFontWidths[177]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[180]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[181]=[556,611,556,611,500,556,500,576,600,600,600,600],this._standardFontWidths[182]=[537,556,537,556,453,540,523,500,600,600,600,600],this._standardFontWidths[183]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[184]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[186]=[365,365,365,365,310,330,310,300,600,600,600,600],this._standardFontWidths[187]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[188]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[189]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[190]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[191]=[611,611,611,611,444,500,500,500,600,600,600,600],this._standardFontWidths[192]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[193]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[194]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[195]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[196]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[197]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[198]=[1e3,1e3,1e3,1e3,889,1e3,889,944,600,600,600,600],this._standardFontWidths[199]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[200]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[201]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[202]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[203]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[204]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[205]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[206]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[207]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[208]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[209]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[210]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[211]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[212]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[213]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[214]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[215]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[216]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[217]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[218]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[219]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[220]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[221]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[222]=[667,667,667,667,556,611,611,611,600,600,600,600],this._standardFontWidths[223]=[611,611,611,611,500,556,500,500,600,600,600,600],this._standardFontWidths[224]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[225]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[226]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[227]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[228]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[229]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[230]=[889,889,889,889,667,722,667,722,600,600,600,600],this._standardFontWidths[231]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[232]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[233]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[234]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[235]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[236]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[237]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[238]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[239]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[240]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[241]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[242]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[243]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[244]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[245]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[246]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[247]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[248]=[611,611,611,611,500,500,500,500,600,600,600,600],this._standardFontWidths[249]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[250]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[251]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[252]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[253]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[254]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[255]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[256]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[257]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[258]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[259]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[260]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[261]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[262]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[263]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[268]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[269]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[270]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[271]=[643,743,643,743,588,672,544,608,600,600,600,600],this._standardFontWidths[272]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[273]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[274]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[275]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[278]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[279]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[280]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[281]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[282]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[283]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[286]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[287]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[290]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[291]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[298]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[299]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[302]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[303]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[304]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[305]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[310]=[667,722,667,722,722,778,667,667,600,600,600,600],this._standardFontWidths[311]=[500,556,500,556,500,556,444,500,600,600,600,600],this._standardFontWidths[313]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[314]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[315]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[316]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[317]=[556,611,556,611,611,667,611,611,600,600,600,600],this._standardFontWidths[318]=[299,400,299,400,344,394,300,382,600,600,600,600],this._standardFontWidths[321]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[322]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[323]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[324]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[325]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[326]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[327]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[328]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[332]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[333]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[336]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[337]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[338]=[1e3,1e3,1e3,1e3,889,1e3,944,944,600,600,600,600],this._standardFontWidths[339]=[944,944,944,944,722,722,667,722,600,600,600,600],this._standardFontWidths[340]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[341]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[342]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[343]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[344]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[345]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[346]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[347]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[350]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[351]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[352]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[353]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[354]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[355]=[278,333,278,333,278,333,278,278,600,600,600,600],this._standardFontWidths[356]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[357]=[317,389,317,389,326,416,300,366,600,600,600,600],this._standardFontWidths[362]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[363]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[366]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[367]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[368]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[369]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[370]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[371]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[376]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[377]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[378]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[379]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[380]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[381]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[382]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[402]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[536]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[537]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[710]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[711]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[728]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[729]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[730]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[731]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[732]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[733]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8211]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8212]=[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],this._standardFontWidths[8216]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8217]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8218]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8220]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8221]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8222]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8224]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8225]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8226]=[350,350,350,350,350,350,350,350,600,600,600,600],this._standardFontWidths[8230]=[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],this._standardFontWidths[8240]=[1e3,1e3,1e3,1e3,1e3,1e3,1e3,1e3,600,600,600,600],this._standardFontWidths[8249]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8250]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8260]=[167,167,167,167,167,167,167,167,600,600,600,600],this._standardFontWidths[8364]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8482]=[1e3,1e3,1e3,1e3,980,1e3,980,1e3,600,600,600,600],this._standardFontWidths[8706]=[476,494,476,494,476,494,476,494,600,600,600,600],this._standardFontWidths[8710]=[612,612,612,612,612,612,612,612,600,600,600,600],this._standardFontWidths[8721]=[600,600,600,600,600,600,600,600,600,600,600,600],this._standardFontWidths[8722]=[584,584,584,584,564,570,675,606,600,600,600,600],this._standardFontWidths[8730]=[453,549,453,549,453,549,453,549,600,600,600,600],this._standardFontWidths[8773]=[250,250,250,250,250,250,250,250,600,600,600,600],this._standardFontWidths[8800]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[8804]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[8805]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[9674]=[471,494,471,494,471,494,471,494,600,600,600,600]),this._standardFontWidths}static get standardFontInfo(){return null==this._standardFontInfo&&(this._standardFontInfo=[],this._standardFontInfo.push([0,0,-120,-120,0,0,-155,-150,0,0,-120,-120]),this._standardFontInfo.push([-166,-170,-170,-174,-168,-168,-169,-200,-23,-113,-27,-57]),this._standardFontInfo.push([-225,-228,-225,-228,-218,-218,-217,-218,-250,-250,-250,-250]),this._standardFontInfo.push([1e3,1003,1116,1114,1e3,1e3,1010,996,715,749,849,869]),this._standardFontInfo.push([931,962,931,962,898,935,883,921,805,801,805,801]),this._standardFontInfo.push([718,718,718,718,662,676,653,669,562,562,562,562]),this._standardFontInfo.push([523,532,523,532,450,461,441,462,426,439,426,439]),this._standardFontInfo.push([718,718,718,718,683,683,683,683,629,629,629,629]),this._standardFontInfo.push([-207,-207,-207,-207,-217,-217,-217,-217,-157,-157,-157,-157]),this._standardFontInfo.push([76,118,76,118,28,44,32,42,51,84,51,84]),this._standardFontInfo.push([88,140,88,140,84,139,76,121,51,106,51,106])),this._standardFontInfo}},ut,ht,ct,dt,mt,pt,bt,yt,vt,wt,Ct,u,Tt,m,Pt,p,It,P,At,x,Bt,b,Et,v;ot.family_Helvetica=["Arial","Arial Black","Arial Narrow","Century Gothic","Comic Sans MS","Impact","Microsoft Sans Serif","Tahoma","Verdana"],ot.family_Courier=["Courier New","Lucida Console"],ot.family_Times_Roman=["Book Antiqua","Bookman Old Style","Garamond","Georgia","Times New Roman"],ot.fontName=["Helvetica","Helvetica-Bold","Helvetica-Oblique","Helvetica-BoldOblique","Times-Roman","Times-Bold","Times-Italic","Times-BoldItalic","Courier","Courier-Bold","Courier-Oblique","Courier-BoldOblique"],Ae.bn.FontResources=ot,(ht=ut=Ae.bn.FontStyle||(Ae.bn.FontStyle={}))[ht["Regular"]=0]="Regular",ht[ht["Bold"]=1]="Bold",ht[ht["Italic"]=2]="Italic",ht[ht["Strikeout"]=4]="Strikeout",ht[ht["Underline"]=8]="Underline";let ke=Ae.b.StiArray;{let C=class{constructor(t){this.context=t,this.context.translate(.5,.5)}drawImage(t,e){}drawRectangle(t,e){this.context.strokeStyle=t.color.toString(),this.context.lineWidth=t.width,this.context.strokeRect(e.x,e.y,e.width,e.height)}fillRectangle(t,e,r,i,n){this.context.fillStyle=t.color.toString(),this.context.fillRect(e,r,i,n)}drawLine(t,e,r,i,n){this.context.strokeStyle=t.color.toString(),this.context.lineWidth=t.width,this.context.beginPath(),this.context.moveTo(e,r),this.context.lineTo(i,n),this.context.stroke()}drawString(t,e,r,i,n){this.context.fillStyle="#000000",this.context.textBaseline="top",this.context.font=e.toString(),this.context.fillText(t,i,n)}translateTransform(t,e){this.context.translate(t,e)}static getOpentypeFont(t,e){let r=C.opentypeFonts.get(t),i,n;return null!=r&&(n=r.containsKey(e)?r.get(e):r.get(r.keys[0])),1==Ae.b.NodeJs.isNodeJs()&&null!=n&&null==n.font&&(this.addOpentypeFontFile(n.filePath,t,e,!0),n=r.get(e),n.autoLoad=!0),n&&(n.used=!0,i=n.font),null==i&&1==Ae.b.NodeJs.isNodeJs()&&0<C.opentypeFonts.count&&(r=C.opentypeFonts.get(C.opentypeFonts.keys[0]),i=r.get(r.keys[0]).font),i}static clearAutoLoadFonts(){for(var t of this.opentypeFonts.keys){let e=C.opentypeFonts.get(t);if(null!=e)for(var r of e.keys)if(e.containsKey(r)){let t=e.get(r);null!==t&&void 0!==t&&t.autoLoad&&(t.used||(t.font=null,t.data=null),t.used=!1)}}}static addOpentypeFont(e,r=null,i=null,n=null,a=Ae.bn.FontStyle.Regular,t=!0){if(null==r&&(r=e.names.fontFamily.en),0==t&&(i=e=null),Ae.bn.Graphics.opentypeFonts.containsKey(r)){let t=Ae.bn.Graphics.opentypeFonts.get(r);t.set(a,{font:e,data:i,filePath:n})}else{let t=new Dt;t.set(a,{font:e,data:i,filePath:n}),Ae.bn.Graphics.opentypeFonts.add(r,t),Ae.bn.FontFamily.families.push(new Ae.bn.FontFamily(r))}}static addOpentypeFontFile(t,e=null,r=Ae.bn.FontStyle.Regular,i=!0){var n=Ae.bo.File.getFile(t,!0),a;null!=n&&(a=Ae.a.Opentype.parse(n.buffer),this.addOpentypeFont(a,e,n,t,r,i))}static addOpentypeFontFileAsync(r,i,n=null,a=Ae.bn.FontStyle.Regular,s=!0){Ae.bo.File.getFileAsync(function(t){var e;null!=t&&(e=Ae.a.Opentype.parse(t.buffer),C.addOpentypeFont(e,n,t,i,a,s)),r()},i,!0)}static getCustomFontsCss(){let r="";for(var i of C.opentypeFonts.keys){var n=C.opentypeFonts.get(i);for(let e=0;e<n.count;e++){var a=n.keys[e];let t=i;0<e&&(t=Ae.b.Enum.getName(Ae.bn.FontStyle,a)+"_"+i),r+="@font-face {font-family: '"+t+"';src: ",r+='url("'+C.opentypeFonts.get(i).get(a).filePath+'"), ',r=r.substr(0,r.length-2)+";}",e<n.count-1&&(r+="\r\n")}}return r}static getCustomFontName(e,r){var i=C.opentypeFonts.get(e);if(i)for(let t=0;t<i.count;t++)if(r==i.keys[t])return 0==t?e:Ae.b.Enum.getName(Ae.bn.FontStyle,i.keys[t])+"_"+e;return e}static allowStyle(t,e){var t=C.opentypeFonts.get(t);if(t)return t.count<2;return!0}static measureString(r,i,t=null,n=!0,a=1,e=0,s=!1){if(Ae.b.StiString.isNullOrEmpty(r))return new Ae.bn.Size(0,0);let o,l="pt";i.unit==Ae.bn.GraphicsUnit.Pixel&&(l="px");var u=t&&0<t?t:null;if(n){o=""+i.getHashCode()+a+u+s;var t=C.measureHash[o];if(t){var h=t[r];if(h)return this.rotate(h,e,!0)}}if(" "==r){var c=C.measureString("a a",i,null,!1,1),h=C.measureString("aa",i,null,!1,1),c=new Ae.bn.Size(c.width-h.width,c.height);if(n){let t=C.measureHash[o];t||(t={},C.measureHash[o]=t),t[r]=c}return this.rotate(c,e,n)}let d=new Ae.bn.Size(0,0),m=C.getOpentypeFont(i.fontFamily.name,i.style);if(null!=m){let e=0,o=0;var p,g=96*i.sizeInPoints/(72*m.unitsPerEm),f=g*.977;let l=m.ascender-m.descender;var c=m.tables["hhea"],S;null!=c&&(S=c["lineGap"],l+=S);var S=m.tables["os2"],S,b;null==S||(S=S["sTypoAscender"]-S["sTypoDescender"]+S["sTypoLineGap"])>l&&(l=S),l*=g;let t=r.split("\n");1<t.length&&""==t[t.length-1]&&t.pop();for(b of t){let r=0,i=[];if(1e4<b.length){let t=0;while(t<b.length){var y=m.stringToGlyphs(b.substr(t,1e4));ke.copy2(y,0,i,i.length,y.length),t+=1e4}}else i=m.stringToGlyphs(b);let n=[],a=[],s=0;for(let e=0;e<i.length;e++){var v=i[e];let t=0;v.advanceWidth&&(t+=v.advanceWidth),e<i.length-1&&(t+=m.getKerningValue(v,i[e+1]),t+=v.leftSideBearing*this.measureBearingScale),t*=f,r+=t,u?(n.push(t),this.isWordWrapSymbol(b,e)&&0<e&&s++,a.push(s)):(n.push(0),a.push(0))}if(u&&r>u){let t=0;while(t<i.length){r=0;var w=a[t];while(t<i.length&&r+n[t]<u)r+=n[t],t++;if(t<i.length)if(a[t]>w)if(a[t]!=a[t-1])while(t<i.length&&Ae.b.Char.isWhitespace(b,t)&&"\t"!=b.charAt(t))t++;else while(0<t&&a[t]==a[t-1])t--,r-=n[t];else r+=n[t],t++;e=Math.max(e,r),o+=l}}else e=Math.max(e,r),o+=l}d=new Ae.bn.Size(e,o)}else if(Ae.b.NodeJs.useWebKit){let e;null==C.measureDiv?(C.measureDiv=document.createElement("div"),C.measureDiv.style.flexDirection="row",C.measureDiv.style.visibility="hidden",C.measureDiv.style.position="absolute",e=document.createElement("div"),e.style.wordWrap="break-word",e.style.display="inline-block",e.style.lineHeight="normal",document.body.appendChild(C.measureDiv),C.measureDiv.appendChild(e)):e=C.measureDiv.firstElementChild;var g=i.unit==Ae.bn.GraphicsUnit.Pixel?.98:1/.955,i,s;if(e.style.fontFamily=i.fontFamily.name,e.style.fontSize=(i.size*a).toString()+l,null!=u?(e.style.maxWidth=(u*a/g).toString()+"px",C.measureDiv.style.whiteSpace=null):(e.style.maxWidth=null,C.measureDiv.style.whiteSpace="nowrap"),e.style.fontWeight=i.bold?"bold":"normal",e.style.fontStyle=i.italic?"italic":"normal",i.underline||i.strikeout){let t="";i.underline&&(t="underline"),i.strikeout&&(t+=" line-through"),e.style.textDecoration=t}else e.style.textDecoration="none";e.style.height="",e.style.width="",e.style.display="inline-block",e.style.overflow="",e.innerHTML=(s?r.split("<").join("&lt;").split(">").join("&gt;").split("\n").join("<br>"):r.split("\n").join("")).split("\r").join(""),d=new Ae.bn.Size(e.scrollWidth/a*g,e.scrollHeight/a*g),n&&1<r.length&&(i=C.measureString(" ",i),d.width+=i.width+1,s||(s=d.height/i.height,d.height+=10<s?.25*i.height:i.height*(s/40))),null!=u&&d.width>u&&(d.width=u),e.style.height="0px",e.style.width="0px",e.style.display="none",e.style.overflow="hidden",e.innerHTML=""}if(n){let t=C.measureHash[o];t||(t={},C.measureHash[o]=t),t[r]=d}return this.rotate(d,e,n)}static isWordWrapSymbol(t,e){var r=t.charCodeAt(e),i=t.charAt(e);if(12288<=r&&r<=55215||Ae.b.Char.isWhitespace(t,e)&&160!=r||"("==i||"{"==i)return!0;if(0<e){var e=t.charAt(e-1);if("!"==e||"%"==e||")"==e||"}"==e||"-"==e||"?"==e)return!0}return!1}static measureChars(e,r,i){let n;var a=.998,t=.977;for(let t=32;t<r;t++){var s=e[t];if(32==s){let t=.55,e=new Ae.bn.Size(0,0),r=new Ae.bn.Size(0,1);while(e.height<r.height)t-=.05,e=C.measureString("a",i,null,!1,t),r=C.measureString("a a",i,null,!1,t);var o=C.measureString("aa",i,null,!1,t);n=new Ae.bn.Size(r.width-o.width,0)}else n=1611<=s&&s<=1631?new Ae.bn.Size(0,0):C.measureString(String.fromCharCode(s),i,null,!0,1);e[t]=n.width*a}var l=n.height;return n=C.measureString("1\n2\n3\n4\n5\n6\n7\n8\n9\n10",i,null,!0,1,0,!0),new Ae.bn.Size(n.height/10*t,l*t)}static rotate(t,e,r){if(0==e){if(r)return new Ae.bn.Size(t.width,t.height);return t}if(e%180!=0&&e%90==0){if(r)return new Ae.bn.Size(t.height,t.width);return t.swap()}while(360<e)e-=360;var i=Math.abs(e)*Math.PI/180,n=(90-Math.abs(e))*Math.PI/180,a=t.width*Math.sin(i),r=t.width*Math.cos(i),i=t.height*Math.sin(n),n=t.height*Math.cos(n);return new Ae.bn.Size(Math.abs(n+r),Math.abs(i+a))}static clearCache(){this.measureHash={},this.measureDiv&&this.measureDiv.remove(),this.measureDiv=null}};C.measureBearingScale=.8,C.opentypeFonts=new Dt,C.measureHash={},Ae.bn.Graphics=C}(dt=ct=Ae.bn.GraphicsUnit||(Ae.bn.GraphicsUnit={}))[dt["Pixel"]=2]="Pixel",dt[dt["Point"]=3]="Point";{let e=class{constructor(t){this.guid=t}static get Tiff(){return null==this._tiff&&(this._tiff=new e("tiff"),this._tiff.header=[73,73,42,0],this._tiff.getWidth=e=>{var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],i;let n=t+2;for(let t=0;t<=r;t++){if(256==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHeight=e=>{var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],i;let n=t+2;for(let t=0;t<=r;t++){if(257==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHorizontalResolution=e=>{var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],i;let n=t+2;for(let t=0;t<=r;t++){if(282==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN},this._tiff.getVerticalResolution=e=>{var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],i;let n=t+2;for(let t=0;t<=r;t++){if(232==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN}),this._tiff}static get Png(){return null==this._png&&(this._png=new e("png"),this._png.header=[137,80,78,71,13,10,26,10],this._png.getWidth=e=>{let r=0;for(let t=16;t<=16+3;t++)r=e[t]|r<<8;return r},this._png.getHeight=e=>{let r=0;for(let t=20;t<=20+3;t++)r=e[t]|r<<8;return r},this._png.getHorizontalResolution=t=>{let e=-1;while(e<t.length)if(112==t[e++]&&72==t[e++]&&89==t[e++]&&115==t[e++]){var r=0,r=t[e++]|r<<8;return r=t[e++]|r<<8,r=t[e++]|r<<8,r=t[e++]|r<<8,Math.round(.0254*r)}return NaN},this._png.getVerticalResolution=t=>{let e=-1;while(e<t.length)if(112==t[e++]&&72==t[e++]&&89==t[e++]&&115==t[e++]){e+=4;var r=0,r=t[e++]|r<<8;return r=t[e++]|r<<8,r=t[e++]|r<<8,r=t[e++]|r<<8,Math.round(.0254*r)}return NaN}),this._png}static get Gif(){return null==this._gif&&(this._gif=new e("gif"),this._gif.header=[71,73,70],this._gif.getWidth=t=>{var e;return t[6]|t[7]<<8},this._gif.getHeight=t=>{var e;return t[8]|t[9]<<8},this._gif.getHorizontalResolution=t=>300,this._gif.getVerticalResolution=t=>300),this._gif}static get Jpeg(){return null==this._jpeg&&(this._jpeg=new e("jpeg"),this._jpeg.header=[255,216],this._jpeg.getWidth=t=>this.getJpegInfo(t,1).width,this._jpeg.getHeight=t=>this.getJpegInfo(t,1).height,this._jpeg.getHorizontalResolution=t=>this.getJpegInfo(t,2).xRes,this._jpeg.getVerticalResolution=t=>this.getJpegInfo(t,2).yRes,this._jpeg.needReconvert=t=>{if(null==t||t.length<10)return!1;return this.getJpegInfo(t,1).needConvert}),this._jpeg}static getJpegInfo(i,e=3){let n={width:0,height:0,xRes:NaN,yRes:NaN,needConvert:!0},a=0;try{let r=0;while(r<i.length-1){if(255!=i[r])break;if((a&e)==e)break;var s=i[r+1];if(217==s)break;let t=221==s?4:208<=s&&s<=217?0:-1;if(-1==t&&r<i.length-3&&(t=256*i[r+2]+i[r+3]),192!=s&&193!=s&&194!=s&&195!=s&&197!=s&&198!=s&&199!=s&&201!=s&&202!=s&&203!=s&&205!=s&&206!=s&&207!=s||(n.width=256*i[r+7]+i[r+8],n.height=256*i[r+5]+i[r+6],a|=1,3==i[r+9]&&(1==i[r+10]&&2==i[r+13]&&3==i[r+16]||82==i[r+10]&&71==i[r+13]&&66==i[r+16])&&(n.needConvert=!1)),224==s){let t=256*i[r+14]+i[r+15],e=256*i[r+12]+i[r+13];0==i[r+11]&&(t=0|Math.round(96*t),e=0|Math.round(96*e)),2==i[r+11]&&(t=0|Math.round(2.54*t),e=0|Math.round(2.54*e)),n.xRes=t,n.yRes=e,a|=2}if(r+=t+2,218==s)while(r<i.length){if(255!=i[r++])continue;if(0!=i[r++]){r-=2;break}}}}catch(t){}return n}static get Bmp(){return null==this._bmp&&(this._bmp=new e("bmp"),this._bmp.header=[66,77],this._bmp.getWidth=t=>{var e;return t[18]|t[19]<<8},this._bmp.getHeight=t=>{var e;return t[22]|t[23]<<8},this._bmp.getHorizontalResolution=t=>{var t=t[38]|t[39]<<8;return Math.round(.0254*t)},this._bmp.getVerticalResolution=t=>{var t=t[42]|t[43]<<8;return Math.round(.0254*t)}),this._bmp}static get Svg(){return null==this._svg&&(this._svg=new e("svg+xml"),this._svg.header=[60,115,118,103],Ae.b.NodeJs.useWebKit&&(this._svg.getWidth=(t,e="")=>{var r=0;let i=document.createElement("div");return i.style.wordWrap="break-word",i.style.display="inline-block",i.style.lineHeight="0",i.innerHTML=Ae.b.Convert.fromBase64StringText(e),document.body.appendChild(i),r=i.getBoundingClientRect().width,document.body.removeChild(i),r},this._svg.getHeight=(t,e="")=>{var r=0;let i=document.createElement("div");return i.style.wordWrap="break-word",i.style.display="inline-block",i.style.lineHeight="0",i.innerHTML=Ae.b.Convert.fromBase64StringText(e),document.body.appendChild(i),r=i.getBoundingClientRect().height,document.body.removeChild(i),r}),this._svg.checkHeader=n=>{var a=1e3;try{if(5<n.length&&"<"==String.fromCharCode(n[0])&&"s"==String.fromCharCode(n[1])&&"v"==String.fromCharCode(n[2])&&"g"==String.fromCharCode(n[3])&&Ae.b.Char.isWhitespace(String.fromCharCode(n[4])))return this._svg;let t=[],e=!1,r=0,i=0;while(i<n.length-5&&i<a){if("<"==String.fromCharCode(n[i])){if(0==r&&"s"==String.fromCharCode(n[i+1])&&"v"==String.fromCharCode(n[i+2])&&"g"==String.fromCharCode(n[i+3])&&Ae.b.Char.isWhitespace(String.fromCharCode(n[i+4])))return this._svg;"/"==String.fromCharCode(n[i+1])?(r--,e=t.pop()):(r++,t.push(e),"!"!=String.fromCharCode(n[i+1])&&"?"!=String.fromCharCode(n[i+1])||(e=!0))}else">"==String.fromCharCode(n[i])&&(1<i&&"/"==String.fromCharCode(n[i-1])||e)&&(r--,e=t.pop());i++}}catch(t){}return null}),this._svg}static getImageFormat(t){if(e.Bmp.checkHeader(t))return e.Bmp;if(e.Gif.checkHeader(t))return e.Gif;if(e.Jpeg.checkHeader(t))return e.Jpeg;if(e.Png.checkHeader(t))return e.Png;if(e.Tiff.checkHeader(t))return e.Tiff;if(e.Svg.checkHeader(t))return e.Svg;return null}checkHeader(e){for(let t=0;t<this.header.length;t++)if(this.header[t]!=e[t])return null;return this}getWidth(t,e=null){return NaN}getHeight(t,e=null){return NaN}getHorizontalResolution(t){return NaN}getVerticalResolution(t){return NaN}needReconvert(t){return!1}get mimeType(){return"image/"+this.guid}toString(){return this.guid}};Ae.bp.ImageFormat=e}let kt=Ae.bp.ImageFormat;{let r=class{constructor(){this.data={},this.aspectRatio=!0,this.multipleFactor=1,this.horAlignment=1,this.vertAlignment=0,this.imageRotation=0,this.stretch=!1,this.zoom=1}get base64(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return"";return this.data[this.imageFormat.toString()].base64}set base64(t){var e=t.match(",");t=(t=null!=e?t.substr(e.index+1):t).split("\r\n").join("").split("\n").join("");var e=Ae.b.Convert.fromBase64String(t);this.setData(e,t)}get bytes(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return null;return this.data[this.imageFormat.toString()].bytes}set bytes(t){var e;t&&(e=Ae.b.Convert.toBase64String(t),this.setData(t,e))}static fromFile(t){if(Ae.b.StiString.isNullOrEmpty(t))return null;let e=new r;return e.bytes=Ae.bo.File.getFile(t,!0),e}static fromBytes(t){let e=new r;return e.bytes=t,e}static fromBase64(t){let e=new r;return e.base64=t,e}setData(t,e){this.imageFormat=kt.getImageFormat(t),null!=this.imageFormat&&(this.data[this.imageFormat.toString()]={imageFormat:this.imageFormat,base64:"data:"+this.imageFormat.mimeType+";base64,"+e,bytes:t},this.width=this.imageFormat.getWidth(t,e),this.height=this.imageFormat.getHeight(t,e),this.horizontalResolution=this.imageFormat.getHorizontalResolution(t),this.verticalResolution=this.imageFormat.getVerticalResolution(t))}convertAsync(l,u=!1,e=null,r=!1){return Y.tsfb(this,void 0,void 0,function*(){return new Promise((s,o)=>{try{let t=this.data[l.toString()];if(!(null==t||r&&l.needReconvert(t.bytes)))return this.imageFormat=l,s(this);if(null==t&&(t=this.data[kt.Png.toString()]),null==t&&(t=this.data[kt.Bmp.toString()]),null==t&&(t=this.data[kt.Jpeg.toString()]),null==t&&(t=this.data[kt.Gif.toString()]),null==t&&(t=this.data[kt.Svg.toString()]),null!=t){let i=document.createElement("canvas");i.width=this.width,i.height=this.height,t.imageFormat!=kt.Svg||!e||this.width&&this.height||(i.width=e.width,i.height=e.height);let n=i.getContext("2d");l==kt.Jpeg&&(n.fillStyle="#fff",n.fillRect(0,0,i.width,i.height));let a=new window.Image;a.onerror=()=>{o("Error image")},a.onload=()=>{try{n.drawImage(a,0,0,i.width,i.height);var t=i.toDataURL(l.mimeType);u&&(this.imageData=n.getImageData(0,0,i.width,i.height).data);var e=this.horizontalResolution,r=this.verticalResolution;this.base64=t,this.horizontalResolution=e,this.verticalResolution=r,s(this)}catch(t){o(t.message)}},a.src=t.base64}else o("No Image")}catch(t){o(t.message)}})})}tryConvertSync(t){try{var e;if(null!=this.data[t.toString()])return this.imageFormat=t,!0}catch(t){}return!1}dispose(){this.data={},this.imageFormat=null,this.width=NaN,this.height=NaN}clone(){let t=new r;return t.data=this.data,t.imageFormat=this.imageFormat,t.width=this.width,t.height=this.height,t.horizontalResolution=this.horizontalResolution,t.verticalResolution=this.verticalResolution,t}};Ae.bn.Image=r}(pt=mt=Ae.bn.Orientation||(Ae.bn.Orientation={}))[pt["Horizontal"]=0]="Horizontal",pt[pt["Vertical"]=1]="Vertical",Ae.bn.Pen=class{constructor(t,e=0){this.color=t,this.width=e}};{let r=class{constructor(t=0,e=0){this.x=t,this.y=e}get isEmpty(){return 0==this.x&&0==this.y}static get empty(){return new r}toString(){return Ae.b.StiString.format("{{X={0}, Y={1}}}",this.x,this.y)}equals(t){if(t.x==this.x&&t.y==this.y)return!0;return!1}static convertFromXml(t){let e=t.split(",");return new r(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber())}};Ae.bn.Point=r}{let a=class{constructor(t=0,e=0,r=0,i=0){this.x=t,this.y=e,this.width=r,this.height=i}static fromLTRB(t,e,r,i){return new a(t,e,r-t,i-e)}static get empty(){return new a(0,0,0,0)}static union(t,e){var r=Math.min(t.x,e.x),i=Math.max(t.x+t.width,e.x+e.width),n=Math.min(t.y,e.y),e=Math.max(t.y+t.height,e.y+e.height);return new a(r,n,i-r,e-n)}static convertFromXml(t){let e=t.split(",");return new a(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber(),e[2].stimulsoft().toNumber(),e[3].stimulsoft().toNumber())}clone(){return this.stimulsoft().memberwiseClone()}inflate(t,e){return this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this}normalize(){let t=this.clone();return t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height),t}multiply(t){return new a(this.x*t,this.y*t,this.width*t,this.height*t)}offset(t,e){return this.x+=t,this.y+=e,this}offsetRect(t){return new a(this.x-t.x,this.y-t.y,this.width+t.width,this.height+t.height)}intersectsWith(t){var e=Ae.b.StiMath.round2(t.x,2),r=Ae.b.StiMath.round2(t.y,2),i=Ae.b.StiMath.round2(t.right,2),n=Ae.b.StiMath.round2(t.bottom,2),a=Ae.b.StiMath.round2(this.x,2),s=Ae.b.StiMath.round2(this.y,2),o=Ae.b.StiMath.round2(this.right,2),t=Ae.b.StiMath.round2(this.bottom,2);return e<=o&&r<=t&&a<=i&&s<=n}alignToGrid(t,e){return e?new a(Math.round(this.x/t)*t,Math.round(this.y/t)*t,Math.round(this.width/t)*t,Math.round(this.height/t)*t):new a(this.left,this.top,this.width,this.height)}fitToRectangle(t){if(this.isEmpty)return t;if(t.isEmpty)return this;return this.left>t.left&&(this.width+=this.left-t.left,this.x=t.left),this.top>t.top&&(this.height+=this.top-t.top,this.y=t.top),this.right<t.right&&(this.width+=t.right-this.right),this.bottom<t.bottom&&(this.height+=t.bottom-this.bottom),this}get isEmpty(){return 0==this.width&&0==this.height&&0==this.x&&0==this.y}get isEmptyF(){return 0==this.width&&0==this.height}contains(t,e){if(this.x<=t&&t<this.x+this.width&&this.y<=e)return e<this.y+this.height;return!1}get left(){return this.x}set left(t){this.width+=this.x-t,this.x=t}get top(){return this.y}set top(t){this.height+=this.y-t,this.y=t}get right(){return this.x+this.width}set right(t){this.width=t-this.x}get bottom(){return this.y+this.height}set bottom(t){this.height=t-this.y}get location(){return new Ae.bn.Point(this.x,this.y)}set location(t){this.x=t.x,this.y=t.y}get size(){return new Ae.bn.Size(this.width,this.height)}set size(t){this.width=t.width,this.height=t.height}toString(){return`x:${this.x} y:${this.y} width:${this.width} height:${this.height}`}};Ae.bn.Rectangle=a}{let r=class{constructor(t,e){this.width=0,this.height=0,this.width=t,this.height=e}static get empty(){return new r(0,0)}get isEmpty(){return 0==this.width&&0==this.height}isDefault(){return 0==this.width&&0==this.height}swap(){var t=this.height;return this.height=this.width,this.width=t,this}round(t=0){return this.width=Ae.b.StiMath.round2(this.width,t),this.height=Ae.b.StiMath.round2(this.height,t),this}static convertFromXml(t){let e=t.split(",");return new r(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber())}};Ae.bn.Size=r}Ae.bn.SolidBrush=class extends Ae.bn.Brush{constructor(t){super(),this.color=t}},(yt=bt=Ae.bn.StringAlignment||(Ae.bn.StringAlignment={}))[yt["Near"]=0]="Near",yt[yt["Center"]=1]="Center",yt[yt["Far"]=2]="Far",Ae.bn.StringFormat=class{constructor(){this.lineAlignment=Ae.bn.StringAlignment.Near}},(wt=vt=Ae.bn.StringFormatFlags||(Ae.bn.StringFormatFlags={}))[wt["DirectionRightToLeft"]=1]="DirectionRightToLeft",wt[wt["DirectionVertical"]=2]="DirectionVertical",wt[wt["FitBlackBox"]=4]="FitBlackBox",wt[wt["DisplayFormatControl"]=32]="DisplayFormatControl",wt[wt["NoFontFallback"]=1024]="NoFontFallback",wt[wt["MeasureTrailingSpaces"]=2048]="MeasureTrailingSpaces",wt[wt["NoWrap"]=4096]="NoWrap",wt[wt["LineLimit"]=8192]="LineLimit",wt[wt["NoClip"]=16384]="NoClip",(u=Ct=Ae.bn.StringTrimming||(Ae.bn.StringTrimming={}))[u["None"]=0]="None",u[u["Character"]=1]="Character",u[u["Word"]=2]="Word",u[u["EllipsisCharacter"]=3]="EllipsisCharacter",u[u["EllipsisWord"]=4]="EllipsisWord",u[u["EllipsisPath"]=5]="EllipsisPath",(m=Tt=Ae.bq.DashStyle||(Ae.bq.DashStyle={}))[m["Solid"]=0]="Solid",m[m["Dash"]=1]="Dash",m[m["Dot"]=2]="Dot",m[m["DashDot"]=3]="DashDot",m[m["DashDotDot"]=4]="DashDotDot",m[m["Custom"]=5]="Custom",(p=Pt=Ae.bq.HatchStyle||(Ae.bq.HatchStyle={}))[p["Min"]=0]="Min",p[p["Horizontal"]=0]="Horizontal",p[p["Vertical"]=1]="Vertical",p[p["ForwardDiagonal"]=2]="ForwardDiagonal",p[p["BackwardDiagonal"]=3]="BackwardDiagonal",p[p["Max"]=4]="Max",p[p["Cross"]=4]="Cross",p[p["LargeGrid"]=4]="LargeGrid",p[p["DiagonalCross"]=5]="DiagonalCross",p[p["Percent05"]=6]="Percent05",p[p["Percent10"]=7]="Percent10",p[p["Percent20"]=8]="Percent20",p[p["Percent25"]=9]="Percent25",p[p["Percent30"]=10]="Percent30",p[p["Percent40"]=11]="Percent40",p[p["Percent50"]=12]="Percent50",p[p["Percent60"]=13]="Percent60",p[p["Percent70"]=14]="Percent70",p[p["Percent75"]=15]="Percent75",p[p["Percent80"]=16]="Percent80",p[p["Percent90"]=17]="Percent90",p[p["LightDownwardDiagonal"]=18]="LightDownwardDiagonal",p[p["LightUpwardDiagonal"]=19]="LightUpwardDiagonal",p[p["DarkDownwardDiagonal"]=20]="DarkDownwardDiagonal",p[p["DarkUpwardDiagonal"]=21]="DarkUpwardDiagonal",p[p["WideDownwardDiagonal"]=22]="WideDownwardDiagonal",p[p["WideUpwardDiagonal"]=23]="WideUpwardDiagonal",p[p["LightVertical"]=24]="LightVertical",p[p["LightHorizontal"]=25]="LightHorizontal",p[p["NarrowVertical"]=26]="NarrowVertical",p[p["NarrowHorizontal"]=27]="NarrowHorizontal",p[p["DarkVertical"]=28]="DarkVertical",p[p["DarkHorizontal"]=29]="DarkHorizontal",p[p["DashedDownwardDiagonal"]=30]="DashedDownwardDiagonal",p[p["DashedUpwardDiagonal"]=31]="DashedUpwardDiagonal",p[p["DashedHorizontal"]=32]="DashedHorizontal",p[p["DashedVertical"]=33]="DashedVertical",p[p["SmallConfetti"]=34]="SmallConfetti",p[p["LargeConfetti"]=35]="LargeConfetti",p[p["ZigZag"]=36]="ZigZag",p[p["Wave"]=37]="Wave",p[p["DiagonalBrick"]=38]="DiagonalBrick",p[p["HorizontalBrick"]=39]="HorizontalBrick",p[p["Weave"]=40]="Weave",p[p["Plaid"]=41]="Plaid",p[p["Divot"]=42]="Divot",p[p["DottedGrid"]=43]="DottedGrid",p[p["DottedDiamond"]=44]="DottedDiamond",p[p["Shingle"]=45]="Shingle",p[p["Trellis"]=46]="Trellis",p[p["Sphere"]=47]="Sphere",p[p["SmallGrid"]=48]="SmallGrid",p[p["SmallCheckerBoard"]=49]="SmallCheckerBoard",p[p["LargeCheckerBoard"]=50]="LargeCheckerBoard",p[p["OutlinedDiamond"]=51]="OutlinedDiamond",p[p["SolidDiamond"]=52]="SolidDiamond",(P=It=Ae.bq.LineCap||(Ae.bq.LineCap={}))[P["AnchorMask"]=240]="AnchorMask",P[P["ArrowAnchor"]=20]="ArrowAnchor",P[P["Custom"]=255]="Custom",P[P["DiamondAnchor"]=19]="DiamondAnchor",P[P["Flat"]=0]="Flat",P[P["NoAnchor"]=16]="NoAnchor",P[P["Round"]=2]="Round",P[P["RoundAnchor"]=18]="RoundAnchor",P[P["Square"]=1]="Square",P[P["SquareAnchor"]=17]="SquareAnchor",P[P["Triangle"]=3]="Triangle";{let r=class{constructor(...t){this.a=1,this.c=0,this.b=0,this.d=1,this.tx=0,this.ty=0;var e=t.length,t;6==e?this.setValues(t[0],t[1],t[2],t[3],t[4],t[5]):1==e&&t instanceof r?(t=t[0],this.setValues(t.a,t.c,t.b,t.d,t.tx,t.ty)):this.reset()}get elements(){return[this.a,this.c,this.b,this.d,this.tx,this.ty]}setValues(t,e,r,i,n,a){this.a=t,this.c=e,this.b=r,this.d=i,this.tx=n,this.ty=a}reset(){this.a=this.d=1,this.c=this.b=this.tx=this.ty=0}clone(){return new r(this.a,this.c,this.b,this.d,this.tx,this.ty)}toString(){return Ae.b.StiString.format("({0},{1},{2},{3},{4},{5})",this.a,this.c,this.b,this.d,this.tx,this.ty)}translate(t,e){return this.tx+=t*this.a+e*this.b,this.ty+=t*this.c+e*this.d,this}scale(t,e){return this.a*=t,this.c*=t,this.b*=e,this.d*=e,this}rotate(t){t*=Math.PI/180;var e=Math.cos(t),r=Math.sin(t),i=this.a,n=this.c,a=this.b,t=this.d;return this.a=i*e-n*r,this.c=i*r+n*e,this.b=a*e-t*r,this.d=a*r+t*e,this}isIdentity(){return 1==this.a&&0==this.c&&0==this.b&&1==this.d&&0==this.tx&&0==this.ty}transformPoints(t){for(var e of t){var r=e.x,i=e.y;e.x=r*this.a+i*this.b+this.tx,e.y=r*this.c+i*this.d+this.ty}}multiply(t){var n=[[this.a,this.c,0],[this.b,this.d,0],[this.tx,this.ty,1]],a=[[t.a,t.c,0],[t.b,t.d,0],[t.tx,t.ty,1]];let s=[];for(let i=0;i<3;i++){s[i]=[];for(let r=0;r<3;r++){let e=0;for(let t=0;t<3;t++)e+=n[i][t]*a[t][r];s[i][r]=e}}return this.setValues(s[0][0],s[0][1],s[1][0],s[1][0],s[2][0],s[2][0]),this}};Ae.bq.Matrix=r}(x=At=Ae.bp.EncoderValue||(Ae.bp.EncoderValue={}))[x["ColorTypeCMYK"]=0]="ColorTypeCMYK",x[x["ColorTypeYCCK"]=1]="ColorTypeYCCK",x[x["CompressionLZW"]=2]="CompressionLZW",x[x["CompressionCCITT3"]=3]="CompressionCCITT3",x[x["CompressionCCITT4"]=4]="CompressionCCITT4",x[x["CompressionRle"]=5]="CompressionRle",x[x["CompressionNone"]=6]="CompressionNone",x[x["ScanMethodInterlaced"]=7]="ScanMethodInterlaced",x[x["ScanMethodNonInterlaced"]=8]="ScanMethodNonInterlaced",x[x["VersionGif87"]=9]="VersionGif87",x[x["VersionGif89"]=10]="VersionGif89",x[x["RenderProgressive"]=11]="RenderProgressive",x[x["RenderNonProgressive"]=12]="RenderNonProgressive",x[x["TransformRotate90"]=13]="TransformRotate90",x[x["TransformRotate180"]=14]="TransformRotate180",x[x["TransformRotate270"]=15]="TransformRotate270",x[x["TransformFlipHorizontal"]=16]="TransformFlipHorizontal",x[x["TransformFlipVertical"]=17]="TransformFlipVertical",x[x["MultiFrame"]=18]="MultiFrame",x[x["LastFrame"]=19]="LastFrame",x[x["Flush"]=20]="Flush",x[x["FrameDimensionTime"]=21]="FrameDimensionTime",x[x["FrameDimensionResolution"]=22]="FrameDimensionResolution",x[x["FrameDimensionPage"]=23]="FrameDimensionPage",Ae.bp.ImageCodecInfo=class{static getImageDecoders(){return null}static getImageEncoders(){return[{clsid:Ae.b.Guid.newGuid(),codecName:"",filenameExtension:"",formatDescription:"",formatID:Ae.b.Guid.newGuid(),mimeType:"image/jpeg",version:1}]}},(b=Bt=Ae.br.PaperKind||(Ae.br.PaperKind={}))[b["A2"]=66]="A2",b[b["A3"]=8]="A3",b[b["A3Extra"]=63]="A3Extra",b[b["A3ExtraTransverse"]=68]="A3ExtraTransverse",b[b["A3Rotated"]=76]="A3Rotated",b[b["A3Transverse"]=67]="A3Transverse",b[b["A4"]=9]="A4",b[b["A4Extra"]=53]="A4Extra",b[b["A4Plus"]=60]="A4Plus",b[b["A4Rotated"]=77]="A4Rotated",b[b["A4Small"]=10]="A4Small",b[b["A4Transverse"]=55]="A4Transverse",b[b["A5"]=11]="A5",b[b["A5Extra"]=64]="A5Extra",b[b["A5Rotated"]=78]="A5Rotated",b[b["A5Transverse"]=61]="A5Transverse",b[b["A6"]=70]="A6",b[b["A6Rotated"]=83]="A6Rotated",b[b["APlus"]=57]="APlus",b[b["B4"]=12]="B4",b[b["B4Envelope"]=33]="B4Envelope",b[b["B4JisRotated"]=79]="B4JisRotated",b[b["B5"]=13]="B5",b[b["B5Envelope"]=34]="B5Envelope",b[b["B5Extra"]=65]="B5Extra",b[b["B5JisRotated"]=80]="B5JisRotated",b[b["B5Transverse"]=62]="B5Transverse",b[b["B6Envelope"]=35]="B6Envelope",b[b["B6Jis"]=88]="B6Jis",b[b["B6JisRotated"]=89]="B6JisRotated",b[b["BPlus"]=58]="BPlus",b[b["C3Envelope"]=29]="C3Envelope",b[b["C4Envelope"]=30]="C4Envelope",b[b["C5Envelope"]=28]="C5Envelope",b[b["C65Envelope"]=32]="C65Envelope",b[b["C6Envelope"]=31]="C6Envelope",b[b["CSheet"]=24]="CSheet",b[b["Custom"]=0]="Custom",b[b["DLEnvelope"]=27]="DLEnvelope",b[b["DSheet"]=25]="DSheet",b[b["ESheet"]=26]="ESheet",b[b["Executive"]=7]="Executive",b[b["Folio"]=14]="Folio",b[b["GermanLegalFanfold"]=41]="GermanLegalFanfold",b[b["GermanStandardFanfold"]=40]="GermanStandardFanfold",b[b["InviteEnvelope"]=47]="InviteEnvelope",b[b["IsoB4"]=42]="IsoB4",b[b["ItalyEnvelope"]=36]="ItalyEnvelope",b[b["JapaneseDoublePostcard"]=69]="JapaneseDoublePostcard",b[b["JapaneseDoublePostcardRotated"]=82]="JapaneseDoublePostcardRotated",b[b["JapaneseEnvelopeChouNumber3"]=73]="JapaneseEnvelopeChouNumber3",b[b["JapaneseEnvelopeChouNumber3Rotated"]=86]="JapaneseEnvelopeChouNumber3Rotated",b[b["JapaneseEnvelopeChouNumber4"]=74]="JapaneseEnvelopeChouNumber4",b[b["JapaneseEnvelopeChouNumber4Rotated"]=87]="JapaneseEnvelopeChouNumber4Rotated",b[b["JapaneseEnvelopeKakuNumber2"]=71]="JapaneseEnvelopeKakuNumber2",b[b["JapaneseEnvelopeKakuNumber2Rotated"]=84]="JapaneseEnvelopeKakuNumber2Rotated",b[b["JapaneseEnvelopeKakuNumber3"]=72]="JapaneseEnvelopeKakuNumber3",b[b["JapaneseEnvelopeKakuNumber3Rotated"]=85]="JapaneseEnvelopeKakuNumber3Rotated",b[b["JapaneseEnvelopeYouNumber4"]=91]="JapaneseEnvelopeYouNumber4",b[b["JapaneseEnvelopeYouNumber4Rotated"]=92]="JapaneseEnvelopeYouNumber4Rotated",b[b["JapanesePostcard"]=43]="JapanesePostcard",b[b["JapanesePostcardRotated"]=81]="JapanesePostcardRotated",b[b["Ledger"]=4]="Ledger",b[b["Legal"]=5]="Legal",b[b["LegalExtra"]=51]="LegalExtra",b[b["Letter"]=1]="Letter",b[b["LetterExtra"]=50]="LetterExtra",b[b["LetterExtraTransverse"]=56]="LetterExtraTransverse",b[b["LetterPlus"]=59]="LetterPlus",b[b["LetterRotated"]=75]="LetterRotated",b[b["LetterSmall"]=2]="LetterSmall",b[b["LetterTransverse"]=54]="LetterTransverse",b[b["MonarchEnvelope"]=37]="MonarchEnvelope",b[b["Note"]=18]="Note",b[b["Number10Envelope"]=20]="Number10Envelope",b[b["Number11Envelope"]=21]="Number11Envelope",b[b["Number12Envelope"]=22]="Number12Envelope",b[b["Number14Envelope"]=23]="Number14Envelope",b[b["Number9Envelope"]=19]="Number9Envelope",b[b["PersonalEnvelope"]=38]="PersonalEnvelope",b[b["Prc16K"]=93]="Prc16K",b[b["Prc16KRotated"]=106]="Prc16KRotated",b[b["Prc32K"]=94]="Prc32K",b[b["Prc32KBig"]=95]="Prc32KBig",b[b["Prc32KBigRotated"]=108]="Prc32KBigRotated",b[b["Prc32KRotated"]=107]="Prc32KRotated",b[b["PrcEnvelopeNumber1"]=96]="PrcEnvelopeNumber1",b[b["PrcEnvelopeNumber10"]=105]="PrcEnvelopeNumber10",b[b["PrcEnvelopeNumber10Rotated"]=118]="PrcEnvelopeNumber10Rotated",b[b["PrcEnvelopeNumber1Rotated"]=109]="PrcEnvelopeNumber1Rotated",b[b["PrcEnvelopeNumber2"]=97]="PrcEnvelopeNumber2",b[b["PrcEnvelopeNumber2Rotated"]=110]="PrcEnvelopeNumber2Rotated",b[b["PrcEnvelopeNumber3"]=98]="PrcEnvelopeNumber3",b[b["PrcEnvelopeNumber3Rotated"]=111]="PrcEnvelopeNumber3Rotated",b[b["PrcEnvelopeNumber4"]=99]="PrcEnvelopeNumber4",b[b["PrcEnvelopeNumber4Rotated"]=112]="PrcEnvelopeNumber4Rotated",b[b["PrcEnvelopeNumber5"]=100]="PrcEnvelopeNumber5",b[b["PrcEnvelopeNumber5Rotated"]=113]="PrcEnvelopeNumber5Rotated",b[b["PrcEnvelopeNumber6"]=101]="PrcEnvelopeNumber6",b[b["PrcEnvelopeNumber6Rotated"]=114]="PrcEnvelopeNumber6Rotated",b[b["PrcEnvelopeNumber7"]=102]="PrcEnvelopeNumber7",b[b["PrcEnvelopeNumber7Rotated"]=115]="PrcEnvelopeNumber7Rotated",b[b["PrcEnvelopeNumber8"]=103]="PrcEnvelopeNumber8",b[b["PrcEnvelopeNumber8Rotated"]=116]="PrcEnvelopeNumber8Rotated",b[b["PrcEnvelopeNumber9"]=104]="PrcEnvelopeNumber9",b[b["PrcEnvelopeNumber9Rotated"]=117]="PrcEnvelopeNumber9Rotated",b[b["Quarto"]=15]="Quarto",b[b["Standard10x11"]=45]="Standard10x11",b[b["Standard10x14"]=16]="Standard10x14",b[b["Standard11x17"]=17]="Standard11x17",b[b["Standard12x11"]=90]="Standard12x11",b[b["Standard15x11"]=46]="Standard15x11",b[b["Standard9x11"]=44]="Standard9x11",b[b["Statement"]=6]="Statement",b[b["Tabloid"]=3]="Tabloid",b[b["TabloidExtra"]=52]="TabloidExtra",b[b["USStandardFanfold"]=39]="USStandardFanfold",Ae.br.PaperSize=class{constructor(t=0,e="",r=0,i=0){this.createdByDefaultConstructor=0==t&&""==e&&0==r&&0==i,this._kind=t,this._name=e,this._width=r,this._height=i}get kind(){if(this._kind<=Ae.br.PaperKind.PrcEnvelopeNumber10Rotated&&this._kind!=(Ae.br.PaperKind.C65Envelope|Ae.br.PaperKind.Standard10x14)&&this._kind!=(Ae.br.PaperKind.B4Envelope|Ae.br.PaperKind.Standard10x14))return this._kind;return Ae.br.PaperKind.Custom}get name(){return this._name}set name(t){this._kind!=Ae.br.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._name=t)}get width(){return this._width}set width(t){this._kind!=Ae.br.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._width=t)}get height(){return this._height}set height(t){this._kind!=Ae.br.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._height=t)}},(v=Et=Ae.br.PrinterUnit||(Ae.br.PrinterUnit={}))[v["Display"]=0]="Display",v[v["ThousandthsOfAnInch"]=1]="ThousandthsOfAnInch",v[v["HundredthsOfAMillimeter"]=2]="HundredthsOfAMillimeter",v[v["TenthsOfAMillimeter"]=3]="TenthsOfAMillimeter";{let n=class{static convert(t,e,r){var e=n.unitsPerDisplay(e),i;return t*n.unitsPerDisplay(r)/e}static unitsPerDisplay(t){switch(t){case Ae.br.PrinterUnit.Display:return 1;case Ae.br.PrinterUnit.ThousandthsOfAnInch:return 10;case Ae.br.PrinterUnit.HundredthsOfAMillimeter:return 25.4;case Ae.br.PrinterUnit.TenthsOfAMillimeter:return 2.54}return 1}};Ae.br.PrinterUnitConvert=n}Ae.bt.PaperSizeCollection=class extends J{};var D=class{get paperSizes(){var t;let e=new Ae.bt.PaperSizeCollection;return t=new Ae.br.PaperSize(Ae.br.PaperKind.A2,"A2",1654,2339),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A3,"A3",1169,1654),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A3Extra,"A3Extra",1268,1752),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A3ExtraTransverse,"A3ExtraTransverse",1268,1752),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A3Rotated,"A3Rotated",1654,1169),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A3Transverse,"A3Transverse",1169,1654),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4,"A4",827,1169),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4Extra,"A4Extra",927,1269),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4Plus,"A4Plus",827,1299),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4Rotated,"A4Rotated",1169,827),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4Small,"A4Small",827,1169),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A4Transverse,"A4Transverse",827,1169),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A5,"A5",583,827),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A5Extra,"A5Extra",685,925),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A5Rotated,"A5Rotated",827,583),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A5Transverse,"A5Transverse",583,827),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A6,"A6",413,583),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.A6Rotated,"A6Rotated",583,413),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.APlus,"APlus",894,1402),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B4,"B4",1012,1433),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B4Envelope,"B4Envelope",984,1390),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B4JisRotated,"B4JisRotated",1433,1012),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B5,"B5",717,1012),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B5Envelope,"B5Envelope",693,984),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B5Extra,"B5Extra",791,1087),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B5JisRotated,"B5JisRotated",1012,717),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B5Transverse,"B5Transverse",717,1012),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B6Envelope,"B6Envelope",693,492),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B6Jis,"B6Jis",504,717),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.B6JisRotated,"B6JisRotated",717,504),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.BPlus,"BPlus",1201,1917),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.C3Envelope,"C3Envelope",1276,1803),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.C4Envelope,"C4Envelope",902,1276),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.C5Envelope,"C5Envelope",638,902),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.C65Envelope,"C65Envelope",449,902),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.C6Envelope,"C6Envelope",449,638),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.CSheet,"CSheet",1700,2200),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.DLEnvelope,"DLEnvelope",433,866),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.DSheet,"DSheet",2200,3400),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.ESheet,"ESheet",3400,4400),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Executive,"Executive",725,1050),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Folio,"Folio",850,1300),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.GermanLegalFanfold,"GermanLegalFanfold",850,1300),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.GermanStandardFanfold,"GermanStandardFanfold",850,1200),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.InviteEnvelope,"InviteEnvelope",866,866),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.IsoB4,"IsoB4",984,1390),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.ItalyEnvelope,"ItalyEnvelope",433,906),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseDoublePostcard,"JapaneseDoublePostcard",787,583),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseDoublePostcardRotated,"JapaneseDoublePostcardRotated",583,787),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeChouNumber3,"JapaneseEnvelopeChouNumber3",472,925),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeChouNumber3Rotated,"JapaneseEnvelopeChouNumber3Rotated",925,472),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeChouNumber4,"JapaneseEnvelopeChouNumber4",354,807),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeChouNumber4Rotated,"JapaneseEnvelopeChouNumber4Rotated",807,354),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeKakuNumber2,"JapaneseEnvelopeKakuNumber2",945,1307),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeKakuNumber2Rotated,"JapaneseEnvelopeKakuNumber2Rotated",1307,945),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeKakuNumber3,"JapaneseEnvelopeKakuNumber3",850,1091),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeKakuNumber3Rotated,"JapaneseEnvelopeKakuNumber3Rotated",1091,850),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeYouNumber4,"JapaneseEnvelopeYouNumber4",413,925),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapaneseEnvelopeYouNumber4Rotated,"JapaneseEnvelopeYouNumber4Rotated",925,413),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapanesePostcard,"JapanesePostcard",394,583),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.JapanesePostcardRotated,"JapanesePostcardRotated",583,394),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Ledger,"Ledger",1700,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Legal,"Legal",850,1400),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LegalExtra,"LegalExtra",950,1500),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Letter,"Letter",850,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterExtra,"LetterExtra",950,1200),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterExtraTransverse,"LetterExtraTransverse",950,1200),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterPlus,"LetterPlus",850,1269),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterRotated,"LetterRotated",1100,850),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterSmall,"LetterSmall",850,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.LetterTransverse,"LetterTransverse",850,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.MonarchEnvelope,"MonarchEnvelope",387,750),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Note,"Note",850,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Number10Envelope,"Number10Envelope",412,950),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Number11Envelope,"Number11Envelope",450,1037),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Number12Envelope,"Number12Envelope",475,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Number14Envelope,"Number14Envelope",500,1150),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Number9Envelope,"Number9Envelope",387,887),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PersonalEnvelope,"PersonalEnvelope",362,650),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc16K,"Prc16K",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc16KRotated,"Prc16KRotated",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc32K,"Prc32K",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc32KBig,"Prc32KBig",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc32KBigRotated,"Prc32KBigRotated",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Prc32KRotated,"Prc32KRotated",0,0),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber1,"PrcEnvelopeNumber1",402,650),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber10,"PrcEnvelopeNumber10",1276,1803),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber10Rotated,"PrcEnvelopeNumber10Rotated",1803,1276),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber1Rotated,"PrcEnvelopeNumber1Rotated",650,402),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber2,"PrcEnvelopeNumber2",650,402),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber2Rotated,"PrcEnvelopeNumber2Rotated",402,650),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber3,"PrcEnvelopeNumber3",492,693),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber3Rotated,"PrcEnvelopeNumber3Rotated",693,492),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber4,"PrcEnvelopeNumber4",433,819),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber4Rotated,"PrcEnvelopeNumber4Rotated",819,433),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber5,"PrcEnvelopeNumber5",433,866),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber5Rotated,"PrcEnvelopeNumber5Rotated",866,433),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber6,"PrcEnvelopeNumber6",472,906),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber6Rotated,"PrcEnvelopeNumber6Rotated",906,472),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber7,"PrcEnvelopeNumber7",630,906),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber7Rotated,"PrcEnvelopeNumber7Rotated",906,630),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber8,"PrcEnvelopeNumber8",472,1217),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber8Rotated,"PrcEnvelopeNumber8Rotated",1217,472),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber9,"PrcEnvelopeNumber9",902,1276),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.PrcEnvelopeNumber9Rotated,"PrcEnvelopeNumber9Rotated",1276,902),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Quarto,"Quarto",846,1083),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard10x11,"Standard10x11",1e3,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard10x14,"Standard10x14",1e3,1400),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard11x17,"Standard11x17",1100,1700),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard12x11,"Standard12x11",1200,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard15x11,"Standard15x11",1500,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Standard9x11,"Standard9x11",900,1100),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Statement,"Statement",550,850),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.Tabloid,"Tabloid",1100,1700),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.TabloidExtra,"TabloidExtra",1200,1800),e.add(t),t=new Ae.br.PaperSize(Ae.br.PaperKind.USStandardFanfold,"USStandardFanfold",1487,1100),e.add(t),e}},Nt,B,Ft,e,Rt,l,Lt,k;Ae.bt.PrinterSettings=D,(B=Nt=Ae.bs.HotkeyPrefix||(Ae.bs.HotkeyPrefix={}))[B["Hide"]=0]="Hide",B[B["None"]=1]="None",B[B["Show"]=2]="Show";let Ne=Ae.b.StiMath;Ae.bh.Calendar=class{static getWeekOfYear(t,e=Ae.bh.CalendarWeekRule.FirstDay,r=Ae.b.DayOfWeek.Monday){switch(e){case Ae.bh.CalendarWeekRule.FirstDay:return this.getFirstDayWeekOfYear(t,r);case Ae.bh.CalendarWeekRule.FirstFullWeek:return this.getWeekOfYearFullDays(t,r,7,365);case Ae.bh.CalendarWeekRule.FirstFourDayWeek:return this.getWeekOfYearFullDays(t,r,4,365)}return 0}static getFirstDayWeekOfYear(t,e){var r=t.dayOfYear-1,i,e=(t.dayOfWeek-r%7-e+14)%7;return Ne.trunc((r+e)/7)+1}static getWeekOfYearFullDays(t,e,r,i){let n=t.dayOfYear-1;var a=t.dayOfWeek-n%7;let s=(e-a+14)%7;0!=s&&s>=r&&(s-=7);let o=n-s;if(0<=o)return Ne.trunc(o/7)+1;var t=t.year;return n=t<=1?i:this.getDaysInYear(t-1),a-=n%7,s=(e-a+14)%7,0!=s&&s>=r&&(s-=7),o=n-s,Ne.trunc(o/7)+1}static getDaysInYear(t){return t%4!=0||t%100==0&&t%400!=0?365:366}static getWeekOfMonth(t,e=Ae.bh.CalendarWeekRule.FirstDay,r=Ae.b.DayOfWeek.Monday){let i=this.getWeekOfYear(new Ae.b.DateTime(t.year,t.month,1,0,0,0,0),e,r);var n=this.getWeekOfYear(t,e,r);return 1==t.month&&10<i&&(i=i<=n?this.getWeekOfYear(new Ae.b.DateTime(t.year-1,12,1,0,0,0,0),e,r):1),n-i+1}},(e=Ft=Ae.bh.CalendarWeekRule||(Ae.bh.CalendarWeekRule={}))[e["FirstDay"]=0]="FirstDay",e[e["FirstFullWeek"]=1]="FirstFullWeek",e[e["FirstFourDayWeek"]=2]="FirstFourDayWeek",Ae.bh.RegionInfo=class{constructor(t){this.name="",this.nativeName="",this.threeLetterISORegionName="",this.threeLetterWindowsRegionName="",this.twoLetterISORegionName="",this.name=t,this.nativeName=t,this.threeLetterISORegionName=t,this.threeLetterWindowsRegionName=t,this.twoLetterISORegionName=t}},(l=Rt=Ae.bo.SeekOrigin||(Ae.bo.SeekOrigin={}))[l["Begin"]=0]="Begin",l[l["Current"]=1]="Current",l[l["End"]=2]="End",Ae.bo.File=class{static getFile(t,e=!1,r="",i=null){return Ae.bo.Http.getFile(t,e,r,i)}static getFileAsync(t,e,r=!1,i=""){Ae.bo.Http.getFileAsync(t,e,r,i)}static saveFile(t,e){}static getFilesNames(t){return[]}},Ae.bo.Http=class{static getFile(r,i=!1,n="",a=null){try{let t=new XMLHttpRequest;try{if(t.open("GET",r,!1),t.setRequestHeader("Cache-Control","no-store, no-cache, must-revalidate"),t.setRequestHeader("Pragma","no-cache"),t.setRequestHeader("ETag","0"),Ae.b.StiString.isNullOrEmpty(n)||t.setRequestHeader("Content-Type",n),a)for(var s of a)t.setRequestHeader(s.key,s.value)}catch(t){Ae.b.StiError.showError('File "'+r+'" not found',!0)}let e=!1;if(i){try{t.responseType="arraybuffer",e=!0}catch(t){e=!1}e||("overrideMimeType"in t?t.overrideMimeType("text/plain; charset=x-user-defined"):t.setRequestHeader("Accept-Charset","x-user-defined"))}if(t.send(),200==t.status){if(i){let r=t.response;var o;if(e)return new Uint8Array(r,0);var l=new ArrayBuffer(r.length);let i=new Uint8Array(l);for(let t=0,e=r.length;t<e;t++)i[t]=255&r.charCodeAt(t);return r=null,i}return t.responseText}}catch(t){}}static getFileAsync(n,r,a=!1,t=""){try{let i=new XMLHttpRequest;try{i.open("GET",r,!0),i.setRequestHeader("Cache-Control","no-store, no-cache, must-revalidate"),i.setRequestHeader("Pragma","no-cache"),i.setRequestHeader("ETag","0"),Ae.b.StiString.isNullOrEmpty(t)||i.setRequestHeader("Content-Type",t)}catch(t){Ae.b.StiError.showError('File "'+r+'" not found',!0),n(null)}let e=!1;if(a){try{i.responseType="arraybuffer",e=!0}catch(t){e=!1}e||("overrideMimeType"in i?i.overrideMimeType("text/plain; charset=x-user-defined"):i.setRequestHeader("Accept-Charset","x-user-defined"))}i.onreadystatechange=function(){if(i.readyState!=XMLHttpRequest.DONE)return;if(200==i.status){if(a){if(e){var t=new Uint8Array(i.response,0);return void n(t)}var t=new ArrayBuffer(i.response.length);let r=new Uint8Array(t);for(let t=0,e=i.response.length;t<e;t++)r[t]=255&i.response.charCodeAt(t);return void n(r)}return void n(i.responseText)}},i.send()}catch(t){n(null)}}static getUrlParameters(){let i=[];return Ae.b.NodeJs.isNodeJs()||window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,(t,e,r)=>i.push({name:e,value:decodeURI(r)}).toString()),i}static send(t,e,r="",i=null){let n=new XMLHttpRequest;if(n.open(t,e,!1),"get"===t.toLocaleLowerCase()&&(n.setRequestHeader("Cache-Control","no-store, no-cache, must-revalidate"),n.setRequestHeader("Pragma","no-cache"),n.setRequestHeader("ETag","0")),i)for(var a of i)n.setRequestHeader(a.key,a.value);return n.send(r),{status:n.status,responseText:n.responseText,statusText:n.statusText}}};{let i=class{constructor(t=null){this._origin=0,this._position=0,this._buffer=[],null!=t&&this._buffer.stimulsoft().addRange(t)}get position(){return this._position}get length(){return this._buffer.length-this._origin}get canSeek(){return!0}get canWrite(){return!0}setLength(t){this._buffer=this._buffer.slice(0,t)}toArray(){return this._buffer}writeTo(t){t.write(this._buffer,0,null!=this._buffer?this._buffer.length:0)}writeByte(t){this._buffer[this._position++]=t}write(e,r=0,i=e.length){for(let t=0;t<i;t++)this._buffer[this._position++]=e[r+t]}writeBytes(e,r=0,i=e.length){for(let t=0;t<i;t++)this._buffer[this._position++]=e[r+t]}writeLine1(t=null,...e){let r=null;Ae.b.StiString.isNullOrEmpty(t)||(r=Ae.b.StiString.format1(t,e)),this.writeString(r,!0)}writeLine(t=null){this.writeString(t,!0)}writeString(e,t=!1){if(null!=e)for(let t=0;t<e.length;t++)this._buffer[this._position++]=255&e.charCodeAt(t);t&&(this._buffer[this._position++]=13,this._buffer[this._position++]=10)}read(e,r=0,i=e.length){for(let t=r;t<r+i;t++){if(this._position+1>this.length)return t-r;e[t]=this._buffer[this._position++]}return i}seek(t,e){if(t>i.memStreamMaxLength)throw new Error("ArgumentOutOfRange_StreamLength");let r;switch(e){case Ae.bo.SeekOrigin.Begin:if(r=this._origin+t,t<0||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;case Ae.bo.SeekOrigin.Current:if(r=this._position+t,this._position+t<this._origin||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;case Ae.bo.SeekOrigin.End:if(r=this.length+t,this.length+t<this._origin||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;default:throw new Error("Argument_InvalidSeekOrigin")}return this._position}flush(){}close(){this._position=0,this._buffer=null}copyTo(e){for(let t=0;t<this.length;t++)e._buffer[t]=this._buffer[t]}};i.memStreamMaxLength=Number.MAX_VALUE,Ae.bo.MemoryStream=i}Ae.bo.Path=class{static Combine(t,e){if(!t)return e;if(!e)return t;return t.stimulsoft().trimEnd("\\"),e.stimulsoft().trimStart("\\"),t+"\\"+e}static getFileNameWithoutExtension(t){let e=t.lastIndexOf(".");return 0<e&&(t=t.substr(0,e)),e=t.lastIndexOf("/"),0<e&&(t=t.substring(e+1)),e=t.lastIndexOf("\\"),t=0<e?t.substring(e+1):t}static getExtension(t){var e=t.lastIndexOf(".");if(0<e)return t.substr(e);return""}static getSep(){return"\\"}},Ae.bo.StreamReader=class{constructor(t,e=null){this.stream=t,this.stream.seek(0,Ae.bo.SeekOrigin.Begin),this.encoding=e}read(){var t=[],e;if(0<this.stream.read(t,0,1))return String.fromCharCode(t[0]);return null}readLine(){let t=this.readLineInternal();if(null!=this.encoding&&!Ae.b.StiString.isNullOrEmpty(t))return this.encoding.getString(t.stimulsoft().toBytesArray());return t}readLineInternal(){var t;let e="",r=!1;while(null!=(t=this.read())){if(r){if("\n"==t)return e;return this.stream.seek(-1,Ae.bo.SeekOrigin.Current),e}if("\r"==t)r=!0;else{if("\n"==t)return e;e+=t}}if(0<e.length)return e;return null}};{let s=class{constructor(t,e,r=null){this.webName="",this.encodingName=t,this.codepage=e,this.webName=null==r||""==r?t:r}getBytes(t){if(this.codepage==s.CodePageWindows1250||this.codepage==s.CodePageWindows1251||this.codepage==s.CodePageWindows1252||this.codepage==s.CodePageWindows1256||this.codepage==s.CodePageISO_8859_1)return s.fromUnicodeToCodePage(t,this.codepage);if("ASCII"==this.encodingName)return t.stimulsoft().toBytesArray();return t.stimulsoft().toUnicodeString().stimulsoft().toBytesArray()}getString(t){if(this.codepage==s.CodePageWindows1250||this.codepage==s.CodePageWindows1251||this.codepage==s.CodePageWindows1252||this.codepage==s.CodePageWindows1256||this.codepage==s.CodePageISO_8859_1)return s.fromCodePageToUnicode(this.codepage,t);let e="";for(var r of t)e+=String.fromCharCode(r);if("ASCII"==this.encodingName)return e;return e=e.stimulsoft().fromUnicodeString(),65279==e.charCodeAt(0)&&(e=e.substring(1)),e}static getEncoding(t){switch(t){case s.CodePageDefault:return s.Default;case s.CodePageUnicode:return s.Unicode;case s.CodePageBigEndian:return s.BigEndianUnicode;case s.CodePageUTF7:return s.UTF7;case s.CodePageUTF8:return s.UTF8;case s.CodePageWindows1250:return s.Windows1250;case s.CodePageWindows1251:return s.Windows1251;case s.CodePageWindows1252:return s.Windows1252;case s.CodePageWindows1256:return s.Windows1256;case s.CodePageASCII:return s.ASCII;case s.CodePageISO_8859_1:return s.ISO_8859_1;default:return s.Default}}static fromCodePageToUnicode(t,e){let r=null;t==s.CodePageWindows1250&&(r=this._windows_1250),t==s.CodePageWindows1251&&(r=this._windows_1251),t==s.CodePageWindows1252&&(r=this._windows_1252),t==s.CodePageWindows1256&&(r=this._windows_1256);var i=null==r||t==s.CodePageISO_8859_1,n;let a="";for(n of e)a+=String.fromCharCode(n<128||i?n:r[n-128]);return a}static fromUnicodeToCodePage(r,t){if(null==this.charToCodepageList){this.charToCodepageList=new Object,this.fillCodepage(1250,this._windows_1250),this.fillCodepage(1251,this._windows_1251),this.fillCodepage(1252,this._windows_1252),this.fillCodepage(1256,this._windows_1256);let e=new Object;for(let t=0;t<=127;t++)e[128+t]=128+t;this.charToCodepageList[this.CodePageISO_8859_1]=e}let i=this.charToCodepageList[t];null==i&&(i=this.charToCodepageList[this.CodePageISO_8859_1]);let n=[];for(let e=0;e<r.length;e++){var a=r.charCodeAt(e);let t=a<128?a:i[a];null==t&&(t=63),n[e]=t}return n}static fillCodepage(t,e){let r=new Object;for(let t=0;t<=127;t++)r[e[t]]=128+t;this.charToCodepageList[t]=r}};s.CodePageDefault=0,s.CodePageNoOEM=1,s.CodePageNoMac=2,s.CodePageNoThread=3,s.CodePageNoSymbol=42,s.CodePageUnicode=1200,s.CodePageBigEndian=1201,s.CodePageWindows1250=1250,s.CodePageWindows1251=1251,s.CodePageWindows1252=1252,s.CodePageWindows1256=1256,s.CodePageMacGB2312=10008,s.CodePageGB2312=20936,s.CodePageMacKorean=10003,s.CodePageDLLKorean=20949,s.ISO2022JP=50220,s.ISO2022JPESC=50221,s.ISO2022JPSISO=50222,s.ISOKorean=50225,s.ISOSimplifiedCN=50227,s.EUCJP=51932,s.ChineseHZ=52936,s.DuplicateEUCCN=51936,s.EUCCN=936,s.EUCKR=51949,s.CodePageASCII=20127,s.CodePageISO_8859_1=28591,s.ISCIIAssemese=57006,s.ISCIIBengali=57003,s.ISCIIDevanagari=57002,s.ISCIIGujarathi=57010,s.ISCIIKannada=57008,s.ISCIIMalayalam=57009,s.ISCIIOriya=57007,s.ISCIIPanjabi=57011,s.ISCIITamil=57004,s.ISCIITelugu=57005,s.GB18030=54936,s.ISO_8859_8I=38598,s.ISO_8859_8_Visual=28598,s.ENC50229=50229,s.CodePageUTF7=65e3,s.CodePageUTF8=65001,s.CodePageUTF32=12e3,s.CodePageUTF32BE=12001,s.ASCII=new s("ASCII",s.CodePageASCII,"US-ASCII"),s.BigEndianUnicode=new s("BigEndianUnicode",s.CodePageBigEndian),s.Default=new s("Unicode",s.CodePageUTF8,"utf-8"),s.Unicode=new s("Unicode",s.CodePageUTF8,"utf-8"),s.UTF32=new s("UTF32",s.CodePageUTF32,"utf-32"),s.UTF7=new s("UTF7",s.CodePageUTF7,"utf-7"),s.UTF8=new s("UTF8",s.CodePageUTF8,"utf-8"),s.Windows1250=new s("Windows-1250",s.CodePageWindows1250,"windows-1250"),s.Windows1251=new s("Windows-1251",s.CodePageWindows1251,"windows-1251"),s.Windows1252=new s("Windows-1252",s.CodePageWindows1252,"windows-1252"),s.Windows1256=new s("Windows-1256",s.CodePageWindows1256,"windows-1256"),s.ISO_8859_1=new s("ISO-8859-1",s.CodePageISO_8859_1,"iso-8859-1"),s._windows_1250=[8364,129,8218,131,8222,8230,8224,8225,136,8240,352,8249,346,356,381,377,144,8216,8217,8220,8221,8226,8211,8212,152,8482,353,8250,347,357,382,378,160,711,728,321,164,260,166,167,168,169,350,171,172,173,174,379,176,177,731,322,180,181,182,183,184,261,351,187,317,733,318,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],s._windows_1251=[1026,1027,8218,1107,8222,8230,8224,8225,8364,8240,1033,8249,1034,1036,1035,1039,1106,8216,8217,8220,8221,8226,8211,8212,32,8482,1113,8250,1114,1116,1115,1119,160,1038,1118,1032,164,1168,166,167,1025,169,1028,171,172,173,174,1031,176,177,1030,1110,1169,181,182,183,1105,8470,1108,187,1112,1029,1109,1111,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103],s._windows_1252=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],s._windows_1256=[8364,1662,8218,402,8222,8230,8224,8225,710,8240,1657,8249,338,1670,1688,1672,1711,8216,8217,8220,8221,8226,8211,8212,1705,8482,1681,8250,339,8204,8205,1722,160,1548,162,163,164,165,166,167,168,169,1726,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,1563,187,188,189,190,1567,1729,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,215,1591,1592,1593,1594,1600,1601,1602,1603,224,1604,226,1605,1606,1607,1608,231,232,233,234,235,1609,1610,238,239,1611,1612,1613,1614,244,1615,1616,247,1617,249,1618,251,252,8206,8207,1746],s.charToCodepageList=null,Ae.bl.Encoding=s}Ae.bl.StringBuilder=class{constructor(t=null){this.isNew=!0,this.partArray=null!=t?[t]:[],this.isNew=!0}appendSingle(t){null!=t&&(t=t.toString(),this.partArray.push(t),this.isNew=!0)}appendThese(t){for(var e of t)this.appendSingle(e);return this}append(...t){return this.appendThese(t),this}appendCount(e,r=1){if(null!=e){e=e.toString();for(let t=0;t<r;t++)this.partArray.push(e);this.isNew=!0}return this}appendLine(...t){return this.appendLines(t),this}appendLines(t){for(var e of t)null!==e&&void 0!==e&&(this.appendSingle(e),this.partArray.push("\r\n"),this.isNew=!0);return this}appendFormat(t,...e){return this.append(Ae.b.StiString.format1(t,e))}insert(e,r,i=1){for(let t=e;t<e+i;t++)this.partArray.splice(t,0,r),this.isNew=!0;return this}remove(e,r){for(let t=e;t<e+r;t++)this.partArray.stimulsoft().removeAt(e),this.isNew=!0;return this}get isEmpty(){return 0==this.partArray.length}get length(){return this.toString(),this.latest.length}set length(r){var i=this.length;if(i<r){let e="";for(let t=0;t<r-i;t++)e+=" ";this.partArray.push(e)}else if(r<i){let t=this.toString();this.clear(),this.append(t.substr(0,r))}}toString(){return this.isNew&&(this.latest=this.partArray.join("")),this.isNew=!1,this.latest}join(t){return this.partArray.join(t)}clear(){this.partArray.length=0,this.isNew=!0}dispose(){this.clear()}charAt(t){return this.toString().charAt(t)}charCodeAt(t){return this.toString().charCodeAt(t)}setByIndex(t,e){let r=this.toString();r=(0<t?r.substring(0,t):"")+e+(t+1<r.length?r.substring(t+1):""),this.clear(),this.append(r)}formatError(t=""){throw new Error("Format_InvalidString"+t)}replace(t,e){return this.isNew=!0,this.partArray=[this.toString().split(t).join(e)],this}};let Mt=Ae.bl.StringBuilder;Ae.bo.TextWriter=class{constructor(){this.sb=new Mt}write(t){this.sb.append(t)}writeLine(t=null){null==t?this.sb.appendLine(""):this.sb.appendLine(t)}close(){}flush(){}getStringBuilder(){return this.sb}};let Ot=Ae.bl.Encoding,Ht=Ae.bo.TextWriter;Ae.bo.StreamWriter=class extends Ht{constructor(t,e=Ot.UTF8){super(),this.cn="\r\n".stimulsoft().toBytesArray(),this.stream=t,this.encoding=e}writeLine(t){this.write(t),this.stream.write(this.cn)}write(t){null!=t&&this.stream.write(this.encoding.getBytes(t))}close(){this.stream.close()}flush(){this.stream.flush()}};let Fe=Ae.bn.Color;Ae.bl.StiReportObjectStringConverter=class{static convertStringToColorArray(t){let e=[];if(0<t.length)for(var r of t.split(","))e.push(this.convertStringToColor(r));return e}static convertStringToColor(e){if(0==e.length)return Fe.transparent;if(-1!=e.indexOf(";")){let t=(e=e.trim()).split(";");try{if(4==t.length){var r=Fe.fromArgb(t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber(),t[3].stimulsoft().toNumber());if(0==r.r&&0==r.g&&0==r.b&&0==r.a)return Fe.transparent;return r}return 3==t.length?Fe.fromArgb(255,t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber()):Fe.empty}catch(t){return Ae.b.StiError.showError(t,!1),Fe.empty}}else if(-1!=e.indexOf("[")){let t=(e=e.trim().substring(1,e.length-1).replace("]","")).split(":");try{if(4==t.length){var i=Fe.fromArgb(t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber(),t[3].stimulsoft().toNumber());if(0==i.r&&0==i.g&&0==i.b&&0==i.a)return Fe.transparent;return i}var n;if(3==t.length)return Fe.fromArgb(255,t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber());return Fe.empty}catch(t){return Ae.b.StiError.showError(t,!1),Fe.empty}}else{if(-1==e.indexOf(", "))return this.getByName(e);{let t=(e=e.trim()).split(", ");try{return 4==t.length?Fe.fromArgb(t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber(),t[3].stimulsoft().toNumber()):3==t.length?Fe.fromArgb(255,t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber(),t[2].stimulsoft().toNumber()):Fe.empty}catch(t){return Ae.b.StiError.showError(t,!1),Fe.empty}}}}static getByName(t){switch(t.trim()){case"AliceBlue":case"Alice Blue":return Fe.aliceBlue;case"AntiqueWhite":case"Antique White":return Fe.antiqueWhite;case"Aqua":return Fe.aqua;case"Aquamarine":return Fe.aquamarine;case"Azure":return Fe.azure;case"Beige":return Fe.beige;case"Bisque":return Fe.bisque;case"Black":return Fe.black;case"BlanchedAlmond":case"Blanched Almond":return Fe.blanchedAlmond;case"Blue":return Fe.blue;case"BlueViolet":case"Blue Violet":return Fe.blueViolet;case"Brown":return Fe.brown;case"BurlyWood":case"Burly Wood":return Fe.burlyWood;case"CadetBlue":case"Cadet Blue":return Fe.cadetBlue;case"Chartreuse":return Fe.chartreuse;case"Chocolate":return Fe.chocolate;case"Coral":return Fe.coral;case"CornflowerBlue":case"Cornflower Blue":return Fe.cornflowerBlue;case"Cornsilk":return Fe.cornsilk;case"Crimson":return Fe.crimson;case"Cyan":return Fe.cyan;case"DarkBlue":case"Dark Blue":return Fe.darkBlue;case"DarkCyan":case"Dark Cyan":return Fe.darkCyan;case"DarkGoldenrod":case"Dark Goldenrod":return Fe.darkGoldenrod;case"DarkGray":case"Dark Gray":return Fe.darkGray;case"DarkGreen":case"Dark Green":return Fe.darkGreen;case"DarkKhaki":case"Dark Khaki":return Fe.darkKhaki;case"DarkMagenta":case"Dark Magenta":return Fe.darkMagenta;case"DarkOliveGreen":case"Dark Olive Green":return Fe.darkOliveGreen;case"DarkOrange":case"Dark Orange":return Fe.darkOrange;case"DarkOrchid":case"Dark Orchid":return Fe.darkOrchid;case"DarkRed":case"Dark Red":return Fe.darkRed;case"DarkSalmon":case"Dark Salmon":return Fe.darkSalmon;case"DarkSeaGreen":case"Dark Sea Green":return Fe.darkSeaGreen;case"DarkSlateBlue":case"Dark Slate Blue":return Fe.darkSlateBlue;case"DarkSlateGray":case"Dark Slate Gray":return Fe.darkSlateGray;case"DarkTurquoise":case"Dark Turquoise":return Fe.darkTurquoise;case"DarkViolet":case"Dark Violet":return Fe.darkViolet;case"DeepPink":case"Deep Pink":return Fe.deepPink;case"DeepSkyBlue":case"Deep Sky Blue":return Fe.deepSkyBlue;case"DimGray":case"Dim Gray":return Fe.dimGray;case"DodgerBlue":case"Dodger Blue":return Fe.dodgerBlue;case"Firebrick":return Fe.firebrick;case"FloralWhite":case"Floral White":return Fe.floralWhite;case"ForestGreen":case"Forest Green":return Fe.forestGreen;case"Fuchsia":return Fe.fuchsia;case"Gainsboro":return Fe.gainsboro;case"GhostWhite":case"Ghost White":return Fe.ghostWhite;case"Gold":return Fe.gold;case"Goldenrod":return Fe.goldenrod;case"Gray":return Fe.gray;case"Green":return Fe.green;case"GreenYellow":case"Green Yellow":return Fe.greenYellow;case"Honeydew":return Fe.honeydew;case"HotPink":case"Hot Pink":return Fe.hotPink;case"IndianRed":case"Indian Red":return Fe.indianRed;case"Indigo":return Fe.indigo;case"Ivory":return Fe.ivory;case"Khaki":return Fe.khaki;case"Lavender":return Fe.lavender;case"LavenderBlush":case"Lavender Blush":return Fe.lavenderBlush;case"LawnGreen":case"Lawn Green":return Fe.lawnGreen;case"LemonChiffon":case"Lemon Chiffon":return Fe.lemonChiffon;case"LightBlue":case"Light Blue":return Fe.lightBlue;case"LightCoral":case"Light Coral":return Fe.lightCoral;case"LightCyan":case"Light Cyan":return Fe.lightCyan;case"LightGoldenrodYellow":case"Light Goldenrod Yellow":return Fe.lightGoldenrodYellow;case"LightGray":case"Light Gray":return Fe.lightGray;case"LightGreen":case"Light Green":return Fe.lightGreen;case"LightPink":case"Light Pink":return Fe.lightPink;case"LightSalmon":case"Light Salmon":return Fe.lightSalmon;case"LightSeaGreen":case"Light Sea Green":return Fe.lightSeaGreen;case"LightSkyBlue":case"Light Sky Blue":return Fe.lightSkyBlue;case"LightSlateGray":case"Light Slate Gray":return Fe.lightSlateGray;case"LightSteelBlue":case"Light Steel Blue":return Fe.lightSteelBlue;case"LightYellow":case"Light Yellow":return Fe.lightYellow;case"Lime":return Fe.lime;case"LimeGreen":case"Lime Green":return Fe.limeGreen;case"Linen":return Fe.linen;case"Magenta":return Fe.magenta;case"Maroon":return Fe.maroon;case"MediumAquamarine":case"Medium Aquamarine":return Fe.mediumAquamarine;case"MediumBlue":case"Medium Blue":return Fe.mediumBlue;case"MediumOrchid":case"Medium Orchid":return Fe.mediumOrchid;case"MediumPurple":case"Medium Purple":return Fe.mediumPurple;case"MediumSeaGreen":case"Medium Sea Green":return Fe.mediumSeaGreen;case"MediumSlateBlue":case"Medium Slate Blue":return Fe.mediumSlateBlue;case"MediumSpringGreen":case"Medium Spring Green":return Fe.mediumSpringGreen;case"MediumTurquoise":case"Medium Turquoise":return Fe.mediumTurquoise;case"MediumVioletRed":case"Medium Violet Red":return Fe.mediumVioletRed;case"MidnightBlue":case"Midnight Blue":return Fe.midnightBlue;case"MintCream":case"Mint Cream":return Fe.mintCream;case"MistyRose":case"Misty Rose":return Fe.mistyRose;case"Moccasin":return Fe.moccasin;case"NavajoWhite":case"Navajo White":return Fe.navajoWhite;case"Navy":return Fe.navy;case"OldLace":case"Old Lace":return Fe.oldLace;case"Olive":return Fe.olive;case"OliveDrab":case"Olive Drab":return Fe.oliveDrab;case"Orange":return Fe.orange;case"OrangeRed":case"Orange Red":return Fe.orangeRed;case"Orchid":return Fe.orchid;case"PaleGoldenrod":case"Pale Goldenrod":return Fe.paleGoldenrod;case"PaleGreen":case"Pale Green":return Fe.paleGreen;case"PaleTurquoise":case"Pale Turquoise":return Fe.paleTurquoise;case"PaleVioletRed":case"Pale Violet Red":return Fe.paleVioletRed;case"PapayaWhip":case"Papaya Whip":return Fe.papayaWhip;case"PeachPuff":case"Peach Puff":return Fe.peachPuff;case"Peru":return Fe.peru;case"Pink":return Fe.pink;case"Plum":return Fe.plum;case"PowderBlue":case"Powder Blue":return Fe.powderBlue;case"Purple":return Fe.purple;case"Red":return Fe.red;case"RosyBrown":case"Rosy Brown":return Fe.rosyBrown;case"RoyalBlue":case"Royal Blue":return Fe.royalBlue;case"SaddleBrown":case"Saddle Brown":return Fe.saddleBrown;case"Salmon":return Fe.salmon;case"SandyBrown":case"Sandy Brown":return Fe.sandyBrown;case"SeaGreen":case"Sea Green":return Fe.seaGreen;case"SeaShell":case"Sea Shell":return Fe.seaShell;case"Sienna":return Fe.sienna;case"Silver":return Fe.silver;case"SkyBlue":case"Sky Blue":return Fe.skyBlue;case"SlateBlue":case"Slate Blue":return Fe.slateBlue;case"SlateGray":case"Slate Gray":return Fe.slateGray;case"Snow":return Fe.snow;case"SpringGreen":case"Spring Green":return Fe.springGreen;case"SteelBlue":case"Steel Blue":return Fe.steelBlue;case"Tan":return Fe.tan;case"Teal":return Fe.teal;case"Thistle":return Fe.thistle;case"Tomato":return Fe.tomato;case"Turquoise":return Fe.turquoise;case"Violet":return Fe.violet;case"Wheat":return Fe.wheat;case"White":return Fe.white;case"WhiteSmoke":case"White Smoke":return Fe.whiteSmoke;case"Yellow":return Fe.yellow;case"YellowGreen":case"Yellow Green":return Fe.yellowGreen;case"Transparent":return Fe.transparent}return Fe.transparent}},Ae.bl.TextUtils=class{static splitString(e,r){let i=new Array,n=new Mt;for(let t=0;t<e.length;t++){var a=e.charCodeAt(t);10==a?(i.push(this.trimEndWhiteSpace2(n.toString(),r)),n.clear()):r&&Be.isControl(e,t)&&9!=a||n.append(e.charAt(t))}return 0<n.length&&i.push(this.trimEndWhiteSpace2(n.toString(),r)),0==i.length&&i.push(""),i}static trimEndWhiteSpace(t){return this.trimEndWhiteSpace2(t,!0)}static trimEndWhiteSpace2(r,i){{let t="",e=r.length;while(0<e&&Be.isWhitespace(r[e-1])&&(i||32<=r.charCodeAt(e-1)))e--;return e==r.length?t=r:0<e&&(t=r.substring(0,e)),t}}static isWordWrapSymbol(t,e){var r=t.charCodeAt(e),i=t.charAt(e);if(12288<=r&&r<=55215||Be.isWhitespace(t,e)&&160!=r||"("==i||"{"==i)return!0;if(0<e){var e=t.charAt(e-1);if("!"==e||"%"==e||")"==e||"}"==e||"-"==e||"?"==e)return!0}return!1}static getWordWrapTextLines(t,h,c,d){let m=this.splitString(t,!1),p=1;null!=h&&(p=h.sizeInPoints);for(let u=0;u<m.length;u++){let r=m[u],i=new Mt,e=0;while(e<r.length)if(Be.isWhitespace(r,e))i.append(r.charAt(e)),e++;else{let t=new Mt;while(e<r.length&&!Be.isWhitespace(r,e))t.append(r.charAt(e)),e++;i.append(t)}let n=[];r=i.toString();for(let t=0;t<r.length;t++)n[t]=r.charCodeAt(t);let a=[],s=[],o=0,l=0;for(let t=0;t<n.length;t++)0<=n[t]&&(l+=1e3*Ae.bn.Graphics.measureString(String.fromCharCode(n[t]),h).width/p),a.push(Ne.trunc(l)),this.isWordWrapSymbol(r,t)&&0<t&&o++,s.push(o);var g;if(d<l*p/1e3){let t=r.length-1;var f=Ne.trunc(1e3*d/p);while(a[t]>f&&0<t)t--;let e=t;if(0<s[t])if(s[t]!=s[t+1]){e=t++;while(Be.isWhitespace(r,t)&&"\t"!=r.charAt(t))t++}else{while(!this.isWordWrapSymbol(r,t))t--;e=t-1;while(Be.isWhitespace(r,e)&&0<e)e--;while(Be.isWhitespace(r,t)&&"\t"!=i.charAt(t))t++}else t++;m[u]=c?r.substr(0,e+1)+"a":r.substr(0,e+1),m.stimulsoft().insert(u+1,r.substr(t,r.length-t).stimulsoft().trimStart(" "))}}return m}},(k=Lt=Ae.bm.Formatting||(Ae.bm.Formatting={}))[k["None"]=0]="None",k[k["Indented"]=1]="Indented",Ae.bm.XmlAttr=class{constructor(){this.name="",this.value=""}},Ae.bm.XmlAttrCollection=class extends J{getNamedItem(t){for(var e of this.list)if(e.name==t)return e;return null}};{let a=class{constructor(t){this.charProperties=t}static get instance(){return null==a.s_CharProperties&&a.initInstance(),new a(a.s_CharProperties)}static initInstance(){if(null!=a.s_CharProperties)return;var t=Ae.b.StiArray.create(Object,a.charPropertiesSize);a.s_CharProperties=t,a.setProperties(a.s_Whitespace,a.fWhitespace),a.setProperties(a.s_Letter,a.fLetter),a.setProperties(a.s_NCStartName,a.fNCStartName),a.setProperties(a.s_NCName,a.fNCName),a.setProperties(a.s_CharData,a.fCharData),a.setProperties(a.s_PublicID,a.fPublicId),a.setProperties(a.s_Text,a.fText),a.setProperties(a.s_AttrValue,a.fAttrValue)}static setProperties(r,i){for(let e=0;e<r.length;e+=2){var n=parseInt(r.charAt(e+1));for(let t=parseInt(r.charAt(e));t<=n;t++)a.s_CharProperties[t]|=i}}};a.fWhitespace=1,a.fLetter=2,a.fNCStartName=4,a.fNCName=8,a.fCharData=16,a.fPublicId=32,a.fText=64,a.fAttrValue=128,a.charPropertiesSize=0,a.s_Whitespace="\t\n\r\r  ",a.s_Letter="AZazÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁΆΆΈΊ"+"ΌΌΎΡΣώϐϖ"+"ϚϚϜϜϞϞϠϠ"+"ϢϳЁЌЎяёќ"+"ўҁҐӄӇӈӋӌ"+"ӐӫӮӵӸӹԱՖ"+"ՙՙաֆאתװײ"+"ءغفيٱڷںھ"+"ۀێېۓەەۥۦ"+"अहऽऽक़ॡঅঌ"+"এঐওনপরলল"+"শহড়ঢ়য়ৡৰৱ"+"ਅਊਏਐਓਨਪਰ"+"ਲਲ਼ਵਸ਼ਸਹਖ਼ੜ"+"ਫ਼ਫ਼ੲੴઅઋઍઍ"+"એઑઓનપરલળ"+"વહઽઽૠૠଅଌ"+"ଏଐଓନପରଲଳ"+"ଶହଽଽଡ଼ଢ଼ୟୡ"+"அஊஎஐஒகஙச"+"ஜஜஞடணதநப"+"மவஷஹఅఌఎఐ"+"ఒనపళవహౠౡ"+"ಅಌಎಐಒನಪಳ"+"ವಹೞೞೠೡഅഌ"+"എഐഒനപഹൠൡ"+"กฮะะาำเๅ"+"ກຂຄຄງຈຊຊ"+"ຍຍດທນຟມຣ"+"ລລວວສຫອຮ"+"ະະາຳຽຽເໄ"+"ཀཇཉཀྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼΩΩKÅ℮℮"+"ↀↂ〇〇〡〩ぁゔ"+"ァヺㄅㄬ一龥가힣",a.s_NCStartName="AZ__az"+"ÀÖØöøıĴľ"+"ŁňŊžƀǃǍǰ"+"ǴǵǺȗɐʨʻˁ"+"ΆΆΈΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"ЎяёќўҁҐӄ"+"ӇӈӋӌӐӫӮӵ"+"ӸӹԱՖՙՙաֆ"+"אתװײءغفي"+"ٱڷںھۀێېۓ"+"ەەۥۦअहऽऽ"+"क़ॡঅঌএঐওন"+"পরললশহড়ঢ়"+"য়ৡৰৱਅਊਏਐ"+"ਓਨਪਰਲਲ਼ਵਸ਼"+"ਸਹਖ਼ੜਫ਼ਫ਼ੲੴ"+"અઋઍઍએઑઓન"+"પરલળવહઽઽ"+"ૠૠଅଌଏଐଓନ"+"ପରଲଳଶହଽଽ"+"ଡ଼ଢ଼ୟୡஅஊஎஐ"+"ஒகஙசஜஜஞட"+"ணதநபமவஷஹ"+"అఌఎఐఒనపళ"+"వహౠౡಅಌಎಐ"+"ಒನಪಳವಹೞೞ"+"ೠೡഅഌഎഐഒന"+"പഹൠൡกฮะะ"+"าำเๅກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະະາຳ"+"ຽຽເໄཀཇཉཀྵ"+"ႠჅაჶᄀᄀᄂᄃ"+"ᄅᄇᄉᄉᄋᄌᄎᄒ"+"ᄼᄼᄾᄾᅀᅀᅌᅌ"+"ᅎᅎᅐᅐᅔᅕᅙᅙ"+"ᅟᅡᅣᅣᅥᅥᅧᅧ"+"ᅩᅩᅭᅮᅲᅳᅵᅵ"+"ᆞᆞᆨᆨᆫᆫᆮᆯ"+"ᆷᆸᆺᆺᆼᇂᇫᇫ"+"ᇰᇰᇹᇹḀẛẠỹ"+"ἀἕἘἝἠὅὈὍ"+"ὐὗὙὙὛὛὝὝ"+"Ὗώᾀᾴᾶᾼιι"+"ῂῄῆῌῐΐῖΊ"+"ῠῬῲῴῶῼΩΩ"+"KÅ℮℮ↀↂ〇〇"+"〡〩ぁゔァヺㄅㄬ"+"一龥가힣",a.s_NCName="-.09AZ__"+"az··ÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁːˑ̀ͅ"+"͠͡ΆΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"Ўяёќўҁ҃҆"+"ҐӄӇӈӋӌӐӫ"+"ӮӵӸӹԱՖՙՙ"+"աֆֹֻֽ֑֣֡"+"ֿֿׁׂׄׄאת"+"װײءغـْ٠٩"+"ٰڷںھۀێېۓ"+"ە۪ۭۨ۰۹ँः"+"अह़्॑॔क़ॣ"+"०९ঁঃঅঌএঐ"+"ওনপরললশহ"+"়়াৄেৈো্"+"ৗৗড়ঢ়য়ৣ০ৱ"+"ਂਂਅਊਏਐਓਨ"+"ਪਰਲਲ਼ਵਸ਼ਸਹ"+"਼਼ਾੂੇੈੋ੍"+"ਖ਼ੜਫ਼ਫ਼੦ੴઁઃ"+"અઋઍઍએઑઓન"+"પરલળવહ઼ૅ"+"ેૉો્ૠૠ૦૯"+"ଁଃଅଌଏଐଓନ"+"ପରଲଳଶହ଼ୃ"+"େୈୋ୍ୖୗଡ଼ଢ଼"+"ୟୡ୦୯ஂஃஅஊ"+"எஐஒகஙசஜஜ"+"ஞடணதநபமவ"+"ஷஹாூெைொ்"+"ௗௗ௧௯ఁఃఅఌ"+"ఎఐఒనపళవహ"+"ాౄెైొ్ౕౖ"+"ౠౡ౦౯ಂಃಅಌ"+"ಎಐಒನಪಳವಹ"+"ಾೄೆೈೊ್ೕೖ"+"ೞೞೠೡ೦೯ംഃ"+"അഌഎഐഒനപഹ"+"ാൃെൈൊ്ൗൗ"+"ൠൡ൦൯กฮะฺ"+"เ๎๐๙ກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະູົຽ"+"ເໄໆໆ່ໍ໐໙"+"༘༙༠༩༵༵༷༷"+"༹༹༾ཇཉཀྵ྄ཱ"+"྆ྋྐྕྗྗྙྭ"+"ྱྷྐྵྐྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼ⃐⃜⃡⃡ΩΩ"+"KÅ℮℮ↀↂ々々"+"〇〇〡〯〱〵ぁゔ"+"゙゚ゝゞァヺーヾ"+"ㄅㄬ一龥가힣",a.s_CharData="\t\n\r\r ퟿�",a.s_PublicID="\n\n\r\r !#%"+"';==?Z__"+"az",a.s_Text=" %';=\\^퟿�",a.s_AttrValue=" !#%(;==?퟿�",Ae.bm.XmlCharType=a}var F=class{},_t,W,H,M,L,q,Vt,Gt,Ut,jt,Wt,qt,zt,ot,rt,tt,Z,K,ft,V;F.NsCollationBase="http://collations.microsoft.com",F.NsCollCodePoint="http://www.w3.org/2004/10/xpath-functions/collation/codepoint",F.NsDataType="urn:schemas-microsoft-com:datatypes",F.NsDataTypeAlias="uuid:C2F41010-65B3-11D1-A29F-00AA00C14882",F.NsDataTypeOld="urn:uuid:C2F41010-65B3-11D1-A29F-00AA00C14882/",F.NsExsltCommon="http://exslt.org/common",F.NsExsltDates="http://exslt.org/dates-and-times",F.NsExsltMath="http://exslt.org/math",F.NsExsltRegExps="http://exslt.org/regular-expressions",F.NsExsltSets="http://exslt.org/sets",F.NsExsltStrings="http://exslt.org/strings",F.NsMsxsl="urn:schemas-microsoft-com:xslt",F.NsWdXsl="http://www.w3.org/TR/WD-xsl",F.NsXdr="urn:schemas-microsoft-com:xml-data",F.NsXdrAlias="uuid:BDC6E3F0-6DA3-11D1-A2A3-00AA00C14882",F.NsXml="http://www.w3.org/XML/1998/namespace",F.NsXmlNs="http://www.w3.org/2000/xmlns/",F.NsXQueryDataType="http://www.w3.org/2003/11/xpath-datatypes",F.NsXQueryFunc="http://www.w3.org/2003/11/xpath-functions",F.NsXs="http://www.w3.org/2001/XMLSchema",F.NsXsd="http://www.w3.org/2001/XMLSchema-datatypes",F.NsXsi="http://www.w3.org/2001/XMLSchema-instance",F.NsXslDebug="urn:schemas-microsoft-com:xslt-debug",F.NsXslt="http://www.w3.org/1999/XSL/Transform",F.NsXsltInternal="http://schemas.microsoft.com/framework/2003/xml/xslt/internal",Ae.bm.XmlReservedNs=F,(W=_t=Ae.bm.XmlSpace||(Ae.bm.XmlSpace={}))[W["Default"]=1]="Default",W[W["None"]=0]="None",W[W["Preserve"]=2]="Preserve",Ae.bm.XmlTextEncoder=class{constructor(t){this.surHighStart=55296,this.surHighEnd=56319,this.surLowStart=56320,this.surLowEnd=57343,this.textWriter=t,this.quoteChar='"',this.xmlCharType=Ae.bm.XmlCharType.instance}startAttribute(t){this.inAttribute=!0,(this.cacheAttrValue=t)&&(null==this.attrValue?this.attrValue=new Mt:this.attrValue.clear())}endAttribute(){this.cacheAttrValue&&this.attrValue.clear(),this.inAttribute=!1,this.cacheAttrValue=!1}get attributeValue(){return this.cacheAttrValue?this.attrValue.toString():""}writeSurrogateChar(t,e){t.charCodeAt(0)<this.surLowStart||t.charCodeAt(0)>this.surLowEnd||e.charCodeAt(0)<this.surHighStart||(e.charCodeAt(0),this.surHighEnd),this.textWriter.write(e),this.textWriter.write(t)}write(t){if(null==t)return;return this.cacheAttrValue&&this.attrValue.append(t),void this.textWriter.write(t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))}writeRawWithSurrogateChecking(t){if(null==t)return;this.cacheAttrValue&&this.attrValue.append(t),this.textWriter.write(t)}writeStringFragment(t,e,r,i){var n=i.length;while(0<r){let t=r;t>n&&(t=n),e+=t,r-=t}}writeCharEntityImpl(t){this.textWriter.write("&#x"),this.textWriter.write(t),this.textWriter.write(";")}writeEntityRefImpl(t){this.textWriter.write("&"),this.textWriter.write(t),this.textWriter.write(";")}};let Xt=Ae.bo.StreamWriter;{let n;(q=n=n||{})[q["Uninitialized"]=0]="Uninitialized",q[q["NotDeclaredButInScope"]=1]="NotDeclaredButInScope",q[q["DeclaredButNotWrittenOut"]=2]="DeclaredButNotWrittenOut",q[q["DeclaredAndWrittenOut"]=3]="DeclaredAndWrittenOut";let r=class{init(t){this.name=null,this.defaultNs="",this.defaultNsState=n.Uninitialized,this.xmlSpace=Ae.bm.XmlSpace.None,this.xmlLang=null,this.prevNsTop=t,this.prefixCount=0,this.mixed=!1}},a=class{set(t,e,r){this.prefix=t,this.ns=e,this.declared=r,this.prevNsIndex=-1}},s;(L=s=s||{})[L["None"]=0]="None",L[L["XmlSpace"]=1]="XmlSpace",L[L["XmlLang"]=2]="XmlLang",L[L["XmlNs"]=3]="XmlNs";let o;(M=o=o||{})[M["Start"]=0]="Start",M[M["Prolog"]=1]="Prolog",M[M["PostDTD"]=2]="PostDTD",M[M["Element"]=3]="Element",M[M["Attribute"]=4]="Attribute",M[M["Content"]=5]="Content",M[M["AttrOnly"]=6]="AttrOnly",M[M["Epilog"]=7]="Epilog",M[M["Error"]=8]="Error",M[M["Closed"]=9]="Closed";let l;(H=l=l||{})[H["PI"]=0]="PI",H[H["Doctype"]=1]="Doctype",H[H["Comment"]=2]="Comment",H[H["CData"]=3]="CData",H[H["StartElement"]=4]="StartElement",H[H["EndElement"]=5]="EndElement",H[H["LongEndElement"]=6]="LongEndElement",H[H["StartAttribute"]=7]="StartAttribute",H[H["EndAttribute"]=8]="EndAttribute",H[H["Content"]=9]="Content",H[H["Base64"]=10]="Base64",H[H["RawData"]=11]="RawData",H[H["Whitespace"]=12]="Whitespace",H[H["Empty"]=13]="Empty";let i=class{constructor(t,e){this.xmlCharType=Ae.bm.XmlCharType.instance,this.namespaceStackInitialSize=8,this.maxNamespacesWalkCount=16,this.constructor_(t),e&&(this.encoding=t,this.textWriter=null!=t?new Xt(e,t):new Xt(e),this.xmlEncoder=new Ae.bm.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar)}writeStartDocument(t){null==t?this.startDocument(-1):this.startDocument(t?1:0)}writeEndDocument(){try{this.autoCompleteAll(),this.currentState,o.Epilog,this.stateTable=i.stateTableDefault,this.currentState=o.Start,this.lastToken=l.Empty}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeDocType(t,e,r,i){try{this.validateName(t,!1),this.autoComplete(l.Doctype)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeStartElement(t){this.writeStartElement3(null,t,null)}writeStartElement3(t,e,r){try{var i;this.autoComplete(l.StartElement),this.pushStack(),this.textWriter.write("<"),this.namespaces?(this.stack[this.top].defaultNs=this.stack[this.top-1].defaultNs,this.stack[this.top-1].defaultNsState!=n.Uninitialized&&(this.stack[this.top].defaultNsState=n.NotDeclaredButInScope),this.stack[this.top].mixed=this.stack[this.top-1].mixed,null==r?null!=t&&0!=t.length&&this.lookupNamespace(t):null==t?null!=(i=this.findPrefix(r))?t=i:this.pushNamespace(null,r,!1):0==t.length?this.pushNamespace(null,r,!1):(0==r.length&&(t=null),this.verifyPrefixXml(t,r),this.pushNamespace(t,r,!1)),this.stack[this.top].prefix=null,null!=t&&0!=t.length&&(this.stack[this.top].prefix=t,this.textWriter.write(t),this.textWriter.write(":"))):null!=r&&0!=r.length||null!=t&&t.length,this.stack[this.top].name=e,this.textWriter.write(e)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeEndElement(){this.internalWriteEndElement(!1)}writeFullEndElement(){this.internalWriteEndElement(!0)}writeStartAttribute(t,e,r){try{var i;this.autoComplete(l.StartAttribute),this.specialAttr=s.None,this.namespaces?(null!=t&&0==t.length&&(t=null),"xml"==(t=r==Ae.bm.XmlReservedNs.NsXmlNs&&null==t&&"xmlns"!=e?"xmlns":t)?"lang"==e?this.specialAttr=s.XmlLang:"space"==e&&(this.specialAttr=s.XmlSpace):"xmlns"==t?(Ae.bm.XmlReservedNs.NsXmlNs,null==e||0==e.length?(e=t,t=null,this.prefixForXmlNs=null):this.prefixForXmlNs=e,this.specialAttr=s.XmlNs):null==t&&"xmlns"==e?(Ae.bm.XmlReservedNs.NsXmlNs,this.specialAttr=s.XmlNs,this.prefixForXmlNs=null):null==r?null!=t&&this.lookupNamespace(t):0==r.length?t="":(this.verifyPrefixXml(t,r),null!=t&&-1!=this.lookupNamespaceInCurrentScope(t)&&(t=null),null==(i=this.findPrefix(r))||null!=t&&t!=i?(null==t&&(t=this.generatePrefix()),this.pushNamespace(t,r,!1)):t=i),null!=t&&0!=t.length&&(this.textWriter.write(t),this.textWriter.write(":"))):(null!=r&&0!=r.length||null!=t&&t.length,"xml:lang"==e?this.specialAttr=s.XmlLang:"xml:space"==e&&(this.specialAttr=s.XmlSpace)),this.xmlEncoder.startAttribute(this.specialAttr!=s.None),this.textWriter.write(e),this.textWriter.write("="),this.curQuoteChar!=this.quoteChar&&(this.curQuoteChar=this.quoteChar,this.xmlEncoder.quoteChar=this.quoteChar),this.textWriter.write(this.curQuoteChar)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeEndAttribute(){try{this.autoComplete(l.EndAttribute)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeString(t){try{null!=t&&0!=t.length&&(this.autoComplete(l.Content),this.xmlEncoder.write(t))}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeRaw(t){try{this.autoComplete(l.RawData),this.xmlEncoder.writeRawWithSurrogateChecking(t)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}close(){try{this.autoCompleteAll()}finally{this.currentState=o.Closed,this.textWriter.close()}}flush(){this.textWriter.flush()}writeName(t){try{this.autoComplete(l.Content),this.internalWriteName(t,!1)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeQualifiedName(t,e){try{if(this.autoComplete(l.Content),this.namespaces){if(null!=e&&0!=e.length&&e!=this.stack[this.top].defaultNs){let t=this.findPrefix(e);null==t&&(this.currentState,o.Attribute,t=this.generatePrefix(),this.pushNamespace(t,e,!1)),0!=t.length&&(this.internalWriteName(t,!0),this.textWriter.write(":"))}}else null!=e&&e.length;this.internalWriteName(t,!0)}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}startDocument(e){try{this.currentState,o.Start,this.stateTable=i.stateTableDocument,this.currentState=o.Prolog;let t=new Mt;t.append("version="+this.quoteChar+"1.0"+this.quoteChar),null!=this.encoding&&(t.append(" encoding="),t.append(this.quoteChar),t.append(this.encoding.webName),t.append(this.quoteChar)),0<=e&&(t.append(" standalone="),t.append(this.quoteChar),t.append(0==e?"no":"yes"),t.append(this.quoteChar)),this.internalWriteProcessingInstruction("xml",t.toString())}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}autoComplete(t){this.currentState==o.Closed||(this.currentState,o.Error);let e=this.stateTable[8*t+this.currentState];switch(e,o.Error,t){case l.Doctype:this.indented&&this.currentState!=o.Start&&this.indent(!1);break;case l.StartElement:case l.Comment:case l.PI:case l.CData:this.currentState==o.Attribute?(this.writeEndAttributeQuote(),this.writeEndStartTag(!1)):this.currentState==o.Element&&this.writeEndStartTag(!1),t==l.CData?this.stack[this.top].mixed=!0:this.indented&&this.currentState!=o.Start&&this.indent(!1);break;case l.EndElement:case l.LongEndElement:this._flush&&this.flushEncoders(),this.currentState==o.Attribute&&this.writeEndAttributeQuote(),this.currentState==o.Content?t=l.LongEndElement:this.writeEndStartTag(t==l.EndElement),i.stateTableDocument==this.stateTable&&1==this.top&&(e=o.Epilog);break;case l.StartAttribute:this._flush&&this.flushEncoders(),this.currentState==o.Attribute?(this.writeEndAttributeQuote(),this.textWriter.write(" ")):this.currentState==o.Element&&this.textWriter.write(" ");break;case l.EndAttribute:this._flush&&this.flushEncoders(),this.writeEndAttributeQuote();break;case l.Whitespace:case l.Content:case l.RawData:case l.Base64:t!=l.Base64&&this._flush&&this.flushEncoders(),this.currentState==o.Element&&this.lastToken!=l.Content&&this.writeEndStartTag(!1),e==o.Content&&(this.stack[this.top].mixed=!0);break;default:}this.currentState=e,this.lastToken=t}autoCompleteAll(){this._flush&&this.flushEncoders();while(0<this.top)this.writeEndElement()}internalWriteEndElement(t){try{this.top,this.autoComplete(t?l.LongEndElement:l.EndElement),this.lastToken==l.LongEndElement&&(this.indented&&this.indent(!0),this.textWriter.write("<"),this.textWriter.write("/"),this.namespaces&&null!=this.stack[this.top].prefix&&(this.textWriter.write(this.stack[this.top].prefix),this.textWriter.write(":")),this.textWriter.write(this.stack[this.top].name),this.textWriter.write(">"));var e=this.stack[this.top].prevNsTop;this.useNsHashtable&&e<this.nsTop&&this.popNamespaces(e+1,this.nsTop),this.nsTop=e,this.top--}catch(t){Ae.b.StiError.showError(t,!1),this.currentState=o.Error}}writeEndStartTag(t){this.xmlEncoder.startAttribute(!1);for(let t=this.nsTop;t>this.stack[this.top].prevNsTop;t--)this.nsStack[t].declared||(this.textWriter.write(" xmlns"),this.textWriter.write(":"),this.textWriter.write(this.nsStack[t].prefix),this.textWriter.write("="),this.textWriter.write(this.quoteChar),this.xmlEncoder.write(this.nsStack[t].ns),this.textWriter.write(this.quoteChar));this.stack[this.top].defaultNs!=this.stack[this.top-1].defaultNs&&this.stack[this.top].defaultNsState==n.DeclaredButNotWrittenOut&&(this.textWriter.write(" xmlns"),this.textWriter.write("="),this.textWriter.write(this.quoteChar),this.xmlEncoder.write(this.stack[this.top].defaultNs),this.textWriter.write(this.quoteChar),this.stack[this.top].defaultNsState=n.DeclaredAndWrittenOut),this.xmlEncoder.endAttribute(),t&&this.textWriter.write(" /"),this.textWriter.write(">")}writeEndAttributeQuote(){this.specialAttr!=s.None&&this.handleSpecialAttribute(),this.xmlEncoder.endAttribute(),this.textWriter.write(this.curQuoteChar)}indent(e){if(0==this.top)this.textWriter.writeLine();else if(!this.stack[this.top].mixed){this.textWriter.writeLine();let t=e?this.top-1:this.top;for(t*=this.indentation;0<t;t--)this.textWriter.write(this.indentChar)}}pushNamespace(t,e,r){if(Ae.bm.XmlReservedNs.NsXmlNs,null==t){switch(this.stack[this.top].defaultNsState){case n.DeclaredButNotWrittenOut:break;case n.Uninitialized:case n.NotDeclaredButInScope:this.stack[this.top].defaultNs=e;break;default:return}this.stack[this.top].defaultNsState=r?n.DeclaredAndWrittenOut:n.DeclaredButNotWrittenOut}else{0!=t.length&&e.length;var i=this.lookupNamespace(t);-1!=i&&this.nsStack[i].ns==e?r&&(this.nsStack[i].declared=!0):(r&&-1!=i&&i>this.stack[this.top].prevNsTop&&(this.nsStack[i].declared=!0),this.addNamespace(t,e,r))}}addNamespace(t,e,r){var i=++this.nsTop,n;if(i==this.nsStack.length&&(n=Ae.b.StiArray.create(a,2*i,!0),Ae.b.StiArray.copy(this.nsStack,0,n,i),this.nsStack=n),this.nsStack[i].set(t,e,r),this.useNsHashtable)this.addToNamespaceHashtable(i);else if(i==this.maxNamespacesWalkCount){this.nsHashtable=new Dt;for(let t=0;t<=i;t++)this.addToNamespaceHashtable(t);this.useNsHashtable=!0}}addToNamespaceHashtable(t){var e=this.nsStack[t].prefix,r=this.nsHashtable.get(e);null!=r&&(this.nsStack[t].prevNsIndex=r),this.nsHashtable.set(e,t)}popNamespaces(e,r){for(let t=r;t>=e;t--)-1==this.nsStack[t].prevNsIndex?this.nsHashtable.remove(this.nsStack[t].prefix):this.nsHashtable.set(this.nsStack[t].prefix,this.nsStack[t].prevNsIndex)}generatePrefix(){let t=this.stack[this.top].prefixCount+++1;return"d"+this.top.toString()+"p"+t.toString()}internalWriteProcessingInstruction(t,e){this.textWriter.write("<?"),this.validateName(t,!1),this.textWriter.write(t),this.textWriter.write(" "),null!=e&&this.xmlEncoder.writeRawWithSurrogateChecking(e),this.textWriter.write("?>")}lookupNamespace(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t)return t}else for(let t=this.nsTop;0<=t;t--)if(this.nsStack[t].prefix==e)return t;return-1}lookupNamespaceInCurrentScope(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t&&t>this.stack[this.top].prevNsTop)return t}else for(let t=this.nsTop;t>this.stack[this.top].prevNsTop;t--)if(this.nsStack[t].prefix==e)return t;return-1}findPrefix(e){for(let t=this.nsTop;0<=t;t--)if(this.nsStack[t].ns==e&&this.lookupNamespace(this.nsStack[t].prefix)==t)return this.nsStack[t].prefix;return null}internalWriteName(t,e){this.validateName(t,e),this.textWriter.write(t)}validateName(e,r){null==e||e.length;var i=e.length;let n=0,a=-1;if(this.namespaces){if(0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&Ae.bm.XmlCharType.fNCStartName)){let t=!0;while(t){n++;while(n<i&&0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&Ae.bm.XmlCharType.fNCName))n++;if(n==i)return;if(":"==e[n]&&!r&&-1==a&&n+1<i){a=n;continue}t=!1}}}else if(0!=(this.xmlCharType.charProperties[e.charCodeAt(0)]&Ae.bm.XmlCharType.fNCStartName)||":"==e[0]){n++;while(n<i&&(0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&Ae.bm.XmlCharType.fNCName)||":"==e[n]))n++;if(n==i)return}}handleSpecialAttribute(){let t=this.xmlEncoder.attributeValue;switch(this.specialAttr){case s.XmlLang:this.stack[this.top].xmlLang=t;break;case s.XmlSpace:t=t.trim(),"default"==t?this.stack[this.top].xmlSpace=Ae.bm.XmlSpace.Default:"preserve"==t&&(this.stack[this.top].xmlSpace=Ae.bm.XmlSpace.Preserve);break;case s.XmlNs:this.verifyPrefixXml(this.prefixForXmlNs,t),this.pushNamespace(this.prefixForXmlNs,t,!0);break}}verifyPrefixXml(t,e){null!=t&&3==t.length&&("x"!=t.charAt(0)&&"X"!=t.charAt(0)||"m"!=t.charAt(1)&&"M"!=t.charAt(1)||"l"!=t.charAt(2)&&"L"!=t.charAt(2)||Ae.bm.XmlReservedNs.NsXml)}pushStack(){var t;this.top==this.stack.length-1&&(t=Ae.b.StiArray.create(r,this.stack.length+10,!0),0<this.top&&Ae.b.StiArray.copy(this.stack,0,t,this.top+1),this.stack=t),this.top++,this.stack[this.top].init(this.nsTop)}flushEncoders(){this._flush=!1}writeAttributeString(t,e){this.writeStartAttribute(null,t,null),this.writeString(e),this.writeEndAttribute()}writeElementString(t,e){this.writeElementString2(t,null,e)}writeElementString2(t,e,r){this.writeStartElement3(null,t,e),null!=r&&0!=r.length&&this.writeString(r),this.writeEndElement()}writeElementString3(t,e,r,i){this.writeStartElement3(t,e,r),null!=i&&0!=i.length&&this.writeString(i),this.writeEndElement()}constructor_(t,e){this.namespaces=!0,this.formatting=Ae.bm.Formatting.None,this.indentation=2,this.indentChar=" ",this.nsStack=Ae.b.StiArray.create(a,this.namespaceStackInitialSize,!0),this.nsTop=-1,this.stack=Ae.b.StiArray.create(r,10,!0),this.top=0,this.stack[this.top].init(-1),this.quoteChar='"',this.stateTable=i.stateTableDefault,this.currentState=o.Start,this.lastToken=l.Empty,this.encoding=t,this.textWriter=new Ht,this.xmlEncoder=new Ae.bm.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar}};i.stateTableDefault=[o.Prolog,o.Prolog,o.PostDTD,o.Content,o.Content,o.Content,o.Error,o.Epilog,o.PostDTD,o.PostDTD,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Prolog,o.Prolog,o.PostDTD,o.Content,o.Content,o.Content,o.Error,o.Epilog,o.Content,o.Content,o.Error,o.Content,o.Content,o.Content,o.Error,o.Epilog,o.Element,o.Element,o.Element,o.Element,o.Element,o.Element,o.Error,o.Element,o.Error,o.Error,o.Error,o.Content,o.Content,o.Content,o.Error,o.Error,o.Error,o.Error,o.Error,o.Content,o.Content,o.Content,o.Error,o.Error,o.AttrOnly,o.Error,o.Error,o.Attribute,o.Attribute,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Element,o.Error,o.Epilog,o.Error,o.Content,o.Content,o.Error,o.Content,o.Attribute,o.Content,o.Attribute,o.Epilog,o.Content,o.Content,o.Error,o.Content,o.Attribute,o.Content,o.Attribute,o.Epilog,o.Prolog,o.Prolog,o.PostDTD,o.Content,o.Attribute,o.Content,o.Attribute,o.Epilog,o.Prolog,o.Prolog,o.PostDTD,o.Content,o.Attribute,o.Content,o.Attribute,o.Epilog],i.stateTableDocument=[o.Error,o.Prolog,o.PostDTD,o.Content,o.Content,o.Content,o.Error,o.Epilog,o.Error,o.PostDTD,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Prolog,o.PostDTD,o.Content,o.Content,o.Content,o.Error,o.Epilog,o.Error,o.Error,o.Error,o.Content,o.Content,o.Content,o.Error,o.Error,o.Error,o.Element,o.Element,o.Element,o.Element,o.Element,o.Error,o.Error,o.Error,o.Error,o.Error,o.Content,o.Content,o.Content,o.Error,o.Error,o.Error,o.Error,o.Error,o.Content,o.Content,o.Content,o.Error,o.Error,o.Error,o.Error,o.Error,o.Attribute,o.Attribute,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Element,o.Error,o.Error,o.Error,o.Error,o.Error,o.Error,o.Content,o.Attribute,o.Content,o.Error,o.Error,o.Error,o.Error,o.Error,o.Content,o.Attribute,o.Content,o.Error,o.Error,o.Error,o.Prolog,o.PostDTD,o.Content,o.Attribute,o.Content,o.Error,o.Epilog,o.Error,o.Prolog,o.PostDTD,o.Content,o.Attribute,o.Content,o.Error,o.Epilog],Ae.bm.XmlTextWriter=i}(V=Vt=Ae.d.StiAnimationType||(Ae.d.StiAnimationType={}))[V["Opacity"]=0]="Opacity",V[V["Scale"]=1]="Scale",V[V["Translation"]=2]="Translation",V[V["Rotation"]=3]="Rotation",V[V["Column"]=4]="Column",V[V["Points"]=5]="Points",V[V["PieSegment"]=6]="PieSegment",(ft=Gt=Ae.d.StiTokenType||(Ae.d.StiTokenType={}))[ft["None"]=0]="None",ft[ft["Dot"]=1]="Dot",ft[ft["Comma"]=2]="Comma",ft[ft["Colon"]=3]="Colon",ft[ft["SemiColon"]=4]="SemiColon",ft[ft["Shl"]=5]="Shl",ft[ft["Shr"]=6]="Shr",ft[ft["Assign"]=7]="Assign",ft[ft["Equal"]=8]="Equal",ft[ft["NotEqual"]=9]="NotEqual",ft[ft["LeftEqual"]=10]="LeftEqual",ft[ft["Left"]=11]="Left",ft[ft["RightEqual"]=12]="RightEqual",ft[ft["Right"]=13]="Right",ft[ft["Or"]=14]="Or",ft[ft["And"]=15]="And",ft[ft["Not"]=16]="Not",ft[ft["DoubleOr"]=17]="DoubleOr",ft[ft["DoubleAnd"]=18]="DoubleAnd",ft[ft["Copyright"]=19]="Copyright",ft[ft["Question"]=20]="Question",ft[ft["Plus"]=21]="Plus",ft[ft["Minus"]=22]="Minus",ft[ft["Mult"]=23]="Mult",ft[ft["Div"]=24]="Div",ft[ft["Splash"]=25]="Splash",ft[ft["Percent"]=26]="Percent",ft[ft["Ampersand"]=27]="Ampersand",ft[ft["Sharp"]=28]="Sharp",ft[ft["Dollar"]=29]="Dollar",ft[ft["Euro"]=30]="Euro",ft[ft["DoublePlus"]=31]="DoublePlus",ft[ft["DoubleMinus"]=32]="DoubleMinus",ft[ft["LPar"]=33]="LPar",ft[ft["RPar"]=34]="RPar",ft[ft["LBrace"]=35]="LBrace",ft[ft["RBrace"]=36]="RBrace",ft[ft["LBracket"]=37]="LBracket",ft[ft["RBracket"]=38]="RBracket",ft[ft["Value"]=39]="Value",ft[ft["Ident"]=40]="Ident",ft[ft["Unknown"]=41]="Unknown",ft[ft["EOF"]=42]="EOF",(K=Ut=Ae.d.StiLevel||(Ae.d.StiLevel={}))[K["Basic"]=0]="Basic",K[K["Standard"]=1]="Standard",K[K["Professional"]=2]="Professional",(Z=jt=Ae.d.StiAutoBool||(Ae.d.StiAutoBool={}))[Z["Auto"]=0]="Auto",Z[Z["True"]=1]="True",Z[Z["False"]=2]="False",(tt=Wt=Ae.d.StiRelationDirection||(Ae.d.StiRelationDirection={}))[tt["ParentToChild"]=1]="ParentToChild",tt[tt["ChildToParent"]=0]="ChildToParent",(rt=qt=Ae.d.StiGisDataType||(Ae.d.StiGisDataType={}))[rt["Wkt"]=0]="Wkt",rt[rt["GeoJSON"]=1]="GeoJSON",(ot=zt=Ae.d.StiSummaryColumnType||(Ae.d.StiSummaryColumnType={}))[ot["Sum"]=0]="Sum",ot[ot["Min"]=1]="Min",ot[ot["Max"]=2]="Max",ot[ot["Count"]=3]="Count",ot[ot["Average"]=4]="Average",Ae.d.IStiApp=new Ae.b.Interface("IStiApp"),Ae.d.IStiAppAlias=new Ae.b.Interface("IStiAppAlias"),Ae.d.IStiAppCalcDataColumn=new Ae.b.Interface("IStiAppCalcDataColumn"),Ae.d.IStiAppCell=new Ae.b.Interface("IStiAppCell"),Ae.d.IStiAppComponent=new Ae.b.Interface("IStiAppComponent"),Ae.d.IStiAppConnection=new Ae.b.Interface("IStiAppConnection"),Ae.d.IStiAppDataCell=new Ae.b.Interface("IStiAppDataCell"),Ae.d.IStiAppDataColumn=new Ae.b.Interface("IStiAppDataColumn"),Ae.d.IStiAppDataRelation=new Ae.b.Interface("IStiAppDataRelation"),Ae.d.IStiAppDataSource=new Ae.b.Interface("IStiAppDataSource"),Ae.d.IStiAppDictionary=new Ae.b.Interface("IStiAppDictionary"),Ae.d.IStiAppExpressionCollection=new Ae.b.Interface("IStiAppExpressionCollection"),Ae.d.IStiAppFunction=new Ae.b.Interface("IStiAppFunction"),Ae.d.IStiAppVariable=new Ae.b.Interface("IStiAppVariable"),Ae.d.IStiGetFonts=new Ae.b.Interface("IStiGetFonts"),Ae.d.IStiReport=new Ae.b.Interface("IStiReport"),Ae.d.IStiReportComponent=new Ae.b.Interface("IStiReportComponent"),Ae.d.IStiReportPage=new Ae.b.Interface("IStiReportPage"),Ae.d.StiActivator=class{static createObject(t){if(t.prototype instanceof Ae.b.StimulsoftList)return[];var e;return new t}static createObject2(t){let e=t.split(".");if("Stimulsoft"!=e.splice(0,1)[0])return null;let r=Y;while(0<e.length){var i=e.splice(0,1)[0];r=r[i]}if(r!=Y)return new r;return null}},Ae.d.StiAlignValue=class{static alignToMaxGrid(e,r,t){if(t){let t=Math.round(e/r)*r;e>t&&(t+=r),e=t}return e}static alignToMinGrid(e,r,t){if(t){let t=Math.round(e/r)*r;e<t&&(t-=r),e=t}return e}static alignToGrid(t,e,r){var i;return t=r?Math.round(t/e)*e:t}},Ae.Q.IStiJsonReportObject=new Ae.b.Interface("IStiJsonReportObject");let Jt=Ae.b.ICloneable,Yt=Ae.Q.IStiJsonReportObject;{let t=class{constructor(t,e){this.name=t,this.expression=e}implements(){return t.ImplementsStiAppExpression||(t.ImplementsStiAppExpression=[Jt,Yt]),t.ImplementsStiAppExpression}saveToJsonObject(t){let e=new Ae.d.StiJson;return e.addPropertyStringNullOrEmpty("Name",this.upperFirstChar(this.name)),e.addPropertyStringNullOrEmpty("Expression",this.expression),e}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Name":this.name=this.lowerFirstChar(e.value);break;case"Expression":this.expression=e.value;break}}loadFromXml(t){var t=t.textContent.split(",");2<=t.length&&(this.name=this.lowerFirstChar(nt.decodeName(t[0])),this.expression=nt.decodeName(t[1]))}upperFirstChar(t){return 0<t.length?t.charAt(0).toUpperCase()+t.slice(1):t}lowerFirstChar(t){return 0<t.length?t.charAt(0).toLowerCase()+t.slice(1):t}clone(){return new t(this.name,this.expression)}get isEmpty(){return De.isNullOrWhiteSpace(this.name)||De.isNullOrWhiteSpace(this.expression)}};Ae.d.StiAppExpression=t}{let r=class extends J{saveToJsonObject(t){if(0==this.list.length)return null;let e=new Ae.d.StiJson,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.d.StiAppExpression(null,null);t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if("value"==r.nodeName){let t=new Ae.d.StiAppExpression(null,null);t.loadFromXml(r),this.list.push(t)}}}add2(t,e){this.list.push(new Ae.d.StiAppExpression(t,e))}addRange2(t){this.addRange(t)}contains2(t){return null!=this.getByName(t)}remove2(t){var t=this.getByName(t);null!=t&&this.remove(t)}getByName(t){for(var e of this.list)if(e.name==t)return e;return null}setByName(e,r){for(let t=0;t<this.list.length;t++){var i;if(this.list[t].name==e)return void(this.list[t]=r)}this.list.push(r)}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}};Ae.d.StiAppExpressionCollection=r}{let r=class{static isExpressionSpecified(t,e){var e=r.getExpression(t,e);return!De.isNullOrWhiteSpace(null==e?void 0:e.expression)}static getExpression(t,e){let r=t.stimulsoft().as(Ae.d.IStiAppExpressionCollection);if(null==(null===r||void 0===r?void 0:r.expressions))return null;return null===r||void 0===r?void 0:r.expressions.getByName(e)}static getExpressionValue(t,e){var e;return null===(e=r.getExpression(t,e))||void 0===e?void 0:e.expression}static setExpression(t,e,r){let i=t.stimulsoft().as(Ae.d.IStiAppExpressionCollection);if(null==i)return;null==i.expressions&&(i.expressions=new Ae.d.StiAppExpressionCollection),i.expressions.setByName(e,new Ae.d.StiAppExpression(e,r))}static removeExpression(t,e){var t,t=t.stimulsoft().as(Ae.d.IStiAppExpressionCollection);if(null==t)return;null!==(t=t.expressions)&&void 0!==t&&t.remove2(e)}};Ae.d.StiAppExpressionHelper=r}var ht=class{static getFunctions(t,e){let r=new Ee;var i,n;for(n of(t?this.functionsToCompile:this.functions).keys){var a=this.getFunctions2(n,t,e);r.addRange(a)}return r.stimulsoft().toArray()}static getFunctions2(t,e,r){let i=e?this.functionsToCompile:this.functions,n=e?this.functionsToCompileLower:this.functionsLower,a=i.get(t);if(null!=a)return a.stimulsoft().toArray();return a=r?i.get(t):n.get(t.toLowerCase()),null!=a?a.stimulsoft().toArray():null}};ht.functionsToCompile=new Dt,ht.functionsToCompileLower=new Dt,ht.functions=new Dt,ht.functionsLower=new Dt,Ae.d.StiAppFunctions=ht,Ae.d.StiAppKey=class{static getOrGeneratedKey(t){var t=t.getApp();return this.getOrGeneratedKey2(t)}static getOrGeneratedKey2(t){return t.setKey(Ae.d.StiKeyHelper.getOrGeneratedKey(t.getKey())),t.getKey()}static getOrGeneratedKey3(t){var t=t.getApp();return this.getOrGeneratedKey2(t)}static getOrGeneratedKey4(t){var t=t.getDictionary();return this.getOrGeneratedKey3(t)}};let Qt=Ae.b.Convert,Kt=Ae.bo.MemoryStream;var dt=class{static encrypt(t,e){return this.encryptAdv(t,e)}static encrypt2(t,e){var e=this.getKeyFromPassword(e);return this.encryptAdv(t,e)}static encryptS(t,e){if(null==t)return null;var t=Ot.UTF8.getBytes(t),e=this.getKeyFromPassword(e),e=this.encryptAdv(t,e);return Qt.toBase64String(e)}static decrypt(t,e){return this.decryptAdv(t,e)}static decrypt2(t,e){var e=this.getKeyFromPassword(e);return this.decryptAdv(t,e)}static decryptS(t,e){var t=Qt.fromBase64String(t),e=this.getKeyFromPassword(e),e=this.decryptAdv(t,e);return Ot.UTF8.getString(e)}static generateRandomKey(){let e=[];for(let t=0;t<32;t++)e[t]=Math.floor(256*Math.random());return e}static encryptAdv(t,e){if(null==t)return null;var r=[],r=this.cryptRandom(t,e,!0);return r=this.cryptXor(r,e),r=this.cryptShift(r,e,!0)}static decryptAdv(t,e){if(null==t)return null;var r=[],r=this.cryptShift(t,e,!1);return r=this.cryptXor(r,e),r=this.cryptRandom(r,e,!1)}static cryptXor(t,e){let r=[],i=0,n=0;while(i<t.length)n>=e.length&&(n=0),r[i]=t[i]^e[n],i++,n++;return r}static cryptShift(t,e,r){let i=[],n=0,a=0;while(n<t.length)a>=e.length&&(a=0),i[n]=r?this.shiftLeft(t[n],e[a]):this.shiftRight(t[n],e[a]),n++,a++;return i}static shiftLeft(t,e){var e=t<<(7&e),e;return e=255&e|(65280&e)>>8}static shiftRight(t,e){var e=t<<8-(7&e),e;return e=255&e|(65280&e)>>8}static cryptRandom(t,e,r){let i=[],n=0;this.setRandomSeed(e);var a=this.getMixArray(t.length);while(n<t.length)r?i[n]=t[a[n]]:i[a[n]]=t[n],n++;return i}static getMixArray(e){let r=[],i=[];for(let t=0;t<e;t++)r[t]=t;for(let t=0;t<e;t++){var n=this.getRandom(0,e-t-1);i[t]=r[n],r[n]=r[e-t-1]}return i}static setRandomSeed(t){this.randomSeed=t[0]|t[1]<<8|t[t.length-2]<<16|t[t.length-1]<<24,this.randomSeed<0&&(this.randomSeed=4294967296+this.randomSeed),this.randomSeed=this.randomSeed%this.rand_m,this.randomSeed<0&&(this.randomSeed=16777215-this.randomSeed&16777215)}static getRandom(t,e){var r;return this.randomSeed=(this.randomSeed*this.rand_a+this.rand_c)%this.rand_m,t+(e-t+1)*this.randomSeed/this.rand_m&4294967295}static getKeyFromPassword(t){let e=new Kt;var r=Ae.d.StiMD5Helper.MD5(t);e.write(r);let i=r.length;while(i<t.length)r=Ae.d.StiMD5Helper.MD5(t.substring(0,i)),e.write(r,0,i+r.length<t.length?r.length:t.length-i),i+=r.length;var n=e.toArray();return e.close(),e=null,n}};dt.randomSeed=0,dt.rand_m=714025,dt.rand_a=4096,dt.rand_c=150889,Ae.d.StiEncryption=dt;let Zt=Ae.b.Enum;{let s=class{constructor(t=null,e=null,r=!1){this.isProperty=!1,this.isArray=!1,this.name=t,null!=e&&"string"==typeof e&&(e=e.replace(/#!rn#/gi,"\r\n").replace(/#!q#/gi,'"').replace(/#!t#/gi,"\t").replace(/#!!#/gi,"\\")),this.value=e,this.isProperty=r}static dateToJsonDate(t){var e=-1*t.date.getTimezoneOffset();let r=Math.abs(Math.floor(e/60)).toString(),i=Math.abs(e%60).toString();return 1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"/Date("+Date.parse(t.date.toString()).toString()+(0<=e?"+":"-")+r+i+")/"}static jsonDateFormatToDate(t){let e=t.split("/Date(").join("").split(")/").join(""),r=new z(new Date(parseInt(e))),i=e.indexOf("+");-1==i&&(i=e.indexOf("-"));let n=r.date.getTimezoneOffset();-1!=i&&(n=0);var a=Math.floor(n/60),s=n%60,o=(Math.abs(a)<10?"0":"")+Math.abs(a).toString(),t=(Math.abs(s)<10?"0":"")+Math.abs(s).toString();let l=(0<=n?"+":"-")+o+t,u=1;return-1!=i&&(l=e.substring(i)),"-"==l.substr(0,1)&&(u=-1),r.addHours(a+parseInt(l.substr(1,2))*u),r.addMinutes(s+parseInt(l.substr(3,2))*u),r}properties(){if(!this.isProperty)return(this.value.stimulsoft().is(Ee)?this:this.value).value;return new Ee}removeProperty(e){var t;null==this.value||null==e&&""==e||0<(t=this.value.value.filter(t=>t.name==e)).length&&this.value.value.remove(t[0])}addPropertyNumber(t,e,r=0){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),e==r)return;this.value.value.push(new s(t,e,!0))}addPropertyNumberNoDefaultValue(t,e){null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),this.value.value.push(new s(t,e,!0))}addPropertyJObject(t,e){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),null==e||0==e.count)return;this.value.value.push(new s(t,e))}addPropertyJObjectArray(t,e){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),null==e||0==e.length)return;let r=new s(t,e);r.isArray=!0,this.value.value.push(r)}addPropertyPoint(t,e){null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t);var e=Ae.Y.Serialize.point(e);if(null==e||0==e.count)return;this.value.value.push(new s(t,e))}addPropertyIdent(t,e){null==this.value&&(this.value=new s("",new Ee)),this.value.value.push(new s(t,e,!0))}addPropertyBool(t,e,r=!1){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),e==r)return;this.value.value.push(new s(t,e,!0))}addPropertyDateTime(t,e){null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),this.value.value.push(new s(t,s.dateToJsonDate(e),!0))}addPropertyEnum(t,e,r,i=null){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),void 0!==i&&r==i)return;this.value.value.push(new s(t,Zt.getName(e,r),!0))}addPropertyString(t,e,r){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),e==r)return;this.value.value.push(new s(t,e,!0))}addPropertyStringNullOrEmpty(t,e){if(null==this.value&&(this.value=new s("",new Ee)),this.removeProperty(t),De.isNullOrEmpty(e))return;this.value.value.push(new s(t,e,!0))}get count(){let t=0;if(!this.isProperty&&null!=this.value)for(var e of this.value.value)t++;return t}serialize(e=0){let r="";var i=s.prettyPrint?Array(e+1).join(" "):"",n;for(n of this.value.properties()){let t="";if(n.isProperty)t=null!=n.value&&"string"==typeof n.value?'"'+n.value.replace(/[\\]/g,"\\\\").replace(/[\"]/g,'\\"').replace(/[\b]/g,"\\b").replace(/[\f]/g,"\\f").replace(/\r\n/g,"\n").replace(/[\r]/g,"\n").replace(/[\r\n]/g,"\\r\\n").replace(/[\t]/g,"\\t").replace(/[\u0001-\u001F]/g,t=>"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4))+'"':n.value;else if(n.isArray){for(var a of n.value)t?t+=",":t+="[",t+=a.serialize(e+4);t+="]"}else t=n.value.serialize(e+2);r&&(r+=","),s.prettyPrint&&(r+="\n"+i+"  "),r+='"'+n.name+'":',s.prettyPrint&&(r+=" "),r+=t}if(!r)return"";if(s.prettyPrint)return"{"+r+"\n"+i+"}";return"{"+r+"}"}deserialize(i){if("string"==typeof i){let e=0,r=-1;while(e<i.length){if('"'==i[e]&&(0<e&&"\\"!=i[e-1]||1<e&&"\\"==i[e-2]&&2<e&&"\\"!=i[e-3]))if(-1<r){let t=i.substring(r,e);var n=t.replace(/\\\\/gi,"#!!#").replace(/\\t/gi,"#!t#").replace(/\\\"/gi,"#!q#").replace(/\\r\\n/gi,"#!rn#").replace(/\\r/gi,"#!rn#").replace(/\\n/gi,"#!rn#");n.length!=t.length&&(i=i.substring(0,r)+n+i.substring(e),e+=n.length-t.length),r=-1}else r=e+1;e++}}var t="object"==typeof i?i:JSON.parse(i);this.deserializeFromObject(t),this.value=this.value.value}deserializeFromObject(e){for(var r in e)if("object"==typeof e[r]){let t=new s(r);null==this.value&&(this.value=new s(null,new Ee)),this.value.value.push(t),t.deserializeFromObject(e[r])}else{var r;"function"!=typeof e[r]&&(r=new s(r,e[r],!0),null==this.value&&(this.value=new s(null,new Ee)),this.value.value.push(r))}}toString(){return this.name}};s.prettyPrint=!0,Ae.d.StiJson=s}let $t=Ae.b.NodeJs,te=Ae.d.StiJson,ee=Ae.d.StiEncryption;{let a=class{constructor(t,e,r,i){this.machineName=t,this.machineAddress=e,this.machineUserName=r,this.machineGuid=i;let n=t;if(!a.isCID(n))return;n=n.substr(a.prefix.length),this.loadFromString(ee.decryptS(n,a.key))}saveToString(){return this.saveToJsonObject().serialize()}saveToJsonObject(){let t=new te;return t.addPropertyStringNullOrEmpty("MachineName",this.machineName),t.addPropertyStringNullOrEmpty("MachineAddress",this.machineAddress),t.addPropertyStringNullOrEmpty("MachineUserName",this.machineUserName),t.addPropertyStringNullOrEmpty("MachineGuid",this.machineGuid),t}loadFromString(t){let e=new te;e.deserialize(t),this.loadFromJsonObject(e)}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"MachineName":this.machineName=e.value;break;case"MachineAddress":this.machineAddress=e.value;break;case"MachineUserName":this.machineUserName=e.value;break;case"MachineGuid":this.machineGuid=e.value;break}}static getDefault(){return a.prefix+ee.encryptS(this.getDeveloperCID().saveToString(),a.key)}static getDeveloperCID(){return new a(this.getCurrentMachineName(),this.getCurrentMachineAddress(),this.getCurrentMachineUserName(),this.getCurrentMachineGuid())}static getCurrentMachineName(){try{if($t.isNodeJs()){let t=Ms("os");return t.hostname()||this.undefined}}catch(t){}return this.undefined}static getCurrentMachineGuid(){try{if($t.isNodeJs()){let t=Ms("node-machine-id").machineIdSync;return t(!0)}}catch(t){}return this.undefined}static getCurrentMachineAddress(){try{var r=t=>t?t.toString().toUpperCase().replace(/:/g,"-"):this.undefined,i=t=>t.mac&&"00:00:00:00:00:00"!=t.mac&&t.address&&"127.0.0.1"!=t.address;let t=Ms("os");var n=t.networkInterfaces();if(n){let e=n.Ethernet;if(e=e||n.Wireless80211,!e)for(var a in n){if(e)break;var s=n[a];if(0<s.length)for(let t=0;t<s.length;t++)if(i(s[t])){e=s;break}}if(e&&0<e.length)for(let t=0;t<e.length;t++)if(i(e[t]))return r(e[t].mac)}}catch(t){}return this.undefined}static getCurrentMachineUserName(){var e;try{let t=Ms("os");return(null===(e=t.userInfo())||void 0===e?void 0:e.username)||this.undefined}catch(t){}return this.undefined}static isCID(t){return null!=t&&t.stimulsoft().startsWith(this.prefix)}};a.key="fjk2dpfko5epefko4prmk",a.undefined="Undefined",a.prefix="PL534950",Ae.d.StiCID=a}var pt=Ae.b.decompressLiteral(
"\bIQBa_h*{ˆ\v9Nu0YlRhDE7mFKMPΖ\bH#fc9.#%^n\f@UXt:׌TsZ2¼f+8D,+u;DV4Y.v+HD:=HH\tde;,#HD0^(g%Ha<HGΒd+‚#@Io7‚j5^”J6\vQjr…e<‰]'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 h‚`û ‚-bh^i<€ >‡O€}y)T)CHˆs0„O'Y\fҙT„'ShD\fhSmF*D5+tb@D!ˠš}da1[\fS@Š@s@?'QƃX–'QƂr9ǔ!@§zA^s:nҩ\b ú€'Tnbt‚[j5ư@Cύ`°=@Ӑ˜6‚Z %zMό4]ʠ ~i:- ŠT2׌#ha@ @ |€(UשΚ.ҫ}`0Ɖ*n4H¼~LN6+H 5ϕfe9\b—B¹MQja6A\b2([nFCe]@f`˜t?UMQBD!7  \f<„' ƃtXΡ.$=HeB`˨mH˷hː*mt#%Ze7m{9B*RLJ;<Z€P…xƈgPd*@°D¨\fD\v1XC7[Vk;ZÂ,F!l6\b ÌYC9@P6Ɛ-D$B:Z-F%m@\bˆƀ•`QAף2c@\ta’2a\th2Xm2h°\v$1^s2A  @B,\fVc<B €H°9Z,u°BD2B \t0DD7]b€Ž¸\v$#U`l4 d„ϡǸ\t! \v$3=dc2Vh‰Hp\bXΤ-G\bt B%׳:-KXˆƀ\fB1fס ¸‡9@\v¤ÄHƶ/8\f‡€0`S2]A(]FH$@o9; 4€,aIJA86@t\v=de€րeBDQ\bXƒZ‡5^v2S\fV3€@°€ŒW3$i3Z€\b ϑ^R2׹`0lš]˲̰\bIi@(@ҧaQ>8H\tItY\bXΧ֌V0€A`‡rHZ-fK9NF7[\fOž€@ha\f‚2äƒpBŠˆ}•0AjbF3Q\t ƀ%BEji1Zc`I\bD:@¢`ҀΖ\bJҫ5^v@ 0Hˆ„( €`V€9AE\t\btΩ!€VØ׮F{IJD2YL+2f\bTLQª \t@‚(âv2׏0\t$e€!($ìH\f50‹҄=aQ0D@a@0DS2]€<‚@0DS4nq\b¾-{׀\f€Bpƒ`ˆ0‚\v@EAJc4YMlÒ^fiƉ-8`S:XAXΩ]m#ː=Á0Ɓ-aǑKT@ p@XΪp #U`΅†;IB(\fD%+@‚E‚9^$âpÀ@€0AXo0t²Ǖ`\t˜EB]Bi:Ρ@ (±\bK0  ҃@n$30׎D`Ӄ7[LFJhÀ0D0= [NDc$\fH@Mh0@π„L™Mb!@°p‚J6+IR}€0Œ@Qdi{€@‚\f€ϰE(r2[LEPÀ:`ˆ@‘ 0DA9,h‡%BpZ€ p€’.1ˆÒ Ax4׫( x4פFDŽ<.5HD,D`Z\v=pA7ǶC%fkʀpD=p 0[LBȀtf\tYT\b('($,ң1Js:ΰ)Bn€6„LjÐ4=Y\fʖ{: P#PÌCvD!Br:,FKQ^r@¤ \t@28‚)@!dX†pA(y8)@ŠP‘ ‚c2Xm4=pA:]˵=hav@ øª \b€\fp@u9]\fWHB0ה@ÍX„€€K@0$DD`\t0DC7[-TÈ\t€ ¤~@ Ӏ\b€˸$sy€@(x¥ ÙfÀ(\t`€,งwN#=jg4NX\fƋ€ơEס7m`HF4C0DF:[˅QBc5Y,E@\b’„eQ¢ ƀ0€ƀD'#8Š%€0¤H'€L 5:[˂8†‚% ƒh†ƀˆP‰†%AXzB3@Œ,‡J@€l…i ‘8†h@s;4QNPH€E€.eBAL+Ӭ4Xk˜\b@Š\b€L@˜BBn: p‹$;IRd$[NF+IXa1Y1@ @†`€X P…Rìϡ\ti9]˶;ICA\bAA@2*-FK]\b\tA@ƒ*øb(x$nӋi^n:7 04Ž@\f3dt4Xdpƒ\t \v9O]D\b@ŒŒһV€ ‚3\bH(‚΄ï d‡X@0@J€KAJYBl:Y+„.ˆH€=8\f(Vs:„M zפ@r!Rg4ʀ€X@zD\f˷:P¿қnu‘Ӛ-f{Io:UP\b4‘@¨LÅe(€ƒj` Ï¡@ƅ ˋ“0 \bR` T\f`E@ h  €Xϳ$[N6KL@³H†€ǐyÄ:,HKJ Έ¢EsE #`  @ÁxÂN7M p\b„ƀ4{Uhm ¬4€X hD‚N€\f*€€1\b€€D (S:-F+(,… 5HX>ΐ@«AJr1Y-gνLT7P@0!h³\v$` 'YDpžB€@8hˆDmLƸ€4`Œh€b½:‚ǐˆ‚ƒQnoC@`PfT;[o`~´΢M@Ä@ʀ<P\b¦˜LV5|?Ρœƒ\b +%hl2V @ʻA™\b“@Π¾b£ †ND `ƒA-`’Ƅ\bGΐ,††ӋMRoJ`P‚ˆLV:<0҂ †T‰ˆ%ABcwB @PÀ,`P$,@ðs:lh €;ÜIFKMh 7YUˆü,`@§P0@v`hŒ€Ƒ@ñDgBArx€q@@…@'`€PʙLRȈ(@¡ŒK€B€X@D€PP%€ Ê\b€\b@ô\b€€HoP(hDN'À0H,“É\tfzd€@h€T\v\fҫQhʐT\fH,ʖQ^r/à`€€ I iGCHU@AX΄‚€$p\f@®0\b–@pN‹AP¼ƒm@ HƒÁ oDE@E€€ʠÅ]jˈƦ\b ƒ\b€\v( ©ˆ˦><\bÓF`)04ƓÐD#Q\bL€p\f@\fžPhÀ@HPƒo@€$*\f`‘d'@±\bˆL€Z0\b@D ©€Ù Ðe„*0xάNVw\fP+Z/ҋIb\b TNVq¤‘Ha D,l6\vP@¨Pƒ]@±@ˆGÀapˆ։·P“ 0E€!X*\f@r˞l7ד@X\b^€0’=dU€'LƁ`¶x\b€p$\v€Ǡr`a9`PPMf2 pTXΩF€)D@`‡k€ p 0°mr1^s\b\f;%֠HP€B€@‡t‚<@A‚tˆGΐ,WÀ p„[#@ˆ‘K$8,\b9€MØt`”$€6H0€y0ÐtH€\bp\tjm?@2\bƒRCp„‚]@”h€c@¦HDÀBˆB…g T†R†V+A`\b*7 8‹@—0€CP„€! ˆ<‚ ap„€pÅ^5\bƷ  €\b€ H<\t^¡€(ʁ`™ \baP`‘<ma P”@J+9Du9BόÀ\v%#IJe6X-x€E€Ƴ€fX<qXJv\vQJr3ΰ00„#Ʀ+Ia84` D Âæ\v˩t\fEd hˆ/ƦK\tD!/;`=de9P.'=oL€ʀZ\tdo;H`ƒ6`ƒÜ@@ @˜€-PHlí#@ð ,@\b#IRar`\f`t\b\v€H€ƀ\f`pT< `x\vËB\vf‡N5P„Œ\tvs˜\bGΔ,8@õ(ó*mq 2€`@\b\b < փžX9\bd(’-`@V‚D`‘$Á*,6[8€q Í0ZM}`<\b‚‚D\vµCP\b ‡\f@o‡–p@Ƹ\bH`aN(HGΒ`@\t€H@0T7ցp€0œ˷ð“,F Jd*€@(h€B€^@N0\bdƂ92ˑփí H\b€Zay\tv‘ðY@\tkà aSM|K@«$\t€Q0$\fN$\v2RÀ\bGΑqD>']B`y\tr ZB(΃h a=D>N#st(@ˆp,@e9'A$@1BΤ\tp^b9ǠךHHҫMRz4[LqH€GP-wXL\vn œƒn€bl2YA@P=րñ0`\vN…q`ûH† LB,\v\b\b§€z`4Ž hŸCX ¤ŠPb@\t:@ .>€|8‡\v\b̘Â`¢÷Κ.71By.@Bl¹bXD\v@yjn4]50ˆC`θ-Œ$b1¨ƒ@û8œºπ\b<€P\bT\bg€Øž`…`pŸN 5P`<1A •(¿[ds=h 2Ơdd APp@`x(`¡L‡D+9H ‚xÈ\bèbâP´\fƵ b`҇B`Ø@\bP$ʀL0ƌ€S€°@.€ALÅ@ \bv‚H`Œ8ú x\bÞ@3@ˆJ‡eÐ\b\tƀӠ@*€ց 0PL/€tH‚Ï@ 1Xǖ@fp%xE€#t@p€d!\b\f‚V`˜@Á\v'3!. @DBp0\b\b]0@LÃ@‘(²B`Sh‚B`1dtǁ@RŠ{€at@\fL²`h$Ù\b@p0ֆƒ1\bXϊD5%JH„!0‡0’0‚Ɓ0P-D=htV\tAq0€@8\fOD,#XŸda(ˆ[À8@-8‡^ ÀN €#`-€,8ƂV(\b<‡s` ?J@NP(odAt\b?*nxˆ?:nXB?*n@8€P)T:$ +H|Ζ8ΐˈƂ@ X‰1°J€)`60Ə\v@P!(#@›pW‡d  vP„\t@@!Pˆ7@ŽF… `”ƠF0€¨…( `\b-V0Š΂–aD1^u2aO­c1Y.ϑJr6רs r4]Le o6,0Px@I%0h60J $R1=LQÂ{S$bˇ)\vhPÆ,@MJt,  …$ƒ:(80¹ƐLF!BEƒ`[Ede,[nUT¡lsRp Idp,2`e#Mjr@Èa(Ϥ(\b2΂pD{+B$*z$T%fkWƒUhhXE`XH*A„Ra\b€\t1Rc2[N6*-JÁ# ‰V,Gº€9c@\fX΂lfs;[ka\b\b΀Lj R2 ‚>?$`>#H@?)œ€b\b2(@12˜`P\b …\vˆ{n[€P$o3H\tu$‚G`%HL7Ym~(l\t@’> \vNUˆd¸Wːa9I`(,„ŠFo;>P (†ʀtXR )!€, ׬Vsn,¤ñ‰\bp FŠ]p\blRI0RÁ$pÁkҐHƧ.X TŽːe2-HpŒ\fEӨ0a  …\v†K]dƐJ6K]^ƀiP„2StŽӀ$.\fÁ`¢L€RƀP pÉ`E.h2׌U+O@ËRs.BUfe2Ϡ H#\bA™r¼P Dp1^,6ciz€€\vH*ҨT@±D±)-PQ0 MX @hÀ ӒBP\fHb#n%+AIƕ¢„ND`…,<AŠ@u2Cp,¾à``hҬnҪ‚@ÁâE9Ex€\tEd1J 1H`%קDà\ba<?If+_D˜@$Ð2H\tf+ֈ\b~Cp\fŒK=jr*>A`\b~€?³H@t\t@·xêi7cP Hƒ@•@KpÑ\f!Do0׌E;%פ7]jKH`ώUÀ(Š€c…Š% \bJ@‘y(›œ-ts=hA9ZlP\bI\blP\f,@v\f\fv\vҨ(/+˪/¡ˆ%D \tJ΀@5ΩRr|\f I`E<`€ « `÷)]˷NeU€pȞ,FKR‰H0ƒL%Z-F(8‡@íX€Q‚p‡$J@Êl@…(‚\td` €F`‰á9/\v5`P\tThf{H@e€ @`o:ևr\b2Y,AQ4e@b€H@¼ 2a\ty8.ӣ%׫ Ynҫ(oCAThDB<HҫR]@\bְ\b$ €ƒÉ€`@¯EH0]LV0ì€BPÀhO\fV\fd\f@\v3=dg7֠@D¤@(<€@¼l\b‡@r@„)-€4„\tŒb$EψpN'\bThˆ¾D !¤€%rYRzG€(P$[NfKPpÒ4Hd!vð׌#\bMbH\b`0TnFK5jl(\v`0 32`|\bb֎2\v±MN@ªT€1\twK=jr˶XF…a(zà`xxA+  )<ð`0\t֊€plC€Π `1B 7.qP@i7  @dP1X-bB:\t\bbRRt2[;‰›LW8\f\b9Àǐ… PX2€M`ϡ(e6֍@xj\bd d†‹+Ide7¡\f$‚Ha¯\f€G \v0\fÿx˜„G Ue*@p@U)0MǮ2f‡@…@X‚yÀ\b0f‚`Ó4#nҫdo:dCp04€@Ÿ`F9m^x€{@cŒYC`1€VJbDƒ]‰Ðd2YMs@i7\b\f6{JªPŠr˜@\t@ãÀ… u9Y.'1À@.ӢSj±(>¸ʆ+%d 2HӐ64®ʆc=N/@@@L א€ŒdžK4r‚`˜‚G Ƶ^d4YM(\b\b\v#@]e;@ÀH\f@òÀx:€è:52^E`ƒ€A`€D*XÀ)dà(.ӫ%gJƒ`”ƒ\b‚%FMƒPˆ‚F@IJn2D`<š !\b‡ž1€hPLWA^n9Y(t@B \bâ 0שp0R™]-G  R).7+0׀2MJp0׌%|d\b@·À !PXre9J$3%Yˆ@xR€ ™L†.ˆ#dt[ÀxHŒ€ΰ8¾€P`,a@@؍CÕ XvƁB@…x>_`әD4Cpà@%0ƒ\vD-P,NJ¨P,\t^0`AEy@‚0X@3$#S8P\b3\vtjf!(4Ƒ@a@,,e@pŒ@Ç(O8.)x„T‚(>ƈbXBˡ@È\bHB’\b…X\fƶ+J\vÙ ’8€p`I(κ\v@؞+҄;i֐#Q\te:\b0ƒ€*`{Lf‚BBp\bV @œpXIÀ\t!d/˜.FyÎ{}e0.dƒAJd#Q\b>@ÊT’8gˆà\bJch`@@8 \v%>>+`Œ<Z\tcC@=88T.ӻjc\vυ¬€„{cTʐ @¨, 7y`΂{IHe9ӀC$-)HFC%gEŒ<D@s4nVc@sdKŽ8,`t7Hp<˦e9M@8‰%g mvi\bXθ]ϒY^nˀFE#!SҁDh`8er˞p2[DP\b‘A@)|ð;.'%He.B P\bϯKŒWBl65SHnʀ\t ú„ dú\bŠ\tK‹ҁ!‡IJf9.6B0p‚P)A€\f(F{\f8(¢CUhN7]0rNn4^N0(\b,€  2d€ ˘Yr2XmrH1B`l`¸ 0]\v@`\t>%ðH4…X…e`´(m4€ct.5;!Jn)X.fK9NT7V\b€Dn3Y.2]Pe7\bPρ`E !Iρ2Ʀz֖µB XÄ,c``0 Y\f@ f\f,F!–†H ǝ^r5׮Ln£@á€+)0H\f‚@QBb,@†@\f\bˆ%BTp`8ƒ€! ¦ uI@\t`_hDκIβ܈DŽ@a@FA9aഀz¢%Z,€\t`¢špX€E`‹x+@ @@P6,ί\f€(ÚF`.X(\bÀ$ϱè Hv\v%$l[am F7׉vr 2-@@(…D Š*\f.2<ր€Bpx ʣC H`@†L\bc3\f€T@‚(bÅM¡\b„8L\tf{Pn1É@`<\b`ª @Ƣa\tӵ1 `r\v%_cB\fXϲJ4+5De2,a\b0‘ ©€!(TB‚,tΨTC ‹€\fò\v9VHÀpƒ4¤ArhD@5iEf*Pb \b4@CQc:.oZA!@ÄXbã@MRo7a°D\b´–B`ARn3pÀ€8'N0H@THKJE@\v`H^\v`\bn 0HT\b,Ž !\v\br0@\f€ZGpL€  \v€ÀXA)uÀ@1Lj.Fy\bEҁÚ =LOPp,ʀ6€BD `„À`P˔€`Ã$V@\v`\t€Fe;שF.0J„ ð¨ @²\bǯ#.f{IRt\tNh4s<@f\t@›H$\f@P‡0'×dP\b~N`D‘­)^ \t@ÂHÀR2p#–`‰dH΀Zƒƽnnb` @„:Œ*=\bƀƨ (‚\f€.Pó 0€>Ӏ8\b)FPx\f€U@P`\bQ@@€TƄιBÀ`!DD:`’x€@¸0‹€0`\t@(cEœPbi6Y-Džg7QMyT‡ˆD ,vy0@{NAp(©%0^u0HB1,@AƼ6-ŒD0$)@ôQPr2y!@\b @RQo'Œr*j``Au@6 AK`Ð4‡K`ƶ8@€(€ihӱB @†8ÍMk‰O X\fF‚.@1EFǠ’`€ e€ÁE@„l»d@\v.@ü„1( \b\t:‚π¹4‚~Ob#PEŠ<@KN#\bP(0‡@\ff{=XT4ւ@@X\f´@ T 19mEp<! ÷\b*CH-\v@`r€Ap֞œ@}02Yp=Œ.7;D9Icx2@Ƅˆ@\tS^$ҋBB:Z-vr( ӝ@@=ŒiU2\f@Q”`P¡ÄAcA@®Fƒb€\txŽà H†:\t‡PœJ€Nà‚@/0€,€.1B\t€HVèb΄\b42$€LC@!y 4› ZP€Wp0¢.J€Hš#\bS$Ch@D}Dd\b€@p*8H\fF+QBi65@PL%Ð|0\tX.?Pӈ*)B|,€30€6D!@£9@™D\tXLRJp6o+Xõΐ~@ƒA@ š@hh|*0€>@ljkrʂ!$ \b €,“;B$aAlIÄH@(„eB@”;€ 0$\tl pŽ‘H˱Atb!@3pM(h:[,ӳRlF Q€Π\f@R@€€ð8$ƀ;aNl\v8@‚`…_e`ˆZˆ-uX€|¤+J^ùªv*Rd7\bfK9HA7.FG$a@+Y$#%Hn]3%`F@D9b …(4€xd!@[pP#a`H.IC@/\b‚Up\b:?! :@†t¢ET\bn°]Rl6\b\fҨlÒCDҫˆ@?L4R€d\v€A•2`‰\f‚l`xL/(Ӆý ‰8Šo!`;€a ½^€@\v@Ϻ„€Z¶7[\fUä €q`.:s`†4ƈ0€€`€ ™@€@р.BA8Šƒe@\fQ‚E 0)MF\v9W*}\bd($\tD΀öxB€ˠzpc2[]–pD@(„΀}À@=s7[G0ÁJ)SicP‚\v\t\b.F/@ÖΆ| 2ף¨\b1\b Ó\f¢^F+Iס62#g\v½ (VSLWQdi1]\fV% Aφ4‚W\b€P\tÄ@½`…m\ff{H@a7$+9C8\fD`xw@;\b`,G ‹=\fG@–,ƒo@­ï7D\v˄LWX†'ƀp¥|\b¨D@€`™€@„@‡_ Ør€+aNʢ[mf)V€aq3e^V˕\b\bγ,)A(\b‰֍vkA^n2[B1ϕvΩ]ʗ*ÿ΁p°€gt8@„iA i!X.Ң€!ŸPD`’<|\vŽ+˖ !opBϴ4PmK1HB0^c\b0ƒ\v@Ӡr!B€Y\fD3=^t2׆„Ҁ\t\b@Œr€D`b!Ja2\t@P„†k\t_€!a]Zb7d€ 8Õ@Ð`‡„˯:\b$@c4AJ\bLƷ#$€ip!‚T8€B(σM@…@€„ePx„[€ ˆ΀ÇApY…ӎ X€+€1P\b„4΀Z`H\t€!Ž$”Hw=jp\vH‚‚J@\bF€E`’@€d‡/€!\b’*€B0œHˆTS4\tJKƒ€0,:)np@zR7]`PƉӵ6[6p\t‚€2ƒ\t€7HWmwLZ„d8Œ/€XJ€€8h€\b Y((@Y€ j€\td€I@ 0„‹‚Ahe(,=9,7$\blR¸@ƴ+5`t<M€\b0€y ˂HrS:5 \b\b`ƝBuWˠ @‚H€5@\b\bHS@ˆH‰j@ „Â$@ˆҀ`0ƒ@ h†Œʖ+H2ž% |‡\t@û8j‡3\v\t r4[- l ʀ“yDYˆIo40€hàI7t88#€\bl€xB`,0\fЁXPE;€`„N ,# -@BŽ€!c(ž€H€p(—@ˆqLhƄè„€QC\bJm% 0„ǔ‹‚,€¥l„ ËTˆ@¤@Q€¦\fB\b€Jp\tRv7]P `\fƒ@HlMDJ@$€²\thD\v„àŒ:€}pv‚€1\bD@R€€C`do3׃0@~`ˆdÁ),7 Tj\bh@ Q(„À\v`9^n$@ ʐ1\fg4[me0,@%@H\f €0ƒO@²„)„d((€0P(L€D`™±4Xmx`:Uu.`‡ >%2YP§)º ǍFr2G\t$$†!B7πA€\bҀ'<€!XÄu12`€l³:XEPh„”/QJmQ†Q\tҍg00ƞ\bVA0TTnFHL 'YLp0Ǯ €pƀ•P†T€ p”΀0-dXlZ`@€\bB˜LV+֚ÿӇK=@PŒ4°Üp@ç(\f\blC˜0ƒy@3]RnT@?!’g  8B†5S%`x\vLK$JBˆ©a\bUft7[)V\v@\f®E0N2sI@lƀ4S.-ðʆKK_€$XAÆ0DK2^.?\bXhP7׸$@ª\byEb,˷0@7HEB֢Ha0>ʉֆ`V¦QS2W`MRzD9u!Rf:\b2-Jy9V`Ρfi=*pÀauO*ϡ\t*n1v@‘LV@“1, }#`=A’ÀQ26«Ac#H N@*ƒqL-sHD$\vA`l<H\fb  ~HBäҀ2‚0–€ø<^†½B^rq\v•¨»ˆc=ns@V \vF\b\v!6€k#0|\b@\t0D€A\br4[˂pHEF0„.ˆK#€Zg`\b!€ҀŒe@΀` T¢\b[$lj(r0[N5t6€%ˆED!¼P(@t@a\v~ʠHGΑ €Bp\b$€1@`!¢sƀ\fӻ=Xe0[S0€8‰B€!\bSP@JMwε҂Q\t2o:H\f6\v8òD.`-ÊD@-h\bG–3xҀ3F ³Ә.0p€p(D \fV\vJ6ýk‡±@`(€x§p8ECZ”BP®5`4Y\bb 01΀P<–€1yÓ1X-B0\fDDðv$@%„\fH\bX6u(È@!I¬˜K$0\b9@‰@‚ˆD0D‚s@T\b`s'nEU`[\fWơ$h2Uj3ցe`bH€r@)#0Qf/€P(NΕj1æ€P\f !4E0\tUÀ,κ0@‘X‘`PB7z þK”P8\fwPʖ3JH$ G 04ê)f{Q\bDŒ1(¢€ €8-\t@DZ0«Ï €jƒ@›xë`Q:H”AU+€\tP†@ϡ\t\br0YhG=`B6bc`¢ÈHbdo8\b\f!(…WÄ.ǰ \f1€`LšL9<ƒ)A„€S€ €LQʞ @@P ` ¹\f€1€a0\v¡P€.€ưBƀ’`Ä,R(\bYÎp 0T‚E@›4A@P„ A/E\fi2C*0(D’@0DP\t\f\bWC@f\t @ė@‘\f‚@Q<†€`,\vʁÈpP-Ƙrð\b@°ϐYηד  YM Ɛ*€'H(ԁrP\b/€,µ@Ë !\bU±zÅ d\b­GŽxEi7[I: O X\fE\fe <šq n©$ \t(<âG zü¢ BÆKPM\bÛ@@0Ò7]isJx<J(KIftnB΀H€ASƦc1$o;n \b±:[˂\b†€dbUNhқnvPÈ4YmHæo;H@XεC‚(!(@ϰ(À(X€:KxP0q$[M#%BlQ`Y€ED84(½CI^wu@ƒDc\tA(-€0Ae0y@4~€¢x€PŒ>ǀƒ\b҂ǀ Pm.~\fAB€>€l`0ҥ2]n‘Me;V€d„€ʡ9Œ`\toς‡` N+U+3Ǎ…`ˆxRB\v$s8 8|\b\v@0Éji\bp$€AdsU|^*`0\v€\b€:0\få€4;\t״ϛ\fVj=B\b‚BÄÐ\bJӬ¼#p(,ƒQQ@7X`=„$膀`Z\f†a'\b\ftI i$\bJζ׊\t€\v1:#€P8«@‘P‚`! ˆҀ\f \b\fD` t°ӛl*!@du9Qb \fJ`Ҙ€`†N-Ò <\b€$H\bÀF`c\tӮ0֎6C:@Gс\b.w%ø†ӻ]f6Ӏ\f)jnK€;r\fŸˆNVp8אc%ƒF`Rˆ@H‘$D˱X, i!S +(C\fV\vː :?+@@\fš`ΰ\bEEè  -F`XœT\v1ƒ`Ѐ_0‚\fʩZ˷:f҈,<8B@F\vMjLÅ@‘PH?B †ˆBt+†„„$\b‰\t@`QZR*{Ih  G#!i|ø­wQa9lWQ(o)[,f҄€1H€,#0ØΥ†sn2ŒIvcpU… ‡f!2ק\f0\v 4¢*fP‘:@‚pƒ\f€ϨˆiˆjF{x„€AH€20ˆf’H  Z@րR@h\fʀ`hAev+@4(:ˆ€N\ta0|ƂXӼ@6€BD$*¸@(pdye``@Yy\b.F*T¤7׈pÖ\b\vD‰(dA#1XƀZ,V'T,ª@‰(\b¶€`*’C08K@p$­@\tcYARe;c pI@!4[\tR0R#Ç%›–@]*|hª€Gpdk1Dm¸x$'?@lϲ˂l1](@J \tdK@\t@]bu0[qH׎iŒrZtQWp׮W S@bt7H\fqÎ~LNj2ˠx€5@Ɣ#fk:3g@ ( \bU`x¸@@\f\f7l1:,,\t`({L`)8 @PŠlƁ\t@†ZÊ`Dt\fŒ\bDK2W,ˆΉ` M@Ä`3kžL€` `r6Z:08‡J ˜FHGΖ\f4³€\v($ai€[l€v¼|@F‚®@\f‚,€X@x@‘~j|…‚9>’@Hžj‘`ìOΔ€?_ǐƒ]2\vpP҅jWauh† )֤A\b5T_€Q>ì@d%ƲƮːxUxR€e\vp(@`B(ˆb/@_e@˜ןˆ`zi> ži<C\b·\t>)@²a[i€!Pòo` 0.i`Jx4ªv0tʀUӁ €!`\b@Â(],‚Bȅ@;K{.€‚G ǥJz'AP„€ 4efA3K`‘Z΂¼€GMhb€`XRƂ€<D:׎F@@€DW@€€ZÐÚTºA Th@9]#€[\f (,b1\bpˆ8LfèÀ:A3Aæ0ƒ8l”F@‰‚ *cpìM(oSE`\tyH®3@$ „ƒ^Dx™W€œƒm@€<@ΣSN€x(Bx:\f ր€\v8$@e;:ʠ# RFV{Ufl™`‚@»P„\t@–`\vÊPÄ@LP…hƒG`ˆ@¦\bK0‚E€(pʀñpFS2Xmvs0€ 0\b@‡J@\bu#!Rr€x€¶8$€¤F 6[vd`ҀB`0EB0P€ƒ`@|¡\b@p‚.]X.ϐ€‚% ½'€)@a Y.$3`Ng *9XYC!#C0ÆPH6\v9\t’P8\v~å`x0Sd0\fP$>A`30{@4%@΃\v\f0\fdFΤ$pb!\bbYDc@+Kƒ\vH˷F!@sH–Ü`2h2o6֍`4z\t€9\tփ\tÃӀA׹5A@9ק(B¤($‰˶v x@V{;<`\tǍjc1Y.7k00Cƒ@w0פt‚,@Ò{(\f 5(F+ˤy*\t FxŒ€MpTt +׍vsn;\b\bÌ^r9.#HOD\f[\fAqP\trS#Cҥ#!Jo \fp!b2Y-i0bl<H6+9h@€3i\ttU\f \tt€$`EgaL$ϡǀhp\b0†„ϱ¢€:kf-\v`šX ÁD‚ʀƂ^e9S¡\vJR7Ïd =F\be QJÀ1)MRn3c`˜8‚FBbMZr![mf3%Nuʍ@\bϯ: \b0%p‚ZI@ˆ<†@¼L!0”J€O΀XH€1\bŠ!…IDkD\b#ΰ”J@0;$ƒ\b@¾0`e;P,0„΅.rHm!À2@ nD@±ւ%@8\bBa;0!ph€\f@k(\bŸƒp€@@TLW#IRe;=\b\bD€$9k <\f@™hXǀPŒz€#–`*ê@VX\b\tc2n`íX\v@«8@4pT€nj048¹A `4€[ro:_AX¢\fROj\b\bH\bœQFˆKSAXHA`ŒPX(\v9d$Ni71p(,„`IQxþ\f\f,F!@3\f@.Xh!ʀ,3\bʀ\b0Šb+sb0ƂN a”+Ϡ\b\btƒ@ːo7׬4EdS5Z-Fb1Jvn`!8€5L΃L2HˁP†c!·(ˆ~rA\b€`$C€9N0,[n[FT7up €Á?8 it%c0r4\tY[Q@2?‚@`<ƒƒŸU\fW!f %€!@ϳ*‰04^758De<Pad!Jl88B*e\v\tBs4Xk((%§¡]sÒ \v=Lt;X.%Hh(sMne9mz2G°0Tf0F@nhlAF\vIK2‚+p\b‰\bː\b\foQ ]Po@\tP€6,€\fº`³!j`(.ҳGHB%L5€7!AHo^@‹p8ϦҧU֗@ϠGGE0%tƒe¡u`ŽºIA<ƐMÌsZ9.'ILu72s1RtIb#(¡Ɔ\vYBi6B d\bj€S8\by…Ÿ<@c0THCL֠+C`\v(y€P‡ð@‚>…\baHsLja8Ü mG+N(° 5\v%Bl7Yk``J҂$aku‹ΐ0Lc\t@apƒ@1x,Hi\b@B7@˱SFF€\b<t‚ӼL'@Œ!€pXÒ3\bT N€€Ǽ~\tIŽ\býH˷Lv0)]ʑQ<\f5€`‹€g# M€\t€g@ƒ  G „`îh€\b@óHài9]œx€\v`̃ ˆ{=VU\fQ r‚H@Au6Y.Ӌʪpj b8†+BX]TnFIF€x„i€Ǖiejr2y@˜P†5@ƥHi7^`P2ǀ΀X‚Ҁ«x΀ÎQ(΀‹B1%J΀ËD€ǀ¢pµ@%€4H€ ´H€+H p\bր'(Rdi@`X\f\v\teayAӑҽ $: ØE`†d<`:lV+9D\f80BB2D \tãƌFZ!H®²˂J@ˠ0ƈÏep4<DpK=j'9$ tÀA3>+ºHF\v`s2U˻`pl@@Aҷ[ˁH€nB0š ˆ:1va\tǮ:.ҪMFo7Hbΰ<’€pJB78^cDs2‡K`̑ ‘¡+ZW8.€€q#Mvj˪r9wഓ@\t0DG7]EH¶@\bl@h@MZ 8h`s2כFP-`h֑-1XS<[,-Y\b€b€XAð` „o€à„\f@@0ÒD@„t†€B@’„D\bÀ !B5ҹbpU҂.Eb0,€R‹ƅϡ:m\f( !@@҇‚Ϡ8>Υ=A@‘¢ ƀ‚(*x4[.Vj84à@$k(¢HrfN  ƅu:Fp¬].B04€_BP{5`t'[JҮx0¢bH°mj )#¨Ð<Š\tE\fX΅€.@†ʀ¨Q@bnI@ t€@„X-„PR¶ 0\b$à$,F#]@EΡEHe7,@0)@#p L p004[mnppR€utY@҉€(`ª5L\bv+;>BY@\f80Œ@Rè„VX]À[@\bP„@‚ք2|\t0:Ơ,’WHfy` 5¦a\ti)œ ”-o8xƒ9PZ‰HF€\fZóa0XÓ;4d\v\v`‚z7… IҶ`(o\f€RPE<\fSH@C@˜^€cpx \bSY\t(o/@ `,`y8# \t¶˩3MJR2YnVcdE@PǍ*s2HaP€Q€n!xEf%@0p‹!Žh֐$A$ΊIK+@, d.©A†d9`¡Y΁|‚)i7.#`ǖ0[ʖΙ^r)€0¤nK@P8\bJ„bHƒ]A-p@D”@‚('@¼1@%00]\víq\bʑMqDá\b@@@˸%Ap0>CC·\v‚0+1HR2֮VO}]F`N\bÄ 9€\t` — ƀAt€ž‚L€TˆKJnJa`ž\fϰ‘6C\b׼€ҁ˜ ƥZp7״V0B€T$ž€QXÀp‚8\tX(G(ú€g@-@$*+ӐLYDH\v8@o^@|$d@@BpQtR.WPM0]-fKEje€@N7`BqX@”x,\vs€Ò B´#`y¦` 0%Ø ‚€\f€)`Y€\v)-\fr9,5y@I7W!Ê3[Lu08 irNd<T€@΋5CƈNivsP)ø`\bh´œdH`‡™€i(,'t@I0ù@P”pҐX.Li  sLQH#%Ze%À¹,da93ø\b\b÷p–Ê \b8,$yy >HtBt7Q@AdiC\v`0\b@\v€@@b@IJ*ˀ FE€\t„,À6@$f\b\bүiRΝ,U#?H' @X:If@x?P,Bj4«UÁgK€xp\bã@5PCQ@ǐu„Xj@*`-{9 r7]M3R${.7Zb6!. 84€LӋ˖I3[B6P\vd\t\tb€@N(ÀaCDIBl6\b\f+Q^-R€ˉ`p™3(AaL–˜Mpz€q @x€ǁ`Qe`,Nҋ5K҇›P(‘\v$p¿\fA €~΅Pp…x6H (ք\t€\tTBAJa9Y([x|τ`~ÞppD@70DD\tlI$@@@a1nW!Jv>@@7*9ã0].1\tm\bi9H\f]@€\fš0\bA(%4@R8š€\f  \b7dsT QLK3J \fÐ2-FKYvH\fVÈD 6H0ǔ€, O\tˆp00P€%@\b2g)­$*0I`,\b\fGD-{t҅TL-(rUH C$ ‚d(R0!X-oAÀg!p<a .cjnw@ #0\b$Fk:֔A(Sî3=jsҎEzL-lp<Br)'0ô2ö@$΃L@ˆK˰\v6ƒ %7(Gjn2^+`n16%`<@\fx)Hd1L\bIJaoX`Ê‘„d‚@\bbx,\b0QABn2a‹4\bR Y\fD{I.Cˆa\b*ρp$NǠ\bÀo9D2%LҎ!΀X‚=nI;@H EHG9.CҐ\fـ\vn: p0Ɵ€g ƒf\f¡À+D„\b@0$A€T€…J€ր˜$lMKpE Rh‚…$8 , Hl-@G(ª-$@|l‡€0a€WE0Ƽ†mtË«0\ffƒA^l7N0Øž(\bʀ€hEZ<JFzdc4\tF0!€àA0€*„ˤ(``o:׹P\bx€“%׵@@!0NFƅפ{I` €s@,P\bҀ\t€XP@‘!<6\f`„\fA`Id>ʖ;%ha6/0Vñ@b$ L–‚0DΰÁY0\fn\tL eB\t`1t¯ÁC•>@òA‰˜s€f ABwD\fR[d\teÜƶ+˪r4]\t0ҀLj@ƒ\f8\tV\vQdi<d²7]Q\bl†ahdH(Y\fVΙ^;E!€$ \b@Œ,Bb2Y\fF+~ŸXƀ9R\b#H ǀž( ~Dˮ\tA7-Up\f¨€ΠØ@€ùFodD@p„\v€`1Ǯ@a›}˜\bW˂p2Kc€0sX\bWCFt6  („`G \fE§ ‡.Â$`hƒ#I@\fP‚zPŒF`0$‘`‚P€FK(+FhUÊ#=Ө2Xh0,€\f@–\fsÃ@h:p €€q@‹@aR^r2#0(VƒF 1oʀ`€G\v@3“'Cv@ pB#%ק:!Ru|6b#T@϶Li2!@í(€l`\b€X@ p' `ƒ{Ap86€@ˆ\búA@\bHƚ€S ŠR€2€TӀ¹x•B@Np‚E`ai΀T„¦QMLD.< \b\fZ]q\tBspÀXxhL(ӫCX)D$5  €U2x\t|€\b`…0€Ú@\v@€bYҐÅgB@p \b@„,)@€XžF€F4#\tL#€AH)}\bB#ƀ˜QR(€)0Á7@]08ʞ7HΥ\f)€ dS6\fF]T’-֜„Xž9as(ˆ‹@O\b‚Oˆ+jUö\b!6@€aCfp„*Gn‡t:%ʞÀjCQZlO€,Ϗ*)C-@‚‰@¹€ \td@`žҀÈ4SAJg@\ttRALJJ@°L@Žb€\fƒ0ǁe:,hRTb:}f \t@RXÀh:@ds$;D :AaBHæP1^} C,Ӡ™ d@Qt\v^b2HƄϜˮ8ÞP'9@¡A p:\b  H†Ê=ne92E`z\bNH@\b@³’nhʙ@\t!@@V2hNA!\t/HYZèYNz*@ˆ(\f$o`B\f+@S+f@ý457K1V5€Ca)RcvDOvYÐS,S\t3 †4*,lxþT$QTPHT<0 \b\v  t('  䏀09,€Lh\b+F@ùT‚ǖ@=hI\v)(i¦uBAӎhv+PB\t¨a\fNΘjTLX,2F-aJƒpPTd†U\v‰ShƐ-p`@h7QӀPʀŒ`h7Y@08©nWΕHfPH7+P@\f€e3\b\t*íΓNe}ÓPӇ9/ê€3XM7[Mv!do@V@ph†ŒƗ+V`˜@….€\fϬ.ÒŒƒd`€ŸCe €ǟ@=0pI ˆ4¡\bNH\t@lWJ1Jn3]Hp,€?lA°€€\tP]S`vR-8N‰mxh(©.0\f Hƀ¥μҀ€.9U@€<‰*@äX@D4`1€5(˜U‚3d\brÅ$X‚@\v@‚=d*@¼ˆDUTkUXt4֍BD\b€4âƐMsàT43fAo@\tž€c\v\v9n:7@p”0ÜU`ŒPƆ#\bˆIT…F\b$Θ^As !€0\fʞh0˟1µPhVKà0Õ\f qPP=,T\vQ~5¦Q¶ˆH@Ä@€r \b>€+ΠT<f* `P(3 ‡JƘ-f9D ˈ0\b€ΐÅJ.§aP\f֑n!H‚@PD Ҁ\b҄AΓTT`\b`A0ƒ\b Mf#dd(\bdx0m\vD,„H®PaØΊ \bÑ\fʖ{;~e× 0\tƇ\f@΀h€M@‘àʶAsp(x:וHD h‚/™h <™˷+5x0*[Myҭ\b@a\tƀTm{\f\tƒ#p2u@ǍR€$pAu:˶sR‘` \bˆ€8 e?Î%#ahD9.z(ΆPnҋ׀€(i6 \bƆ€Øƒ@@@P€@„d‡K €\bҀÖ ǁjt#,UHDË@pAjt`‘@ǀ­h`Lp.: dHHVv³E$GW\b\t\bPÔ@„Hnj6A@³֎\fc`ÀH¬\f@B —TʙU.6(.҂9Æ$\v9I`@k€ÎR† 0i²\bƒ€@ˆt€\fm0h„5@`†8€XB>€N@Ÿ$4€@pÀ,q`L($#Q\t2\tˆ+ӿeր@VP$¿`(D֌@2s(\t=­b ø€ǀF\v1YV@B€ҟ'!-T\bQ!.Fk\f¬@8†@ª 0P`AgQEd\fӫ@R|\vLӪ\f ÇCÆ\b’ƒ‰€ʀ=Hs‚z@Ғ!jA@h“!ja@Ǥ°1׮b(àc9]HA\b29%0<…o\tϒ؀/†\tR9Œ.6$r¨\fi~$H\f'\bÐCŠt(û@€d˜˖aH¹<-C‚@ˆ*€M@\vMH6„4`p*@2pŒJʀq@Df@#\bk g !TAϒä¢4YӠFt‚dΠ!@Ǭ’$J!0’4V`\v%6ƒ\v+#2L5@$#36YˍX‡GC`Œ.€U@5Hc=@kG$-U@(ûàJY-WXÀe6^`Ÿd$2Y`p>‚F žPD” äm2ʐƒ`JJ`D!€`O$ζ׈ ÅdB€4pzƀl ߚô—Hâx6g€€9€d‡@`g(1³Q0p¨NeϳaY=‡`ˆ‚€%TŒ @Iך2\f4Hz„/Le€b X>n€@v„* ΪqˈUBf/*| 2^AY=7ppz\tgPEN= p€ôj0,€@ӃQd€€`07\f]@,(dKǠH†l+XH6cfs2^nqΤR~`Ƅ0=L/YH„1A@ph€q!aҨ\vŠ)`gJEfSAJg€`pàΖ\bZ@p1LÁFPք\f0@@|P\bºP„d€C ‹<±9[mfHÀs7iM0$‚'€ˆg@B0©R[.*0\f@m9)@0xH\tJϷp…Š{Iө6\tl8€\vq\bLÁd0½“`€ƒ[\t6`xJʓ6px$-\f ha‚r\f/@ !0†yƒ\f\bAt9Ì˖#h|cÏ@‘E#`—<@G@Éd<…,|X\bB€%p@Fˆր``g1@¥P@M+1ˆHˆXz`cAµh@¦‚KaˆVˆY !`d]¶À«,ˆL‰N`Å׷L1€Tƒ7`0; ¼AǢyH`1a`3A`tK„R.6€\b,.p[ \f-@C4\blbXR€bp%\f\t6@@# ˆgÀA`ƅϱ<‚w‹po\b%Q9dt@$PnD0,Ö(ʀ<ƒ€¡(><ˆ~‰\bPD׮C OHeBH΀F€ÐDª fv:¤Yhb„VB`3`D2€(PAfv3Q@!Lt€0ΆE@҇1W)\b6d(LŒCÊX‚ʆJEhi3  ‚l`BHP6-\fVˆ.GAt :Pā  !D†ÀPƒEƕES@b6@ң>l‚€e(?7׌Chˆ A@x€QÈ,F~h\b 2t@8\tRǀ0a@b΀l†9@{dlKŽtŒ@0€ È4DD ˒!\bn^˨@x8!#iRp\vƒ%%p4^MX(bz4֖pPA^LP¶0PEG'#\t\btΦ 0x€YPhB0D2hE(ápÀit\vAC`תΝ\bOI=MY\b0ÄlƒC€@n%\tGPXpΝ\bDC8`0\t@HL…\bŠ\t@D:@xj`3\fb€@F2\b€Ǩ°#(@ˀ¶KD22€0ʤ€*`;9$€(`;9$€)‹ F#J$\fF A@‚4€֜`H *{@p\f„#H€ .ǀ €\bŽI8Ҁ¢@€LˆƀˆxÐMӄ@„D(´/Ker,)Tj4D,€t+¸@΂Vƾ€PX„c@†2„ Àd2/`@X€^‚P<\b€\vPÈ*#L@…T¤!`‚^ˆǛbhT€*`„<@Ё+R¡P†4‰TӠÀeUÉ%%H<€M@EƤ:€$`Ǥ€D@œàp€ˆ%%!P06YҊ@È$MX\b‚€0  €'`‰¡qθÔ—‹Lp2>°Tv˸% 8­‰bˆ€G/IHDND#†€# A\f ˆ0±\bHI0Ê+eBfc2[EQh\v'!@ƙaP@XΧ҄ \fOX`FP8™€,€,€@€x$9@ΰ\b€z4\f΀\b€,•0@„€=€\f€b@€@ºp@¬b BRG €@ 1¤ǑPe7`€$‚\t@Î(DXQ*6+Qkʂ±ro<˷UaÀΐ†zh\bˆ@ H€Á@‡g\f\t`=R€Ð$‚)Fy §\b` HX\fΑhDW2XAP(a\fÅÚBB1l5Ke4zF\b `hƒeÁ%0€\f†` 0D€$YL,@A@ƒt§dp18T«@L€:E²0LbΖ\bZ1bf*WƘ€0\b@‰€*$ϔv^’(Às'@8ր0M€9LƊm1GN9’r<ARsNVcRle\tŠ`ù#ó1—ƒ`,$ (ƴj\t@ˆLgÑd˜x„|ҔKMƘ˜A8à\b÷% øB\v@ª`\vG¶Pj‹À \t@…H€iʈTm\b6\b³\b8‚u`Ӵ_ V@ }rOD6W“T0\b\fh¯ B\b\t~@_ zh¥@ +dJ†@¾I$x\bDJj\f{AAP€6Q\tœ€@Á*PF:@ˆT‘;ǔǍna85(RÞ]ǀ`,ê †bFk Ip\bʀƒTd ‡ 0õ|Q9תF{,Ô@\th<Gh\bvq2M0¸…ˀŽցÏg88¢$@u8vH ƸL£‚@†R©@΃1_#Q˜ ҕ˶,‰@ÉHUB6lӈ€\v\f`El4Y-gΤXÂ`=@Bpӥ1׎R\b\b€>D À-\t¿z\f\f’G!\t\b@PœERn2׏ ” ‚`­֤6N pƗ€`T€Ӡ#dL@Á\b€ \tfei€0`…SŒHDJ`IPxJ\b#\t>€ \f†V€\bעd4]Bh,’\v#3(MA@D2\b׆*(‚  QƇv€Q4*R€<Pƒ\b7 9[P¬mˠêlFi9YϐJ$2]Up!҂´. !!>\f€\vX0€: €\t Ž@Â@$;$<J/`ƝS׈`Ìi9k`¸`€j\v +PÁƀAPf‚7(P@Dƀ!\b\bL $†ƀŠe0!X.Kց5ˀOhL@€2@ˆ΀À5@D\fd‚ … FˠˆDŠ?€Œ?€!p¨D€u/Pm€X#B)sDÔ\b\fçPN\fF˔‡(4`i\f4r€€בAŸB#€rFƒd0„8#)„$…5 Ƽ(ƒR@ˆ@€z=\bPӀ€x- j=\bP,rx„A(.FF \bA0€2Ҁ3!P̀z  àG4סp‚\b!jzE^ #Z.8X\b\b΀ƒ ,F‚@` !‚{E@t(äX)Q1XQB#€/4ւ@„(€*€h‚v<D*«|ˣ#B \b,…`0`†@ a –,ˆӾXxkAΥ°‚AΕjG@\tJB\t\f2€!Zր€:HΜ yֆsAH27£1hEHYS@NWY\t$e€Kl€= \b2Õ @\vP:ǀFƁƒpæ€ϰ°L€_@@Ƭ‚\fª5%Qh\b(nts%^n5 'XD/€ǒ@X´À Ð@ l8 €0Y(š0m@s-Jyʄ’0…,;ã‡JÆ`†V(…aB8P?@$U@  `\f5\bx@#uYÊ@·4Z@‡q€1<V$Bd0·>I$K<Ž…\v0B…€ e\b5€A ž*€`dhž(” $ÓÃP$J`ýVRK ³@ñ\vB0-`@ƒ\bҫde9\f@p h-O@9\bp†d`‚6ŒIw;8X\tR(BhDo;[Da\b*¨H\tϰDWAΠ‹\b) t\tv‘ah\b€.iQL K<@™5ƪ 1(m€b¨Lœ˖b(„A*r0DX6wP`ƒ+B@(€\v€M!j%^r6Q0XOê! hB`U@S#¢0¤npE` u`\t@yz qΛl6[%קg \bP\tˆB2L <C\fAp€j€M ž4Fd\f@!iˆ)v5xR39Fx¢\b`ǸV[lb]$@©2CǀsY˞a`K *´ L`F6KiK./Y|SYL\f6\v3,]€\fKn7Rn9SL:(\t€X\b2€ʂ@<f' ¨d’+ִˆ°\bIyl L(Zh…$\bÄ,Ӂp<*V`\bTpU@QxÂ\t@1\f@Jp…€àƠlo9$p2׎GKîÚϥΈ×+Z-eQpÝBŒ87{\tp\b<‚O‚y(0ð@\bD˘!‚ ‚΍Tw10DSҘ€A4\v€<\th~Af\b‡)hDF6.6DXƒTC@XHx0ytÀ/1Xò ˆ2šΐ\b!7H@LE\vײ+!nd P20[\f?`8(€2ǒY,J¸*]0<PD.A-`P€B@…`‚\t€h€p4@:P\b%-§#%Xd'YVpˆp.\b€Jʀ³I8\bC7pxjiÚ!>\fˤCt:Ád9€l~\t׀‘ЁvP”2€'epEր]A`W@€~+£„.5¿P@\fA‚S„x‚ŒIf+ל\b\bGΑH‚Q‚hÊs;/dPPð  @î,c@…$ 0Y`ñ)Y-VK˞l}```”@€+R L\bæ@Xp‚D`@^€@Ǥo5 zC@`”cp™G AB=F+JE š\b…\b€d8Š€d0Qӥ:˲ˆ:‡`րŸϺQ_Z@ p‚lB`€,P ϴ€ghž΀ y@8#€P ž…*ǠkHŠ@·P”‚p ¨:€\f@ŒBA‰J€ rE(.V+Is\b£p€,ˆ\vϰÄ@€>C0ނBKsƵJre @Œ.DO0ʵr0”x†\t€`HÔ@@)$\f:ƒ`‚ƹÒ\t@¤‡9„2Z|¦Kp\br%:/ AI^/@9 dB1r\f@ uÝ`0˜p±yôƒ•ˆHς4€@L@d0@e2\f!3\vQBtW¿Adû'@ϱ:όc@@eG#?AdK­#8AS^@ǸVMϠPv9Z*7do6@g@€˜D ,x`A#@^^ϙ\fU+8~b   PŠ@bDL-ÇA\b4=·΁\v7$\f`‡uҵ1-JHÈP®ʀ>\b02ӟ \f@`a9~@hUIҹNIf+^^ƒBco'@3aJw#@²€\v€zBX\b4=‚@\f?@•-:C`\fc\bK\fHŠ9ďN¬@†ւtE @PÀ,@3gDÃ`\b.R`0\bP„@`h€V@[i\b€G)À¤\bGp\b҂@  P€`B¹yx\fq‚#P‰€P€ X<€B „:Ʃp,\v`!‡p@P\b\fϏ\tY$P‡:!OP\b,\vPnA2YƇ>\f@Vs(™   |„1@™\b0΀p\bƊƒE ƒǀr؅@Aֆv,@Ra4€|0„ŽH\bB 4~w\t\b‚5A¬p€€0xÒEA0lMB`XvàǪt\b@K'|ZmxΓ ‘¶ØÀ„.A?PAӹ7ƒBƀ€ppÎ,€18\t€ dñ\v@$dp<@¶ 0ǎ 2X@Ϻ²‹H‚2`(>!\b5a^p€H@@F(\b\b… \t¬#ƀè€ƀ‘À:`Žp@\f€p0%€ΐ¤V‚<°\f°dKHP\t\v\fPzÝlƒ5800׍Pvja Ž‚ˆb€ %àE p@±8ƒ@ UQ\tJwÁ`G d§,Q<ÈHo2aRµ Γ$Š\f@A k“`p::£³€@€gǘ°/kVB`!0D\v€Ns Tƀn#3˲ \t€#P€l6£@„€}'@d^½ \v`a:.0 Ǵ€#@\vhe:A°yL¤˜,V%Za6.EP0΄¢€@˜Hˆh 1ª ƀ‚@„fŒ\tV\vM`J œƒ€€\f@…0χ;R„¸\bƀò,€ yfƴ€pxA6¡@À@ʀŒ`Q7QLfΈ„a\b(ˆDCxAHր`fcp€0„„\tq9H O~H p‚[@`Ak1@ 36µK…PÀ',v\bad1$[J!A|\b€ ¤€\v \b‘((5l…€1*€HHnxh >րR֤cQ\tb§@`(h‚} \vPƓa`\bVn]LV8€'€ vpAlCaŒ( *Map<\f@P\b@3n ž8\fgT@Lx•€Y0\bö0’p8 \bN ª€0p7d@U+MKEcÇa(XD`Ž$$m@!Ø\b§€ϐ˜- ` \f@? HS  mF{\vTþÐֈdàP\bdŒqpŸC`’`Ҁ6Kimb0κ=ςìƒF\t`Z0rL¶U˜\tPi0¿.ʀ@ol@n.BHƒ:@Fp“pa\f@\bNsHn€ʸ\fM)Bh(bˎe:\b\f0\f@spӠ'iևX}Ùq@ `@\f€JLpq7tŒ<U[`=D\f@†`,m-PAfR€YQxh‚dUPP€C`q'@eP˜ҁ\b[`xƃ{#pO\f\tM$F{K~ÒB0U™G`V\fX\b.>8LG †\b„@B\b€ל A\f׀U9qP`\fz-@=^k6X.  \fE€!N ˀûX?ˆdž56\f€0†\t0+hEw‚hj\b@µ\b‹@¢p\bM„P\b\b,ǀ¥PP:dL[UH-T@ 0”~ACp\fˆ@bȃ(@\fƞ€!PŒ2`¨lƒ@±h‡κG)#@Ҡ@2a\b=µ zQ@tϓ8`2ad(€RpX%8ƀ4ʠA\b\f8(€$\v]d\fY. \f8@M7@1`€ÃM 1H  ˣB2ì‚~\t`(ApXҀ\tH@ƒPBŸA£4L€.\t\b\vD˴<8ϥb `|@l6d`p#4€GG`ҀhӁ#`”j#à@…[Hò‡WӁ$0ƒ|z`hD4„$y\b$ \t@‚P8f'A@ AHbˀ\f 8]\fר(dˈ 2Ø€0:RdΛoghDD€B ‰^6ØQ@8l–@°`‹€\b˜€)@p@±9,K¢\bL}p\bCÁ; 2ÍI0>@ž^@`@\bBpP$q9\b6!JmP]:px@‡p†LP€*˜H\fG \f4€`–*I( Ҁ4 €]jh@\bdkRn€ðˆ`€h(£AA]4.Ɖ1pÔ9lWO($( Ήg!R@fˆʶSljFm¨\b׋þA0\bր% E(„)ÀW0`\v0\fnVI5Bb\bŠ•,4no3\b`\bǴta t, 8\vOTDˆD<*@\b8‚C !`#€ “x± |.ÔNDkD(©a@t\f9i\t@.m>€= §@ր0|@>€ N(jΖ\bG ƒB‡h΋=om\f“B0=\b[Eè2NN ‰d%@ Tbm7Y˰\vFjTH,¥ +XG`|€` =TmVa;XžBƒž ÁÀ\bn'פ8ƒ{À0@QB˄i#s\fιH0(> mw;fuŸp(Š€ð$=Šp*eBs4,IShDÚ0‰%½A Z~S ʛ`L<\f)f{SR¯ vZÐB‘H…5”`\bªO\b!pÅR~0@iY\tI(o8ǧP:\b€Ik`\b„€0=je!€~ʠ1D0|aEǶ2[Y`PA` I@,3hbÀ'H\b@DE*%<4üd E)ԂBUΔӭ6žA`˸`ʀΰ†Nʀ8 PЅoU@G •…$0Š!‚pEl2p'qƒ=Xd` h`O$7Q~ïRIhU@\t`x\v= 0\f`N@(\fpAϐƒґ[n.@Ð@9A*s2@m‡mVŒP,‘€;pÁCGPJv+1Fo A ^\b€C@\fL6ÙB ch-H@! ÀtiC .„è©Cx*j \bpyG @H\f€\v€\fR˜PƁLD€105R@@HD@APa{ƒ@Ñ!mPx‰D,9 [¤ ÁakXb@ŒN˜\fDTAìÄ@¼( @Ú8L €@hҾ€=L0npŒx\t€ \bVüwpLÖO@Q0„È(v@¸‹@;%HI!ä „‚H`‰( {6Ÿ}d\b@ç-4)€1A@A`dǀ<QˆX„ ±<§7A\vhҍñ@@=0n€`2À+˜ǀÓ@Ɩ7^\f(¦A N° FA(P*nk1@ˆSÀ+(HU4Ð΄%,(W@@xX\b“v8ü`p),ƒF@Jb\b@F0qh`´.fPB΀H…ʀ `„\b)v01dـVP\b€ 88€lӰypƒÆc@p€5A•0‡i\v‡P„:€O ˆÚ@ ,HÂ9.5B„$øŠa€BP @$\b\v@³Q8΀`¬B€G ƠA xŠ#€`˜Ž€€֌@øA \bXγD \b„g!l€[P‹f\tC@”,@‚bU΀NS@PŠ\fƒ$pƒMLP\bbo90€Jƒ 0P°),*V0b@*@H Y@`|.ÅN@H€\b€ …HƒA@AR@†\fxǀ`00Z/Ӏ$\bYǀˆò\bϴÅ)8Ldž{A €v°T\b÷@`U9\f/¨|•@P {KLq§c\f$oϖ\bx€:@b`Uք@ž¤\bMBJ2\b\t`€\v‹D@3”4}q82)E#`66™`d+Ld[mi  %נL\bl€`tY@†PҔ\v \vXi0ץC0(€Q2`xA`HM‚B4¡À`p6pš`€l*@f-¤AÝb`\bEGImvNʭAΰVC–507ǣ#=L ,@\tH¼ÀÀ8r¬ “$Y€w¨\b4`d)©!\fl(œ€\b€-¢ \t\f)Pl!Kx Ä@€?p@؁ ”tFî\v`!€iN@8$H\b$ǂ0A\b\bH ‰?Å •]NFatv†Î !b{NVc1K· ƒb1N@\b\bʍvsS8ŸÀ\v@`ˆ40@a`\b`a[P,<€;@@PˆG@r…\vjD10€B@\bl€)L$#db<Pր€a(‰!€< @nƒ€.0΅y`˰y@@% hŽÐ\f`2 @@.€)` \b8‚}`hƒBAMp‘2\bHC€!:F@›ERtɃ\tƒxb\bƂƁ9pp\vxÌ@³X€YÀ\bnpV΀F@‰H '[T;(ր\t*pÀAaˀ'9H@a7¡t`Ƹ0\th@LPTʔP|N`þ'pl€`ƙdo6נ4«i` h€S\bDN@X…Q@!@‰D8@`\tTJn VBr2I ƒpC@0p€DnGV<X\fˍw! 4c`l\f“H  €\f\tҪj\f\t`@h€\v»\bR„V h*gրϪt À\fÈvIÀ-LZE \bp>¬€JÃ`Y<14[Lq0a€ׁ(P@€M \b ’!PHƀʨ’p9¼!‚\f¾p`<oz`Ϸ\bKW Ž<dpΠZW :t\tҁ@Dp–)°˸HÞ@`< \b :~ʠ2XÍ|p¢¥pÀ:¡D`(\bÊ/@@ƒ@ÛM€t‚$Áx„$‚ʀmCBd.@`lœÀ€(\fV\v@€H'`\bÖ@™,l#.ʠ<#cBB̀2€\fh(# zT\f=ƒ`ƒƒ\t\bXΌ€@ưAb(T@„FtÔiAqA$u7`¶~H€18Œa€b€R€5 I\f“!-Kp\vÈ!r€ÔB(( gh ;h†cˆH'H \f@@@`H\tY\v@*\bXN9ÏP`\f>¶C@P]HANax$8?@!‡z@ jy<D@d0ˆ‚~p1€JAÈ#\f%‚F ‚X\tàӠ(,30]\fFp}/Cf „Ή@`8:M §4B@”\b ™@¤)Y>@0h_ø`29@0x'Cj˜Q\tp‡HҀ0D`p€CI—@„'€Pž€A D>#2ׅ€,ˆHp„:j\b+`҃©ÀE6÷ ˩SÂxA\v,/B5ˆ$‚ pJI!ΰ‹ZBE0„p tǀ”Bt2׌8HB@ӘG ;,pP\f\v \fcXƁ\bCfP„@M0H`´$ÞA*\vJA2+\fP\v B´x€€P@H€`¡8.†ŒW5Bn0YlˆҀ\tH@.€WF0p‚~ ~a\bMʔˆ{^n±C\f\b@9¨`0+á{\bˀ\b\fLq6$ AN€:m08X€@ÆD8Aƒf0\b*S>c@x8!=ˆƅ8@ք·À7€€>p.!Y.Ӹ\b“@V)\b8‚VpBc`Ǡ\t7ˀ`Jw•`@¥p}@`γ0k4@ˀ8hlƒ`„\f`3U@CHp֍@\tQ(2‚Tc@\b@F(@vXπә-g+‘7C@\tž€;+PjRVÅ0‚<€Y \bBlC >f`Bp‡#€6€Em:€:3,ƣ)@A‰d€,pàbZ p@TÀΰ@|à \t13TYb@?҆3\b;=(o†Q\tA6¡P…aD l7<rž0<Φ\v@µҤ/@0M΀€ä¯€`ƒ҇AY LmE`€,„-@@ ^@ZP€H€. P]b‡€ <€`xYO.m@yy`ƀ`16€%0\f1€e ʒfAo3ӵ`ȁcNd{iS@p€\t@‘\b¥€` \fHÆ@@2|€`À\t 4;€LV\bʈC •p„€G`HԀ €m€4Œ@Âh…r)‚ ƒTÿj \t S@É<!P€ӕY.cƒjf\bê€8\f @€€,Àq7\v€D§B -)‰,,L0\fƀ\b\bƁ@ƒrd1ϓ,Œ€HwP\f8°]\f#UfB_b0ƒÂE :@€ ph{\v€ˆlÕa ƒKƒ€€DZ\bt^Œ Ƙd3€Ð†dŒJf+J` X`b£vPT„@Ko:Á0\v%2HDΝ`8„R@ X€¡€LƒT`ʘ\b\f@sƒ€l‚<B°’ ’l¡*pp,€4`€(@%B`€P61 .Œ@L@P“UbFe’΀ ψ {].@\tK@¡xqˆ`À)b@@hDn2f0T•@kD\b€@†~ø‰4052\taq0á@P@d)·$\ve,@@rӡIa9q $UXπ¤`P¢ ™ֆ\b}p!t΃@£DDa98t2#0ךp\b\b£0,\bc4[LV\vH@€ƒ@<‰@º8„N‚U ˆ(€Ab@2\f‚@Ä€3e@$P(Ɵ\t`€d‚ʱB2ì@˜҄2€@!Pœ1€,\b<b@#  b€d‚ H\vHA€¾ҀÀ€\tp‡L€ˆ2†€Ӈ ux„€9Jds€ϱ4Ra63@IB\f€y`\b\b€! Ž\f2@ìp€Wp\bRÎ@<„*@p‡NÀEp«€|!@ xˆC€\b+ʠ–lʀãXҰˆFV €`ƒ€@!Pšd€DP\b<bù`\bD€.8\v@© €ƒr0„˜€O€)B€€;Ê@\b*€p¾ €@€H@€qMBt2JPxN±4$#šA@\bD€A@b†Ƥ@€8+N`‚Pƒ@\fy Dc5v€˸mƄ6/΀-ap$\b)\b*Y\tDa9b}FAf,˜4‚-PD\b”AD.ʂ\b…\v5fg4[QW€`\v=^l1. k@¬7@±zDeΙ\b4l ™<“`Š$(† B€ oJ\t@\f@b0_pf#Ze/Xlh„Ǜß@  o|<n@ʖ#>t7[mhdŒ-`$d \v€Ì€F009\f„nA ddy9Wjdi!Rz#€% 0\fõfqAn21f0t=D`@)v˜ax´€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x,@vK96ö``d,U@¤(@kpˆ a\v`\f@N€}0(F\bX7 R^r3X0UHÿM³ \v~\b•,# HkÀPDb€/p½ZCp@րτˢ23}@lx@o39ϐ\tրËAE`-I`‚8m68 XQƉ\fWBtƀEHarD³LtL„óV$Cu0(@ ÁFlc´P(ªužd״6%…Zրb+@R€\b’0(RPzt`A@X p0ϡU0i Ƒ-c0h`F€\fÈƦ/PtŠG@x6-ph\b\t˱ ÅmÀ^\v\f@’δeqp\f—Ð H\tq`Ǩ$\f*@fp >)MUCd\fnӻ1b J@\flûC 4 \f\ficCM bIÀL€t_†!\bcM\t+1`q¢c ^Y*$z|<DlYtӰXo Tat½\f\f(Ӕ¬°8Qf!®`\tRn=E`R(–Àph†\tp\t|VιKGb0È ƒ<“ÄBA\b1h\f<\b]F\b<K»Dpyƀl@Œ?,f(@0 \t¯$ (\f— 0¢B`\fPXΥ@%`\fÍ !=\t%’Q^PM.F{4z7^`yt•¤˰BV=€QA„˂Pt,Äh\v\vסÀEG³c0ʰƒff+Nf$} ¤ǰv`½`Ø@ü@p†@7b(00lt­[`>w€\b\b<5ƒ#5RdPʁv`¼l„\v9΁~@!t8l@ hmƒ !k@2L\tπ ($j„ Z(¼zˆ<\f“\b\b]քKÀS`‡,\f@PƒVk@!\vƣ`!«†)€e@\f)@ºҐ)ր#*u <â€x<€¡,WMv @Ƅòƒ`°jt7֎@ˆҺ0D$SUft'asX€j@(D˼k#‚pˆ|hbP)@ˆS`(\v\tÒ¸AdL€T@yO@\tBc5XC\tq~*R@X3PÀª› ù‚€ \vyTB „‘ \fv@א@\f:‡R€`\b<}íf\tt\fš`(P‚ƒr)=^r΀ð,‚!@ƅ%He9J\bhDS;Z.FPDí(”Hàsd½ƒ@.8‚׀P28‰M@@€O…`3`\f\fM€HAfi0ðì@@\bLLgi Kƒ|pø\bIAS„dS`ühœ\b@02,€já~¼8KD#Q\vǂ` aH\f‡M8ª6¸AOdžzdo7ˆ<΀l8\bfD\fb@€DÓ ӁÃspz,Ɓ\vX;h%\b׀0HEmS–ǂ%•`PD<GH$-C rքvP=h‰eP0=d‘¶3 Ht5£\b\t|J\b`\b4ƀʸ\f`S8Ñ(ҁ\v$q\f8\t`œ\bRK@^‚5Ÿw>T@: ӊ¥=`ygR@\f@p<T=B\v%arAp._ƛ@øYO2Af\bl7olXրT\b(9üyxA]š+΂@#@G˜@0@± 0D{@P! Ϯʀ/$\tFì@j֏\t€X(¨dd4ƒ@—H°0 <\fu\b#Œ-v,tƐSÐè]+@HHñ@@\bx9€ (%€K…8l?7Xm3xŠèjƒ@‹€/ ^€hH@ËXƒ`u+9Hxp‰!m@´7-PŠ҄O èR`†) !#ה=QIa5G* \bdUbcD6u,@@€W@!A\bIJiHLfz>zy@\b@ƅ!di7F`{T€\bׯ<@lր0J@ƒ„€€!dƒvð(Š€8BB7t9`SH±1mIhR`¡.…\v`Ÿ9T I:-FOLƜ@¡8‹<€ʠˆҀ[€@€c(‰@Š$\b@k2MPf\t׀җ#IR‚ҀÁ+@ʰxÌXz \b|H @ƱƒtÄD€h`bjÌ  Ø΀s`“b(\b$?@ϰ!1hʠ,0 ‚0„gZ@\vx\f5E\tFa9e0b\v˲`@eŒf^cB [F`Y„β'Pœ~7 @dt_@ˆ)D\t‘’¼02J.0 \fTHo6_4n $ hDü, 9x€h@@(%Q#“h|@oh€tCŒò@\vPÁK\bDlU€Ҁ8e \bךI\tBl@`o„(|\föôf\b8™b <FJb6\b†M@¯ϔšA[ \b\b\tj0‘t · ‚,A '8ҵ\vΓhÅ0פT6@8r@!A@b<HCpmvq0µABh@†@÷9i\b\f2É\b”y`ú$É â$6`>ï  @348HtQ/@.`i\tRnY„8tbd7]p…Z΀aAP„ôǧ+P@a@@\vÄÍJèü4€)QU`,.Ab0(WF@„<Œ@A5€#‚<f@K\báBnB N28\b?ƒz08Šƀ§@z_‰a~7Υ3`p2X.'A\bÿ¿`p^[n)\t\bŠ.@)!@0\t@0Ž€:@<tGS@ `$ϴ;@(T€l<–(`Ux\v|€3hP’À\b!X\bfˆsP0A3@€ҏ\b\bp€ΰ\bL?G@ʠ<@r2sgŠ8ƀΖ IpW@1TÂz¨¢MJkA\b pi4\b\bʼ„q$`#t\b\f o`“3x€`Š>^2nʀ\b€?@n\b,Ä\b[V4 \b@X)MTb1P¬` hHv@ @„iav(¨ÔàXdc…`CKl˅x >$\f@N`}yI9׮YTT€ \b3;v50@w0׉BpƆ¼M@™\bR6[,Vs\b’@0„@HQl1LnG+A`(žK@ʙJ\bL`8€%\b6Qh±\b 0±)T) F(‚.ˆ-w)b‘C‚ žwÀ–,Bp:wVA4\bЁΌZ\fS T,”t\f%@Ǡd1@AuH®3 RN@!\b@ P`T@\f0ˆ€w\vv‚`@-|€46zւ!@2ϚŸVHA_BÀPIne1)aP\f\fñK$'\vUd0X.6[H K~ ?ֈD‚;Өø\t\bAL\tÄCxB`€ €``MgdAP‘J¢h€F\vǃn«a6ϓ¡˰@\fb-†@ö2׎9XH(o1΁,:=4V2]C`!ŽhF…8\tH7[,Q•€B0\b\f(\t`P€\f å|ɀ!xlèAGH°‚;@ŠLXˠЉbŸ ¨$5@'8œ€1+HBy@Cx„>UŽxL$uKq‰(¨s@U\vx$›Ž0€2 ™` 8\b\b€xk‚@ƒ*ƀ+0‚~{`vR<\vgÀδqJw;a~@œY0Db2i $kҁw>d3%f5@ 1\f\v_@@Mà@QAB 8-*#d,IB@\bPrp4Y9R0J€7`›\b|'p `†v@6K9iW€\f0\vx€PG D@ AR@K9@\b6  ]Ex¬1 <\t8€EÈ€($1^g Èp@@hXΐ{d]€‚ӎ 0hžd `<\t*@ʠ(:Æ ¯PΏg@a0>\t6A·!\f^a.FyBs5H\f \tƀ@†h\t]bp)47ˀ $2€X \t ׍V\v33s¨@¶d£ `€,@3iց£‡\fx˜@‰\b0°Ç‹P\f#B@Ǥ09Y,t`(GAƠ„‚‚lpxÑ$\vT@K.@@\fp|DDwib\t;E`Fx(,. \f)TÐ L\fVsVv€9\b‡t¦C$+I؂d#:j+HhʀäpP(6\f@θ\b9Àǀ‹Ωîb0|‚WƠx=@€^€Np`'0`H Â8r@LŽ@Ijld[ŒpƒlD.!ª,hΦnO8΁`\fp(f :֘¬P+(0@00;X.-{†8Tΐ\bMf,S@ʖ=@^54[DǸ€Pǀˆ>n‚@Ɛ}\fo9`AXYW@Ƒp=<‹yF0%ϰ֊A k8,63Áp\bRf1\bˆ\ve^uqCŒp\bG00Ƥ<\vX)@(ä‡YPr€ üƒ9Y@%p4€Pƒ\f.ǀjb7^`ƒrDhA@<8m0\td$C@@€.X—@þT\fëJdfs#$S!A>_H\bcǼː`)˰s!PƦ+^I\fV#N|{t`(Q \vD`0Ə µ,‚@úR`\f΃ï1‘r‡@8†4°P?l@2@Ƨ×@`p€A`,@|:ku8ˀƒ$0Il€3@­¬Fʀc`8AYTA <Ƅ! 1d`%*R-8\bZ LE#=f¾b D~’@`p,Û‚``@j\f¹4HnÔ`@=89op\t1$ã`…Pˆ€EHIMh@EׂӨ0Yʑ($× !\vL$€! @8\b\bZŒӃ=nB2Zu0^ƒ.`\t1\b Š$†AÃpƒq(0É /(!€Ơp2\f€; $0\bM„DŽψ`E¨L€`)’0 )]ʖkUXs7YN@`,—ΐÄ@€\v]rl2f`p0Nj`X@T2[˄k.Š bY҄z@.@ʖP|0àB`T¡<Ɔ`d`0ʀ€*_žz8%…Ǵ€. \bhÀ-@\b~‚-#PBP΍2€-PHƒÀYp€?BhX€]! ΀” \vdÀ%`ÙhD@_XN\bˁ0À\b€Åi`0\b06.OD@( r­4Ί]d1M€p„bÐ  <\b,@…@f,@€5R='Ti^o6c@`d+¼r9948Ò¼`=8˜P@+Π \bLӻ1f€_hPiƏ€dzXa3M€\b>\vN€P\f)\bY1UHΑ\t($20ƒBLΆbI4b\bq\v:(ÖDP׎v@`?P!Csp˜!Y@PXUƀIsh>@ƒ“pHÐ , H $‰0X¶B@  9[m!x~%I$pI@€8À2XnûL(6;O_E€Hk (!c7[N8…@2 ÙG@*)^u-3a5(“l€$@pAKz$@p„Δ!0$0nHˆ„†@$*ҬKǍhi\vV epBA+J0L 0[@PAe6\b\b\fW΁€`:@aphEg.˨žØ@tR:v`iE0]ʖx’44%r9^Z€;9\tRtepd7#Ң7$@€(²0Z-o@\b\bSƁ`0{`=׳@\b0ƒƀ@ý$\b ¬L@@(0f€9@V‚ k<Qš€}\b›BzZTEQʔXϐ0›`<x’7zt2I@•AT€]P€rʀD`¡r9VcŒh4àÆ(, .*x m)S·a \bU„-BhCt€\fՀP\bb“Bp% #€jh hBHp„H€%\tCSQ^nI <x\f8\bWGƀWy@ևΤ bHj;m0x>Ç@60<\to%AC?„A@–€_B2]RPg›`HZ=Nq5G:@]`ÚK T0ƒ=À!p\t„à@(!7ה\b–ˆX(0\ff6%@6D\v/@8\b\bZƒ;aFhD@\bXû°¾ªKS[lDA/qB%3pX9eq@8ǁ`@8©b=5F£NYJd Ӏ[t £lPƆ—@Pxβwf(†× ‚LD£@%\v9]F@˞p<P@>֞΀‡XŠӁBA@\b‹`¨`DFˆ ˆ/D9(\t0MûŒT‚H1@\t@\bŽH…ly@‚$?Bó\b<€%PfN`°r\tc,†1Y`5Hlã„l$T\f\bƀL°£@00 7ƖQ^ 5-RH8’@](yB #@F+@A@N0†/w 8\b5D 8xG`\tDt 9Gw!ÚJ?íb0Pƀ—dÃSd\vþIJeB4X >dX  avc9`„$ƒR 2\bb7^Yր\fQ…%DH¢dkntH’tH†€ *tZ@²X8ƤˆhF{\v\f¸B`\by(F{P@M<q@=K,0…˽C ¬€aPŒZº`Š\bl°0h 4׼#(E_2\f@R4XEC*@lT`AJ#ÓD r\t?p0n-ƒ`Äï,Žx 1€AqPvYŒgPA=.·x0K`\b3@ a‚b\f\bT`\và@X\båMt.:@@bvJ`-a t#@˜`T(o7i` “z\bdLy0]A \b\b XL\fV!1.˜yp DƒD \b( _EDI:'BP?z|@*MjˆMÁ\vXƒÂUPf€^%pH$19Hʸ\f\f…*B}@ €HQ@R+¤â6'6rƒ $Î@ \b6x7P%ցg`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\f|@r‘`KT™|ƒ7PX4C)2d@0k\f-F{L\t¢DV%hy\b\bk`U q ; „0Ä,x@}xÑ` X LhVK8@m=2‚h2€J`Í Ÿ0.@(3%ש:b K@7…*. A4S@\f^Xå@\f\b@ %P‡?„p\b€*p†Ps#@pƒ@×hh€p¼…`ü|ˆ\fCÀHp‚FKP\fδ[Q\bDï@p4n£8,T(†\tHp¿0§A]Hd˅00Q8/+0,+·!A#\bT`i(„lB}†`pe@…€€7ˆ\t‡]@0ö€o-@@8\b,ÿÀ-H}V`L@R6n΁4jƁRK“Ú`H3p,Ñ|Hm),ƒ< %`qB;nҋdNb0z0ƒ\bX^€Ì ƒ\b6'2Nc@A@l0›p£!P\tʶ 1tÒ\b@]mKQJ.-8T@FnMBs4nVc¥¬BcJrlAÆjDʆ@0~qhh@U„80ë?\vmf.@žHEBWdYΖbҁ*$ *Ɗ7ƀ$ҡfÏ`ʨ…  p.!°AjAplˆƇ@8Gʍw+L!m`œ<;Vz|@F+]\b€x @àf+Q_gjD\f:PDã@ >$bq3V\v\fƚ@n\bƔIBmVŠpEt4.; ‚c\b@,1oL—0A_9c¢ !@.³#PfZ\f)Ǡ\t\b@€ð@\tzž`xƠ7tp€``\txJyO€G Ο‹a€H®€/ð¶HlFJ\v.Y>3_ip\fƒ5@\bü¾€!GHҎ$|= cN\b4@;=(:(qq$ʎ\f@kP ր·/Ê`ˆ3aaH„Q‹AB 2I`@€˜yT €L€\b)€#AuêoP#@@˛֟+€ŽLŒ\tZqh@€\fZ(BDO2í  aåp†(([D@ 4(cI`7hŠJ*¶0íI7f@cB0Ê@`!eZš@@\fPÝeW#dmD@h€K\f7#>R9‰`ˆU9mfK\f ÐPD!\bYƒ0|XK‚ ֞D@3%]_@d!0~\v»L@: 0[Ɣ8\bR“`Šh°À82Hlv,(PPI@0\b'\tK=kw@lh@ˆ{A0€8Jd€\b†'ÑHI¹bZay@@t˷$X„}P|±z”€ILf¬1H^ƁUFրQ9]\fQ˜@‚(‚@µ€@e2\f pD-J+@\bp%@0¤bˆ\vE)Àe<4)et K2aTZ1`v\b†נ\vy8TgA6@€Kn0ˈ֐2VYp,ƒ3N±(|õ€Jˆ`—`$#9πЦAd­B bօ`H0\vD,]`ϡQzÒP\bà‚\v2vˆ@Q_yY.΄\b€k \b¼¸DQ6ixs—‹b.J0<ƀp@ª0Nj€#Ð.\b€<ƒ(€$€<€ Xv\t$`\vp…zΆ8M 2׋`@þ†p†ƠB4[L6E<ãl@hTBs0d €?B\bW^`PXfv4X7GX(CP@\b(8Mû00eL‡ `\vÁ5Z.h<;DŒ8D3eskÓQpÎ Ÿ!fÝ1@vA*:\fӂ(\bc1@HLŽ#9q(\b4ʂ3BP\b6@\tP@8„$ $\t3÷@‡Dʐ-K\b Ұ@D@0\b^€Ɛ|jê :`LGj:L–!OQ2ž:Rd#B€l—א\f1N@=nn2ׄFhsƢN|hªI(Fx@ X@(9],'P<ðb :zeFϗ#!zcF <h \v.Cy1Hg@\fpÉf.E@ ži@ \vL8çE B\vx{\fHF~\fªq@~H4ƱMb@“Vƀ 0q.NœH«@`ҦÐϠ(J\v7PhÆ\t@C$XþD@\fΉ-E @\b6€A@XHš^.+4ãA \vH\b+P+tŽ`zUgϨB@@8<o@\f(MH)I-w\f¤@φ,p*%1;pʾP/`h\b;4 W<yŽp Fƀ4B@(ã€ZX2*ΰҔ_q@ˡ H*Wlb*+FD~€X1Ž+P ?‚@#dÄBa(P†€Gn)((ƀ\fSI07F0˄'@³h‡nˀ¢pt2[F|P®›@ +ւ%1Zq8”\bX9\t…Ž`x ŠBÒ8ª ‰7;%hhA¦  i6֎Ӻ$¡€C8xʏ\ttö\t@P•^HPL(\t`p¨\tX0@C4IRb1$C0,>¡@Ì80À\b8ҀI†9FE2hH€+ҸƂÖLpH\b3hΛ8A$Ÿ #'bP#ŠG @Pˆ]@Ơƒ0¹ š\t-+lÑ \tŸ'… (Š!‹ ˦ Q€P„_ǀŒhkpT‚\bTAIRr2DA\vRtdX€>Át8^‡S ˆ\blˆFHƆU4{q\t<AoSIA*Xƒzp{€]mz8Ÿr‚#b<6¯ÀӸ£P`:\b! :mhηf |D¬me1J,90x֢L †-X AӀ:P2%¯ISƵ^u @ @€QGDP`ϳN$`$D()‚EIe@, 0ÞH˓X€1x\bVҬ *a€\f …0z\f…\b]0ÁzNHMpTt =HLS†68j'‡,\t@ϡ‚f!b]ր\tC À„[9¨0ˆ<‚ׁ`$€y\b\fƀ@0\b„J ‚!*rPƒ#uœ*ýC Q0‹€E`8Ƃ~ba>!V¸1#׵\v@E#=z°@¡.7db`Hd€Ǹ”*€Π‰x#ApžG XFe€A\f‘)P<€q 60%@8\f€¬ŠYk(3I^m34׀WxFKaʀic!ώ z¤`r4‚(at€?@ (€\f[@Xp˜b€€JϮ\f@6sP~00Plqh @í(_{æ2`\b@€C Á€-a\b„‚m€?:Ÿ(֣T ‰l'@‘€M€IӨһ21pa0\vNb7PH`¢4t\b`#TØ P@@ʃΰ©4€\v@’Ά@ ¤ ǀrhŠç#@,XBe;~@8ƒ \bPƒ@OAH'T€Y€Pt‹6€\b\b΁×0n€\t@ (2?€=93Hbs8\fO€I1l$҄@ëh=¶\fXAHϏA€®€`°l€7πy(‰ )Hp\b$…`–`( *[K@(^2Ž'q ˆ\b\f8˜3€h\b*@¡”Uƒi# ӭD`m(jX“p@$11@ˆX1\bD`@Œ;€p“r€€_d„z$@j ˆ‚T@|\b½@\bt΅@“@\b΀‹ΉAl6\b@…Үs€¨$0@\t@Hž€.¢@ ?@ 0T©¡€ǰ€`¥J °d…R@5P\bD: Ì~RŠ@ 0Š-ր”Ҁ`€(Pƒ(B0 †(@îH’T€až57;C9ÌA%@`ÂE<SRL\bY ˆʘV\tTeè.@!  uo`! ”z€°€@¾‚!áp„ƒi`˜Cրǣ '8 ˆlˆ%@‘\bžJ@) €@Ar€¶ Š/€$4Á_00¨ƒO €<‚+€Ž‚cP,€)/`Ö0@f•À@”e9@ Ԅ;ˠà„mBI0$eҕÍI$S ”w<@0$ˀ†5(,+eP˜Ҁ?`8ls€`zOp‚V6{@”քr8Šèr;=^g6(F{€€l‚KN¡p@‚tp\t2€z`\t<`åP€-@ ˘ˆ€k0ž>`€p†@`! œ@C€\bX‘˹P‡8€P:H\bhTƒw˜\tJÀJ@@҈r8s$`'HßæÁoUDah”7€0“`ƒz €րq@O(\fjAL`ˆ O`Šhl1\bD`@„_À0²A\bIBš€\t€-D5\bD``ŒC\bF+5_wÀA€0Xp`<Í,`M\bE€`BQHҜY@\b3=duP@ @Œ5Œ\t{_n\tp6J 7]nXc¿RP:\b’(6\bA¹à(a@o2,7!¦†€bfç@ÀPŒt€z@0\b]ҲN˜UҎg|Q![nWME@!¦ƒ@ǙRd2M$‚ʀ®m8L\bjFzǀºH- *d@ž1€ @b<2€C f Mw:y¢I =DŸ3@!–(Œ(ҫ0ΌU@ ‚\t@¢@ J7Z-d9:–wHӻ%֠@¡hn#šA4\bX1Y.† ´ƒ?k0p‚@ª ƀ@p@AP@ªh0\fuP`<$Ÿp(F@†PPXÀ6(XÅ ‚k à @°€ldl:\tG[H,N€3ab\v=ש€a0¬B€!  8z€.Q9B@ ˆBg3X.ˆ\bpUL4Bg@€hO6!`ע'!́R`<\tµ \b ‚@ ØŸ @$#?-T@…Hβ0(† @¿x‚4@SP08€= ŠLLxA ]g2Ha(„{I¯\f0òš€Cq€E4\t€ϐ‚:A´%@,¾΀g\bŠ€wӘ\bFIpȆӀAP\bu€!PA<R»œ€UPX`€À€?ϠDƒ@ø\b–lp„c[ °ˎ¿ @҄@vhˆUӠV †ƒe@\v.z@2€\f‡K€PIqAf€L__ì€OÊx‚\fJ@€>XϠ!\b„@Ψ„dÙw8ê‘\bq 'iǡ7€#\tpˆ… ¬%€0p”#€\f@YE(Ap˜J€D@’#@™H$l@\vhàÅa0\tґ5iA@Π0֎`pQ_NM\tV\vCЀ?1֡=HQHpIDKRAA@@XΠBY ւ@…}@r6|ˠ8N7B`Ҡ:pa€}\b`r0]\bx™\tY!@p\b?P\vpxL$vI…'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+¤#KPP²)#CH jF`7XHέcR`\fd|zi=;1@Bõ@Ǩ°0[OJҨWE@q ²P.6c=o!Bǂ1 i3,6A~ob`'@Sy YxHXABQ(n@`,L$ÁDҴsob@wpv==0Ơ0Y3 Ei_ZƎ΁ҀW@Ҵso(\t7h$@cQo^\bzS8\vxLMjΝ\bA€p]-G܍€hR\b\fʖsZ€`0ր:@ ƨ;\b!PץeR(PÀU1\bJ1¾‚Ƶn‚\fP˒l2תWf\f”À\väÀ)@@u€\fJu1Oc z Q`¹|…QàQtI€P, ¶`0\b\b€\fhπ9p<f…v@¬v‡m`àt‚4P4t=@£}|³(ž}@#hž~„¨y8]A\f  \t~€O-cJruaFp7¾ƒ(¾\fˆñp@(Ab ^b\b% 0dT€ˏ¥At]@ „ICê 0lF;€ø—~›@0\f,ÃÁv\bˆV€Pz(€m ùpmHK=ׁ1n' Š\t@΃(†Ҡ:IJc<XmF*\tRn4†J\f.Àc@B4[YAXe0G@æ ƒ@ô€Àd¥‡q `\ffŸPMp|H@ŠT€E)`\tPҀd@\b<ʀגh.Ơ0Ƈր Xx_Bh€/Z‡R€(?b‡Š1h2!`@r4…/Ay(„ y(œ$‚+Y.ÈG‡xVÛP½jCR€=^@\b2xAIj3è֘6€\tzp\bր\b)AΧ\v\f1ÁD—^ƒI0‚KúD†z ¨9Ҁ²bpyP\bÃq`֌\bA@P`ƒ\fœ0!d̀ˆơ)>oƦ †\t _X€CpÞ@\fƍda7mP(=€ù F\tZ-Khm€ ΀\b=A!@‘ P`0yx‡i@ ˰fª^‡(”ցg`„‡pˆbÓpJ8\f €q\b Éʆ*Hš…X\b.ÀE2|ʆʠ C\vAÀ?€L„.50 @¢sAj 8,VC\v€+7×!P54íH 'rxԀh\fP÷#@\fFB׎~Q'].D{*E– VT3RÑ€8A a9$!pp‘`HTˌ/€00T8 [p<0A-pj@@x6[( 4ŠPhEJn@\tbpS$xB#D xXl\vʈ.Ҩ00[>ʈ\fW9r 2]{pA^JAӳjb6.6A<¦ª5\vU^t0@@`:bB҆h3hj€@PBʞP@$pÄA{“R1FeE€È@\box=‚@<ΐӋ„0\b@¥Y?Ì@(ϊ€\b @]_@’\b=5Ï@`8z€ǀ@~`†Š`@~4‡UÀ~0…\tP¡Àc@ [h‚RuL\b\b„ªe@|†r 04|c@ÐO:׌6*ˆ@~<‰\b@ú,/D@z<\v®π|†˜B0|€Rΰz€Rb0R…d‚hB\bR:[IύJlCçPo\bN'+8@d\bƶΰLo7B0D=`ǹ*¬mf\vAfh1H”!@!@Pҋg`LL€À!0.|â/<΅‡\bç(„›` €Ð¶PÝr…\b$߀\b*\t6@ \tҐ$8$M`›xҎ@— <€EX\b^€œB#9a`Cl¢\bbHˆ!px΀h]`x.ʀppʍMu:\f҂hD1\b\f@}֠lƚ‘ΰ»‚/Šh€dâ\f`…\b\t@\f'di7Y\vr0\bz€`AIT@6_)-f+]ցªPDŽ\tt00:*ÓdQ^N@2YEJ ;i*ŒI8*F\v9V(À0`0S¢`P\txJ'I`\t†>\bj\fr7[(8\t$7æ\f€l*2\f`\bƀ@¡„6€`xjM@˜R„ˀû0„´1CV û(Šs0\tO$u Da€2%‚pΡ\bEB֠z(±\bJ@D@S\fJn:mK1J›A\t\t^mH¢x<҈‹`Ɓׯ;Kupp#ÿL‚hƀLAb'HXh6n7!8@@40\b,H%P€-@àd\vZL)6+g2,Q^\b7î` $4TÿÎP\f\vGDŽDZh\b`Y7]4!A\t(o#àґ\b€0`v¤ׯ;a@†DáA»hfH0׾Ǡ\bי`!\b@svǨ\fß§Pƒv#M`€®„\fƒ)\bXΗ@†i8g,`„^„Á%ү±@02,[nS(©€tp\bz€KB@h±(BK]jnI΂\f30'(vpH°P(#M¥Π\fp:FϲÔ¤\bCƒ\bTh`PLj]`Q!r¡`,‰Ë ǸˆD\tf{Sҁ VVV3r ¦)@#=R΀ ǧ1Uh@6FŒ8pbu:A\be80Er9GDuBp€g96€@h07]mjhGg@a0(?DΠ€-Pפ$\v0$I€\fL\v@Ral€N <f@j€-cP@E`R ˆv$[E1@f%R$Ø@,(F+\fRU'!˜€4XUˊn1Yӓ\bREd@5(@8,6׋>å\f rƛҀ\b Ea9)PMY(˺D8@ŠbX@@\b\fc֚á h\fi€yx˜*`Â֑`1!@ªà8ư€D1H\tˆKMhE3@C@@ּ.Š IH hpœ$,>@hƒ\b¢gNhU€08\brHl6*800[L:d(€+Q`\f€\b@)Ado5,7ϕegÀaP€1‡€\b1 XNS(„„$ø„€0/ejDh0¤2F€MfBMd#R}`‚\f„W@„ˆ\b)ß(Ǭ\bK\vD\bրH <>pYC\v9Jlʀo\t`ACH,  0ûC`=Cp6AaP\bXϳ@‰#(L€AD@€.\tfsOUHGY\tNbLj@\vj\fϮ4WH\bQ\f‰MXL€@@\t(€:  \bǽ„G@n?… ‚l\t@µH\bl€`\b˜SMwӛ΁eŠp ǒ€hxAKǶ\b\fVӄ :0€t€@0 O j01HMf90€:@2`ˆ€ư+ e9-Y|>  `A(3¡ I\b`\f!#:D,z4uÔ0׭7x\f„DÂ,`Ê<€w|Õh†!€l EH@aP֔`ŽpfÜA`!L\bAtƒ‚0E\f\b6\v0+\bC@˜G„1^u2G2NhqUjd ™€X\fDQ.oр<R׀p\bä(4ƒC ’€yÀ)Θ‰F\vU\fÇF#Zx@0ˆʠ^l2./  (‚\f€+\bӓ#Cƒ0„…D)dž+5`Ae˜ҀƠ¨`’€phˆAAPzI=\f4„\t€4z$ŽÀQPf€>@‘lz—@€p†:Ce0”Dn7=Ɛ9<†\t@I\b€Phbƒ ù<a`0.p‚U @4ւΏ g0( ǀFO\fDN#X‚!p°X‚H`$†„ϡ\bB%`2U`A€O;x\b š\bb̄@–a\b˒È'ΐD–@¡$‚% .0P\f\f`\to7=5@^ ¡€3@\f\f@  ha#!pdqH@˰ä¾ ER-× X,΀‚ƒ  @„‚Qp\b:  ê22^Bhޱ`Œ,€W΀09P 0˳P90}(J`$P rxI@h„\b€E@€ €@…r@ ‚@QzZe7F=+\tbYJ P(gK,ª0\b:Q×+\v@R‚O!…Pé#`ˆP aa ;uHy;œàøÈA!\v#Ig‰`p\f¥DaHŒFk6\b¢$‹YG@ 4v ´@y€~¬`zV`B{ ¨çàh8ˆø1 ,”!!xHMC—` rDg#e,^d$\fr a0Ž€`1ade0G‚IJXd(kGÄLZ4]â0€hœʗP <<“a9mvү24p#;X#€ʬ(º’H\bE(|i‚P¼P€ƒPÁJ9;ƍwxƒ\t@p…<ASpŠy¡2B`r@02rʆa8\bPØϾP@th€€pƒ+@%@Á€ʀ+\b‚UnC0‘ƀ5`˜¡\bKE¤R˜,6Y$€Ss!`ƽ@`\b\f*ʀ‹!€;+d˯€4wH@AT(\bB$.)7[G AZm7q_m¨9q\b\f$€b`8!ʉr$¤| ´€Ǡ‚x8*,Ψ€„Pr€Dn@pi(@‚|`pP(0]\f0.@QCÀ\v@ ¦‰\bP„2‰Y WP`€ ᬀ@+ַ€0X‚…K,ǀPè‚.AP„€N_%\vY#0ÅƑ€ „8k@ˆD…ʀ¢p H`\bEʅ`¿d L@‚6)A@\bl@‘€‰4H @„€ °9,K,8dž$\b'o7(d‚\v€X0ƒ6@yV`Z„`…$¨AsX\f!Ta#X\fi@„ € §>b\b€A ‚ ¦.F+IXa1Z-f9\b…\v€Iw\br€<WPô3S\fV;פ@¡\b€4€00#T® @3(Ÿ¦\vH@€l((X„`Š\b‚@’(Às:Â(£9]0ùN`€<DP@P€„4‚a( H| :uxNB‰ C%fc†KMF€e(6Éj`40q`t\bŒ€Q`vS€1 ‡(@£X¯d@gM0\tp`‘\f¥\b_k\b:üg(`@|\tGr\fCn@\b™‚N0¤ƒQ€¼€GҋJm@9t0,B€B|‘\b€\tH€@\th-P€D€!upbP( ªLIA8\b€\bÍeq6\f (\b‚k9i\tÀ,W@\bÜ'Cf\tA0‚Na\b=\b.< !Lj22 D)RS:5BpG@¡ ‡΀@G!x6΀`´H‘)e\b@:‚\b@‚h,€U˜4@Ϛp8Pk€`h0քp(V¹! Z\f4\bJ3e,*Ӯ\bˆ\v•g08tU@ A@”U… ƒT\tŠ p%,ׂ`γHVƒ©f„@à €\v*DaǩWú`.\b€Ɯ(<m8X€{ù0„†`…|°4Xm?ӜW€@H’V€„;X €d…v™(H΀.IH…\tŽtH+F…@Ypt€¦‚\b€dj…€D€w\b`\b ˆ-f$|\fÀ'\v1j~@22”0€#¹h@‚r s\t@@p²EvA à ϛ@A†l  \bX†XÀxH4Ym0€uo;Hƒα^w@†D €P€B”Z,S`Ài2M`ǟ\fM€D€b$K:1_M\b[tPILD,u 9x€{* @,Pʈ3Q(óW´a0°‘ Ɓ0DA7ʗ\vUJW[`„„D ,.,M(@ p m0׍qEŠ€0hά/'.1Œa\te4YdPˆ¸K$%fq:D $>`ʆ,!+m@l16-f!Jd [˖H! ¤€\f`’\f 6? \b M{3R\b\bAPÌ@˜B\tdo;wj  \bH'+IXy+[mv\t@\f„$è`,l#h<€.iQHe:`˂r6y` (€ol\vIhr2]#0(\f €h°7XmupHDžʀ`#D.%aD@C7B€\b@¡7I0h‘[n!\bŠy˜˷9fi6.rpst@†79é6׭}ÄC9@\t0DC<q:0\b€Bd7-*¢\f-€€\t\b \bA0Ä@\f€E`ÁY\tH-gT€a\b†!ˆҎҪ€àˆˆ\fV,(ƒ\f€è„\t6CVU~@#ˆ 5Bg]@hTpˆ: mFKY.3€\bH‘7…֖A0׍4yUR €0p†?€Ð0Ý@<`LjHƀ¬‚ǀ@`˜8ƒˀҫjK“JMJaC‚\b\b2 \bjÀΐÁ+Á\b0€fˆH ‰H¸UWEjo4P` \fh†\b@¢\b‡Dè€\f¹\v$#Jp(s ¬‘€ր4)Zo(je2ք-sˆ-kl€N'VlÔ7Y\fv+Hd€C ¡@ñ#.ҫ\tdiK@```¬MLˆg pŠ΂\b\bf|tZ@  pŠ7Ø\bg+ːs4P@@ (°\bHt,â7׍w\v4ƌBPo9]\fP„‚Y€h—€uÀ,@r‚0El€ p€€ӀΑhE€b2e~\v`X‚s:@apUg [LWK`VR˰X€„.F@(:˷#Lwd\v9΂D `+/¶0aAHi3u €X3]kCƥlo?  @Ä,±h¨\v$cmH›N8ƒ@\tXq|0‚Lm0da;[Z`tΦ.vs8!ҙ-V{9h4YLbX…€Æ\t\fvG4\bғ~pH€% h…$†4z\tNh:\b`Œh€M @(h€;A±HŠ~Ài\bH‚F²‚\f€l8€Iˆʀ9p†.@™PƒA 8‰À!PŽx€<ƒ‚e0@4\t€c8\f‚˜΀3°\bD‘@ÍրS)]\fV+1I€È‰, 0\t'€ap‚Nˆ΀9Ii6``+4ƅ„`¶P!4[C (þ\t·!tƀh`%0í(\b.ӿH!Ә!€œ#Yʗ+6D D$kҀ\vH@Np ™€AX†PA'`Œ ‚`ǁjr8B0pƒ\b€AxÀd¢\f`ŠT:€V(‚\b@\b\fL€00ƀˆT… ϐŒPA%€ҀҠ’֊bà#8†<ù0i2Q 0C`¬P°4[NH9\f…,D\t^k@ʀ$%B5Rs:*ӾxƁ‚´€SY(˂seFd4k<Â\v$sla5~0 \b‚}Ã9Bv?`8D,mFΰr7 SmF!–€ \vӶWÌ q\b  ҋƐ+•`q\tš‘K#(:@Á„ÀC`vx@,°1Zʔ-ǐ0[\f]\b\fÝQLc@€pUY<…P–$ƒ ³t§UFfc@€G ¢Œ Ô((.\veBW4{4€¢ô›RFUM:ƀ`¢ @b4:{Hdu@£0G%BAY;- pXΨnv 0@Î K\bgΐ$€[F@8 ³ØEBI^s<W!!\th‰\bP€2’,(R7^,b@ )X8k\bN‘D pŠ6€w@ °€gA)0DS0[LF‚ʀEP›6`6ǍJa)Z\f[I\b—€A@@XΩZ,Vs:B €H¡6D)ө@ba\bO!ŒÀ``‹J€@@JD!H‚ʀŸH\vJ\b[BPhE'A0\b‚F@ AdƁ€Eh¢Tj@°,\fSh,„%Iut…sRs€\v[ `m0]08A)*;@08jÉ@hF\b„ba\tt\vNA@ØΫ.'L0c@P<€',ƂQÀQn%B]Pe^U @€ˆʗҴƂe@`1Ǔ6[m1(¤ „2a\b†ƎA$‚Ơ€@ ΰi`p2׎GJ]9\b2vP1#-F\b„%A ÂT9P\b¢\bR(>Z8MCH3Χj`¨°\fhFh4.LAD€\tlI€<‰$,Ϥ\bCg9\bŸ\bø\b\t0(4€i‡`6!0ZW2((<‡U€‚l»àrP…ʀu „5 †fk½0E\br7bqpx19n‰h\fd@„f€N \v –y|I@\tCT€ϪAxր\t!XErVD(9)\bp¡pÌ@€p<^€@QhZ€C@ù,…ôC@10‚@bh…PZ@npc^£ @|‡\v`‹d…@pžZ '@Š,€Ap¸ZšU˷¿*n\b\bŽ1*n€@:\t`ˆ,'€ $‚€ `€FIF\b8{@!!\bõʂ#pӯ6; (\b€P:*!ʖ-OvX.DM,\tƒd`Œ$LLS 8ž΀à@B\bƒd@Œü€θ\b2ƁӲfljJs:[E)dé@\tH¶çpŒ=<a\bt™,vrÂ@!p N!A΄q|ƈ38lˆ\tt[%`@ljJtw @”b„+1†ˆB|#2^~F'.08Ö:֍F+cg'©$ƒ´I…X:€NPUpvE/P‰FS@0)JrR#Ε6Ґ`GHօƆ(¥ÁpÌ@ƒf€:1HgΑ@ƒ\bs€ÁӘ-g-h\f@r€HKη!Ҩ Ä:\v@ÄGҠ\f@t\bœ,Y@\tAkE.4Š€HP‰D€@]`Pfà9 xEq@ÈÐ'\t`#D‘@`Eh'€¶[ˆQ#p<br4^W0\b`҂\bA!r(„wäQ\b‡H \vRD @€#¨.F[rP9,fKb+mND 8”‚Ypo€\bjxÎ-\v@ ø€+ –l€@‚|T 2YUF`œ…\b€\b8€MH`0rlj*ө=7eRu:a@‚x].F}Wl@ G VP\b%BBY“€`Ž:@!b dS:LW#ːE€nx‚w¡L2Κ.'9p’AdeI-`ƭ*eR\b\f3€C bq\bZ3{\b €ʀ‰t€C@X@2T)s!Jr`@P¤,e !x\fªp\b\b*€ @H@K>C\f-v#t\tQ,W0–5q)¢‰K[@ ր`@)0ƒ@2P”-Ʒ¢O~E@°€Oʔ\v9Fh7בP\b\vVcð84:``#Ãlu€t\b\b€B\v(ŒրXe ׷@<f@\b\bF,\fZ\f@ ˆˆ@|¯N˜@2H yHn!Os!TD:ʆV\bŠO`ad|€L\vP  ׈\v Œ-@Àdñ [LD%dcD$\vIF|@B¬Z‚I`˜$‹@’@(ÔÍʖsZ Þ\f!:6҈:€F@\b³`2N$.ÀfpXq<\tf€:@ñPŸhÀ@r€iÁc@¶*ƒG€xƒG@€tP€P3\b'+5`v€p¢X€‚hS\f@Ϩ\b†\b€jûdc6±|`0dV€P`Á)-x.@E@„Œ)s9R@ž‡J`˜AE,@°2‰\bp°V TnVs,B ù€`hD%ƒn`€Lp”V`’XÀ9.6@u.Σ[Uh‰\bj\b,D¸L#%Jn: 1Ơ\t0A)HdP*€20…%Cf@Œœƒm€\f:Cf`Œœƒf`ŒOCfPŒ^4h€ HM€psT€G`Yt΄€/x„V(\bˆE΋%Y],ÁQ^m8@`‹‚N4^`1L€f@ÅaW@<FÀ#t‚ˀ4#%BV ¤t†z`Β˂8€8hdeŸPς\f@7\b'A`Ê,²)֮S\b\b\t‚CPAhe0[Gkdӓ€!x€s¢ÅgIzQh‡J Ð6(Sle#=ipL@-„f@ú(ŠÂcpdh\t27CwM@ʸƒ€D6@@#‚€ePƒhF{˖c@@X@ƣƒ,`((>‡S P¨B…TÐt„T\bH\fØ!ˡz<QÂ`žb„\f „8\f}@0Hž'0{Br4]ʆkǶ҃@ùD„' ΃!JP_\f,#`*âÐ (ƒ΀Â\bÉ7\f^yTbi74( …K VŸ´,Lօ(Äy6`Â@¶(\f‹€W”‚pz0!–@â4€'J@8‚\bƒcP„y@œmC`ù( ¡4†\t3€fD7]\t€8]èœҀH ˆRƒ€Y0R SeXeˀ¶\b€Kmf+<„Š€3€@á\bŽq‰NViÉA‡(rS:[$PXg% Y\fS\tD0nVl\bA$+SN@C<>€ µZʏ@{9KlMžpyIץ€H‰#@#]^€@qI(w7J œhyK˜AÞ@!`dΝ\bFϨ,‚D\t@5ˆ5E |fΝ\bF2P„5:[-kX0@A1R¤QPe7G<\b@‡B<(nvD``°l€`€4€G`‚ΐnvqPƒ\t@®P€րʩ{H.+PxfC@`˜ҀU 0D‡a\bfA€+$Z”\tv+9i‚arpŒˏrPŒBƒL,!pxΐ0\b=>ƒ0á24…\v(Òt2`aP48@ठ@š8²%Pˆ8€?r9NjO*7#$H|`{f\fÔP\f\t@pä€@ Ə@£פ€2 ƒS¢€4Z€E@\thD€CPRQü   é€k0’€U ҀÉ`0Џ@°H L@R<b0\tҀW@Ge\b8€-`™ \f 2H†€¶p\bRH Bl}@.\b-lj[$ø•‚ҠÁ)D.HzX³`¼dƒT\bF+YJlp\f@X$l'6H€\bh‚-΀DΪz`8\b€F@ÀŠ€\bE@H\fvGpҀ€@…^E „( „dá‚X€3€b`\b|©˷Q^u€ưq^p€1€T”71Byy„p\bBF:ic0\b€hH\b-pĀ>\v«hPMe8@`H]`hD\t€L€FP`\bŠʀ8Šv\t@Ph‡#@ h A`Á@tledi6ʠ(DíB\f`Z!\bA@“dw`Á$‚Là2P„ʀe0Aǡ7?npu,,¤VKZPǑA@‡P†K€nX€LhSÀ{°\vH€m˜d P6(r`(msQg]!ŸPH¨0h²2K0\bl‚G€Ǭ<B„(}58†ƒ#04eI 8ŒQf ;x\v€Jwpt7Hðr‡O`ǜ€ØŽ<„#7\b;f‹Xw@¦|nsJMhi7@DK8l‚@áX~j@ʛSÌ\bPH7XŒ.ҋ\t\f\v\t!ŠX„H`÷\t@=ZqÁ€\t€SB@8η[\fah<VCPy„׍viD€ӄ (ʀePŒ$H'ΐ€8,Do7%`(ư4[LuˆlΝ\bFp²E iL±:lQXD8Cd`ˆ¬Â'ZÄ:s18>{K€YǮ2 @\v€q@ y4ƒ¤sQ\f\b! Ð@et`œz]\bGΐm:+€ 9<¡'זuHF„€M9@ ±@0iYOPÄfvX„CQ@\t0ø@i†oK@¸IE@ePÁ֎ƒyP\bNI9J ù… \fWMӞHGΒqj=€ !$ˆ\b SžʀCF4s=hS9L#Q\bjKK  H`Ê^P@s \bÎ €\b'À\f€>6Àh4 (‡@ B(€x@%0H +\b]qh 0\t`pm“D\bV úH€ep4P:[,W$x5¬=`#ք(€%v\vŸ`'”׺€ˆϥ`1€.˜*5Ʊϵ2G#PQn€r0qA3Xքg0,h€@~0 “@¥0DD:€[ǀJ(¥@s\b1[€\t €!L 4@†OCD@„D1\t ˆ49€ b@€`ž$€ 6`Lz„$èŽҀ†p@E€`¬2ˆhϙʞrʀP{9hI1[md>7ր,QrMRb4[ʗ#d,€Ӂ`HT@…Ήda7P„‡I €j-BXŽƒf€χuJ`B`„ƒdp€L5 †ƒe€`P0^,΀C`ù$€nL .@°xž)€¢qDo9!@Š\vs8€+0ρXa<Y.# ‚ƒe0€`W2XQƸIRz`œҀʀ­ÙR=փׄ€%(\b„Ǎf<H@aˆ0mg!Ӏ@NP\b\b]ˆ.Ө<@©@D${;HSmn\b\b2o@ƒƴ0QgΒ=օ?@ (R€U ‰\bΒ`Œ8ea=0Xâ@˜6‡I °˔ΑND HŒ)€: p|[BQ\vT3C ù,€B †4€S€<ƁC H(ϬTI ǍYǡ:YlR\bšJ@(€ö™PNVdf@çx€€``€] øù)р+‘)\v1Lˆΐ<•D€Y,…\f\b@0,wǁG.6\tX΀ N‚J ¡DƓ@‚xǓ7׎L0\fdA9XÀVC€@‰:,ƮaP¼^‚)P\b=2¶Xʄ üT€ 0p˜A±\b0!$ µ>„G@íl‰wpš©Cñ88ä%!ARn3x$0ô\b 2ק \v#HòdhDʀ$ð‚UÃg0À0ES\bֿ\t\bp¼zŠD*%<tfH0ˆ*‚O$Ǎhi@|ŠW€Xq\b.ƒ *€7*PH^‚AhPCq@”;€*†d\b›LPn$“)D2Xi8°ֆG6.Ȇ#¡ˆZA” ‡\v`ýtƒ ˆ 2APÚ,7*#\t`aBX0`P@K=ֈ˜\fSIAC+v€ð2HǠ \tgHŠ0ƒ%pÍ.^€\f1`Zt(md{9{'…PQ˞nE™p€°Isk…0 o+C`“|(@ÐpDù\t@ÀZ\bCop”ŒT\tKAJrj \b¸ӁB½H‚šb ^²a V\b\b@c0<H7]LWւ\b^@’€YO`†\fd\bžYƒ00AD*LQ<Ž„ø  \bSêp2[J\be9]qQRo9`z—D*êCG\b=‚\fIf+׺€JP¨‚=‡#Z3\v²AD$W á€É i6+`\bbAa0\t(oW=FhD„dª \f€€›€c €€]n @…€4€€h`½ƀ\bƩ\f,€H €eƂW€d@@)Px94@\b0|\bÑ 0-èI@Q€M‚f½΀PIvslL)vs*Z°*mr8B@\vAP\b€=ׁ`.ʋ rư€°<Җf€HFϠH,`‡Gb`p\b`„1 pzp4\t`…h€‰ )Q g_@! \b!€\b`=jt-`2P€]@!pœx\f@Ž|€%A XƀC*p„Jƒ€\b<,@ˆ\f=B0X€²x‚h@!uxœ@!Ê|‹Bx\b€6*np`„f,x!Z˷=`l2t84ˆ€.4D-m:T\b€;p@Ɗ–aˆ ˆʀƔCBt6Eb` (€€t(r@141„ …0~@W‰Aa8@„Dt2;,I)0ʀǠ¶JO€,ûM X\bX€00^ >B\v%ah`  z‚Ð@ SX!€\f\b€¥r@\fn „€@‚H0€F``%F`!JxO< \bƀi™^½XQ{vÁH0ʧr7€˨4œ@€L@;AL@€,ˆˍp:aha9\bnX*€`Ðn‡fqp‚@a`<‡mE±e-l3Ft7א!\bdƈe#aaӴ4G ƒhΠ\b@`‡p„`ò(Xž€G`@O3jQƑ‚@…P@¸‚%@òP…(\f@#@‘ΝJ@H3Ә.˘\bx\fB0ÆP,F#P¥B%#6N`ðB¸'  j\b LtšN7%0$‚UKh@\b˪e\fN'uQR9ƒ@h_.NBL…$\b‚+ÃhP¸`Hƶ-Ln…€\vIpƁg¸ÒÐLVεJÁ`È@ƒo Í`I7lsKlŠQ\b$‡P@EӴ2֎+p€* p@€vUd0E…'+9dΠDj0Pž8„nU3%fi1\fVx%M¢ ¾AC\b\tn8-rRv4QB`a4QT`a\b•ƒg ˜S' ìe=Â' €7 /\f\b€Dr<b)ʈε:[NA€br}\fB1nӇa\b\t@s0Ž0(n\vׂe2<`Ɖ\b@sP’ 9]o€z˰`ž0ƒ`\b0ƒe`\b$\b$€B ‡X€xDiE€R€LiÄ+\t,z@qtΆ@¥@ž(€ JP\f-„D˜3€P@ÑA @4<h0)]ʝ\bxi\tEnH A!@……J@ǁ^r:LiDƋ€EJn9Ž´ D,J\bëc\bokà  @SHàD7]€Vm€€F\bQ G€H0Í^vBpjbP`ΰ4ƒ+ @l€Je@<\f@M`(xMʉ\fWMXLaӛlG+1_ֲ!0¼P„ \fP‰L0@© ‡Ϡ“30çB SVÀÐ-w!5j`èp˜N‰TcZhp‚`”Lއ\v9HV0„<$Q\f0ARn:mjZ($OV1` L0Hgΐ$ƒ5@r`„\f@$€8¨Ҁ¨L``H 8q€E@¡^E` L€âï7[D{HA€“XHl6€N|Lj€%€æY`t?CF\v9H)…€^¾M1\t´€F@ð5€G`m‚h@¼z€@π½p@ǀ„>‘D(H„u¢0°d€P\f8ŠT€8ŸҀ@H‚@€+`€H[H‚ƒn€ €pº<€sV%hE7pHb\t#p!(„\t@•\f8°@ π†€o`ŒT‡D 0„4†cZ:\tBs2Y\tvrQBgjRJ#*(Ux=|AH€'LP@\v\tp@SE΂¸Ӏp\bX2ÝIa}8ˆ€(\ba… „Rƒ}΀j@üu€ WxT€À\bhq@\tƗc\tT‚U@½ €,A8É`ý@“€r|„ ΀…\b\vClPÀl€\b(† øxzPx`ˆ<pˆ@U@†8‚yPi@At–U@8‘XC7`<€y,ŠD@A0njn@4ŠY@ƶ;IJs9n0Q`0H‰ƒ€ơ\t֙H‡K€) i1`°‚΀\fjҋ%VV\bf0Æ: éÑ(mGKnI@‘\ff\b zt6€a ªa0y€\bSp0Œ‡G@ÒO\tSgC Ƅ -fKSΑ')9µ!0(d€tHˆ-¸)+9Hr2YFCMf$[WzhҀ H˶1ª‡N €°€_p$@„25Rl6ΠÀ8@ǃ?†$ƒ@€T cW!:\f`S:4v\bbÝ’6© \bR4Ҡ@t8‚%7]xW`t‰Hp¼XH)Vx-€hž(€bkP@€0xž,€`!(`Ƭ€ap´X†L`0$ƒxM@X ‘ˌmLn\v\bƒ#I^m|@8€>΀…X„K`9_zY,yhƀä@€\fBpˈƀ1@Au!\fHarpˆ@(‡@30<vÂP†85†0.`üx‡M ½$‚\v€#h8dðPˆ Ý`‚ǀ–p‰;€B0•ƀ`ü(‡· rhDƒd@œD€xB >„¥€ €D€~$“jRhD\tqP¾2 ǀ_¤րc$9hDʀk`¼`\bŠp€N‡| z`H€z@q*ÔK\vaRsf`X5Â90 ˀR`èT7օ‚Ɨ\t@dn€B`\b$€C`3:Y'€xƒ%@! €nƀ7#IÔ¢Z\f(äPTj;o P\fM4@‡ †o€v`¤|€Z`£@‘Vd=\b8ddӴ4TmKhléiARn3p@ 5K ,€V@\b^P%P1<†\b@Æ\b^ƒVp\b€aBƥװZ@eX9-Cg^sÆ`ƒ\fß`s\tUˆMw;LJâ5+æN@LHWCe@œ<PŒy Òh^@‚\v=n\b(Ӽ2@ÓXˆˆF}:Àh8‚€¸<>B ©p@@x‚$@i8dÆ@™<„O`e0‚ƒC<D@\b\fDˆQ[\bŒϠÜ0HÉ \tPT@nP D€6@0\tHò!7ב@Aʄy1\f@K`\ffb<H £~;8@2:\tr(€A0Šf‘-EC(¦‡VaJd\bBҠq4\t‚b̎@ªtN:\be0`$<ÀP„Užn QCdP„o@\v@HÂ9jK@@àP%\b€q@rŒt:x,@y0‚ß 8h¶\b`8@Q…*\fϼL:€<@´,‚0Œ0ü@>(€F@H„\b€ƒf`„ÂӠ„΀[€ v·`A>R)X ¨F„d€@Z@2h$u6[, Š@0\b\t„!\f  Á$À)Zm<^”@€`¤ @rH†‹L`ut$ˆ'ΑDǀšp8€'0,lWLy€+Q g@ @€$…€8Ӱ@t@€l¤Q\b‚G`.\fÕ@PlP²@áxƒ^\b@%$҅`ˆ8€PMŒ„zÀΰ•>€< „\bR\v€Hÿ@AP¾€…`‚L0‡€\vpdfu6[G! z„X€~\f€׌v.H\fJJBTaҀ#, ǹ(|p‡`ƀa@\t֐!93!8œ/$x@?A  t\b@X0!ƒt8˜#€3`\bϋY@ £‚HT`ʴ `K8j€'I…B„è„Í\fWCQ,€. ªP€@uŒŽ@„…3Ci`Œf)p„‡T€0< ˆ,Š)†\vUBBA!0J\vϠ0ƒˆ5#e`op5`\tH\b=`ŒT°o%nyeCÀPŠ΀`@¤\tƒ@rhDƒ#0A(r4[-YiDÊ@a0´J€GLä¨{IH €ΰài6Y+cD\tQpMrsc0Ao:WҀ\bˆk%׵+P 0Hœ!ˆ-vttӂ€h|Ž@`wPäS2Xa\b\f†O@ǥKw pŒ:šˆ*(!$[ׂHրB ñ\b„j\bDCQ\b\tƒ=`N=@ S@\b\t‚#PºtM@’\bƒ€#€By8©P9ҁ@H҂@@ ҆µ!b\vUXːBp@,¤@ ׀8ˆ?€A€6›LWX~b€\b$”D Š,‰@p>8~\t΀(;›F ,‡ND:€/`PǁP#\f„d4IcA0m6: \bHo'.EC64xP(Dy{j2,)IP\b$€C`,€p|,FƄH Ƙj@€\tˀ$rD@Áhˆf@@HU[ˆ@%_J@„ˆҀΈVc1Rp9Z.2pˆ€1\bIdCƒ\vPFT\fp\f\b„$€- ˘\f^\fî0Ä@ƒP²P+ ‰D¡\b@p¡RW\b]@ADt{zˆH6Ÿ``t„$€8PLg#e\bBDˆ(€jp˪L€B¢B\t@Ô ƒl@HHD¡mq¨€J`xβYQH%€8PAJd*@$s׸êE@(|[Kf!n09Y,MD\f-wHO6‹PXo,aB\b€q‚@€D€cný€\t—׾W€xäE7€l€E`ƒf\b@X,ej€#!t\b€>(:=-f: €Q€f*n2{x\b8€f(€*A#$‚N€A€΁@ǃtC(P\b\v\bH@ƒ`o5 „6s@‘pèt2הp†Dz… ‰1`L@„2 GHEB,‡H@Ñ\bàΖ\bTx[?*np04[ˊ:P9hžvyJt5D@GX8|A@ˆD€=m3C=He@±† €ln $BE€\bƒ6@A\b†€d\t^l+ҡˆ€d@Hʀg`PI€\v€^` G2]\b7+Q i2JàI:_l0ðX!E҄;h\fǗ0JD`“<ƒ_B€ʻ€1h¢ p‹@U18%<‚iep>t4€px@l)כ`A4\v‚܇@X@„'€ϰˆN‚}%`B4…ǀ¢ ƒ@ H€E ‹n‡@e*I$ˆǕ0\f!#Y8wYf@@V(\bÀp\b֑G ’T€\v@T{‡L`<„ʀ‡m|\bE@„P€a€€$P·[mvbQRp-€ !8`ÃCÛx‚<Í.4+9\b/`t€:A „ƒq`„‚@Š‚PB`„\v„RaƐD`úXF`’ր'Ǡb@րb0ˆ@‰a`xT;@˜t–@‘T¥*$¨΀2cƝJt\tEa\b‚€f@‰TG@=^lGLҔ;hʀBk\b(ƒ\b<ˆ!€\b„`€^` :@)\bXΦ,48\b@(Òo0i``e~RA@+Hǁ\tp„΀4)\b48A!!x‚N…\b€\bL„€\bh€ <•.`ƒ9nj\tf+֌-π!€¬\f@01U@\fx\bFb\bףH/‡)a0>Bâ`€u@#J@`\bh‚[@`L@s9vb¤\fƒ\t@•Cւ=€!2‚$\tN 0΂ι``‚A\t@XP0D‚D …m.\b 5X’)€?p֝6ΰ\vV>ŒB@Ϝ@e2Ia[cz\b\vH @ˆ8‡D³Pæ[nΐ\b‚whœ6«'D‚@€j7@Q@-^€e` +‡uB΄A3E‚<Û?Ž?Q\biK@2<\b…$ \v6D-p=‹`AABr5g  Yl X@A@@€˜v(¬bPÑZ\t€2yr5U.\b‚\vDx'í@<ŠH€€;p$ …c@®!Be2 0$Š)@ƒ %`œ(‚`”HŽ,@¡@œW3@•*‚D@†4=@δX+@΀D†@§hF@F‹£@yjª@ @WQG#Iu)@H €%`ˆA(@\v€6„-qp‚€҅h¶! „\bJƒxç7[LϸÂhP4/@À|…h@f\b|ӂҧ\t^P~@πÌ@„D0€6,Y n3.G#^‚6xDƒ@›X€6ʎһ1>æM x\f€F€x\bÆ@¶€…E@ì€QINh:9`9\f@΀ր\b @‹kÁfX΀ƒ-]*1ˆQ\ta\t@'9h'€J‚D@3›Ұ?X1'].A€ˆ4\b\f#\b€O-…(:ǀ1@ 1v@0`‚%GAA@”`‹LI€@dä@ÀgƦAA@”`‹M€ר`…fQ@®5\f‚s0`—€60ƒ8`‡H‚s<@\vW³€.8€Zֆ€;E9E l0EL0 °\bJ?4PdA LXΩ[,c2P)`!h(†o  („VÀR0ˆ€i0ŽzË ¥tK쌁xpƅӰ4/ \fÀ\v%#IJl66@H€xLp9D7Lp,€#`\b`W0]CA/… €ʑr{J5@\tu;%Heà ä‚{@@pp\f•ƒaP Z4Ykҏd(@-,r¨‡JA@+pþ\b\f1A-@s).G+I\f$­HDAhs \t2{7G`4€ð€„NNiTBA1B ‚N2SRI5H PΠ\b‚Āˆ3ף%UD4\vÚ\v$\vNr2Yl#O9¡#@ P• ù$€ )x…€\v`,4`@\t€yA‘B!-Nƀ;9ΚK,Q\f[@@eh(2ɀfD\f@΀h€P›Έ3€ʵX0Z€E€Jd€\t‚w‚$ €Ҡ-@`ª @8ƒƀ# Èu*€fp„8‡M`˜b:Ç`Ü`€\f|€Lp„€q@˜\fÛ ƼJ\bƀ²8€?n@-èR€p]0\bHƒ€,(\v€ap¤:qdp3$‚@Rà„„{K}€@ƒ@+MJSB@`Ɓ*s2H`¨\bŠ`\v=ddQ`)@(€B0€D …0$2z`WPŒ.€(p`\f<† OV_M€\b\b2‡K`J I#Pdt‘`–F@ôH€XN „$ƒ\b@‡\f\t@‘\b „,SxF)AOPruP@@P6\t)@C=d.bBMPE*s2RÉ(‚\t€gp‰xž!H\b_ H€Q(Ɔ/´`\bâA02‰@§xDmF{]*s2V@˜¬†T €T‚~¡ €€~`\bB€Ž€AHi€Ɛ@.L €h +%ק ת7\v2tM@Ҧ 9HtXcçP.°Œ\f@`Q8˜A#ƒhʇM€(¸‡N ÐÜ[ ˆr€ º,9€(H5€ @ž0 `„G@!P\b€k 2G@ƒd2;X/h\b\t€G`8eŽ ‹J˜ zׂ:\f\b@°:,H@pœ€+8Q9ʐ;X@ ƒE§$â@­X €T`Œ.€€~9@@4@I„-T\f\bO€9€\f<€w  ($$FpƠ0‡‚2¼€,†'=oւDGҖ$ €1X‰\v¼È@€)*A`e1]Ƣ`|3€yY\th @aA–% i`‰€Π‚BQ§Bd4:]˹2($e~@HHʀ\b8iː%(@â`g€€¦€  @³€<Oư€ €*@\b<0:]˱hfl4^D<n)<p@‚`›,*àMp…E€hyp.‚`˜t‘@Q`„€C0€:Y‹E`p\f 0$€Y@04©€<@ζ~$΀m@F{HµM0T?%Y/PŒ®+h€CˆVj8P:€\bLƒn@ˆƒn@€ô€\b8@ˆ0€χÀ„„$Ê,507\fÑ¥h\tߝ8%ʁF@\t0D]T,Xs (æx4״h!aRsaBΠ it@\fBt³\f/KO„H`ˆH‰#€p\bf€AP XϱA€`Š2€PŒx\bND`Œ\f`4„8@â`Ž?„Mj9pœ8\bX€@ŽB@ HHrmv#Ɓ(PL%G@F€Ä™m@.@†TLـ!€s‘l0tPZ€AK>‘qpAXL6AohæƒCxƀH$\t9Ap8\b@‚E p<…K@‘H$ʒ€!p„:‚)ð*d‚@\v((K€P‚€dB@pŠ€ΰ8€C` tñ*ʖ-ץ`% €lhâ0J€k` 2\b‚@h tZ`p\t €#Ë@€X‘C@ laH@a`„P‚B\tG€ʼÕG,GBk$YL(À€@‡j8Š‚}*­ @)+tÀb€!$³!J,ˆ@Äh\bŒ) %jb1pXE‚W¸\b(\f@˸Ì@²@ƒSÀWP\b€!fsK%’8Às4׀V(æ @!l@xž€³0\v\b€+{ÀZQ(\f€ǰ41FI7\bp,v‘BbĂ@£YxR…€\b.€Y`…@‚A AH†(@2Xc@‡6\bÛ@20Å׀@#`Éָ@BpFeH ?;Hþ€%Mn(ˆ(w1^b!X-e!d=h6\v8@ʀ…`‡C¨brhD-3@P”4€o0`€\v\tÀX]n@$ \bǢÏ6a\t1Sš @%҂ \bs€%0(¤‚j+P(€#;\b„?›AJl6\faJ€\b@ †9Žb1Xl#B…x†j0‘Rƒ€,@ h1€DX€B  H„B¡8 \vz@(1@\t#@ \bր€d<ʀH„-@˲H›m„@­T\b€5S4,Dh€J@€0‰HS\t6Ϡl€%`/€\b!Ǹ,\t4`X$‚V @†*@ ðƒ}\b¤P‰ !€y 6@(iN`„ ¶2Xm1r86€`@X Ä ‰\f€n؀#0Q\fo9\v@\t@‚@e\b€m€Z€L+@72Xm2`‚€e0Áf%=Ðy–E@2L,€`°X€O`XàS:[ңx€$h00€€-KD\tO8@!€Ǩ\b´!Rl2 x@ Q8€`Œ€$d΋Ch@('XƊT!0ô³7[LZ:p¥^ X@€$0fe—X\fl7׬T 8+@0^dnB ð€o@b ‘*>ǐs΀³dndƒt\f€2$Y/@' ˆD\ti>€èlUv@(ʴ€d1*€1D!0d}`Œ\f”@¦{L\vRHMF`D„iK ZP\bF@΀©4†@âTƀƀƒ_ToŒ-wš€a@=dMrX`QP„€c0… „x6€¬(CJW@S0‚€ \bǚ^@\v=d` a0-†ɤ(‡@Π‡:DE`„_27\tӰp7L`b\bŒ€7ƒ˪m7lpÁ:[-b¸„ˀ­|H@:™\f Ó(9@¡P€rCf0Œš€ \v ð`‘L“9_H`c¤9H’,ƒ+@›,κ[/Cv‚h@Q\v?R€KPrR×@@\b¨ \t€ m8-osXB€΀8(M[d\vj¨p \fD€q0\b`@ 31@@8C€ x΀@@±¨ ƀò8…Z€d‹:+dR+=ג.AH 8L@€(ƒP%maz, @dP$`‰€x3b#,4€€0(í@Iha4d\f`I@\b¬:ò\v$d€KH(<Hmg#%׵7].3pH%€B‡\t`3Q^u9 !8ƒC@ \vPE° €7@le9BPv€`®t`0![n` ÝÀ!€bÉMf+I$a2.S\b€„d€Ÿ„NY[ր*V@3jn\t\t 80W… ²€bu€X‚@‹px egElӋXd'[֒0Ǩ¾f ì’<<bk„Dp/|LVYb/ j(@ `8iŒMwOhT¼`‚4Æ7׮2hHâ\bH7+1h\b €( nF{7@ù`T‰\bp˜:ˆK!\bLt-AM!\bTҀ#`ÑL@†\bx@t0Ec#haHi !(ˆwQBCP‚\b€@ x€+À€.@z`Ê.F\tF҉ @¢iX`T8¨B\b€`|vLbFDŽ¢€Tp\b€R0 fC@š4=AÖX„‡ˠ4‚€\vpA#`^rA` ‰]<A” @žD΀€L`DŒ€{`8ʼC@‘H‚@ÚPˆ€CPX( ™l€\b@¨\bÀ/up!U%›`Y¬S ea`\b@D€`Ud)¢`‹zҀ=ep[8q@F-[8‹@…@’0€ ˆH\fXϖ_ X2?Á —`¶\b€+¬\bAGPŽn\vDp\bd…0€\b  aAe@˜(€\t`—vP:=\tƒ\t€@„]A:H\v%I€\tl®@ s<lκ\fO%_€#Q.€Xւ„NC]SÄ\fPh€;S@/@AKc{×P0Ҁƒ@­<(\b-`…(‚P@›jly`t!0ƒ`!eO@\tH„€@ s\f‡ $(eˆq\b0)‹@(\t€ $\t\vâ@ˆd \fqV΂@€ i,B(@—\b tG 4bT0X_pŒB‰Hp‚X =FI3›0h$˜l6]8ʠ\fH†€`…>RŠ€$x†€YHD9.vp4·Œnҋ]Fʀ \vIBw`\tÁP„ʀ\bBP€A`A@‚\f€pŽkƃ#%Xl9V@_!(\t2\b'ΐL‚Bԇ @™P<%€ΠœD]0:\t¤rc\vˆ0(€c€@A£‚\bTCd\v€)pŠ„J8‚%p€VNÅ@á<‘P@H#€R8/€@:8‚+`F!Å@âx€8\b H’/€Ґ\f,]@‰DŒ€p„y4@\b\fƗì@–\ft@ ‡ECÙ @D‚S@ '\f)@@$ ‹ҁA$ ˆ$€) =`q@`\t^p?C`Ƃ| e= `0HÀ,[ppÅ\fҖ#%h\vŒEBu… ˜(¡\bAf`\vˆLƒi@@Q@€E€Ƥ‰G0P ¢@€)`8€Q6BH0“@Ԁ.xhÄCQ\b‰K oHH 10  €P¢cξž\b\b³€ApÄ@CpZƑ)@ €`\vF+@€`€tÙ@qL$CT+9I/‰mf%4‚\v@ƒP\bĀ$@€^-f ʂV#\fƂ@âE@€r@*R¤¯uX)ZƒZE€Ó$…D8,p‡ €` D„%A f 6]ʖ{9.8@ƐgHr Dƒ \t0D0‡n3\bˆ9L@Mlz(ŠpUle72 p_2Y\tV\vINi7\b‘a9ƈB1lYQ<»‘/Y@@ÅXMÁ#0ˆ€ˀ”^L4@ Pb7ӈp,N‡ˆ'Qs\tG`R8}\t,B?H H‹5‹Ahe7!@\tn€1\b„%;@S\tBqA$sQ\tii! €ʌH+1HIx@‘À $C`ΊS@ p€FN!\vҟ\v’f $|†€  tÓ@X*(þm @ÝøDˋE4ƒ€+@ƒN2401‚\b€Ax‚A#P„‚`?F@\t®I€@€6@¬xBr9]dž\v\tf3{YHG‹@q¦€`a3M¦g0(¦< `+)€@Œ\f€ץDF\vRvQMvl€a$R@@`”[mg%\b2‰‚°‚@\bKQBl:‘H†€C0p\b”“\v=״8B´H‚%\fH'Α@€ϰ€\v€d€€4x 7`y\tVe{C`#`ät9ΐ‚,„8v€A`äp2ׅZ(<ƒ@‘€*}W`ÌRX€a\bˆ!€Qd4€!) 0å7]\fW˃\v@D1@@Y\v@TA8öI€\f.ú@€#€ΠœDcpIƒƀÒ0†+Aʐ„‚ €P_€‚C0˜D#O€h}@@“!PhNE€δ7\vdT\vQ:J@ˆր =*~H\b`¡$YN`0>€E@‡Vd\f`„@20ˆ.8F@0\bH@d{9c)B0n` @:B@€@/r*0a`€@*L!€h*@ M`! ƒ1@-P‰n„‘\vKxÁ>zxϐtJ‹@҇=Z3ÔNӻiJndC•‚€ˆʔ®hš,Ή. @‡@)\b4’K)) ,:@á0‚e€p^t mM -\b[T+Ai9E<p8F@“; @i=D$ €Ҳ@€xQ ^‘Y,@H\b)‰\fV <\bT#[Μà ‡0@ a(ƚ‰NӈpŒ@Œ ,€¤v€ \vM†ˆ,EPà„@Th®suH„!G |l$i[h!„€\fYXƑ(  PF€[@’€0`\f%ÿLª@€\t€9@\fH„1 Ÿ-€8€+‚50L-  <€'„{UbIöϰè¹ \b@z¦m^u8bp\t8‚`8€!€A`…΀jF~֞€W@ˆEBL,4\fP\t\bXX$‚PA0\b(ƒX`PD  F‰\b6<8\b€†c@B £x@‰…1A ! ˆր@A`•`ŠTƓ3@Œ`ҀkcΆ.L€A!3`€ƒ(•<Q`¨P„\v@ (c@O`Œ`Pd@æ€e`Qf`P`@–€e€z\b@™\b‡1A !@Š*‚,0(\b8M€Ƈ1A !`Œ8€p¥F\b Ã\fƂ\tҘ€ʰ ‚Ơø҅+ÀI8X¥€NQ(€K`ê\tHˆXka6ÀkP€H,`\b@„+|Í „H€€6ÀéH€!ÄXoG@Hb(Ҁ` |F’€<€(@ƾөp0±4Y\f[Μ\b+€APҀ\be\b8 b@1Z„$ ðǀ€P\vʀ`‡\vùƒ%Nh'C \b>@@€\bppdְ$n*uHSÁD@*€UrÎ(+7]pW™ D,2ׅ@‰l\t\bP´t€`0ʐQ‚'D,(AfC=h7„΀1@Dη]\v F@Á…d Ұìk2^ҡS\to:Mw9PŒ^€S(ƒ7“,7\f` `@àgH…@H‘5‡d„8€ d‘@±L±:-NI8P:=%`-xþ€UC4J,€Hl\f\v1xƘŒƆ\vS.* …iƀa\bb \t@pˆ€oB\v0\v@h\b¯q\b˜‚u€4„y@€`‹e€PÅҧ@ ƒˆ£Ӄ˞n)Y.Bp\f\b‚%PXŠ 2%ֆd@P<‚\t0D\b€6@“lL, ƒ€ X‰O€ˆ>€D@™x€( Sh‚ʀã®@.Ú`Ä$.€3\bƒ6LNcZfU€ ր€8…K#V• ™ƒ;!Ô@ˆ€cpÅ)f#`Œ‚ †O5'4H^€@`\b€ej  €0ƒ\v@Œ ˠ€,€v!°l€€H@\tƌ@5p\bAZ5/8p˜/p\vXúfIJ\f„J%II@ְ\bnLFH=T(@@QŒW-fKQY”˦KP@bI҄K9R_@MP\vzmD`1¨€ Ñ‚y 0@EPÌ@€@Éf?sË_ J™\fWb@àp€.€@{Jd@`\f\t'LC\b\fŒMs0\vî.Nd2ÀFX„\t{IҀ³$4Xp/@PR€$8€s\tA\fc0n€Ơú|†€T@¾\b p)*@F8jt2ׂØβv@î 3\t!X€`@fb€QxÏ@#fʀ@ w`$4„¦#Z]¡€DY38¹2VpanˆTˆ@‹;@O*F\v\bZ€ h0IΌ@®@ñ€p,p²@ ¼ƒ@Dh†ƒ\t0Š*\v XŒ€X ƒ„6xD0yր>@`yր€yրL ˜,@€ǀ¶XƒǠ‡]\b`qf1€C0‡|?fp‰:Qh ad‚@2øŒ@ÖeD7…*7˄3€0!eAAi<LI6+e4ʀ= ffj\b7WH.\b` `‚@@AH`K2^!`’Ҡ€ z41-MP:P €AŸ΀OҖXd@b0€ǀ`\bҁ@Óx\t'\t@Ϡ‚<B ™p…K`!8”~€K!H>\b€Ã¾€n?(P-…N0(U L0[Lw*=΀ˀ°X.һF\tg`<‰@²`¼€Sp\bFƒ@pWn<b º*/r`L0]ʗ#UH-A!0J‰7!a@Ό fl\b`:!4‡€pRh–‚ eP%b¶O@{H–΀!ˆt@\bP„@!0€a€+8\t…„j¸…V %H…ÀF”F µ\f.@›`0)€π¬P€Ya@t22€Ӡ0\b\fH\tF.'Lh@H'€…Z@¨t 21(\tΣõ@ 8B“Y|‹€CyZiNB`(\b¼[§ pÔ-kr4Ü\b@?7`\b™L|ˀ Hƒ@ØLÆ@Dƒ*F`$„+€ΰ‚€™`ƉBrr $\bžZ€‘p‰#ÀD€4x€T@€!€)€(†6€#^€Ue’\b…€ “75@\b!n2¯`ˆd‡OK` …EÂBx¬ƒ+ƒ€(0 L4@ Lj€!Pˆ2=N hƒ€!Xâs'Yנ\bˈ˜@OX! ‘ „*C@-h¨ @±h‚CA0„ §t6«@ßpmL4[M1\b \t€0ftqR HÀs:!`µl€׸0[Äpœ*‚ƀš@\va ø€K×tHR€-IQRpiÀ\bp‚4B\f@Œ΀€<„Q!…@0€B`–W…`=L€X\b¤ƒJ €TŠ)€8@€G@Ä@‚E€>sœ`\b€(”'€WX9 €E@¡$‚y`ˆˆeB\bl`\tMϣ0[ʗP8‚€0jր'€!0„,w`\vWnúàsdXāK\t0܂C@‰<Õ@âx…@(0ק`Aφx0€@„QDvˆMw8΀'?\f\bè@ E_.bpt…$\bW\bKfPµ?bK^Pӫ0\b@Â@X¢€A@„.UÐØ@(i@GXd¦I\b$€/ o t@Jx׵\t@;.\fv S-K~Æp‰(:€n6!€.X\f?€b€2’ZlS(0J3@ \b€a @1l‚@ÃPwˁC@„‚`l…H€pˆǂ`<‚ 9ic0!\t8.€ª K(€ƒ Ia\v€G҇@(\tҁ˰\ft€9ˆG#IRx1kp9@,pÁp#\b@xª[@R@$A)Ï\b1¬€+ ap\bP€4\f@‚Vd€! ”(€c  0d‚HÀ ¦x[A ƠÆx ‰`“'(`DƄG€! €5Â`„R‚y€G‡9p‰M)V\vbƅßa0øFc`@Ƹ e/ qX´ H㠉\b‚u`@\fyψ\tVNLL4Ӛ-exJi7`%֩À*HY]B@4ƨZ1@„R`70.n@Bu6tϰ.ƀÞP„]`w<.  \vL7EGҌ./˜Q0\f€`v’[n!\bΐŒBj |ƒ@±h„@ˆF`§L@Á€€\fA8MZP\b$Unwt?E \b\bLi7@8$@!ˆ\voÉMw<4zd $\bŀ€èà€v΋k+@4gT-m£9ßi³ T\t¡@ÈX%IBq:›ˆ-<:8€M$@;eP6,°@0 6Y'pYCU@0ʒnAD 2Ìi7%€KC à‹@P‹G%“\t`ƞRpGXƒ=›‘\v!F\b7AÈ\b(†Ɓ X‚€G  ˆ,‚U€\tD@«pƂ@$`J‚n@€GH ùD€ ‰,\t@‡äg0]T0,ƃ@¡ˀ†`]AˆÉ`‰=QA)x‚€`. “l{F {(|=@L(†ƒ@«<J2'.~h\b8,‹eYJwJ€IL€@ŒHҫуƀ’0€dÆPPˆ]iS(H@$€\f`ƒH ˜H€„CQ€X \vah?€\f U^^ž9`!φM{X°…˷9րB@@\bª€r,“'e \v[õ\f@+ \b`·Ð*@  €Ҁ¬c\t\btΛ@¢(‚„eA€c9@5#`D€so@1€Aӈ†”EB=HdTP,…|G@ְ<\tˆEB$„;B pŠwKSAnB\f΄x4\fQ0S,sҨyρƼ0X$8€ob@5h(\fg\t\b0€*‘[\bO7`\b¹[\v˒tYDδx( \bY0P(´00ƀ% ]݁.8€+!\vM[2Gf@>d@’x‚#€P™8y†€88¡\bT.p3 ¥,±(,@”1@A 6|΀\t`ð…FÀ`\bœŠ\bpˆpÀ8¥3Y:p)E a8G €@7d,¢@ֆà ’\fơ'YTr0F€E`SAJrҁ \bP$l€w`X‚P@#8‚€ӰpLe@\vƒ\v όӡ€$Šʀ—€AœFö@Á8€\fW(HåB€@z@CL@€ҐÁKwgA\b0Y @P²2[NBI€h>ƁE ¢6@@b„€CP-ho 8´tNP`Ө…+kˆ``‡qҀ(E•x~€:œ€΀‰$ : \bÜ4…`‡wҐ6Nh`´“@„,„u`O lÑֈL,2ҝ\bB8\f0m`¼@b7LeP\bt€iˀA€+MsQt4 \b8€cALd\vQhE¶@<|VÇ ˜,€€Øƒ='É0AlK0…>L 3XzˆUs\vdrO_`w!`Ɨ€v`\b\f׌V1@@\tÈցPtZ²IJ8/@;@HIgIÅP€,` ր#\bAV\b*\tˆ-#li2]jQ(\f:ƒedPH€mGÉY@%px€-gI8iΐ €@|N¾‚Hd4Κ\b‚p@^€5\vqQRW †(\t@4‡.@I@AgV´`A^u9r`0ϨƒrbEP€!R0\b.€;@R¹Dz%M`\f¡\b‘Z,a`d;AEP´N \b $YDP״\f`<hR!à ƒFk‘ }€9\fƀ$F@\v‚/R@$€1  Rõ€0\f<‚IG`z[mf>@(Pn@ 80€$6ßbP|,€ÆYŽ)Ø ¢T6%]@ ‹ˀ Ƕ€GK:wK\tIC ‹IvN@’@€JË1\f@„ZNp1 €4/Œ*FK0XC` €, +=Hu1]\t{5JÀΠÀ@A\b•!é`pw6¯F*I^v4Y$`‚@ba\bw¡n€]nDBgô Ɛ\b`Âp€2a0hҀKX1€ `X#•@,\t@ò ƒË X\t€K`ˆx0€`\bx€p;,^\v \v uc  H†OÁP‘\v\f`‚(`€΂A%p˜gA! SAUPn„L@ˆ4€|”6sJS1׍vc1\vr@mPÈ@h#(ƀ\bTXA)LKÁp‚P8\f@Ÿ\f΂b`(Ät4J \vQRo,r”QRoTTIJa20!ÔÁ2X,B°€Qo@\vbXk@ A$e€8<Ҁ@Ɩ@\tP=…\b•n>ƒ> !tU@pƒ.ýK4Jr2DJ@WBQH\f\v@rà€<@“g8€A ”(€g0`]@€ӧ\beD%€\f ¨bքv\b’P„€v (4‚,`P @‚x@¢X…n€@Ùl\tˀEleZ@Aˆ€5O%U׵9Y _`ICMÒ#q\btΏ‚΀|΁…e`$:trÀA0ˆ3CP !*€)\f$aրQ\vtq`“wb€\fmAÀ\b8€1„$‹B¶Eh¦r5) ˆǀ‡½€mè\t8‚P8kH@x©=\b:‚d`\bp€E‚4.P„€`Eje9]\v0vQÕ`ˆH‚Ɓ` ŠҀ=PP\v4ƀ¸T€@'%H$B@xäs2]0\b\f(I@‚XƂ|`(€Ҁ‚0Œ\fÙ@ gr@¥v@\b϶Â@Á^-vŀ% X[@ `l2…O;h6€#nAK'DjTh\bҀÂp†~\b\b†x\f UdnB`ʸ€,Ðè:€{DXD!)!P«$΁E €\f3@¢€€\frsA%`Z€9t\fAh‡{°L™ ƒ-ÈC@¦\fBN<!`Nƒ7C@ H„bÀ3h‹@‚X*ˆ]8lxA$€!`\bpƒ@8=@$F{^b0§E0€C| €@«X$¼ P ¦#p\b|\f?‚7>C 2(½ÁRHhC ÇE+@Ö*o)@¡ƒ(€ZPÁoMQH\bK @…jÀ!0ƒP—L2@nj΀Lj ƒ!8\b`αU e9\vbǍJ„ 8‚€Ƥ”Dθ„€`‚>F,Mi$uJLVά\v€\tq\b.€@Hž3a\b\b\bK€9b*\b`†X A ‚E@P`x@(€.@¾Ag€Z0ˆ^ƒF`·8€ǀUp€ƒ+`…r*J`ˆX€\bI’ ˆcµ@!QFÕI z\b€.\fAcp.#G@€<†Y@’0\ft@i@ˆPO@…\b€àˆ9M{:Z¢\tP؋a†fK=]lØP€T‚€:L€@!!(©€`¹ҀB`@2@\b@„h€1+I.F{aƅR@t € uA<¨Ø-M`€ H\b\f€€ExM€`\f€Ip†ƃõ*0-|\b@±€\b>€Ap‹TƀR@‹T¬€>8\tgÃP¬n€s $\t@‘0”*€G`°T@Ñ(€c@!@˜.€ ‹<€B L…*\b@b`€Ìb\vb€IP|†m€ ‡X)0€(/$@Y ƒǀÊ0ƒ+AD0ˆ€,ŸU@:8\b\bÂp—b`¯ @í`‚€u\bT‚*B0z0B`\vhJa84J0\vyzË@€stU€€xŠ +%L3*6C=dtrBHÊo99'\bd…<à0ŒuU-{]l6‚XNÅ`ƒz¸ntPi72H \bxƒ€1Xƒj(@3PI^wƠʌ¢7]it6C@‘X¶ϙ\frƴU€ Š(€w`#+!^wm\b DŒ€HP‡r\tc @’;!¨I@;p$@%֠\b@€bn2׊…P s@\f~v*TÈhÆI7L :„\t€$@‚mA`ˆƒF ªpʀÅ0‚ʀýQ0\fÄ ¢ ,‰€:X‡_€a`‰0.Cp#Hƒ€1Xäe0[B•p ,V\v;j\tm(8€*c©€@£xƒSǁ# Œ`ŸP…@р€aAZa9h@\f‘b@\bD‚@ƅ\vURe:4,.1t'p҄ʀžcí“Ap\b8Z˷8l€@×8‚€%P‘2aaƈvtÞ@D€¸x\b7@{xʜ ‡4€@P,p‰RLÐ! bàR„€ր†T@4‡\f@»Q( rPʸŠ?|HƀǕ ,Pž$`0x‚@¥h‚.@Ǡš\tZ˷?I~ʀäd\bdh7]xc ʚ ‚4€EU‰p<@T7to€|€\t€<³Y‚P´NrCp.T\b\f€\flaA= ERc\t¹PX[M\t00R`„€ʧÌe`H€„+y$`€A`“z/ҬD!)ZwM„€\fb\v%aQ\fŸ@IVi87Q`15Z.`\bt€0ˀ˜8´'XM#X†€gP…$ß \f8 @‘=M6K@BC@“‚@ö€€\vpZoabU0 \bZX‚ˆ[a6hœ€}f€$‚{L€PŒw(œ+qYdt ’\b<I`P‚<*‚ubé)0t€ƅ¨hpʀ-rC\f\b3@JP€D‚@’X„X@h\fˆB\bPX¢¿$\b€CH Epœ€4 q\thj€@0DS8[0IBq\b`XH6C@in40׎Hppe\b1Q`€0H@\fâ à†2108Eh€tCxd€:!pt p€„$†=ʰ<€C ˜d°'.z\b<ƺ€\vx΀\b€ME2:‚B(€tA\vRd€DAHk\vā)¢V€\t<;€ p†€A0h@€l2Vg@2)]˰p¤on!$ӻ@Ғî`l¤7քQҀ€)€#E`XŽ%€π„L‰SVQfI7ӂ‰\fB:nҬhnH@a`€5€=<8Ҁ@¨P¡*b8W`„\f\b\v@—Rցҁ.$vƒH m8(3Qdi8'a¸‚L@'n)nG#΃@˜ ¢u2Ά%#T%7@\bLF`‚AN:2[LJ\bӲ@£@„fP„€ʠÅroDj3a,\b€6dž‘^-M0<i„P”0€D@£DVªcQ\tӵ1#)<\f\vE ``Ä,€0>€Q ®AuZ±hx\tA0f(\f(„]%pPŠ;K`1(€gQ @€]01°…(@@]h!Aâ8‚3P‡Xÿ`‘4‡9Aҧ+A`e[@ƕ8àD ˆq>•ÀQ‚U€\f@h‚%u*Mne2֋p šƒ`@˗ր\fA`€€ϐ8ƁÃ`‰Ƅ<W®g8* \t‚2a/`\b@ô Œ‰By€€p$@EW)A(a3Gbœ|Ɓc¡0@€%`„B´pNÀ.~o# ,ւ@– \b,€8@\f ›<*@ÆxT€ 0(€Í`ˆ8€>€ðŽ@E@~\tƒ$ƒ‚ϣ҈`8‚RH`!‹2@X Ï ai\tª@Ùp8?B#PH –X\b€0p„n B‚E`@´…ƀ$+aAցE€d…KH€hg\b@QB€€\fϐ#€ҠŒP„PžVƒ`šz@Àx¶,H9 x\b¤‚qN(p¹@\v%FkC˜ Ø;°d€ ·(…€$e€8œe€`‡Y ˆ¸€ma@K€AC™`‹$@=(\f\fœ`5 Œ@2x…?‘\vq9Fk€Pd:€3q¼h€£€\t@Ù`…DK€àK€€ր@y0€Ž@³ €P¤dŸ`€D)7ׅ@\b¦²`‚@\b<Œ0¢t>T €BÃ!0*)ˆ)E+?@b`ƒ@’]ˇS,7[YRt61`Έ†N 3hŠ‹p„F ¥pTK@óϨ>ʀҁaE(o2*@ €~v–qDíW'H:Νʗ8\b@M+šhƒ֚PέFa*nk=g^á „R€€H$<@’ƒbπ@I^p'@€'q@\bҀ\t\v!@…€g!@Ʋ4«“€jʘ\fa(,A \b0PǀœL@\bҖ Ò4,%€cP€mƃg œžXP\b2€@zI^w8@À.@s „¦@vX€š€X”4€+@ 4\f`\b@$#9{\bHX`†^ϜL-,€ ² …A@âX|#APpF)9ƒ8€€Zx€ \b>€Aȇ2„ҫ95pO@”hƒˀƒp<m\tB$@À@GEÉž)rMg¥ IRm@Œhÿ@}$)B8À,`œҀ@À@xŒ€<prp4Ün nA΀‘bφR1hD\f„@`¨oyʪ%+9Ho €d\tS <`p`U7#0>Y,zT6d@bPŠRd—$0n@· dð€\fҀ—@˜L„ V\b‹wǗAJrqŽ@‚ʀ· (U.6*@<<`\bK<\b€78¡S!Mf\v2lª‚\vMJ%i@P›$ƙ.6(dHB`(Às2ְ HNƀ•€:PրÄ ©P3*׬TM$cT*7K5DojÀP¢e+* H¨ ʀ• „\v\tǐˆ$„@Œ£'Y_`P>/Ê`0T€$$^x{LU.6)‡$€E<ø\bŁ@4(E@M†րà ׊!*2Rf4Y7ǀƀ\b@\td©`ZL@Ý ΀¾`\v!jĀ'dl@ßX€p\vbʠ‰ֆ@ !<$,xn`b0”K€€\fV‡U`¨4$x2`Bhƒx_a8 ‚:Ce`„ƒ1P6K@ˆ°†K ƒlXr€ ZxE@ǰ€\f€h`•ƀI ²8@™`‰€!PŒl€!` `€€18‰§P”±Ã@́@³ €8@$ ‚0 „l\bg@h†+€@—H@Ì%*c’Ær4U@@ X‚8€!8„s\b\bx΀€\brÀ„(Âe9@ˆP‰v`B„ʆþتƒb ¸€ψúYh±7µ0`c)2%6Pa\t,i9],eI~րx€0D.K(@W0k9`\b,‚B`F2  H€j@@Q\f]B oÜn0‚@‚\bb@A€TyLHD]dHGΗo4J€\bâo9hp\bUƂQ` L 9=\bœ€0XR!hDƀ\tB֬HBQ^p)[hhDX/#`J4`\bF\v(0E2*@e0É2]TP€z\t P°€i@`XׂZ7zr`\b‡'@Ϩ<2„>,2HNf+8µ[b8d0`Ǜ<ˆH6\b%<Ν\bEpÐ@€+'QMRv2D€Dπ±(ƒ*‰0!`p?F\vAa#ED-1qP²1ù/ƒlb\bR/P(€1†QB€_\fƒd€Ҁ»q`\b€iF6€x‚ƒ@È@% F€,AH?ҤJs5zB0 (€ƔFǬb¤yÀ8æ´T`ÀJ,v@0‡i¶Š('A^t*;a` 7]Ҁ|-a*CÁ›Ɓ@œDþ 3(IÂdPŽ\f‚@¡$„F@²{€t1Lo@F3<J˜,VscN@Ž)`Fn:I €H„@£PhKʀ'Hʌ°za7@X\f\t„\bjY@Ɨ„Dø‰5@lˆx`tX>L\b\b'+4V9= ΫH7MH#ϯ1,Fύjb6f¡+u`D2׍3Hm,£`qIl6`‚\f\b=EH=Dj2XnG%fo,Nœ!‚6aIn;-FK@F)iRH¥3\f HB<€G€Ƃ\f@™4Ã7-V)‚%` @tH\t<ÀhTbTb((¶€\f ²iTفðÆ,0lS\v%׫]B‰(0bi3[Ht(deÿlPu’9dp€ˆƒ8C9.F+IRa-B@8\fø;@\f0‚\b€L\t@ñp’ÁaP‚,€\vy> PÀ !7E@ϔƒqpfrq8ה”\tw+Q`uP@0HŒL€¡(E59@K1HH@ʀD~³B@:x2¨A@5Ý/L,#L@@P<\v /0T­32€\v,!6$\bjpJ X€M€@\bœǠlWYJr˶+L@)cDN28â 8]/2\bTQ` 412,i,ftÁf\vÀy]Jc:`•8d4@V{MFh2[,ˆ!*[Z7‰UiH@”ϵx(†!‚ˆβ]@=Rs%€a\bP€+A0zX—R-k`\fTT4„#8Nt r|€4@7UDnÃx0¤ǥ€^0\b1N„o lŽ.€#r.H\fFO%H0ϛL;#8©)Adˆ\f,> %D€Y`S(ÆÁG˜΃\v\tP\tT^\t@HÇӀED@™EB)^i7‚\t\bt‚Iq@u`1h8Bªcp:U'\tr]ö0 \b8S@TL@b<JFP\fL!x€@€Z \vM@Pƒ8\b]-Vq‚E€\bR\bjP@A`”B`‚8pR Q@‚PA+0„†€\bT… €p‡Y€(`]Rn5x@0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P¸ƒKÀA\fz{$p‚J#ÆgP<M@žPÁ\t€ʂ¸-f!do71FC1hDS€\fx:£°r¹@q\t-'Ø`1\fTu`¯ʭ€<PÚ, €X\f(,6+L~k˱@MvG\tÌ8z%V (H€@c!Bd¬BҠ(€\t!J'!Bb2RJp@ŠL@n2  \bg;ÔAq\vN2gèp @˜!m@@TìRf\v0@pã@@NP\v;!Rc4\b\fb1Y.7do†XAJCO¡pAD\vAdP\fÈ©`he?@4€\f$T xWÀ7o<€ˇYBrC \f*¢t€p?@GZ\tRn3KAøM\bOna\tde@€P:@#p(AƒҒ2O VD\b\vAfe` <(o@^@\f¼\fʀ†p‚Ig-f>@I@\bm6@€§P‚Hyo bPL€I0T„-w1i i7jF|€A‚bD,cU C7֏\vr„@Š8ƒI;\fIf+^€@0H.Ÿ@‘P 0] PXq\b\f#@aVÀ`€K:\t€'(€`„\bR,@’äo9׫P¼½RPl7K,`h…€ #<4ʀ`ƒZʁgP°ϛM3H\b@#P K*`~€EAX5¢@‡HH˔GH lr@#K4ÅŒP4€(v´D#N\b\fAcפr¦+aa[BP€fk˜-0*”b )|A@k1\bg -fKOQAiV\t€nPyH*\t€Mn\fi|\b('(t‚´ \bSPIuW2`0HWDd Šk\v@€ʌJ€P…ˆ$;Xl'5`@Pä,~P0EKs$ h$€D% ˤLºE ǘçÈIH(‚fE»#À1 @4Üw5l`}\v4`IÀfBƒ(0°€V@ʂƀ¢ƒ\v‚2|€Z@!vH<y` H‚vx֠lf`04…€3hT0˜8€.m`Vlþ $6sSQ5\b@¯$j`0?!BX`x™@0Ö@wKh@X\bÁ@@1ABt0B`Èp…IC`H™@~`\b ’4=\t`T0“Y\bAP”@9\vØ}ǀâ Èo75f0LFǼt{(…@è֟[BÒp‡[@QƕFh2ף€!c7)`,6n€9X‡‚π¾zMD`„5H`ˆ<…@ŒP\f`w7א ƒ€nΝ\b^k80€W!@`~s xƒYM-w+PJC %8¶C I$\v8A%„fʀ%i0\b/v19RʘS<ϐDCaG}®¸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-FbIjnB@\v¢s]Td{\bˆ]*h…ª‡Q^p-F`,ƀ@\b sCG ‰L@o35Bql‚iÐP±:n`BI3.EU׳қmf;dLžpXss .6[Mv>.Ehâs0Àt4?9X`( ҋcv<#\tҀ@Ì'1@@8D‰\bP0D@*€@SH܀€8\f@‹Pa3P`tˆ@™X)Ð6.1ILpA2 \bvž`\t\v%Fo7\bcUf9¨a8Z$”\b4MGh%\f(F+)pUaÑ<A+Z/ҋIHD0Z=!0\b€2E(XŠI({9FeAf\vdYÈ\f<Ό \fHP4Ê ‚=;Ô`˜$„*€ xžU€,fqPo:׈ ‡Ð` („΀±€E€bPÀY>Í0ˊd08þ lV+.>4\v<r@àf€€B9GR,@[`€(…`‡ \f³€֨B 7J`\vR l@°H‰X€Ap©0SmiX(RA{hˆ>o°h:1KD9\bӂiAJx:Ơ 0@Ÿ7\f8ApŸ~B`)0D0A`*\b ±\b‚K! Dm[B\v0‘VŸ`°0†@H@Ž@°HŒ€Y1b\bá`A1\b4|!pqƒ0ZF`%,@\t@@` H1 j€~b@d\b@äx€˜Pƒ …<΀ (e\bO1%\b›@Ɛ6b@D8´M`)B2[NBU\b³\t@3(\baS`\b4€z‚.<`ƒָ12]N)`tDC4@—h616/ \tÏR\b\bh€1 ӢÜπ)`΀@rǸ €zlp9  *ւ`´L€{DP#'6€™\b-¾_6­BPp4!8]%@hv€\b ‚E@Š31^w1FS D„Ra\b0ˆs!\b›J‚\th@‚ €ßb©T'CŽ.†#F.nʠt \v€rP…`ˈIu8X+€!H¤ ʀó\bàO3[2Ҁvg9X±'YLb PK<@82H€D(¡)Pm@€X-ƠˆH€ֆd\v5Bep0nd a\bˆS\b\ttTO@  xÀB)En2dP€\t@ŸX8\t€º€)   i`dbM4[^%H\fç‰Bp(,Ð\bIvQ~ P(²\bIyc0€%xAd=ˊ\bše—@1MXl2D€Y>3@x¬@US@DtGˆT`€ƘŽʀ„a‡X\fVt(ƒoVSQ¨€<j05b2@ƒ \b¨f+@*P(.`@H\b’DҋC8 `‹@\tΰ|\bD)[Mր5$<@hD΀ˆZx\v2àgPr:7.(~n4֊6\v5JD‚xž@@PDn2Kp$ú`@$Fn2!X@'8q*Lto{Z@``KWHmFN~x@+)XWê0Í,[n@IP€nÙÐ#d4IA@VHpϒ'+b\f1[Bq\vLIbq\t!l]%q\tD0*ãf›8 @|:!8\b8ʮ·Q sCC0\foÁ„du2KKYAPZo\be$3.@˸,ô\ft07׎M< pR+\bX…ǑPr7]'h\bրY`8\bd@#%f 1‚P(3lʄBn3f@óT‘a3IJs\fDһjʃK\fL4q4Ymf{IJd{@`#5\tB\b<\b= D27׎Lh``c7׋p‘maHDv0Ag\tRÔҫEji4†G#<@cPG;<@GƀV!!s;Ay BB6.7!?7YD\täcr(Áw@ >b‡C| \b\b΀@o€\vBmç0~\bj[áý@\fŽ@“w|πjfC@a6 dh\tBn0[˶;T<+¬  %p-€\tP\fʀLp²K0Tˆ@€0+€`ΉJr0[aMRn2_@Al\b?4$€À}h`04`\tvK9NsN@dP\t\bË\t@\th@ aS.'gtl€`J *P\f\t9L6{Ar€9@2xT€8:D@(\tXo*+@s:;#V0@s4nt(@֑3@2U”)Ua\b@wbq4ƈQ@ p„À0` Q!€>Ax€Qk@„n@`\fX™€Pºe† ?:Btp‹Ll`3x44ø /LdzÁgÁ €րCw\bGƒaP\b ZƒapDŽw\bAƳ(r² ›ŽZlê981@*@8v¢d!Jl8Π xˆ@½\b@@K€JI€\bX6\vF@ Ψ¤ aWp9ƒo0˜W8=x‚ÓS֝»ƒiXÄâfq 0;X.; Xv_AV Š<:M@èN)<A•<ŠavP€h:@j|zi7[^ ™ҁ¡pP…X`ÿdŒ‘@ûLcû|¤• û`†πǁ@@@HӔA`\t‚@r =`@^\fƒ${b\bëe`Glƞ{x\f!@}ֆU@>vπC˜JãDdIRb1lEš\bDMZ,„j'\ff\b0bñDH„g’ h\bD€ʢžҤ\b@‰3Xb\b¥`Tg«aPl<€a`„€`DNW#eҀ›x`t9π¡BŠ%‘J‚D £$‚Gd$\v\tfv@ž€C@h1!-Hʬ€Ap:€*apx<rb¸„ˀ›h<\f€ApX-v,€ǀ ]x nS\vg59 \tBrX@ãXŽ€2@8ҀKϐ‚K€\bppr\bCŒj;\tXe\b`Pd¿@A4ƒӠ…\f€4hh\v@%€\bBic\f\f@È0†€ApÁ{4Ҍ-vcdzbd%ZD\b€3Rg7]m`‚*@•P`øŠ8¦0˜pÃ`‹4\tDKD]\bI`2 S-#@Ã@žր”@ p†ˆdž|ҦE@G#=a?ҀÕ@€`†5€F,ôΥ.7#%M|\fD\b'p%ϔ7QNӽTR@ƒ`ƚpPâB`(™@¡,„gaHŽ€A %”@ /¤à\vi,I@5iQnd(@p¸b :0€\t|Fn:00*+`¹<8@Gsú‚+0°1@@th8L\bMg#\bӀ²If@¦ ƀ·P€l+Nd`%ƒ`‚Ҁ7;KPUøBz^Dҁ`…9xҵY(@\bDG„ϐ|6GӘ-6+\bWb΁€@‹hD¦†'iAVe@™V3.9aˀ„DքƠ€DŽ@Â(\b·€J„$…Ơ¦L[€ pŽZ„{Xa3¥8P@ Y(€\vWYIle#(8P x„@ϡ\bÂ\tNA€„ LE#<|€@Á\v9f(Ã`:‹€˜\b3!@NK¨Dƒ@ˆp\b\tAŠ`@AgaÀ`A(a11˰Ɛ6u#QBb\va` CLdž\vǪ\v°#PBúҖYRZ p‹dDp\t 0@×08@A(À0|‘9\be ôƒ€QX„ʤ˜‚F`˘i8Rl0‚G`Ƒ^c5w  `\f7e6†!7B@PH;@a(€@\f6‚C ªX ’<€¦iKK@@€\b/tHF\b_8\tZ)¯$8R+€J@„\bϰ`D‰wdpJ€t 4€K@ >i\btAp”vŠytPc§0 D‚Y`a(ƪ€€$R€D ¢t\f¤]B7^ƀHF è,`<2pBˆuh‘yÎm0\f‰@ (E“0ü€p(<02^O\tk\fŽ@Ì@ŒBS8T pd 7^Dz3.e6mvoa`2h‡<\f6C Ò9Umc2/5Âeƅde D7T‚  \bCKB=PHbfe\tHo;[I€\vT:Lׁldc2[PX\v‰`\v@=A6!`^#ƒGpDÁJ\vP@w2Y@\v9W_\b“PDe9]ΪB 8]9e8Ag\bÙEe:\v`˨€B\t @p€b0\b(‘^0\bhœàrH„Dc`°r-A@yX‚`†,\b9wP$cM`ah€W)D\teHtϩO ø¦ R\b`\vapw@\vlj`Tq”nFK5jl9[lg!\be6[y\b$Éu*\tXa7w€x„ 1¤€#Bג@!H^€9πV @ªŠ9€apŒl˜Tl7,É~Άt`L@ϡƔ΀^ U\thD<\tA .@ ,¢M`)</„(jAYΝ\bD`Pˆ1€p\b®€‚ýD@;A8Qg~@^ H\bz™Dp46O6\b’7B@1Q.„`Œ>րnBfV\vQC*˜A4rè@,X\fR€fa:!t@\fj`†\f”@±`#@nRb(h2[.\b\f €pĄVˠP…$@P\t\fr7[*Pƅ(e6֑Q`Dt֛A˂\b.€] L€N'±\vDbΖ\b]\tLLW>dïŸb$ϡ>KáH˜3€P(\tT/‡`t\bÐ\b \fš€Z@•TŒ@±0‡^0ÁN@ †R‚3@€h†€9„@0\v$a,aÁˆIl\bD¯E €Hn2uG0\b\tnü@`#h‚¾X]Ҁ?Ce^u;ŽQ¥€°\t\bNL9`+\fƀYK`(2@€Pt<3@±h€c@ª87€p1Pp€@!˜|Àh\bP\b#2H(8lE\t\bW^‚ Pr„@Ә†0Dn% hU€q\t\ftϋ€CxFo7FP21:dǰ\bg€:2Hϒ%neQMû²Ρ308öB`DLH W€$ÀX )\b@c,@ex‚1@ҤJc4YO1B€Ǡˆb‚Ơ½@b@‚XôÁә8>0Åp5  @Ήx'€ Œ҂lçRs8\fMD\f@¥‰EUP_!H\f ҀSTf6)iX@3@0tƒҰ)(KG`(H.6zLþ€„\f^\tƒ@@i6[,V#%Bt$LH{8@m-!@\fHˆ)€\b(ҶY0€)*å8¢Sb7Dð@Àϴ@Dp\bä€΀]¯΀p6Ҵ[ztH\f ‰(n‘Àm`0[)AB€M7I`‹\bƒƀ`‚q1CpIJf:(ptրR@ pŠ!€U@¸1H€, 00\b,€Aƒ2*Õb`$€\b@Ò0€ʂ@Y@ \vTaPIǃ B€ʀ#pŒ4‡a@v(@»Q0ց@]`”΀\b …֘ð$WS$™˷XcB·]4ҳZ0 \bdʁ 8‰3 €rPM#QPX€(à@020֎ƁLӍ€88ӲX\v`\vBh@ ˅@؀4#©J‡^€\vðª‰\vϠ҆%1;>;\boϘA:=B\f.+9l00Pèb@Ê/J@hŠH@1,@@QDPR~ÙP (€`H '(ΦkG!\b֗žPE%f”±I$u7``$*3:[Dè€VKæˆTn@XʲŽ@D‡ÐX…q4@ jpA@)‚>9 aX\v<@ašV\v¤`pd€FCEϸ`U9Y Pœ.G \b@\t@Ǻp’pÇ`2€k0t6ǀîx@Y7])\vYJN7]0ljJd [O„z>¸A\bҷ©0EA7֌Vw־<րb\te#> -GI8@T7H\f-H}l\b ,nTB8 }T\f€#@(\tu `T}+\bG'YB`ʠaXÁ`ÔXJE@@DOD@83eBBν]?@C`΁a#@~HF` t—€Zrt`T;[b€J˜Uv}@JÀƠÔ7LҍLŒ€[@b0\t$'kt€€ހ");{let s=class{static setLocalization(t,e=!1){var t;e?s.languages={}:(t=s.loadLocalization(t),s.cultureName=t)}static get cultureName(){return De.isNullOrEmpty(s._cultureName)&&(s._cultureName=Ae.d.StiSettings.get("cultureName","English"),null==s.languages[s._cultureName]&&(s._cultureName="English")),s._cultureName}static set cultureName(t){s._cultureName!=t&&Ae.d.StiSettings.set("cultureName",t),s._cultureName=t}static addLocalizationFile(t,e=!1,r=""){if(e){var i=s.loadLocalizationFile(t),e=s[i]["@language"];return s.languages[i]={language:e,cultureName:i,filePath:t,jsonString:JSON.stringify(s[i])},e}return De.isNullOrEmpty(r)?s.languages[t]={language:r,cultureName:"",filePath:t}:s.languages[r]={language:r,cultureName:"",filePath:t},""}static setLocalizationFile(t,e=!1){if(e)s.languages={};else for(var r in s.languages){var i=s.languages[r];if(i.filePath==t){if(De.isNullOrEmpty(i.cultureName)){delete s.languages[r];break}return void(s.cultureName=i.cultureName)}}s.cultureName=s.addLocalizationFile(t,!0)}static getJsonStringLocalization(){let t=s.languages[s.cultureName];return null==s[t.language]&&(s.setLocalizationFile(t.filePath),delete s.languages[t.filePath],t=s.languages[s.cultureName]),null==t.jsonString&&(t.jsonString=JSON.stringify(s[s.cultureName])),t.jsonString}static loadLocalization(t,e=!1){try{if(null!=t&&t.trim().stimulsoft().startsWith("<?xml")){var r=at.toXml(t);return s.loadLocalizationXmlInternal(r)}}catch(t){Ae.b.StiError.showError(t.message,!1)}return""}static loadLocalizationFile(t){var t=Ae.bo.File.getFile(t);if(t)return this.loadLocalization(t);return""}static loadLocalizationXmlInternal(r){try{var i=r.firstChild.getAttribute("language");let t=s["English"];null==t.jsonString&&(t.jsonString=JSON.stringify(s["English"])),s[i]=JSON.parse(t.jsonString.replace(/"/gi,'"')),s[i]["@language"]=r.firstChild.getAttribute("language"),s[i]["@description"]=r.firstChild.getAttribute("description"),s[i]["@cultureName"]=r.firstChild.getAttribute("cultureName");for(let e=0;e<r.firstChild.childNodes.length;e++){var n=r.firstChild.childNodes[e].nodeName;null==s[i][n]&&(s[i][n]={});for(let t=0;t<r.firstChild.childNodes[e].childNodes.length;t++){var a=r.firstChild.childNodes[e].childNodes[t].nodeName;s[i][n][a]=r.firstChild.childNodes[e].childNodes[t].textContent}}return s.languages[i]={language:i,cultureName:s[i]["@cultureName"]},i}catch(t){return Ae.b.StiError.showError(t,!1),""}}static get(t,e){if(void 0!==s[s.cultureName]&&void 0!==s[s.cultureName][t]&&void 0!==s[s.cultureName][t][e]&&!De.isNullOrEmpty(s[s.cultureName][t][e]))return s[s.cultureName][t][e];return e}};s.languages={English:{language:"English",cultureName:"en",filePath:""}},s.English=pt,s._cultureName="",Ae.R.StiLocalization=s}{let r=class{static getTextJson(t){let e=new Ae.d.StiJson;return e.deserialize('{"Ident": "StiText",'+'"Name": "'+t.value.find(t=>"Name"==t.name).value+'",'+'"ClientRectangle": "'+t.value.find(t=>"ClientRectangle"==t.name).value+'",'+'"Text": { "Value": "'+this.message+'" },'+'"Brush": "solid:46,117,181", "HorAlignment": "Center", "VertAlignment": "Center", "Font": ";12;;", "Border": "All;255,0,0;2;;;;;solid:0,0,0",'+'"TextOptions": { "WordWrap": true }}'),e}static getTextXml(t,e=r.message){var t="<"+t.nodeName+' Ref="'+t.attributes.toList().firstOrDefault(t=>"Ref"==t.name).value+'" type="Text" isKey="true">'+"<Border>All;[255:0:0];2;Solid;False;4;[0:0:0]</Border>"+"<Brush>[46:117:181]</Brush>"+"<BackColor>[46:117:181]</BackColor>"+"<ClientRectangle>"+t.childNodes.firstOrDefault(t=>"ClientRectangle"==t.nodeName).textContent+"</ClientRectangle>"+"<Font>Arial,10</Font>"+"<HorAlignment>Center</HorAlignment>"+"<Name>"+t.nodeName+"</Name>"+"<Text>"+e+"</Text>"+"<TextOptions>,,,,WordWrap=True,A=0</TextOptions>"+"<VertAlignment>Center</VertAlignment>"+"</"+t.nodeName+'>"';return at.toXml(t).firstChild}get message(){return r.message}};r.message="The chart library was not loaded. Include stimulsoft.reports.chart.js to use charts.",Ae.d.StiChartNotSupportedException=r}let re=Ae.bn.ColorTranslator;Ae.S.StiColor=class{static get(t){var e,e,e,e,e,e,r;if(De.isNullOrWhiteSpace(t))return Fe.transparent;let i=t.replace(/ /gi,"");i=i.charAt(0).toLowerCase()+i.substr(1);var n=Fe[i];if(n instanceof Fe)return n;if((t=t.toLowerCase()).stimulsoft().startsWith("rgba(")){var r=t.substring(5,t.length-1).split(",");return Fe.fromArgb(255*(null===(e=r[3])||void 0===e?void 0:e.stimulsoft().toNumber()),null===(e=r[0])||void 0===e?void 0:e.stimulsoft().toNumber(),null===(e=r[1])||void 0===e?void 0:e.stimulsoft().toNumber(),null===(e=r[2])||void 0===e?void 0:e.stimulsoft().toNumber())}if(t.stimulsoft().startsWith("rgb(")){var r=t.substring(4,t.length-1).split(",");return Fe.fromArgb(255,null===(e=r[0])||void 0===e?void 0:e.stimulsoft().toNumber(),null===(e=r[1])||void 0===e?void 0:e.stimulsoft().toNumber(),null===(r=r[2])||void 0===r?void 0:r.stimulsoft().toNumber())}if(t.stimulsoft().startsWith("#"))return re.fromHtml(`0x${t.substr(1,t.length-1)}`);try{return re.fromHtml(t.stimulsoft().startsWith("0x")?t:`0x${t}`)}catch(t){}return Fe.transparent}static get2(...t){return t.stimulsoft().toList().select(this.get).stimulsoft().toArray()}};let ie=Ae.bn.Image;Ae.d.StiConvert=class{static changeType(e,t,r=!0){try{if((null==e||e==Ae.bk.DBNull)&&r){if(t===String)return"";if(t===Boolean)return!1;if(t===Ae.b.Guid)return Ae.b.Guid.empty;if(t===Ae.b.DateTime)return"";if(t===Ae.b.NullableDecimal||t===Ae.b.NullableDouble||t===Ae.b.NullableFloat||t===Ae.b.NullableInt||t===Ae.b.NullableInt16||t===Ae.b.NullableInt32||t===Ae.b.NullableInt64||t===Ae.b.NullableLong||t===Ae.b.NullableByte||t===Ae.b.NullableShort||t===Ae.b.NullableUInt||t===Ae.b.NullableUInt16||t===Ae.b.NullableUInt32||t===Ae.b.NullableUInt64||t===Ae.b.NullableULong||t===Ae.b.NullableSByte||t===Ae.b.NullableUShort)return null;return null}if(t===String){if(null==e)return null;if(ke.isArray(e))return Ae.b.Convert.fromBase64StringText(Ae.b.Convert.toBase64String(e));return e.toString()}if(t===Number||t===Ae.b.Decimal||t===Ae.b.Double||t===Ae.b.Float||t===Ae.b.NullableDecimal||t===Ae.b.NullableDouble||t===Ae.b.NullableFloat||t===Ae.b.Int||t===Ae.b.Int16||t===Ae.b.Int32||t===Ae.b.Int64||t===Ae.b.Long||t===Ae.b.Byte||t===Ae.b.Short||t===Ae.b.UInt||t===Ae.b.UInt16||t===Ae.b.UInt32||t===Ae.b.UInt64||t===Ae.b.ULong||t===Ae.b.SByte||t===Ae.b.UShort||t===Ae.b.NullableInt||t===Ae.b.NullableInt16||t===Ae.b.NullableInt32||t===Ae.b.NullableInt64||t===Ae.b.NullableLong||t===Ae.b.NullableByte||t===Ae.b.NullableShort||t===Ae.b.NullableUInt||t===Ae.b.NullableUInt16||t===Ae.b.NullableUInt32||t===Ae.b.NullableUInt64||t===Ae.b.NullableULong||t===Ae.b.NullableSByte||t===Ae.b.NullableUShort){let t=null==e?"":e.toString();e=t.trim();var i=(e=0==t.length?"0":e).stimulsoft().toNumber();if(isNaN(i))throw new Error("NaN");return i}if(t===Boolean)return null==e?void 0:e.stimulsoft().toBoolean();if(t===Ae.b.DateTime){if(e instanceof Ae.b.DateTime)return e;if("string"==typeof e){var n={ref:null};if(Ae.d.StringExt.tryParseDateTime(e,n))return n.ref;return null}}if(t===Ae.b.TimeSpan){if(e instanceof Ae.b.TimeSpan)return e;if("string"==typeof e){var a=Ae.b.TimeSpan.fromString(e);if(a)return a;return null}}if(t==ie)try{let t=new ie;return t.base64=e,t}catch(t){return e}return e}catch(t){return Ae.b.StiError.showError(t,!1),e}}};let ne=Ae.R.StiLocalization;Ae.d.StiDashboardNotSupportedException=class{get message(){return ne.get("Dashboard","CannotLoadDashboard")}},Ae.d.StiExportNotSupportedException=class{get message(){return"The export library was not loaded. Include stimulsoft.reports.export.js to use export."}};let ae=Ae.bn.FontFamily,se=Ae.bn.FontStyle;Ae.d.StiFontCollection=class{static addOpentypeFont(t,e=null,r=null,i=null,n=se.Regular,a=!0){Ae.bn.Graphics.addOpentypeFont(t,e,r,i,n,a)}static addOpentypeFontFile(t,e=null,r=se.Regular,i=!0){Ae.bn.Graphics.addOpentypeFontFile(t,e,r,i)}static addOpentypeFontFileAsync(t,e,r=null,i=se.Regular,n=!0){Ae.bn.Graphics.addOpentypeFontFileAsync(t,e,r,i,n)}static setOpentypeFontsFolder(r){if(1==Ae.b.NodeJs.isNodeJs()){let t=Ms("fs"),e=Ms("path");var i,n;for(n of t.readdirSync(r))try{this.addOpentypeFontFile(e.join(r,n),null,se.Regular,!1)}catch(t){}}}static getFontFamilies(){let t=ae.families.stimulsoft().toList();return t.orderBy(t=>t.name)}static getBinFont(e,r=se.Regular){if(Ae.bn.Graphics.opentypeFonts.containsKey(e)){let t=Ae.bn.Graphics.opentypeFonts.get(e);return t.get(r)}return null}static getBinFonts(){return Ae.bn.Graphics.opentypeFonts.keys}},Ae.d.StiGuidUtils=class{static newGuid(){return Ae.b.Guid.newGuidString()}},Ae.d.StiJsonChecker=class{static isValidJson(t){if(!((t=t.trim()).stimulsoft().startsWith("{")&&t.stimulsoft().endsWith("}")||t.stimulsoft().startsWith("[")&&t.stimulsoft().endsWith("]")))return!1;try{return JSON.parse(t),!0}catch(t){return!1}}},Ae.d.StiKeyHelper=class{static generateKey(){return Ae.d.StiGuidUtils.newGuid()}static isKey(t){return!this.isEmptyKey(t)}static isCorrectKey(t){if(this.isEmptyKey(t))return!0;if(32!=t.length)return!1;return!0}static isEmptyKey(t){return De.isNullOrWhiteSpace(t)}static isEmptyKey2(t,e){return this.isEmptyKey(t)&&this.isEmptyKey(e)}static selectKey(t,e){return this.isEmptyKey(t)?e:t}static isEqualKeys(t,e){if(this.isEmptyKey(t)&&this.isEmptyKey(e))return!0;return t=t.trim().toLowerCase(),e=e.trim().toLowerCase(),0==t.stimulsoft().compareTo(e)}static getOrGeneratedKey(t){return this.isEmptyKey(t)?this.generateKey():t}static getOrGeneratedKey2(t,e){return this.getOrGeneratedKey(this.selectKey(t,e))}},Ae.d.StiKeyObject=class{constructor(){this.key=Ae.d.StiKeyHelper.generateKey()}};{let l=class{constructor(t){this.positions=new Ee,this.baseText=t,this.text=t,this.positionInText=0}get text(){return this._text}set text(t){this._text=t,this.baseText=t.toString()}savePosToken(){this.positions.add(this.positionInText)}getPosition(t){let e=new Ae.d.StiPosition(1,1);for(let t=0;t<this.positionInText;t++)e.column++,"\n"==this.text[t]&&(e.line++,e.column=1);return e}skip(){while(this.positionInText<this.text.length&&(Be.isWhitespace(this.text[this.positionInText])||Be.isControl(this.text[this.positionInText])))this.positionInText++}waitLparen2(){var t;return this.getToken().type==Ae.d.StiTokenType.LPar}waitComma2(){var t;return this.getToken().type==Ae.d.StiTokenType.Comma}waitAssign2(){var t;return this.getToken().type==Ae.d.StiTokenType.Assign}waitRparen2(){var t;return this.getToken().type==Ae.d.StiTokenType.RPar}waitLbrace2(){var t;return this.getToken().type==Ae.d.StiTokenType.LBrace}waitSemicolon2(){var t;return this.getToken().type==Ae.d.StiTokenType.SemiColon}waitRbrace2(){var t;return this.getToken().type==Ae.d.StiTokenType.RBrace}scanNumber(){var e=this.positionInText;let t=!1;while(this.positionInText!=this.text.length&&Be.isDigit(this.text[this.positionInText]))this.positionInText++;if(this.positionInText!=this.text.length&&"."==this.text[this.positionInText]&&this.positionInText+1!=this.text.length&&Be.isDigit(this.text[this.positionInText+1])){this.positionInText++;while(this.positionInText!=this.text.length&&Be.isDigit(this.text[this.positionInText]))this.positionInText++;t=!0}let r=this.baseText.substring(e,this.positionInText-e);if(t)return new Ae.d.StiToken(Ae.d.StiTokenType.Value,e,this.positionInText-e,r.stimulsoft().toNumber());{let t=r;try{if(19<t.length)return new Ae.d.StiToken(Ae.d.StiTokenType.Value,e,this.positionInText-e,t);var i=t.stimulsoft().toNumber();return new Ae.d.StiToken(Ae.d.StiTokenType.Value,e,this.positionInText-e,i)}catch(t){throw new Error("")}}}scanIdent(){var t=this.positionInText;let e="";while(this.positionInText!=this.text.length&&(Be.isLetterOrDigit(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]))e+=this.text[this.positionInText++];return new Ae.d.StiToken(Ae.d.StiTokenType.Ident,t,this.positionInText-t,e)}scanString(){var t=this.positionInText;this.positionInText++;let e="";while(this.positionInText!=this.text.length&&'"'!=this.text[this.positionInText])e+=this.text[this.positionInText++];if(this.positionInText==this.text.length)return new Ae.d.StiToken(Ae.d.StiTokenType.Value,t,this.positionInText-t,e);return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Value,t,this.positionInText-t,e)}scanChar(){if(++this.positionInText==this.text.length)return new Ae.d.StiToken(Ae.d.StiTokenType.Value,this.positionInText-3,3," ");var t=this.text[this.positionInText++];if(this.positionInText==this.text.length||"'"!=this.text[this.positionInText])return new Ae.d.StiToken(Ae.d.StiTokenType.Value,this.positionInText-3,3,t);return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Value,this.positionInText-3,3,t)}ungetToken(){this.positionInText=this.positions[this.positions.length-1],this.positions.removeAt(this.positions.length-1)}getToken(){if(this.skip(),this.text.length<=this.positionInText)return new Ae.d.StiToken(Ae.d.StiTokenType.EOF,this.positionInText,0);if(Be.isLetter(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]){var t=this.positionInText;this.savePosToken();var e=this.scanIdent();switch(e.data){case"true":return new Ae.d.StiToken(Ae.d.StiTokenType.Value,t,4,!0);case"false":return new Ae.d.StiToken(Ae.d.StiTokenType.Value,t,5,!1)}return e}if(Be.isDigit(this.text[this.positionInText]))return this.savePosToken(),this.scanNumber();if('"'==this.text[this.positionInText])return this.savePosToken(),this.scanString();if("'"==this.text[this.positionInText])return this.savePosToken(),this.scanChar();switch(this.text[this.positionInText]){case"€":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Euro,this.positionInText-1,1);case"®":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Copyright,this.positionInText-1,1);case"(":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.LPar,this.positionInText-1,1);case")":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.RPar,this.positionInText-1,1);case"{":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.LBrace,this.positionInText-1,1);case"}":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.RBrace,this.positionInText-1,1);case",":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Comma,this.positionInText-1,1);case".":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Dot,this.positionInText-1,1);case";":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.SemiColon,this.positionInText-1,1);case":":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Colon,this.positionInText-1,1);case"!":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Minus,this.positionInText-1,1);case"*":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Mult,this.positionInText-1,1);case"^":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Not,this.positionInText-1,1);case"/":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Div,this.positionInText-1,1);case"\\":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Splash,this.positionInText-1,1);case"%":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Percent,this.positionInText-1,1);case"#":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Sharp,this.positionInText-1,1);case"$":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Dollar,this.positionInText-1,1);case"@":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Ampersand,this.positionInText-1,1);case"[":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.LBracket,this.positionInText-1,1);case"]":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.RBracket,this.positionInText-1,1);case"?":return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Question,this.positionInText-1,1);case"|":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"|"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.DoubleOr,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Or,this.positionInText-1,1);case"&":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"&"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.DoubleAnd,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.And,this.positionInText-1,1);case"+":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"+"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.DoublePlus,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Plus,this.positionInText-1,1);case"-":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"-"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.DoubleMinus,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Minus,this.positionInText-1,1);case"=":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Equal,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Assign,this.positionInText-1,1);case"<":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.LeftEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&"<"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Shl,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Left,this.positionInText-1,1);case">":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.RightEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&">"==this.text[this.positionInText])return this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Shr,this.positionInText-2,2);return new Ae.d.StiToken(Ae.d.StiTokenType.Right,this.positionInText-1,1);default:return this.savePosToken(),this.positionInText++,new Ae.d.StiToken(Ae.d.StiTokenType.Unknown,this.positionInText-1,1)}}reset(){this.positions.clear(),this.positionInText=0}static replaceWithPrefix(t,e,r,i){let n=t,a=new l(t),s=a.getToken();if(s.type==Ae.d.StiTokenType.EOF)return t;var o=null;do{(o=a.getToken()).type==Ae.d.StiTokenType.Ident&&s.type==Ae.d.StiTokenType.Ident&&s.data==e&&o.data==r&&(n=n.stimulsoft().replaceAll(r,i,o.index,o.length),a.positionInText+=i.length),s=o}while(o.type!=Ae.d.StiTokenType.EOF);return n}replaceWithPrefix(t,e,r){this.reset();let i=this.getToken();if(i.type==Ae.d.StiTokenType.EOF)return;var n=null;do{(n=this.getToken()).type==Ae.d.StiTokenType.Ident&&i.type==Ae.d.StiTokenType.Ident&&i.data==t&&n.data==e&&(this.text=this.text.stimulsoft().replaceAll(e,r,n.index,n.length),this.positionInText+=r.length),i=n}while(n.type!=Ae.d.StiTokenType.EOF);this.baseText=this.text}replaceWithNotEqualPrefix(t,e,r){this.reset();let i=this.getToken();if(i.type==Ae.d.StiTokenType.EOF)return;var n=null;do{(n=this.getToken()).type==Ae.d.StiTokenType.Ident&&i.type!=t&&n.data==e&&(this.text=this.text.stimulsoft().replaceAll(e,r,n.index,n.length),this.positionInText+=r.length),i=n}while(n.type!=Ae.d.StiTokenType.EOF);this.baseText=this.text}static identExists(t,e,r){let i=new l(t);while(1){let t=i.getToken();if(null==t||t.type==Ae.d.StiTokenType.EOF)return!1;if(t.type==Ae.d.StiTokenType.Ident&&null!=t.data){if(r&&t.data==e)return!0;if(!r&&t.data.toLowerCase()==e.toLowerCase())return!0}}}static getAllTokens(t){let e=new Ee,r=new l(t);while(1){var i=r.getToken();if(null==i||i.type==Ae.d.StiTokenType.EOF)return e;e.add(i)}}};Ae.d.StiLexer=l}Ae.d.StiMD5Helper=class{static MD5(t,e=!0){function o(t,e){return t<<e|t>>>32-e}function l(t,e){var r,i,n,a,e,n=2147483648&t,a=2147483648&e,r=1073741824&t,i=1073741824&e,e=(1073741823&t)+(1073741823&e);if(r&i)return 2147483648^e^n^a;return r|i?1073741824&e?3221225472^e^n^a:1073741824^e^n^a:e^n^a}function u(t,e,r){return t&e|~t&r}function h(t,e,r){return t&r|e&~r}function r(t,e,r){return t^e^r}function i(t,e,r){return e^(t|~r)}function n(t,e,r,i,n,a,s){return t=l(t,l(l(u(e,r,i),n),s)),l(o(t,a),e)}function a(t,e,r,i,n,a,s){return t=l(t,l(l(h(e,r,i),n),s)),l(o(t,a),e)}function s(t,e,r,i,n,a,s){return t=l(t,l(l(e^r^i,n),s)),l(o(t,a),e)}function c(t,e,r,i,n,a,s){return t=l(t,l(l(r^(e|~i),n),s)),l(o(t,a),e)}function d(t){let e;var r=t.length,i=r+8,n,i=16*((i-i%64)/64+1);let a=Array(i-1),s=0,o=0;while(o<r)e=(o-o%4)/4,s=o%4*8,a[e]=a[e]|t.charCodeAt(o)<<s,o++;return e=(o-o%4)/4,s=o%4*8,a[e]=a[e]|128<<s,a[i-2]=r<<3,a[i-1]=r>>>29,a}function m(t,e,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255}function p(e){e=e.replace(/\r\n/g,"\n");let r="";for(let t=0;t<e.length;t++){var i=e.charCodeAt(t);i<128?r+=String.fromCharCode(i):(127<i&&i<2048?r+=String.fromCharCode(i>>6|192):(r+=String.fromCharCode(i>>12|224),r+=String.fromCharCode(i>>6&63|128)),r+=String.fromCharCode(63&i|128))}return r}var g=[];let f,S,b,y,v,w,C,T,P;var I=7,A=12,x=17,D=22,B=5,E=9,k=14,N=20,F=4,R=11,L=16,M=23,O=6,H=10,_=15,V=21,g=d(t=e?p(t):t);for(w=1732584193,C=4023233417,T=2562383102,P=271733878,f=0;f<g.length;f+=16)S=w,b=C,y=T,v=P,w=n(w,C,T,P,g[f+0],I,3614090360),P=n(P,w,C,T,g[f+1],A,3905402710),T=n(T,P,w,C,g[f+2],x,606105819),C=n(C,T,P,w,g[f+3],D,3250441966),w=n(w,C,T,P,g[f+4],I,4118548399),P=n(P,w,C,T,g[f+5],A,1200080426),T=n(T,P,w,C,g[f+6],x,2821735955),C=n(C,T,P,w,g[f+7],D,4249261313),w=n(w,C,T,P,g[f+8],I,1770035416),P=n(P,w,C,T,g[f+9],A,2336552879),T=n(T,P,w,C,g[f+10],x,4294925233),C=n(C,T,P,w,g[f+11],D,2304563134),w=n(w,C,T,P,g[f+12],I,1804603682),P=n(P,w,C,T,g[f+13],A,4254626195),T=n(T,P,w,C,g[f+14],x,2792965006),C=n(C,T,P,w,g[f+15],D,1236535329),w=a(w,C,T,P,g[f+1],B,4129170786),P=a(P,w,C,T,g[f+6],E,3225465664),T=a(T,P,w,C,g[f+11],k,643717713),C=a(C,T,P,w,g[f+0],N,3921069994),w=a(w,C,T,P,g[f+5],B,3593408605),P=a(P,w,C,T,g[f+10],E,38016083),T=a(T,P,w,C,g[f+15],k,3634488961),C=a(C,T,P,w,g[f+4],N,3889429448),w=a(w,C,T,P,g[f+9],B,568446438),P=a(P,w,C,T,g[f+14],E,3275163606),T=a(T,P,w,C,g[f+3],k,4107603335),C=a(C,T,P,w,g[f+8],N,1163531501),w=a(w,C,T,P,g[f+13],B,2850285829),P=a(P,w,C,T,g[f+2],E,4243563512),T=a(T,P,w,C,g[f+7],k,1735328473),C=a(C,T,P,w,g[f+12],N,2368359562),w=s(w,C,T,P,g[f+5],F,4294588738),P=s(P,w,C,T,g[f+8],R,2272392833),T=s(T,P,w,C,g[f+11],L,1839030562),C=s(C,T,P,w,g[f+14],M,4259657740),w=s(w,C,T,P,g[f+1],F,2763975236),P=s(P,w,C,T,g[f+4],R,1272893353),T=s(T,P,w,C,g[f+7],L,4139469664),C=s(C,T,P,w,g[f+10],M,3200236656),w=s(w,C,T,P,g[f+13],F,681279174),P=s(P,w,C,T,g[f+0],R,3936430074),T=s(T,P,w,C,g[f+3],L,3572445317),C=s(C,T,P,w,g[f+6],M,76029189),w=s(w,C,T,P,g[f+9],F,3654602809),P=s(P,w,C,T,g[f+12],R,3873151461),T=s(T,P,w,C,g[f+15],L,530742520),C=s(C,T,P,w,g[f+2],M,3299628645),w=c(w,C,T,P,g[f+0],O,4096336452),P=c(P,w,C,T,g[f+7],H,1126891415),T=c(T,P,w,C,g[f+14],_,2878612391),C=c(C,T,P,w,g[f+5],V,4237533241),w=c(w,C,T,P,g[f+12],O,1700485571),P=c(P,w,C,T,g[f+3],H,2399980690),T=c(T,P,w,C,g[f+10],_,4293915773),C=c(C,T,P,w,g[f+1],V,2240044497),w=c(w,C,T,P,g[f+8],O,1873313359),P=c(P,w,C,T,g[f+15],H,4264355552),T=c(T,P,w,C,g[f+6],_,2734768916),C=c(C,T,P,w,g[f+13],V,1309151649),w=c(w,C,T,P,g[f+4],O,4149444226),P=c(P,w,C,T,g[f+11],H,3174756917),T=c(T,P,w,C,g[f+2],_,718787259),C=c(C,T,P,w,g[f+9],V,3951481745),w=l(w,S),C=l(C,b),T=l(T,y),P=l(P,v);var t=[];return m(w,t,0),m(C,t,4),m(T,t,8),m(P,t,12),t}},Ae.d.StiObjectConverter=class{static convertToNumber(t){try{if(null==t)return 0;if("string"==typeof t){if(0==t.length)return 0;return t.toString().stimulsoft().toNumber()}return t.stimulsoft().toNumber()}catch(t){return Ae.b.StiError.showError(t,!1),0}}},Ae.d.StiPosition=class{constructor(t,e){this.line=t,this.column=e}};{let e=class{constructor(){this.items=null,this.valueBoolFalse=!1,this.valueBoolTrue=!0}implements(){return[Jt]}clone(){let t=new e;return null!=this.items&&(t.items=this.items.clone()),t}setNumber(t,e,r){if(e==r){if(null==this.items)return;null!=this.items.get(t)&&this.items.remove(t)}else null==this.items&&(this.items=new Dt),this.items.set(t,e)}getNumber(t,e){if(null==this.items)return e;var t=this.items.get(t);return null==t?e:t}setBool(t,e,r){if(e==r){if(null==this.items)return;null!=this.items.get(t)&&this.items.remove(t)}else null==this.items&&(this.items=new Dt),e?this.items.set(t,this.valueBoolTrue):this.items.set(t,this.valueBoolFalse)}getBool(t,e){if(null==this.items)return e;var t=this.items.get(t);if(t==this.valueBoolFalse)return!1;if(t==this.valueBoolTrue)return!0;return e}set(t,e,r){if(null==this.items&&(this.items=new Dt),null==e||e==r)return void(null!=this.items.get(t)&&this.items.remove(t));this.items.set(t,e)}get(t,e){if(null==this.items)return e;var t=this.items.get(t);if(null==t)return e;return t}isPresent(t){if(null==this.items)return!1;return this.items.containsKey(t)}};Ae.d.StiRepositoryItems=e}var yt=class{static xx(t){return t}static yy(t){return t}};yt.factor=1,Ae.d.StiScale=yt,Ae.d.StiSettings=class{static get(i,t){let n=t;try{let t=" "+document.cookie;var a=" "+i+"=";let e=0,r=0;0<t.length&&(e=t.indexOf(a),-1!=e&&(e+=a.length,r=t.indexOf(";",e),-1==r&&(r=t.length),n=unescape(t.substring(e,r))))}catch(t){}return n}static set(e,r){try{let t=new Date;t.setTime(t.getTime()+365*24*3600*1e3),document.cookie=e+"="+escape(r)+"; expires="+t.toString()}catch(t){}}},Ae.d.StiToken=class{constructor(t,e=0,r=0,i){this.data=i,this.type=t,this.index=e,this.length=r}toString(){switch(this.type){case Ae.d.StiTokenType.Value:return`${this.type}=${this.data}`;case Ae.d.StiTokenType.Ident:return`${this.type}(${this.data})`;default:return this.type.toString()}}};var wt=class{static getCorrectTypeName(t){var e;return!t.stimulsoft().startsWith("System.Nullable`1")||-1!=(e=t.indexOf(","))&&(t=t.substring(0,e).stimulsoft().replaceAll("[[","[")+"]"),t="System.Drawing.Bitmap"==t?"System.Drawing.Image":t}static getStiType(t){var e=this.getCorrectTypeName(t),r;for(r of Ae.b.TypeHelper.getTypes())if(r.stimulsoft().getNetTypeName()==e)return r;return null}static addTypeFF(t,e,r){if(null==t||null==e)return;let i=this.findTypes.get(t);null==i&&(i=new Dt,this.findTypes.set(t,i)),i.containsKey(e)||i.set(e,r)}static getTypeFF(t,e){if(null==t)return null;let r=this.findTypes.get(t);if(null==r)return null;return r.get(e)}static findType(t,e){if(null==t)return!1;if("object"==typeof e)return!0;var r=this.getTypeFF(t,e);if(null!=r)return r;while("object"!=typeof t){if(t==e)return this.addTypeFF(t,e,!0),!0;if(null==t.__proto__)return this.addTypeFF(t,e,!1),!1;t=t.__proto__}return this.addTypeFF(t,e,!1),!1}};wt.findTypes=new Dt,Ae.d.StiTypeFinder=wt;{let i=class{constructor(t){this._type=t}get type(){return this._type}toString(){return i.toString(this._type)}static toString(t){if(null==t)return"null";if(t===Boolean)return"bool";if(t===Ae.b.Byte)return"byte";if(t===Ae.b.ByteArray)return"byte[]";if(t===Ae.b.Char)return"char";if(t===Ae.b.DateTime)return"datetime";if(t===Ae.b.Decimal)return"decimal";if(t===Ae.b.Double)return"double";if(t===Ae.b.Guid)return"guid";if(t===Ae.b.Short)return"short";if(t===Ae.b.Int)return"int";if(t===Ae.b.Long)return"long";if(t===Ae.b.SByte)return"sbyte";if(t===Ae.b.Single)return"float";if(t===String)return"string";if(t===Ae.b.TimeSpan)return"timespan";if(t===Ae.b.UShort)return"ushort";if(t===Ae.b.UInt)return"uint";if(t===Ae.b.ULong)return"ulong";if(t===Ae.bn.Image)return"image";if(t===Ae.b.NullableBoolean)return"bool (Nullable)";if(t===Ae.b.NullableByte)return"byte (Nullable)";if(t===Ae.b.NullableChar)return"char (Nullable)";if(t===Ae.b.NullableDateTime)return"datetime (Nullable)";if(t===Ae.b.NullableDecimal)return"decimal (Nullable)";if(t===Ae.b.NullableDouble)return"double (Nullable)";if(t===Ae.b.NullableGuid)return"guid (Nullable)";if(t===Ae.b.NullableShort)return"short (Nullable)";if(t===Ae.b.NullableInt)return"int (Nullable)";if(t===Ae.b.NullableLong)return"long (Nullable)";if(t===Ae.b.NullableSByte)return"sbyte (Nullable)";if(t===Ae.b.NullableSingle)return"float (Nullable)";if(t===Ae.b.NullableTimeSpan)return"timespan (Nullable)";if(t===Ae.b.NullableUShort)return"ushort (Nullable)";if(t===Ae.b.NullableUInt)return"uint (Nullable)";if(t===Ae.b.NullableULong)return"ulong (Nullable)";if(t===Object)return"object";return t.stimulsoft().getType().stimulsoft().getNetTypeName()}static get simpleTypes(){return null==i._simpleTypes&&(i._simpleTypes.push(String),i._simpleTypes.push(Ae.b.Single),i._simpleTypes.push(Ae.b.Double),i._simpleTypes.push(Ae.b.Decimal),i._simpleTypes.push(Ae.b.DateTime),i._simpleTypes.push(Ae.b.TimeSpan),i._simpleTypes.push(Ae.b.SByte),i._simpleTypes.push(Ae.b.Byte),i._simpleTypes.push(Ae.b.ByteArray),i._simpleTypes.push(Ae.b.Short),i._simpleTypes.push(Ae.b.UShort),i._simpleTypes.push(Ae.b.Int),i._simpleTypes.push(Ae.b.UInt),i._simpleTypes.push(Ae.b.Long),i._simpleTypes.push(Ae.b.ULong),i._simpleTypes.push(Boolean),i._simpleTypes.push(Ae.b.Char),i._simpleTypes.push(Ae.b.Guid),i._simpleTypes.push(Object),i._simpleTypes.push(Ae.bn.Image),i._simpleTypes.push(Ae.b.NullableSingle),i._simpleTypes.push(Ae.b.NullableDouble),i._simpleTypes.push(Ae.b.NullableDecimal),i._simpleTypes.push(Ae.b.NullableDateTime),i._simpleTypes.push(Ae.b.NullableTimeSpan),i._simpleTypes.push(Ae.b.NullableSByte),i._simpleTypes.push(Ae.b.NullableByte),i._simpleTypes.push(Ae.b.NullableShort),i._simpleTypes.push(Ae.b.NullableUShort),i._simpleTypes.push(Ae.b.NullableInt),i._simpleTypes.push(Ae.b.NullableUInt),i._simpleTypes.push(Ae.b.NullableLong),i._simpleTypes.push(Ae.b.NullableULong),i._simpleTypes.push(Ae.b.NullableBoolean),i._simpleTypes.push(Ae.b.NullableChar),i._simpleTypes.push(Ae.b.NullableGuid)),i._simpleTypes}static get simpleBaseTypes(){return null==i._simpleBaseTypes&&(i._simpleBaseTypes.push(String),i._simpleBaseTypes.push(Ae.b.Single),i._simpleBaseTypes.push(Ae.b.Double),i._simpleBaseTypes.push(Ae.b.Decimal),i._simpleBaseTypes.push(Ae.b.DateTime),i._simpleBaseTypes.push(Ae.b.TimeSpan),i._simpleBaseTypes.push(Ae.b.SByte),i._simpleBaseTypes.push(Ae.b.Byte),i._simpleBaseTypes.push(Ae.b.Short),i._simpleBaseTypes.push(Ae.b.UShort),i._simpleBaseTypes.push(Ae.b.Int),i._simpleBaseTypes.push(Ae.b.UInt),i._simpleBaseTypes.push(Ae.b.Long),i._simpleBaseTypes.push(Ae.b.ULong),i._simpleBaseTypes.push(Boolean),i._simpleBaseTypes.push(Ae.b.Char),i._simpleBaseTypes.push(Ae.b.Guid),i._simpleBaseTypes.push(Object),i._simpleBaseTypes.push(Ae.bn.Image)),i._simpleBaseTypes}static getTypeWrappers(){let t=[],e=0;for(var r of i.simpleTypes)t[e++]=new i(r);return t}};Ae.d.StiTypeWrapper=i}Ae.d.StiUrl=class{static combine(r){let i="";if(null!=r&&0<r.length){var n=["\\","/"];null==r[0]&&(r[0]=""),i=r[0].stimulsoft().trimEnd(n[0]),i=i.stimulsoft().trimEnd(n[1]);for(let e=1;e<r.length;e++){let t="";null!=r[e]&&(t=r[e].stimulsoft().trimStart(n[0]),t=t.stimulsoft().trimStart(n[1])),i=i.stimulsoft().trimEnd(n[0]),i=i.stimulsoft().trimEnd(n[1]),i=De.format("{0}/{1}",i,t)}}return i}};var u=class{static platform(){return`${navigator.appName} * ${navigator.userAgent}`}};u.version="2022.1.1",u.created=Ae.b.DateTime.fromString(u.creationDate="2021.12.07"),u.versionInfo=`Version= ${u.version}.0, Culture = neutral`,Y.StiVersion=u;let oe=Ae.b.StiNumber;Ae.d.StringExt=class{static tryParseDateTime(t,e){var r=z.now;if(e.ref=r,De.isNullOrWhiteSpace(t))return!1;if(this.tryParseJsonDateTime(t,e))return!0;if(this.tryParseUsingDate(t,e))return!0;var i="en-US"==Ae.bh.CultureInfo.currentCulture.name?Ae.X.DateTimeFormat.USA_DATE:Ae.X.DateTimeFormat.UK_DATE;if(Ae.X.DateTimeRoutines.tryParseDateTime(t,i,e))return!0;if(null!=(r=Ae.b.DateTime.fromString(t,!1)))return e.ref=r,!0;return!1}static tryParseUsingDate(t,e){var r=Ae.b.DateTime.now;e.ref=r;try{var i=z.fromString(t,!1);return null!=i&&(e.ref=i,!0)}catch(t){return!1}}static tryParseJsonDateTime(t,e){var r=Ae.b.DateTime.now;e.ref=r;try{if(De.isNullOrWhiteSpace(t))return!1;if(!t.stimulsoft().replaceAll(" ","").stimulsoft().contains("Date("))return!1;if(this.tryParseJsonDateTimeInNewDate(t,e))return!0;return e.ref=z.fromNetJsonString(t),!0}catch(t){return!1}}static tryParseJsonDateTimeInNewDate(e,r){var t=Ae.b.DateTime.now;r.ref=t;try{let t=e.stimulsoft().replaceAll(" ","").toLowerCase();if(!t.stimulsoft().startsWith("newdate(",!0))return!1;var i=t.indexOf("(")+1;if(-1==i)return!1;var n=t.indexOf(")",i);if(-1==n)return!1;t=t.substr(i,n-i);var a=oe.tryParse(t);if(!a.successfully)return!1;return r.ref=new z(1970,1,1,0,0,0,0).addTicks(a.result),!0}catch(t){return!1}}};var m=class{},le,ue,he,ce,de,D,v,b,x,P,me,pe,ge,fe,Se,be,ye,ve,we,Ce,Te,Pe,Ie,Re,Le,Me,Oe,He,_e,Ve,pt,dt,ht,ot,rt,tt,Z,K,ft,V,H,M,L,q,W,F,k,l,e,B;m.identXml='<xml xmlns="https://developers.google.com/blockly/xml">',Ae.T.StiBlocksConst=m;let Ge=Ae.d.StiActivator;Ae.T.StiBlocksCreator=class{static getBlockParse(){try{var t;return Ge.createObject2("Stimulsoft.Blockly.StiBlocksParser")}catch(t){return null}return null}};{var p=class{constructor(t,e,r,i=!1){this.SelectedColor=Fe.white,this.Name=t,this.Size=e,this.Color=r,this.IsBold=i}getGdiFont(t=1,e=null,r=null){if(null!=r)return new Ae.bn.Font(r.fontFamily.name,null!=e?e*t:r.size*t,r.style);var r=this.IsBold?se.Bold:se.Regular;return new Ae.bn.Font(this.Name,null!=e?e*t:this.Size*t,r)}getCachedGdiFont(){return null==this.cachedFont&&(this.cachedFont=this.getGdiFont()),this.cachedFont}};let r=class{};r.TitleFont=new p("Arial",12,Fe.gray),r.ForegroundColor=Fe.dimGray,r.BackgroundColor=Fe.white,r.TreeView={ItemHeight:32},r.ComboBox={ItemHeight:32},r.ListBox={ItemHeight:32,CheckBoxWidth:20},r.Table={Font:new p("Arial",10,Fe.black),BorderColor:Fe.gainsboro,Height:28,getHeight:(t,e=1)=>Math.max(r.Table.Height*e,t.getHeight()*e*.8),Header:{BackgroundColor:Fe.fromArgb(255,240,240,240)}},Ae.U.StiElementConsts=r}(P=le=Ae.d.StiDataFormatType||(Ae.d.StiDataFormatType={}))[P["Xml"]=0]="Xml",P[P["Json"]=1]="Json",(x=ue=Ae.d.StiRetrieveColumnsMode||(Ae.d.StiRetrieveColumnsMode={}))[x["KeyInfo"]=0]="KeyInfo",x[x["SchemaOnly"]=1]="SchemaOnly",x[x["FillSchema"]=2]="FillSchema",(b=he=Ae.d.StiConnectionIdent||(Ae.d.StiConnectionIdent={}))[b["Db2DataSource"]=1]="Db2DataSource",b[b["InformixDataSource"]=2]="InformixDataSource",b[b["MsAccessDataSource"]=3]="MsAccessDataSource",b[b["MsSqlDataSource"]=4]="MsSqlDataSource",b[b["MySqlDataSource"]=5]="MySqlDataSource",b[b["OdbcDataSource"]=6]="OdbcDataSource",b[b["OleDbDataSource"]=7]="OleDbDataSource",b[b["FirebirdDataSource"]=8]="FirebirdDataSource",b[b["PostgreSqlDataSource"]=9]="PostgreSqlDataSource",b[b["OracleDataSource"]=10]="OracleDataSource",b[b["SqlCeDataSource"]=11]="SqlCeDataSource",b[b["SqLiteDataSource"]=12]="SqLiteDataSource",b[b["SybaseDataSource"]=13]="SybaseDataSource",b[b["TeradataDataSource"]=14]="TeradataDataSource",b[b["VistaDbDataSource"]=15]="VistaDbDataSource",b[b["UniversalDevartDataSource"]=16]="UniversalDevartDataSource",b[b["ODataDataSource"]=17]="ODataDataSource",b[b["CsvDataSource"]=18]="CsvDataSource",b[b["DBaseDataSource"]=19]="DBaseDataSource",b[b["DynamicsNavDataSource"]=20]="DynamicsNavDataSource",b[b["ExcelDataSource"]=21]="ExcelDataSource",b[b["JsonDataSource"]=22]="JsonDataSource",b[b["XmlDataSource"]=23]="XmlDataSource",b[b["DropboxCloudStorage"]=24]="DropboxCloudStorage",b[b["GoogleDriveCloudStorage"]=25]="GoogleDriveCloudStorage",b[b["OneDriveCloudStorage"]=26]="OneDriveCloudStorage",b[b["SharePointCloudStorage"]=27]="SharePointCloudStorage",b[b["DataWorldDataSource"]=28]="DataWorldDataSource",b[b["QuickBooksDataSource"]=29]="QuickBooksDataSource",b[b["Unspecified"]=30]="Unspecified",(v=ce=Ae.d.StiConnectionOrder||(Ae.d.StiConnectionOrder={}))[v["MsSqlDataSource"]=10]="MsSqlDataSource",v[v["MySqlDataSource"]=20]="MySqlDataSource",v[v["OdbcDataSource"]=30]="OdbcDataSource",v[v["OleDbDataSource"]=40]="OleDbDataSource",v[v["OracleDataSource"]=50]="OracleDataSource",v[v["MsAccessDataSource"]=60]="MsAccessDataSource",v[v["PostgreSqlDataSource"]=70]="PostgreSqlDataSource",v[v["FirebirdDataSource"]=80]="FirebirdDataSource",v[v["SqlCeDataSource"]=90]="SqlCeDataSource",v[v["SqLiteDataSource"]=100]="SqLiteDataSource",v[v["Db2DataSource"]=110]="Db2DataSource",v[v["InformixDataSource"]=120]="InformixDataSource",v[v["SybaseDataSource"]=130]="SybaseDataSource",v[v["TeradataDataSource"]=140]="TeradataDataSource",v[v["VistaDbDataSource"]=150]="VistaDbDataSource",v[v["UniversalDevartDataSource"]=160]="UniversalDevartDataSource",v[v["ODataDataSource"]=170]="ODataDataSource",v[v["ExcelDataSource"]=180]="ExcelDataSource",v[v["JsonDataSource"]=190]="JsonDataSource",v[v["XmlDataSource"]=200]="XmlDataSource",v[v["CsvDataSource"]=210]="CsvDataSource",v[v["DBaseDataSource"]=220]="DBaseDataSource",v[v["DynamicsNavDataSource"]=230]="DynamicsNavDataSource",v[v["DropboxCloudStorage"]=240]="DropboxCloudStorage",v[v["GoogleDriveCloudStorage"]=250]="GoogleDriveCloudStorage",v[v["OneDriveCloudStorage"]=260]="OneDriveCloudStorage",v[v["SharePointCloudStorage"]=270]="SharePointCloudStorage",v[v["DataWorldDataSource"]=330]="DataWorldDataSource",v[v["QuickBooksDataSource"]=340]="QuickBooksDataSource",v[v["Unspecified"]=0]="Unspecified",(D=de=Ae.d.StiFileType||(Ae.d.StiFileType={}))[D["Unknown"]=1]="Unknown",D[D["ReportSnapshot"]=2]="ReportSnapshot",D[D["Pdf"]=3]="Pdf",D[D["Xps"]=4]="Xps",D[D["PowerPoint"]=5]="PowerPoint",D[D["Html"]=6]="Html",D[D["Text"]=7]="Text",D[D["RichText"]=8]="RichText",D[D["Word"]=9]="Word",D[D["OpenDocumentWriter"]=10]="OpenDocumentWriter",D[D["Excel"]=11]="Excel",D[D["OpenDocumentCalc"]=12]="OpenDocumentCalc",D[D["Data"]=13]="Data",D[D["Image"]=14]="Image",D[D["Xml"]=15]="Xml",D[D["Xsd"]=16]="Xsd",D[D["Csv"]=17]="Csv",D[D["Dbf"]=18]="Dbf",D[D["Sylk"]=19]="Sylk",D[D["Dif"]=20]="Dif",D[D["Json"]=21]="Json",Ae.d.IStiBIDataCache=new Ae.b.Interface("IStiBIDataCache");let Ue=Ae.b.Exception;Ae.d.StiBIDataCacheHelper=class{static checkInitialization(){if(null==Ae.d.StiBIDataCacheOptions.cache)throw new Ue("The StiBIDataCacheHelper.Cache property is not initialized!")}static exists(t){return this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.exists2(t)}static remove(t){this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.remove(t)}static clean(t){this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.clean(t)}static cleanAll(){this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.cleanAll()}static getTableCount(){return this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.getTableCount()}static getRowCount(t){return this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.getRowCount(t)}static runQuery(t){return this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.runQuery(t)}static get(t,e=!1){return this.checkInitialization(),e?Ae.d.StiBIDataCacheOptions.cache.getData(t):Ae.d.StiBIDataCacheOptions.cache.getSchema(t)}static add(t,e,r){var t=Ae.d.StiAppKey.getOrGeneratedKey2(t);this.add2(t,e,r)}static add2(t,e,r){this.checkInitialization(),Ae.d.StiBIDataCacheOptions.cache.add(t,e,r)}static getTableName(t,e){return Ae.d.StiBIDataCacheOptions.cache.getTableName(t,e)}},Ae.d.StiBIDataCacheOptions=class{},(B=me=Ae.aj.Db2||(Ae.aj.Db2={}))[B["Invalid"]=0]="Invalid",B[B["SmallInt"]=1]="SmallInt",B[B["Integer"]=2]="Integer",B[B["BigInt"]=3]="BigInt",B[B["Real"]=4]="Real",B[B["Double"]=5]="Double",B[B["Float"]=6]="Float",B[B["Decimal"]=7]="Decimal",B[B["Numeric"]=8]="Numeric",B[B["Date"]=9]="Date",B[B["Time"]=10]="Time",B[B["Timestamp"]=11]="Timestamp",B[B["Char"]=12]="Char",B[B["VarChar"]=13]="VarChar",B[B["LongVarChar"]=14]="LongVarChar",B[B["Binary"]=15]="Binary",B[B["VarBinary"]=16]="VarBinary",B[B["LongVarBinary"]=17]="LongVarBinary",B[B["Graphic"]=18]="Graphic",B[B["VarGraphic"]=19]="VarGraphic",B[B["LongVarGraphic"]=20]="LongVarGraphic",B[B["Clob"]=21]="Clob",B[B["Blob"]=22]="Blob",B[B["DbClob"]=23]="DbClob",B[B["Datalink"]=24]="Datalink",B[B["RowId"]=25]="RowId",B[B["Xml"]=26]="Xml",B[B["Real370"]=27]="Real370",B[B["DecimalFloat"]=28]="DecimalFloat",B[B["DynArray"]=29]="DynArray",B[B["BigSerial"]=30]="BigSerial",B[B["BinaryXml"]=31]="BinaryXml",B[B["TimeStampWithTimeZone"]=32]="TimeStampWithTimeZone",B[B["Cursor"]=33]="Cursor",B[B["Serial"]=34]="Serial",B[B["Int8"]=35]="Int8",B[B["Serial8"]=36]="Serial8",B[B["Money"]=37]="Money",B[B["DateTime"]=38]="DateTime",B[B["Text"]=39]="Text",B[B["Byte"]=40]="Byte",B[B["SmallFloat"]=1002]="SmallFloat",B[B["Null"]=1003]="Null",B[B["NChar"]=1006]="NChar",B[B["NVarChar"]=1007]="NVarChar",B[B["Boolean"]=1015]="Boolean",B[B["Other"]=1016]="Other",(e=pe=Ae.aj.DevartMySql||(Ae.aj.DevartMySql={}))[e["BigInt"]=1]="BigInt",e[e["Binary"]=2]="Binary",e[e["Bit"]=3]="Bit",e[e["Blob"]=4]="Blob",e[e["Char"]=5]="Char",e[e["Date"]=6]="Date",e[e["DateTime"]=7]="DateTime",e[e["Decimal"]=8]="Decimal",e[e["Double"]=9]="Double",e[e["Float"]=10]="Float",e[e["Int"]=11]="Int",e[e["SmallInt"]=12]="SmallInt",e[e["Text"]=13]="Text",e[e["Time"]=14]="Time",e[e["TimeStamp"]=15]="TimeStamp",e[e["TinyInt"]=16]="TinyInt",e[e["VarBinary"]=17]="VarBinary",e[e["VarChar"]=18]="VarChar",e[e["Year"]=19]="Year",e[e["Guid"]=20]="Guid",e[e["Geometry"]=21]="Geometry",(l=ge=Ae.aj.DevartOracle||(Ae.aj.DevartOracle={}))[l["Array"]=1]="Array",l[l["BFile"]=2]="BFile",l[l["Blob"]=3]="Blob",l[l["Boolean"]=4]="Boolean",l[l["Char"]=5]="Char",l[l["Clob"]=6]="Clob",l[l["Cursor"]=7]="Cursor",l[l["Date"]=8]="Date",l[l["Double"]=9]="Double",l[l["Float"]=10]="Float",l[l["Integer"]=11]="Integer",l[l["IntervalDS"]=12]="IntervalDS",l[l["IntervalYM"]=13]="IntervalYM",l[l["Long"]=14]="Long",l[l["LongRaw"]=15]="LongRaw",l[l["NChar"]=16]="NChar",l[l["NClob"]=17]="NClob",l[l["NVarChar"]=18]="NVarChar",l[l["Number"]=19]="Number",l[l["Object"]=20]="Object",l[l["Ref"]=21]="Ref",l[l["Raw"]=22]="Raw",l[l["RowId"]=23]="RowId",l[l["Table"]=24]="Table",l[l["TimeStamp"]=25]="TimeStamp",l[l["TimeStampLTZ"]=26]="TimeStampLTZ",l[l["TimeStampTZ"]=27]="TimeStampTZ",l[l["VarChar"]=28]="VarChar",l[l["Xml"]=29]="Xml",l[l["AnyData"]=30]="AnyData",l[l["Byte"]=31]="Byte",l[l["Int16"]=32]="Int16",l[l["Int64"]=33]="Int64",(k=fe=Ae.aj.DevartPostgreSql||(Ae.aj.DevartPostgreSql={}))[k["Row"]=1]="Row",k[k["Array"]=2]="Array",k[k["LargeObject"]=3]="LargeObject",k[k["Boolean"]=16]="Boolean",k[k["ByteA"]=17]="ByteA",k[k["BigInt"]=20]="BigInt",k[k["SmallInt"]=21]="SmallInt",k[k["Int"]=23]="Int",k[k["Text"]=25]="Text",k[k["Json"]=114]="Json",k[k["Xml"]=142]="Xml",k[k["Point"]=600]="Point",k[k["LSeg"]=601]="LSeg",k[k["Path"]=602]="Path",k[k["Box"]=603]="Box",k[k["Polygon"]=604]="Polygon",k[k["Line"]=628]="Line",k[k["CIdr"]=650]="CIdr",k[k["Real"]=700]="Real",k[k["Double"]=701]="Double",k[k["Circle"]=718]="Circle",k[k["Money"]=790]="Money",k[k["MacAddr"]=829]="MacAddr",k[k["Inet"]=869]="Inet",k[k["Char"]=1042]="Char",k[k["VarChar"]=1043]="VarChar",k[k["Date"]=1082]="Date",k[k["Time"]=1083]="Time",k[k["TimeStamp"]=1114]="TimeStamp",k[k["TimeStampTZ"]=1184]="TimeStampTZ",k[k["Interval"]=1186]="Interval",k[k["TimeTZ"]=1266]="TimeTZ",k[k["Bit"]=1560]="Bit",k[k["VarBit"]=1562]="VarBit",k[k["Numeric"]=1700]="Numeric",k[k["Uuid"]=2950]="Uuid",k[k["IntRange"]=3904]="IntRange",k[k["NumericRange"]=3906]="NumericRange",k[k["TimeStampRange"]=3908]="TimeStampRange",k[k["TimeStampTZRange"]=3910]="TimeStampTZRange",k[k["DateRange"]=3912]="DateRange",k[k["BigIntRange"]=3926]="BigIntRange",(F=Se=Ae.aj.Firebird||(Ae.aj.Firebird={}))[F["Array"]=0]="Array",F[F["BigInt"]=1]="BigInt",F[F["Binary"]=2]="Binary",F[F["Boolean"]=3]="Boolean",F[F["Char"]=4]="Char",F[F["Date"]=5]="Date",F[F["Decimal"]=6]="Decimal",F[F["Double"]=7]="Double",F[F["Float"]=8]="Float",F[F["Guid"]=9]="Guid",F[F["Integer"]=10]="Integer",F[F["Numeric"]=11]="Numeric",F[F["SmallInt"]=12]="SmallInt",F[F["Text"]=13]="Text",F[F["Time"]=14]="Time",F[F["TimeStamp"]=15]="TimeStamp",F[F["VarChar"]=16]="VarChar",(W=be=Ae.aj.Informix||(Ae.aj.Informix={}))[W["Char"]=0]="Char",W[W["SmallInt"]=1]="SmallInt",W[W["Integer"]=2]="Integer",W[W["Float"]=3]="Float",W[W["SmallFloat"]=4]="SmallFloat",W[W["Real"]=4]="Real",W[W["Decimal"]=5]="Decimal",W[W["Serial"]=6]="Serial",W[W["Date"]=7]="Date",W[W["Money"]=8]="Money",W[W["Null"]=9]="Null",W[W["DateTime"]=10]="DateTime",W[W["Byte"]=11]="Byte",W[W["Text"]=12]="Text",W[W["VarChar"]=13]="VarChar",W[W["NChar"]=15]="NChar",W[W["NVarChar"]=16]="NVarChar",W[W["Int8"]=17]="Int8",W[W["Serial8"]=18]="Serial8",W[W["Other"]=99]="Other",W[W["LVarChar"]=101]="LVarChar",W[W["LongVarChar"]=101]="LongVarChar",W[W["Blob"]=110]="Blob",W[W["Clob"]=111]="Clob",W[W["Boolean"]=126]="Boolean",W[W["Invalid"]=200]="Invalid",W[W["BigInt"]=203]="BigInt",W[W["Double"]=205]="Double",W[W["Numeric"]=208]="Numeric",W[W["Time"]=210]="Time",W[W["Timestamp"]=211]="Timestamp",W[W["Binary"]=215]="Binary",W[W["VarBinary"]=216]="VarBinary",W[W["LongVarBinary"]=217]="LongVarBinary",W[W["BigSerial"]=230]="BigSerial",(q=ye=Ae.aj.MySql||(Ae.aj.MySql={}))[q["Decimal"]=0]="Decimal",q[q["Byte"]=1]="Byte",q[q["Int16"]=2]="Int16",q[q["Int32"]=3]="Int32",q[q["Float"]=4]="Float",q[q["Double"]=5]="Double",q[q["Timestamp"]=7]="Timestamp",q[q["Int64"]=8]="Int64",q[q["Int24"]=9]="Int24",q[q["Date"]=10]="Date",q[q["Time"]=11]="Time",q[q["DateTime"]=12]="DateTime",q[q["Year"]=13]="Year",q[q["Newdate"]=14]="Newdate",q[q["VarString"]=15]="VarString",q[q["Bit"]=16]="Bit",q[q["NewDecimal"]=246]="NewDecimal",q[q["Enum"]=247]="Enum",q[q["Set"]=248]="Set",q[q["TinyBlob"]=249]="TinyBlob",q[q["MediumBlob"]=250]="MediumBlob",q[q["LongBlob"]=251]="LongBlob",q[q["Blob"]=252]="Blob",q[q["VarChar"]=253]="VarChar",q[q["String"]=254]="String",q[q["Geometry"]=255]="Geometry",q[q["UByte"]=501]="UByte",q[q["UInt16"]=502]="UInt16",q[q["UInt32"]=503]="UInt32",q[q["UInt64"]=508]="UInt64",q[q["UInt24"]=509]="UInt24",q[q["Binary"]=600]="Binary",q[q["VarBinary"]=601]="VarBinary",q[q["TinyText"]=749]="TinyText",q[q["MediumText"]=750]="MediumText",q[q["LongText"]=751]="LongText",q[q["Text"]=752]="Text",q[q["Guid"]=800]="Guid",(L=ve=Ae.aj.MsSql||(Ae.aj.MsSql={}))[L["BigInt"]=0]="BigInt",L[L["Binary"]=1]="Binary",L[L["Bit"]=2]="Bit",L[L["Char"]=3]="Char",L[L["DateTime"]=4]="DateTime",L[L["Decimal"]=5]="Decimal",L[L["Float"]=6]="Float",L[L["Image"]=7]="Image",L[L["Int"]=8]="Int",L[L["Money"]=9]="Money",L[L["NChar"]=10]="NChar",L[L["NText"]=11]="NText",L[L["NVarChar"]=12]="NVarChar",L[L["Real"]=13]="Real",L[L["UniqueIdentifier"]=14]="UniqueIdentifier",L[L["SmallDateTime"]=15]="SmallDateTime",L[L["SmallInt"]=16]="SmallInt",L[L["SmallMoney"]=17]="SmallMoney",L[L["Text"]=18]="Text",L[L["Timestamp"]=19]="Timestamp",L[L["TinyInt"]=20]="TinyInt",L[L["VarBinary"]=21]="VarBinary",L[L["VarChar"]=22]="VarChar",L[L["Variant"]=23]="Variant",L[L["Xml"]=25]="Xml",L[L["Udt"]=29]="Udt",L[L["Structured"]=30]="Structured",L[L["Date"]=31]="Date",L[L["Time"]=32]="Time",L[L["DateTime2"]=33]="DateTime2",L[L["DateTimeOffset"]=34]="DateTimeOffset",(M=we=Ae.aj.Odbc||(Ae.aj.Odbc={}))[M["BigInt"]=1]="BigInt",M[M["Binary"]=2]="Binary",M[M["Bit"]=3]="Bit",M[M["Char"]=4]="Char",M[M["DateTime"]=5]="DateTime",M[M["Decimal"]=6]="Decimal",M[M["Numeric"]=7]="Numeric",M[M["Double"]=8]="Double",M[M["Image"]=9]="Image",M[M["Int"]=10]="Int",M[M["NChar"]=11]="NChar",M[M["NText"]=12]="NText",M[M["NVarChar"]=13]="NVarChar",M[M["Real"]=14]="Real",M[M["UniqueIdentifier"]=15]="UniqueIdentifier",M[M["SmallDateTime"]=16]="SmallDateTime",M[M["SmallInt"]=17]="SmallInt",M[M["Text"]=18]="Text",M[M["Timestamp"]=19]="Timestamp",M[M["TinyInt"]=20]="TinyInt",M[M["VarBinary"]=21]="VarBinary",M[M["VarChar"]=22]="VarChar",M[M["Date"]=23]="Date",M[M["Time"]=24]="Time",(H=Ce=Ae.aj.OleDb||(Ae.aj.OleDb={}))[H["Empty"]=0]="Empty",H[H["SmallInt"]=2]="SmallInt",H[H["Integer"]=3]="Integer",H[H["Single"]=4]="Single",H[H["Double"]=5]="Double",H[H["Currency"]=6]="Currency",H[H["Date"]=7]="Date",H[H["BSTR"]=8]="BSTR",H[H["IDispatch"]=9]="IDispatch",H[H["Error"]=10]="Error",H[H["Boolean"]=11]="Boolean",H[H["Variant"]=12]="Variant",H[H["IUnknown"]=13]="IUnknown",H[H["Decimal"]=14]="Decimal",H[H["TinyInt"]=16]="TinyInt",H[H["UnsignedTinyInt"]=17]="UnsignedTinyInt",H[H["UnsignedSmallInt"]=18]="UnsignedSmallInt",H[H["UnsignedInt"]=19]="UnsignedInt",H[H["BigInt"]=20]="BigInt",H[H["UnsignedBigInt"]=21]="UnsignedBigInt",H[H["Filetime"]=64]="Filetime",H[H["Guid"]=72]="Guid",H[H["Binary"]=128]="Binary",H[H["Char"]=129]="Char",H[H["WChar"]=130]="WChar",H[H["Numeric"]=131]="Numeric",H[H["DBDate"]=133]="DBDate",H[H["DBTime"]=134]="DBTime",H[H["DBTimeStamp"]=135]="DBTimeStamp",H[H["PropVariant"]=138]="PropVariant",H[H["VarNumeric"]=139]="VarNumeric",H[H["VarChar"]=200]="VarChar",H[H["LongVarChar"]=201]="LongVarChar",H[H["VarWChar"]=202]="VarWChar",H[H["LongVarWChar"]=203]="LongVarWChar",H[H["VarBinary"]=204]="VarBinary",H[H["LongVarBinary"]=205]="LongVarBinary",(V=Te=Ae.aj.Oracle||(Ae.aj.Oracle={}))[V["BFile"]=101]="BFile",V[V["Blob"]=102]="Blob",V[V["Byte"]=103]="Byte",V[V["Char"]=104]="Char",V[V["Clob"]=105]="Clob",V[V["Date"]=106]="Date",V[V["Decimal"]=107]="Decimal",V[V["Double"]=108]="Double",V[V["Long"]=109]="Long",V[V["LongRaw"]=110]="LongRaw",V[V["Int16"]=111]="Int16",V[V["Int32"]=112]="Int32",V[V["Int64"]=113]="Int64",V[V["IntervalDS"]=114]="IntervalDS",V[V["IntervalYM"]=115]="IntervalYM",V[V["NClob"]=116]="NClob",V[V["NChar"]=117]="NChar",V[V["NVarchar2"]=119]="NVarchar2",V[V["Raw"]=120]="Raw",V[V["RefCursor"]=121]="RefCursor",V[V["Single"]=122]="Single",V[V["TimeStamp"]=123]="TimeStamp",V[V["TimeStampLTZ"]=124]="TimeStampLTZ",V[V["TimeStampTZ"]=125]="TimeStampTZ",V[V["Varchar2"]=126]="Varchar2",V[V["XmlType"]=127]="XmlType",V[V["BinaryDouble"]=132]="BinaryDouble",V[V["BinaryFloat"]=133]="BinaryFloat",(ft=Pe=Ae.aj.OracleClient||(Ae.aj.OracleClient={}))[ft["BFile"]=1]="BFile",ft[ft["Blob"]=2]="Blob",ft[ft["Char"]=3]="Char",ft[ft["Clob"]=4]="Clob",ft[ft["Cursor"]=5]="Cursor",ft[ft["DateTime"]=6]="DateTime",ft[ft["IntervalDayToSecond"]=7]="IntervalDayToSecond",ft[ft["IntervalYearToMonth"]=8]="IntervalYearToMonth",ft[ft["LongRaw"]=9]="LongRaw",ft[ft["LongVarChar"]=10]="LongVarChar",ft[ft["NChar"]=11]="NChar",ft[ft["NClob"]=12]="NClob",ft[ft["Number"]=13]="Number",ft[ft["NVarChar"]=14]="NVarChar",ft[ft["Raw"]=15]="Raw",ft[ft["RowId"]=16]="RowId",ft[ft["Timestamp"]=18]="Timestamp",ft[ft["TimestampLocal"]=19]="TimestampLocal",ft[ft["TimestampWithTZ"]=20]="TimestampWithTZ",ft[ft["VarChar"]=22]="VarChar",ft[ft["Byte"]=23]="Byte",ft[ft["UInt16"]=24]="UInt16",ft[ft["UInt32"]=25]="UInt32",ft[ft["SByte"]=26]="SByte",ft[ft["Int16"]=27]="Int16",ft[ft["Int32"]=28]="Int32",ft[ft["Float"]=29]="Float",ft[ft["Double"]=30]="Double",(K=Ie=Ae.aj.PostgreSql||(Ae.aj.PostgreSql={}))[K["Array"]=-2147483648]="Array",K[K["Bigint"]=1]="Bigint",K[K["Boolean"]=2]="Boolean",K[K["Box"]=3]="Box",K[K["Bytea"]=4]="Bytea",K[K["Circle"]=5]="Circle",K[K["Char"]=6]="Char",K[K["Date"]=7]="Date",K[K["Double"]=8]="Double",K[K["Integer"]=9]="Integer",K[K["Line"]=10]="Line",K[K["LSeg"]=11]="LSeg",K[K["Money"]=12]="Money",K[K["Numeric"]=13]="Numeric",K[K["Path"]=14]="Path",K[K["Point"]=15]="Point",K[K["Polygon"]=16]="Polygon",K[K["Real"]=17]="Real",K[K["Smallint"]=18]="Smallint",K[K["Text"]=19]="Text",K[K["Time"]=20]="Time",K[K["Timestamp"]=21]="Timestamp",K[K["Varchar"]=22]="Varchar",K[K["Refcursor"]=23]="Refcursor",K[K["Inet"]=24]="Inet",K[K["Bit"]=25]="Bit",K[K["TimestampTZ"]=26]="TimestampTZ",K[K["Uuid"]=27]="Uuid",K[K["Xml"]=28]="Xml",K[K["Oidvector"]=29]="Oidvector",K[K["Interval"]=30]="Interval",K[K["TimeTZ"]=31]="TimeTZ",K[K["Name"]=32]="Name",K[K["Abstime"]=33]="Abstime",K[K["MacAddr"]=34]="MacAddr",K[K["Json"]=35]="Json",K[K["Jsonb"]=36]="Jsonb",K[K["Hstore"]=37]="Hstore",(Z=Re=Ae.aj.SqlCe||(Ae.aj.SqlCe={}))[Z["BigInt"]=0]="BigInt",Z[Z["Binary"]=1]="Binary",Z[Z["Bit"]=2]="Bit",Z[Z["Char"]=3]="Char",Z[Z["DateTime"]=4]="DateTime",Z[Z["Decimal"]=5]="Decimal",Z[Z["Float"]=6]="Float",Z[Z["Image"]=7]="Image",Z[Z["Int"]=8]="Int",Z[Z["Money"]=9]="Money",Z[Z["NChar"]=10]="NChar",Z[Z["NText"]=11]="NText",Z[Z["NVarChar"]=12]="NVarChar",Z[Z["Real"]=13]="Real",Z[Z["UniqueIdentifier"]=14]="UniqueIdentifier",Z[Z["SmallDateTime"]=15]="SmallDateTime",Z[Z["SmallInt"]=16]="SmallInt",Z[Z["SmallMoney"]=17]="SmallMoney",Z[Z["Text"]=18]="Text",Z[Z["Timestamp"]=19]="Timestamp",Z[Z["TinyInt"]=20]="TinyInt",Z[Z["VarBinary"]=21]="VarBinary",Z[Z["VarChar"]=22]="VarChar",Z[Z["Variant"]=23]="Variant",Z[Z["Xml"]=25]="Xml",Z[Z["Udt"]=29]="Udt",Z[Z["Structured"]=30]="Structured",Z[Z["Date"]=31]="Date",Z[Z["Time"]=32]="Time",Z[Z["DateTime2"]=33]="DateTime2",Z[Z["DateTimeOffset"]=34]="DateTimeOffset",(tt=Le=Ae.aj.SqLite||(Ae.aj.SqLite={}))[tt["Uninitialized"]=0]="Uninitialized",tt[tt["Int64"]=1]="Int64",tt[tt["Double"]=2]="Double",tt[tt["Text"]=3]="Text",tt[tt["Blob"]=4]="Blob",tt[tt["Null"]=5]="Null",tt[tt["DateTime"]=10]="DateTime",tt[tt["None"]=11]="None",(rt=Me=Ae.aj.Sybase||(Ae.aj.Sybase={}))[rt["UnsignedBigInt"]=-208]="UnsignedBigInt",rt[rt["UnsignedInt"]=-207]="UnsignedInt",rt[rt["UnsignedSmallInt"]=-206]="UnsignedSmallInt",rt[rt["NVarChar"]=-205]="NVarChar",rt[rt["NChar"]=-204]="NChar",rt[rt["TimeStamp"]=-203]="TimeStamp",rt[rt["SmallDateTime"]=-202]="SmallDateTime",rt[rt["SmallMoney"]=-201]="SmallMoney",rt[rt["Money"]=-200]="Money",rt[rt["Unitext"]=-10]="Unitext",rt[rt["UniVarChar"]=-9]="UniVarChar",rt[rt["UniChar"]=-8]="UniChar",rt[rt["Bit"]=-7]="Bit",rt[rt["TinyInt"]=-6]="TinyInt",rt[rt["BigInt"]=-5]="BigInt",rt[rt["Image"]=-4]="Image",rt[rt["VarBinary"]=-3]="VarBinary",rt[rt["Binary"]=-2]="Binary",rt[rt["Text"]=-1]="Text",rt[rt["Unsupported"]=0]="Unsupported",rt[rt["Char"]=1]="Char",rt[rt["Numeric"]=2]="Numeric",rt[rt["Decimal"]=3]="Decimal",rt[rt["Integer"]=4]="Integer",rt[rt["SmallInt"]=5]="SmallInt",rt[rt["Real"]=7]="Real",rt[rt["Double"]=8]="Double",rt[rt["VarChar"]=12]="VarChar",rt[rt["Date"]=91]="Date",rt[rt["Time"]=92]="Time",rt[rt["BigDateTime"]=93]="BigDateTime",rt[rt["DateTime"]=93]="DateTime",(ot=Oe=Ae.aj.Teradata||(Ae.aj.Teradata={}))[ot["BigInt"]=90]="BigInt",ot[ot["Blob"]=100]="Blob",ot[ot["Byte"]=110]="Byte",ot[ot["ByteInt"]=120]="ByteInt",ot[ot["Char"]=130]="Char",ot[ot["Clob"]=140]="Clob",ot[ot["Date"]=150]="Date",ot[ot["Decimal"]=160]="Decimal",ot[ot["Double"]=170]="Double",ot[ot["Graphic"]=180]="Graphic",ot[ot["Integer"]=190]="Integer",ot[ot["IntervalDay"]=200]="IntervalDay",ot[ot["IntervalDayToHour"]=210]="IntervalDayToHour",ot[ot["IntervalDayToMinute"]=220]="IntervalDayToMinute",ot[ot["IntervalDayToSecond"]=230]="IntervalDayToSecond",ot[ot["IntervalHour"]=240]="IntervalHour",ot[ot["IntervalHourToMinute"]=250]="IntervalHourToMinute",ot[ot["IntervalHourToSecond"]=260]="IntervalHourToSecond",ot[ot["IntervalMinute"]=270]="IntervalMinute",ot[ot["IntervalMinuteToSecond"]=280]="IntervalMinuteToSecond",ot[ot["IntervalSecond"]=290]="IntervalSecond",ot[ot["IntervalYear"]=300]="IntervalYear",ot[ot["IntervalYearToMonth"]=310]="IntervalYearToMonth",ot[ot["IntervalMonth"]=320]="IntervalMonth",ot[ot["SmallInt"]=330]="SmallInt",ot[ot["Time"]=340]="Time",ot[ot["TimeWithZone"]=350]="TimeWithZone",ot[ot["Timestamp"]=360]="Timestamp",ot[ot["TimestampWithZone"]=370]="TimestampWithZone",ot[ot["VarByte"]=380]="VarByte",ot[ot["VarChar"]=390]="VarChar",ot[ot["VarGraphic"]=400]="VarGraphic",ot[ot["PeriodDate"]=410]="PeriodDate",ot[ot["PeriodTime"]=420]="PeriodTime",ot[ot["PeriodTimeWithTimeZone"]=430]="PeriodTimeWithTimeZone",ot[ot["PeriodTimestamp"]=440]="PeriodTimestamp",ot[ot["PeriodTimestampWithTimeZone"]=450]="PeriodTimestampWithTimeZone",ot[ot["Number"]=460]="Number",ot[ot["Xml"]=480]="Xml",ot[ot["Json"]=500]="Json",ot[ot["AnyType"]=65535]="AnyType",(ht=He=Ae.aj.Universal||(Ae.aj.Universal={}))[ht["Array"]=0]="Array",ht[ht["BigInt"]=1]="BigInt",ht[ht["Binary"]=2]="Binary",ht[ht["Bit"]=3]="Bit",ht[ht["Blob"]=4]="Blob",ht[ht["Boolean"]=5]="Boolean",ht[ht["Byte"]=6]="Byte",ht[ht["Char"]=7]="Char",ht[ht["Clob"]=8]="Clob",ht[ht["Currency"]=9]="Currency",ht[ht["Cursor"]=10]="Cursor",ht[ht["Date"]=11]="Date",ht[ht["DateTime"]=12]="DateTime",ht[ht["Decimal"]=13]="Decimal",ht[ht["Double"]=14]="Double",ht[ht["Guid"]=15]="Guid",ht[ht["Int"]=16]="Int",ht[ht["IntervalDS"]=17]="IntervalDS",ht[ht["IntervalYM"]=18]="IntervalYM",ht[ht["NChar"]=19]="NChar",ht[ht["NClob"]=20]="NClob",ht[ht["NVarChar"]=21]="NVarChar",ht[ht["Object"]=22]="Object",ht[ht["Single"]=23]="Single",ht[ht["SmallInt"]=24]="SmallInt",ht[ht["TinyInt"]=25]="TinyInt",ht[ht["Time"]=26]="Time",ht[ht["TimeStamp"]=27]="TimeStamp",ht[ht["VarChar"]=28]="VarChar",ht[ht["Xml"]=29]="Xml",ht[ht["TimeStampTZ"]=30]="TimeStampTZ",ht[ht["DateTime2"]=31]="DateTime2",(dt=_e=Ae.aj.VistaDb||(Ae.aj.VistaDb={}))[dt["Uninitialized"]=-1]="Uninitialized",dt[dt["Char"]=1]="Char",dt[dt["NChar"]=2]="NChar",dt[dt["VarChar"]=3]="VarChar",dt[dt["NVarChar"]=4]="NVarChar",dt[dt["Text"]=5]="Text",dt[dt["NText"]=6]="NText",dt[dt["TinyInt"]=8]="TinyInt",dt[dt["SmallInt"]=9]="SmallInt",dt[dt["Int"]=10]="Int",dt[dt["BigInt"]=11]="BigInt",dt[dt["Real"]=12]="Real",dt[dt["Float"]=13]="Float",dt[dt["Decimal"]=14]="Decimal",dt[dt["Money"]=15]="Money",dt[dt["SmallMoney"]=16]="SmallMoney",dt[dt["Bit"]=17]="Bit",dt[dt["DateTime"]=19]="DateTime",dt[dt["Image"]=20]="Image",dt[dt["UniqueIdentifier"]=22]="UniqueIdentifier",dt[dt["SmallDateTime"]=23]="SmallDateTime",dt[dt["Timestamp"]=24]="Timestamp",dt[dt["Binary"]=25]="Binary",dt[dt["VarBinary"]=26]="VarBinary",dt[dt["Time"]=27]="Time",dt[dt["Date"]=28]="Date",dt[dt["DateTime2"]=29]="DateTime2",dt[dt["DateTimeOffset"]=30]="DateTimeOffset",dt[dt["Unknown"]=31]="Unknown",(pt=Ve=Ae.aj.Pdo||(Ae.aj.Pdo={}))[pt["String"]=0]="String",Ae.ak.StiConnectionStringHelper=class{static getConnectionStringKey(t,e){if(De.isNullOrWhiteSpace(t))return null;let r=new Ee(t.stimulsoft().split(";",",")),i=r.firstOrDefault(t=>t.toLowerCase().stimulsoft().startsWith(e.toLowerCase()));if(null==i)return null;var t=i.indexOf("="),n;if(i.split("=").length<2)return null;let a=i.substr(t+1,i.length-t-1);return a.stimulsoft().startsWith('"')&&a.stimulsoft().endsWith('"')&&(a=a.substr(0,a.length-2)),a}static getConnectionStringKey2(t){if(De.isNullOrWhiteSpace(t))return null;let e=new Ee(t.stimulsoft().split(";",","));return e.firstOrDefault(t=>!t.stimulsoft().contains("="))}static setConnectionStringKey(t,e,r){if(De.isNullOrWhiteSpace(t))return`${e}=${r}`;var t=new Ee(t.stimulsoft().split(";",",")).where(t=>!t.toLowerCase().stimulsoft().startsWith(e.toLowerCase()));return De.join(";",t)+`;${e}=${r}`}static removeConnectionStringKey(t,e){if(De.isNullOrWhiteSpace(t))return t;var t=new Ee(t.stimulsoft().split(";",",")).where(t=>!t.toLowerCase().stimulsoft().startsWith(e.toLowerCase()));return De.join(";",t)}};let je=Ae.bo.File,We=Ae.bo.Path;{let s=class{constructor(t,e){this.name=t,this.array=e}toList(){return[this]}};Ae.d.StiDataLoaderHelperData=s,Ae.d.StiDataLoaderHelper=class{static loadMultiple(e,r,i,n){if(De.isNullOrEmpty(e))return null;let t=this.loadSingle(e,i,n);if(null!=t&&null!=t.array)return t.toList();var n=je.getFilesNames(e),a;if(n&&0<n.length){let t=[];for(var a of n){a&&a.toLowerCase().stimulsoft().endsWith(r)&&(a=e+We.getSep()+a,t.push(new s(We.getFileNameWithoutExtension(a),je.getFile(a,i))))}return t}return null}static loadSingle(t,e,r){return new s(We.getFileNameWithoutExtension(t),je.getFile(t,e,"",r))}}}Ae.d.StiFileUrlHelper=class{static get(t){if(De.isNullOrWhiteSpace(t))return null;var e=null,e;return Ae.bo.File.getFile(t,!0)}};let qe=Ae.bo.StreamReader,ze=Ae.bk.DataTable,Xe=Ae.bk.DataSet;var yt=class{static getTable(t,e=0,r=null){return this.getTable2(Ae.bo.File.getFile(t,!0),e,r)}static getDataSet(t,e,r,i){let n=this.getTable2(t,r,i);if(null==n)return null;n.tableName=De.isNullOrWhiteSpace(e)?Ae.d.StiFileItemTable.defaultCsvTableName:e;let a=new Xe;return a.enforceConstraints=!1,a.tables.add(n),a}static getTable2(t,e=0,r=null,i=!0){var t=new Kt(t),n,t,r,r,r;let a=(De.isNullOrEmpty(r)?";":r)[0],s=null;0!=e&&(s=1==e?Ot.Default:Ot.getEncoding(e));let o=null==s?new qe(t):new qe(t,s),l=null,u=o.readLine();null!=u&&0<u.length&&(u.startsWith("")&&(u=u.substring(3)),t={ref:u},l=this.splitToColumns(t,o,a),u=t.ref,De.isNullOrEmpty(r)&&1==l.length&&(r={ref:u},l=this.splitToColumns(r,o,"\t"),u=r.ref,1<l.length?a="\t":(r={ref:u},l=this.splitToColumns(r,o,";"),u=r.ref,1<l.length?a=";":(r={ref:u},l=this.splitToColumns(r,o,","),u=r.ref,1<l.length&&(a=",")))));let h=new Dt;if(null!=l)for(let i=0;i<l.length;i++){let t=l[i].trim();0==t.length&&(t=De.format("Column{0}",i+1)),t=Ae.d.StiDataNameValidator.correct(t);let e="",r=0;while(1){if(!h.contains(t+e))break;r++,e=r.toString()}t+=e,l[i]=t,h.add(t,t)}let c=new ze(Ae.d.StiFileItemTable.defaultCsvTableName);if(null!=l)for(var d of l){var m=String,m=new it(d,m);c.columns.add(m)}if(i&&null!=l)while(null!=(u=o.readLine())){0==u.length&&(u=De.fill(a,l.length-1));var p={ref:u},g=this.splitToColumns(p,o,a);u=p.ref;let e=c.newRow();var f=Math.min(e.columns.length,g.length);c.rows.add(e);for(let t=0;t<f;t++)e.setValueByIndex(t,g[t])}return c}static splitToColumns(t,e,r){let i=t.ref,n=[],a="",s=0,o=!1;while(s<i.length){var l=i[s],l;if(s++,'"'==l&&(o=!o),l==r&&!o){n.push(a),a="";continue}a+=l,s!=i.length||!o||null!=(l=e.readLine())&&(i+="\n"+l)}n.push(a);for(let e=0;e<n.length;e++){let t=n[e];1<t.length&&t.stimulsoft().startsWith('"')&&t.stimulsoft().endsWith('"')&&(n[e]=t.substr(1,t.length-2).replace('""','"'))}return t.ref=i,n}};yt.codePageCodes=[0,1,65e3,65001,1200,1250,1251,1252,1253,1254,1255,1256],yt.codePageNames=["Default","System","UTF7","UTF8","Unicode","1250","1251","1252","1253","1254","1255","1256"],Ae.d.StiCsvHelper=yt,Ae.d.StiDataNameValidator=class{static correct(t){let e=t;for(let t=0;t<e.length;t++)Be.isLetterOrDigit(e[t])||"_"==e[t]||(e=e.substr(0,t)+"_"+e.substr(t+1));return t=0<(t=e).length&&Be.isDigit(t[0])?"n"+t:t}};var wt=class{},Je,Ye,Qe,Ke,Ze,$e,tr,er,rr,ir,nr,ar,sr,or,lr,q,W,F,k,l,e,B,D,v,b,x,P,p,m,u,ur,hr,cr,H,M,L,ft,V,dr,mr,Z,K,tt;wt.defaultCsvTableName="CSV-Table",wt.defaultDBaseTableName="DBase-Table",Ae.d.StiFileItemTable=wt;{let e=class{constructor(t){this.connectionString=t}getColumns(t){return new Ae.d.StiDataWorldHelper(this.connectionString).getColumns(t)}getDataTable(t,e){return new Ae.d.StiDataWorldHelper(this.connectionString).getDataTable(t,e)}getSampleConnectionString(){return"Owner=<owner>;Database=<id>;Token=<token>"}retrieveSchema(t=!1){return new Ae.d.StiDataWorldHelper(this.connectionString).retrieveSchema()}testConnection(){return new Ae.d.StiDataWorldHelper(this.connectionString).testConnection()}static get(t){return new e(t)}};Ae.d.StiDataWorldConnector=e}let pr=Ae.bo.Http;Ae.d.StiDataWorldHelper=class{constructor(t){this.urlBase="https://api.data.world/v0/",this.connectionString=t}getDefaultWebClient(){let t={downloadString:(t,e)=>{try{var r=pr.send("GET",t,"",[{key:"Authorization",value:"Bearer "+e}]);if(200==r.status)return r.responseText;throw new Error}catch(t){throw t}}};return t}getTableNames(){let t=this.getDefaultWebClient();var e,r="sql/"+this.owner+"/"+this.database+"?query="+encodeURIComponent("SELECT * FROM Tables"),r=this.urlBase+r,r=t.downloadString(r,this.token),i;let n=JSON.parse(r),a=new Ee;for(i of n.stimulsoft().value)a.add(i["tableId"]);return a}getColumns(t){var t=this.getDataTable(t,"select * from "+t+" limit 29");let e=new Ee;if(null!=t)for(var r of t.columns.list)e.add(new Ae.d.StiDataColumnSchema(r.columnName,r.dataType));return e}getDataTable(r,i){try{var n="sql/"+this.owner.toLowerCase()+"/"+this.database.toLowerCase();De.isNullOrEmpty(i)&&(i="select * from "+r);var a=this.urlBase+n+"?query="+encodeURIComponent(i);let t=this.getDefaultWebClient();var s=t.downloadString(a,this.token);let e=Ae.d.StiJsonToDataSetConverter.getDataSet(s);return null!=e&&0<e.tables.count?e.tables.list[0].copy():null}catch(t){throw Ae.b.StiError.showError(t,!1),t}}testConnection(){try{this.getDefaultWebClient(),this.urlBase,this.owner}catch(t){return Ae.b.StiError.showError(t,!1),Ae.d.StiTestConnectionResult.makeWrong(t.message)}return Ae.d.StiTestConnectionResult.makeFine()}retrieveSchema(){if(De.isNullOrEmpty(this.connectionString))return null;let e=new Ae.d.StiDataSchema(Ae.d.StiConnectionIdent.DataWorldDataSource);try{var t,r;for(r of this.getTableNames()){let t=Ae.d.StiDataTableSchema.newTable(r);try{var i=this.getColumns(r);null!=i&&(t.columns=i)}catch(t){}e.tables.add(t)}return e.sort()}catch(t){return null}}getConnectionStringKey(e){if(De.isNullOrWhiteSpace(this.connectionString))return null;let t=this.connectionString.split(new RegExp(";|,")).stimulsoft().toList(),r=t.firstOrDefault(t=>t.toLowerCase().stimulsoft().startsWith(e.toLowerCase()));if(null==r)return null;var i=r.split("=");if(2!=i.length)return null;let n=i[1];return n.stimulsoft().startsWith('"')&&n.stimulsoft().endsWith('"')&&(n=n.substr(0,n.length-2)),n}getConnectionStringKey1(){if(De.isNullOrWhiteSpace(this.connectionString))return null;let t=this.connectionString.split(new RegExp(";|,")).stimulsoft().toList();return t.firstOrDefault(t=>!t.stimulsoft().contains("="))}get owner(){return this.getConnectionStringKey("Owner")}get token(){return this.getConnectionStringKey("Token")}get database(){return this.getConnectionStringKey("Database")}},Ae.d.StiObjectSchema=class{};let gr=Ae.bk.DataRelation;Ae.d.StiDataSchema=class extends Ae.d.StiObjectSchema{constructor(t=Ae.d.StiConnectionIdent.Unspecified){super(),this.connectionIdent=t,this.tables=new Ee,this.views=new Ee,this.queries=new Ee,this.storedProcedures=new Ee,this.relations=new Ee}isEmpty(){return this.tables.length<=0&&this.views.length<=0&&this.storedProcedures.length<=0&&this.relations.length<=0&&this.queries.length<=0}getDataSet(){let u=new Xe;return null!=this.tables&&this.tables.forEach(t=>{let e=new ze(t.name);t.columns.forEach(t=>{e.columns.add(new it(t.name,t.type))}),u.tables.add(e)}),null!=this.views&&this.views.forEach(t=>{let e=new ze(t.name);t.columns.forEach(t=>{e.columns.add(new it(t.name,t.type))}),u.tables.add(e)}),null!=this.storedProcedures&&this.storedProcedures.forEach(t=>{let e=new ze(t.name);t.columns.forEach(t=>{e.columns.add(new it(t.name,t.type))}),u.tables.add(e)}),null!=this.queries&&this.queries.forEach(t=>{let e=new ze(t.name);t.columns.forEach(t=>{e.columns.add(new it(t.name,t.type))}),u.tables.add(e)}),null!=this.relations&&this.relations.forEach(n=>{try{let t=u.tables.getByName(n.parentSourceName),e=u.tables.getByName(n.childSourceName);if(null==t||null==e)return;let r=[],i=[];for(var a of n.parentColumns){var s=t.columns.getByName(a);if(null==s)return;r.push(s)}for(var o of n.childColumns){var l=e.columns.getByName(o);if(null==l)return;i.push(l)}u.relations.add(new gr(n.name,r.stimulsoft().toArray(),i.stimulsoft().toArray()))}catch(t){Ae.b.StiError.showError(t,!1)}}),u}sort(){return this.tables=this.tables.orderBy(t=>t.name),this.views=this.views.orderBy(t=>t.name),this.queries=this.queries.orderBy(t=>t.name),this.storedProcedures=this.storedProcedures.orderBy(t=>t.name),this.relations=this.relations.orderBy(t=>t.name),this}};let fr=Ae.bm.XmlNode;{let N=class{constructor(t){this.headers=[],this.connectionString=t}get address(){var t=null!=this.getConnectionStringKey("Address")?this.getConnectionStringKey("Address"):this.getConnectionStringKey1(),e;return null!=t?t:this.connectionString}get userName(){return this.getConnectionStringKey("UserName")}get password(){return this.getConnectionStringKey("Password")}get addressBearer(){return this.getConnectionStringKey("AddressBearer")}get clientId(){return this.getConnectionStringKey("ClientId")}getConnectionStringKey(e){if(De.isNullOrWhiteSpace(this.connectionString))return null;let t=this.connectionString.split(new RegExp(";|,")).stimulsoft().toList(),r=t.firstOrDefault(t=>t.toLowerCase().stimulsoft().startsWith(e.toLowerCase()));if(null==r)return null;var i=r.split("=");if(2!=i.length)return null;let n=i[1];return n.stimulsoft().startsWith('"')&&n.stimulsoft().endsWith('"')&&(n=n.substr(0,n.length-2)),n}getConnectionStringKey1(){if(De.isNullOrWhiteSpace(this.connectionString))return null;let t=this.connectionString.split(new RegExp(";|,")).stimulsoft().toList();return t.firstOrDefault(t=>!t.stimulsoft().contains("="))}retrieveSchema(){if(De.isNullOrEmpty(this.connectionString))return null;let r=new Ae.d.StiDataSchema(Ae.d.StiConnectionIdent.ODataDataSource);try{let t=this.getDefaultWebClient();var a=t.downloadString(Ae.d.StiUrl.combine([this.address,"$metadata"]),this.userName,this.password,this.bearerAccessToken),s;let e=at.toXml(a),i=new Dt,n=new Dt;for(s of e.getNodeByName("edmx:DataServices").childNodes){var o=null!=s.getAttribute("Namespace")?s.getAttribute("Namespace"):null,l,u;for(l of s.childNodes.where(t=>"EntityType"==t.localName||"ComplexType"==t.localName)){try{let t=l.stimulsoft().as(fr);var h=t.getAttribute("Name");let e=null!=t.getAttribute("BaseType")?t.getAttribute("BaseType"):null;if(De.isNullOrWhiteSpace(h))continue;var c=t.getNodesByName("Property"),d;let r=new Ae.d.StiDataTableSchema(h,h);if(null!=e&&(d=e.stimulsoft().replaceAll(o+".",""),n.set(d,r)),null!=c)for(var m of c)try{var p=m.getAttribute("Name");if(De.isNullOrWhiteSpace(p))continue;var g=m.getAttribute("Type"),f=N.getNetType(g),S=new Ae.d.StiDataColumnSchema(p,f);r.columns.push(S)}catch(t){Ae.b.StiError.showError(t,!1)}i.set(o+"."+r.name,r)}catch(t){Ae.b.StiError.showError(t,!1)}for(var b of n.keys){var y=b,v,w;let t=n.get(y),e;for(v of r.tables)if(v.name==y){e=v;break}if(null==e)continue;for(w of e.columns){for(var C of t.columns)if(w.name==C.name)break;t.columns.push(w)}}}for(u of s.childNodes.where(t=>"EntityContainer"==t.localName))for(var T of u.childNodes.where(t=>"EntitySet"==t.localName)){try{var P=T.getAttribute("Name"),I=T.getAttribute("EntityType");if(De.isNullOrWhiteSpace(P))continue;let t=new Ae.d.StiDataTableSchema(P,P);var A=i.get(I);null!=A&&t.columns.stimulsoft().addRange(A.columns),r.tables.add(t)}catch(t){Ae.b.StiError.showError(t,!1)}for(var x of n.keys){var D=x,B,E;let t=n.get(D),e;for(B of r.tables)if(B.name==D){e=B;break}if(null==e)continue;for(E of e.columns){for(var k of t.columns)if(E.name==k.name)break;t.columns.push(E)}}}}return r}catch(t){throw Ae.b.StiError.showError(t,!1),t}}fillDataTable(r,i){if(De.isNullOrEmpty(this.connectionString))return;try{let t=this.getDefaultWebClient();var n=Ae.d.StiUrl.combine([this.address,i]);let e=t.downloadString(n,this.userName,this.password,this.bearerAccessToken);if(e.trim().stimulsoft().startsWith("<?xml")){let t=at.toXml(e);var a=t.getNodeByName("title"),s;null!=a&&(r.tableName=a.textContent);for(s of t.getNodesByName("entry")){let t=s.getNodeByName("content");if(null==t)continue;var o=t.childNodes.firstOrDefault(t=>t.localName.stimulsoft().endsWith("properties")),l;if(null==o)continue;let e=r.newRow();r.rows.add(e);try{var u=s.getNodeByName("title"),h=r.columns.getByName("Name");null!=u&&null!=r.columns.getByName("Name")&&e.setValue(h,u.textContent)}catch(t){Ae.b.StiError.showError(t,!1)}try{var c=s.getNodeByName("summary"),d=r.columns.getByName("Description");null!=c&&null!=r.columns.getByName("Description")&&e.setValue(d,c.textContent)}catch(t){Ae.b.StiError.showError(t,!1)}for(l of o.childNodes)try{var m=l.localName.stimulsoft().replaceAll("d:",""),p=l.textContent,g=r.columns.getByName(m);null!=g&&e.setValue(g,p)}catch(t){Ae.b.StiError.showError(t,!1)}}}else{var f=JSON.parse(e);if(null!=f&&null!=f.value&&ke.isArray(f.value))for(var S of f.value){let t=r.newRow();for(var b in r.rows.add(t),S){if(b.stimulsoft().startsWith("@odata."))continue;var y=b,v=S[b],w=r.columns.getByName(y);null!=w&&t.setValue(w,v)}}}}catch(t){Ae.b.StiError.showError(t,!1)}}testConnection(){try{if(De.isNullOrEmpty(this.connectionString))return Ae.d.StiTestConnectionResult.makeWrong("The ConnectionString property has not been initialized.");let t=this.getDefaultWebClient();t.downloadString(this.address,this.userName,this.password,this.bearerAccessToken)}catch(t){return Ae.b.StiError.showError(t,!1),Ae.d.StiTestConnectionResult.makeWrong(t.message)}return Ae.d.StiTestConnectionResult.makeFine()}getColumns(t){if(De.isNullOrEmpty(this.connectionString))return null;let e=new Ee;for(var r of this.retrieveSchema().tables)if(r.name==t)for(var i of r.columns)e.push(new Ae.d.StiDataColumnSchema(i.name,i.type));return e}static getNetType(t){if(De.isNullOrWhiteSpace(t))return null;switch(t=(t=t.toLowerCase()).stimulsoft().startsWith("edm.")?t.stimulsoft().replaceAll("edm.",""):t){case"int64":return Ae.b.Int64;case"int32":return Ae.b.Int32;case"int16":return Ae.b.Int16;case"byte":return Ae.b.Byte;case"sbyte":return Ae.b.SByte;case"int":return Ae.b.Int32;case"boolean":return Boolean;case"decimal":return Ae.b.Decimal;case"float":return Ae.b.Float;case"double":return Ae.b.Double;case"time":case"datetime":return Ae.b.DateTime;case"guid":return Ae.b.Guid;default:return String}}static getBearerAccessToken(t,e,r,i){try{var n="grant_type=password"+"&username="+e+"&password="+r+"&client_id="+i,a=pr.send("POST",t,n),s;if(200==a.status)return JSON.parse(a.responseText)["access_token"]}catch(t){throw t}return null}getDefaultWebClient(){let t={};return t.headers=this.headers,De.isNullOrWhiteSpace(this.addressBearer)||De.isNullOrWhiteSpace(this.bearerAccessToken)&&(this.bearerAccessToken=N.getBearerAccessToken(this.addressBearer,this.userName,this.password,this.clientId)),t.downloadString=(t,r,i,n)=>{var a,s;try{if(!De.isNullOrWhiteSpace(r)&&$t.useWebKit){let e=new XMLHttpRequest;if(e.withCredentials=!0,e.open("GET",t,!1,r,i),e.setRequestHeader("Cache-Control","no-store, no-cache, must-revalidate"),e.setRequestHeader("Pragma","no-cache"),e.setRequestHeader("ETag","0"),null!==(a=this.headers)&&void 0!==a&&a.forEach(t=>e.setRequestHeader(t.key,t.value)),e.send(),200==e.status)return e.responseText;throw new Error(`${e.status} : ${e.statusText}`)}let e=[];De.isNullOrWhiteSpace(n)||e.push({key:"Authorization",value:"Bearer "+n}),null!==(s=this.headers)&&void 0!==s&&s.forEach(t=>e.push(t));var o=pr.send("GET",t,"",e);if(200==o.status)return o.responseText;throw new Error(`${o.status} : ${o.statusText}`)}catch(t){throw t}},t}};Ae.d.StiODataHelper=N}let Sr=Ae.b.StiObject,br=Ae.ak.StiConnectionStringHelper,yr=Ae.b.Guid;{let e=class{constructor(t=""){this.stimulsoftClientId="ABPQz3WAKlBBQy07UBdcwkbeAZGG10hu9EpukpQinSUVXOM2iu",this.stimulsoftClientSecret="DAAaTBmTphB0fJfsjdPw2TlzEaWbZyYrRGOA6PMV",this.oauth2Url="https://appcenter.intuit.com/connect/oauth2",this.bearerUrl="https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer",this.baseUrl="https://quickbooks.api.intuit.com/v3",this.stimulsoftRedirectUrl="https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl",this.responseType="code",this.scope="com.intuit.quickbooks.accounting",this.state=Qt.toBase64String(yr.newGuid().toString()).substr(0,8),this.connectionIdent=Ae.d.StiConnectionIdent.QuickBooksDataSource,this.connectionOrder=Ae.d.StiConnectionOrder.QuickBooksDataSource,this.name="QuickBooks",this.isAvailable=!0,this.connectionTimeout=30,this.connectionString=t}get useApp(){return br.getConnectionStringKey(this.connectionString,"UseApp").stimulsoft().toBoolean()}set useApp(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"UseApp",t.toString())}get clientId(){return br.getConnectionStringKey(this.connectionString,"ClientId")}set clientId(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"ClientId",t)}get clientIdPrivate(){if(this.useApp)return this.clientId;return this.stimulsoftClientId}set clientIdPrivate(t){this.clientId=t}get clientSecret(){return br.getConnectionStringKey(this.connectionString,"ClientSecret")}set clientSecret(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"ClientSecret",t)}get clientSecretPrivate(){if(this.useApp)return this.clientSecret;return this.stimulsoftClientSecret}set clientSecretPrivate(t){this.clientSecret=t}get redirectURL(){return br.getConnectionStringKey(this.connectionString,"RedirectURL")}set redirectURL(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"RedirectURL",t)}get redirectURLPrivate(){if(this.useApp)return this.redirectURL;return this.stimulsoftRedirectUrl}set redirectURLPrivate(t){this.redirectURL=t}get authorizationCode(){return br.getConnectionStringKey(this.connectionString,"AuthorizationCode")}set authorizationCode(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"AuthorizationCode",t)}get realmId(){return br.getConnectionStringKey(this.connectionString,"RealmId")}set realmId(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"RealmId",t)}get accessToken(){return br.getConnectionStringKey(this.connectionString,"AccessToken")}set accessToken(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"AccessToken",t)}get refreshToken(){return br.getConnectionStringKey(this.connectionString,"RefreshToken")}set refreshToken(t){this.connectionString=br.setConnectionStringKey(this.connectionString,"RefreshToken",t)}fillAuthorizationCode(){}getDefaultWebClient(){var t;return{headers:{Authorization:"Bearer "+this.accessToken,Accept:"application/json"},downloadString:e=>{try{let t=[];for(var r in Sr.keys(this.headers))t.push({key:r,value:this.headers[r]});var i=pr.send("GET",e,"",t);if(200==i.status)return i.responseText;throw new Error}catch(t){throw t}},uploadString:(t,e,r)=>{try{var i=pr.send("POST",t,r);if(200==i.status)return i.responseText;throw new Error}catch(t){throw t}}}}getAuthorizationUrl(){let t=`${this.oauth2Url}?client_id=${this.clientIdPrivate}&response_type=${this.responseType}&scope=${this.scope}&redirect_uri=${this.redirectURLPrivate}&state=${this.state}`;return De.isNullOrWhiteSpace(this.realmId)||(t+=`&realm_id=${this.realmId}`),t}fillTokens(){let t=this.getDefaultWebClient();t.headers["Authorization"]=`Basic ${Qt.toBase64String(Ot.UTF8.getBytes(`${this.clientIdPrivate}: ${this.clientSecretPrivate} `))}`,t.headers["Content-Type"]="application/x-www-form-urlencoded";var e=t.uploadString(this.bearerUrl,"POST",`code=${this.authorizationCode}&redirect_uri=${this.redirectURLPrivate}&grant_type=authorization_code`);let r=JSON.parse(e);this.accessToken=r["access_token"].toString(),this.refreshToken=r["refresh_token"].toString()}refreshAccessToken(){let t=this.getDefaultWebClient();t.headers["Authorization"]=`Basic ${Qt.toBase64String(Ot.UTF8.getBytes(`${this.clientIdPrivate}: ${this.clientSecretPrivate} `))}`,t.headers["Content-Type"]="application/x-www-form-urlencoded";var e=t.uploadString(this.bearerUrl,"POST",`refresh_token=${this.refreshToken}&grant_type=refresh_token`);let r=JSON.parse(e);this.accessToken=r["access_token"].toString(),this.refreshToken=r["refresh_token"].toString()}getTableNames(){return new Ee(["Account","AccountListDetail","APAgingDetail","APAgingSummary","ARAgingDetail","ARAgingSummary","Attachable","BalanceSheet","Batch","Bill","BillPayment","Budget","CashFlow","ChangeDataCapture","Class","CompanyCurrency","CompanyInfo","CreditMemo","Customer","CustomerBalance","CustomerBalanceDetail","CustomerIncome","CustomerType","Department","Deposit","Employee","Entitlements","Estimate","Exchangerate","GeneralLedger","InventoryValuationSummary","Invoice","Item","JournalCode","JournalEntry","JournalReport","JournalReportFR","Payment","PaymentMethod","Preferences","ProfitAndLoss","ProfitAndLossDetail","Purchase","PurchaseOrder","RefundReceipt","SalesByClassSummary","SalesByCustomer","SalesByDepartment","SalesByProduct","SalesReceipt","TaxClassification","TaxCode","TaxRate","TaxService","TaxSummary","TaxAgency","Term","TimeActivity","TransactionList","Transfer","TrialBalance","Vendor","VendorBalance","VendorBalanceDetail","VendorCredit","VendorExpenses"])}getColumns(t){let e=new ze(t);return null!=e?e.columns.toList().select(t=>new Ae.d.StiDataColumnSchema(t.columnName,t.dataType)):null}retrieveSchema(e=!1){let r=new Ae.d.StiDataSchema(Ae.d.StiConnectionIdent.QuickBooksDataSource);try{var t,i;for(i of this.getTableNames()){let t=Ae.d.StiDataTableSchema.newTable(i);try{var n=this.getColumns(i);null!=n&&(t.columns=n)}catch(t){}r.tables.add(t)}return r.sort()}catch(t){if(e)throw t;return null}}getDataTable(e,r){try{De.isNullOrEmpty(r)&&(r=`SELECT * FROM ${e}`.stimulsoft().toUnicodeString());var i=this.executeQuery(r);let t=Ae.d.StiJsonToDataSetConverter.getDataSet(i);return null!=t&&0<t.tables.length?t.tables.getByIndex(0).copy():new ze}catch(t){}return null}fillDataTable(e,t){let r=this.getDataTable(null,t);for(var i of r.rows.list){let t=e.newRow();for(var n of e.columns.list)r.columns.contains(n.columnName)&&r.columns.getByName(n.columnName).dataType==n.dataType&&t.sett(n,i.gett(r.columns.getByName(n.columnName)));e.rows.add(t)}}executeQuery(r){try{De.isNullOrWhiteSpace(this.realmId)&&this.fillAuthorizationCode(),De.isNullOrWhiteSpace(this.accessToken)&&(De.isNullOrWhiteSpace(this.refreshToken)?(De.isNullOrWhiteSpace(this.authorizationCode)&&this.fillAuthorizationCode(),this.fillTokens()):this.refreshAccessToken());let t=this.getDefaultWebClient();var i=`${this.baseUrl}/company/${this.realmId}/query?query=${r.stimulsoft().toUnicodeString()}`,n=t.downloadString(i);let e=JSON.parse(n)["QueryResponse"].First;if(null!=e)return this.removeUnsupportedColumns(e.First),this.correctRefColumns(e.First),"{"+e.toString()+"}";return"{}"}catch(t){}return"{}"}removeUnsupportedColumns(t){}correctRefColumns(t){}getSampleConnectionString(){return""}static Get(t=null){return new e(t)}};Ae.d.StiQuickBooksConnector=e}{let r=class{static makeWrong(t){let e=new r;return e.success=!1,e.notice=t,e}static makeWrong2(t){let e=new r;return e.success=!1,e.notice=t,e}static makeWrong3(){let t=new r;return t.success=!1,t}static makeFine(){let t=new r;return t.success=!0,t}};Ae.d.StiTestConnectionResult=r}Ae.d.StiDataColumnSchema=class extends Ae.d.StiObjectSchema{constructor(t=null,e=null){super(),this.name=t,this.type=e}},Ae.d.StiDataParameterSchema=class extends Ae.d.StiObjectSchema{constructor(t=null,e=null){super(),this.name=t,this.type=e}},Ae.d.StiDataRelationSchema=class{};{let e=class extends Ae.d.StiObjectSchema{constructor(t=null,e=null){super(),this.columns=[],this.parameters=[],this.name=t,this.query=e}static newTableOrView(t){return this.newTable(t)}static newTable(t){return new e(t)}static newView(t){return new e(t)}static newProcedure(t){return new e(t)}};Ae.d.StiDataTableSchema=e}Ae.W.IStiDefault=new Ae.b.Interface("IStiDefault"),(u=Je=Ae.S.StiCheckState||(Ae.S.StiCheckState={}))[u["Unchecked"]=1]="Unchecked",u[u["Checked"]=2]="Checked",u[u["Indeterminate"]=3]="Indeterminate",(m=Ye=Ae.S.StiAction||(Ae.S.StiAction={}))[m["None"]=0]="None",m[m["Move"]=1]="Move",m[m["Select"]=2]="Select",m[m["SizeLeft"]=3]="SizeLeft",m[m["SizeRight"]=4]="SizeRight",m[m["SizeTop"]=5]="SizeTop",m[m["SizeBottom"]=6]="SizeBottom",m[m["SizeLeftTop"]=7]="SizeLeftTop",m[m["SizeLeftBottom"]=8]="SizeLeftBottom",m[m["SizeRightTop"]=9]="SizeRightTop",m[m["SizeRightBottom"]=10]="SizeRightBottom",m[m["ResizeColumns"]=11]="ResizeColumns",m[m["ResizeRows"]=12]="ResizeRows",m[m["SelectColumn"]=13]="SelectColumn",m[m["SelectRow"]=14]="SelectRow",(p=Qe=Ae.S.StiBorderSides||(Ae.S.StiBorderSides={}))[p["None"]=0]="None",p[p["All"]=15]="All",p[p["Top"]=1]="Top",p[p["Left"]=2]="Left",p[p["Right"]=4]="Right",p[p["Bottom"]=8]="Bottom",(P=Ke=Ae.S.StiPenStyle||(Ae.S.StiPenStyle={}))[P["Solid"]=0]="Solid",P[P["Dash"]=1]="Dash",P[P["DashDot"]=2]="DashDot",P[P["DashDotDot"]=3]="DashDotDot",P[P["Dot"]=4]="Dot",P[P["Double"]=5]="Double",P[P["None"]=6]="None",(x=Ze=Ae.S.StiRotationMode||(Ae.S.StiRotationMode={}))[x["LeftTop"]=0]="LeftTop",x[x["LeftCenter"]=1]="LeftCenter",x[x["LeftBottom"]=2]="LeftBottom",x[x["CenterTop"]=3]="CenterTop",x[x["CenterCenter"]=4]="CenterCenter",x[x["CenterBottom"]=5]="CenterBottom",x[x["RightTop"]=6]="RightTop",x[x["RightCenter"]=7]="RightCenter",x[x["RightBottom"]=8]="RightBottom",(b=$e=Ae.S.StiShadowSides||(Ae.S.StiShadowSides={}))[b["Top"]=1]="Top",b[b["Right"]=2]="Right",b[b["Edge"]=4]="Edge",b[b["Bottom"]=8]="Bottom",b[b["Left"]=16]="Left",b[b["All"]=31]="All",(v=tr=Ae.S.StiVertAlignment||(Ae.S.StiVertAlignment={}))[v["Top"]=0]="Top",v[v["Center"]=1]="Center",v[v["Bottom"]=2]="Bottom",(D=er=Ae.S.StiTextHorAlignment||(Ae.S.StiTextHorAlignment={}))[D["Left"]=0]="Left",D[D["Center"]=1]="Center",D[D["Right"]=2]="Right",D[D["Width"]=3]="Width",(B=rr=Ae.S.StiHorAlignment||(Ae.S.StiHorAlignment={}))[B["Left"]=1]="Left",B[B["Center"]=2]="Center",B[B["Right"]=3]="Right",(e=ir=Ae.S.StiTextDockMode||(Ae.S.StiTextDockMode={}))[e["Top"]=0]="Top",e[e["Bottom"]=1]="Bottom",e[e["Left"]=2]="Left",e[e["Right"]=3]="Right",(l=nr=Ae.S.StiBrushIdent||(Ae.S.StiBrushIdent={}))[l["Empty"]=1]="Empty",l[l["Solid"]=2]="Solid",l[l["Gradient"]=3]="Gradient",l[l["Glare"]=4]="Glare",l[l["Glass"]=5]="Glass",l[l["Hatch"]=6]="Hatch",(k=ar=Ae.S.StiBorderIdent||(Ae.S.StiBorderIdent={}))[k["Border"]=1]="Border",k[k["AdvancedBorder"]=2]="AdvancedBorder",(F=sr=Ae.S.StiCapStyle||(Ae.S.StiCapStyle={}))[F["None"]=0]="None",F[F["Arrow"]=1]="Arrow",F[F["Open"]=2]="Open",F[F["Stealth"]=3]="Stealth",F[F["Diamond"]=4]="Diamond",F[F["Square"]=5]="Square",F[F["Oval"]=6]="Oval",(W=or=Ae.S.StiTableColumnVisibility||(Ae.S.StiTableColumnVisibility={}))[W["True"]=0]="True",W[W["False"]=1]="False",W[W["Expression"]=2]="Expression",(q=lr=Ae.S.StiCardsColumnVisibility||(Ae.S.StiCardsColumnVisibility={}))[q["True"]=0]="True",q[q["False"]=1]="False",q[q["Expression"]=2]="Expression",Ae.S.PointD=Ae.bn.Point,Ae.S.RectangleD=Ae.bn.Rectangle,Ae.S.SizeD=Ae.bn.Size,Ae.S.StiActionUtils=class{static pointInEdge(t,e,r,i){var n=Ne.round2(r.x,2),r=Ne.round2(r.y,2),t=Ne.round2(t,2),e=Ne.round2(e,2),i=Ne.round2(i,2);return n-i<=t&&r-i<=e&&t<=n+i&&e<=r+i}static pointInRect(t,e,r){var i=Ne.round2(r.left,2),n=Ne.round2(r.top,2),a=Ne.round2(r.right,2),r=Ne.round2(r.bottom,2),t=Ne.round2(t,2),e=Ne.round2(e,2);return i<=t&&n<=e&&e<r&&t<a}};let vr=Ae.bn.SolidBrush,wr=Ae.bq.HatchStyle,Cr=Ae.bl.StiReportObjectStringConverter;Ae.S.StiBrush=class{implements(){return[Jt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}clone(){return this.memberwiseClone()}memberwiseClone(){return this.stimulsoft().memberwiseClone(!0)}equals(t){if(null==t)return!1;if(this==t)return!0;return!1}static convertToBrush(e){if(e.stimulsoft().startsWith("[")&&e.stimulsoft().endsWith("]"))return new Ae.S.StiSolidBrush(Cr.convertStringToColor(e));if("EmptyBrush"==e)return new Ae.S.StiEmptyBrush;if(e.stimulsoft().startsWith("HatchBrush")){var t=e.split(",");return new Ae.S.StiHatchBrush(Zt.parse(wr,t[1]),Cr.convertStringToColor(t[2]),Cr.convertStringToColor(t[3]))}if(e.stimulsoft().startsWith("GradientBrush")){let t=e.split(",");return new Ae.S.StiGradientBrush(Cr.convertStringToColor(t[1]),Cr.convertStringToColor(t[2]),t[3].stimulsoft().toNumber())}if(e.stimulsoft().startsWith("GlassBrush")){let t=e.split(",");return new Ae.S.StiGlassBrush(Cr.convertStringToColor(t[1]),"true"==t[2].toLowerCase(),t[3].stimulsoft().toNumber())}if(e.stimulsoft().startsWith("GlareBrush")){let t=e.split(",");return new Ae.S.StiGlareBrush(Cr.convertStringToColor(t[1]),Cr.convertStringToColor(t[2]),t[3].stimulsoft().toNumber(),t[4].stimulsoft().toNumber(),t[5].stimulsoft().toNumber())}return new Ae.S.StiSolidBrush(Ae.bl.StiReportObjectStringConverter.convertStringToColor(e))}static loadFromXml(e){if("EmptyBrush"==e)return new Ae.S.StiEmptyBrush;if(e.stimulsoft().startsWith("HatchBrush")){var t=e.split(",");return new Ae.S.StiHatchBrush(Zt.parse(wr,t[1]),Cr.convertStringToColor(t[2]),Cr.convertStringToColor(t[3]))}if(e.stimulsoft().startsWith("GradientBrush")){let t=e.split(",");return new Ae.S.StiGradientBrush(Cr.convertStringToColor(t[1]),Cr.convertStringToColor(t[2]),t[3].stimulsoft().toNumber())}if(e.stimulsoft().startsWith("GlassBrush")){let t=e.split(",");return new Ae.S.StiGlassBrush(Cr.convertStringToColor(t[1]),"true"==t[2].toLowerCase(),t[3].stimulsoft().toNumber())}if(e.stimulsoft().startsWith("GlareBrush")){let t=e.split(",");return new Ae.S.StiGlareBrush(Cr.convertStringToColor(t[1]),Cr.convertStringToColor(t[2]),t[3].stimulsoft().toNumber(),t[4].stimulsoft().toNumber(),t[5].stimulsoft().toNumber())}return new Ae.S.StiSolidBrush(Cr.convertStringToColor(e))}static light(t,e){if(t&&t.is(Ae.S.StiSolidBrush))return new Ae.S.StiSolidBrush(Ae.S.StiColorUtils.light(t.color,e));if(t&&t.is(Ae.S.StiGradientBrush)){var r=t;return new Ae.S.StiGradientBrush(Ae.S.StiColorUtils.light(r.startColor,e),Ae.S.StiColorUtils.light(r.endColor,e),r.angle)}if(t&&t.is(Ae.S.StiHatchBrush)){var r=t;return new Ae.S.StiHatchBrush(r.style,Ae.S.StiColorUtils.light(r.foreColor,e),Ae.S.StiColorUtils.light(r.backColor,e))}if(t&&t.is(Ae.S.StiGlareBrush)){var i=t;return new Ae.S.StiGlareBrush(Ae.S.StiColorUtils.light(i.startColor,e),Ae.S.StiColorUtils.light(i.endColor,e),i.angle)}if(t&&t.is(Ae.S.StiGlassBrush)){var i=t;return new Ae.S.StiGlassBrush(Ae.S.StiColorUtils.light(i.color,e),i.drawHatch,i.blend)}return t}static dark(t,e){if(t&&t.is(Ae.S.StiSolidBrush))return new Ae.S.StiSolidBrush(Ae.S.StiColorUtils.dark(t.color,e));if(t&&t.is(Ae.S.StiGradientBrush)){var r=t;return new Ae.S.StiGradientBrush(Ae.S.StiColorUtils.dark(r.startColor,e),Ae.S.StiColorUtils.dark(r.endColor,e),r.angle)}if(t&&t.is(Ae.S.StiHatchBrush)){var r=t;return new Ae.S.StiHatchBrush(r.style,Ae.S.StiColorUtils.dark(r.foreColor,e),Ae.S.StiColorUtils.dark(r.backColor,e))}if(t&&t.is(Ae.S.StiGlareBrush)){var i=t;return new Ae.S.StiGlareBrush(Ae.S.StiColorUtils.dark(i.startColor,e),Ae.S.StiColorUtils.dark(i.endColor,e),i.angle)}if(t&&t.is(Ae.S.StiGlassBrush)){var i=t;return new Ae.S.StiGlassBrush(Ae.S.StiColorUtils.dark(i.color,e),i.drawHatch,i.blend)}return t}static getBrush(t,e){if(t.is(Ae.S.StiEmptyBrush))return new vr(Fe.transparent);if(t.is(Ae.S.StiSolidBrush))return new vr(t.color);return t.is(Ae.S.StiGradientBrush)||t.is(Ae.S.StiHatchBrush)||t.is(Ae.S.StiGlareBrush)||t.is(Ae.S.StiGlassBrush),null}static toColor(t){if(t&&t.is(Ae.S.StiEmptyBrush))return Fe.transparent;if(t&&t.is(Ae.S.StiSolidBrush))return t.color;if(t&&t.is(Ae.S.StiGradientBrush))return t.startColor;if(t&&t.is(Ae.S.StiGlareBrush))return t.startColor;if(t&&t.is(Ae.S.StiGlassBrush))return t.color;if(t&&t.is(Ae.S.StiHatchBrush))return t.foreColor;return Fe.empty}static isEmpty(t){return null==t||t.is(Ae.S.StiEmptyBrush)}static isTransparent(t){return this.isEmpty(t)||t.is(Ae.S.StiSolidBrush)&&Fe.transparent.equals(t.color)}};{let t=class extends Ae.S.StiBrush{constructor(t=Fe.transparent){super(),this.color=t}memberwiseClone(){return new t(this.color)}};Ae.S.StiSolidBrush=t}let Tr=Ae.bn.Rectangle,Pr=Ae.bn.Pen,Ir=Ae.bq.LineCap;{let l=class{constructor(t,e,r,i,n,a,s){this.side=Ae.S.StiBorderSides.None,this.size=1,this.style=Ae.S.StiPenStyle.Solid,this.shadowSize=4,this.dropShadow=!1,this.topmost=!1,this.side=t,this.color=e,this.size=r,this.style=i,this.shadowSize=n,this.dropShadow=a,this.topmost=s}clone(){return new l(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)}equals(t){if(null==t)return!1;if(this==t)return!0;var t=t.stimulsoft().as(l);return null!=t&&this.side==t.side&&this.color.equals(t.color)&&this.size==t.size&&this.style==t.style&&this.shadowSize==t.shadowSize&&this.topmost==t.topmost&&this.dropShadow==t.dropShadow}getHashCode(){var t=this.side,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^this.color.stimulsoft().getHashCode())^this.size.stimulsoft().getHashCode())^this.style)^this.shadowSize.stimulsoft().getHashCode())^this.topmost.stimulsoft().getHashCode())^this.dropShadow.stimulsoft().getHashCode(),Math.abs(t)}static isDefault(t,e,r,i,n,a,s){return t.stimulsoft().is(l)&&(e=t.color,r=t.size,i=t.style,n=t.dropShadow,a=t.shadowSize,s=t.topmost,t=t.side),this.isDefault2(t,e,r,i,n,a,s)}static isDefault2(t,e,r,i,n,a,s){if(e.equals(Fe.black)&&!n&&!s&&4==a&&t==Ae.S.StiBorderSides.None&&1==r&&i==Ae.S.StiPenStyle.Solid)return!0;return!1}},r=class{constructor(t=Ae.S.StiBorderSides.None,e=Fe.black,r=1,i=Ae.S.StiPenStyle.Solid,n=!1,a=4,s=new Ae.S.StiSolidBrush(Fe.black),o=!1){this.bits=null,this.defaultHashCode=this.stimulsoft().getHashCode(),l.isDefault2(t,e,r,i,n,a,o)?this.bits=null:this.bits=new l(t,e,r,i,a,n,o),this._shadowBrush=s}implements(){return[Jt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}clone(){return new r(this.side,this.color,this.size,this.style,this.dropShadow,this.shadowSize,null!=this._shadowBrush?this._shadowBrush.clone():null,this.topmost)}equals(t){if(null==t)return!1;if(this==t)return!0;var t=t.stimulsoft().as(r);return null!=t&&(null!=this.bits?this.bits.equals(t.bits):null==t.bits)&&(null!=this._shadowBrush?this._shadowBrush.equals(t._shadowBrush):null==t._shadowBrush)}getSizeOffset(){return this.size/2}getHashCode(){return 397*(397*this.defaultHashCode^(null!=this.bits?this.bits.stimulsoft().getHashCode():0))^(null!=this._shadowBrush?this._shadowBrush.stimulsoft().getHashCode():0)}getSizeIncludingSide(){if(this.style==Ae.S.StiPenStyle.None)return 0;if(this.style==Ae.S.StiPenStyle.Double)return 3;if(this.side==Ae.S.StiBorderSides.None)return 0;return this.size}draw(l,u,h,t=Fe.white,e=!0,r=!0){if(null==this.bits)return;if(this.isDefault())return;if(e&&this.drawBorderShadow(l,u,h),r){let s=null,o=new Pr(this.bits.color);if(this.bits.style==Ae.S.StiPenStyle.Double&&(s=new Pr(t)),o.dashStyle=Ae.S.StiPenUtils.getPenStyle(this.bits.style),this.bits.style!=Ae.S.StiPenStyle.None){o.width=Ne.trunc(this.bits.size*h),o.startCap=Ir.Square,o.endCap=Ir.Square;let t=u.clone(),e=u.clone();this.bits.style==Ae.S.StiPenStyle.Double&&(t.inflate(-1,-1),e.inflate(1,1),o.width=1);let r=0,i=0,n=0,a=0;this.isAllBorderSidesPresent?this.bits.style==Ae.S.StiPenStyle.Double?(l.drawRectangle(s,u),l.drawRectangle(o,t),l.drawRectangle(o,e)):l.drawRectangle(o,u):(this.isTopBorderSidePresent&&(r=t.left,i=t.right,this.isLeftBorderSidePresent||(r=e.left),this.isRightBorderSidePresent||(i=e.right),this.bits.style==Ae.S.StiPenStyle.Double?(l.drawLine(s,u.left,u.top,u.right,u.top),l.drawLine(o,r,t.top,i,t.top),l.drawLine(o,e.left,e.top,e.right,e.top)):l.drawLine(o,u.left,u.top,u.right,u.top)),this.isLeftBorderSidePresent&&(n=t.top,a=t.bottom,this.isTopBorderSidePresent||(n=e.top),this.isBottomBorderSidePresent||(a=e.bottom),this.style==Ae.S.StiPenStyle.Double?(l.drawLine(s,u.left,u.top,u.left,u.bottom),l.drawLine(o,t.left,n,t.left,a),l.drawLine(o,e.left,e.top,e.left,e.bottom)):l.drawLine(o,u.left,u.top,u.left,u.bottom)),this.isBottomBorderSidePresent&&(r=t.left,i=t.right,this.isLeftBorderSidePresent||(r=e.left),this.isRightBorderSidePresent||(i=e.right),this.bits.style==Ae.S.StiPenStyle.Double?(l.drawLine(s,u.left,u.bottom,u.right,u.bottom),l.drawLine(o,r,t.bottom,i,t.bottom),l.drawLine(o,e.left,e.bottom,e.right,e.bottom)):l.drawLine(o,u.left,u.bottom,u.right,u.bottom)),this.isRightBorderSidePresent&&(n=t.top,a=t.bottom,this.isTopBorderSidePresent||(n=e.top),this.isBottomBorderSidePresent||(a=e.bottom),this.bits.style==Ae.S.StiPenStyle.Double?(l.drawLine(s,u.right,u.top,u.right,u.bottom),l.drawLine(o,t.right,n,t.right,a),l.drawLine(o,e.right,e.top,e.right,e.bottom)):l.drawLine(o,u.right,u.top,u.right,u.bottom))),null!=s&&(s=null)}}}drawBorderShadow(t,e,r){if(this.isDefault())return;if(null==this.bits)return;var i,r,r;this.bits.dropShadow&&(i=this.bits.shadowSize*r,r=new Tr(e.left+i,e.top+i,e.width,e.height),r=Ae.S.StiBrush.getBrush(this.shadowBrush,r),t.fillRectangle(r,e.right,e.top+i,i,e.height-i),t.fillRectangle(r,e.left+i,e.bottom,e.width,i))}get isTopBorderSidePresent(){if(null==this.bits)return!1;return 0!=(this.bits.side&Ae.S.StiBorderSides.Top)}get isBottomBorderSidePresent(){if(null==this.bits)return!1;return 0!=(this.bits.side&Ae.S.StiBorderSides.Bottom)}get isLeftBorderSidePresent(){if(null==this.bits)return!1;return 0!=(this.bits.side&Ae.S.StiBorderSides.Left)}get isRightBorderSidePresent(){if(null==this.bits)return!1;return 0!=(this.bits.side&Ae.S.StiBorderSides.Right)}get isAllBorderSidesPresent(){if(null==this.bits)return!1;return this.bits.side==Ae.S.StiBorderSides.All}get isDefaultShadowBrush(){return this.shadowBrush.is(Ae.S.StiSolidBrush)&&this.shadowBrush.color.equals(Fe.black)}get side(){if(null==this.bits)return Ae.S.StiBorderSides.None;return this.bits.side}set side(t){if(t==Ae.S.StiBorderSides.None&&null==this.bits)return;null!=this.bits?this.bits.side=t:this.bits=new l(t,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)}get color(){if(null==this.bits)return Fe.black;return this.bits.color}set color(t){if(Fe.black.equals(t)&&null==this.bits)return;null!=this.bits?this.bits.color=t:this.bits=new l(this.side,t,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)}get size(){if(null==this.bits)return 1;return this.bits.size}set size(t){if(1==t&&null==this.bits)return;null!=this.bits?this.bits.size=t:this.bits=new l(this.side,this.color,t,this.style,this.shadowSize,this.dropShadow,this.topmost)}get style(){if(null==this.bits)return Ae.S.StiPenStyle.Solid;return this.bits.style}set style(t){if(t==Ae.S.StiPenStyle.Solid&&null==this.bits)return;null!=this.bits?this.bits.style=t:this.bits=new l(this.side,this.color,this.size,t,this.shadowSize,this.dropShadow,this.topmost)}get shadowBrush(){return this._shadowBrush}set shadowBrush(t){this._shadowBrush=t}get shadowSize(){if(null==this.bits)return 4;return this.bits.shadowSize}set shadowSize(t){if(4==t&&null==this.bits)return;null!=this.bits?this.bits.shadowSize=t:this.bits=new l(this.side,this.color,this.size,this.style,t,this.dropShadow,this.topmost)}get dropShadow(){if(null==this.bits)return!1;return this.bits.dropShadow}set dropShadow(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.dropShadow=t:this.bits=new l(this.side,this.color,this.size,this.style,this.shadowSize,t,this.topmost)}get topmost(){if(null==this.bits)return!1;return this.bits.topmost}set topmost(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.topmost=t:this.bits=new l(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,t)}isDefault(){return this.isDefaultShadowBrush&&null==this.bits}static loadFromXml(t){let e=t.split(";");if(t.stimulsoft().startsWith("Adv")){let t=!1;return 16==e.length&&(t="true"==e[15].toLowerCase()),new Ae.S.StiAdvancedBorder(new Ae.S.StiBorderSide(Cr.convertStringToColor(e[0].substring(3)),e[1].stimulsoft().toNumber(),Zt.parse(Ae.S.StiPenStyle,e[2])),new Ae.S.StiBorderSide(Cr.convertStringToColor(e[3]),e[4].stimulsoft().toNumber(),Zt.parse(Ae.S.StiPenStyle,e[5])),new Ae.S.StiBorderSide(Cr.convertStringToColor(e[6]),e[7].stimulsoft().toNumber(),Zt.parse(Ae.S.StiPenStyle,e[8])),new Ae.S.StiBorderSide(Cr.convertStringToColor(e[9]),e[10].stimulsoft().toNumber(),Zt.parse(Ae.S.StiPenStyle,e[11])),"true"==e[12].toLowerCase(),e[13].stimulsoft().toNumber(),Ae.S.StiBrush.convertToBrush(e[14]),t)}{let t=!1;return 8==e.length&&(t="true"==e[7].toLowerCase()),new r(Zt.parse(Ae.S.StiBorderSides,e[0]),Cr.convertStringToColor(e[1]),e[2].stimulsoft().toNumber(),Zt.parse(Ae.S.StiPenStyle,e[3]),4<e.length&&"true"==e[4].toLowerCase(),5<e.length?e[5].stimulsoft().toNumber():4,6<e.length?Ae.S.StiBrush.convertToBrush(e[6]):new Ae.S.StiSolidBrush(Fe.black),t)}}};Ae.S.StiBorder=r}Ae.S.StiAdvancedBorder=class extends Ae.S.StiBorder{constructor(t=new Ae.S.StiBorderSide,e=new Ae.S.StiBorderSide,r=new Ae.S.StiBorderSide,i=new Ae.S.StiBorderSide,n=!1,a=4,s=new Ae.S.StiSolidBrush(Fe.black),o=!1){super(),this._topSide=t,this._bottomSide=e,this._leftSide=r,this._rightSide=i,this._leftSide.side=Ae.S.StiBorderSides.Left,this._rightSide.side=Ae.S.StiBorderSides.Right,this._topSide.side=Ae.S.StiBorderSides.Top,this._bottomSide.side=Ae.S.StiBorderSides.Bottom,this.shadowBrush=s,this.shadowSize=a,this.dropShadow=n,this.topmost=o}clone(){let t=super.clone();return t._topSide=this._topSide.clone(),t._bottomSide=this._bottomSide.clone(),t._leftSide=this._leftSide.clone(),t._rightSide=this._rightSide.clone(),t}equals(t){if(Sr.referenceEquals(null,t))return!1;if(Sr.referenceEquals(this,t))return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;return super.equals(t)&&this._bottomSide.equals(t._bottomSide)&&this._topSide.equals(t._topSide)&&this._leftSide.equals(t._leftSide)&&this._rightSide.equals(t._rightSide)}getHashCode(){var t=super.getHashCode(),t;return t=397*(t=397*(t=397*(t=397*t^(null!=this._bottomSide?this._bottomSide.stimulsoft().getHashCode():0))^(null!=this._topSide?this._topSide.stimulsoft().getHashCode():0))^(null!=this._leftSide?this._leftSide.stimulsoft().getHashCode():0))^(null!=this._rightSide?this._rightSide.stimulsoft().getHashCode():0),Math.abs(t)}get leftSide(){return this._leftSide}get rightSide(){return this._rightSide}get topSide(){return this._topSide}get bottomSide(){return this._bottomSide}get isTopBorderSidePresent(){return this.topSide.style!=Ae.S.StiPenStyle.None}get isBottomBorderSidePresent(){return this.bottomSide.style!=Ae.S.StiPenStyle.None}get isLeftBorderSidePresent(){return this.leftSide.style!=Ae.S.StiPenStyle.None}get isRightBorderSidePresent(){return this.rightSide.style!=Ae.S.StiPenStyle.None}get isAllBorderSidesPresent(){return this.isLeftBorderSidePresent&&this.isRightBorderSidePresent&&this.isTopBorderSidePresent&&this.isBottomBorderSidePresent}get side(){let t=Ae.S.StiBorderSides.None;return this.isLeftBorderSidePresent&&(t|=Ae.S.StiBorderSides.Left),this.isRightBorderSidePresent&&(t|=Ae.S.StiBorderSides.Right),this.isTopBorderSidePresent&&(t|=Ae.S.StiBorderSides.Top),this.isBottomBorderSidePresent&&(t|=Ae.S.StiBorderSides.Bottom),t}set side(t){0<(t&Ae.S.StiBorderSides.Left)?this.isLeftBorderSidePresent||(this.leftSide.style=Ae.S.StiPenStyle.Solid):this.leftSide.style=Ae.S.StiPenStyle.None,0<(t&Ae.S.StiBorderSides.Right)?this.isRightBorderSidePresent||(this.rightSide.style=Ae.S.StiPenStyle.Solid):this.rightSide.style=Ae.S.StiPenStyle.None,0<(t&Ae.S.StiBorderSides.Top)?this.isTopBorderSidePresent||(this.topSide.style=Ae.S.StiPenStyle.Solid):this.topSide.style=Ae.S.StiPenStyle.None,0<(t&Ae.S.StiBorderSides.Bottom)?this.isBottomBorderSidePresent||(this.bottomSide.style=Ae.S.StiPenStyle.Solid):this.bottomSide.style=Ae.S.StiPenStyle.None}get color(){return this.leftSide.color}set color(t){this.leftSide.color=t,this.rightSide.color=t,this.topSide.color=t,this.bottomSide.color=t}get size(){return this.leftSide.size}set size(t){this.leftSide.size=t,this.rightSide.size=t,this.topSide.size=t,this.bottomSide.size=t}get style(){return this.leftSide.style}set style(t){this.leftSide.style=t,this.rightSide.style=t,this.topSide.style=t,this.bottomSide.style=t}isDefault(){return!this.dropShadow&&!this.topmost&&4==this.shadowSize&&this.shadowBrush.is(Ae.S.StiSolidBrush)&&this.shadowBrush.color.equals(Fe.black)&&this.leftSide.isDefault()&&this.rightSide.isDefault()&&this.topSide.isDefault()&&this.bottomSide.isDefault()}},(L=ur=Ae.al.StiFontIconSet||(Ae.al.StiFontIconSet={}))[L["Rating"]=0]="Rating",L[L["Quarter"]=1]="Quarter",L[L["Square"]=2]="Square",L[L["Star"]=3]="Star",L[L["Latin"]=4]="Latin",(M=hr=Ae.al.StiFontIconGroup||(Ae.al.StiFontIconGroup={}))[M["WebApplicationIcons"]=0]="WebApplicationIcons",M[M["AccessibilityIcons"]=1]="AccessibilityIcons",M[M["HandIcons"]=2]="HandIcons",M[M["TransportationIcons"]=3]="TransportationIcons",M[M["GenderIcons"]=4]="GenderIcons",M[M["FileTypeIcons"]=5]="FileTypeIcons",M[M["SpinnerIcons"]=6]="SpinnerIcons",M[M["FormControlIcons"]=7]="FormControlIcons",M[M["PaymentIcons"]=8]="PaymentIcons",M[M["ChartIcons"]=9]="ChartIcons",M[M["CurrencyIcons"]=10]="CurrencyIcons",M[M["TextEditorIcons"]=11]="TextEditorIcons",M[M["DirectionalIcons"]=12]="DirectionalIcons",M[M["VideoPlayerIcons"]=13]="VideoPlayerIcons",M[M["BrandIcons"]=14]="BrandIcons",M[M["MedicalIcons"]=15]="MedicalIcons",M[M["OtherIcons"]=16]="OtherIcons",(H=cr=Ae.al.StiFontIcons||(Ae.al.StiFontIcons={}))[H["Latin5"]=0]="Latin5",H[H["Latin4"]=1]="Latin4",H[H["Latin3"]=2]="Latin3",H[H["Latin2"]=3]="Latin2",H[H["Latin1"]=4]="Latin1",H[H["QuarterFull"]=5]="QuarterFull",H[H["QuarterThreeFourth"]=6]="QuarterThreeFourth",H[H["QuarterHalf"]=7]="QuarterHalf",H[H["QuarterQuarter"]=8]="QuarterQuarter",H[H["QuarterNone"]=9]="QuarterNone",H[H["Rating4"]=10]="Rating4",H[H["Rating3"]=11]="Rating3",H[H["Rating2"]=12]="Rating2",H[H["Rating1"]=13]="Rating1",H[H["Rating0"]=14]="Rating0",H[H["Square0"]=15]="Square0",H[H["Square1"]=16]="Square1",H[H["Square2"]=17]="Square2",H[H["Square3"]=18]="Square3",H[H["Square4"]=19]="Square4",H[H["StarFull"]=20]="StarFull",H[H["StarThreeFourth"]=21]="StarThreeFourth",H[H["StarHalf"]=22]="StarHalf",H[H["StarQuarter"]=23]="StarQuarter",H[H["StarNone"]=24]="StarNone",H[H["ArrowDown"]=25]="ArrowDown",H[H["ArrowRight"]=26]="ArrowRight",H[H["ArrowRightDown"]=27]="ArrowRightDown",H[H["ArrowRightUp"]=28]="ArrowRightUp",H[H["ArrowUp"]=29]="ArrowUp",H[H["Check"]=30]="Check",H[H["Circle"]=31]="Circle",H[H["CircleCheck"]=32]="CircleCheck",H[H["CircleCross"]=33]="CircleCross",H[H["CircleExclamation"]=34]="CircleExclamation",H[H["Cross"]=35]="Cross",H[H["Rhomb"]=36]="Rhomb",H[H["Exclamation"]=37]="Exclamation",H[H["Flag"]=38]="Flag",H[H["Minus"]=39]="Minus",H[H["Triangle"]=40]="Triangle",H[H["TriangleDown"]=41]="TriangleDown",H[H["TriangleUp"]=42]="TriangleUp",H[H["Home"]=43]="Home",H[H["Cart"]=44]="Cart",H[H["Phone"]=45]="Phone",H[H["Mobile"]=46]="Mobile",H[H["Mug"]=47]="Mug",H[H["Airplane"]=48]="Airplane",H[H["Man"]=49]="Man",H[H["Woman"]=50]="Woman",H[H["UserTie"]=51]="UserTie",H[H["Truck"]=52]="Truck",H[H["Earth"]=53]="Earth",H[H["ManWoman"]=54]="ManWoman",H[H["Appleinc"]=55]="Appleinc",H[H["Windows8"]=56]="Windows8",H[H["Glass"]=57]="Glass",H[H["Music"]=58]="Music",H[H["Search"]=59]="Search",H[H["EnvelopeO"]=60]="EnvelopeO",H[H["Heart"]=61]="Heart",H[H["Star"]=62]="Star",H[H["StarO"]=63]="StarO",H[H["User"]=64]="User",H[H["Film"]=65]="Film",H[H["ThLarge"]=66]="ThLarge",H[H["Th"]=67]="Th",H[H["ThList"]=68]="ThList",H[H["Times"]=69]="Times",H[H["SearchPlus"]=70]="SearchPlus",H[H["SearchMinus"]=71]="SearchMinus",H[H["PowerOff"]=72]="PowerOff",H[H["Signal"]=73]="Signal",H[H["Cog"]=74]="Cog",H[H["TrashO"]=75]="TrashO",H[H["FileO"]=76]="FileO",H[H["ClockO"]=77]="ClockO",H[H["Road"]=78]="Road",H[H["Download"]=79]="Download",H[H["ArrowCircleODown"]=80]="ArrowCircleODown",H[H["ArrowCircleOUp"]=81]="ArrowCircleOUp",H[H["Inbox"]=82]="Inbox",H[H["PlayCircleO"]=83]="PlayCircleO",H[H["Repeat"]=84]="Repeat",H[H["Refresh"]=85]="Refresh",H[H["ListAlt"]=86]="ListAlt",H[H["Lock"]=87]="Lock",H[H["FAFlag"]=88]="FAFlag",H[H["Headphones"]=89]="Headphones",H[H["VolumeOff"]=90]="VolumeOff",H[H["VolumeDown"]=91]="VolumeDown",H[H["VolumeUp"]=92]="VolumeUp",H[H["Qrcode"]=93]="Qrcode",H[H["Barcode"]=94]="Barcode",H[H["Tag"]=95]="Tag",H[H["Tags"]=96]="Tags",H[H["Book"]=97]="Book",H[H["Bookmark"]=98]="Bookmark",H[H["Print"]=99]="Print",H[H["Camera"]=100]="Camera",H[H["Font"]=101]="Font",H[H["Bold"]=102]="Bold",H[H["Italic"]=103]="Italic",H[H["TextHeight"]=104]="TextHeight",H[H["TextWidth"]=105]="TextWidth",H[H["AlignLeft"]=106]="AlignLeft",H[H["AlignCenter"]=107]="AlignCenter",H[H["AlignRight"]=108]="AlignRight",H[H["AlignJustify"]=109]="AlignJustify",H[H["List"]=110]="List",H[H["Outdent"]=111]="Outdent",H[H["Indent"]=112]="Indent",H[H["VideoCamera"]=113]="VideoCamera",H[H["PictureO"]=114]="PictureO",H[H["Pencil"]=115]="Pencil",H[H["MapMarker"]=116]="MapMarker",H[H["Adjust"]=117]="Adjust",H[H["Tint"]=118]="Tint",H[H["PencilSquareO"]=119]="PencilSquareO",H[H["ShareSquareO"]=120]="ShareSquareO",H[H["CheckSquareO"]=121]="CheckSquareO",H[H["Arrows"]=122]="Arrows",H[H["StepBackward"]=123]="StepBackward",H[H["FastBackward"]=124]="FastBackward",H[H["Backward"]=125]="Backward",H[H["Play"]=126]="Play",H[H["Pause"]=127]="Pause",H[H["Stop"]=128]="Stop",H[H["Forward"]=129]="Forward",H[H["FastForward"]=130]="FastForward",H[H["StepForward"]=131]="StepForward",H[H["Eject"]=132]="Eject",H[H["ChevronLeft"]=133]="ChevronLeft",H[H["ChevronRight"]=134]="ChevronRight",H[H["PlusCircle"]=135]="PlusCircle",H[H["MinusCircle"]=136]="MinusCircle",H[H["TimesCircle"]=137]="TimesCircle",H[H["CheckCircle"]=138]="CheckCircle",H[H["QuestionCircle"]=139]="QuestionCircle",H[H["InfoCircle"]=140]="InfoCircle",H[H["Crosshairs"]=141]="Crosshairs",H[H["TimesCircleO"]=142]="TimesCircleO",H[H["CheckCircleO"]=143]="CheckCircleO",H[H["Ban"]=144]="Ban",H[H["FAArrowLeft"]=145]="FAArrowLeft",H[H["FAArrowRight"]=146]="FAArrowRight",H[H["FAArrowUp"]=147]="FAArrowUp",H[H["FAArrowDown"]=148]="FAArrowDown",H[H["Share"]=149]="Share",H[H["Expand"]=150]="Expand",H[H["Compress"]=151]="Compress",H[H["FAPlus"]=152]="FAPlus",H[H["FAMinus"]=153]="FAMinus",H[H["Asterisk"]=154]="Asterisk",H[H["ExclamationCircle"]=155]="ExclamationCircle",H[H["Gift"]=156]="Gift",H[H["Leaf"]=157]="Leaf",H[H["Fire"]=158]="Fire",H[H["Eye"]=159]="Eye",H[H["EyeSlash"]=160]="EyeSlash",H[H["ExclamationTriangle"]=161]="ExclamationTriangle",H[H["Plane"]=162]="Plane",H[H["Calendar"]=163]="Calendar",H[H["Random"]=164]="Random",H[H["Comment"]=165]="Comment",H[H["Magnet"]=166]="Magnet",H[H["ChevronUp"]=167]="ChevronUp",H[H["ChevronDown"]=168]="ChevronDown",H[H["Retweet"]=169]="Retweet",H[H["ShoppingCart"]=170]="ShoppingCart",H[H["Folder"]=171]="Folder",H[H["FolderOpen"]=172]="FolderOpen",H[H["ArrowsV"]=173]="ArrowsV",H[H["ArrowsH"]=174]="ArrowsH",H[H["BarChart"]=175]="BarChart",H[H["TwitterSquare"]=176]="TwitterSquare",H[H["FacebookSquare"]=177]="FacebookSquare",H[H["CameraRetro"]=178]="CameraRetro",H[H["Key"]=179]="Key",H[H["Cogs"]=180]="Cogs",H[H["Comments"]=181]="Comments",H[H["ThumbsOUp"]=182]="ThumbsOUp",H[H["ThumbsODown"]=183]="ThumbsODown",H[H["HeartO"]=184]="HeartO",H[H["SignOut"]=185]="SignOut",H[H["LinkedinSquare"]=186]="LinkedinSquare",H[H["ThumbTack"]=187]="ThumbTack",H[H["ExternalLink"]=188]="ExternalLink",H[H["SignIn"]=189]="SignIn",H[H["Trophy"]=190]="Trophy",H[H["GithubSquare"]=191]="GithubSquare",H[H["Upload"]=192]="Upload",H[H["LemonO"]=193]="LemonO",H[H["SquareO"]=194]="SquareO",H[H["BookmarkO"]=195]="BookmarkO",H[H["PhoneSquare"]=196]="PhoneSquare",H[H["Twitter"]=197]="Twitter",H[H["Facebook"]=198]="Facebook",H[H["Github"]=199]="Github",H[H["Unlock"]=200]="Unlock",H[H["CreditCard"]=201]="CreditCard",H[H["Rss"]=202]="Rss",H[H["HddO"]=203]="HddO",H[H["Bullhorn"]=204]="Bullhorn",H[H["Bell"]=205]="Bell",H[H["Certificate"]=206]="Certificate",H[H["HandORight"]=207]="HandORight",H[H["HandOLeft"]=208]="HandOLeft",H[H["HandOUp"]=209]="HandOUp",H[H["HandODown"]=210]="HandODown",H[H["ArrowCircleLeft"]=211]="ArrowCircleLeft",H[H["ArrowCircleRight"]=212]="ArrowCircleRight",H[H["ArrowCircleUp"]=213]="ArrowCircleUp",H[H["ArrowCircleDown"]=214]="ArrowCircleDown",H[H["Globe"]=215]="Globe",H[H["Wrench"]=216]="Wrench",H[H["Tasks"]=217]="Tasks",H[H["Filter"]=218]="Filter",H[H["Briefcase"]=219]="Briefcase",H[H["ArrowsAlt"]=220]="ArrowsAlt",H[H["Users"]=221]="Users",H[H["Link"]=222]="Link",H[H["Cloud"]=223]="Cloud",H[H["Flask"]=224]="Flask",H[H["Scissors"]=225]="Scissors",H[H["FilesO"]=226]="FilesO",H[H["Paperclip"]=227]="Paperclip",H[H["FloppyO"]=228]="FloppyO",H[H["Square"]=229]="Square",H[H["Bars"]=230]="Bars",H[H["ListUl"]=231]="ListUl",H[H["ListOl"]=232]="ListOl",H[H["Strikethrough"]=233]="Strikethrough",H[H["Underline"]=234]="Underline",H[H["Table"]=235]="Table",H[H["Magic"]=236]="Magic",H[H["Pinterest"]=237]="Pinterest",H[H["PinterestSquare"]=238]="PinterestSquare",H[H["GooglePlusSquare"]=239]="GooglePlusSquare",H[H["GooglePlus"]=240]="GooglePlus",H[H["Money"]=241]="Money",H[H["CaretDown"]=242]="CaretDown",H[H["CaretUp"]=243]="CaretUp",H[H["CaretLeft"]=244]="CaretLeft",H[H["CaretRight"]=245]="CaretRight",H[H["Columns"]=246]="Columns",H[H["Sort"]=247]="Sort",H[H["SortDesc"]=248]="SortDesc",H[H["SortAsc"]=249]="SortAsc",H[H["Envelope"]=250]="Envelope",H[H["Linkedin"]=251]="Linkedin",H[H["Undo"]=252]="Undo",H[H["Gavel"]=253]="Gavel",H[H["Tachometer"]=254]="Tachometer",H[H["CommentO"]=255]="CommentO",H[H["CommentsO"]=256]="CommentsO",H[H["Bolt"]=257]="Bolt",H[H["Sitemap"]=258]="Sitemap",H[H["Umbrella"]=259]="Umbrella",H[H["Clipboard"]=260]="Clipboard",H[H["LightbulbO"]=261]="LightbulbO",H[H["Exchange"]=262]="Exchange",H[H["CloudDownload"]=263]="CloudDownload",H[H["CloudUpload"]=264]="CloudUpload",H[H["UserMd"]=265]="UserMd",H[H["Stethoscope"]=266]="Stethoscope",H[H["Suitcase"]=267]="Suitcase",H[H["BellO"]=268]="BellO",H[H["Coffee"]=269]="Coffee",H[H["Cutlery"]=270]="Cutlery",H[H["FileTextO"]=271]="FileTextO",H[H["BuildingO"]=272]="BuildingO",H[H["HospitalO"]=273]="HospitalO",H[H["Ambulance"]=274]="Ambulance",H[H["Medkit"]=275]="Medkit",H[H["FighterJet"]=276]="FighterJet",H[H["Beer"]=277]="Beer",H[H["HSquare"]=278]="HSquare",H[H["PlusSquare"]=279]="PlusSquare",H[H["AngleDoubleLeft"]=280]="AngleDoubleLeft",H[H["AngleDoubleRight"]=281]="AngleDoubleRight",H[H["AngleDoubleUp"]=282]="AngleDoubleUp",H[H["AngleDoubleDown"]=283]="AngleDoubleDown",H[H["AngleLeft"]=284]="AngleLeft",H[H["AngleRight"]=285]="AngleRight",H[H["AngleUp"]=286]="AngleUp",H[H["AngleDown"]=287]="AngleDown",H[H["Desktop"]=288]="Desktop",H[H["Laptop"]=289]="Laptop",H[H["Tablet"]=290]="Tablet",H[H["CircleO"]=291]="CircleO",H[H["QuoteLeft"]=292]="QuoteLeft",H[H["QuoteRight"]=293]="QuoteRight",H[H["Spinner"]=294]="Spinner",H[H["Reply"]=295]="Reply",H[H["GithubAlt"]=296]="GithubAlt",H[H["FolderO"]=297]="FolderO",H[H["FolderOpenO"]=298]="FolderOpenO",H[H["SmileO"]=299]="SmileO",H[H["FrownO"]=300]="FrownO",H[H["MehO"]=301]="MehO",H[H["Gamepad"]=302]="Gamepad",H[H["KeyboardO"]=303]="KeyboardO",H[H["FlagO"]=304]="FlagO",H[H["FlagCheckered"]=305]="FlagCheckered",H[H["Terminal"]=306]="Terminal",H[H["Code"]=307]="Code",H[H["ReplyAll"]=308]="ReplyAll",H[H["StarHalfO"]=309]="StarHalfO",H[H["LocationArrow"]=310]="LocationArrow",H[H["Crop"]=311]="Crop",H[H["CodeFork"]=312]="CodeFork",H[H["ChainBroken"]=313]="ChainBroken",H[H["Question"]=314]="Question",H[H["Info"]=315]="Info",H[H["Superscript"]=316]="Superscript",H[H["Subscript"]=317]="Subscript",H[H["Eraser"]=318]="Eraser",H[H["PuzzlePiece"]=319]="PuzzlePiece",H[H["Microphone"]=320]="Microphone",H[H["MicrophoneSlash"]=321]="MicrophoneSlash",H[H["Shield"]=322]="Shield",H[H["CalendarO"]=323]="CalendarO",H[H["FireExtinguisher"]=324]="FireExtinguisher",H[H["Rocket"]=325]="Rocket",H[H["Maxcdn"]=326]="Maxcdn",H[H["ChevronCircleLeft"]=327]="ChevronCircleLeft",H[H["ChevronCircleRight"]=328]="ChevronCircleRight",H[H["ChevronCircleUp"]=329]="ChevronCircleUp",H[H["ChevronCircleDown"]=330]="ChevronCircleDown",H[H["Html5"]=331]="Html5",H[H["Css3"]=332]="Css3",H[H["Anchor"]=333]="Anchor",H[H["UnlockAlt"]=334]="UnlockAlt",H[H["Bullseye"]=335]="Bullseye",H[H["EllipsisH"]=336]="EllipsisH",H[H["EllipsisV"]=337]="EllipsisV",H[H["RssSquare"]=338]="RssSquare",H[H["PlayCircle"]=339]="PlayCircle",H[H["Ticket"]=340]="Ticket",H[H["MinusSquare"]=341]="MinusSquare",H[H["InusSquareO"]=342]="InusSquareO",H[H["LevelUp"]=343]="LevelUp",H[H["LevelDown"]=344]="LevelDown",H[H["CheckSquare"]=345]="CheckSquare",H[H["PencilSquare"]=346]="PencilSquare",H[H["ExternalLinkSquare"]=347]="ExternalLinkSquare",H[H["ShareSquare"]=348]="ShareSquare",H[H["Compass"]=349]="Compass",H[H["CaretSquareODown"]=350]="CaretSquareODown",H[H["CaretSquareOUp"]=351]="CaretSquareOUp",H[H["CaretSquareORight"]=352]="CaretSquareORight",H[H["Eur"]=353]="Eur",H[H["Gbp"]=354]="Gbp",H[H["Usd"]=355]="Usd",H[H["Inr"]=356]="Inr",H[H["Jpy"]=357]="Jpy",H[H["Rub"]=358]="Rub",H[H["Krw"]=359]="Krw",H[H["Btc"]=360]="Btc",H[H["File"]=361]="File",H[H["FileText"]=362]="FileText",H[H["SortAlphaAsc"]=363]="SortAlphaAsc",H[H["SortAlphaDesc"]=364]="SortAlphaDesc",H[H["SortAmountAsc"]=365]="SortAmountAsc",H[H["SortAmountDesc"]=366]="SortAmountDesc",H[H["SortNumericAsc"]=367]="SortNumericAsc",H[H["SortNumericDesc"]=368]="SortNumericDesc",H[H["ThumbsUp"]=369]="ThumbsUp",H[H["ThumbsDown"]=370]="ThumbsDown",H[H["YoutubeSquare"]=371]="YoutubeSquare",H[H["Youtube"]=372]="Youtube",H[H["Xing"]=373]="Xing",H[H["XingSquare"]=374]="XingSquare",H[H["YoutubePlay"]=375]="YoutubePlay",H[H["Dropbox"]=376]="Dropbox",H[H["StackOverflow"]=377]="StackOverflow",H[H["Instagram"]=378]="Instagram",H[H["Flickr"]=379]="Flickr",H[H["Adn"]=380]="Adn",H[H["Bitbucket"]=381]="Bitbucket",H[H["BitbucketSquare"]=382]="BitbucketSquare",H[H["Tumblr"]=383]="Tumblr",H[H["TumblrSquare"]=384]="TumblrSquare",H[H["LongArrowDown"]=385]="LongArrowDown",H[H["LongArrowUp"]=386]="LongArrowUp",H[H["LongArrowLeft"]=387]="LongArrowLeft",H[H["LongArrowRight"]=388]="LongArrowRight",H[H["Apple"]=389]="Apple",H[H["Windows"]=390]="Windows",H[H["Android"]=391]="Android",H[H["Linux"]=392]="Linux",H[H["Dribbble"]=393]="Dribbble",H[H["Skype"]=394]="Skype",H[H["Foursquare"]=395]="Foursquare",H[H["Trello"]=396]="Trello",H[H["Female"]=397]="Female",H[H["Male"]=398]="Male",H[H["Gratipay"]=399]="Gratipay",H[H["SunO"]=400]="SunO",H[H["MoonO"]=401]="MoonO",H[H["Archive"]=402]="Archive",H[H["Bug"]=403]="Bug",H[H["Vk"]=404]="Vk",H[H["Weibo"]=405]="Weibo",H[H["Renren"]=406]="Renren",H[H["Pagelines"]=407]="Pagelines",H[H["StackExchange"]=408]="StackExchange",H[H["ArrowCircleORight"]=409]="ArrowCircleORight",H[H["ArrowCircleOLeft"]=410]="ArrowCircleOLeft",H[H["CaretSquareOLeft"]=411]="CaretSquareOLeft",H[H["DotCircleO"]=412]="DotCircleO",H[H["Wheelchair"]=413]="Wheelchair",H[H["VimeoSquare"]=414]="VimeoSquare",H[H["Try"]=415]="Try",H[H["PlusSquareO"]=416]="PlusSquareO",H[H["SpaceShuttle"]=417]="SpaceShuttle",H[H["Slack"]=418]="Slack",H[H["EnvelopeSquare"]=419]="EnvelopeSquare",H[H["Wordpress"]=420]="Wordpress",H[H["Openid"]=421]="Openid",H[H["University"]=422]="University",H[H["GraduationCap"]=423]="GraduationCap",H[H["Yahoo"]=424]="Yahoo",H[H["Google"]=425]="Google",H[H["Reddit"]=426]="Reddit",H[H["RedditSquare"]=427]="RedditSquare",H[H["StumbleuponCircle"]=428]="StumbleuponCircle",H[H["Stumbleupon"]=429]="Stumbleupon",H[H["Delicious"]=430]="Delicious",H[H["Digg"]=431]="Digg",H[H["PiedPiper"]=432]="PiedPiper",H[H["PiedPiperAlt"]=433]="PiedPiperAlt",H[H["Drupal"]=434]="Drupal",H[H["Joomla"]=435]="Joomla",H[H["Language"]=436]="Language",H[H["Fax"]=437]="Fax",H[H["Building"]=438]="Building",H[H["Child"]=439]="Child",H[H["Paw"]=440]="Paw",H[H["Spoon"]=441]="Spoon",H[H["Cube"]=442]="Cube",H[H["Cubes"]=443]="Cubes",H[H["Behance"]=444]="Behance",H[H["BehanceSquare"]=445]="BehanceSquare",H[H["Steam"]=446]="Steam",H[H["SteamSquare"]=447]="SteamSquare",H[H["Recycle"]=448]="Recycle",H[H["Car"]=449]="Car",H[H["Taxi"]=450]="Taxi",H[H["Tree"]=451]="Tree",H[H["Spotify"]=452]="Spotify",H[H["Deviantart"]=453]="Deviantart",H[H["Soundcloud"]=454]="Soundcloud",H[H["Database"]=455]="Database",H[H["FilePdfO"]=456]="FilePdfO",H[H["FileWordO"]=457]="FileWordO",H[H["FileExcelO"]=458]="FileExcelO",H[H["FilePowerpointO"]=459]="FilePowerpointO",H[H["FileImageO"]=460]="FileImageO",H[H["FileArchiveO"]=461]="FileArchiveO",H[H["FileAudioO"]=462]="FileAudioO",H[H["FileVideoO"]=463]="FileVideoO",H[H["FileCodeO"]=464]="FileCodeO",H[H["Vine"]=465]="Vine",H[H["Codepen"]=466]="Codepen",H[H["Jsfiddle"]=467]="Jsfiddle",H[H["LifeRing"]=468]="LifeRing",H[H["CircleONotch"]=469]="CircleONotch",H[H["Rebel"]=470]="Rebel",H[H["Empire"]=471]="Empire",H[H["GitSquare"]=472]="GitSquare",H[H["Git"]=473]="Git",H[H["HackerNews"]=474]="HackerNews",H[H["TencentWeibo"]=475]="TencentWeibo",H[H["Qq"]=476]="Qq",H[H["Weixin"]=477]="Weixin",H[H["PaperPlane"]=478]="PaperPlane",H[H["PaperPlaneO"]=479]="PaperPlaneO",H[H["History"]=480]="History",H[H["CircleThin"]=481]="CircleThin",H[H["Header"]=482]="Header",H[H["Paragraph"]=483]="Paragraph",H[H["Sliders"]=484]="Sliders",H[H["ShareAlt"]=485]="ShareAlt",H[H["ShareAltSquare"]=486]="ShareAltSquare",H[H["Bomb"]=487]="Bomb",H[H["FutbolO"]=488]="FutbolO",H[H["Tty"]=489]="Tty",H[H["Binoculars"]=490]="Binoculars",H[H["Plug"]=491]="Plug",H[H["Slideshare"]=492]="Slideshare",H[H["Twitch"]=493]="Twitch",H[H["Yelp"]=494]="Yelp",H[H["NewspaperO"]=495]="NewspaperO",H[H["Wifi"]=496]="Wifi",H[H["Calculator"]=497]="Calculator",H[H["Paypal"]=498]="Paypal",H[H["GoogleWallet"]=499]="GoogleWallet",H[H["CcVisa"]=500]="CcVisa",H[H["CcMastercard"]=501]="CcMastercard",H[H["CcDiscover"]=502]="CcDiscover",H[H["CcAmex"]=503]="CcAmex",H[H["CcPaypal"]=504]="CcPaypal",H[H["CcStripe"]=505]="CcStripe",H[H["BellSlash"]=506]="BellSlash",H[H["BellSlashO"]=507]="BellSlashO",H[H["Trash"]=508]="Trash",H[H["Copyright"]=509]="Copyright",H[H["At"]=510]="At",H[H["Eyedropper"]=511]="Eyedropper",H[H["PaintBrush"]=512]="PaintBrush",H[H["BirthdayCake"]=513]="BirthdayCake",H[H["AreaChart"]=514]="AreaChart",H[H["PieChart"]=515]="PieChart",H[H["LineChart"]=516]="LineChart",H[H["Lastfm"]=517]="Lastfm",H[H["LastfmSquare"]=518]="LastfmSquare",H[H["ToggleOff"]=519]="ToggleOff",H[H["ToggleOn"]=520]="ToggleOn",H[H["Bicycle"]=521]="Bicycle",H[H["Bus"]=522]="Bus",H[H["Ioxhost"]=523]="Ioxhost",H[H["Angellist"]=524]="Angellist",H[H["Cc"]=525]="Cc",H[H["Ils"]=526]="Ils",H[H["Meanpath"]=527]="Meanpath",H[H["Buysellads"]=528]="Buysellads",H[H["Connectdevelop"]=529]="Connectdevelop",H[H["Dashcube"]=530]="Dashcube",H[H["Forumbee"]=531]="Forumbee",H[H["Leanpub"]=532]="Leanpub",H[H["Sellsy"]=533]="Sellsy",H[H["Shirtsinbulk"]=534]="Shirtsinbulk",H[H["Simplybuilt"]=535]="Simplybuilt",H[H["Skyatlas"]=536]="Skyatlas",H[H["CartPlus"]=537]="CartPlus",H[H["CartArrowDown"]=538]="CartArrowDown",H[H["Diamond"]=539]="Diamond",H[H["Ship"]=540]="Ship",H[H["UserSecret"]=541]="UserSecret",H[H["Motorcycle"]=542]="Motorcycle",H[H["StreetView"]=543]="StreetView",H[H["Heartbeat"]=544]="Heartbeat",H[H["Venus"]=545]="Venus",H[H["Mars"]=546]="Mars",H[H["Mercury"]=547]="Mercury",H[H["Transgender"]=548]="Transgender",H[H["TransgenderAlt"]=549]="TransgenderAlt",H[H["VenusDouble"]=550]="VenusDouble",H[H["MarsDouble"]=551]="MarsDouble",H[H["VenusMars"]=552]="VenusMars",H[H["MarsStroke"]=553]="MarsStroke",H[H["MarsStrokeV"]=554]="MarsStrokeV",H[H["MarsStrokeH"]=555]="MarsStrokeH",H[H["Neuter"]=556]="Neuter",H[H["Genderless"]=557]="Genderless",H[H["FacebookOfficial"]=558]="FacebookOfficial",H[H["PinterestP"]=559]="PinterestP",H[H["Whatsapp"]=560]="Whatsapp",H[H["Server"]=561]="Server",H[H["UserPlus"]=562]="UserPlus",H[H["UserTimes"]=563]="UserTimes",H[H["Bed"]=564]="Bed",H[H["Viacoin"]=565]="Viacoin",H[H["Train"]=566]="Train",H[H["Subway"]=567]="Subway",H[H["Medium"]=568]="Medium",H[H["YCombinator"]=569]="YCombinator",H[H["OptinMonster"]=570]="OptinMonster",H[H["Opencart"]=571]="Opencart",H[H["Expeditedssl"]=572]="Expeditedssl",H[H["BatteryFull"]=573]="BatteryFull",H[H["BatteryThreeQuarters"]=574]="BatteryThreeQuarters",H[H["BatteryHalf"]=575]="BatteryHalf",H[H["BatteryQuarter"]=576]="BatteryQuarter",H[H["BatteryEmpty"]=577]="BatteryEmpty",H[H["MousePointer"]=578]="MousePointer",H[H["ICursor"]=579]="ICursor",H[H["ObjectGroup"]=580]="ObjectGroup",H[H["ObjectUngroup"]=581]="ObjectUngroup",H[H["StickyNote"]=582]="StickyNote",H[H["StickyNoteO"]=583]="StickyNoteO",H[H["CcJcb"]=584]="CcJcb",H[H["CcDinersClub"]=585]="CcDinersClub",H[H["Clone"]=586]="Clone",H[H["BalanceScale"]=587]="BalanceScale",H[H["HourglassO"]=588]="HourglassO",H[H["HourglassStart"]=589]="HourglassStart",H[H["HourglassHalf"]=590]="HourglassHalf",H[H["HourglassEnd"]=591]="HourglassEnd",H[H["Hourglass"]=592]="Hourglass",H[H["HandRockO"]=593]="HandRockO",H[H["HandPaperO"]=594]="HandPaperO",H[H["HandScissorsO"]=595]="HandScissorsO",H[H["HandLizardO"]=596]="HandLizardO",H[H["HandSpockO"]=597]="HandSpockO",H[H["HandPointerO"]=598]="HandPointerO",H[H["HandPeaceO"]=599]="HandPeaceO",H[H["Trademark"]=600]="Trademark",H[H["Registered"]=601]="Registered",H[H["CreativeCommons"]=602]="CreativeCommons",H[H["Gg"]=603]="Gg",H[H["GgCircle"]=604]="GgCircle",H[H["Tripadvisor"]=605]="Tripadvisor",H[H["Odnoklassniki"]=606]="Odnoklassniki",H[H["OdnoklassnikiSquare"]=607]="OdnoklassnikiSquare",H[H["GetPocket"]=608]="GetPocket",H[H["WikipediaW"]=609]="WikipediaW",H[H["Safari"]=610]="Safari",H[H["Chrome"]=611]="Chrome",H[H["Firefox"]=612]="Firefox",H[H["Opera"]=613]="Opera",H[H["InternetExplorer"]=614]="InternetExplorer",H[H["Television"]=615]="Television",H[H["Contao"]=616]="Contao",H[H["Px500"]=617]="Px500",H[H["Amazon"]=618]="Amazon",H[H["CalendarPlusO"]=619]="CalendarPlusO",H[H["CalendarMinusO"]=620]="CalendarMinusO",H[H["CalendarTimesO"]=621]="CalendarTimesO",H[H["CalendarCheckO"]=622]="CalendarCheckO",H[H["Industry"]=623]="Industry",H[H["MapPin"]=624]="MapPin",H[H["MapSigns"]=625]="MapSigns",H[H["MapO"]=626]="MapO",H[H["Map"]=627]="Map",H[H["Commenting"]=628]="Commenting",H[H["CommentingO"]=629]="CommentingO",H[H["Houzz"]=630]="Houzz",H[H["Vimeo"]=631]="Vimeo",H[H["BlackTie"]=632]="BlackTie",H[H["Fonticons"]=633]="Fonticons";let Ar=Ae.bn.Font,xr=Ae.bn.ContentAlignment,Dr=Ae.al.StiFontIcons;{let C=class{constructor(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b,y,v,w){this.textEnabled=!1,this.text="Text",this.textFont=new Ar("Arial",36),this.textColor=C.defaultTextColor,this.textAngle=45,this.imageEnabled=!1,this.imageBytes_=null,this.imageMultipleFactor=1,this._imageTransparency=0,this.imageAlignment=xr.MiddleCenter,this.imageTiling=!1,this.imageStretch=!1,this.imageAspectRatio=!1,this.weaveEnabled=!1,this.weaveMajorIcon=Dr.Star,this.weaveMajorSize_=20,this.weaveMajorColor=C.defaultWeaveMajorColor,this.weaveMinorIcon=null,this.weaveMinorSize_=10,this.weaveMinorColor=C.defaultWeaveMinorColor,this.weaveAngle_=30,this.weaveDistance_=100,null!=t&&(this.textEnabled=t),null!=t&&(this.text=e),null!=t&&(this.textColor=r),null!=t&&(this.textAngle=i),null!=t&&(this.textFont=n),null!=t&&(this.imageEnabled=a),null!=t&&(this.imageBytes=s),null!=t&&(this.imageMultipleFactor=o),null!=t&&(this.imageTransparency=l),null!=t&&(this.imageAlignment=u),null!=t&&(this.imageTiling=h),null!=t&&(this.imageStretch=c),null!=t&&(this.imageAspectRatio=d),null!=t&&(this.weaveEnabled=m),null!=t&&(this.weaveMajorIcon=p),null!=t&&(this.weaveMajorSize=g),null!=t&&(this.weaveMajorColor=f),null!=t&&(this.weaveMinorIcon=S),null!=t&&(this.weaveMinorSize=b),null!=t&&(this.weaveMinorColor=y),null!=t&&(this.weaveAngle=v),null!=t&&(this.weaveDistance=w)}saveToJsonObject(t){let e=new Ae.d.StiJson;if(e.addPropertyBool("TextEnabled",this.textEnabled),"Text"!=this.text&&e.addPropertyStringNullOrEmpty("Text",this.text),e.addPropertyStringNullOrEmpty("TextFont",Ae.Y.Serialize.font(this.textFont,"Arial",36)),e.addPropertyStringNullOrEmpty("TextColor",Ae.Y.Serialize.jColor(this.textColor,C.defaultTextColor)),e.addPropertyNumber("TextAngle",this.textAngle,45),e.addPropertyBool("ImageEnabled",this.imageEnabled),this.existImage()&&e.addPropertyStringNullOrEmpty("ImageBytes",Ae.S.StiImageConverter.imageToString(this.image)),e.addPropertyNumber("ImageMultipleFactor",this.imageMultipleFactor,1),e.addPropertyNumber("ImageTransparency",this.imageTransparency),e.addPropertyEnum("ImageAlignment",xr,this.imageAlignment,xr.MiddleCenter),e.addPropertyBool("ImageTiling",this.imageTiling),e.addPropertyBool("ImageStretch",this.imageStretch),e.addPropertyBool("ImageAspectRatio",this.imageAspectRatio),e.addPropertyBool("WeaveEnabled",this.weaveEnabled),e.addPropertyEnum("WeaveMajorIcon",Dr,this.weaveMajorIcon,Dr.Star),e.addPropertyNumber("WeaveMajorSize",this.weaveMajorSize,20),e.addPropertyStringNullOrEmpty("WeaveMajorColor",Ae.Y.Serialize.jColor(this.weaveMajorColor,C.defaultWeaveMajorColor)),null!=this.weaveMinorIcon&&e.addPropertyEnum("WeaveMinorIcon",Dr,this.weaveMinorIcon),e.addPropertyNumber("WeaveMinorSize",this.weaveMinorSize,10),e.addPropertyStringNullOrEmpty("WeaveMinorColor",Ae.Y.Serialize.jColor(this.weaveMinorColor,C.defaultWeaveMinorColor)),e.addPropertyNumber("WeaveAngle",this.weaveAngle,30),e.addPropertyNumber("WeaveDistance",this.weaveDistance,100),0==e.count)return null;return e}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"TextEnabled":this.textEnabled=e.value.stimulsoft().toBoolean();break;case"Text":this.text=e.value;break;case"TextFont":this.textFont=Ae.Y.Deserialize.font(e.value,this.textFont);break;case"TextColor":this.textColor=Ae.Y.Deserialize.color(e.value);break;case"TextAngle":this.textAngle=e.value.stimulsoft().toNumber();break;case"ImageEnabled":this.imageEnabled=e.value.stimulsoft().toBoolean();break;case"ImageBytes":this.putImage(Ae.S.StiImageConverter.stringToImage(e.value));break;case"ImageMultipleFactor":this.imageMultipleFactor=e.value.stimulsoft().toNumber();break;case"ImageTransparency":this.imageTransparency=e.value.stimulsoft().toNumber();break;case"ImageAlignment":this.imageAlignment=Zt.parse(xr,e.value);break;case"ImageTiling":this.imageTiling=e.value.stimulsoft().toBoolean();break;case"ImageStretch":this.imageStretch=e.value.stimulsoft().toBoolean();break;case"ImageAspectRatio":this.imageAspectRatio=e.value.stimulsoft().toBoolean();break;case"WeaveEnabled":this.weaveEnabled=e.value.stimulsoft().toBoolean();break;case"WeaveMajorIcon":this.weaveMajorIcon=Zt.parse(Dr,e.value.toString());break;case"WeaveMajorSize":this.weaveMajorSize=e.value.stimulsoft().toNumber();break;case"WeaveMajorColor":this.weaveMajorColor=Ae.Y.Deserialize.color(e.value);break;case"WeaveMinorIcon":this.weaveMinorIcon=Zt.parse(Dr,e.value.toString());break;case"WeaveMinorSize":this.weaveMinorSize=e.value.stimulsoft().toNumber();break;case"WeaveMinorColor":this.weaveMinorColor=Ae.Y.Deserialize.color(e.value);break;case"WeaveAngle":this.weaveAngle=e.value.stimulsoft().toNumber();break;case"WeaveDistance":this.weaveDistance=e.value.stimulsoft().toNumber();break}}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"TextEnabled":this.textEnabled=t.textContent.stimulsoft().toBoolean();break;case"Text":this.text=t.textContent;break;case"TextFont":this.textFont=Ae.b.Convert.toFont(t.textContent);break;case"TextColor":this.textColor=Ae.bl.StiReportObjectStringConverter.convertStringToColor(t.textContent);break;case"TextAngle":this.textAngle=t.textContent.stimulsoft().toNumber();break;case"ImageEnabled":this.imageEnabled=t.textContent.stimulsoft().toBoolean();break;case"ImageBytes":this.putImage(Ae.S.StiImageConverter.stringToImage(t.textContent));break;case"ImageMultipleFactor":this.imageMultipleFactor=t.textContent.stimulsoft().toNumber();break;case"ImageTransparency":this.imageTransparency=t.textContent.stimulsoft().toNumber();break;case"ImageAlignment":this.imageAlignment=Zt.parse(xr,t.textContent);break;case"ImageTiling":this.imageTiling=t.textContent.stimulsoft().toBoolean();break;case"ImageStretch":this.imageStretch=t.textContent.stimulsoft().toBoolean();break;case"ImageAspectRatio":this.imageAspectRatio=t.textContent.stimulsoft().toBoolean();break;case"WeaveEnabled":this.weaveEnabled=t.textContent.stimulsoft().toBoolean();break;case"WeaveMajorIcon":this.weaveMajorIcon=Zt.parse(Dr,t.textContent);break;case"WeaveMajorSize":this.weaveMajorSize=t.textContent.stimulsoft().toNumber();break;case"WeaveMajorColor":this.weaveMajorColor=Ae.bl.StiReportObjectStringConverter.convertStringToColor(t.textContent);break;case"WeaveMinorIcon":this.weaveMinorIcon=Zt.parse(Dr,t.textContent);break;case"WeaveMinorSize":this.weaveMinorSize=t.textContent.stimulsoft().toNumber();break;case"WeaveMinorColor":this.weaveMinorColor=Ae.bl.StiReportObjectStringConverter.convertStringToColor(t.textContent);break;case"WeaveAngle":this.weaveAngle=t.textContent.stimulsoft().toNumber();break;case"WeaveDistance":this.weaveDistance=t.textContent.stimulsoft().toNumber();break}}}clone(){let t=this.stimulsoft().memberwiseClone();return t.textFont=this.textFont.clone(),t}isDefault(){return!this.textEnabled&&"Text"==this.text&&!this.shouldSerializeTextFont()&&this.textColor.equals(C.defaultTextColor)&&45==this.textAngle&&!this.imageEnabled&&null==this.imageBytes&&1==this.imageMultipleFactor&&0==this.imageTransparency&&this.imageAlignment==xr.MiddleCenter&&!this.imageTiling&&!this.imageStretch&&!this.imageAspectRatio&&!this.weaveEnabled&&this.weaveMajorIcon==Dr.Star&&20==this.weaveMajorSize&&this.weaveMajorColor.equals(C.defaultWeaveMajorColor)&&null==this.weaveMinorIcon&&10==this.weaveMinorSize&&this.weaveMinorColor.equals(C.defaultWeaveMinorColor)&&30==this.weaveAngle&&100==this.weaveDistance}get isVisible(){return this.textEnabled&&!De.isNullOrEmpty(this.text)||this.imageEnabled&&null!=this.imageBytes||this.weaveEnabled&&(null!=this.weaveMajorIcon||null!=this.weaveMajorIcon)}shouldSerializeTextFont(){return!(null!=this.textFont&&"Arial"==this.textFont.name&&36==this.textFont.sizeInPoints&&this.textFont.style==se.Regular)}shouldSerializeTextColor(){return!this.textColor.equals(C.defaultTextColor)}get image(){return this.takeGdiImage()}set image(t){this.putImage(t)}get imageBytes(){return this.imageBytes_}set imageBytes(t){this.imageBytes_!=t&&(this.imageBytes_=t,this.disposeCachedImage(),this.putImage2(t))}get imageTransparency(){return this._imageTransparency}set imageTransparency(t){(t=Math.max(0,Math.min(t,255)))!=this._imageTransparency&&(this._imageTransparency=t,this.disposeCachedImage())}get weaveMajorSize(){return this.weaveMajorSize_}set weaveMajorSize(t){this.weaveMajorSize_!=t&&(this.weaveMajorSize_=t=30<(t=t<5?5:t)?30:t)}shouldSerializeWeaveMajorColor(){return!this.weaveMajorColor.equals(C.defaultWeaveMajorColor)}get weaveMinorSize(){return this.weaveMinorSize_}set weaveMinorSize(t){this.weaveMinorSize_!=t&&(this.weaveMinorSize_=t=30<(t=t<5?5:t)?30:t)}shouldSerializeWeaveMinorColor(){return!this.weaveMinorColor.equals(C.defaultWeaveMinorColor)}get weaveAngle(){return this.weaveAngle_}set weaveAngle(t){this.weaveAngle_!=t&&(this.weaveAngle_=t=360<(t=t<0?0:t)?360:t)}get weaveDistance(){return this.weaveDistance_}set weaveDistance(t){this.weaveDistance_!=t&&(this.weaveDistance_=t=200<(t=t<50?50:t)?200:t)}getCachedImage(){return this.cachedImage}putCachedImage(t){this.cachedImage=t}disposeCachedImage(){this.cachedImage=null}existImage(){return null!=this.imageBytes}takeImage(){return this.imageBytes}takeGdiImage(){return this.existImage()?Ae.S.StiImageConverter.bytesToImage(this.imageBytes):null}putImage(t){this.imageBytes=Ae.S.StiImageConverter.imageToBytes(t,!0)}putImage2(t){this.imageBytes=t}resetImage(){this.imageBytes=null}};C.defaultWeaveMajorColor=Ae.S.StiColor.get("#77777777"),C.defaultWeaveMinorColor=Ae.S.StiColor.get("#55777777"),C.defaultTextColor=Fe.gray,Ae.S.StiAdvancedWatermark=C}Ae.S.StiAlignHelper=class{static alignToGrid(t,e,r){return r?Math.round(t/e)*e:t}static alignToGrid2(t,e,r){if(r)return new Tr(Math.round(t.x/e)*e,Math.round(t.y/e)*e,Math.round(t.width/e)*e,Math.round(t.height/e)*e);return t}};{let e=class{constructor(t=Fe.black,e=1,r=Ae.S.StiPenStyle.None){this.side=Ae.S.StiBorderSides.None,this._color=Fe.black,this._size=1,this._style=Ae.S.StiPenStyle.None,this._color=t,this._size=e,this._style=r}implements(){return[Jt]}clone(){return new e(this._color,this._size,this._style)}equals(t){if(null==t)return!1;if(this==t)return!0;var t=t.stimulsoft().as(e);return null!=t&&this._size==t._size&&this._color.equals(t._color)&&this.side==t.side&&this._style==t._style}getHashCode(){var t=this._size.stimulsoft().getHashCode(),t;return t=397*(t=397*(t=397*t^this._color.stimulsoft().getHashCode())^this.side)^this._style,Math.abs(t)}getSizeOffset(){if(this.style==Ae.S.StiPenStyle.None)return 0;if(this.style==Ae.S.StiPenStyle.Double)return 1;return this.size/2}get color(){return this._color}set color(t){this._color=t}get size(){return this._size}set size(t){this._size=t}get style(){return this._style}set style(t){this._style=t}isDefault(){return this.color.equals(Fe.black)&&1==this.size&&this.style==Ae.S.StiPenStyle.None}};Ae.S.StiBorderSide=e}Ae.S.StiCap=class{constructor(t=10,e=Ae.S.StiCapStyle.None,r=10,i=!0,n=Fe.black){this.width=10,this.style=Ae.S.StiCapStyle.None,this.height=10,this.fill=!0,this.color=Fe.black,this.width=t,this.style=e,this.height=r,this.fill=i,this.color=n}implements(){return[Jt]}clone(){let t=this.stimulsoft().memberwiseClone();return t.width=this.width,t.height=this.height,t.style=this.style,t.fill=this.fill,t.color=this.color,t}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"Width":this.width=t.textContent.stimulsoft().toNumber();break;case"Style":this.style=Zt.parse(Ae.S.StiCapStyle,t.textContent);break;case"Height":this.height=t.textContent.stimulsoft().toNumber();break;case"Fill":this.fill=t.textContent.stimulsoft().toBoolean();break;case"Color":this.color=Cr.convertStringToColor(t.textContent);break}}}},Ae.S.StiColorUtils=class{static changeLightness(t,e){let r=t.r,i=t.g,n=t.b;return e<0?(e=1+e,r*=e,i*=e,n*=e):(r=(255-r)*e+r,i=(255-i)*e+i,n=(255-n)*e+n),Fe.fromArgb(t.a,Math.round(r),Math.round(i),Math.round(n))}static changeDarkness(t,e){return this.changeLightness(t,-1*e)}static light(t,e){let r=t.r,i=t.g,n=t.b;return 255<r+e?r=255:r+=e,255<i+e?i=255:i+=e,255<n+e?n=255:n+=e,Fe.fromArgb(r,i,n)}static mixingColors(t,e,r){var i=e.r*r/255+t.r*(255-r)/255,n=e.g*r/255+t.g*(255-r)/255,r=e.b*r/255+t.b*(255-r)/255;return Fe.fromArgb(255,i,n,r)}static dark(t,e){let r=t.r,i=t.g,n=t.b;return r-e<0?r=0:r-=e,i-e<0?i=0:i-=e,n-e<0?n=0:n-=e,Fe.fromArgb(r,i,n)}};{let r=class{constructor(t,e,r,i){this.topLeft_=0,this.topRight_=0,this.bottomRight_=0,this.bottomLeft_=0,null!=t&&(this.topLeft=t),null==e&&null==t||(this.topRight=null!=e?e:t),null==r&&null==t||(this.bottomRight=null!=r?r:t),null==i&&null==t||(this.bottomLeft=null!=i?i:t)}clone(){return this.stimulsoft().memberwiseClone()}saveToJsonObject(t){let e=new Ae.d.StiJson;return e.addPropertyNumber("TopLeft",this.topLeft,0),e.addPropertyNumber("TopRight",this.topRight,0),e.addPropertyNumber("BottomRight",this.bottomRight,0),e.addPropertyNumber("BottomLeft",this.bottomLeft,0),e}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"TopLeft":this.topLeft=e.value.stimulsoft().toNumber();break;case"TopRight":this.topRight=e.value.stimulsoft().toNumber();break;case"BottomRight":this.bottomRight=e.value.stimulsoft().toNumber();break;case"BottomLeft":this.bottomLeft=e.value.stimulsoft().toNumber();break}}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"TopLeft":this.topLeft=t.textContent.stimulsoft().toNumber();break;case"TopRight":this.topRight=t.textContent.stimulsoft().toNumber();break;case"BottomRight":this.bottomRight=t.textContent.stimulsoft().toNumber();break;case"BottomLeft":this.bottomLeft=t.textContent.stimulsoft().toNumber();break}}}isDefault(){return 0==this.topLeft&&0==this.topRight&&0==this.bottomRight&&0==this.bottomLeft}equals(t){var t=t.as(r);return null!=t&&t.topLeft==this.topLeft&&t.topRight==this.topRight&&t.bottomLeft==this.bottomLeft&&t.bottomRight==this.bottomRight}toString(){return`${this.topLeft}, ${this.topRight}, ${this.bottomRight}, ${this.bottomLeft}`}static tryParse(t){try{var e=t.split(",");return 4==e.length?new r(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3])):new r}catch(t){return new r}}getUniqueCode(){var t=0,t;return t=397*(t=397*(t=397*(t=397*t^this.topLeft.stimulsoft().getHashCode())^this.topRight.stimulsoft().getHashCode())^this.bottomRight.stimulsoft().getHashCode())^this.bottomLeft.stimulsoft().getHashCode(),Math.abs(t)}get topLeft(){return this.topLeft_}set topLeft(t){this.topLeft_!=t&&(this.topLeft_=t=30<(t=t<0?0:t)?30:t)}get topRight(){return this.topRight_}set topRight(t){this.topRight_!=t&&(this.topRight_=t=30<(t=t<0?0:t)?30:t)}get bottomRight(){return this.bottomRight_}set bottomRight(t){this.bottomRight_!=t&&(this.bottomRight_=t=30<(t=t<0?0:t)?30:t)}get bottomLeft(){return this.bottomLeft_}set bottomLeft(t){this.bottomLeft_!=t&&(this.bottomLeft_=t=30<(t=t<0?0:t)?30:t)}};Ae.S.StiCornerRadius=r}Ae.S.StiDrawing=class{static fillRectangle(t,e,r,i,n,a){let s=r;var o;r instanceof Tr&&(s=r.x,i=r.y,n=r.width,a=r.height),t.fillRectangle(e,s,i,n,a)}},Ae.S.StiEmptyBrush=class extends Ae.S.StiBrush{constructor(){super(...arguments),this.defaultHashCode=0}equals(t){if(null==t)return!1;if(this==t)return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;return!0}getHashCode(){return this.defaultHashCode}},Ae.S.StiFontUtils=class{static correctStyle(t,e){let r=new ae(t);try{if(r.isStyleAvailable(e))return e;if(!r.isStyleAvailable(se.Bold)&&0<(e&se.Bold)&&(e-=se.Bold),!r.isStyleAvailable(se.Italic)&&0<(e&se.Italic)&&(e-=se.Italic),!r.isStyleAvailable(se.Strikeout)&&0<(e&se.Strikeout)&&(e-=se.Strikeout),!r.isStyleAvailable(se.Underline)&&0<(e&se.Underline)&&(e-=se.Underline),!r.isStyleAvailable(e)){if(r.isStyleAvailable(se.Bold))return se.Bold;if(r.isStyleAvailable(se.Italic))return se.Italic;if(r.isStyleAvailable(se.Underline))return se.Underline;if(r.isStyleAvailable(se.Strikeout))return se.Strikeout}return e}finally{}}static changeFontName(t,e){if(De.isNullOrEmpty(e))return t;return new Ar(e,t.size,t.style,t.unit)}static changeFontSize(t,e){return e<1&&(e=1),new Ar(t.fontFamily.name,e,t.style,t.unit)}static changeFontStyle(t,e){return new Ar(t.fontFamily.name,t.size,e,t.unit)}static changeFontStyle2(t,e,r){return new Ar(t,e,r)}static changeFontStyleBold(t,e){let r=se.Regular;return e&&(r|=se.Bold),t.italic&&(r|=se.Italic),t.underline&&(r|=se.Underline),new Ar(t.fontFamily.name,t.size,r,t.unit)}static changeFontStyleItalic(t,e){let r=se.Regular;return t.bold&&(r|=se.Bold),e&&(r|=se.Italic),t.underline&&(r|=se.Underline),new Ar(t.fontFamily.name,t.size,r,t.unit)}static changeFontStyleUnderline(t,e){let r=se.Regular;return t.bold&&(r|=se.Bold),t.italic&&(r|=se.Italic),e&&(r|=se.Underline),new Ar(t.fontFamily.name,t.size,r,t.unit)}static changeFontStyleStrikeout(t,e){let r=se.Regular;return t.bold&&(r|=se.Bold),t.italic&&(r|=se.Italic),t.underline&&(r|=se.Underline),e&&(r|=se.Strikeout),new Ar(t.fontFamily.name,t.size,r,t.unit)}};{let e=class extends Ae.S.StiBrush{constructor(t=Fe.black,e=Fe.white,r=0,i=.5,n=1){super(),this._focus=.5,this._scale=1,this.defaultHashCode=0,this._startColor=t,this._endColor=e,this._angle=r,this._focus=i,this._scale=n}memberwiseClone(){return new e(this._startColor,this._endColor,this._angle,this._focus,this.scale)}get startColor(){return this._startColor}set startColor(t){this._startColor=t}get endColor(){return this._endColor}set endColor(t){this._endColor=t}get angle(){return this._angle}set angle(t){this._angle=t}get focus(){return this._focus}set focus(t){if(this._focus!=t){if(1<t||t<0)throw new Error("Focus must be in range between 0 and 1!");this._focus=t}}get scale(){return this._scale}set scale(t){if(this._scale!=t){if(1<t||t<0)throw new Error("Scale must be in range between 0 and 1!");this._scale=t}}equals(t){if(null==t)return!1;if(this==t)return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;var t=t.stimulsoft().as(e);return this.startColor.equals(t.startColor)&&this.endColor.equals(t.endColor)&&this.angle==t.angle&&this.focus==t.focus&&this.scale==t.scale}getHashCode(){var t=this.defaultHashCode,t;return t=397*(t=397*(t=397*(t=397*(t=397*t^this.startColor.stimulsoft().getHashCode())^this.endColor.stimulsoft().getHashCode())^this.angle.stimulsoft().getHashCode())^this.focus.stimulsoft().getHashCode())^this.scale.stimulsoft().getHashCode(),Math.abs(t)}};Ae.S.StiGlareBrush=e}{let e=class extends Ae.S.StiBrush{constructor(t=Fe.silver,e=!0,r=.2){super(),this._color=Fe.silver,this._drawHatch=!0,this._blend=.2,this.defaultHashCode=this.stimulsoft().getHashCode(),this._color=t,this._drawHatch=e,this._blend=r}memberwiseClone(){return new e(this._color,this._drawHatch,this._blend)}get color(){return this._color}set color(t){this._color=t}get drawHatch(){return this._drawHatch}set drawHatch(t){this._drawHatch=t}get blend(){return this._blend}set blend(t){if(this._blend!=t){if(1<t||t<0)throw new Error("Value must be in range between 0 and 1.");this._blend=t}}equals(t){if(null==t)return!1;if(this==t)return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;var t=t.stimulsoft().as(e);return this.color.equals(t.color)&&this.drawHatch==t.drawHatch&&this.blend==t.blend}getHashCode(){var t=this.defaultHashCode,t;return t=397*(t=397*(t=397*t^this.color.stimulsoft().getHashCode())^this.drawHatch.stimulsoft().getHashCode())^this.blend.stimulsoft().getHashCode(),Math.abs(t)}getTopColor(){return Ae.S.StiColorUtils.light(this.color,Math.round(64*this.blend))}getTopColorLight(){return Ae.S.StiColorUtils.light(Ae.S.StiColorUtils.light(this.color,Math.round(64*this.blend)),5)}getBottomColor(){return this.color}getBottomColorLight(){return Ae.S.StiColorUtils.light(this.getBottomColor(),2)}getTopRectangle(t){let e=t.clone();return e.height/=2,2*e.height<t.height&&e.height++,e}getBottomRectangle(t){var e=this.getTopRectangle(t).clone();let r=t.clone();return r.height=t.height-e.height,r.y=e.bottom,r}};Ae.S.StiGlassBrush=e}{let e=class extends Ae.S.StiBrush{constructor(t=Fe.black,e=Fe.white,r=0){super(),this.defaultHashCode=0,this._startColor=t,this._endColor=e,this._angle=r}memberwiseClone(){return new e(this._startColor,this._endColor,this._angle)}get startColor(){return this._startColor}set startColor(t){this._startColor=t}get endColor(){return this._endColor}set endColor(t){this._endColor=t}get angle(){return this._angle}set angle(t){this._angle=t}equals(t){if(null==t)return!1;if(this==t)return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;var t=t.stimulsoft().as(e);return this.startColor.equals(t.startColor)&&this.endColor.equals(t.endColor)&&this.angle==t.angle}getHashCode(){var t=this.defaultHashCode,t;return t=397*(t=397*(t=397*t^this.startColor.stimulsoft().getHashCode())^this.endColor.stimulsoft().getHashCode())^this.angle.stimulsoft().getHashCode(),Math.abs(t)}};Ae.S.StiGradientBrush=e}{let e=class extends Ae.S.StiBrush{constructor(t=wr.BackwardDiagonal,e=Fe.black,r=Fe.white){super(),this.defaultHashCode=0,this._style=t,this._foreColor=e,this._backColor=r}memberwiseClone(){return new e(this._style,this._foreColor,this._backColor)}get backColor(){return this._backColor}set backColor(t){this._backColor=t}get foreColor(){return this._foreColor}set foreColor(t){this._foreColor=t}get style(){return this._style}set style(t){this._style=t}equals(t){if(null==t)return!1;if(this==t)return!0;if(t.stimulsoft().getType()!=this.stimulsoft().getType())return!1;var t=t.stimulsoft().as(e);return this._backColor.equals(t.backColor)&&this._foreColor.equals(t.foreColor)&&this._style==t.style}getHashCode(){var t=this.defaultHashCode,t;return t=397*(t=397*(t=397*t^this.backColor.stimulsoft().getHashCode())^this.foreColor.stimulsoft().getHashCode())^this.style.stimulsoft().getHashCode(),Math.abs(t)}};Ae.S.StiHatchBrush=e}let Br=Ae.bp.ImageCodecInfo;Ae.S.StiImageCodecInfo=class{static getImageCodec(t){var e,r;for(r of Br.getImageEncoders())if(r.mimeType==t)return r;return null}},Ae.S.StiImageConverter=class{static imageToString(t){if(null==t)return"";return t.base64}static imageToBytes(t,e=!1){if(null==t)return e?null:[];var t=t.bytes;if(null==t&&0==e)return[];return t}static bytesToImage(t,e=200,r=200,i=!0,n=!1){if(null==t||0==t.length)return null;let a=new ie;return a.bytes=t,a}static stringToImage(t){if(De.isNullOrEmpty(t))return null;let e=new ie;return e.base64=t,e}static stringToByteArray(t){if(De.isNullOrEmpty(t))return null;let e=new ie;return e.base64=t,e.bytes}},Ae.S.StiImageFromURL=class{static loadBitmap(t){var e=Ae.bo.File.getFile(t,!0);let r=new ie;return r.url=t,r.bytes=e,r}static loadImage(t){var e=Ae.bo.File.getFile(t,!0);let r=new ie;return r.url=t,r.bytes=e,r}};let Er=Ae.bq.DashStyle;Ae.S.StiPenUtils=class{static getPenStyle(t){switch(t){case Ae.S.StiPenStyle.Dash:return Er.Dash;case Ae.S.StiPenStyle.DashDot:return Er.DashDot;case Ae.S.StiPenStyle.DashDotDot:return Er.DashDotDot;case Ae.S.StiPenStyle.Dot:return Er.Dot;case Ae.S.StiPenStyle.Double:return Er.Solid;default:return Er.Solid}}},Ae.S.StiSimpleBorder=class{constructor(t=Ae.S.StiBorderSides.None,e=Fe.gray,r=1,i=Ae.S.StiPenStyle.Solid){this.side=Ae.S.StiBorderSides.None,this.color=Fe.gray,this.size=1,this.style=Ae.S.StiPenStyle.Solid,this.side=t,this.color=e,this.size=r,this.style=i}clone(){return this.stimulsoft().memberwiseClone()}getBorder(){return new Ae.S.StiBorder(this.side,this.color,this.size,this.style)}getSizeOffset(){if(this.style==Ae.S.StiPenStyle.None)return 0;if(this.style==Ae.S.StiPenStyle.Double)return 1;return this.size/2}getSize(){if(this.style==Ae.S.StiPenStyle.None)return 0;if(this.style==Ae.S.StiPenStyle.Double)return 3;return this.size}getSizeIncludingSide(){if(this.style==Ae.S.StiPenStyle.None)return 0;if(this.style==Ae.S.StiPenStyle.Double)return 3;if(this.side==Ae.S.StiBorderSides.None)return 0;return this.size}get isTopBorderSidePresent(){return 0!=(this.side&Ae.S.StiBorderSides.Top)}get isBottomBorderSidePresent(){return 0!=(this.side&Ae.S.StiBorderSides.Bottom)}get isLeftBorderSidePresent(){return 0!=(this.side&Ae.S.StiBorderSides.Left)}get isRightBorderSidePresent(){return 0!=(this.side&Ae.S.StiBorderSides.Right)}get isAllBorderSidesPresent(){return this.side==Ae.S.StiBorderSides.All}shouldSerializeColor(){return!Fe.gray.equals(this.color)}isDefault(){return this.side==Ae.S.StiBorderSides.None&&Fe.gray.equals(this.color)&&1==this.size&&this.style==Ae.S.StiPenStyle.Solid}saveToJsonObject(t){return null}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Side":this.side=Zt.parse(Ae.S.StiBorderSides,e.value);break;case"Color":this.color=Ae.Y.Deserialize.color(e.value);break;case"Size":this.size=e.value.stimulsoft().toNumber();break;case"Style":this.style=Zt.parse(Ae.S.StiPenStyle,e.value);break}}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"Side":this.side=Zt.parse(Ae.S.StiBorderSides,t.textContent);break;case"Color":this.color=Ae.Y.Deserialize.color(t.textContent);break;case"Size":this.size=t.textContent.stimulsoft().toNumber();break;case"Style":this.style=Zt.parse(Ae.S.StiPenStyle,t.textContent);break}}}};let kr=Ae.bn.Point;{let t=class{constructor(t,e,r,i){this.color=Ae.S.StiColor.get("#44222222"),this.location_=new kr(2,2),this.size_=5,this.visible=!1,null!=t&&(this.color=t),null!=e&&(this.location=e),null!=r&&(this.size=r),null!=i&&(this.visible=i)}clone(){return this.stimulsoft().memberwiseClone()}static loadFromXml(r){let i=new t;if(!De.isNullOrEmpty(r)){let t=r.split(";"),e=t[1].split(",");i.color=Cr.convertStringToColor(t[0]),i.location=new kr(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber()),i.size=t[2].stimulsoft().toNumber(),i.visible=t[3].stimulsoft().toBoolean()}return i}shouldSerializeColor(){return!this.color.equals(Ae.S.StiColor.get("#44222222"))}get location(){return this.location_}set location(t){null==t||t.equals(this.location_)||(t.x<-10&&(t.x=-10),10<t.x&&(t.x=10),t.y<-10&&(t.y=-10),10<t.y&&(t.y=10),this.location_=t)}shouldSerializeLocation(){return null==this.location||2!=this.location.x||2!=this.location.y}get size(){return this.size_}set size(t){this.size_!=t&&(this.size_=t=10<(t=t<1?1:t)?10:t)}isDefault(){return!this.shouldSerializeColor()&&!this.shouldSerializeLocation()&&5==this.size&&!this.visible}};Ae.S.StiSimpleShadow=t}let Nr=Ae.bn.StringFormatFlags,Fr=Ae.bn.Size,Rr=Ae.bn.Graphics,Lr=Ae.bn.StringAlignment;Ae.S.StiTextDrawing=class{static measureString(t,e,r,i,n,a,s,o,l=!1){(n=null==n?new Ae.S.StiTextOptions:n).wordWrap||(i=null);let u;var n;return u=l?Rr.measureString(this.correctFontSize(e),r,i,!0,1,0,!1):Rr.measureString(e,r,i,!0,1,0,!0),90!=n.angle&&270!=n.angle||(n=u.width,u.width=u.height,u.height=n),new Fr(u.width,u.height)}static correctFontSize(e){let r=e,i=-1;try{while(-1!=(i=r.indexOf("<font ",i))){var n=r.indexOf(">",i+6);if(0<n){let t=r.substring(i+6,n);var a=t.indexOf("size="),s,o,l,u;0<a&&(s=r.indexOf('"',a+5),o=r.indexOf('"',s+1),u='style="font-size:'+r.substring(s+1,o)+';"',r=r.substring(0,a)+r.substring(o,n)+u+r.substring(n))}i+=6}}catch(t){r=e}return r}static splitTextWordwrap(t,e,r,i,n,a,s){null==n&&(n=new Ae.S.StiTextOptions);var o,s=this.getStringFormat2(n,Ae.S.StiTextHorAlignment.Left,Ae.S.StiVertAlignment.Top,s,10);return this.splitTextWordwrap2(t,e,r,i,s,a==Ae.S.StiTextHorAlignment.Width)}static splitTextWordwrap2(t,e,r,i,n,o=!1){let l=new Ee;var a=(n.formatFlags&Nr.NoWrap)===Nr.NoWrap?999999:i.width,i=10,u=new Tr(0,0,a*i,999999),h=Ae.S.StiFontUtils.changeFontSize(r,r.size*i),c=0;let d=ke.create(Number,33);var m=Ae.bl.TextUtils.getWordWrapTextLines(t,r,!1,a);for(let t=0;t<m.length;t++){let a=m[t];if(0==a.length){let t=new Ae.S.LineInfo;t.text="",t.lineHeight=c,l.add(t);continue}let s=ke.create(Tr,a.length),e=0;for(let t=0;t<s.length;t++){d[32]=a.charCodeAt(t);var p=Rr.measureChars(d,33,h);s[t]=new Tr(0,0,p.width,p.height),e+=p.width,e>u.width&&(e=0)}if((n.formatFlags&Nr.NoWrap)!==Nr.NoWrap){let r=s[0],i=r.top+r.height/2,t=0,n=0;for(let e=1;e<a.length;e++){if(0==n){let t=15;if(e+t>a.length-1&&(t=a.length-e-1),0<t){if(r=s[e+t],r.top<i&&!r.isEmpty){e+=t;continue}n=t}}else n--;r=s[e],r.top>i&&(l.add(this.makeLineInfo(a,t,e-t,s,o)),t=e,i=r.top+r.height/2,n=0)}t<a.length&&l.add(this.makeLineInfo(a,t,a.length-t,s,!1))}else l.add(this.makeLineInfo(a,0,a.length,s,!1))}for(let r=0;r<l.length;r++){let e=l[r].text;if(!De.isNullOrWhiteSpace(e)&&-1!=e.indexOf("­")){let t=e.stimulsoft().replaceAll("­","");"­"==e[e.length-1]&&(t+="­"),l[r].text=t}}return l}static makeLineInfo(t,e,r,i,n){while(0<r&&i[e+r-1].isEmpty)r--;let a=new Ae.S.LineInfo;a.text=t.substr(e,r),a.needWidthAlign=n,a.widths=ke.create(Number,r);for(let t=0;t<r;t++)a.widths[t]=i[e+t].width/10;let s=0;for(let t=0;t<r;t++)s=Math.max(s,i[e+t].height);return a.lineHeight=s/10,a}static splitString(t,e){let r=new Ee,i="";for(var n of t=null==t?"":t)"\n"==n?(r.add(i.stimulsoft().trimEnd()),i=""):e&&Be.isControl(n)&&"\t"!=n||(i+=n);return 0<i.length&&r.add(i.stimulsoft().trimEnd()),0==r.length&&r.add(""),r}static getStringFormat(t,e,r,i){return this.getStringFormat2(t,e,r,!1,i)}static getAlignment(t){switch(t){case Ae.S.StiTextHorAlignment.Center:case Ae.S.StiTextHorAlignment.Width:return Lr.Center;case Ae.S.StiTextHorAlignment.Right:return Lr.Far;default:return Lr.Near}}static getAlignment2(t){switch(t){case Ae.S.StiVertAlignment.Center:return Lr.Center;case Ae.S.StiVertAlignment.Bottom:return Lr.Far;default:return Lr.Near}}static getStringFormat2(t,e,r,i,n){let a=t.getStringFormat(i,n);return a.alignment=this.getAlignment(e),a.lineAlignment=this.getAlignment2(r),this.measureTrailingSpaces&&(a.formatFlags|=Nr.MeasureTrailingSpaces),a}};let Mr=Ae.bn.StringFormat,Or=Ae.bn.StringTrimming,Hr=Ae.bs.HotkeyPrefix;{let l=class{constructor(t,e,r,i,n,a,s){this.rightToLeft=!1,this.lineLimit=!1,this.angle=0,this.firstTabOffset=40,this.distanceBetweenTabs=20,this.hotkeyPrefix=Hr.None,this.trimming=Or.None,this.rightToLeft=t,this.lineLimit=e,this.angle=r,this.firstTabOffset=i,this.distanceBetweenTabs=n,this.hotkeyPrefix=a,this.trimming=s}implements(){return[Jt]}getHashCode(){var t=this.rightToLeft?1231:1237,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(this.lineLimit?1231:1237))^this.angle)^this.firstTabOffset)^this.distanceBetweenTabs)^this.hotkeyPrefix)^this.trimming,Math.abs(t)}clone(){return this.stimulsoft().memberwiseClone()}},n=class{constructor(t=!1,e=!1,r=!1,i=0,n=Hr.None,a=Or.None,s=40,o=20){this.bits=null,this.wordWrap=!1,this.wordWrap=r,0==t&&0==e&&0==i&&n==Hr.None&&a==Or.None&&40==s&&20==o?this.bits=null:this.bits=new l(t,e,i,s,o,n,a)}implements(){return[Jt,Yt]}saveToJsonObject(){let t=new te;if(t.addPropertyBool("RightToLeft",this.rightToLeft),t.addPropertyBool("LineLimit",this.lineLimit),t.addPropertyNumber("Angle",this.angle,0),t.addPropertyNumber("FirstTabOffset",this.firstTabOffset,40),t.addPropertyNumber("DistanceBetweenTabs",this.distanceBetweenTabs,20),t.addPropertyEnum("HotkeyPrefix",Hr,this.hotkeyPrefix,Hr.None),t.addPropertyEnum("Trimming",Or,this.trimming,Or.None),t.addPropertyBool("WordWrap",this.wordWrap),0<t.count)return t;return null}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"RightToLeft":this.rightToLeft=e.value.stimulsoft().toBoolean();break;case"LineLimit":this.lineLimit=e.value.stimulsoft().toBoolean();break;case"Angle":this.angle=e.value;break;case"FirstTabOffset":this.firstTabOffset=e.value;break;case"DistanceBetweenTabs":this.distanceBetweenTabs=e.value;break;case"HotkeyPrefix":this.hotkeyPrefix=Zt.parse(Hr,e.value);break;case"Trimming":this.trimming=Zt.parse(Or,e.value);break;case"WordWrap":this.wordWrap=e.value.stimulsoft().toBoolean();break}}static loadFromXml(t){let r=new n,i=t.split(",");0<=i[0].indexOf("Hide")?r.hotkeyPrefix=Hr.Hide:0<=i[0].indexOf("Show")?r.hotkeyPrefix=Hr.Show:r.hotkeyPrefix=Hr.None,r.lineLimit=0<=i[1].indexOf("True"),r.rightToLeft=0<=i[2].indexOf("True"),0<=i[3].indexOf("EllipsisCharacter")?r.trimming=Or.EllipsisCharacter:0<=i[3].indexOf("Character")?r.trimming=Or.Character:0<=i[3].indexOf("EllipsisPath")?r.trimming=Or.EllipsisPath:0<=i[3].indexOf("EllipsisWord")?r.trimming=Or.EllipsisWord:0<=i[3].indexOf("None")?r.trimming=Or.None:0<=i[3].indexOf("Word")&&(r.trimming=Or.Word),r.wordWrap=0<=i[4].indexOf("True");let e=i[5].split("=");if(r.angle=e[1].trim().stimulsoft().toNumber(),6<i.length){let t=i[6].split("=");r.firstTabOffset=t[1].trim().stimulsoft().toNumber();let e=i[7].split("=");r.distanceBetweenTabs=e[1].trim().stimulsoft().toNumber()}return r}loadFromXml(r){if(0<r.textContent.length){let e=r.textContent.split(",");for(let t=0;t<e.length;t++)if(0<e[t].length)switch(e[t].split("=")[0].trim()){case"RightToLeft":this.rightToLeft=e[t].split("=")[1].trim().stimulsoft().toBoolean();break;case"LineLimit":this.lineLimit=e[t].split("=")[1].trim().stimulsoft().toBoolean();break;case"Angle":case"A":this.angle=e[t].split("=")[1].trim().stimulsoft().toNumber();break;case"FirstTabOffset":this.firstTabOffset=e[t].split("=")[1].trim().stimulsoft().toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=e[t].split("=")[1].trim().stimulsoft().toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=Zt.parse(Hr,e[t].split("=")[1].trim());break;case"Trimming":this.trimming=Zt.parse(Or,e[t].split("=")[1].trim());break;case"WordWrap":this.wordWrap=e[t].split("=")[1].trim().stimulsoft().toBoolean();break}}else for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"RightToLeft":this.rightToLeft=t.textContent.stimulsoft().toBoolean();break;case"LineLimit":this.lineLimit=t.textContent.stimulsoft().toBoolean();break;case"Angle":this.angle=t.textContent.stimulsoft().toNumber();break;case"FirstTabOffset":this.firstTabOffset=t.textContent.stimulsoft().toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=t.textContent.stimulsoft().toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=Zt.parse(Hr,t.textContent);break;case"Trimming":this.trimming=Zt.parse(Or,t.textContent);break;case"WordWrap":this.wordWrap=t.textContent.stimulsoft().toBoolean();break}}}clone(){let t=new n;return null!=this.bits&&(t.bits=this.bits.clone()),t.wordWrap=this.wordWrap,t}getStringFormat(t=!1,e=1){let r=new Mr;return r.formatFlags=0,this.wordWrap||(r.formatFlags=Nr.NoWrap),this.rightToLeft&&(r.formatFlags|=Nr.DirectionRightToLeft),this.lineLimit&&(r.formatFlags|=Nr.LineLimit),r.trimming=this.trimming,r.hotkeyPrefix=this.hotkeyPrefix,r}get rightToLeft(){if(null==this.bits)return!1;return this.bits.rightToLeft}set rightToLeft(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.rightToLeft=t:this.bits=new l(t,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)}get lineLimit(){if(null==this.bits)return!1;return this.bits.lineLimit}set lineLimit(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.lineLimit=t:this.bits=new l(this.rightToLeft,t,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)}get angle(){if(null==this.bits)return 0;return this.bits.angle}set angle(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.angle=t:this.bits=new l(this.rightToLeft,this.lineLimit,t,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)}get firstTabOffset(){if(null==this.bits)return 40;return this.bits.firstTabOffset}set firstTabOffset(t){if(t<0)return;if(40==t&&null==this.bits)return;null!=this.bits?this.bits.firstTabOffset=t:this.bits=new l(this.rightToLeft,this.lineLimit,this.angle,t,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)}get distanceBetweenTabs(){if(null==this.bits)return 20;return this.bits.distanceBetweenTabs}set distanceBetweenTabs(t){if(t<0)return;if(20==t&&null==this.bits)return;null!=this.bits?this.bits.distanceBetweenTabs=t:this.bits=new l(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,t,this.hotkeyPrefix,this.trimming)}get hotkeyPrefix(){if(null==this.bits)return Hr.None;return this.bits.hotkeyPrefix}set hotkeyPrefix(t){if(t==Hr.None&&null==this.bits)return;null!=this.bits?this.bits.hotkeyPrefix=t:this.bits=new l(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,t,this.trimming)}get trimming(){if(null==this.bits)return Or.None;return this.bits.trimming}set trimming(t){if(t==Or.None&&null==this.bits)return;null!=this.bits?this.bits.trimming=t:this.bits=new l(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,t)}isDefault(){return!this.wordWrap&&null==this.bits}getHashCode(){return 397*(2881041151^(null!=this.bits?this.bits.stimulsoft().getHashCode():0))^(this.wordWrap?1231:1237)}};Ae.S.StiTextOptions=n}{let ye=class{constructor(){this.iCharPos=0}clone(){let t=new ye;return t.iCharPos=this.iCharPos,t}},s=class{static getTabsWidth(t,e,r){let i=20,n=40;null!=t&&(i=t.distanceBetweenTabs,n=t.firstTabOffset);let a=r;var s=e*i,t=e*n+s,e,o;return r<t?a=t:0<i&&(e=Ne.trunc((r-t)/s),e++,a=t+e*s),Math.round(a-r)}static getFontIndex(e,r,i,n,a,s,t,o){let l=this.getFontIndex2(e,r,i,n,a,s,o);if(t){let t=o[l].superOrSubscriptIndex;-1==t&&(t=this.getFontIndex2(e,r/1.5,i,n,a,s,o),o[l].superOrSubscriptIndex=t,o[t].parentFontIndex=l),l=t}return l}static getFontIndex2(e,r,i,n,a,s,o){if(0<o.length)for(let t=0;t<o.length;t++){var l=o[t];if(l.fontName==e&&l.fontBase.size==r&&l.fontBase.bold==i&&l.fontBase.italic==n&&l.fontBase.underline==a&&l.fontBase.strikeout==s)return t}let t=se.Regular;i&&(t|=se.Bold),n&&(t|=se.Italic),a&&(t|=se.Underline),s&&(t|=se.Strikeout);let u=null;var h,c;if(-1!=e.indexOf(",")){for(c of e.split(","))if(u=new Ar(c,r,t),u.name.toLowerCase()==c.toLowerCase())break}else u=new Ar(e,r,t);let d=new ve;return d.fontName=e,d.fontBase=u,d.parentFontIndex=-1,d.superOrSubscriptIndex=-1,o.add(d),o.length-1}static get htmlEscapeSequence(){return null==this._htmlEscapeSequence&&(this._htmlEscapeSequence={},this._htmlEscapeSequence["&quot;"]=String.fromCharCode(34),this._htmlEscapeSequence["&amp;"]=String.fromCharCode(38),this._htmlEscapeSequence["&lt;"]=String.fromCharCode(60),this._htmlEscapeSequence["&gt;"]=String.fromCharCode(62),this._htmlEscapeSequence["&nbsp;"]=String.fromCharCode(160),this._htmlEscapeSequence["&iexcl;"]=String.fromCharCode(161),this._htmlEscapeSequence["&cent;"]=String.fromCharCode(162),this._htmlEscapeSequence["&pound;"]=String.fromCharCode(163),this._htmlEscapeSequence["&curren;"]=String.fromCharCode(164),this._htmlEscapeSequence["&yen;"]=String.fromCharCode(165),this._htmlEscapeSequence["&brvbar;"]=String.fromCharCode(166),this._htmlEscapeSequence["&sect;"]=String.fromCharCode(167),this._htmlEscapeSequence["&uml;"]=String.fromCharCode(168),this._htmlEscapeSequence["&copy;"]=String.fromCharCode(169),this._htmlEscapeSequence["&ordf;"]=String.fromCharCode(170),this._htmlEscapeSequence["&laquo;"]=String.fromCharCode(171),this._htmlEscapeSequence["&not;"]=String.fromCharCode(172),this._htmlEscapeSequence["&shy;"]=String.fromCharCode(173),this._htmlEscapeSequence["&reg;"]=String.fromCharCode(174),this._htmlEscapeSequence["&macr;"]=String.fromCharCode(175),this._htmlEscapeSequence["&deg;"]=String.fromCharCode(176),this._htmlEscapeSequence["&plusmn;"]=String.fromCharCode(177),this._htmlEscapeSequence["&sup2;"]=String.fromCharCode(178),this._htmlEscapeSequence["&sup3;"]=String.fromCharCode(179),this._htmlEscapeSequence["&acute;"]=String.fromCharCode(180),this._htmlEscapeSequence["&micro;"]=String.fromCharCode(181),this._htmlEscapeSequence["&para;"]=String.fromCharCode(182),this._htmlEscapeSequence["&middot;"]=String.fromCharCode(183),this._htmlEscapeSequence["&cedil;"]=String.fromCharCode(184),this._htmlEscapeSequence["&sup1;"]=String.fromCharCode(185),this._htmlEscapeSequence["&ordm;"]=String.fromCharCode(186),this._htmlEscapeSequence["&raquo;"]=String.fromCharCode(187),this._htmlEscapeSequence["&frac14;"]=String.fromCharCode(188),this._htmlEscapeSequence["&frac12;"]=String.fromCharCode(189),this._htmlEscapeSequence["&frac34;"]=String.fromCharCode(190),this._htmlEscapeSequence["&iquest;"]=String.fromCharCode(191),this._htmlEscapeSequence["&Agrave;"]=String.fromCharCode(192),this._htmlEscapeSequence["&Aacute;"]=String.fromCharCode(193),this._htmlEscapeSequence["&Acirc;"]=String.fromCharCode(194),this._htmlEscapeSequence["&Atilde;"]=String.fromCharCode(195),this._htmlEscapeSequence["&Auml;"]=String.fromCharCode(196),this._htmlEscapeSequence["&Aring;"]=String.fromCharCode(197),this._htmlEscapeSequence["&AElig;"]=String.fromCharCode(198),this._htmlEscapeSequence["&Ccedil;"]=String.fromCharCode(199),this._htmlEscapeSequence["&Egrave;"]=String.fromCharCode(200),this._htmlEscapeSequence["&Eacute;"]=String.fromCharCode(201),this._htmlEscapeSequence["&Ecirc;"]=String.fromCharCode(202),this._htmlEscapeSequence["&Euml;"]=String.fromCharCode(203),this._htmlEscapeSequence["&Igrave;"]=String.fromCharCode(204),this._htmlEscapeSequence["&Iacute;"]=String.fromCharCode(205),this._htmlEscapeSequence["&Icirc;"]=String.fromCharCode(206),this._htmlEscapeSequence["&Iuml;"]=String.fromCharCode(207),this._htmlEscapeSequence["&ETH;"]=String.fromCharCode(208),this._htmlEscapeSequence["&Ntilde;"]=String.fromCharCode(209),this._htmlEscapeSequence["&Ograve;"]=String.fromCharCode(210),this._htmlEscapeSequence["&Oacute;"]=String.fromCharCode(211),this._htmlEscapeSequence["&Ocirc;"]=String.fromCharCode(212),this._htmlEscapeSequence["&Otilde;"]=String.fromCharCode(213),this._htmlEscapeSequence["&Ouml;"]=String.fromCharCode(214),this._htmlEscapeSequence["&times;"]=String.fromCharCode(215),this._htmlEscapeSequence["&Oslash;"]=String.fromCharCode(216),this._htmlEscapeSequence["&Ugrave;"]=String.fromCharCode(217),this._htmlEscapeSequence["&Uacute;"]=String.fromCharCode(218),this._htmlEscapeSequence["&Ucirc;"]=String.fromCharCode(219),this._htmlEscapeSequence["&Uuml;"]=String.fromCharCode(220),this._htmlEscapeSequence["&Yacute;"]=String.fromCharCode(221),this._htmlEscapeSequence["&THORN;"]=String.fromCharCode(222),this._htmlEscapeSequence["&szlig;"]=String.fromCharCode(223),this._htmlEscapeSequence["&agrave;"]=String.fromCharCode(224),this._htmlEscapeSequence["&aacute;"]=String.fromCharCode(225),this._htmlEscapeSequence["&acirc;"]=String.fromCharCode(226),this._htmlEscapeSequence["&atilde;"]=String.fromCharCode(227),this._htmlEscapeSequence["&auml;"]=String.fromCharCode(228),this._htmlEscapeSequence["&aring;"]=String.fromCharCode(229),this._htmlEscapeSequence["&aelig;"]=String.fromCharCode(230),this._htmlEscapeSequence["&ccedil;"]=String.fromCharCode(231),this._htmlEscapeSequence["&egrave;"]=String.fromCharCode(232),this._htmlEscapeSequence["&eacute;"]=String.fromCharCode(233),this._htmlEscapeSequence["&ecirc;"]=String.fromCharCode(234),this._htmlEscapeSequence["&euml;"]=String.fromCharCode(235),this._htmlEscapeSequence["&igrave;"]=String.fromCharCode(236),this._htmlEscapeSequence["&iacute;"]=String.fromCharCode(237),this._htmlEscapeSequence["&icirc;"]=String.fromCharCode(238),this._htmlEscapeSequence["&iuml;"]=String.fromCharCode(239),this._htmlEscapeSequence["&eth;"]=String.fromCharCode(240),this._htmlEscapeSequence["&ntilde;"]=String.fromCharCode(241),this._htmlEscapeSequence["&ograve;"]=String.fromCharCode(242),this._htmlEscapeSequence["&oacute;"]=String.fromCharCode(243),this._htmlEscapeSequence["&ocirc;"]=String.fromCharCode(244),this._htmlEscapeSequence["&otilde;"]=String.fromCharCode(245),this._htmlEscapeSequence["&ouml;"]=String.fromCharCode(246),this._htmlEscapeSequence["&divide;"]=String.fromCharCode(247),this._htmlEscapeSequence["&oslash;"]=String.fromCharCode(248),this._htmlEscapeSequence["&ugrave;"]=String.fromCharCode(249),this._htmlEscapeSequence["&uacute;"]=String.fromCharCode(250),this._htmlEscapeSequence["&ucirc;"]=String.fromCharCode(251),this._htmlEscapeSequence["&uuml;"]=String.fromCharCode(252),this._htmlEscapeSequence["&yacute;"]=String.fromCharCode(253),this._htmlEscapeSequence["&thorn;"]=String.fromCharCode(254),this._htmlEscapeSequence["&yuml;"]=String.fromCharCode(255),this._htmlEscapeSequence["&OElig;"]=String.fromCharCode(338),this._htmlEscapeSequence["&oelig;"]=String.fromCharCode(339),this._htmlEscapeSequence["&Scaron;"]=String.fromCharCode(352),this._htmlEscapeSequence["&scaron;"]=String.fromCharCode(353),this._htmlEscapeSequence["&Yuml;"]=String.fromCharCode(376),this._htmlEscapeSequence["&fnof;"]=String.fromCharCode(402),this._htmlEscapeSequence["&circ;"]=String.fromCharCode(710),this._htmlEscapeSequence["&tilde;"]=String.fromCharCode(732),this._htmlEscapeSequence["&Alpha;"]=String.fromCharCode(913),this._htmlEscapeSequence["&Beta;"]=String.fromCharCode(914),this._htmlEscapeSequence["&Gamma;"]=String.fromCharCode(915),this._htmlEscapeSequence["&Delta;"]=String.fromCharCode(916),this._htmlEscapeSequence["&Epsilon;"]=String.fromCharCode(917),this._htmlEscapeSequence["&Zeta;"]=String.fromCharCode(918),this._htmlEscapeSequence["&Eta;"]=String.fromCharCode(919),this._htmlEscapeSequence["&Theta;"]=String.fromCharCode(920),this._htmlEscapeSequence["&Iota;"]=String.fromCharCode(921),this._htmlEscapeSequence["&Kappa;"]=String.fromCharCode(922),this._htmlEscapeSequence["&Lambda;"]=String.fromCharCode(923),this._htmlEscapeSequence["&Mu;"]=String.fromCharCode(924),this._htmlEscapeSequence["&Nu;"]=String.fromCharCode(925),this._htmlEscapeSequence["&Xi;"]=String.fromCharCode(926),this._htmlEscapeSequence["&Omicron;"]=String.fromCharCode(927),this._htmlEscapeSequence["&Pi;"]=String.fromCharCode(928),this._htmlEscapeSequence["&Rho;"]=String.fromCharCode(929),this._htmlEscapeSequence["&Sigma;"]=String.fromCharCode(931),this._htmlEscapeSequence["&Tau;"]=String.fromCharCode(932),this._htmlEscapeSequence["&Upsilon;"]=String.fromCharCode(933),this._htmlEscapeSequence["&Phi;"]=String.fromCharCode(934),this._htmlEscapeSequence["&Chi;"]=String.fromCharCode(935),this._htmlEscapeSequence["&Psi;"]=String.fromCharCode(936),this._htmlEscapeSequence["&Omega;"]=String.fromCharCode(937),this._htmlEscapeSequence["&alpha;"]=String.fromCharCode(945),this._htmlEscapeSequence["&beta;"]=String.fromCharCode(946),this._htmlEscapeSequence["&gamma;"]=String.fromCharCode(947),this._htmlEscapeSequence["&delta;"]=String.fromCharCode(948),this._htmlEscapeSequence["&epsilon;"]=String.fromCharCode(949),this._htmlEscapeSequence["&zeta;"]=String.fromCharCode(950),this._htmlEscapeSequence["&eta;"]=String.fromCharCode(951),this._htmlEscapeSequence["&theta;"]=String.fromCharCode(952),this._htmlEscapeSequence["&iota;"]=String.fromCharCode(953),this._htmlEscapeSequence["&kappa;"]=String.fromCharCode(954),this._htmlEscapeSequence["&lambda;"]=String.fromCharCode(955),this._htmlEscapeSequence["&mu;"]=String.fromCharCode(956),this._htmlEscapeSequence["&nu;"]=String.fromCharCode(957),this._htmlEscapeSequence["&xi;"]=String.fromCharCode(958),this._htmlEscapeSequence["&omicron;"]=String.fromCharCode(959),this._htmlEscapeSequence["&pi;"]=String.fromCharCode(960),this._htmlEscapeSequence["&rho;"]=String.fromCharCode(961),this._htmlEscapeSequence["&sigmaf;"]=String.fromCharCode(962),this._htmlEscapeSequence["&sigma;"]=String.fromCharCode(963),this._htmlEscapeSequence["&tau;"]=String.fromCharCode(964),this._htmlEscapeSequence["&upsilon;"]=String.fromCharCode(965),this._htmlEscapeSequence["&phi;"]=String.fromCharCode(966),this._htmlEscapeSequence["&chi;"]=String.fromCharCode(967),this._htmlEscapeSequence["&psi;"]=String.fromCharCode(968),this._htmlEscapeSequence["&omega;"]=String.fromCharCode(969),this._htmlEscapeSequence["&thetasym;"]=String.fromCharCode(977),this._htmlEscapeSequence["&upsih;"]=String.fromCharCode(978),this._htmlEscapeSequence["&piv;"]=String.fromCharCode(982),this._htmlEscapeSequence["&ensp;"]=String.fromCharCode(8194),this._htmlEscapeSequence["&emsp;"]=String.fromCharCode(8195),this._htmlEscapeSequence["&thinsp;"]=String.fromCharCode(8201),this._htmlEscapeSequence["&zwnj;"]=String.fromCharCode(8204),this._htmlEscapeSequence["&zwj;"]=String.fromCharCode(8205),this._htmlEscapeSequence["&lrm;"]=String.fromCharCode(8206),this._htmlEscapeSequence["&rlm;"]=String.fromCharCode(8207),this._htmlEscapeSequence["&ndash;"]=String.fromCharCode(8211),this._htmlEscapeSequence["&mdash;"]=String.fromCharCode(8212),this._htmlEscapeSequence["&lsquo;"]=String.fromCharCode(8216),this._htmlEscapeSequence["&rsquo;"]=String.fromCharCode(8217),this._htmlEscapeSequence["&sbquo;"]=String.fromCharCode(8218),this._htmlEscapeSequence["&ldquo;"]=String.fromCharCode(8220),this._htmlEscapeSequence["&rdquo;"]=String.fromCharCode(8221),this._htmlEscapeSequence["&bdquo;"]=String.fromCharCode(8222),this._htmlEscapeSequence["&dagger;"]=String.fromCharCode(8224),this._htmlEscapeSequence["&Dagger;"]=String.fromCharCode(8225),this._htmlEscapeSequence["&bull;"]=String.fromCharCode(8226),this._htmlEscapeSequence["&hellip;"]=String.fromCharCode(8230),this._htmlEscapeSequence["&permil;"]=String.fromCharCode(8240),this._htmlEscapeSequence["&prime;"]=String.fromCharCode(8242),this._htmlEscapeSequence["&Prime;"]=String.fromCharCode(8243),this._htmlEscapeSequence["&lsaquo;"]=String.fromCharCode(8249),this._htmlEscapeSequence["&rsaquo;"]=String.fromCharCode(8250),this._htmlEscapeSequence["&oline;"]=String.fromCharCode(8254),this._htmlEscapeSequence["&frasl;"]=String.fromCharCode(8260),this._htmlEscapeSequence["&euro;"]=String.fromCharCode(8364),this._htmlEscapeSequence["&image;"]=String.fromCharCode(8365),this._htmlEscapeSequence["&weierp;"]=String.fromCharCode(8472),this._htmlEscapeSequence["&real;"]=String.fromCharCode(8476),this._htmlEscapeSequence["&trade;"]=String.fromCharCode(8482),this._htmlEscapeSequence["&alefsym;"]=String.fromCharCode(8501),this._htmlEscapeSequence["&larr;"]=String.fromCharCode(8592),this._htmlEscapeSequence["&uarr;"]=String.fromCharCode(8593),this._htmlEscapeSequence["&rarr;"]=String.fromCharCode(8594),this._htmlEscapeSequence["&darr;"]=String.fromCharCode(8595),this._htmlEscapeSequence["&harr;"]=String.fromCharCode(8596),this._htmlEscapeSequence["&crarr;"]=String.fromCharCode(8629),this._htmlEscapeSequence["&lArr;"]=String.fromCharCode(8656),this._htmlEscapeSequence["&uArr;"]=String.fromCharCode(8657),this._htmlEscapeSequence["&rArr;"]=String.fromCharCode(8658),this._htmlEscapeSequence["&dArr;"]=String.fromCharCode(8659),this._htmlEscapeSequence["&hArr;"]=String.fromCharCode(8660),this._htmlEscapeSequence["&forall;"]=String.fromCharCode(8704),this._htmlEscapeSequence["&part;"]=String.fromCharCode(8706),this._htmlEscapeSequence["&exist;"]=String.fromCharCode(8707),this._htmlEscapeSequence["&empty;"]=String.fromCharCode(8709),this._htmlEscapeSequence["&nabla;"]=String.fromCharCode(8711),this._htmlEscapeSequence["&isin;"]=String.fromCharCode(8712),this._htmlEscapeSequence["&notin;"]=String.fromCharCode(8713),this._htmlEscapeSequence["&ni;"]=String.fromCharCode(8715),this._htmlEscapeSequence["&prod;"]=String.fromCharCode(8719),this._htmlEscapeSequence["&sum;"]=String.fromCharCode(8721),this._htmlEscapeSequence["&minus;"]=String.fromCharCode(8722),this._htmlEscapeSequence["&lowast;"]=String.fromCharCode(8727),this._htmlEscapeSequence["&radic;"]=String.fromCharCode(8730),this._htmlEscapeSequence["&prop;"]=String.fromCharCode(8733),this._htmlEscapeSequence["&infin;"]=String.fromCharCode(8734),this._htmlEscapeSequence["&ang;"]=String.fromCharCode(8736),this._htmlEscapeSequence["&and;"]=String.fromCharCode(8743),this._htmlEscapeSequence["&or;"]=String.fromCharCode(8744),this._htmlEscapeSequence["&cap;"]=String.fromCharCode(8745),this._htmlEscapeSequence["&cup;"]=String.fromCharCode(8746),this._htmlEscapeSequence["&int;"]=String.fromCharCode(8747),this._htmlEscapeSequence["&there4;"]=String.fromCharCode(8756),this._htmlEscapeSequence["&sim;"]=String.fromCharCode(8764),this._htmlEscapeSequence["&cong;"]=String.fromCharCode(8773),this._htmlEscapeSequence["&asymp;"]=String.fromCharCode(8776),this._htmlEscapeSequence["&ne;"]=String.fromCharCode(8800),this._htmlEscapeSequence["&equiv;"]=String.fromCharCode(8801),this._htmlEscapeSequence["&le;"]=String.fromCharCode(8804),this._htmlEscapeSequence["&ge;"]=String.fromCharCode(8805),this._htmlEscapeSequence["&sub;"]=String.fromCharCode(8834),this._htmlEscapeSequence["&sup;"]=String.fromCharCode(8835),this._htmlEscapeSequence["&nsub;"]=String.fromCharCode(8836),this._htmlEscapeSequence["&sube;"]=String.fromCharCode(8838),this._htmlEscapeSequence["&supe;"]=String.fromCharCode(8839),this._htmlEscapeSequence["&oplus;"]=String.fromCharCode(8853),this._htmlEscapeSequence["&otimes;"]=String.fromCharCode(8855),this._htmlEscapeSequence["&perp;"]=String.fromCharCode(8869),this._htmlEscapeSequence["&sdot;"]=String.fromCharCode(8901),this._htmlEscapeSequence["&lceil;"]=String.fromCharCode(8968),this._htmlEscapeSequence["&rceil;"]=String.fromCharCode(8969),this._htmlEscapeSequence["&lfloor;"]=String.fromCharCode(8970),this._htmlEscapeSequence["&rfloor;"]=String.fromCharCode(8971),this._htmlEscapeSequence["&lang;"]=String.fromCharCode(9001),this._htmlEscapeSequence["&rang;"]=String.fromCharCode(9002),this._htmlEscapeSequence["&loz;"]=String.fromCharCode(9674),this._htmlEscapeSequence["&spades;"]=String.fromCharCode(9824),this._htmlEscapeSequence["&clubs;"]=String.fromCharCode(9827),this._htmlEscapeSequence["&hearts;"]=String.fromCharCode(9829),this._htmlEscapeSequence["&diams;"]=String.fromCharCode(9830)),this._htmlEscapeSequence}static convertStringToTag(t){let e=new w;if((t=t.trim()).stimulsoft().endsWith("/")&&(e.state=v.Empty,t=t.substr(0,t.length-1).trim()),e.attributes=this.parseTagIntoPairs(t),0==e.attributes.length)return e;let r=e.attributes[0].key;switch(r.stimulsoft().startsWith("/")&&(e.state=v.End,r=r.substr(1)),r){case"p":e.tag=Te.P;break;case"br":e.tag=Te.Br;break;case"ol":e.tag=Te.OrderedList;break;case"ul":e.tag=Te.UnorderedList;break;case"li":e.tag=Te.ListItem;break;case"a":e.tag=Te.A;break;case"strong":case"b":e.tag=Te.B;break;case"em":case"i":e.tag=Te.I;break;case"u":e.tag=Te.U;break;case"strike":case"s":e.tag=Te.S;break;case"sup":e.tag=Te.Sup;break;case"sub":e.tag=Te.Sub;break;case"letter-spacing":e.tag=Te.LetterSpacing;break;case"word-spacing":e.tag=Te.WordSpacing;break;case"line-height":e.tag=Te.LineHeight;break;case"text-align":e.tag=Te.TextAlign;break;case"font":e.tag=Te.Font;break;case"font-face":case"font-family":case"font-name":e.tag=Te.FontName;break;case"font-size":e.tag=Te.FontSize;break;case"font-color":case"color":e.tag=Te.FontColor;break;case"background-color":e.tag=Te.Backcolor;break}return e.tag!=Te.None||De.isNullOrWhiteSpace(r)||(e.tag=Te.Unknown,e.tagName=r),e}static parseHtmlToStates(e,i,n=!1){let a=new Array,s=i.clone(),o=new Array,l=0,u=!1;null==e&&(e="");while(l<e.length)if("<"!=e.charAt(l)){var t=e.charAt(l);Be.isWhitespace(t,0,!1)?u||(s.text.append(" "),u=!0):Be.getUnicodeCategory(t)!=xe.OtherNotAssigned&&(s.text.append(t),u=!1),l++}else{0<s.text.length&&(a.push(s),s=new Ie(s),s.posBegin=l,s.ts.tag.tag==Te.ListItem&&(s.ts.tag=new w(Te.None)));while(l<e.length&&"<"==e[l]){l++;let t=l;while(t<e.length&&">"!=e.charAt(t))t++;var h=e.substr(l,t-l),c,d,m,p,g,f,S;l=t,l++;let r=this.convertStringToTag(h);if(r.isEndTag(Te.P)){if(this.parseStyleAttributes(r,s,i.ts),s.text.append("\n"),a.push(s),s=new Ie(s),s.posBegin=l,u=!0,s.ts.tag=new w(Te.P,v.End),l<e.length&&!De.isNullOrWhiteSpace(e.substr(l))){let e=this.defaultParagraphLineHeight;try{let t=s.ts.getStyleAttribute("margin-bottom");De.isNullOrWhiteSpace(t)&&(t=s.ts.getStyleAttribute("margin")),De.isNullOrWhiteSpace(t)||(e=this.parseSizeToEm(t.trim(),s.ts.fontSize,this.defaultParagraphLineHeight))}catch(t){}s.text.append("\n");var b=s.ts.lineHeight;s.ts.lineHeight=e,a.push(s),s=new Ie(s),s.posBegin=l,s.ts.lineHeight=b,s.ts.tag=new w(Te.None)}0<s.ts.indent&&(s.text.append(this.getIndentString(s.ts.indent)),a.push(s),s=new Ie(s))}else if(r.isStartTag(Te.P)){this.parseStyleAttributes(r,s,i.ts);let e=this.defaultParagraphLineHeight;try{let t=s.ts.getStyleAttribute("margin-top");De.isNullOrWhiteSpace(t)&&(t=s.ts.getStyleAttribute("margin")),De.isNullOrWhiteSpace(t)||(e=this.parseSizeToEm(t.trim(),s.ts.fontSize,this.defaultParagraphLineHeight))}catch(t){}if(0<a.length&&a[a.length-1].ts.tag.isEndTag(Te.P)){let t=a[a.length-1];t.ts.lineHeight<e&&(t.ts.lineHeight=e)}else{(1<a.length||1==a.length&&0!=a[0].text.toString().trim().length)&&(s.text.append("\n"),a.push(s),s=new Ie(s)),s.posBegin=l,u=!0,s.text.append("\n");var b=s.ts.lineHeight;s.ts.lineHeight=e,s.ts.tag=new w(Te.P),a.push(s),s=new Ie(s),s.ts.lineHeight=b,s.posBegin=l,0<s.ts.indent&&(s.text.append(this.getIndentString(s.ts.indent)),a.push(s),s=new Ie(s))}}else if(r.tag==Te.Br)u=!0,s.text.append("\n"),a.push(s),s=new Ie(s),s.posBegin=l,0<s.ts.indent&&s.text.append(this.getIndentString(s.ts.indent));else if(r.isStartTag(Te.ListItem)){0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem||(u=!0,s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.ListItem),s.posBegin=l,s.text.append(this.getIndentString(s.ts.indent)),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l),0==s.ts.indent&&s.ts.indent++,null==s.listLevels&&(s.listLevels=new Array);while(s.ts.indent>s.listLevels.length)s.listLevels.push(0);var y=a[a.length-1];s=this.parseMarkerTypeAttribute(r.attributes,s),this.insertMarker(y.text,s.listLevels[s.ts.indent-1],s.ts.indent),0<s.listLevels[s.ts.indent-1]&&(ke.copy(s.listLevels,0,s.listLevels,s.listLevels.length),s.listLevels[s.ts.indent-1]++),a[a.length-1]=y}else if(r.isEndTag(Te.ListItem)){0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem||(u=!0,s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.ListItem),s.posBegin=l,s.text.append(this.getIndentString(s.ts.indent)),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l)}else if(r.isStartTag(Te.UnorderedList)){if(0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem){s.ts.indent++;let t=a[a.length-1];t.text.append(this.getIndentString(1)),t.ts.indent++,a[a.length-1]=t}else u=!0,0<a.length&&"\n"==a[a.length-1].text.toString()||(s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s)),s.ts.tag=new w(Te.ListItem),s.posBegin=l,s.text.append(this.getIndentString(s.ts.indent+1)),s.ts.indent++,a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l;null==s.listLevels&&(s.listLevels=new Array);while(s.listLevels.length<s.ts.indent)s.listLevels.push(0);s.listLevels[s.ts.indent-1]=1-s.ts.indent,s=this.parseMarkerTypeAttribute(r.attributes,s)}else if(r.isEndTag(Te.UnorderedList)){if(0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem){0<s.ts.indent&&s.ts.indent--;let t=a[a.length-1];0<t.ts.indent&&t.ts.indent--,t.text=new Mt(this.getIndentString(t.ts.indent)),0==s.ts.indent&&(s.listLevels=null,t.listLevels=null),a[a.length-1]=t}else u=!0,s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.ListItem),s.posBegin=l,0<s.ts.indent&&s.ts.indent--,s.text.append(this.getIndentString(s.ts.indent)),0==s.ts.indent&&(s.listLevels=null),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l}else if(r.isStartTag(Te.OrderedList)){if(0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem){s.ts.indent++;let t=a[a.length-1];t.text.append(this.getIndentString(1)),t.ts.indent++,a[a.length-1]=t}else u=!0,0<a.length&&"\n"==a[a.length-1].text.toString()||(s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s)),s.ts.tag=new w(Te.ListItem),s.posBegin=l,s.text.append(this.getIndentString(s.ts.indent+1)),s.ts.indent++,a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l;null==s.listLevels&&(s.listLevels=new Array);while(s.listLevels.length<s.ts.indent)s.listLevels.push(1);s.listLevels[s.ts.indent-1]=1,s=this.parseMarkerTypeAttribute(r.attributes,s);let t=a[a.length-1];t.listLevels=s.listLevels,a[a.length-1]=t}else if(r.isEndTag(Te.OrderedList)){if(0<a.length&&a[a.length-1].ts.tag.tag==Te.ListItem){0<s.ts.indent&&s.ts.indent--;let t=a[a.length-1];0<t.ts.indent&&t.ts.indent--,t.text=new Mt(this.getIndentString(t.ts.indent)),0==s.ts.indent&&(s.listLevels=null,t.listLevels=null),a[a.length-1]=t}else u=!0,s.text.append("\n"),s.ts.tag=new w(Te.ListItem),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.ListItem),s.posBegin=l,0<s.ts.indent&&s.ts.indent--,s.text.append(this.getIndentString(s.ts.indent)),0==s.ts.indent&&(s.listLevels=null),a.push(s),s=new Ie(s),s.ts.tag=new w(Te.None),s.posBegin=l}else{if(r.tag!=Te.None){var y=new Pe(s.ts);if(s=this.parseHtmlTag(r,s,o,i),y.fontSize!=s.ts.fontSize){let t=new Ie(s);t.text=s.text,s.ts=y,s.text=new Mt,a.push(s),s=t,s.ts.tag=new w(Te.Font)}}n&&(s.tagsStack=new Array,o.forEach(t=>{s.tagsStack.push(new Pe(t))}))}}}return 0<s.text.length&&a.push(s),0==a.length&&a.push(s),a}static prepareStateText(i){let n=new Mt,a=0;var s=i.length,o;while(a<s){let r=!1;if("&"==i.charAt(a)&&a+3<s){let t=a+1,e=new Mt;if("#"==i.charAt(t))if(t++,"x"==i.charAt(t)){t++;while(t<s&&Be.isLetterOrDigit(i.charAt(t)))e.append(i.charAt(t)),t++;0<e.length&&t<s&&";"==i.charAt(t)&&(t++,n.append(String.fromCharCode(parseInt(e.toString(),16))),a=t,r=!0)}else{while(t<s&&Be.isDigit(i.charAt(t)))e.append(i.charAt(t)),t++;0<e.length&&t<s&&";"==i.charAt(t)&&(t++,n.append(String.fromCharCode(parseInt(e.toString()))),a=t,r=!0)}else{while(t<s&&Be.isLetterOrDigit(i.charAt(t)))e.append(i.charAt(t)),t++;0<e.length&&t<s&&";"==i.charAt(t)&&(null!=(o=this.htmlEscapeSequence["&"+e.toString()+";"])&&(t++,n.append(o),a=t,r=!0))}}r||(n.append(i.charAt(a)),a++)}return n}static stateToHtml(t,e,r,i){let n="";n+=De.format('<font name="{0}" size="{1}">',t.ts.fontName,t.ts.fontSize),t.ts.isColorChanged&&(n+=De.format('<font-color="{0}">',re.toHtml(t.ts.fontColor))),t.ts.isBackcolorChanged&&(n+=De.format('<background-color="{0}">',re.toHtml(t.ts.backColor))),n+=De.format("<{0}b>",t.ts.bold?"":"/"),n+=De.format("<{0}i>",t.ts.italic?"":"/"),n+=De.format("<{0}u>",t.ts.underline?"":"/"),n+=De.format("<{0}s>",t.ts.strikeout?"":"/"),n+=De.format("<{0}sup>",t.ts.superscript?"":"/"),n+=De.format("<{0}sub>",t.ts.subsript?"":"/"),n+=De.format('<letter-spacing="{0}">',t.ts.letterSpacing),n+=De.format('<word-spacing="{0}">',t.ts.wordSpacing),n+=De.format('<line-height="{0}">',t.ts.lineHeight);let a="left";return t.ts.textAlign==Ae.S.StiTextHorAlignment.Center&&(a="center"),t.ts.textAlign==Ae.S.StiTextHorAlignment.Right&&(a="right"),t.ts.textAlign==Ae.S.StiTextHorAlignment.Width&&(a="justify"),n+=De.format('<text-align="{0}">',a),n+="<StiHtml "+this.stackToString(t.tagsStack)+">",0<e.ts.indent&&(n+=De.format("<StiHtml2 {0} {1}>",i,this.listLevelsToString(e.listLevels,e.ts.indent))),null!=r&&(n+=r.stimulsoft().replaceAll("&","&amp;").stimulsoft().replaceAll("<","&lt;").stimulsoft().replaceAll(">","&gt;")),n}static getIndentString(e){let r=new Mt;for(let t=0;t<e;t++)r.append("          ");return r.toString()}static insertMarker(e,t,r){let i=this.bulletBlack;var n;0<t?i=t.toString()+".":1==(0-t)%2&&(i=this.bulletWhite);var a=0<t?2:3;if(3<e.length)if(i.length>=e.length-a){var t=i+e.toString().substr(e.length-a);e.clear(),e.append(t)}else{var s=e.length-a-i.length;for(let t=0;t<i.length;t++)e.setByIndex(s+t,i[t])}}static stackToString(i){if(null==i||0==i.length)return"";let n=new Mt;try{for(let r=0;r<i.length;r++){let t=i[r],e=new Pe(null);var a=0==r;a||(e=i[r-1]);var s=n.length;t.isBackcolorChanged&&n.appendFormat("bc{0:X2}{1:X2}{2:X2}{3:X2}:",t.backColor.a,t.backColor.r,t.backColor.g,t.backColor.b),t.bold&&(a||t.bold!=e.bold)&&n.append("bd:"),t.isColorChanged&&n.appendFormat("fc{0:X2}{1:X2}{2:X2}{3:X2}:",t.fontColor.a,t.fontColor.r,t.fontColor.g,t.fontColor.b),De.isNullOrEmpty(t.fontName)||!a&&t.fontName==e.fontName||n.appendFormat("fn{0}:",t.fontName.stimulsoft().replaceAll(" ","_")),!a&&t.fontSize==e.fontSize||n.appendFormat("fs{0}:",t.fontSize),t.italic&&(a||t.italic!=e.italic)&&n.append("it:"),!a&&t.letterSpacing==e.letterSpacing||n.appendFormat("ls{0}:",t.letterSpacing),!a&&t.lineHeight==e.lineHeight||n.appendFormat("lh{0}:",t.lineHeight),t.strikeout&&(a||t.strikeout!=e.strikeout)&&n.append("st:"),t.subsript&&(a||t.subsript!=e.subsript)&&n.append("sb:"),t.superscript&&(a||t.superscript!=e.superscript)&&n.append("sp:"),!a&&t.tag.equals(e.tag)||n.appendFormat("tg{0}:",t.tag.tag!=Te.Unknown?Ne.trunc(t.tag.tag).toString():`'${t.tag.tagName}'`),!a&&t.textAlign==e.textAlign||n.appendFormat("ta{0}:",t.textAlign),t.underline&&(a||t.underline!=e.underline)&&n.append("un:"),!a&&t.wordSpacing==e.wordSpacing||n.appendFormat("ws{0}:",t.wordSpacing),":"==n.charAt(n.length-1)&&n.length--,r<i.length-1&&n.length>s&&n.append(";")}while(1<n.length&&";"==n.charAt(n.length-1))n.length--}catch(t){}return n.toString()}static listLevelsToString(e,r){null!=e&&0!=e.length||(e=new Ee);let i=new Mt;try{for(let t=0;t<r;t++)t<e.length?i.append(e[t].toString()):i.append("0"),t<r-1&&i.append(";")}catch(t){}return i.toString()}static parseHtmlTag(r,i,n,t){let e=new Pe(i.ts),a=r.attributes[0];switch(r.tag){case Te.B:i.ts.bold=r.isStart;break;case Te.I:i.ts.italic=r.isStart;break;case Te.U:i.ts.underline=r.isStart;break;case Te.S:i.ts.strikeout=r.isStart;break;case Te.Sup:i.ts.superscript=r.isStart,i.ts.subsript=!1;break;case Te.Sub:i.ts.subsript=r.isStart,i.ts.superscript=!1;break;case Te.LetterSpacing:if(r.isStart){let t=0;"normal"!=a.value&&(t=this.parseSizeToEm(a.value,i.ts.fontSize)),i.ts.letterSpacing=t}break;case Te.WordSpacing:if(r.isStart){let t=0;"normal"!=a.value&&(t=this.parseSizeToEm(a.value,i.ts.fontSize)),i.ts.wordSpacing=t}break;case Te.LineHeight:if(r.isStart){let t=1;"normal"!=a.value&&(t=this.parseSizeToEm(a.value,i.ts.fontSize,1)),t<=0&&(t=1),i.ts.lineHeight=t}break;case Te.TextAlign:if(r.isStart)try{var s=a.value.toString().toLowerCase();"left"==s&&(i.ts.textAlign=Ae.S.StiTextHorAlignment.Left),"right"==s&&(i.ts.textAlign=Ae.S.StiTextHorAlignment.Right),"center"==s&&(i.ts.textAlign=Ae.S.StiTextHorAlignment.Center),"justify"==s&&(i.ts.textAlign=Ae.S.StiTextHorAlignment.Width)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Te.Font:if(r.isStart&&1<r.attributes.length)for(let e=1;e<r.attributes.length;e++){let t=r.attributes[e];switch(t.key){case"color":try{i.ts.fontColor=this.parseColor(t.value.toString()),i.ts.isColorChanged=!0}catch(t){Ae.b.StiError.showError(t,!1)}break;case"face":case"family":case"name":try{i.ts.fontName=t.value.toString()}catch(t){Ae.b.StiError.showError(t,!1)}break;case"size":i.ts.fontSize=this.parseFontSize(t.value.toString());break;case"style":i.ts.htmlStyle=t.value.toString();break}}break;case Te.FontName:if(r.isStart)try{i.ts.fontName=a.value.toString()}catch(t){Ae.b.StiError.showError(t,!1)}break;case Te.FontSize:var s;r.isStart&&(s=this.parseFontSize(a.value.toString()),i.ts.fontSize=s);break;case Te.FontColor:if(r.isStart)try{i.ts.fontColor=this.parseColor(a.value.toString()),i.ts.isColorChanged=!0}catch(t){}break;case Te.Backcolor:if(r.isStart)try{i.ts.backColor=this.parseColor(a.value.toString()),i.ts.isBackcolorChanged=!0}catch(t){Ae.b.StiError.showError(t,!1)}break;case Te.A:if(r.isStart)try{if(0<r.attributes.length&&"href"==r.attributes[1].key){let t=r.attributes[1].value;De.isNullOrWhiteSpace(t)||(i.ts.href=t.trim(),i.ts.fontColor=Fe.blue,i.ts.isColorChanged=!0)}}catch(t){}break;case Te.Unknown:if("stihtml"==r.tagName){n.stimulsoft().clear();try{1<r.attributes.length&&null!=r.attributes[1].key&&n.stimulsoft().addRange(this.stringToStack(r.attributes[1].key.toString(),t.ts))}catch(t){Ae.b.StiError.showError(t,!1)}}if("stihtml2"==r.tagName)try{var o;2<r.attributes.length&&null!=r.attributes[2].key&&(i.listLevels=this.stringToListLevels(r.attributes[2].key),null!=i.listLevels&&(i.ts.indent=i.listLevels.length),0<(o=r.attributes[1].key.stimulsoft().toNumber())&&(i.ts.indent=-o))}catch(t){Ae.b.StiError.showError(t,!1)}break}if(r.isEnd){if(0<n.length)for(let e=n.length-1;0<=e;e--){let t=n[e];if(t.tag.equals(r)){i.ts=t,n.stimulsoft().removeRange(e,n.length-e);break}}}else r.tag!=Te.None&&(e.tag=r,n.push(e));return r.isStart&&1<r.attributes.length&&this.parseStyleAttributes(r,i,t.ts),i}static parseTagIntoPairs(r){let i=new Ee,n=0;while(n<r.length&&" "==r[n])n++;while(n<r.length){let t=n,e=new a;while(t<r.length&&" "!=r[t]&&"="!=r[t])t++;e.keyBase=r.substr(n,t-n),e.key=e.keyBase.toLowerCase(),n=t;while(n<r.length&&" "==r[n])n++;if(n<r.length&&"="==r[n]){n++;while(n<r.length&&" "==r[n])n++;if(n<r.length)if('"'==r[n]){n++,t=n;while(t<r.length&&'"'!=r[t])t++;e.value=r.substr(n,t-n),n=t,n++}else{t=n;while(t<r.length&&" "!=r[t])t++;e.value=r.substr(n,t-n),n=t}}while(n<r.length&&" "==r[n])n++;i.add(e)}return i}static parseMarkerTypeAttribute(t,e){for(var r of t)if("type"==r.keyBase&&!De.isNullOrWhiteSpace(r.value)&&null!=e.listLevels){let t=r.value[0];"disc"==r.value&&(t=String.fromCharCode(8226)),"circle"==r.value&&(t=String.fromCharCode(9702)),"square"==r.value&&(t=String.fromCharCode(9642)),"none"==r.value&&(t=" "),e.listLevels[e.listLevels.length-1]=-t.charCodeAt(0)}return e}static parseStyleAttributes(e,r,i){for(let t=1;t<e.attributes.countItems;t++){var n=e.attributes[t];"style"==n.key&&this.parseStyleAttribute(n.value,r,i)}}static parseStyleAttribute(t,a,e){if(!t||""==t)return;let r=t.split(";");return void r.forEach(t=>{let e=t.split(":");var t=1<e.length,r=e[0].trim();let i=t?e[1].trim():null;switch(r){case"color":try{a.ts.fontColor=s.parseColor(i),a.ts.isColorChanged=!0}catch(t){Ae.b.StiError.showError(t,!1)}break;case"background-color":try{a.ts.backColor=s.parseColor(i),a.ts.isBackcolorChanged=!0}catch(t){Ae.b.StiError.showError(t,!1)}break;case"text-decoration":"underline"==i&&(a.ts.underline=!0),"line-through"==i&&(a.ts.strikeout=!0),"none"==i&&(a.ts.underline=!1,a.ts.strikeout=!1);break;case"font-weight":a.ts.bold="bold"==i||"bolder"==i||"600"==i||"700"==i||"800"==i||"900"==i;break;case"font-style":"normal"==i&&(a.ts.italic=!1),"italic"!=i&&"oblique"!=i||(a.ts.italic=!0);break;case"font-size":a.ts.fontSize=this.parseFontSize(i);break;case"font-face":case"font-family":case"font-name":try{a.ts.fontName=i.stimulsoft().replaceAll("'","").stimulsoft().replaceAll('"',"")}catch(t){}break;case"vertical-align":"baseline"==i&&(a.ts.subsript=!1,a.ts.superscript=!1),"sub"==i&&(a.ts.subsript=!0,a.ts.superscript=!1),"super"==i&&(a.ts.subsript=!1,a.ts.superscript=!0);break;case"letter-spacing":a.ts.letterSpacing="normal"!=i?this.parseSizeToEm(i,a.ts.fontSize):0;break;case"word-spacing":a.ts.wordSpacing="normal"!=i?this.parseSizeToEm(i,a.ts.fontSize):0;break;case"line-height":{let t=1;"normal"!=i&&(t=this.parseSizeToEm(i,a.ts.fontSize,1)),t<=0&&(t=1),a.ts.lineHeight=t;break}case"text-align":var n=i.toLowerCase();"left"==n&&(a.ts.textAlign=Ae.S.StiTextHorAlignment.Left),"right"==n&&(a.ts.textAlign=Ae.S.StiTextHorAlignment.Right),"center"==n&&(a.ts.textAlign=Ae.S.StiTextHorAlignment.Center),"justify"==n&&(a.ts.textAlign=Ae.S.StiTextHorAlignment.Width);break;default:De.isNullOrWhiteSpace(r)||(null==a.ts.styleAttributes&&(a.ts.styleAttributes=new Dt),a.ts.styleAttributes.set(r,i));break}})}static stringToListLevels(e){let r=new Array;try{let t=e.split(";");t.forEach(t=>{r.push(parseInt(t))})}catch(t){Ae.b.StiError.showError(t,!1)}return r}static stringToStack(e,t){let i=new Pe(t),n=new Array;try{let t=e.split(";");t.forEach(t=>{let r=new Pe(i),e=t.split(":");e.forEach(t=>{let e=t.substring(2);switch(t.substring(0,2)){case"bc":r.backColor=Fe.fromArgb(parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16),parseInt(e.substr(6,2),16)),r.isBackcolorChanged=!0;break;case"bd":r.bold=!0;break;case"fc":r.fontColor=Fe.fromArgb(parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16),parseInt(e.substr(6,2),16)),r.isColorChanged=!0;break;case"fn":r.fontName=e;break;case"fs":r.fontSize=parseFloat(e);break;case"it":r.italic=!0;break;case"ls":r.letterSpacing=parseInt(e);break;case"lh":r.lineHeight=parseInt(e);break;case"st":r.strikeout=!0;break;case"sb":r.subsript=!0;break;case"sp":r.superscript=!0;break;case"tg":e.stimulsoft().startsWith("'")?r.tag=this.convertStringToTag(e.substr(1,e.length-2)):r.tag=new w(Zt.parse(Te,e));break;case"ta":r.textAlign=parseInt(e);break;case"un":r.underline=!0;break;case"ws":r.wordSpacing=parseFloat(e);break}}),n.push(r),i=r})}catch(t){Ae.b.StiError.showError(t,!1)}return n}static parseFontSize(t){let e=Ae.bn.GraphicsUnit.Point;t.stimulsoft().endsWith("px")&&(e=Ae.bn.GraphicsUnit.Pixel,t=t.substring(0,t.length-2));let r=t.stimulsoft().toNumber();if(isNaN(r)&&(r=8),r<.5&&(r=.5),this.interpreteFontSizeInHtmlTagsAsInHtml)switch(Math.round(r)){case 1:r=7;break;case 2:r=10;break;case 3:r=12;break;case 4:r=14;break;case 5:r=16;break;case 6:r=22;break;case 7:r=36;break}return e==Ae.bn.GraphicsUnit.Pixel&&(r*=.75),r}static parseSizeToEm(t,e,r=0){let i=1;t.endsWith("em")?t=t.substr(0,t.length-2):t.endsWith("pt")?(t=t.substr(0,t.length-2),i=1/e):t.endsWith("px")?(t=t.substr(0,t.length-2),i=72/96/e):t.endsWith("in")?(t=t.substr(0,t.length-2),i=72/e):t.endsWith("cm")?(t=t.substr(0,t.length-2),i=72/2.54/e):t.endsWith("mm")?(t=t.substr(0,t.length-2),i=72/25.4/e):t.endsWith("%")&&(t=t.substr(0,t.length-1),i=.01);var t=t.replace(",",".").stimulsoft().toNumber();if(!isNaN(t))return t*i;return r}static parseColor(t){let i=Fe.transparent;if(1<t.length)if("#"==t[0]){let e=t.substring(1).toLowerCase(),r=new Mt;for(let t=0;t<e.length;t++){var n=e.charAt(t);"0"!=n&&"1"!=n&&"2"!=n&&"3"!=n&&"4"!=n&&"5"!=n&&"6"!=n&&"7"!=n&&"8"!=n&&"9"!=n&&"a"!=n&&"b"!=n&&"c"!=n&&"d"!=n&&"e"!=n&&"f"!=n||r.append(n)}var a;e=r.toString(),3==e.length&&(e=De.format("{0}{0}{1}{1}{2}{2}",e[0],e[1],e[2])),6==e.length&&(a=Qt.toInt32(e,16),i=Fe.fromArgb(255,a>>16&255,a>>8&255,255&a))}else if(t.stimulsoft().startsWith("rgb")){let e=t.trim().substr(4,t.length-5).split(",");if(3==e.length){let t=ke.create(Number,3);e[0].stimulsoft().endsWith("%")?t[0]=Math.round(2.55*Qt.toInt32(e[0].substr(0,e[0].length-1))):t[0]=Qt.toInt32(e[0]),e[1].stimulsoft().endsWith("%")?t[1]=Math.round(2.55*Qt.toInt32(e[1].substr(0,e[1].length-1))):t[1]=Qt.toInt32(e[1]),e[2].stimulsoft().endsWith("%")?t[2]=Math.round(2.55*Qt.toInt32(e[2].substr(0,e[2].length-1))):t[2]=Qt.toInt32(e[2]),i=Fe.fromArgb(255,t[0],t[1],t[2])}}else{if(null==this.htmlNameToColor){let e=[["AliceBlue","#F0F8FF"],["AntiqueWhite","#FAEBD7"],["Aqua","#00FFFF"],["Aquamarine","#7FFFD4"],["Azure","#F0FFFF"],["Beige","#F5F5DC"],["Bisque","#FFE4C4"],["Black","#000000"],["BlanchedAlmond","#FFEBCD"],["Blue","#0000FF"],["BlueViolet","#8A2BE2"],["Brown","#A52A2A"],["BurlyWood","#DEB887"],["CadetBlue","#5F9EA0"],["Chartreuse","#7FFF00"],["Chocolate","#D2691E"],["Coral","#FF7F50"],["CornflowerBlue","#6495ED"],["Cornsilk","#FFF8DC"],["Crimson","#DC143C"],["Cyan","#00FFFF"],["DarkBlue","#00008B"],["DarkCyan","#008B8B"],["DarkGoldenRod","#B8860B"],["DarkGray","#A9A9A9"],["DarkGrey","#A9A9A9"],["DarkGreen","#006400"],["DarkKhaki","#BDB76B"],["DarkMagenta","#8B008B"],["DarkOliveGreen","#556B2F"],["Darkorange","#FF8C00"],["DarkOrchid","#9932CC"],["DarkRed","#8B0000"],["DarkSalmon","#E9967A"],["DarkSeaGreen","#8FBC8F"],["DarkSlateBlue","#483D8B"],["DarkSlateGray","#2F4F4F"],["DarkSlateGrey","#2F4F4F"],["DarkTurquoise","#00CED1"],["DarkViolet","#9400D3"],["DeepPink","#FF1493"],["DeepSkyBlue","#00BFFF"],["DimGray","#696969"],["DimGrey","#696969"],["DodgerBlue","#1E90FF"],["FireBrick","#B22222"],["FloralWhite","#FFFAF0"],["ForestGreen","#228B22"],["Fuchsia","#FF00FF"],["Gainsboro","#DCDCDC"],["GhostWhite","#F8F8FF"],["Gold","#FFD700"],["GoldenRod","#DAA520"],["Gray","#808080"],["Grey","#808080"],["Green","#008000"],["GreenYellow","#ADFF2F"],["HoneyDew","#F0FFF0"],["HotPink","#FF69B4"],["IndianRed","#CD5C5C"],["Indigo","#4B0082"],["Ivory","#FFFFF0"],["Khaki","#F0E68C"],["Lavender","#E6E6FA"],["LavenderBlush","#FFF0F5"],["LawnGreen","#7CFC00"],["LemonChiffon","#FFFACD"],["LightBlue","#ADD8E6"],["LightCoral","#F08080"],["LightCyan","#E0FFFF"],["LightGoldenRodYellow","#FAFAD2"],["LightGray","#D3D3D3"],["LightGrey","#D3D3D3"],["LightGreen","#90EE90"],["LightPink","#FFB6C1"],["LightSalmon","#FFA07A"],["LightSeaGreen","#20B2AA"],["LightSkyBlue","#87CEFA"],["LightSlateGray","#778899"],["LightSlateGrey","#778899"],["LightSteelBlue","#B0C4DE"],["LightYellow","#FFFFE0"],["Lime","#00FF00"],["LimeGreen","#32CD32"],["Linen","#FAF0E6"],["Magenta","#FF00FF"],["Maroon","#800000"],["MediumAquaMarine","#66CDAA"],["MediumBlue","#0000CD"],["MediumOrchid","#BA55D3"],["MediumPurple","#9370D8"],["MediumSeaGreen","#3CB371"],["MediumSlateBlue","#7B68EE"],["MediumSpringGreen","#00FA9A"],["MediumTurquoise","#48D1CC"],["MediumVioletRed","#C71585"],["MidnightBlue","#191970"],["MintCream","#F5FFFA"],["MistyRose","#FFE4E1"],["Moccasin","#FFE4B5"],["NavajoWhite","#FFDEAD"],["Navy","#000080"],["OldLace","#FDF5E6"],["Olive","#808000"],["OliveDrab","#6B8E23"],["Orange","#FFA500"],["OrangeRed","#FF4500"],["Orchid","#DA70D6"],["PaleGoldenRod","#EEE8AA"],["PaleGreen","#98FB98"],["PaleTurquoise","#AFEEEE"],["PaleVioletRed","#D87093"],["PapayaWhip","#FFEFD5"],["PeachPuff","#FFDAB9"],["Peru","#CD853F"],["Pink","#FFC0CB"],["Plum","#DDA0DD"],["PowderBlue","#B0E0E6"],["Purple","#800080"],["Red","#FF0000"],["RosyBrown","#BC8F8F"],["RoyalBlue","#4169E1"],["SaddleBrown","#8B4513"],["Salmon","#FA8072"],["SandyBrown","#F4A460"],["SeaGreen","#2E8B57"],["SeaShell","#FFF5EE"],["Sienna","#A0522D"],["Silver","#C0C0C0"],["SkyBlue","#87CEEB"],["SlateBlue","#6A5ACD"],["SlateGray","#708090"],["SlateGrey","#708090"],["Snow","#FFFAFA"],["SpringGreen","#00FF7F"],["SteelBlue","#4682B4"],["Tan","#D2B48C"],["Teal","#008080"],["Thistle","#D8BFD8"],["Tomato",
"#FF6347"],["Turquoise","#40E0D0"],["Violet","#EE82EE"],["Wheat","#F5DEB3"],["White","#FFFFFF"],["WhiteSmoke","#F5F5F5"],["Yellow","#FFFF00"],["YellowGreen","#9ACD32"]];this.htmlNameToColor=new Dt;for(let t=0;t<e.length;t++){var r=e[t][0].toLowerCase(),s=Qt.toInt32(e[t][1].substr(1),16),s=Fe.fromArgb(255,s>>16&255,s>>8&255,255&s);this.htmlNameToColor.set(r,s)}}var t=t.toLowerCase();this.htmlNameToColor.containsKey(t)&&(i=this.htmlNameToColor.get(t))}return i}static measureString(t,e,r,i=0,n=!1){var n=Rr.measureString(r,e,t,!0,1,i,!n);return new Fr(n.width,n.height)}static getTextLinesAndWidths(t,e,r,i,n,a,s,o,l,u,h,c,d){var l;l%180!=0&&l%90==0&&(l=i.clone(),i.width=l.height,i.height=l.width);let m=e.ref;null==m&&(m=""),m=m.replace(/\r\n/gi,"\n"),m=m.replace(/\r/gi,"\n");var p=m.split(new RegExp("\n")),g;let f=c.ref,S=d.ref,b=[];if(a)for(let t=0;t<p.length;t++){var y=Ae.bl.TextUtils.getWordWrapTextLines(p[t],r,!1,i.width);for(let t=0;t<y.length;t++)b.push(y[t])}else b=p;for(g of b){var v=Rr.measureString(g,r,null,!0,1,0);f.push(g),S.push({begin:0,length:g.length,needWidthAlign:!1,width:v.width,widths:[],justifyOffset:0,text:null,indexOfMaxFont:0,lineHeight:v.height,textAlignment:Ae.S.StiTextHorAlignment.Left,indent:0,end:g.length})}return e.ref=m,c.ref=f,d.ref=S,[m]}static drawTextForOutput(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b){var y={ref:new Fr(0,0)};this.drawTextBase2(t,{ref:e},r,i,n,a,s,o,l,u,h,1,d,m,p,y,!0,null,null,g,f,S,b)}static measureText(t,e,r,i,n,a,s,o,l,u,h,c,d){var m={ref:new Fr(0,0)};return this.drawTextBase2(t,{ref:e},r,i,Fe.black,Fe.black,n,Ae.S.StiTextHorAlignment.Left,Ae.S.StiVertAlignment.Top,a,s,1,l,u,h,m,!1,null,null,c,null,null,d),m.ref}static drawTextBase(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b,y,v,w){return""}static drawTextBase2(t,A,e,r,a,s,l,o,u,x,h,D,c,B,d,m,p,g,f,S,v,b,E){var y=new Tr(r.x+0,r.y,r.width+1,r.height+1),w=new Tr(y.x+1.5*D,y.y,Ne.round2(r.width-3*D,this.precisionDigits),r.height);let k=new Ae.S.SizeD(w.width,w.height);var y=e,r=D;this.precisionModeEnabled&&(e=new Ar(e.name,e.size*this.precisionModeFactor,e.style),D=r/this.precisionModeFactor);let C=A.ref,T="",P=new Ee,N=null,F=null,R=null,L=0;if(!De.isNullOrEmpty(A.ref)&&!Fe.transparent.equals(a)&&null!=e&&1e-5<D){o==Ae.S.StiTextHorAlignment.Width&&(x=!0);let n=A.ref.stimulsoft().endsWith(this.StiForceWidthAlignTag);n&&(A.ref=A.ref.substr(0,A.ref.length-this.StiForceWidthAlignTag.length),C=A.ref);let i=A.ref;var o=new Pe(y.bold,y.italic,y.underline,y.strikeout,y.sizeInPoints,y.name,a,s,!1,!1,0,0,l,o),o=new Ie(o,0);if(S){var I=this.parseHtmlToStates(A.ref,o,!p);F=ke.create(Ie,I.length);let i="",n=new Ee;for(let r=0;r<I.length;r++){let t=I[r];F[r]=t;let e=this.prepareStateText(t.text);i+=e.toString();for(let t=0;t<e.length;t++)n.add(r);t.ts.textAlign==Ae.S.StiTextHorAlignment.Width&&(t.ts.wordSpacing=0)}A.ref=i,R=ke.create(Number,n.length);for(let t=0;t<R.length;t++)R[t]=n[t]}else{F=ke.create(Ie,1),F[0]=o,R=ke.create(Number,A.ref.length);for(let t=0;t<R.length;t++)R[t]=0}var M=new Ee,O;for(let t=0;t<F.length;t++){var H=this.precisionModeEnabled?F[t].ts.fontSize*this.precisionModeFactor:F[t].ts.fontSize;F[t].fontIndex=this.getFontIndex(F[t].ts.fontName,H,F[t].ts.bold,F[t].ts.italic,F[t].ts.underline,F[t].ts.strikeout,F[t].ts.superscript||F[t].ts.subsript,M)}N=ke.create(ve,M.length);for(let t=0;t<N.length;t++)N[t]=M[t];for(let t=0;t<N.length;t++)N[t].fontScaled=null,N[t].hFontScaled=0,N[t].hScriptCache=0,N[t].hScriptCacheScaled=0,(1!=D||this.precisionModeEnabled)&&p&&(N[t].fontScaled=new Ar(N[t].fontBase.fontFamily.name,N[t].fontBase.size*D,N[t].fontBase.style,N[t].fontBase.unit),N[t].hFontScaled=N[t].fontScaled.getHeight());try{try{for(let t=0;t<N.length;t++)N[t].lineHeight=N[t].fontBase.sizeInPoints*D*1.3,N[t].ascend=N[t].fontBase.sizeInPoints*D*1.1,N[t].descend=N[t].fontBase.sizeInPoints*D*.2,N[t].emValue=N[t].fontBase.sizeInPoints*D;for(let t=0;t<N.length;t++)N[t].hFont=N[t].fontBase.getHeight();try{(45<c&&c<135||225<c&&c<315)&&(O=k.width,k.width=k.height,k.height=O),p&&this.compatibility2009;let s=new Ee,e=0;while(e<A.ref.length){let t=new we;t.begin=e;while(e<A.ref.length&&"\r"!=A.ref[e]&&"\n"!=A.ref[e])e++;t.end=e;while(t.end>t.begin+1&&Be.isWhitespace(A.ref[t.end-1]))t.end--;s.add(t),e++,e<A.ref.length&&("\r"==A.ref[e]||"\n"==A.ref[e])&&A.ref[e-1]!=A.ref[e]&&e++}0<F.length&&F[0].ts.indent<0&&0<s.length&&(s[0].indent=-F[0].ts.indent,null!=F[0].listLevels&&(F[0].ts.indent=F[0].listLevels.length));var _=Rr.measureString("…",N[0].fontBase).width*D,V=1,G=(k.height-N[0].lineHeight)/(N[0].lineHeight*l)+1,U,j;let t=Ne.trunc(G);d||(S?t=s.length:t++);let I=t;{let P=new Ee,a=0;for(let r=0;r<s.length;r++){var W=s[r];let y=A.ref.substr(W.begin,W.length),v=y.length;var q,z=10*F[R[W.begin]].ts.indent;let w=0,C=0;var X=0<z,J,Y,Q,K,Z;let T=!1;if(0<W.indent&&(C=W.indent,w=W.indent,T=!0),0==v){let t=new we;t.begin+=W.begin,P.add(t),a=P.length;continue}if(0<v){let h=ke.create(Number,v),t=0;while(t<v){while(t<v){var $=Be.getUnicodeCategory(y[t]);if($==xe.OpenPunctuation||$==xe.ClosePunctuation||$==xe.InitialQuotePunctuation||$==xe.FinalQuotePunctuation)break;t++}if(t<v){let e=t,r=t;if(Be.getUnicodeCategory(y[t])==xe.OpenPunctuation||Be.getUnicodeCategory(y[t])==xe.InitialQuotePunctuation){while(t<v){var tt=Be.getUnicodeCategory(y[t]);if(tt!=xe.OpenPunctuation&&tt!=xe.InitialQuotePunctuation&&tt!=xe.SpaceSeparator)break;t++}if(t<v&&Be.getUnicodeCategory(y[t])!=xe.ClosePunctuation&&Be.getUnicodeCategory(y[t])!=xe.FinalQuotePunctuation){while(t<v){if(Be.getUnicodeCategory(y[t])==xe.SpaceSeparator||this.isWordWrapSymbol2(y,t)||this.isCJKWordWrap(y,t))break;t++}while(t<v){if(Be.getUnicodeCategory(y[t])!=xe.SpaceSeparator)break;t++}t<v&&Be.getUnicodeCategory(y[t])==xe.DashPunctuation&&t++}if(t<v&&(Be.getUnicodeCategory(y[t])==xe.ClosePunctuation||Be.getUnicodeCategory(y[t])==xe.FinalQuotePunctuation))while(t<v){var et=Be.getUnicodeCategory(y[t]);if(et!=xe.ClosePunctuation&&et!=xe.FinalQuotePunctuation&&et!=xe.OtherPunctuation&&et!=xe.SpaceSeparator)break;t++}r=t}else{t--;while(0<=t){if(Be.getUnicodeCategory(y[t])!=xe.SpaceSeparator)break;t--}while(0<=t){if(Be.getUnicodeCategory(y[t])==xe.SpaceSeparator||0!=h[t]||this.isCJKWordWrap(y,t))break;t--}e=t+(this.isCJKWordWrap(y,t)?0:1),t=r;while(t<v){var rt=Be.getUnicodeCategory(y[t]);if(rt!=xe.ClosePunctuation&&rt!=xe.FinalQuotePunctuation&&rt!=xe.OtherPunctuation&&rt!=xe.SpaceSeparator)break;t++}r=t}while(r>e&&Be.getUnicodeCategory(y[r-1])==xe.SpaceSeparator)r--;h[e]=2;for(let t=e+1;t<r;t++)h[t]=1}}let i=!1;for(let r=0;r<v;r++)if("‑"==y[r]||" "==y[r]){i=!0,h[r]=1;let t=r,e=!0;while(0<t&&Be.isLetterOrDigit(y[t-1])){if(t--,0!=h[t]){e=!1;break}h[t]=1}e&&(h[t]=2),t=r;while(t+1<v&&(Be.isLetterOrDigit(y[t+1])||"‑"==y[t+1]||" "==y[t+1]))t++,h[t]=1;r=t}i&&(y=y.stimulsoft().replaceAll("‑","-"));for(let i=0;i<v;i++)if(this.isNotWordWrapSymbol(y,i))if(0<i&&this.isNotWordWrapSymbol2(y,i-1)){h[i]=1;let t=i;if(!this.isWordWrapSymbol2(y,t)&&!this.isCJKSymbol(y,t)){t++;while(t<y.length&&Be.isLetterOrDigit(y[t])&&!this.isCJKSymbol(y,t)){if(0!=h[t])break;h[t]=1,t++}}t=i;let e=!1,r=!0;while(0<t&&this.isNotWordWrapSymbol2(y,t-1)&&!this.isWordWrapSymbol2(y,t-1)&&r){if(e=!0,t--,0!=h[t]){e=!1;break}h[t]=1,r=!this.isCJKSymbol(y,t)}e&&(h[t]=2)}else if(i<y.length-1&&this.isNotWordWrapSymbol2(y,i+1)){var it=0==h[i];let t=i;if(!this.isWordWrapSymbol2(y,t)){t++;while(t<y.length&&Be.isLetterOrDigit(y[t])){if(0!=h[t])break;h[t]=1,t++}}it&&(h[i]=2)}let c=ke.create(Number,v),d=null,m=1;d=ke.create(ye,m+1,!0),d[1].iCharPos=y.length;let e=new Ee(d);for(let t=d.length-2;0<t;t--){var nt=d[t].iCharPos;(nt==d[t+1].iCharPos-1&&"-"==y[nt]&&Be.isLetter(y,nt-1)||Be.isDigit(y,nt)&&Be.isLetter(y,nt-1))&&e.removeAt(t)}if(e.length<d.length){d=ke.create(ye,e.length,!0);for(let t=0;t<e.length;t++)d[t]=e[t].clone();m=d.length-1}e.clear();{let r=new Ee;r.add(d[0].clone());let i=0;for(let e=0;e<v;e++){if(e==d[i+1].iCharPos){i++,r.add(d[i].clone());continue}if(2==h[e]&&0!=e){let t=d[i].clone();t.iCharPos=e,r.add(t);continue}if(0<e&&R[W.begin+e]!=R[W.begin+e-1]){let t=d[i].clone();t.iCharPos=e,r.add(t);continue}}r.add(d[m].clone()),d=ke.create(ye,r.length,!0);for(let t=0;t<r.length;t++)d[t]=r[t].clone();m=r.length-1}let n=2*v;n<20&&(n=20);let p=0,g=0,f=0,S=0,b=-1;for(let u=0;u<m;u++){var at=ke.create(Number,n),st;let o=ke.create(Number,v),i=ke.create(Number,n);var ot=d[u].iCharPos,lt=d[u+1].iCharPos-ot,ut=y.substr(ot,lt);L=R[W.begin+ot];var ht=N[F[L].fontIndex],ct;2==h[ot]&&u!=S&&(f=u),st=lt;for(let t=0;t<st;t++)o[t]=t;for(let t=0;t<ut.length;t++){var dt=Rr.measureString(ut[t],ht.fontBase);i[t]=dt.width}if(this.correctionEnabled&&!this.compatibility2009){var mt=this.getFontWidth(ht);if(0<mt.length){var pt=this.maxFontSize/ht.emValue;for(let e=0;e<st;e++){if(0==i[e])continue;let t=at[e];t>=mt.length&&(t=mt.length-1);var gt=mt[t]/pt;if(i[e]<gt-.4){let t=Math.round(gt);i[e]>=t&&t++,i[e]=t}else{var ft=i[e]/gt;1<i[e]-gt&&1.1<ft&&(i[e]=Math.ceil(gt))}}}}if(0!=F[L].ts.letterSpacing){var St=1.35*ht.emValue*F[L].ts.letterSpacing;let e=0,r=0;for(let t=0;t<st;t++){r+=i[t]+St;var bt=Ne.trunc(r-e);e+=bt,i[t]=bt}}if(0!=F[L].ts.wordSpacing){var yt=ht.emValue*F[L].ts.wordSpacing,vt;let e=0,r=0;for(let t=0;t<lt;t++){Be.isWhitespace(ut[t])&&(r+=i[o[t]]+yt,vt=Ne.trunc(r-e),e+=vt,i[o[t]]+=vt)}}let r=0;for(let t=0;t<lt;t++){"­"==ut[t]&&(b=i[t],i[t]=0);let e=0;if("\t"==ut[t])e=this.getTabsWidth(E,V,p+r);else{var wt=o[t];while(t<lt-1&&o[t+1]==wt)t++;var Ct=wt,Tt=wt,Tt=t+1<lt?o[t+1]:st;for(let t=Ct;t<Tt;t++)e+=i[t]}r+=e,c[ot+t]=e,X&&ot+t+1==z&&!T&&(w=p+r)}let t=Number.MAX_VALUE,l=!1;if(B!=Or.None?(t=k.width,x&&P.length+1!=I||(l=!0),B!=Or.EllipsisCharacter&&B!=Or.EllipsisWord||l&&(t=k.width-_)):x&&(t=k.width-C),Ne.round2((p+r)*D,this.precisionDigits)<=t)p+=r;else{let i=0,n=0,a=0,s=0;for(let r=0;r<lt;r++){"\t"==ut[r]&&(ct=this.getTabsWidth(E,V,p+i),c[ot+r]=ct);var Pt=o[r];while(r<lt-1&&o[r+1]==Pt)r++;if(i+=c[ot+r],Ne.round2((p+n)*D),this.precisionDigits>t){if(l){if(B!=Or.Character&&B!=Or.EllipsisCharacter||(v=ot+r,0==v&&v++),B!=Or.Word&&B!=Or.EllipsisWord||(v=ot+a,0==v&&(v=ot+r),0==v&&v++),u=m,g<v){let t=new we;t.begin=g,t.end=v,t.needWidthAlign=!1,B!=Or.EllipsisCharacter&&B!=Or.EllipsisWord||(t.text=y.substr(t.begin,t.length)+"…"),P.add(t),g=v}break}let e=!1;if(1==h[ot+r]){let t=ot+r-1;while(1==h[t])t--;t==g&&(e=!0)}a==s&&0==p||e?(s=r,0!=s||e||s++,ot+s-g==0&&s++,0<s&&"­"==ut[s-1]&&s--):s=a;let t=new we;t.begin=g,t.end=ot+s,t.needWidthAlign=!0,P.add(t),T&&(t.indent=w),0<t.end-1&&"­"==A.ref[t.end-1]&&0<=b&&(c[t.end-1]=b),C=w,T=!0;while(t.end>t.begin+1&&Be.isWhitespace(y[t.end-1]))t.end--;while(s<lt-1&&(Be.isWhitespace(y[ot+s])||"­"==y[ot+s]))s++;if(i=0,n=0,p=0,a=s,g=ot+s,r=s-1,g<v&&1==h[g]&&0!=f){g=d[f].iCharPos,t.end=g,u=f-1,S=f,f=0;while(t.end>t.begin+1&&Be.isWhitespace(y[t.end-1]))t.end--;break}f=0,S=0}}p+=i}}if(g<v){let t=new we;t.begin=g,t.end=v,t.needWidthAlign=!1,(B==Or.EllipsisCharacter||B==Or.EllipsisWord)&&P.length+1==I&&r+1<s.length&&(t.text=y.substr(t.begin,t.length)+"…"),T&&(t.indent=w),P.add(t)}for(let t=a;t<P.length;t++){let e=P[t],r=0,i=0;for(let t=e.begin;t<e.end;t++){r+=c[t];var It=A.ref[W.begin+t];Be.isWhitespace(It)&&" "!=It&&i++}null!=e.text&&(r+=_),e.width=Ne.trunc(r*D),e.begin+=W.begin,0<i&&(0<(Z=(k.width-e.width-e.indent)/i)?e.justifyOffset=Z:e.needWidthAlign=!1)}a=P.length}}s=P}d||B!=Or.None||(I=s.length);let a=0,o=0;for(let n=t=0;n<s.length;n++){let e=s[n];a<e.width&&(a=e.width);let r=F[R[e.begin]].fontIndex;for(let t=e.begin+1;t<e.end;t++){var At=F[R[t]].fontIndex;N[r].fontBase.size<N[At].fontBase.size&&(r=At)}e.indexOfMaxFont=r;let i=1;if(n!=s.length-1){let t=s[n+1].begin;0<t&&t--,i=F[R[t]].ts.lineHeight}e.lineHeight=N[r].lineHeight*i,o+=e.lineHeight,(o<w.height||o-e.lineHeight+N[r].lineHeight<w.height)&&t++,e.textAlignment=F[R[e.end-(0<e.length?1:0)]].ts.textAlign}if(d&&(I=t),m.ref.width=a,m.ref.height=Math.round(o),0==s.length&&(m.ref.height=0),this.optimizeBottomMargin?1==s.length?m.ref.height+=.07*N[0].lineHeight:2==s.length?m.ref.height+=.085*N[0].lineHeight:2<s.length&&(m.ref.height+=.1*N[0].lineHeight):(1==s.length&&(m.ref.height+=.1*N[0].lineHeight),1<s.length&&(m.ref.height+=.4*N[0].lineHeight)),45<c&&c<135||225<c&&c<315?(j=m.ref.width,m.ref.width=m.ref.height,m.ref.height=j,m.ref.height>w.height&&x&&(m.ref.height=w.height),m.ref.width>w.width&&(m.ref.width=w.width)):(m.ref.width>w.width&&x&&(m.ref.width=w.width),m.ref.height>w.height&&(m.ref.height=w.height)),m.ref.width+=3*D,null!=g)for(let e=0;e<s.length;e++){var xt=s[e];let t=xt.text;null==t&&(t=A.ref.substr(xt.begin,xt.length));var Dt=0<t.length&&"­"==t[t.length-1];t=t.stimulsoft().replaceAll("­","")+(Dt?"-":""),0<xt.indent&&(t=this.getIndentString(xt.indent)+t),g.add(t),null!=f&&f.add(xt)}if(p){this.compatibility2009;let r=s.length;r>I&&(r=I);let t=0,e=0;for(let t=0;t<r;t++)e+=s[t].lineHeight;e=Ne.trunc(e);let i=u;switch(0!=c&&90!=c&&180!=c&&270!=c&&(i=Ae.S.StiVertAlignment.Center),i){case Ae.S.StiVertAlignment.Center:t+=(k.height-e)/2;break;case Ae.S.StiVertAlignment.Bottom:t+=k.height-e;break}let y=t;for(let e=0;e<r;e++){let b=s[e];if(0<b.length){let d=A.ref.substr(b.begin,b.length);null!=b.text&&(d=b.text),-1!=d.indexOf("‑")&&(d=d.stimulsoft().replaceAll("‑","-")),d=d.substr(0,d.length-1).stimulsoft().replaceAll("­","​")+d[d.length-1];let t=b.indent*D;var Bt=b.width;let m=b.textAlignment;switch(h&&(b.textAlignment==Ae.S.StiTextHorAlignment.Left&&(m=Ae.S.StiTextHorAlignment.Right),b.textAlignment==Ae.S.StiTextHorAlignment.Right&&(m=Ae.S.StiTextHorAlignment.Left)),n&&e==s.length-1&&(b.needWidthAlign=!0),m!=Ae.S.StiTextHorAlignment.Width||b.needWidthAlign||(m=h?Ae.S.StiTextHorAlignment.Right:Ae.S.StiTextHorAlignment.Left),m){case Ae.S.StiTextHorAlignment.Center:t+=(k.width-Bt)/2;break;case Ae.S.StiTextHorAlignment.Right:t+=k.width-Bt;break}let p;var Et=1;p=ke.create(ye,Et+1,!0),p[1].iCharPos=d.length;{let r=new Ee;r.add(p[0].clone());let i=0;for(let e=0;e<d.length;e++){if(e==p[i+1].iCharPos){i++,r.add(p[i].clone());continue}if(0<e&&R[b.begin+e]!=R[b.begin+e-1]){let t=p[i].clone();t.iCharPos=e,r.add(t);continue}}r.add(p[Et].clone()),p=ke.create(ye,r.length,!0);for(let t=0;t<r.length;t++)p[t]=r[t].clone();Et=r.length-1}var kt=d.length;let g=2*kt;g<20&&(g=20);let f=0,S=t;for(let c=0;c<Et;c++){var Nt=ke.create(Number,g),Ft;let i=ke.create(Number,kt),a=ke.create(Number,g);var Rt=c,Lt=p[Rt].iCharPos,Mt=p[Rt+1].iCharPos-Lt,Ot=d.substr(Lt,Mt);L=R[b.begin+Lt];let n=N[F[L].fontIndex];var Ht=0!=n.hFontScaled,_t;let t=y;F[L].ts.superscript||F[L].ts.subsript?(_t=N[n.parentFontIndex],t+=N[b.indexOfMaxFont].ascend-_t.ascend,F[L].ts.subsript&&(t+=_t.lineHeight-(n.ascend+n.descend))):t+=N[b.indexOfMaxFont].ascend-n.ascend;var Vt=Ht?n.hScriptCacheScaled:n.hScriptCache,Ft=Mt,Gt;for(let t=0;t<Ft;t++)i[t]=t;let s=0;if(Ht){for(let t=0;t<Ot.length;t++){var Ut=Rr.measureString(Ot[t],n.fontBase);a[t]=Ut.width}if(this.correctionEnabled&&!this.compatibility2009){var jt=this.getFontWidth(n);if(0<jt.length){var Wt=this.maxFontSize/n.emValue;for(let e=0;e<Ft;e++){if(0==a[e])continue;let t=Nt[e];t>=jt.length&&(t=jt.length-1);var qt=jt[t]/Wt;if(a[e]<qt-.4){let t=Math.round(qt);a[e]>=t&&t++,a[e]=t}else{var zt=a[e]/qt;1<a[e]-qt&&1.1<zt&&(a[e]=Math.ceil(qt))}}}}for(let t=0;t<Ft;t++)s+=a[t]}for(let t=0;t<Ot.length;t++){var Xt=Rr.measureString(Ot[t],n.fontBase);a[t]=Xt.width}if(this.correctionEnabled&&!this.compatibility2009){var Jt=this.getFontWidth(n);if(0<Jt.length){var Yt=this.maxFontSize/n.emValue/D;for(let e=0;e<Ft;e++){if(0==a[e])continue;let t=Nt[e];t>=Jt.length&&(t=Jt.length-1);var Qt=Jt[t]/Yt;if(a[e]<Qt-.4){let t=Math.round(Qt);a[e]>=t&&t++,a[e]=t}else{var Kt=a[e]/Qt;1<a[e]-Qt&&1.1<Kt&&(a[e]=Math.ceil(Qt))}}}}if(Ht){let i=0;for(let t=0;t<Ft;t++)i+=a[t];if(0<i){var Zt=s*D/i;let e=0,r=0;for(let t=0;t<Ft;t++){r+=a[t]*Zt;var $t=Ne.trunc(r-e);e+=$t,a[t]=$t}}}let e=null;if(null!=v){e=ke.create(Number,Ft);for(let t=0;t<Ft;t++)e[t]=a[t]}let o=0;if(0!=F[L].ts.letterSpacing){var te=1.35*n.emValue*F[L].ts.letterSpacing*D;let e=0,r=0;for(let t=0;t<Ft;t++){r+=a[t]+te;var ee=Ne.trunc(r-e);e+=ee,a[t]=ee}o+=te*Ft}if(0!=F[L].ts.wordSpacing){var re=n.emValue*F[L].ts.wordSpacing*D,ie;let e=0,r=0;for(let t=0;t<Mt;t++){Be.isWhitespace(Ot[t])&&(r+=a[i[t]]+re,ie=Ne.trunc(r-e),e+=ie,a[i[t]]+=ie,o+=re)}}let r=0,l=!0;for(let t=0;t<Mt;t++){let e=0;if("\t"==Ot[t]){var ne=this.getTabsWidth(E,V*D,f+r);e=ne,s+=Ne.trunc(ne/D)}else{var ae=i[t];while(t<Mt-1&&i[t+1]==ae)t++,l=!1;var se=ae,oe=ae,oe=t+1<Mt?i[t+1]:Ft;for(let t=se;t<oe;t++)e+=a[t];1<oe-se&&(l=!1)}r+=e}let u=0,h=0;if(m==Ae.S.StiTextHorAlignment.Width)for(let t=0;t<Mt;t++){Be.isWhitespace(Ot[t])&&" "!=Ot[t]&&(h+=b.justifyOffset,Gt=Ne.trunc(h-u),u+=Gt,a[i[t]]+=Gt)}if(l||null!=v){let n=new Ce;n.text=Ot,n.xPos=S,n.yPos=t,n.widths=ke.create(Number,Mt);for(let t=0;t<Mt;t++){var le=t,ue=i[t];while(t<Mt-1&&i[t+1]==ue)t++;var he=ue,ce=ue,ce=t+1<Mt?i[t+1]:Ft;if(le!=t||1<ce-he){let i=0;for(let t=he;t<ce;t++)i+=a[t];if(t!=le){var de=t-le+1,me=i/de;let e=0,r=0;for(let t=0;t<de-1;t++){e+=me;var pe=Ne.trunc(Math.round(e)-r);r+=pe,n.widths[le+t]=pe}n.widths[t]=i-r}else n.widths[t]=i}else n.widths[t]=a[he]}null==e&&(e=ke.create(Number,Ft)),n.glyphIndexList=ke.create(Number,Ft),n.glyphWidths=ke.create(Number,Ft),n.scaleList=ke.create(Number,Ft);for(let t=0;t<Ft;t++)n.glyphIndexList[t]=Nt[t],n.glyphWidths[t]=a[t],n.scaleList[t]=1,0!=e[t]&&(n.scaleList[t]=a[t]/e[t]);n.textColor=F[L].ts.fontColor,n.backColor=F[L].ts.backColor,n.fontIndex=F[L].fontIndex,n.href=F[L].ts.href,P.add(n)}Ht?n.hScriptCacheScaled!=Vt&&(n.hScriptCacheScaled=Vt):n.hScriptCache!=Vt&&(n.hScriptCache=Vt),S+=Ht?s*D+h+o:r+h,f+=r}}y+=b.lineHeight}}if(!p&&s.length>I)if(n=0<I&&s[I-1].needWidthAlign,S){var ge=s[I],fe=R[ge.begin],Se=F[fe];let t=ge.begin;while(0<t&&R[t-1]==R[t])t--;var be=ge.begin-t;let e=this.prepareStateText(Se.text).toString();if(0<I){let t=null;t=0<fe&&F[fe-1].ts.tag.tag==Te.ListItem&&Se.ts.tag.tag==Te.ListItem?null==F[fe-1].listLevels||null==Se.listLevels||F[fe-1].listLevels.length==Se.listLevels.length?"<li>"+e.substr(0,be):(0<Se.listLevels[Se.listLevels.length-1]?"<ol>":"<ul>")+e.substr(0,be):this.stateToHtml(Se,Se,e.substr(0,be),ge.indent),C=i.substr(0,Se.posBegin)+(0<be?t:"")+(n?this.StiForceWidthAlignTag:"")}else C="";let r=R[ge.begin]+1;T=this.stateToHtml(Se,Se.ts.tag.tag==Te.ListItem||Se.ts.tag.tag==Te.P?F[r]:Se,e.substr(be),ge.indent),Se.ts.tag.tag==Te.ListItem&&r<F.length&&(T+=F[r].text,r++),r<F.length&&(T+=i.substr(F[r].posBegin))}else{let t=null;C=0<I?(t=s[I-1],A.ref.substr(0,t.end)+(n?this.StiForceWidthAlignTag:"")):"",t=s[I],T=A.ref.substr(t.begin)}}catch(t){}finally{for(let t=0;t<N.length;t++);}}catch(t){}finally{}0<P.length&&null!=v&&(v.clear(),v.addRange(P),b.clear(),b.addRange(N))}catch(t){}finally{for(let t=0;t<N.length;t++)N[t].hFontScaled}}return A.ref=T,C}static getFontWidth(t){var e=t.fontNameReal+(t.fontBase.bold?",bold":"")+(t.fontBase.italic?",italic":"");null==this.hashFonts&&(this.hashFonts=new Dt);let r=this.hashFonts.get(e);if(null==r){try{r=this.getFontWidth2(t.fontBase)}catch(t){r=[0]}this.hashFonts.set(e,r)}return r}static getFontWidth2(t){var e=[];let r=[];for(let t=0;t<65536-1;t++)r[t]=t;return e}static isWordWrapSymbol2(t,e){var e=t[e];return"!"==e||"%"==e||")"==e||"}"==e||"-"==e||"?"==e||")"==e||":"==e||"、"==e||","==e||"。"==e}static isNotWordWrapSymbol(t,e){var r=Be.getUnicodeCategory(t[e]);let i=r==xe.OtherPunctuation||r==xe.MathSymbol||r==xe.CurrencySymbol;return 0<e&&this.isWordWrapSymbol2(t,e-1)&&(i=!1),i}static isNotWordWrapSymbol2(t,e){var r=Be.getUnicodeCategory(t[e]),i;return r==xe.OtherPunctuation||r==xe.MathSymbol||r==xe.CurrencySymbol||Be.isLetterOrDigit(t[e])}static isCJKWordWrap(t,e){if(0<e&&this.isCJKSymbol(t,e))return this.isCJKSymbol(t,e-1);return!1}static isCJKSymbol(t,e){var e=t.charCodeAt(e);return 19968<=e&&e<=40908||13312<=e&&e<=19893}};s.precisionDigits=5,s.defaultParagraphLineHeight=.7,s.precisionModeFactor=4,s.precisionModeEnabled=!1,s.correctionEnabled=!0,s.maxFontSize=1024,s.compatibility2009=!1,s.optimizeBottomMargin=!0,s.htmlNameToColor=null,s.interpreteFontSizeInHtmlTagsAsInHtml=!1,s._htmlEscapeSequence=null,s.bulletBlack="•",s.bulletWhite="◦",s.StiForceWidthAlignTag="<forcewidth>",Ae.S.StiTextRenderer=s;let ve=class{constructor(){this.elipsisWidth=0,this._fontNameReal=null}get fontNameReal(){return null!=this._fontNameReal?this._fontNameReal:this._fontNameReal=this.fontBase.name}};Ae.S.StiFontState=ve;let we=class{constructor(){this.begin=0,this.length=0,this.needWidthAlign=!1,this.width=0,this.justifyOffset=0,this.indexOfMaxFont=0,this.lineHeight=0,this.textAlignment=Ae.S.StiTextHorAlignment.Left,this.indent=0}get end(){return this.begin+this.length}set end(t){this.length=t-this.begin}};Ae.S.LineInfo=we;let Ce=class{};Ae.S.RunInfo=Ce;let Te;(V=Te=Ae.S.StiHtmlTag||(Ae.S.StiHtmlTag={}))[V["None"]=0]="None",V[V["B"]=1]="B",V[V["I"]=2]="I",V[V["U"]=3]="U",V[V["S"]=4]="S",V[V["Sup"]=5]="Sup",V[V["Sub"]=6]="Sub",V[V["Font"]=7]="Font",V[V["FontName"]=8]="FontName",V[V["FontSize"]=9]="FontSize",V[V["FontColor"]=10]="FontColor",V[V["Backcolor"]=11]="Backcolor",V[V["LetterSpacing"]=12]="LetterSpacing",V[V["WordSpacing"]=13]="WordSpacing",V[V["LineHeight"]=14]="LineHeight",V[V["TextAlign"]=15]="TextAlign",V[V["P"]=16]="P",V[V["Br"]=17]="Br",V[V["OrderedList"]=18]="OrderedList",V[V["UnorderedList"]=19]="UnorderedList",V[V["ListItem"]=20]="ListItem",V[V["A"]=21]="A",V[V["Unknown"]=22]="Unknown";let v;(ft=v=Ae.S.StiHtmlTag2State||(Ae.S.StiHtmlTag2State={}))[ft["Start"]=0]="Start",ft[ft["End"]=1]="End",ft[ft["Empty"]=2]="Empty";let w=class{constructor(t=Te.None,e=v.Start){this.tag=t,this.state=e}get isStart(){return this.state==v.Start}get isEnd(){return this.state==v.End}get isEmpty(){return this.state==v.Empty}isStartTag(t){return this.tag==t&&this.state==v.Start}isEndTag(t){return this.tag==t&&this.state==v.End}equals(t){if(this.tag!=t.tag)return!1;if(this.tag==Te.Unknown)return this.tagName==t.tagName;return!0}toString(){return this.tag==Te.Unknown?`'${this.tagName}'`:this.tag.toString()}};Ae.S.StiHtmlTag2=w;let Pe=class{constructor(t,e,r,i,n,a,s,o,l,u,h,c,d,m){var p;t.stimulsoft().is(Pe)?(p=t.stimulsoft().as(Pe),this.bold=p.bold,this.italic=p.italic,this.underline=p.underline,this.strikeout=p.strikeout,this.fontSize=p.fontSize,this.fontName=p.fontName,this.fontColor=p.fontColor,this.backColor=p.backColor,this.subsript=p.subsript,this.superscript=p.superscript,this.letterSpacing=p.letterSpacing,this.wordSpacing=p.wordSpacing,this.lineHeight=p.lineHeight,this.textAlign=p.textAlign,this.isColorChanged=p.isColorChanged,this.isBackcolorChanged=p.isBackcolorChanged,this.tag=p.tag,this.indent=p.indent,this.htmlStyle="",this.href=p.href,this.styleAttributes=p.styleAttributes):(this.bold=t,this.italic=e,this.underline=r,this.strikeout=i,this.fontSize=n,this.fontName=a,this.fontColor=s,this.backColor=o,this.subsript=u,this.superscript=l,this.letterSpacing=h,this.wordSpacing=c,this.lineHeight=d,this.textAlign=m,this.isColorChanged=!1,this.isBackcolorChanged=!1,this.tag=new w,this.indent=0,this.htmlStyle="",this.href=null,this.styleAttributes=null)}clone(){let t=new Pe(!0);return t.bold=this.bold,t.italic=this.italic,t.underline=this.underline,t.strikeout=this.strikeout,t.fontSize=this.fontSize,t.fontName=this.fontName,t.fontColor=this.fontColor,t.backColor=this.backColor,t.subsript=this.subsript,t.superscript=this.superscript,t.letterSpacing=this.letterSpacing,t.wordSpacing=this.wordSpacing,t.lineHeight=this.lineHeight,t.textAlign=this.textAlign,t.isColorChanged=this.isColorChanged,t.isBackcolorChanged=this.isBackcolorChanged,t.tag=this.tag,t.indent=this.indent,t.htmlStyle=this.htmlStyle,t.href=this.href,t.styleAttributes=this.styleAttributes,t}getStyleAttribute(t){if(null!=this.styleAttributes)return this.styleAttributes.get(t);return null}};Ae.S.StiHtmlTagsState=Pe;let Ie=class{constructor(t,e){var t;"string"==typeof t?(this.ts=new Pe(!1),this.ts.tag=new w,this.text=new Mt(t),this.fontIndex=0,this.posBegin=0,this.tagsStack=null,this.listLevels=null):t.stimulsoft().is(Pe)?(this.ts=t.stimulsoft().as(Pe),this.text=new Mt,this.fontIndex=0,this.posBegin=e,this.tagsStack=null,this.listLevels=null):(t=t.stimulsoft().as(Ie),this.ts=new Pe(t.ts),this.text=new Mt,this.fontIndex=0,this.posBegin=t.posBegin,this.tagsStack=null,this.listLevels=t.listLevels,this.ts.indent<0&&(null!=this.listLevels?this.ts.indent=this.listLevels.length:this.ts.indent=0))}clone(){let t=new Ie(this.ts);return t.ts=this.ts.clone(),t.text=new Mt(this.text.toString()),t.fontIndex=this.fontIndex,t.posBegin=this.posBegin,t.tagsStack=this.tagsStack,t.listLevels=this.listLevels,t}toString(){return'"'+this.text.toString().stimulsoft().replaceAll("\n","\\n")+'" '+(this.ts.tag.tag==Te.None?"":this.ts.tag.toString())}};Ae.S.StiHtmlState=Ie;let a=class{};Ae.S.TagPair=a}(K=dr=Ae.d.StiPlanIdent||(Ae.d.StiPlanIdent={}))[K["OnlineTrial"]=100]="OnlineTrial",K[K["OnlineStandard"]=101]="OnlineStandard",K[K["ServerTrial"]=200]="ServerTrial",K[K["ServerTeam5"]=201]="ServerTeam5",K[K["ServerTeam10"]=202]="ServerTeam10",K[K["ServerTeam25"]=203]="ServerTeam25",K[K["ServerTeam50"]=204]="ServerTeam50",K[K["ServerBusiness"]=205]="ServerBusiness",K[K["ServerEnterprise"]=206]="ServerEnterprise",K[K["ServerWorldWide"]=207]="ServerWorldWide",K[K["Test"]=300]="Test",(Z=mr=Ae.d.StiPlanFeatureIdent||(Ae.d.StiPlanFeatureIdent={}))[Z["Cycles"]=1]="Cycles";{let f;(tt=f=Ae.X.DateTimeFormat||(Ae.X.DateTimeFormat={}))[tt["USA_DATE"]=0]="USA_DATE",tt[tt["UK_DATE"]=1]="UK_DATE";let S=class{constructor(t,e,r,i,n,a){var t;this.indexOfDate=t,this.lengthOfDate=e,this.indexOfTime=r,this.lengthOfTime=i,this.dateTime=n,this.isDateFound=-1<t,this.isTimeFound=-1<r,null==a?(this.utcOffset=new lt(25,0,0),this.isUtcOffsetFound=!1,this.utcDateTime=new z(1,1,1,0,0,0,0)):(this.utcOffset=a,this.isUtcOffsetFound=Math.abs(a.totalHours)<12,this.isUtcOffsetFound?t<0?(t=n.timeOfDay.ticks+a.ticks,this.utcDateTime=(t<0?new z(1,1,2,0,0,0,0):new z(1,1,1,0,0,0,0)).addTicks(t)):this.utcDateTime=n.addTicks(a.ticks):this.utcDateTime=new z(1,1,1,0,0,0,0))}};Ae.X.ParsedDateTime=S;var rt=class{static get defaultDate(){return this.defaultDateIsNow?z.now:this._defaultDate}static set defaultDate(t){this._defaultDate=t,this.defaultDateIsNow=!1}static tryParseDateTime(t,e,r){var i={ref:null};if(this.tryParseDateTime2(t,e,i))return r.ref=i.ref.dateTime,!0;return r.ref=new z(1,1,1,0,0,0,0),!1}static tryParseDateTime2(t,e,r){if(this.tryParseDateOrTime2(t,e,r))return!0;return r.ref=null,!1}static tryParseDateOrTime2(t,e,r){let i=null;var n={ref:null},a={ref:null},s,s;if(this.tryParseDate2(t,e,n)){i=this.tryParseTime2(t,e,a,n.ref)?(s=new z(n.ref.dateTime.year,n.ref.dateTime.month,n.ref.dateTime.day,a.ref.dateTime.hour,a.ref.dateTime.minute,a.ref.dateTime.second,0),new S(n.ref.indexOfDate,n.ref.lengthOfDate,a.ref.indexOfTime,a.ref.lengthOfTime,s,a.ref.utcOffset)):(s=new z(n.ref.dateTime.year,n.ref.dateTime.month,n.ref.dateTime.day,0,0,0,0),new S(n.ref.indexOfDate,n.ref.lengthOfDate,-1,-1,s))}else{if(!this.tryParseTime2(t,e,a,null))return!1;var e=new z(this.defaultDate.year,this.defaultDate.month,this.defaultDate.day,a.ref.dateTime.hour,a.ref.dateTime.minute,a.ref.dateTime.second,0);i=new S(-1,-1,a.ref.indexOfTime,a.ref.lengthOfTime,e,a.ref.utcOffset)}return r.ref=i,!0}static tryParseTime2(r,i,n,t){n.ref=null;var i=i==f.USA_DATE?"(?:\\s*(UTC|GMT|CST|EST))?":"(?:\\s*(UTC|GMT))?";let e,a,s=null,o=null,l=null,u=null,h=null,c=null,d=null,m=null;if(null!=t&&-1<t.indexOfDate?(e=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})(?=$|[^\\d\\w])",""),a=r.substr(t.indexOfDate+t.lengthOfDate).match(e),null!=a&&(s=a[1],o=a[2],l=a[3],h=a[5],c=a[6],m=a[4]),null==a&&(e=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+i+"(?=$|[^\\d\\w])",""),a=r.substr(t.indexOfDate+t.lengthOfDate).match(e),null!=a&&(s=a[1],o=a[2],l=a[3],u=a[4],d=a[5])),null==a&&(e=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+i+"(?=$|[\\s,]+)",""),a=r.substr(0,t.indexOfDate).match(e),null!=a&&(s=a[1],o=a[2],l=a[3],u=a[4],d=a[5])),null==a&&(e=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+i+"(?=$|[\\s,]+)",""),a=r.substr(t.indexOfDate,t.lengthOfDate).match(e),null!=a&&(s=a[1],o=a[2],l=a[3],u=a[4],d=a[5]))):(e=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})?(?=$|[^\\d\\w])",""),a=r.match(e),null!=a&&(s=a[1],o=a[2],l=a[3],h=a[5],c=a[6],m=a[4]),null==a&&(e=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+i+"(?=$|[^\\d\\w])",""),a=r.match(e),null!=a&&(s=a[1],o=a[2],l=a[3],u=a[4],d=a[5]))),null==a)return!1;let p=parseInt(s);if(p<0||23<p)return!1;var i=parseInt(o);if(i<0||59<i)return!1;let g=0;if(!De.isNullOrEmpty(l)&&(g=parseInt(l),g<0||59<g))return!1;null!=u&&"PM"==u.toUpperCase()&&p<12?p+=12:null!=u&&"AM"==u.toUpperCase()&&12==p&&(p-=12);var r=new z(1,1,1,p,i,g,0);if(!De.isNullOrWhiteSpace(h)){var i=parseInt(h);let t=0;De.isNullOrWhiteSpace(c)||(t=parseInt(c));let e=new lt(i,t,0);return"-"==m&&(e=new lt(-e.ticks)),n.ref=new S(-1,-1,a.index,a[0].length,r,e),!0}if(!De.isNullOrWhiteSpace(d)){let t;switch(d){case"UTC":case"GMT":t=new lt(0,0,0);break;case"CST":t=new lt(-6,0,0);break;case"EST":t=new lt(-5,0,0);break;default:throw new Error("Time zone: "+d+" is not defined.")}return n.ref=new S(-1,-1,a.index,a[0].length,r,t),!0}return n.ref=new S(-1,-1,a.index,a[0].length,r),!0}static tryParseDate2(t,e,r){if(r.ref=null,De.isNullOrEmpty(t))return!1;var i=new RegExp("(\\d{4})\\s*([\\/])\\s*(\\d{1,2})\\s*[\\/]+\\s*(\\d{1,2})(?=$|[^\\d])","i");let n=t.match(i);if(null!=n){var a={ref:null};if(!this.convertToDate(parseInt(n[1]),parseInt(n[3]),parseInt(n[4]),a))return!1;return r.ref=new S(n.index,n[0].length,-1,-1,a.ref),!0}if(i=new RegExp("(\\d{1,2})\\s*([\\\\\\/\\.])+\\s*(\\d{1,2})\\s*[\\\\\\/\\.]+\\s*(\\d{2}|\\d{4})(?=$|[^\\d])","i"),n=t.match(i),null!=n){var a={ref:null};if((e^f.USA_DATE)==f.USA_DATE){if(!this.convertToDate(parseInt(n[4]),parseInt(n[1]),parseInt(n[3]),a))return!1}else if(!this.convertToDate(parseInt(n[4]),parseInt(n[3]),parseInt(n[1]),a))return!1;return r.ref=new S(n.index,n[0].length,-1,-1,a.ref),!0}if(i=new RegExp("(\\d{2}|\\d{4})\\s*([\\-])\\s*(\\d{1,2})\\s*[\\-]+\\s*(\\d{1,2})(?=$|[^\\d])","i"),n=t.match(i),null!=n){var s={ref:null};if(!this.convertToDate(parseInt(n[1]),parseInt(n[3]),parseInt(n[4]),s))return!1;return r.ref=new S(n.index,n[0].length,-1,-1,s.ref),!0}var s=Ae.bh.CultureInfo.currentCulture.dateTimeFormat.abbreviatedMonthNames.stimulsoft().toList().where(t=>!De.isNullOrWhiteSpace(t)).select(t=>3<t.length?t.substr(0,3):t).select(t=>t.substr(0,1).toUpperCase()+t.substr(1,t.length-1).toLowerCase()).toList();if(this.tryParseDateInternal(t,r,s))return!0;return s=Ae.bh.CultureInfo.currentCulture.dateTimeFormat.monthNames.stimulsoft().toList().where(t=>!De.isNullOrWhiteSpace(t)).select(t=>t.substr(0,1).toUpperCase()+t.substr(1,t.length-1).toLowerCase()).toList(),this.tryParseDateInternal(t,r,s)}static tryParseDateInternal(t,e,r){var i=De.join("|",r);let n=null,a=null,s=null,o=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?\\s*,?\\s*(\\d{4})(?=$|[^\\d\\w])","i"),l=t.match(o);if(null!=l&&(a=l[1],s=l[2],n=l[3]),null==l&&(o=new RegExp("(?:^|[^\\d\\w:])(\\d{1,2})(?:-?st\\s+|-?th\\s+|-?rd\\s+|-?nd\\s+|-|\\s+)("+i+")[uarychilestmbro]*(?:\\s*,?\\s*|-)'?(\\d{2}|\\d{4})(?=$|[^\\d\\w])","i"),l=t.match(o),null!=l&&(s=l[1],a=l[2],n=l[3])),null==l&&(o=new RegExp("(?:^|[^\\d\\w])(\\d{4})\\s+("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?=$|[^\\d\\w])","i"),l=t.match(o),null!=l&&(n=l[1],a=l[2],s=l[3])),null==l&&(o=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})\\s+\\d{2}\\:\\d{2}\\:\\d{2}\\s+(?:MDT|UTC)\\s+(\\d{4})(?=$|[^\\d\\w])","i"),l=t.match(o),null!=l&&(a=l[1],s=l[2])),null==l&&(o=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?:\\s*,?\\s*(\\d{4}))?(?=$|[^\\d\\w])","i"),l=t.match(o),null!=l&&(a=l[1],s=l[2],n=l[3])),null!=l){var u=l.index,h=l[0].length;a=a.toLowerCase();var i=r.firstOrDefault(t=>t.toLowerCase()==a);if(null==i)return!1;var t=r.indexOf(i)+1,r=De.isNullOrEmpty(n)?this.defaultDate.year:parseInt(n),i={ref:null};if(!this.convertToDate(r,t,parseInt(s),i))return!1;return e.ref=new S(u,h,-1,-1,i.ref),!0}return!1}static convertToDate(t,e,r,i){if(100<=t){if(t<1e3)return i.ref=new z(1,1,1,0,0,0,0),!1}else t+=30<t?1900:2e3;try{if(e<1||12<e||r<1||31<r)return i.ref=new z(1,1,1,0,0,0,0),!1;i.ref=new z(t,e,r,0,0,0,0)}catch(t){return i.ref=new z(1,1,1,0,0,0,0),!1}return!0}};rt._defaultDate=z.now,rt.defaultDateIsNow=!0,Ae.X.DateTimeRoutines=rt}let _r=Ae.b.StiPromise;{let l=class{static get BingKey(){if(De.isNullOrEmpty(this.bingMapKey)){if(De.isNullOrEmpty(this._bingKey)){try{let t="";var r=pr.send("GET",this.bingKeysUrl),i,n,a;200===r.status&&(t=r.responseText);let e=new Ee;for(a in De.isNullOrEmpty(t)||(n=JSON.parse(Ae.d.StiEncryption.decryptS(t,"KJH98kjJK1!!")).keys,e.addRange(n)),e.add(this.defaultBingKey),e)try{var s=`http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/47.645523,-122.139059/18?key=${e[a]}`,o;if(200===pr.send("GET",s).status)return this._bingKey=e[a],this._bingKey}catch(t){}}catch(t){}return this._bingKey=this.defaultBingKey,this._bingKey}return this._bingKey}return this.bingMapKey}static getImageAsync(r,i,e=null){let n=new _r;(r=(r=r.width<50?new Fr(50,r.height):r).height<50?new Fr(r.width,50):r).width=Ne.trunc(r.width),r.height=Ne.trunc(r.height);let a=new Mt,s=e.length;if(100<s&&(s=100),0<e.length)for(let t=0;t<s;t++)a.append(e[t]+(t!=s-1?"&":""));let o=new XMLHttpRequest;return o.open("POST",this.getBingUrl(r),!0),o.setRequestHeader("Content-Type","text/plain; charset=utf-8"),o.responseType="arraybuffer",o.onreadystatechange=function(){if(4!=o.readyState)return;var t,e;200==o.status?(t=l.base64ArrayBuffer(o.response),e=`<image x=\"0\" y=\"0\" width=\"${r.width}\" height=\"${r.height}\" href=\"data:image/png;base64,${t}\" />`,i.mapImage=t,n.callTry(e)):n.callTry(null)},o.send(a.toString()),n}static base64ArrayBuffer(t){let e="";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),n=i.byteLength,t=n%3,a=n-t;let s,o,l,u,h;for(let t=0;t<a;t+=3)h=i[t]<<16|i[t+1]<<8|i[t+2],s=(16515072&h)>>18,o=(258048&h)>>12,l=(4032&h)>>6,u=63&h,e+=r[s]+r[o]+r[l]+r[u];return 1==t?(h=i[a],s=(252&h)>>2,o=(3&h)<<4,e+=r[s]+r[o]+"=="):2==t&&(h=i[a]<<8|i[a+1],s=(64512&h)>>10,o=(1008&h)>>4,l=(15&h)<<2,e+=r[s]+r[o]+r[l]+"="),e}static getBingUrl(t){return`https://dev.virtualearth.net/REST/v1/Imagery/Map/CanvasLight/?mapSize=${t.width},${t.height}&key=${this.BingKey}`}static getScript(t){let e=new Mt(Ae.d.StiGZipHelper.unpack(l.Script));var r,r,r;return null!=t["locations"]?(r=JSON.stringify(t["locations"]),e.replace("_DATA_",r),"Auto"!=(r=t["locationType"].toString())?e.replace("_entityType_",r):e.replace("entityType: '_entityType_',","")):null!=t["pushpins"]?(r=JSON.stringify(t["pushpins"]),e.replace("_DATA_",r),e.replace("document.mapType = 'locations';","document.mapType = 'pushpins';")):(e.replace("_DATA_","[]"),e.replace("entityType: '_entityType_',","")),e.replace("_KEY_",l.BingKey),e.replace("_THEME_",t["theme"]),e.replace("_LANGUAGE_",t["culture"]),e.replace("_BACKGROUND_COLOR_",'"'+t["backgroundColor"]+'"'),null!=t["outerStyle"]&&e.replace("display: table;",t["outerStyle"].toString()),null!=t["title"]&&e.replace("display:none'></div>",t["title"].toString()),null!=t["customIcon"]&&(e.replace("document.customIcon = null",`document.customIcon = '${t["customIcon"].toString()}'`),e.replace("document.customIconAnchorX = null",`document.customIconAnchorX = '${t["customIconAnchorX"].toString()}'`),e.replace("document.customIconAnchorY = null",`document.customIconAnchorY = '${t["customIconAnchorY"].toString()}'`)),e.replace("&(*","&(*"),e.toString().substr(1)}static getCacheKey(e,r){for(var i of e.keys){r=397*r^i.stimulsoft().getHashCode();let t=e[i];r=t.stimulsoft().is(Dt)?397*r^this.getCacheKey(t,r):397*r^t.toString().stimulsoft().getHashCode()}return r}};l.bingKeysUrl="https://www.stimulsoft.com/bing/map-keys.php",l.defaultBingKey="As5HUjWYztVI3tJdw5MMHau9DGYHWrtaEt3FztAV4N7RAMbB0Xl3CV7c4vDW7Ly5",l.Script="H4sIAAAAAAAEAOy925LqSpIo+D5m8w81/XLGTKdMQCq59Ok+NhFS6AYSCiEB4g2UEOIqSBIEzKedh/NJ8wvjHhIJmSv3ql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mmtoSQYBxc7eXo8Q4MdB1VLlqbIMQxABZVqkGCI7xe/Hnve9N3gcDN6/tzMeKsZDN+OhYDy0MB6rdgqObp5jxXPs5jkWPMcGnhnjiwwcVdF1P+EQ8Pbx8CDwFZta/M6ALgrCx95nasUh6uUzafIQu6QHjlaC050YJ5svm2sHjPu5eeiK/Y+m9U5aBc3BahfDnGf+9m510AjU2nbDUjC7wh7gwjUELJCXfrgDG+/2agFjhV8V3My8uvuwDXNwCD2523gNGQDPlBtJOar7Ev9UJVS3KT5TCXLACuKNQwsmSLGAb65GGTciGOqIkqkR3GCX9cP/P9iJdvDbqMuO3hT8U/uMbulLv3hhDCU+YNj3RFhYbaK2DqK/Kq+X6G+mEFrEs33NU2jKNfOK4nyehMv9Wvmk9qXiw60JtBh/0Ocl6fFRB7OXuyR92J/EUcRmHdXqKL5XIPRB5DuqZu2vVqEPikWiYo2I4qB9mrVhtEFHHHReXWQMDxnQkuXhFlAtMxglYZ4fdalh5S8Sl7h3lTJ3B/PHA9Vaauxmlj4UT7A81X1V5lAlVMctsyyg4+hILSwpTNFp1GdSGvxdw67yLrdW/j7cQt2LzoAB9Oq/oGFAFJLxAwA=",Ae.X.StiBingMapHelper=l}Ae.X.StiComponentProgressHelper=class{constructor(){this.progressDelta=10,this.timerInterval=20}static add(t){}},Ae.X.StiOnlineMapRepaintHelper=class{constructor(){this.timerInterval=500,this.browserLifetime=1e3*60*5}static init(){}static fetchAllComponents(t){return null}static clean(t){}};var ot=class{static pack(t){if(null==t||0==t.length||!this.allowPacking)return t;return this.addZipSignature(Ae.d.StiGZipHelper.pack(t))}static unpack(e){if(null==e||0==e.length||!this.isPacked(e))return e;try{return Ae.d.StiGZipHelper.unpack(e)}catch(t){return e}}static packAndEncrypt(t,e){return Ae.d.StiEncryption.encrypt2(this.pack(t),this.encryptedId)}static unpackAndDecrypt(t,e){return this.unpack(Ae.d.StiEncryption.decrypt2(t,this.encryptedId))}static packAndEncryptToString(t){return t=this.pack(t),null!=(t=Ae.d.StiEncryption.encrypt2(t,this.encryptedId))?Qt.toBase64String(t):null}static unpackAndDecrypt2(t){if(De.isNullOrWhiteSpace(t))return null;var t=Qt.fromBase64String(t),t=Ae.d.StiEncryption.decrypt2(t,this.encryptedId);return this.unpack(t)}static packToString(t){return null!=(t=this.pack(t))?Qt.toBase64String(t):null}static unpackFromString(t){if(De.isNullOrWhiteSpace(t))return null;var t=Qt.fromBase64String(t);return this.unpack(t)}static packToBytes(t,e=!0){if(De.isNullOrEmpty(t))return null;var r;return r}static unpackToString(t){if(null==t||0==t.length)return null;return t=this.unpack(t),null}static addZipSignature(t){return t[t.length-3]="Z".charCodeAt(0),t[t.length-2]="I".charCodeAt(0),t[t.length-1]="P".charCodeAt(0),t}static isPacked(t){return 3<t.length&&this.isPacked2(t[t.length-3],t[t.length-2],t[t.length-1])}static isPacked2(t,e,r){return t=="Z".charCodeAt(0)&&e=="I".charCodeAt(0)&&r=="P".charCodeAt(0)}},Vr,ht,Gr,Ur,pt,dt;ot.encryptedId="8pTP&%#5uK889910",ot.allowPacking=!0,Ae.d.StiPacker=ot;let jr=Ae.b.DateTime,Wr=Ae.b.Type;Ae.X.StiValueComparer=class{static equalValues(t,e){if(null==t&&null==e)return!0;if(null==t||null==e)return!1;if(ke.isArray(t)&&ke.isArray(e))return this.compareArrays(t,e);if(Wr.isNumericType(Wr.getType(t))&&Wr.isNumericType(Wr.getType(e)))return Ae.X.StiValueHelper.tryToNumber(t)==Ae.X.StiValueHelper.tryToNumber(e);if("string"==typeof t)return t==e.toString();if(t instanceof jr&&e instanceof jr)return t.ticks==e.ticks;return t==e}static compareArrays(e,r){if(e.length!=r.length)return!1;for(let t=0;t<e.length;t++)if(!this.equalValues(e[t],r[t]))return!1;return!0}};{let n=class{static isZero(t){if(null==t)return!0;var e;if(Wr.getType(t)==Number)return 0==t;return!1}static equalDecimal(t,e){if(null==t||null==e)return!1;return n.tryToNumber(t)==n.tryToNumber(e)}static tryToString(t){if(null==t)return null;if("string"==typeof t)return t;return t.toString()}static tryToNumber(e){try{if(null==e)return 0;if("boolean"==typeof e)return e?1:0;if("number"==typeof e)return e;let t=e.stimulsoft().as(String);if(null!=t){t=n.normalizeFloatingPointValue(e);var{result:r,successfully:i}=oe.tryParse(t);return(!i||!t.split("").some(t=>!(Be.isDigit(t)||Be.isWhitespace(t)||"."==t||","==t||"-"==t)))&&i?r:0}if(!Wr.isNumericType(e))return 0;return Qt.toNumber(e)}catch(t){return 0}}static tryToBool(e){try{if(null==e)return!1;if("boolean"==typeof e)return e;var r=this.tryToNullableNumber(e);if(null!=r)return 1==r;let t=e.stimulsoft().as(String);if(null!=t)return t=t.toLowerCase(),"true"==t||"on"==t||"yes"==t;return!1}catch(t){return!1}}static tryToDateTime(t){try{if(t instanceof z)return t;if(null==t)return z.now;if(Wr.isNumericType(Wr.getType(t)))return z.now;return Ae.d.StiConvert.changeType(t,z,!1)}catch(t){return z.now}}static tryToTimeSpan(t){try{if(t instanceof lt)return t;if(null==t)return new lt(0);return Ae.d.StiConvert.changeType(t,lt,!1)}catch(t){return new lt(0)}}static tryToNullableNumber(e){if(null==e)return null;try{if(e instanceof z)return e.toOADate();let t=e.stimulsoft().as(String);if(null!=t){t=n.normalizeFloatingPointValue(e);var{result:r,successfully:i}=oe.tryParse(t);return i&&t.split("").some(t=>!(Be.isDigit(t)||Be.isWhitespace(t)||"."==t||","==t||"-"==t))?0:i&&-1==t.indexOf("\n")?r:null}if(Wr.getType(e)!=Number)return 0;return Qt.toNumber(e)}catch(t){return null}}static tryToNullableDateTime(t){if(null==t)return null;if(t instanceof z)return t;return Ae.d.StiConvert.changeType(t,z,!1)}static tryToNullableTimeSpan(t){if(null==t)return null;if(t instanceof lt)return t;return Ae.d.StiConvert.changeType(t,lt,!1)}static parseNumber(t){if("0"==t)return 0;let e="",r="",i=1,n=!0;for(var a of t)","==a||"."==a?n=!1:n?e+=a:(r+=a,i*=10);if(0==e.length&&0!=r.length)return r.stimulsoft().toNumber()/i;if(0!=e.length&&0!=r.length)return e.stimulsoft().toNumber()+r.stimulsoft().toNumber()/i;if(0!=e.length&&0==r.length)return e.stimulsoft().toNumber();return 0}static normalizeFloatingPointValue(t){return t.replace(".",",").replace(",",xt.currentCulture.numberFormat.numberDecimalSeparator)}};Ae.X.StiValueHelper=n}(ht=Vr=Ae.d.StiJsonSaveMode||(Ae.d.StiJsonSaveMode={}))[ht["Report"]=0]="Report",ht[ht["Document"]=1]="Document";let qr=Ae.S.StiColor,zr=Ae.S.StiSimpleShadow,Xr=Ae.S.StiBorderSides,Jr=Ae.S.StiPenStyle,Yr=Ae.S.StiBorderSide,Qr=Ae.S.StiCapStyle,Kr=Ae.S.StiCap,Zr=Ae.S.StiBorder,$r=Ae.S.StiAdvancedBorder,ti=Ae.bn.GraphicsUnit,ei=Ae.S.StiEmptyBrush,ri=Ae.S.StiGlareBrush,ii=Ae.S.StiGlassBrush,ni=Ae.S.StiGradientBrush,ai=Ae.S.StiHatchBrush,si=Ae.S.StiSolidBrush,oi=Ae.S.StiSimpleBorder;{let a=class{static fontArial8(t){return a.font(t,"Arial",8,se.Regular,ti.Point)}static font(t,e="Arial",r=8,i=se.Regular,n=ti.Point){let a="",s="",o="",l="",u=0;if(t.fontFamily.name!=e&&(u++,a=t.fontFamily.name),t.size!=r&&(u++,s=t.size.toString()),t.style!=i&&(u++,o=Zt.getName(se,t.style)),t.unit!=n&&(u++,l=Zt.getName(ti,t.unit)),0==u)return null;return a+";"+s+";"+o+";"+l}static rectangleD(t){return t.x.toString()+","+t.y.toString()+","+t.width.toString()+","+t.height.toString()}static sizeD(t){return t.width.toString()+","+t.height.toString()}static jColor(t,e=null){if(null==t||t.equals(e))return null;return t.isNamedColor?t.name.stimulsoft().replaceAll(" ",""):255==t.a?t.r.toString()+","+t.g.toString()+","+t.b.toString():t.a.toString()+","+t.r.toString()+","+t.g.toString()+","+t.b.toString()}static colorArray(e){let r=new te;for(let t=0;t<e.length;t++){var i=e[t],i=a.jColor(i);r.addPropertyString(t.toString(),i)}return r}static stringArray(e){if(null==e||0==e.length)return null;let r=new te;for(let t=0;t<e.length;t++)r.addPropertyString(t.toString(),e[t]);return r}static boolArray(e){if(null==e||0==e.length)return null;let r=new te;for(let t=0;t<e.length;t++)r.addPropertyBool(t.toString(),e[t],null);return r}static numberArray(e){if(null==e||0==e.length)return null;let r=new te;for(let t=0;t<e.length;t++)r.addPropertyStringNullOrEmpty(t.toString(),e[t].toString());return r}static objectArray(t,e){if(null==t||0==t.length)return null;let r=new te,i=0;for(var n of t)r.addPropertyJObject(i.toString(),n.saveToJsonObject(e)),i++;return r}static size(t){let e=new te;return e.addPropertyNumber("Width",t.width),e.addPropertyNumber("Height",t.height),e}static point(t){let e=new te;return e.addPropertyStringNullOrEmpty("X",t.x.toString()),e.addPropertyStringNullOrEmpty("Y",t.y.toString()),e}static jCap(t){let e=new Mt;return 10!=t.width&&e.append(t.width),e.append(";"),10!=t.height&&e.append(t.height),e.append(";"),t.style!=Qr.None&&e.append(Zt.getName(Qr,t.style)),e.append(";"),e.append(a.jColor(t.color,Fe.black)),e.toString()}static jBrush(t,e=null){let r=new Mt;var i,i,n,n,t;return t.is(si)?(i=t,r.append("solid:"),r.append(a.jColor(i.color,Fe.transparent))):t.is(ei)?r.append("empty"):t.is(ri)?(i=t,r.append("glare:"),r.append(a.jColor(i.startColor,Fe.black)),r.append(":"),r.append(a.jColor(i.endColor,Fe.white)),r.append(":"),0!=i.angle&&r.append(i.angle),r.append(":"),.5!=i.focus&&r.append(i.focus),r.append(":"),1!=i.scale&&r.append(i.scale)):t.is(ii)?(n=t,r.append("glass:"),r.append(a.jColor(n.color,Fe.silver)),r.append(":"),n.drawHatch&&r.append(n.drawHatch),r.append(":"),.2!=n.blend&&r.append(n.blend)):t.is(ni)?(n=t,r.append("gradient:"),r.append(a.jColor(n.startColor,Fe.black)),r.append(":"),r.append(a.jColor(n.endColor,Fe.white)),r.append(":"),0!=n.angle&&r.append(n.angle)):t.is(ai)&&(t=t,r.append("hatch:"),r.append(a.jColor(t.backColor,Fe.black)),r.append(":"),r.append(a.jColor(t.foreColor,Fe.white)),r.append(":"),t.style!=wr.BackwardDiagonal&&r.append(Zt.getName(wr,t.style))),r.toString()}static jBorderSide(t){let e=a.jColor(t.color,Fe.black);null==e&&(e="");let r="";1!=t.size&&(r=t.size.toString());let i="";return t.style!=Jr.None&&(i=Zt.getName(Jr,t.style)),e+":"+r+":"+i}static jBorder(t){let e=new Mt;var r=t.as($r);return null!=r?(e.append(a.jBorderSide(r.topSide)),e.append(";"),e.append(a.jBorderSide(r.bottomSide)),e.append(";"),e.append(a.jBorderSide(r.leftSide)),e.append(";"),e.append(a.jBorderSide(r.rightSide)),e.append(";"),t.dropShadow&&e.append(t.dropShadow),e.append(";"),4!=t.shadowSize&&e.append(t.shadowSize)):(t.side!=Xr.None&&e.append(Zt.getName(Xr,t.side)),e.append(";"),t.color.equals(Fe.black)||e.append(a.jColor(t.color)),e.append(";"),1!=t.size&&e.append(t.size),e.append(";"),t.style!=Jr.Solid&&e.append(Zt.getName(Jr,t.style)),e.append(";"),4!=t.shadowSize&&e.append(t.shadowSize),e.append(";"),t.dropShadow&&e.append(t.dropShadow),e.append(";"),t.topmost&&e.append(t.topmost)),e.append(";"),e.append(a.jBrush(t.shadowBrush,new si(Fe.black))),e.toString()}static jBorder2(t){let e="";return t.side!=Xr.None&&(e+=t.side),e+=";",Fe.gray.equals(t.color)||(e+=a.jColor(t.color)),e+=";",1!=t.size&&(e+=t.size),e+=";",t.style!=Jr.Solid&&(e+=t.style),e+=";",e}static jShadow(t){let e=new Mt;return t.color!=qr.get("#44222222")&&e.append(this.jColor(t.color)),e.append(";"),2==t.location.x&&2==t.location.y||e.append(t.location.x+","+t.location.y),e.append(";"),5!=t.size&&e.append(t.size),e.append(";"),t.visible&&e.append(t.visible),e.toString()}};Ae.Y.Serialize=a;let n=class{static stringArray(t){let e=[],r=0;for(var i of t.properties())e[r]=i.value,r++;return e}static numberArray(t){let e=[],r=0;for(var i of t.properties())e[r]=i.value,r++;return e}static boolArray(t){let e=[],r=0;for(var i of t.properties())e[r]=i.value,r++;return e}static font(t,e){var t=t.split(";");if(4!=t.length)throw new Error("Parsing Error");let r=e.fontFamily.name,i=e.size,n=e.style,a=e.unit;return De.isNullOrEmpty(t[0])||(r=t[0]),De.isNullOrEmpty(t[1])||(i=parseFloat(t[1])),De.isNullOrEmpty(t[2])||(n=Zt.parse(se,t[2])),De.isNullOrEmpty(t[3])||(a=Zt.parse(ti,t[3])),new Ar(r,i,n,a)}static jBorderSide(t){var t=t.split(":");let e=new Yr;return De.isNullOrEmpty(t[0])||(e.color=n.color(t[0])),De.isNullOrEmpty(t[1])||(e.size=parseFloat(t[1])),De.isNullOrEmpty(t[2])||(e.style=Zt.parse(Jr,t[2])),e}static jCap(t){var t=t.split(";");let e=new Kr;if(4!=t.length)throw new Error("Parsing Error");return De.isNullOrEmpty(t[0])||(e.width=parseInt(t[0])),De.isNullOrEmpty(t[1])||(e.height=parseInt(t[1])),De.isNullOrEmpty(t[2])||(e.style=Zt.parse(Qr,t[2])),De.isNullOrEmpty(t[3])||(e.color=n.color(t[3])),e}static border(t){var e=t.split(";");if(7==e.length){var r=!1,i=4,t=new si(Fe.black);return new $r(n.jBorderSide(e[0]),n.jBorderSide(e[1]),n.jBorderSide(e[2]),n.jBorderSide(e[3]),r,i,t)}{let t=new Zr;return De.isNullOrEmpty(e[0])||(t.side=Zt.parse(Xr,e[0])),De.isNullOrEmpty(e[1])||(t.color=n.color(e[1])),De.isNullOrEmpty(e[2])||(t.size=parseFloat(e[2])),De.isNullOrEmpty(e[3])||(t.style=Zt.parse(Jr,e[3])),4<e.length&&!De.isNullOrEmpty(e[4])&&(t.shadowSize=parseFloat(e[4])),De.isNullOrEmpty(e[5])||(t.dropShadow=!0),De.isNullOrEmpty(e[6])||(t.topmost=!0),De.isNullOrEmpty(e[7])||(t.shadowBrush=n.brush(e[7])),t}}static simpleBorder(t){var t=t.split(";");let e=new oi;return De.isNullOrEmpty(t[0])||(e.side=Zt.parse(Xr,t[0])),De.isNullOrEmpty(t[1])||(e.color=n.color(t[1])),De.isNullOrEmpty(t[2])||(e.size=parseFloat(t[2])),De.isNullOrEmpty(t[3])||(e.style=Zt.parse(Jr,t[3])),e}static simpleSahdow(t){let e=t.split(";"),r=new zr;if(De.isNullOrEmpty(e[0])||(r.color=n.color(e[0])),!De.isNullOrEmpty(e[1])){let t=e[1].split(",");r.location=new kr(t[0].stimulsoft().toNumber(),t[1].stimulsoft().toNumber())}return De.isNullOrEmpty(e[2])||(r.size=e[2].stimulsoft().toNumber()),De.isNullOrEmpty(e[3])||(r.visible=!0),r}static color(e){if(-1!=e.indexOf(",")){let t=e.split(",");if(4==t.length)return Fe.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return Fe.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()))}if(0==e.indexOf("[")&&e.indexOf("]")==e.length-1&&-1!=e.indexOf(":")){let t=e.substring(1,e.length-1).split(":");if(4==t.length)return Fe.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return Fe.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()))}return Fe.fromName(e)}static brush(t){var e=t.split(":");switch(e[0]){case"empty":return new ei;case"glass":{let t=new ii;return De.isNullOrEmpty(e[1])||(t.color=n.color(e[1])),De.isNullOrEmpty(e[2])||(t.drawHatch=!0),De.isNullOrEmpty(e[3])||(t.blend=parseFloat(e[3])),t}case"glare":{let t=new ri;return De.isNullOrEmpty(e[1])||(t.startColor=n.color(e[1])),De.isNullOrEmpty(e[2])||(t.endColor=n.color(e[2])),De.isNullOrEmpty(e[3])||(t.angle=parseFloat(e[3])),De.isNullOrEmpty(e[4])||(t.focus=parseFloat(e[4])),De.isNullOrEmpty(e[5])||(t.scale=parseFloat(e[5])),t}case"hatch":{let t=new ai;return De.isNullOrEmpty(e[1])||(t.backColor=n.color(e[1])),De.isNullOrEmpty(e[2])||(t.foreColor=n.color(e[2])),De.isNullOrEmpty(e[3])||(t.style=Zt.parse(wr,e[3])),t}case"gradient":{let t=new ni;return De.isNullOrEmpty(e[1])||(t.startColor=n.color(e[1])),De.isNullOrEmpty(e[2])||(t.endColor=n.color(e[2])),De.isNullOrEmpty(e[3])||(t.angle=parseFloat(e[3])),t}case"solid":{let t=new si;return De.isNullOrEmpty(e[1])||(t.color=n.color(e[1])),t}}return null}static colorArray(t){let e=[],r=0;for(var i of t.properties()){var i=i.value,i=n.color(i);e[r]=i,r++}return e}static size(t){let e=new Fr(0,0);for(var r of t.properties())switch(r.name){case"Width":e.width=r.value;break;case"Height":e.height=r.value;break}return e}static rectangleD(t){var t=t.split(",");if(4!=t.length)throw new Error("Parsing Error");return new Tr(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]))}static sizeD(t){var t=t.split(",");if(2!=t.length)throw new Error("Parsing Error");return new Fr(parseFloat(t[0]),parseFloat(t[1]))}static point(t){let e=new kr;for(var r of t.properties())switch(r.name){case"X":e.x=r.value;break;case"Y":e.y=r.value;break}return e}};Ae.Y.Deserialize=n}let li=Ae.bk.JsonRelationDirection;Ae.d.StiJsonToDataSetConverter=class{static getDataSet(t,e=li.ChildToParent){let r=new Xe;return r.readJson(t,e),r}},(dt=Gr=Ae.Z.hCPKk||(Ae.Z.hCPKk={}))[dt["Ultimate"]=1]="Ultimate",dt[dt["Net"]=2]="Net",dt[dt["Wpf"]=3]="Wpf",dt[dt["Web"]=4]="Web",dt[dt["Silverlight"]=5]="Silverlight",dt[dt["Js"]=6]="Js",dt[dt["Java"]=7]="Java",dt[dt["Php"]=8]="Php",dt[dt["NetCore"]=9]="NetCore",dt[dt["Uwp"]=10]="Uwp",dt[dt["Flex"]=11]="Flex",dt[dt["BIDesigner"]=12]="BIDesigner",dt[dt["DbsJs"]=13]="DbsJs",dt[dt["DbsWin"]=14]="DbsWin",dt[dt["DbsWeb"]=15]="DbsWeb",dt[dt["BIDesktop"]=16]="BIDesktop",dt[dt["BIServer"]=17]="BIServer",dt[dt["BICloud"]=18]="BICloud",dt[dt["CloudReports"]=20]="CloudReports",dt[dt["CloudDashboards"]=21]="CloudDashboards",dt[dt["Angular"]=22]="Angular",dt[dt["DbsAngular"]=23]="DbsAngular",dt[dt["DbsPhp"]=24]="DbsPhp",dt[dt["FormsWin"]=25]="FormsWin",dt[dt["FormsWeb"]=26]="FormsWeb",dt[dt["FormsJs"]=27]="FormsJs",(pt=Ur=Ae.Z.Ewbik||(Ae.Z.Ewbik={}))[pt["Server"]=1]="Server",pt[pt["Developer"]=2]="Developer",Ae.Z.nqVaV=class{static decrypt(t,e){return Ae.bj.AES.decrypt(t,e)}static encrypt(t,e=null){return Ae.bj.AES.encrypt(t,e)}static recrypt(t,e,r){return t=this.decrypt(t,e),this.encrypt(t,r)}},Ae.Z.OQbrm=class{static getKey(){return{RSAKeyValue:{Modulus:"2GCA4rfVor/2q7m+NVisL3ZFVvnklg14zeP0F+yNpBdoSm9iuOUBLodsOH6I3Xb0j5/OznYKFpii35RcjiPvww7Uthz1he2G8PGCvFMKuA4Wzgp5Kdv0uR7zSQ8J9lA/rZ7u8wh+h72umBku1pLFL2nvJIT56u4Qe7+OJFLrqWk=",Exponent:"10001"}}}},Ae.Z.hPLNL=class{constructor(){this.encryptKey="ieICWsADhNJQBsVv63j/tA=="}loadFromString(t){var e=JSON.parse(t),r;for(r in this["activationDate"]=z.fromNetJsonString(e["ActivationDate"]),this["products"]=new Ee,e["Products"])this["products"][r]=new Ae.Z.deFpS,this["products"][r]["expirationDate"]=z.fromNetJsonString(e["Products"][r]["ExpirationDate"]),this["products"][r]["ident"]=Zt.parse(Ae.Z.hCPKk,e["Products"][r]["Ident"]);this["owner"]=e["Owner"],this["userName"]=e["UserName"],this["signature"]=e["Signature"],this["deviceId"]=e["DeviceId"]}saveToString(){let t="";for(var e in t+="{\r\n",t+=De.format('  "ActivationDate": "{0}",\r\n',this["activationDate"].toNetJsonString()),null!=this["signature"]&&(t+=De.format('  "Signature": "{0}",\r\n',this["signature"])),t+=De.format('  "Owner": "{0}",\r\n',this["owner"]),t+=De.format('  "UserName": "{0}",\r\n',this["userName"]),t+='  "Products": [',0<this["products"].length&&(t+="\r\n"),this["products"])t+="    {\r\n",t+=De.format('      "ExpirationDate": "{0}",\r\n',this["products"][e]["expirationDate"].toNetJsonString()),t+=De.format('      "Ident": "{0}"\r\n',Zt.getName(Ae.Z.hCPKk,this["products"][e]["ident"])),e.stimulsoft().toNumber()<this["products"].length-1?t+="    },\r\n":t+="    }\r\n";return 0<this["products"].length&&(t+="  "),t+="]",null!=this["deviceId"]&&(t+=De.format(',\r\n  "DeviceId": "{0}"',this["deviceId"])),t+="\r\n}",t}loadFromBytes(t){var t=De.fromBytesArray(t);this.loadFromString(t)}decryptFromBytes(t){this.decryptFromString(De.fromBytesArray(t))}decryptFromString(t){this.loadFromString(Ae.Z.nqVaV.decrypt(t,this.encryptKey))}};{let r=class extends Ae.Z.hPLNL{constructor(){super(),this.owner="",this.userName="",this.activationDate=z.today,this.owner="",this.userName=""}clone(){let t=new r;return t.loadFromString(this.saveToString()),t}static get1(t){let e=new r;return e.decryptFromBytes(t),e}static get2(t){let e=new r;return e.decryptFromString(t),e}};Ae.Z.zKuZM=r}{let i=class{static get key(){return this._key}static set key(t){i.NCEGm(t,!1)}static get Key(){return this.key}static set Key(t){this.key=t}static NCEGm(t,e=!0){if(De.isNullOrWhiteSpace(t))this._key=null,this[["li","ce","ns","eK","ey"].join("")]=null;else{var r=Ae.Z.zKuZM.get2(t);if(i.Pcoar(r))this[["li","ce","ns","eK","ey"].join("")]=r,this._key=t;else{if(e)throw new Error(["Th","e ","li","ce","ns","e ","ke","y ","is"," n","ot"," v","al","id"].join(""));this._key=null,this[["li","ce","ns","eK","ey"].join("")]=null}}}static Pcoar(r){try{if(null==r)return!1;if(null==r.signature)return!1;let t=r.clone();t.signature=null;let e=new Ae.bj.RSAKey;var i=Ae.Z.OQbrm.getKey();return e.setPublic(i.RSAKeyValue.Modulus,i.RSAKeyValue.Exponent),e.verifyString(t.saveToString(),r.signature)}catch(t){return!1}}static loadFromFile(t){this.loadFromString(Ae.bo.File.getFile(t))}static loadFromString(t){this.key=t}};Ae.d[["St","iL","ic","en","se"].join("")]=i}Ae.Z.Qprig=class extends Ae.Z.hPLNL{constructor(){super(...arguments),this.encryptKey="aoc#wm5eoAtrr$a5@m9w"}},Ae.Z.aJNRG=class extends Ae.d.StiKeyObject{};let ui=Ae.Z.hCPKk;{let r=class{static JoOjX(e){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>(t.ident==e||t.ident==ui.Ultimate)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static vHHoI(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>r.wCTqI(t.ident)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static PspWp(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>r.vypQE(t.ident)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static HjnDR(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>r.EiOCO(t.ident)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static WjOuC(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>r.gXqry(t.ident)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static kxISh(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>t.expirationDate.ticks>Y.StiVersion.created.ticks)}static FrMMw(){let t=r.EVOeg();return null!=t&&!De.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any(t=>r.STtGj(t.ident)&&t.expirationDate.ticks>Y.StiVersion.created.ticks)}static EiOCO(t){return t==ui.Js||t==ui.Php||t==ui.NetCore||t==ui.Ultimate}static vypQE(t){return t==ui.DbsJs||t==ui.DbsWeb||t==ui.DbsWin||t==ui.DbsPhp||t==ui.CloudDashboards||t==ui.DbsAngular||t==ui.Ultimate}static gXqry(t){return t==ui.Flex||t==ui.Java||t==ui.Net||t==ui.NetCore||t==ui.Php||t==ui.Silverlight||t==ui.Uwp||t==ui.Web||t==ui.Wpf||t==ui.Js||t==ui.CloudReports||t==ui.Angular||t==ui.Ultimate}static wCTqI(t){return t==ui.DbsJs||t==ui.DbsPhp||t==ui.Ultimate}static STtGj(t){return t==ui.BIDesigner||t==ui.BIDesktop||t==ui.BIServer||t==ui.BICloud}static EVOeg(){if(De.isNullOrWhiteSpace(Ae.d[["St","iL","ic","en","se"].join("")].key))return null;if(10==this.indexValidator?(Ae.d[["St","iL","ic","en","se"].join("")].NCEGm(Ae.d[["St","iL","ic","en","se"].join("")].key),this.indexValidator=0):this.indexValidator++,null==Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")])return null;if(null==Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].signature)return null;if(!De.isNullOrEmpty(Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].deviceId)&&window&&window[["l","o","c","a","t","i","o","n"].join("")][["h","o","s","t","n","a","m","e"].join("")]!=Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].deviceId)return null;return Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]}};Ae.Z.UwgcI=r}Ae.Z.deFpS=class{},Ae.aa.IStiMapKeyHelper=new Ae.b.Interface("IStiMapKeyHelper"),Ae.ab.StiMeta=class{constructor(t,e="",r=null,i=null,n=null,a=null,s=null){this.jsName=e,this.getValue=r,this.checkValue=i,this.setValue=n,this.setValueXml=a,this.filterSaveMode=s,this.originalName="string"==typeof t?[t]:t,""==e&&(this.jsName=this.originalName[0].stimulsoft().toLowerFirst()),"_"==e&&(this.jsName="_"+this.originalName[0].stimulsoft().toLowerFirst());let o=this;null==this.getValue&&(this.getValue=function(){return this[o.jsName]})}saveToJsonObject(t,e,r=null){let i=this.getValue.call(e,[r]);i instanceof te||null==i?t.addPropertyJObject(this.originalName[0],i):t.addPropertyJObject(this.originalName[0],i.saveToJsonObject(r))}loadFromJsonObject(e,r){if(this.setValue)this.setValue.call(r,e);else{let t=this.getValue.call(r);null!==t&&void 0!==t&&t.loadFromJsonObject(e.value)}}loadFromXml(e,r){if(this.setValueXml)this.setValueXml.call(r,e);else{let t=this.getValue.call(r);null!==t&&void 0!==t&&t.loadFromXml(e)}}get(t){return this.getValue=t,this}check(t){return this.checkValue=t,this}set(t){return this.setValue=t,this}setXml(t){return this.setValueXml=t,this}},Ae.ab.StiBoolMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r=!1){super(t,e),this.defaultValue=r;let i=this;this.set(function(t){this[i.jsName]=t.value.stimulsoft().toBoolean()}),this.setXml(function(t){this[i.jsName]=t.textContent.stimulsoft().toBoolean()})}saveToJsonObject(t,e){t.addPropertyBool(this.originalName[0],this.getValue.call(e),this.defaultValue)}};let hi=Ae.S.StiBrush,ci=Ae.Y;Ae.ab.StiBrushMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r=null){super(t,e),this.defaultValue=r;let i=this;this.set(function(t){this[i.jsName]=ci.Deserialize.brush(t.value.toString())}),this.setXml(function(t){this[i.jsName]=hi.convertToBrush(t.textContent)})}saveToJsonObject(t,e){t.addPropertyStringNullOrEmpty(this.originalName[0],ci.Serialize.jBrush(this.getValue.call(e)))}},Ae.ab.StiColorMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r=null,i=null){super(t,e,null,null,null,null,i),this.defaultValue=r;let n=this;this.set(function(t){this[n.jsName]=ci.Deserialize.color(t.value.toString())}),this.setXml(function(t){this[n.jsName]=Ae.bl.StiReportObjectStringConverter.convertStringToColor(t.textContent)})}saveToJsonObject(t,e,r=null){null!=this.filterSaveMode&&this.filterSaveMode!=r||t.addPropertyStringNullOrEmpty(this.originalName[0],ci.Serialize.jColor(this.getValue.call(e),this.defaultValue))}},Ae.ab.StiEnumMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r,i=null){super(t,e),this.enumType=r,this.defaultValue=i;let n=this;this.set(function(t){this[n.jsName]=Zt.parse(n.enumType,t.value.toString())}),this.setXml(function(t){this[n.jsName]=Zt.parse(n.enumType,t.textContent)})}saveToJsonObject(t,e){var e=this.getValue.call(e);null!=e&&t.addPropertyEnum(this.originalName[0],this.enumType,e,this.defaultValue)}},Ae.ab.StiEventMeta=class extends Ae.ab.StiMeta{constructor(t,e){super(t,""),this.eventType=e;let r=this;this.set(function(t){let e=new r.eventType;e.loadFromJsonObject(t.value),this[r.jsName]=e}),this.setXml(function(t){let e=new r.eventType;e.loadFromXml(t),this[r.jsName]=e})}saveToJsonObject(t,e,r){t.addPropertyJObject(this.originalName[0],this.getValue.call(e).saveToJsonObject(r))}},Ae.ab.StiExpressionMeta=class extends Ae.ab.StiMeta{saveToJsonObject(t,e,r){t.addPropertyJObject(this.originalName[0],new Y["Report"].Expressions.StiExpression(this.getValue.call(e)).saveToJsonObject(r))}constructor(t,e=""){super(t,e);let r=this;this.set(function(t){let e=new Y["Report"].Expressions.StiExpression;e.loadFromJsonObject(t.value),this[r.jsName]=e.value}),this.setXml(function(t){let e=new Y["Report"].Expressions.StiExpression;e.loadFromXml(t),this[r.jsName]=e.value})}},Ae.ab.StiFontMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r="Arial",i=8,n=se.Regular,a=ti.Point){super(t,e),this.defaultFamily=r,this.defaultEmSize=i,this.defaultStyle=n,this.defaultUnit=a;let s=this;this.set(function(t){this[s.jsName]=ci.Deserialize.font(t.value.toString(),s.getValue.call(this))}),this.setXml(function(t){this[s.jsName]=Ae.b.Convert.toFont(t.textContent)})}saveToJsonObject(t,e){t.addPropertyStringNullOrEmpty(this.originalName[0],ci.Serialize.font(this.getValue.call(e),this.defaultFamily,this.defaultEmSize,this.defaultStyle,this.defaultUnit))}},Ae.ab.StiMetaHelper=class{static saveToJsonObject(t,e,r=new te){for(var i of e.meta())null!=i.checkValue&&!i.checkValue.call(e,[t])||i.saveToJsonObject(r,e,t);return r}static loadFromJsonObject(t,r){for(let e of t.properties()){let t=r.meta().find(t=>t.originalName.some(t=>t==e.name));null!==t&&void 0!==t&&t.loadFromJsonObject(e,r)}}static loadFromXml(i,n){for(let r=0;r<i.childNodes.length;r++){let e=i.childNodes[r],t=n.meta().find(t=>t.originalName.some(t=>t==e.nodeName));null!==t&&void 0!==t&&t.loadFromXml(e,n)}}};var yt=Ae.ab.StiMeta,di,wt,u,mi,pi,gi,fi,Si,bi,yi,vi,wi,Ci,Ti,Pi,F,k,l,e,B,D,v,b,x,P,p,m;Ae.ab.StiNumberMeta=class extends yt{constructor(t,e="",r=0){super(t,e),this.defaultValue=r;let i=this;this.set(function(t){this[i.jsName]=null!=t.value?t.value.stimulsoft().toNumber():-1}),this.setXml(function(t){this[i.jsName]=t.textContent.stimulsoft().toNumber()})}saveToJsonObject(t,e){t.addPropertyNumber(this.originalName[0],this.getValue.call(e),this.defaultValue)}},Ae.ab.StiObjectMeta=class extends Ae.ab.StiMeta{constructor(t,e=""){super(t,e);let r=this;this.set(function(t){var e;null!==(e=this[r.jsName])&&void 0!==e&&e.loadFromJsonObject(t)}),this.setXml(function(t){var e;null!==(e=this[r.jsName])&&void 0!==e&&e.loadFromXml(t)})}},Ae.ab.StiRemoveMeta=class extends Ae.ab.StiMeta{saveToJsonObject(e,t=null){this.originalName.forEach(t=>{e.removeProperty(t)})}constructor(t){super(t)}},Ae.ab.StiSizeMeta=class extends Ae.ab.StiMeta{constructor(t,e="",r=null){super(t,e),this.defaultValue=r;let i=this;this.set(function(t){this[i.jsName]=ci.Deserialize.size(t)}),this.setXml(function(t){this[i.jsName]=Fr.convertFromXml(t.textContent)})}saveToJsonObject(t,e){t.addPropertyJObject(this.originalName[0],ci.Serialize.size(this.getValue.call(e)))}},Ae.ab.StiStringMeta=class extends yt{constructor(t,e="",r=null){super(t,e),this.defaulString=r;let i=this;this.set(function(t){this[i.jsName]=t.value?t.value.toString():""}),this.setXml(function(t){this[i.jsName]=t.textContent})}saveToJsonObject(t,e){t.addPropertyString(this.originalName[0],this.getValue.call(e),this.defaulString)}},Ae.ab.StiStringNullOrEmptyMeta=class extends yt{saveToJsonObject(t,e,r=null){null!=this.filterSaveMode&&this.filterSaveMode!=r||t.addPropertyStringNullOrEmpty(this.originalName[0],this.getValue.call(e))}constructor(t,e="",r=null){super(t,e,null,null,null,null,r);let i=this;this.set(function(t){this[i.jsName]=t.value?t.value.toString():""}),this.setXml(function(t){this[i.jsName]=t.textContent})}},Ae.ac.IStiArgumentMeter=new Ae.b.Interface("IStiArgumentMeter"),Ae.ac.IStiBubbleColumn=new Ae.b.Interface("IStiBubbleColumn"),Ae.ac.IStiCardsColumn=new Ae.b.Interface("IStiCardsColumn"),Ae.ac.IStiColorMapMeter=new Ae.b.Interface("IStiColorMapMeter"),Ae.ac.IStiColorScaleColumn=new Ae.b.Interface("IStiColorScaleColumn"),Ae.ac.IStiDataBarsColumn=new Ae.b.Interface("IStiDataBarsColumn"),Ae.ac.IStiDimensionColumn=new Ae.b.Interface("IStiDimensionColumn"),Ae.ac.IStiDimensionMeter=new Ae.b.Interface("IStiDimensionMeter"),Ae.ac.IStiGroupMapMeter=new Ae.b.Interface("IStiGroupMapMeter"),Ae.ac.IStiIndicatorColumn=new Ae.b.Interface("IStiIndicatorColumn"),Ae.ac.IStiKeyMapMeter=new Ae.b.Interface("IStiKeyMapMeter"),Ae.ac.IStiLocalizedMeter=new Ae.b.Interface("IStiLocalizedMeter"),Ae.ac.IStiMaxGaugeMeter=new Ae.b.Interface("IStiMaxGaugeMeter"),Ae.ac.IStiMeasureColumn=new Ae.b.Interface("IStiMeasureColumn"),Ae.ac.IStiMeasureMeter=new Ae.b.Interface("IStiMeasureMeter"),Ae.ac.IStiMeter=new Ae.b.Interface("IStiMeter"),Ae.ac.IStiMinGaugeMeter=new Ae.b.Interface("IStiMinGaugeMeter"),Ae.ac.IStiNameMapMeter=new Ae.b.Interface("IStiNameMapMeter"),Ae.ac.IStiPivotColumn=new Ae.b.Interface("IStiPivotColumn"),Ae.ac.IStiPivotRow=new Ae.b.Interface("IStiPivotRow"),Ae.ac.IStiPivotSummary=new Ae.b.Interface("IStiPivotSummary"),Ae.ac.IStiSeriesMeter=new Ae.b.Interface("IStiSeriesMeter"),Ae.ac.IStiSparklinesColumn=new Ae.b.Interface("IStiSparklinesColumn"),Ae.ac.IStiTableColumn=new Ae.b.Interface("IStiTableColumn"),Ae.ac.IStiTargetMeter=new Ae.b.Interface("IStiTargetMeter"),Ae.ac.IStiValueMapMeter=new Ae.b.Interface("IStiValueMapMeter"),Ae.ac.IStiValueMeter=new Ae.b.Interface("IStiValueMeter"),(wt=di=Ae.d.StiNoticeIdent||(Ae.d.StiNoticeIdent={}))[wt["ActivationMaxActivationsReached"]=1]="ActivationMaxActivationsReached",wt[wt["ActivationExpiriedBeforeFirstRelease"]=2]="ActivationExpiriedBeforeFirstRelease",wt[wt["ActivationLicenseIsNotCorrect"]=3]="ActivationLicenseIsNotCorrect",wt[wt["ActivationLockedAccount"]=4]="ActivationLockedAccount",wt[wt["ActivationServerVersionNotAllowed"]=5]="ActivationServerVersionNotAllowed",wt[wt["ActivationServerIsNotAvailableNow"]=6]="ActivationServerIsNotAvailableNow",wt[wt["ActivationSomeTroublesOccurred"]=7]="ActivationSomeTroublesOccurred",wt[wt["ActivationUserNameOrPasswordIsWrong"]=8]="ActivationUserNameOrPasswordIsWrong",wt[wt["ActivationWrongAccountType"]=9]="ActivationWrongAccountType",wt[wt["AuthAccountCantBeUsedNow"]=10]="AuthAccountCantBeUsedNow",wt[wt["AuthAccountIsNotActivated"]=11]="AuthAccountIsNotActivated",wt[wt["AuthCantChangeSystemRole"]=12]="AuthCantChangeSystemRole",wt[wt["AuthCantChangeRoleBecauseLastAdministratorUser"]=13]="AuthCantChangeRoleBecauseLastAdministratorUser",wt[wt["AuthCantChangeRoleBecauseLastSupervisorUser"]=14]="AuthCantChangeRoleBecauseLastSupervisorUser",wt[wt["AuthCantDeleteHimselfUser"]=15]="AuthCantDeleteHimselfUser",wt[wt["AuthCantDeleteLastAdministratorUser"]=16]="AuthCantDeleteLastAdministratorUser",wt[wt["AuthCantDeleteLastSupervisorUser"]=17]="AuthCantDeleteLastSupervisorUser",wt[wt["AuthCantDeleteSystemRole"]=18]="AuthCantDeleteSystemRole",wt[wt["AuthCantDisableUserBecauseLastAdministratorUser"]=19]="AuthCantDisableUserBecauseLastAdministratorUser",wt[wt["AuthCantDisableUserBecauseLastSupervisorUser"]=20]="AuthCantDisableUserBecauseLastSupervisorUser",wt[wt["AuthOAuthIdNotSpecified"]=21]="AuthOAuthIdNotSpecified",wt[wt["AuthPasswordIsTooShort"]=22]="AuthPasswordIsTooShort",wt[wt["AuthPasswordIsNotSpecified"]=23]="AuthPasswordIsNotSpecified",wt[wt["AuthPasswordIsNotCorrect"]=24]="AuthPasswordIsNotCorrect",wt[wt["AuthRequestsLimitIsExceeded"]=25]="AuthRequestsLimitIsExceeded",wt[wt["AuthRoleCantBeDeletedBecauseUsedByUsers"]=26]="AuthRoleCantBeDeletedBecauseUsedByUsers",wt[wt["AuthRoleNameAlreadyExists"]=27]="AuthRoleNameAlreadyExists",wt[wt["AuthRoleNameIsSystemRole"]=28]="AuthRoleNameIsSystemRole",wt[wt["AuthUserHasLoggedOut"]=29]="AuthUserHasLoggedOut",wt[wt["AuthUserNameAlreadyExists"]=30]="AuthUserNameAlreadyExists",wt[wt["AuthUserNameIsNotSpecified"]=31]="AuthUserNameIsNotSpecified",wt[wt["AuthUserNameOrPasswordIsNotCorrect"]=32]="AuthUserNameOrPasswordIsNotCorrect",wt[wt["AuthUserNameShouldLookLikeAnEmailAddress"]=33]="AuthUserNameShouldLookLikeAnEmailAddress",wt[wt["AuthWorkspaceNameAlreadyInUse"]=34]="AuthWorkspaceNameAlreadyInUse",wt[wt["CommandTimeOut"]=35]="CommandTimeOut",wt[wt["CustomMessage"]=36]="CustomMessage",wt[wt["ExecutionError"]=37]="ExecutionError",wt[wt["IsNotAuthorized"]=38]="IsNotAuthorized",wt[wt["IsNotDeleted"]=39]="IsNotDeleted",wt[wt["IsNotCorrect"]=40]="IsNotCorrect",wt[wt["IsNotEqual"]=41]="IsNotEqual",wt[wt["IsNotFound"]=42]="IsNotFound",wt[wt["IsNotRecognized"]=43]="IsNotRecognized",wt[wt["IsNotSpecified"]=44]="IsNotSpecified",wt[wt["ItemCantBeDeletedBecauseItemIsAttachedToOtherItems"]=45]="ItemCantBeDeletedBecauseItemIsAttachedToOtherItems",wt[wt["ItemCantBeMovedToSpecifiedPlace"]=46]="ItemCantBeMovedToSpecifiedPlace",wt[wt["ItemDoesNotSupport"]=47]="ItemDoesNotSupport",wt[wt["KeyAndToKeyIsEqual"]=48]="KeyAndToKeyIsEqual",wt[wt["NotificationFailed"]=49]="NotificationFailed",wt[wt["NotificationFileUploading"]=50]="NotificationFileUploading",wt[wt["NotificationFilesUploadingComplete"]=51]="NotificationFilesUploadingComplete",wt[wt["NotificationItemDelete"]=52]="NotificationItemDelete",wt[wt["NotificationItemDeleteComplete"]=53]="NotificationItemDeleteComplete",wt[wt["NotificationItemRestore"]=54]="NotificationItemRestore",wt[wt["NotificationItemRestoreComplete"]=55]="NotificationItemRestoreComplete",wt[wt["NotificationItemTransfer"]=56]="NotificationItemTransfer",wt[wt["NotificationItemTransferComplete"]=57]="NotificationItemTransferComplete",wt[wt["NotificationItemWaitingProcessing"]=58]="NotificationItemWaitingProcessing",wt[wt["NotificationOperationAborted"]=59]="NotificationOperationAborted",wt[wt["NotificationRecycleBinCleaning"]=60]="NotificationRecycleBinCleaning",wt[wt["NotificationRecycleBinCleaningComplete"]=61]="NotificationRecycleBinCleaningComplete",wt[wt["NotificationRecycleBinWaitingProcessing"]=62]="NotificationRecycleBinWaitingProcessing",wt[wt["NotificationReportCompiling"]=63]="NotificationReportCompiling",wt[wt["NotificationReportDataProcessing"]=64]="NotificationReportDataProcessing",wt[wt["NotificationReportExporting"]=65]="NotificationReportExporting",wt[wt["NotificationReportExportingComplete"]=66]="NotificationReportExportingComplete",wt[wt["NotificationReportRendering"]=67]="NotificationReportRendering",wt[wt["NotificationReportRenderingComplete"]=68]="NotificationReportRenderingComplete",wt[wt["NotificationReportSaving"]=69]="NotificationReportSaving",wt[wt["NotificationReportWaitingProcessing"]=70]="NotificationReportWaitingProcessing",wt[wt["NotificationSchedulerRunning"]=71]="NotificationSchedulerRunning",wt[wt["NotificationSchedulerRunningComplete"]=72]="NotificationSchedulerRunningComplete",wt[wt["NotificationSchedulerWaitingProcessing"]=73]="NotificationSchedulerWaitingProcessing",wt[wt["NotificationTransferring"]=74]="NotificationTransferring",wt[wt["NotificationTransferringComplete"]=75]="NotificationTransferringComplete",wt[wt["NotificationTitleFilesUploading"]=76]="NotificationTitleFilesUploading",wt[wt["NotificationTitleItemRefreshing"]=77]="NotificationTitleItemRefreshing",wt[wt["NotificationTitleItemTransferring"]=78]="NotificationTitleItemTransferring",wt[wt["NotificationTitleReportExporting"]=79]="NotificationTitleReportExporting",wt[wt["NotificationTitleReportRendering"]=80]="NotificationTitleReportRendering",wt[wt["NotificationTitleSchedulerRunning"]=81]="NotificationTitleSchedulerRunning",wt[wt["QuotaMaximumComputingCyclesCountExceeded"]=82]="QuotaMaximumComputingCyclesCountExceeded",wt[wt["QuotaMaximumFileSizeExceeded"]=83]="QuotaMaximumFileSizeExceeded",wt[wt["QuotaMaximumItemsCountExceeded"]=84]="QuotaMaximumItemsCountExceeded",wt[wt["QuotaMaximumReportPagesCountExceeded"]=85]="QuotaMaximumReportPagesCountExceeded",wt[wt["QuotaMaximumUsersCountExceeded"]=86]="QuotaMaximumUsersCountExceeded",wt[wt["QuotaMaximumWorkspacesCountExceeded"]=87]="QuotaMaximumWorkspacesCountExceeded",wt[wt["AccessDenied"]=88]="AccessDenied",wt[wt["OutOfRange"]=89]="OutOfRange",wt[wt["ParsingCommandException"]=90]="ParsingCommandException",wt[wt["SchedulerCantRunItSelf"]=91]="SchedulerCantRunItSelf",wt[wt["SessionTimeOut"]=92]="SessionTimeOut",wt[wt["SnapshotAlreadyProcessed"]=93]="SnapshotAlreadyProcessed",wt[wt["SpecifiedItemIsNot"]=94]="SpecifiedItemIsNot",wt[wt["WithSpecifiedKeyIsNotFound"]=95]="WithSpecifiedKeyIsNotFound",wt[wt["VersionCopyFromItem"]=96]="VersionCopyFromItem",wt[wt["VersionCreatedFromFile"]=97]="VersionCreatedFromFile",wt[wt["VersionCreatedFromItem"]=98]="VersionCreatedFromItem",wt[wt["VersionNewItemCreation"]=99]="VersionNewItemCreation",wt[wt["VersionLoadedFromFile"]=100]="VersionLoadedFromFile",Ae.d.StiNotice=class{};let Ii=Ae.ab.StiMetaHelper,Ai=Ae.d.StiRepositoryItems;Ae.ad.StiService=class{constructor(){this._properties=null}clone(t=!0,e=!0,r=!0){return this.memberwiseClone(r)}memberwiseClone(t=!0){let e;return e=t?this.stimulsoft().memberwiseClone(!0):new(this.stimulsoft().getType()),e._properties=this._properties,e._hash=null,e}implements(){return[Jt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}isPropertyPresent(t){if(null==this.properties)return!1;return this.properties.isPresent(t)}get properties(){return null==this._properties&&(this._properties=new Ai),this._properties}set properties(t){this._properties=t}isPropertiesInitializedProtected(){return null!=this.properties}get serviceCategory(){return"Misc"}get serviceName(){return this.stimulsoft().getType().stimulsoft().getTypeName()}get serviceInfo(){return""}get serviceType(){return this.stimulsoft().getType()}get serviceEnabled(){return this.properties.getBool("ServiceEnabled",!0)}set serviceEnabled(t){this.properties.setBool("ServiceEnabled",t,!0)}};{let o;(u=o=o||{})[u["FText"]=1]="FText",u[u["FHcrc"]=2]="FHcrc",u[u["FExtra"]=4]="FExtra",u[u["FName"]=8]="FName",u[u["FComment"]=16]="FComment";let l=class{static get crcTable(){if(null==this._crcTable){this._crcTable=new Array(256);let e;for(let t=0;t<256;t++){e=t;for(let t=0;t<8;t++)e=0!=(1&e)?3988292384^e>>>1:e>>>1;this._crcTable[t]=e}}return this._crcTable}static crc32(e){let r=0^-1;for(let t=0;t<e.length;t++)r=r>>>8^this.crcTable[255&(r^e[t])];return(-1^r)>>>0}static putByte(t,e){e.push(255&t)}static putShort(t,e){e.push(255&t),e.push(t>>>8)}static putLong(t,e){l.putShort(65535&t,e),l.putShort(t>>>16,e)}static putString(e,r){for(let t=0;t<e.length;t+=1)l.putByte(e.charCodeAt(t),r)}static readByte(t){return t.shift()}static readShort(t){return t.shift()|t.shift()<<8}static readLong(t){var e=l.readShort(t);let r=l.readShort(t);if(32768<r)return r-=32768,(r<<16|e)+32768*Math.pow(2,16);return r<<16|e}static readString(t){let e=[];while(0!==t[0])e.push(String.fromCharCode(t.shift()));return t.shift(),e.join("")}static readBytes(e,r){let i=[];for(let t=0;t<r;t+=1)i.push(e.shift());return i}static pack(t,e){if(null==t||void 0===t)return null;let r=0;var i=[],n,a;let s=t;"string"==typeof t&&(s=t.stimulsoft().toUnicodeString().stimulsoft().toBytesArray()),l.putByte(l.ID1,i),l.putByte(l.ID2,i),l.putByte(l.DefaultMethod,i),De.isNullOrEmpty(e)||(r|=o.FName),l.putByte(r,i),l.putLong(parseInt((Date.now()/1e3).toString(),10),i),1==l.DefaultLevel?l.putByte(4,i):9==l.DefaultLevel?l.putByte(2,i):l.putByte(0,i),-1!=navigator.appVersion.indexOf("Win")?l.putByte(11,i):l.putByte(3,i),De.isNullOrEmpty(e)||(l.putString(e.substring(e.lastIndexOf("/")+1),i),l.putByte(0,i));for(a of Ae.a.JSZip.compressions.DEFLATE.compress(s,{level:6}))l.putByte(a,i);if(l.putLong(l.crc32(s),i),l.putLong(s.length,i),ke.isArray(t))return i;return Ae.b.Convert.toBase64String(i)}static unpack(t){let e=t;if("string"==typeof t&&(e=Ae.b.Convert.fromBase64String(t)),ke.isArray(t)&&(e=[...t]),l.readByte(e)!==l.ID1||l.readByte(e)!==l.ID2)throw new Error("Not a GZIP file");if(8!==l.readByte(e))throw new Error("Unsupported compression method");var r=l.readByte(e),i;l.readLong(e),l.readByte(e),l.readByte(e),r&o.FExtra&&(i=l.readShort(e),l.readBytes(e,i)),r&o.FName&&l.readString(e),r&o.FComment&&l.readString(e),r&o.FHcrc&&l.readShort(e);var r=Ae.a.JSZip.compressions.DEFLATE.uncompress(e.splice(0,e.length-8)),n;if(ke.isArray(t))return r;let a="";for(n of r)a+=String.fromCharCode(n);return a.stimulsoft().fromUnicodeString()}};l.DefaultLevel=6,l.DefaultMethod=8,l.ID1=31,l.ID2=139,l._crcTable=null,Ae.d.StiGZipHelper=l}Ae.ae.StiZipWriter20=class{constructor(){this._mainStream=null,this.zip=null,this._mainStream=null}static convertToArray(t,e){if(null==e)return[];return(t?Ot.UTF8:Ot.Default).getBytes(e)}static getDosTime(t){return(t.year-1980&127)<<25|t.month<<21|t.day<<16|t.hour<<11|t.minute<<5|t.second>>1}begin(t,e){if(this._mainStream=t,null==this._mainStream)throw new Error("Output stream is null");this.zip=Ae.a.JSZip()}addFile(t,e,r=!1){this.zip.file(t,e.toArray())}end(){var t=this.zip.generate({type:"arraybuffer",compression:"DEFLATE"}),e=new Int8Array(t);let r=[];for(let t=0;t<e.length;t++)r.push(e[t]);this._mainStream.write(r,0,r.length),this._mainStream=null}},Y.tsfb=function(t,s,r,o){function l(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r=r||Promise)(function(e,r){function i(t){try{a(o.next(t))}catch(t){r(t)}}function n(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?e(t.value):l(t.value).then(i,n)}a((o=o.apply(t,s||[])).next())})},Ae.A.StiDateTimeCorrector=class{static correct(t){return t.date2}};let xi=Ae.A.StiDateTimeCorrector,Di=Ae.b.UInt64,Bi=Ae.b.UInt32,Ei=Ae.b.UInt16,ki=Ae.b.Int64,Ni=Ae.b.Int32;{let i=class{equals(t,e){return 0==i.compare(t,e)}getHashCode(t){return 0}static compare(t,e){if(null==t&&null==e)return 0;if(null==t)return-1;if(null==e)return 1;let r=Wr.getType(t);if(r==z)return i.dateTimeCompare(t,e);if(r==String)return t.toLowerCase().stimulsoft().compareTo(e.toLowerCase());if(r==Boolean)return i.defaultCompare(t,e);if(r==Number)return t.stimulsoft().compareTo(e);if(r==Ni)return t.stimulsoft().compareTo(e);if(r==ki)return t.stimulsoft().compareTo(e);if(r==Ei)return t.stimulsoft().compareTo(e);if(r==Bi)return t.stimulsoft().compareTo(e);if(r==Di)return t.stimulsoft().compareTo(e);if(r.stimulsoft().is(Ae.b.Enum))return t.stimulsoft().compareTo(e);return 0}static defaultCompare(t,e){return 0}static dateTimeCompare(t,e){if(t instanceof z&&e instanceof z)return z.compare(xi.correct(t),xi.correct(e));if(t instanceof z&&!(e instanceof z))return-1;return 1}static arrayCompare(t,e){if(t.length<e.length)return-1;if(t.length>e.length)return 1;return 0}};i.default=new i,Ae.B.StiObjectComparer=i}let Fi=Ae.B.StiObjectComparer;Ae.B.StiArrayComparer=class{compare(e,r){if(null==e||null==r)return 0;if(e.length!=r.length)return-1;for(let t=0;t<e.length;t++){var i=Fi.compare(e[t],r[t]);if(0!=i)return i}return 0}},Ae.B.StiArrayEqualityComparer=class{equals(e,r){if(e.length==r.length){for(let t=0;t<e.length;t++){var i=e[t],n=r[t];if(i instanceof z){if(i.ticks!=n.ticks)return!1}else if(i!=n)return!1}return!0}return!1}getHashCode(t){return null}},Ae.B.StiDataActionComparer=class{compare(t,e){if(null==t||null==e)return 0;if(t.type>e.type)return 1;if(t.type<e.type)return-1;return 0}},Ae.B.StiDataRowComparer=class{compare(t,e){return null}},(m=mi=Ae.C.StiDataJoinType||(Ae.C.StiDataJoinType={}))[m["Inner"]=1]="Inner",m[m["Left"]=2]="Left",m[m["Right"]=3]="Right",m[m["Cross"]=4]="Cross",m[m["Full"]=5]="Full",(p=pi=Ae.C.StiDataSortDirection||(Ae.C.StiDataSortDirection={}))[p["Ascending"]=1]="Ascending",p[p["Descending"]=2]="Descending",p[p["None"]=3]="None",(P=gi=Ae.C.StiDataFilterCondition||(Ae.C.StiDataFilterCondition={}))[P["EqualTo"]=0]="EqualTo",P[P["NotEqualTo"]=1]="NotEqualTo",P[P["GreaterThan"]=2]="GreaterThan",P[P["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",P[P["LessThan"]=4]="LessThan",P[P["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",P[P["Between"]=6]="Between",P[P["NotBetween"]=7]="NotBetween",P[P["Containing"]=8]="Containing",P[P["NotContaining"]=9]="NotContaining",P[P["BeginningWith"]=10]="BeginningWith",P[P["EndingWith"]=11]="EndingWith",P[P["IsNull"]=12]="IsNull",P[P["IsNotNull"]=13]="IsNotNull",P[P["IsBlank"]=14]="IsBlank",P[P["IsNotBlank"]=15]="IsNotBlank",P[P["IsBlankOrNull"]=16]="IsBlankOrNull",P[P["IsFalse"]=17]="IsFalse",P[P["PairEqualTo"]=18]="PairEqualTo",P[P["MapEqualTo"]=19]="MapEqualTo",(x=fi=Ae.C.StiDataFilterOperation||(Ae.C.StiDataFilterOperation={}))[x["AND"]=0]="AND",x[x["OR"]=1]="OR",(b=Si=Ae.C.StiDataActionType||(Ae.C.StiDataActionType={}))[b["Limit"]=0]="Limit",b[b["Replace"]=1]="Replace",b[b["RunningTotal"]=2]="RunningTotal",b[b["Percentage"]=3]="Percentage",(v=bi=Ae.C.StiDataFilterConditionGroupType||(Ae.C.StiDataFilterConditionGroupType={}))[v["Equal"]=0]="Equal",v[v["NotEqual"]=1]="NotEqual",v[v["Custom"]=2]="Custom",v[v["Empty"]=3]="Empty",(D=yi=Ae.C.StiDataRequestOption||(Ae.C.StiDataRequestOption={}))[D["None"]=0]="None",D[D["AllowOpenConnections"]=1]="AllowOpenConnections",D[D["AllowDataSort"]=2]="AllowDataSort",D[D["DisallowTransform"]=4]="DisallowTransform",D[D["All"]=3]="All",(B=vi=Ae.C.StiDataTopNMode||(Ae.C.StiDataTopNMode={}))[B["None"]=0]="None",B[B["Top"]=1]="Top",B[B["Bottom"]=2]="Bottom",(e=wi=Ae.C.StiDataFormatKind||(Ae.C.StiDataFormatKind={}))[e["General"]=0]="General",e[e["Boolean"]=1]="Boolean",e[e["Currency"]=2]="Currency",e[e["Date"]=3]="Date",e[e["Number"]=4]="Number",e[e["Percentage"]=5]="Percentage",e[e["Time"]=6]="Time",(l=Ci=Ae.C.StiDataJoinEngine||(Ae.C.StiDataJoinEngine={}))[l["V1"]=0]="V1",l[l["V2"]=1]="V2",l[l["V3"]=2]="V3",l[l["V4"]=3]="V4",(k=Ti=Ae.C.StiTableFiltersGroupsType||(Ae.C.StiTableFiltersGroupsType={}))[k["None"]=0]="None",k[k["Simple"]=1]="Simple",k[k["Complex"]=2]="Complex",(F=Pi=Ae.C.StiDataActionPriority||(Ae.C.StiDataActionPriority={}))[F["BeforeTransformation"]=0]="BeforeTransformation",F[F["AfterGroupingData"]=1]="AfterGroupingData",F[F["AfterSortingData"]=2]="AfterSortingData",Ae.C.IStiAllowSortByVariation=new Ae.b.Interface("IStiAllowSortByVariation"),Ae.C.ImplementsIStiAllowSortByVariation=[],Ae.C.IStiCrossFiltering=new Ae.b.Interface("IStiCrossFiltering"),Ae.C.ImplementsIStiCrossFiltering=[],Ae.C.IStiDataFilters=new Ae.b.Interface("IStiDataFilters"),Ae.C.ImplementsIStiDataFilters=[],Ae.C.IStiDataFormat=new Ae.b.Interface("IStiDataFormat"),Ae.C.IStiDataTopN=new Ae.b.Interface("IStiDataTopN"),Ae.C.ImplementsIStiDataTopN=[],Ae.C.IStiDataTransformationElement=new Ae.b.Interface("IStiDataTransformationElement"),Ae.C.ImplementsIStiDataTransformationElement=[],Ae.C.IStiDrillDownElement=new Ae.b.Interface("IStiDrillDownElement"),Ae.C.ImplementsIStiDrillDownElement=[],Ae.C.IStiRetrieval=new Ae.b.Interface("IStiRetrieval"),Ae.C.ImplementsIStiRetrieval=[];var W=Ae.C.IStiRetrieval,q=Ae.C.ImplementsIStiRetrieval;Ae.C.IStiQueryObject=new Ae.b.Interface("IStiQueryObject"),Ae.C.ImplementsIStiQueryObject=[W,...q],Ae.C.IStiSkipNormalizeDate=new Ae.b.Interface("IStiSkipNormalizeDate"),Ae.C.IStiTransformActions=new Ae.b.Interface("IStiTransformActions"),Ae.C.ImplementsIStiTransformActions=[],Ae.C.IStiTransformFilters=new Ae.b.Interface("IStiTransformFilters"),Ae.C.ImplementsIStiTransformFilters=[],Ae.C.IStiTransformSorts=new Ae.b.Interface("IStiTransformSorts"),Ae.C.ImplementsIStiTransformSorts=[],Ae.C.IStiUserFilters=new Ae.b.Interface("IStiUserFilters"),Ae.C.ImplementsIStiUserFilters=[],Ae.C.IStiUserSorts=new Ae.b.Interface("IStiUserSorts"),Ae.C.ImplementsIStiUserSorts=[],Ae.P.LogicalExpressionVisitor=class{};var L=Ae.P.LogicalExpressionVisitor;let Ri=Ae.bi.Dictionary,Li=Ae.d.StiLexer,Mi=Ae.d.StiTokenType;{let n=class extends L{constructor(){super(...arguments),this.parameters=new Dt}visit7(t){this.parameters.add(t.name,t.name)}visit4(t){}visit3(t){t.leftExpression.accept(this),t.rightExpression.accept(this)}visit2(t){t.leftExpression.accept(this),t.rightExpression.accept(this),t.middleExpression.accept(this)}visit6(t){for(var e of t.expressions)e.accept(this)}visit1(t){t.accept(this)}visit5(t){}},a=class{static newExpression(t){return Ae.K.Expression.create1(a.prepareExpression(t),Ae.K.EvaluateOptions.IgnoreCase)}static prepareExpression(t){return t=De.isNullOrWhiteSpace(t)?t:t.stimulsoft().replaceAll('"',"'"),a.escapeExpression(t)}static escapeExpression(n){if(De.isNullOrWhiteSpace(n)||n.stimulsoft().contains("[")&&n.stimulsoft().contains("]"))return n;try{let e=new Ee,t=new Li(n);while(1){var a=t.getToken();if(null==a||a.type==Mi.EOF)break;e.add(a)}let r=n,i=0;for(let t=0;t<e.length-2;t++)if(e[t].type==Mi.Ident&&e[t+1].type==Mi.Dot&&e[t+2].type==Mi.Ident){if(0!=t&&t+3<e.length&&(e[t-1].type==Mi.LBracket||e[t+3].type==Mi.RBracket))continue;var s=e[t].index,o=e[t+2].index+e[t+2].length;r=r.stimulsoft().insert(s+i,"[",0),i++,r=r.stimulsoft().insert(o+i,"]",0),i++,t++}return r}catch(t){}return n}static replaceFunction(t,e){var r=a.getFunction(t);return null!=r?t=t.substring(r.length):(t=!(t=t.trim()).stimulsoft().startsWith("(")?`(${t}`:t).stimulsoft().endsWith(")")||(t=`${t})`),`${e}${t}`}static removeFunction(t){if(null==t)return t;var e=a.getFunction(t);return t=(t=(t=(t=null!=e?t.substring(e.length):t).trim()).stimulsoft().startsWith("(")?t.substring(1):t).stimulsoft().endsWith(")")?t.substring(0,t.length-1):t}static isPercentOfGrandTotal(t){let e=this.getFunction(t);if(De.isNullOrWhiteSpace(e))return!1;return"percentofgrandtotal"==e.toLowerCase().trim()}static isAggregationFunctionPresent(t){var t=this.getFunction(t);if(De.isNullOrWhiteSpace(t))return!1;return Ae.I.Funcs.isAggregationFunction(t)}static isFunctionPresent(t){var t=a.getFunction(t);return!De.isNullOrWhiteSpace(t)}static getFunction(e){if(De.isNullOrWhiteSpace(e))return null;try{let t=Ae.K.Expression.compile(this.prepareExpression(e),!0);var r=t.stimulsoft().as(Ae.P.Functionn);if(null!=r){var i=r.identifier.name;return null!=i&&e.trim().stimulsoft().startsWith(i)?i:null}return null}catch(t){return null}}static getArguments(r){if(De.isNullOrWhiteSpace(r))return new Ee;try{if(a.expressionToArguments.contains(r))return a.expressionToArguments.get(r);let t=Ae.K.Expression.compile(this.prepareExpression(r),!0),e=new n;t.accept(e);var i=e.parameters.values.toList();return a.expressionToArguments.set(r,i),i}catch(t){}return new Ee}static compile(t){return Ae.K.Expression.compile(this.prepareExpression(t),!0)}static getFirstArgumentFromExpression(t){t=a.removeFunction(t);let e=a.getArguments(t);if(null==e)return null;var t=e.firstOrDefault();if(De.isNullOrWhiteSpace(t))return null;return t}static parseReportExpression(t,e,r){if(null!=t&&!De.isNullOrEmpty(e))return r||e.stimulsoft().contains("{")||e.stimulsoft().contains("}")||(e="{"+e+"}"),t.fetchPages().firstOrDefault().parseExpression(e);return e}static fetchBlocksFromExpression(e){if(De.isNullOrWhiteSpace(e))return null;let r=new Ee,i=0;while(i<e.length){while(i<e.length&&"{"!=e[i])i++;if(i<e.length&&"{"==e[i]){i++;var n=i;while(i<e.length){if('"'==e[i]){i++;let t=i;while(t<e.length){if('"'==e[t])break;"\\"==e[t]&&t++,t++}i=t+1;continue}if("}"==e[i]){let t=e.substr(n,i-n);De.isNullOrWhiteSpace(t)||r.add(t.trim()),i++;break}i++}}}return r}static replaceExpressionBlocksByValues(r,i){if(De.isNullOrWhiteSpace(r))return null;let n="",a=0,s=0;while(s<r.length){let t=s;while(s<r.length&&"{"!=r[s])s++;s!=t&&(n+=r.substr(t,s-t));let e=!1;if(s<r.length&&"{"==r[s]){s++,t=s;while(s<r.length){if('"'==r[s]){s++;let t=s;while(t<r.length){if('"'==r[t])break;"\\"==r[t]&&t++,t++}s=t+1;continue}if("}"==r[s]){var o=r.substr(t,s-t);if(!De.isNullOrWhiteSpace(o)){let t=i[a++];null==t&&(t=""),n+=t}e=!0,s++;break}s++}e||(n+=r.substr(t-1))}}return n}static isTimeExpression(t){if(De.isNullOrWhiteSpace(t))return!1;let e=this.fetchBlocksFromExpression(t);if(null==e||0==e.length)return!1;return e.all(t=>"time"==t.toLowerCase().trim())}};a.expressionToArguments=new Ri,Ae.A.StiExpressionHelper=a}let Oi=Ae.A.StiExpressionHelper;var M=class{static getUniqueName(t,e){if(!t.columns.contains(e.label))return e.label;var r=Oi.getFunction(e.expression);if(!De.isNullOrWhiteSpace(r)){var r=`${e.label}-${r}`;if(!t.columns.contains(r))return r}return this.getUniqueName3(t,e.label)}static getUniqueName2(t,e,r){if(!t.columns.contains(r))return r;var i=Oi.getFunction(e.expression);if(!De.isNullOrWhiteSpace(i)){var i=`${r}-${i}`;if(!t.columns.contains(i))return i}return this.getUniqueName3(t,e.label)}static getUniqueName3(t,e){if(null==e)return null;let r=e,i=2;while(t.columns.contains(r))r=e+(i++).toString();return r}static parentRelationList(t){return t.parentRelations.toList().cast()}static childRelationList(t){return t.childRelations.toList().cast()}};M.nullTable=new ze,Ae.E.DataTableExt=M,Ae.E.StiDataTableExt=class{static toNetTable(t,e=!1){return Ae.E.ListTableExt.toNetTable(t.rows,t.meters,e)}};let Hi=Ae.E.DataTableExt,_i=Ae.d.StiKeyHelper,Vi=Ae.E.StiDataTableExt;var H=class{static apply(t,e,r,i){if(null==e)return t;if(!(e=e.where(t=>t.priority==Ae.C.StiDataActionPriority.BeforeTransformation)).any())return t;let n=this.getFromCache(t,r,i);if(n==Hi.nullTable)return null;var a;return null==n&&(n=t.copy(),a=t.toList().cast().select(t=>t.columnName).toList(),Ae.C.StiDataActionRuleHelper.applyActions(n,e.toList(),null,a,r),this.addToCache(t,r,i,n)),n}static applyAfterTransformation(e,r,i,n,a){if(null==r)return e;if(!(r=r.where(t=>t.priority==i)).any())return e;let s=this.getFromCache2(e,n,a);if(null==s){let t=Vi.toNetTable(e);var o=e.meters.select(t=>t.key),l=t.toList().cast().select(t=>t.columnName);Ae.C.StiDataActionRuleHelper.applyActions(t,r.toList(),o,l,n);var l=t.rows.toList().select(t=>t.itemArray);s=new Ae.C.StiDataTable(e.meters,l),this.addToCache2(e,n,a,s)}return s}static cleanCache(e){null==e?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.where(t=>t.stimulsoft().startsWith(e)).toList().forEach(t=>this.netCache.remove(t)),this.meterCache.keys.where(t=>t.stimulsoft().startsWith(e)).toList().forEach(t=>this.meterCache.remove(t)))}static getCacheKey(t,e,r){var i,n;return e&&e.setKey(_i.getOrGeneratedKey(e.getKey())),`${e&&e.getKey()||""}.${t.columns.toList().cast().select(t=>t.stimulsoft().getHashCode()).aggregate2(0,(t,e)=>t+e)+r}`}static getCacheKey2(t,e,r){var i,n;return e&&e.setKey(_i.getOrGeneratedKey(e.getKey())),`${e&&e.getKey()||""}.${t.meters.select(t=>t.stimulsoft().getHashCode()).aggregate2(0,(t,e)=>t+e)+r}`}static getFromCache(t,e,r){var r=this.getCacheKey(t,e,r);return this.netCache.contains(r)?this.netCache.get(r):null}static getFromCache2(t,e,r){var r=this.getCacheKey2(t,e,r);return this.meterCache.contains(r)?this.meterCache.get(r):null}static addToCache(t,e,r,i){null==i&&(i=Hi.nullTable);var r=this.getCacheKey(t,e,r);this.netCache.set(r,i)}static addToCache2(t,e,r,i){null==i&&(i=Ae.C.StiDataTable.nullTable);var r=this.getCacheKey2(t,e,r);this.meterCache.set(r,i)}};H.lockObject={},H.netCache=new Ri,H.meterCache=new Ri,Ae.C.StiDataActionOperator=H,Ae.C.StiDataRule=class{clone(){return this.stimulsoft().memberwiseClone()}meta(){return this._hash||(this._hash=[])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}};let Gi=Ae.ab.StiEnumMeta,Ui=Ae.ab.StiStringNullOrEmptyMeta,ji=Ae.ab.StiNumberMeta,Wi=Ae.ab.StiBoolMeta,qi=Ae.C.StiDataActionPriority;{let s=class extends Ae.C.StiDataRule{constructor(t,e,r,i=0,n=-1,a,s,o,l=!1,u=!1,h){super(),this.rowsCount=-1,this.priority=qi.AfterGroupingData,null!=t&&(this.key=t),null!=e&&(this.path=e),null!=r&&(this.type=r),null!=i&&(this.startIndex=i),null!=n&&(this.rowsCount=n),null!=s&&(this.valueFrom=s),null!=o&&(this.valueTo=o),null!=l&&(this.matchCase=l),null!=u&&(this.matchWholeWord=u),null!=h&&(this.initialValue=h),null!=a&&(this.priority=a)}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Type","",Ae.C.StiDataActionType),new Ui("Key"),new Ui("Path"),new ji("StartIndex"),new ji("RowsCount","",-1),new Ui("InitialValue"),new Ui("ValueFrom"),new Ui("ValueTo"),new Wi("MatchCase"),new Wi("MatchWholeWord"),new Gi("Priority","",qi)])}static loadFromJson(t){let e=new s;return e.loadFromJsonObject(t),e}static loadFromXml(t){let e=new s;return e.loadFromXml(t),e}getUniqueCode(){var t=this.type,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.key?this.key.stimulsoft().getHashCode():0))^(null!=this.path?this.path.stimulsoft().getHashCode():0))^this.startIndex)^this.rowsCount)^(null!=this.initialValue?this.initialValue.stimulsoft().getHashCode():0))^(null!=this.valueFrom?this.valueFrom.stimulsoft().getHashCode():0))^(null!=this.valueTo?this.valueTo.stimulsoft().getHashCode():0))^this.matchCase.stimulsoft().getHashCode())^this.matchWholeWord.stimulsoft().getHashCode())^this.priority.stimulsoft().getHashCode(),Math.abs(t)}static create1(t,e){return new s(t,e,Ae.C.StiDataActionType.Percentage,0,-1,qi.AfterGroupingData,null,null,!1,!1,null)}static create2(t,e,r,i,n){return new s(t,e,Ae.C.StiDataActionType.Limit,r,i,n,null,null,!1,!1,null)}static create3(t,e,r,i,n,a){return new s(t,e,Ae.C.StiDataActionType.Replace,0,-1,qi.BeforeTransformation,r,i,n,a,null)}static create4(t,e,r){return new s(t,e,Ae.C.StiDataActionType.RunningTotal,0,-1,qi.AfterGroupingData,null,null,!1,!1,r)}};Ae.C.StiDataActionRule=s}let zi=Ae.X.StiValueHelper,Xi=Ae.B.StiDataActionComparer;Ae.C.StiDataActionRuleHelper=class{static toList(...t){return t.stimulsoft().toList()}static validate(t,e){return t.where(t=>_i.isKey(t.key)&&e.contains(t.key)).toList()}static getColumnIndex(t,e,r){let i=-1;return null==r||De.isNullOrEmpty(t.path)||(i=r.indexOf(t.path)),-1!=i||null==e||De.isNullOrEmpty(t.key)||(i=e.indexOf(t.key)),i}static applyActions(t,e,r,i,n){e.stimulsoft().sort2(new Xi);for(var a of e){var s=this.getColumnIndex(a,r,i);switch(a.type){case Ae.C.StiDataActionType.Limit:this.applyLimitAction(t,a.startIndex,a.rowsCount);break;case Ae.C.StiDataActionType.Replace:this.applyReplaceAction(t,s,a.valueFrom,a.valueTo,a.matchCase,a.matchWholeWord,n);break;case Ae.C.StiDataActionType.RunningTotal:this.applyRunningTotalAction(t,s,a.initialValue,n);break;case Ae.C.StiDataActionType.Percentage:this.applyPercentageAction(t,s);break}}}static applyLimitAction(e,t,r){r<0&&(r=e.rows.length);var r=e.rows.toList().skip(t).take(Math.max(0,r));e.rows.toList().except(r).forEach(t=>e.rows.remove(t))}static applyReplaceAction(t,i,n,a,s,o,e){if(-1==i)return;n=Oi.parseReportExpression(e,n,!0),a=Oi.parseReportExpression(e,a,!0),t.rows.toList().forEach(t=>{let e=zi.tryToString(t.gett(i));if(De.isNullOrEmpty(e))return;var r=new RegExp(o?`\b${n}\b`:n,s?"":"i");t.sett(i,e.replace(r,a))})}static applyRunningTotalAction(t,e,r,i){if(-1==e)return;r=Oi.parseReportExpression(i,r,!0);let n=oe.tryParse(r.stimulsoft().replaceAll(",",".")).result;t.rows.toList().forEach(t=>t.sett(e,n+=zi.tryToNumber(t.gett(e))))}static applyPercentageAction(t,e){if(-1==e)return;let r=Ae.I.Funcs.sum(t.rows.toList().select(t=>t.gett(e)));t.rows.toList().forEach(t=>t.sett(e,Ne.round2(zi.tryToNumber(t.gett(e))/r*100,2)))}},Ae.C.StiDataAnalyzer=class{static analyze(s,o,l,u=Ae.C.StiDataRequestOption.All,h=null,c=null,d=null,m=null,p=null,g=null,f=null,S=null){return Y.tsfb(this,void 0,void 0,function*(){if(null==l||!l.any())return Ae.C.StiDataTable.nullTable;let t=s.getDictionary();var e=t.getApp(),r=0,i=this.unionNames(null,null!=c?c.select(t=>t.path):null),i=this.unionNames(i,null!=d?d.select(t=>t.path):null);i=this.unionNames(i,null!=m?m.select(t=>t.path):null),i=this.unionNames(i,null!=g?g.select(t=>t.path):null),i=this.unionNames(i,null!=f?f.select(t=>t.path):null),i=this.unionNames(i,null!=S?S.select(t=>t.path):null);var n=Ae.C.StiDataLinkHelper.getLinks(t);let a=yield Ae.C.StiDataPicker.fetch(s,o,u,i,n);if(null==a||!a.any())return Ae.C.StiDataCreator.create(t,l);var i=Ae.C.StiDataJoiner.join(a,Ae.C.StiDataLinkHelper.getLinks(t),l,e);if(null==i)return Ae.C.StiDataTable.nullTable;var n=this.unionFilters(d,c,S),r=null!=o?o.stimulsoft().getHashCode():0;if(r=this.getUniqueCode(e,n,r),null==(i=Ae.C.StiDataFiltrator.filter(i,n,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,m&&m.where(t=>t.priority==qi.BeforeTransformation),r),null==(i=Ae.C.StiDataActionOperator.apply(i,m,e,r)))return Ae.C.StiDataTable.nullTable;r=this.getUniqueCode2(l,r);var i=Ae.C.StiDataGrouper.group(t,i,l);if(null==i)return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,m&&m.where(t=>t.priority==qi.AfterGroupingData),r),null==(i=Ae.C.StiDataActionOperator.applyAfterTransformation(i,m,qi.AfterGroupingData,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,g,r),null==(i=Ae.C.StiDataFiltrator.filter2(i,g,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,null==f?void 0:f.where(t=>t.priority==qi.AfterGroupingData),r),null==(i=Ae.C.StiDataActionOperator.applyAfterTransformation(i,f,qi.AfterGroupingData,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,p,r),null==(i=Ae.C.StiDataSorter.sort(i,p,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,null==f?void 0:f.where(t=>t.priority==qi.AfterSortingData),r),null==(i=Ae.C.StiDataActionOperator.applyAfterTransformation(i,f,qi.AfterSortingData,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,h,r),null==(i=Ae.C.StiDataSorter.sort(i,h,e,r)))return Ae.C.StiDataTable.nullTable;if(r=this.getUniqueCode(e,null==m?void 0:m.where(t=>t.priority==qi.AfterSortingData),r),null==(i=Ae.C.StiDataActionOperator.applyAfterTransformation(i,m,qi.AfterSortingData,e,r)))return Ae.C.StiDataTable.nullTable;return i})}static unionFilters(t,e,r){if(null==t&&null==e&&null==r)return null;let i=new Ee;return null!=t&&(i=i.union(t)),null!=e&&(i=i.union(e)),null!=r&&(i=i.union(r)),i}static unionNames(t,e){if(null==t&&null==e)return null;if(null!=t&&null!=e)return t.union(e);return null!=t?t:e}static getUniqueCode(t,e,r=null){if(null==e||!e.any())return null!=r?r:0;let i=e.select(t=>t.getUniqueCode()).aggregate2(0,(t,e)=>t+e);var e;return e.all(t=>t.stimulsoft().is(Ae.C.StiDataFilterRule))&&(e=Ae.C.StiDataFilterRuleHelper.getFilterRulesHash(t,e.cast()),i+=e),null==r?i:i+r}static getUniqueCode2(t,e=null){if(null==t||!t.any())return null!=e?e:0;var t=t.select(t=>t.getUniqueCode()).aggregate2(0,(t,e)=>t+e);return null==e?t:t+e}};var V=class{static isGoodColumnName(t){return!De.isNullOrEmpty(t)&&0==t.indexOf("[")&&t.indexOf("]")==t.length-1}static getGoodColumnName(t){return this.isGoodColumnName(t)?t:`[${t}]`}};V.keywords=["and","between","child","false","in","is","like","not","null","or","parent","true"],Ae.C.StiDataColumnRuleHelper=V;{let i=class{static isConnectionActive(t){if(null==t)return!1;return i.connections.containsKey(t)}static registerConnection(e,r){if(null==e)return;if(r=null!=r?r:new Ee,i.connections.containsKey(e)){let t=i.connections.get(e);null!=t?t.addRange(r):i.connections.set(e,r)}else i.connections.add(e,r)}static unRegisterConnections(t){return i.connections.values.where(t=>null!=t).selectMany(i.unRegisterConnection).toList()}static unRegisterConnection(t){if(null==t||!i.connections.containsKey(t))return new Ee;var e=i.connections.get(t);return i.connections.remove(t),null!=e?e:new Ee}};i.connections=new Dt,Ae.C.StiDataConnections=i}{let i=class extends Ee{static compare(e,r){if(!i.isList(e)&&!i.isList(r))return-1;if(i.isList(e)&&!i.isList(r))return i.toList(e).select(t=>i.compareValues(t,r));if(!i.isList(e)&&i.isList(r))return i.toList(r).select(t=>i.compareValues(e,t));return i.toList(e).sequenceEqual(i.toList(r))?0:1}static compareValues(t,e){if("boolean"==typeof t&&"boolean"==typeof e)return t==e;if("string"==typeof t)return null!=e&&t==e;return Sr.compareTo(t,e)}static isList(t){return null!=t&&(!("string"==typeof t)&&t.stimulsoft().is(Ee)||Array.isArray(t))}static isBoolList(t){return"boolean"==typeof i.toList(t).firstOrDefault()}static toList(t){return null!=t&&t.stimulsoft().is(Ee)?t.cast():new Ee(t)}static toStringList(t){return i.toList(t).tryCastToString()}static toNumberList(t){return i.toList(t).tryCastToNumber()}static toBoolList(t){return i.toList(t).tryCastToBool()}static toNullableDateTimeList(t){return i.toList(t).tryCastToNullableDateTime()}static toArray(t){return i.toList(t)}static toStringArray(t){return i.toStringList(t)}static toNumberArray(t){return i.toNumberList(t)}static add(t,e){let r=this.toArray(t);if(null==r)return t;for(let t=0;t<r.length;t++){var i=r[t];Wr.isNumericType(i)&&(r[t]=i+zi.tryToNumber(e))}return new Ee(r)}};Ae.E.ListExt=i}Ae.F.StiDataException=class{constructor(t=null){this.message="",this.message=t}},Ae.F.StiArgumentNotFoundException=class extends Ae.F.StiDataException{constructor(t,e){super(`Argument '${e}' in the function '${t}' not found!`),this._functionName=t,this._argumentName=e}get functionName(){return this._functionName}get argumentName(){return this._argumentName}},Ae.F.StiArgumentCountException=class extends Ae.F.StiDataException{constructor(t){super(`Parameter count mismatch in the function '${t}'!`),this._functionName=t}get functionName(){return this._functionName}},Ae.F.StiFunctionNotFoundException=class extends Ae.F.StiDataException{constructor(t){super(`Function '${t}' not found!`),this._name=t}get name(){return this._name}},Ae.G.SimpleValue=class{constructor(t){this._value=t}get value(){return this._value}};let Ji=Ae.b.MidpointRounding;var ft=class{},Yi;ft.allowNulls=!1,ft.roundType=Ji.ToEven,Ae.H.StiDataOptions=ft,Ae.G.DateTimeValue=class{constructor(t){this.value=zi.tryToNullableDateTime(t)}};let Qi=Ae.G.DateTimeValue,Ki=Ae.d.StiAppFunctions,Zi=Ae.F.StiFunctionNotFoundException,$i=Ae.b.DayOfWeek,tn=Ae.E.ListExt,en=Ae.G.SimpleValue,rn=Ae.H.StiDataOptions,nn=Ae.R.StiLocalization;{let h=class{static count(t){return tn.isList(t)?h.optionalSkipNulls(tn.toList(t)).count2():zi.tryToNumber(t)}static countIf(t,e){if(!tn.isList(t))return this.getCondition(e)?1:0;let r=this.skipNulls(tn.toList(t)),i=this.getConditions(e),n=0,a=0;return r.forEach(t=>{var e;(a<i.length?i[a]:i.lastOrDefault())&&(n+=1),a++}),n}static distinct(t){return tn.isList(t)?h.optionalSkipNulls(tn.toList(t)).distinct():t}static distinctCount(t){return tn.isList(t)?h.optionalSkipNulls(tn.toList(t)).distinct().count2():zi.tryToNumber(t)}static distinctCountIf(t,e){if(!tn.isList(t))return this.getCondition(e)?1:0;var t=tn.toList(t),r,i;let n=this.getConditions(e),a=new Dt,s=0,o=0;for(r of t){(o<n.length?n[o]:n.lastOrDefault())&&null==a.get(r)&&(s+=1),a.set(r,r),o++}return s}static first(t){return tn.isList(t)?h.skipNulls(tn.toList(t)).firstOrDefault():t}static last(t){return tn.isList(t)?h.skipNulls(tn.toList(t)).lastOrDefault():t}static all(t){return tn.isList(t)?h.skipNulls(tn.toList(t)).select(t=>new en(t)):new en(t)}static isAggregationFunction(t){switch(this.toLowerCase(t)){case"avg":case"avgd":case"avgi":case"avgdate":case"avgtime":case"max":case"maxd":case"maxi":case"maxdate":case"maxtime":case"maxstr":case"median":case"mediand":case"mediani":case"min":case"mind":case"mini":case"mindate":case"mintime":case"minstr":case"minmaxdatestring":case"mode":case"moded":case"modei":case"sum":case"sumd":case"sumi":case"sumtime":case"sumdistinct":case"sumif":case"sumdif":case"sumiif":case"sumtimeif":case"sumdistinctif":case"count":case"countdistinct":case"countif":case"countdistinctif":return!0;default:return!1}}static avg(t){if(!tn.isList(t))return zi.tryToNumber(t);var t=h.skipNulls(tn.toList(t));if(0==h.count(t))return 0;return h.sum(t)/h.count(t)}static avgNulls(t){if(!tn.isList(t))return null==t?null:zi.tryToNumber(t);let e=tn.toList(t);if(null==e||0==e.count2())return null;return this.sum(e)/e.count2()}static avgDate(t){if(!tn.isList(t))return zi.tryToNullableDateTime(t);let e=h.skipNulls(tn.toList(t)).where(t=>null!=t&&t instanceof z).tryCastToDateTime();if(0==h.count(e))return null;return new z(e.sum(t=>t.ticks)/h.count(e))}static avgTime(t){if(!tn.isList(t))return zi.tryToNullableTimeSpan(t);let e=this.skipNulls(tn.toList(t)).select(t=>h.getTimeSpan(t)).where(t=>null!=t).tryCastToTimeSpan();if(0==h.count(e))return null;return lt.fromTicks(e.average(t=>t.ticks))}static getTimeSpan(t){return t instanceof z?t.timeOfDay:t instanceof lt?t:null}static max(t){if(!tn.isList(t))return zi.tryToNumber(t);let e=h.skipNulls(tn.toList(t)).tryCastToNumber();return e.any()?e.max():0}static maxNulls(t){if(!tn.isList(t))return null==t?null:zi.tryToNumber(t);let e=tn.toList(t);if(null==e||0==e.count2()||e.all(t=>null==t))return null;let r=this.skipNulls(e).tryCastToNumber();return r.any()?r.max():0}static maxD(t){if(!tn.isList(t))return zi.tryToNumber(t);let e=h.skipNulls(tn.toList(t)).tryCastToNumber();return e.any()?e.max():0}static maxI(t){if(!tn.isList(t))return zi.tryToNumber(t);let e=h.skipNulls(tn.toList(t)).tryCastToNumber();return e.any()?e.max():0}static maxDate(t){if(!tn.isList(t))return zi.tryToNullableDateTime(t);let e=h.skipNulls(tn.toList(t)).tryCastToNullableDateTime();return e.any()?e.max():null}static maxTime(t){if(!tn.isList(t))return zi.tryToNullableTimeSpan(t);let e=h.skipNulls(tn.toList(t)).tryCastToNullableTimeSpan();return e.any()?e.max():null}static maxStr(t){if(!tn.isList(t))return h.toString(t);return h.skipNulls(tn.toList(t)).orderBy(h.toString).cast().lastOrDefault()}static median(t){if(!tn.isList(t))return zi.tryToNumber(t);let e=tn.toList(t).tryCastToNumber().orderBy(t=>t);if(!e.any())return 0;if(1==e.length)return e[0];if(e.length%2==0)return(e[e.length/2-1]+e[e.length/2])/2;return e[Math.ceil(e.length/2)]}static min(t){if(!tn.isList(t))return zi.tryToNumber(t);let e=h.skipNulls(tn.toList(t)).tryCastToNumber();return e.any()?e.min():0}static minNulls(t){if(!tn.isList(t))return null==t?null:zi.tryToNumber(t);let e=tn.toList(t);if(null==e||0==e.count2()||e.all(t=>null==t))return null;let r=this.skipNulls(e).tryCastToNumber();return r.any()?r.min():0}static minDate(t){if(!tn.isList(t))return zi.tryToNullableDateTime(t);let e=h.skipNulls(tn.toList(t)).tryCastToNullableDateTime();return e.any()?e.min():null}static minTime(t){if(!tn.isList(t))return zi.tryToNullableTimeSpan(t);let e=h.skipNulls(tn.toList(t)).tryCastToNullableTimeSpan();return e.any()?e.min():null}static minMaxDateString(t){let e=h.minDate(t),r=h.maxDate(t);var i,n;return`${null!=e?e.toString("MM/dd/yyyy"):"null"}-${null!=r?r.toString("MM/dd/yyyy"):"null"}`}static minStr(t){if(!tn.isList(t))return h.toString(t);return h.skipNulls(tn.toList(t)).orderBy(h.toString).cast().firstOrDefault()}static mode(t){if(!tn.isList(t))return zi.tryToNumber(t);return h.skipNulls(tn.toList(t)).tryCastToNumber().groupBy(t=>t).orderByDescending(t=>t.count2()).select(t=>t.key).firstOrDefault()}static sum(t){if(!tn.isList(t))return zi.tryToNumber(t);return h.skipNulls(tn.toList(t)).tryCastToNumber().sum()}static sumNulls(t){if(!tn.isList(t))return null==t?null:zi.tryToNumber(t);let e=tn.toList(t);if(e.all(t=>null==t))return null;return this.sum(e)}static sumD(t){if(!tn.isList(t))return zi.tryToNumber(t);return h.skipNulls(tn.toList(t)).tryCastToNumber().sum()}static sumI(t){if(!tn.isList(t))return zi.tryToNumber(t);return h.skipNulls(tn.toList(t)).tryCastToNumber().sum()}static sumTime(t){if(!tn.isList(t))return zi.tryToTimeSpan(t);var t=this.skipNulls(tn.toList(t)).tryCastToTimeSpan().sum(t=>t.ticks);return new lt(t)}static sumDistinct(t){if(!tn.isList(t))return zi.tryToNumber(t);return h.skipNulls(tn.toList(t)).tryCastToNumber().distinct().sum()}static sumIf(t,e){if(!tn.isList(t))return this.getCondition(e)?zi.tryToNumber(t):0;var t=tn.toList(t).tryCastToNumber(),r,i;let n=this.getConditions(e),a=0,s=0;for(r of t){(a<n.length?n[a]:n.lastOrDefault())&&(s+=r),a++}return Ne.round2(s,12)}static sumDIf(t,e){if(!tn.isList(t))return this.getCondition(e)?zi.tryToNumber(t):0;var t=tn.toList(t).tryCastToNumber(),r,i;let n=this.getConditions(e),a=0,s=0;for(r of t){(a<n.length?n[a]:n.lastOrDefault())&&(s+=r),a++}return s}static sumIIf(t,e){if(!tn.isList(t))return this.getCondition(e)?zi.tryToNumber(t):0;var t=tn.toList(t).tryCastToNumber(),r,i;let n=this.getConditions(e),a=0,s=0;for(r of t){(a<n.length?n[a]:n.lastOrDefault())&&(s+=r),a++}return s}static sumTimeIf(t,e){if(!tn.isList(t))return this.getCondition(e)?zi.tryToTimeSpan(t):lt.zero;var t=tn.toList(t).tryCastToTimeSpan(),r,i;let n=this.getConditions(e),a=0,s=0;for(r of t){(a<n.length?n[a]:n.lastOrDefault())&&(s+=r.ticks),a++}return new lt(s)}static sumDistinctIf(t,e){if(!tn.isList(t))return this.getCondition(e)?zi.tryToNumber(t):0;var t=tn.toList(t).tryCastToNumber(),r;let i=this.getConditions(e),n=new Dt,a=0,s=0;for(r of t){var o=a<i.length?i[a]:i.lastOrDefault();o&&null!=n.get(o)&&(s+=r,n.set(o,o)),a++}return s}static getCondition(t){if(!tn.isList(t))return zi.tryToBool(t);return tn.toList(t).tryCastToBool().firstOrDefault()}static getConditions(t){if(!tn.isList(t))return new Ee([zi.tryToBool(t)]);return tn.toList(t).tryCastToBool()}static dayOfWeekIdent(t){if(null==t)return null;return Zt.parse($i,t.dayOfWeek)}static dayOfWeekIdentObject(t){if(tn.isList(t))return tn.toList(t).select(h.dayOfWeekIdent);var e=zi.tryToNullableDateTime(t);if(e)return h.dayOfWeekIdent(e);if("string"==typeof t)return Ae.I.StiDayOfWeekToStrHelper.dayOfWeek5(t)}static dayOfWeekIndex(t){if(null==t)return-1;return t.dayOfWeek}static dayOfWeekIndexObject(t){if(tn.isList(t))return tn.toList(t).select(h.dayOfWeekIndex);var e=zi.tryToNullableDateTime(t);if(e)return h.dayOfWeekIdent(e);if("string"==typeof t){var t=Ae.I.StiDayOfWeekToStrHelper.dayOfWeek5(t);return null==t?-1:t}}static dayOfWeek(t){return null!=t?Ae.I.StiDayOfWeekToStrHelper.dayOfWeek(t):""}static dayOfWeekObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.dayOfWeek):h.dayOfWeek(zi.tryToNullableDateTime(t))}static dayOfWeek2(t,e){return null!=t?Ae.I.StiDayOfWeekToStrHelper.dayOfWeek2(t,e):""}static dayOfWeekObject2(t,e){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.dayOfWeek2(t,e)):h.dayOfWeek2(zi.tryToNullableDateTime(t),e)}static dayOfWeek3(t,e){return null!=t?Ae.I.StiDayOfWeekToStrHelper.dayOfWeek6(t,e):""}static dayOfWeekObject3(t,e){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.dayOfWeek3(t,e)):h.dayOfWeek3(zi.tryToNullableDateTime(t),e)}static dayOfWeek4(t,e,r){return null!=t?Ae.I.StiDayOfWeekToStrHelper.dayOfWeek4(t,e,r):""}static dayOfWeekObject4(t,e,r){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.dayOfWeek4(t,e,r)):h.dayOfWeek4(zi.tryToNullableDateTime(t),e,r)}static daysInMonth(t,e){return z.daysInMonth(t,e)}static daysInMonthObject(n,a){if(tn.isList(n)||tn.isList(a)){let t=tn.toNullableDateTimeList(n),e=tn.toNullableDateTimeList(a),r=null!=t?t.toList():null;var s=null!=e?e.toList():null,o=null!=r?r.count2():s.length;let i=new Ee;for(let t=0;t<o;t++){var l=null!=r?r[t]:null,u=null!=s?s[t]:null;i.add(h.daysInMonthObject(l,u))}return i}return h.daysInMonth(zi.tryToNumber(n),zi.tryToNumber(a))}static daysInMonth2(t){return null!=t?z.daysInMonth(t.year,t.month):0}static daysInMonthObject2(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.daysInMonth2):h.daysInMonth2(zi.tryToNullableDateTime(t))}static daysInYear(t){return z.isLeapYear(t)?366:365}static daysInYear2(t){return null!=t?h.daysInYear(t.year):0}static daysInYearObject(t){if(tn.isList(t))return tn.toNullableDateTimeList(t).select(h.daysInMonth2);return t instanceof z?h.daysInYear2(zi.tryToNullableDateTime(t)):h.daysInYear(zi.tryToNumber(t))}static monthIdent(t){if(null==t)return null;return Ae.I.StiMonth[this.month(t)]}static monthIdentObject(t){return tn.isList(t)?tn.toList(t).select(h.monthIdentObject):"string"==typeof t?Ae.I.StiMonthToStrHelper.month(t):null!=t&&"number"==typeof t?Ae.I.StiMonthToStrHelper.month2(zi.tryToNumber(t)):h.monthIdent(zi.tryToNullableDateTime(t))}static month(t){if(null==t)return-1;return t.month}static monthObject(r){if(tn.isList(r))return tn.toList(r).select(t=>{var e=zi.tryToNullableDateTime(r);if(e)return h.monthIdent(e);if("string"==typeof r){var e=Ae.I.StiMonthToStrHelper.month(r);return null==e?-1:e.value}return null});if("string"==typeof r){var t=Ae.I.StiMonthToStrHelper.month(r);return null==t?-1:t.value}return h.month(zi.tryToNullableDateTime(r))}static monthName(t){return null!=t?Ae.I.StiMonthToStrHelper.monthName(t):""}static monthNameObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.monthName):h.monthName(zi.tryToNullableDateTime(t))}static monthName2(t,e){return null!=t?Ae.I.StiMonthToStrHelper.monthName2(t,e):""}static monthNameObject2(t,e){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.monthName2(t,e)):h.monthName2(zi.tryToNullableDateTime(t),e)}static monthName3(t,e){return null!=t?Ae.I.StiMonthToStrHelper.monthName3(t,e):""}static monthNameObject3(t,e){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.monthName3(t,e)):h.monthName3(zi.tryToNullableDateTime(t),e)}static monthName4(t,e,r){return null!=t?Ae.I.StiMonthToStrHelper.monthName4(t,e,r):""}static monthNameObject4(t,e,r){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>h.monthName4(t,e,r)):h.monthName4(zi.tryToNullableDateTime(t),e,r)}static addMonthsObject(t,e){let r=zi.tryToNullableDateTime(t);if(null==r)return null;return r.addMonths(e)}static addYears(t,e){return t.addYears(e)}static addYearsObject(t,e){var t=zi.tryToNullableDateTime(t);if(null==t)return null;return h.addYears(t,e)}static day(t){if(null==t)return-1;return t.day}static dayObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.day):h.day(zi.tryToNullableDateTime(t))}static dateDiff(t,e){if(null==t||null==e)return null;return t.subtract(e)}static dateDiffObject(n,a){if(tn.isList(n)||tn.isList(a)){let t=tn.toNullableDateTimeList(n),e=tn.toNullableDateTimeList(a),r=null!=t?t.toList():null;var s=null!=e?e.toList():null,o=null!=r?r.count2():s.length;let i=new Ee;for(let t=0;t<o;t++){var l=null!=r?r[t]:null,u=null!=s?s[t]:null;i.add(h.dateDiff(l,u))}return i}return h.dateDiff(zi.tryToNullableDateTime(n),zi.tryToNullableDateTime(a))}static dateTime(t){return tn.isList(t)?this.skipNulls(tn.toList(t)).select(t=>new Qi(t)):new Qi(t)}static dayOfYear(t){if(null==t)return-1;return t.dayOfYear}static dayOfYearObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.dayOfYear):h.dayOfYear(zi.tryToNullableDateTime(t))}static financialQuarter(t){return null}static financialQuarterObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.financialQuarter):h.financialQuarter(zi.tryToNullableDateTime(t))}static financialQuarterIndex(t){if(null==t)return-1;return Math.ceil(t.month/3+2)%4+1}static financialQuarterIndexObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.financialQuarterIndex):h.financialQuarterIndex(zi.tryToNullableDateTime(t))}static hour(t){if(null==t)return-1;return t.hour}static hourObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.hour):h.hour(zi.tryToNullableDateTime(t))}static makeDate(t,e=1,r=1){return new z(t,e,r)}static makeDateObject(t,e=null,r=null){var e,r,t=zi.tryToNumber(t),e=null!==(e=zi.tryToNullableNumber(e))&&void 0!==e?e:1,r=null!==(r=zi.tryToNullableNumber(r))&&void 0!==r?r:1;return h.makeDate(t,e,r)}static makeDateTime(t,e=1,r=1,i=0,n=0,a=0){return new z(t,e,r,i,n,a)}static makeDateTimeObject(t,e=null,r=null,i=null,n=null,a=null){var e,r,i,n,a,t=zi.tryToNumber(t),e=null!==(e=zi.tryToNullableNumber(e))&&void 0!==e?e:1,r=null!==(r=zi.tryToNullableNumber(r))&&void 0!==r?r:1,i=null!==(i=zi.tryToNullableNumber(i))&&void 0!==i?i:0,n=null!==(n=zi.tryToNullableNumber(n))&&void 0!==n?n:0,a=null!==(a=zi.tryToNullableNumber(a))&&void 0!==a?a:0;return h.makeDateTime(t,e,r,i,n,a)}static makeTime(t,e=0,r=0){var i=h.now();return new z(i.year,i.month,i.day,t,e,r)}static makeTimeObject(t,e=null,r=null){var e,r,t=zi.tryToNumber(t),e=null!==(e=zi.tryToNullableNumber(e))&&void 0!==e?e:0,r=null!==(r=zi.tryToNullableNumber(r))&&void 0!==r?r:0;return h.makeTime(t,e,r)}static minute(t){if(null==t)return-1;return t.minute}static minuteObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.minute):h.minute(zi.tryToNullableDateTime(t))}static now(){return z.now}static quarterName(t,e=!0){var r;switch(this.quarter(t)){case Ae.I.StiQuarter.Q1:return e?nn.get("DatePickerRanges","FirstQuarter"):"First Quarter";case Ae.I.StiQuarter.Q2:return e?nn.get("DatePickerRanges","SecondQuarter"):"Second Quarter";case Ae.I.StiQuarter.Q3:return e?nn.get("DatePickerRanges","ThirdQuarter"):"Third Quarter";case Ae.I.StiQuarter.Q4:return e?nn.get("DatePickerRanges","FourthQuarter"):"FourthQuarter";default:return""}}static quarterNameObject(t,e=!0){return tn.isList(t)?tn.toNullableDateTimeList(t).select(t=>this.quarterName(t,e)):this.quarterName(zi.tryToNullableDateTime(t),e)}static quarter(t){if(null==t)return null;return Zt.parse(Ae.I.StiQuarter,h.quarterIndex(t))}static quarterObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.quarter):h.quarter(zi.tryToNullableDateTime(t))}static quarterIndex(t){if(null==t)return-1;return(t.month+2)/3|0}static quarterIndexObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.quarterIndex):h.quarterIndex(zi.tryToNullableDateTime(t))}static second(t){if(null==t)return-1;return t.second}static secondObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.second):h.second(zi.tryToNullableDateTime(t))}static time(t){return tn.isList(t)?this.skipNulls(tn.toList(t)).select(t=>t instanceof z?t.timeOfDay:null):t instanceof z?t.timeOfDay:null}static year(t){if(null==t)return-1;return t.year}static yearObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.year):h.year(zi.tryToNullableDateTime(t))}static yearMonth(t){if(null==t)return"";return`${t.year}-${t.month}`}static yearMonthObject(t){return tn.isList(t)?tn.toNullableDateTimeList(t).select(h.yearMonth):h.yearMonth(zi.tryToNullableDateTime(t))}static getDateDimensionFunctions(){return new Ee(["Year","Quarter","Month","Day","DateTime","Time"])}static image(t,e=200,r=200){if(!tn.isList(t)){var i=t,n;if(!De.isNullOrWhiteSpace(i)&&this.isValidUrl(i))return pr.getFile(i,!0)}return tn.toList(t).select(t=>this.image(t,e,r))}static isValidUrl(t){try{var e=new URL(t);return"http:"===e.protocol||"https:"===e.protocol||"ftp:"===e.protocol||"mailto:"===e.protocol}catch(t){return!1}}static localize(t){switch(h.toLowerCase(t)){case"avg":return"Average";case"count":return"Count";case"distinctcount":return"Count (Distinct)";case"max":return"Max";case"median":return"Median";case"min":return"Min";case"sum":return"Sum";case"percentofgrandtotal":return"Percent of Grand Total";default:return t}}static abs(t){return Math.abs(t)}static absObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.abs):h.abs(zi.tryToNumber(t))}static acos(t){return Math.acos(t)}static acosObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.acos):h.acos(zi.tryToNumber(t))}static asin(t){return Math.asin(t)}static asinObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.asin):h.asin(zi.tryToNumber(t))}static atan(t){return Math.atan(t)}static atanObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.atan):h.atan(zi.tryToNumber(t))}static ceiling(t){return Math.ceil(t)}static ceilingObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.ceiling):h.ceiling(zi.tryToNumber(t))}static cos(t){return Math.cos(t)}static cosObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.cos):h.cos(zi.tryToNumber(t))}static div(t,e,r=null){if(0==e)return r;return Ne.trunc(t/e)}static divObject(t,e,r=null){var t=zi.tryToNumber(t),e=zi.tryToNumber(e),r=zi.tryToNullableNumber(r);return h.div(t,e,r)}static exp(t){return Math.exp(t)}static expObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.exp):h.exp(zi.tryToNumber(t))}static floor(t){return Math.floor(t)}static floorObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.floor):h.floor(zi.tryToNumber(t))}static log(t){return Math.log(t)}static logObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.log):h.log(zi.tryToNumber(t))}static round(t,e=0){return Ne.round2(t,e)}static roundObject(t,e=0){return tn.isList(t)?tn.toNumberList(t).select(t=>h.round(t,e)):h.round(zi.tryToNumber(t),e)}static sign(t){return Math.sign(t)}static signObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.sign):h.sign(zi.tryToNumber(t))}static sin(t){return Math.sin(t)}static sinObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.sin):h.sin(zi.tryToNumber(t))}static sqrt(t){return Math.sqrt(t)}static sqrtObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.sqrt):h.sqrt(zi.tryToNumber(t))}static tan(t){return Math.tan(t)}static tanObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.tan):h.tan(zi.tryToNumber(t))}static truncate(t){return Ne.trunc(t)}static truncateObject(t){return tn.isList(t)?tn.toNumberList(t).select(h.truncate):h.truncate(zi.tryToNumber(t))}static isMeasureFunction(t){let e=Oi.getFunction(t);if(null==e)return!1;if(e=h.toLowerCase(e),"percentofgrandtotal"==e)return!0;return h.getMeasureFunctions().any(t=>h.toLowerCase(t)==e)}static getMeasureFunctions(){return h.getAggregateMeasureFunctions().concat(h.getCommonMeasureFunctions()).distinct()}static getAggregateMeasureFunctions(){return new Ee(["Sum","Avg","Min","Max","DistinctCount","Count","Median"])}static getCommonMeasureFunctions(){return new Ee(["First","Last","Count","DistinctCount"])}static calculate(t,e){switch(h.toLowerCase(t)){case"all":return h.all(e);case"avg":case"avgd":case"avgi":return h.avg(e);case"avgdate":return h.avgDate(e);case"avgtime":return h.avgTime(e);case"count":return h.count(e);case"distinctcount":return h.distinctCount(e);case"first":return h.first(e);case"last":return h.last(e);case"max":case"maxd":case"maxi":return h.max(e);case"maxdate":return h.maxDate(e);case"maxtime":return h.maxTime(e);case"maxstr":return h.maxStr(e);case"median":case"mediand":case"mediani":return h.median(e);case"min":case"mind":case"mini":return h.min(e);case"mindate":return h.minDate(e);case"mintime":return h.minTime(e);case"minstr":return h.minStr(e);case"mode":case"moded":case"modei":return h.mode(e);case"sum":case"sumd":case"sumi":return h.sum(e);case"sumtime":return h.sumTime(e);case"sumdistinct":return h.sumDistinct(e);default:throw new Zi(t)}}static getMapIdents(t){let e=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==e)return null;return e.getMapIdents(t)}static getIso2ConvertedValues(t){if(De.isNullOrWhiteSpace(t))return null;return this.iso2Cache.contains(t)?this.iso2Cache.get(t):new Ee([t])}static iso2(t,e=null){if(null==t)return"";let r=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==r)return t
;var e=r.getIsoAlpha2FromName(t,e),e=null!=e?e:t;let i=this.iso2Cache.contains(e)?this.iso2Cache.get(e):null;return null==i?(i=new Ee([t]),this.iso2Cache.set(e,i)):i.contains(t)||i.add(t),e}static iso2Object(t,e=null){return tn.isList(t)?tn.toStringList(t).select(t=>h.iso2(t,e)):this.iso2(zi.tryToString(t),e)}static iso2ToName(t,e=null){let r=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==r)return t;var e=r.getNameFromIsoAlpha2(t,e);return null!=e?e:t}static iso2ToNameObject(t,e=null){return tn.isList(t)?tn.toStringList(t).select(t=>h.iso2ToName(t,e)):this.iso2ToName(zi.tryToString(t),e)}static iso3(t,e=null){if(null==t)return"";let r=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==r)return t;var e=r.getIsoAlpha3FromName(t,e);return null!=e?e:t}static iso3Object(t,e=null){return tn.isList(t)?tn.toStringList(t).select(t=>h.iso3(t,e)):this.iso3(zi.tryToString(t),e)}static iso3ToName(t,e=null){let r=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==r)return t;var e=r.getNameFromIsoAlpha3(t,e);return null!=e?e:t}static iso3ToNameObject(t,e=null){return tn.isList(t)?tn.toStringList(t).select(t=>h.iso3ToName(t,e)):this.iso3ToName(zi.tryToString(t),e)}static normalizeName(t,e=null){let r=Ge.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==r)return t;return r.normalizeName(t,e,null)}static normalizeNameObject(t,e=null){return tn.isList(t)?tn.toStringList(t).select(t=>h.normalizeName(t,e)):this.normalizeName(zi.tryToString(t),e)}static format(t,e){if(null==e)return"";if(null==t)return e.toString();return De.format("{0:"+t+"}",e)}static formatObject(e,r){return tn.isList(r)?tn.toStringList(r).select(t=>h.format(e,r)):h.format(e,r)}static insert(t,e,r){if(null==t)return null;if(e<0||e>t.length||null==r)return t;return t.stimulsoft().insert(e,r,0)}static insertObject(t,e,r){return tn.isList(t)?tn.toStringList(t).select(t=>h.insert(t,e,r)):h.insert(zi.tryToString(t),e,r)}static isDataEqual(t,e,r){if(h.toDataName(e)==h.toDataName(r))return!0;if(!r.stimulsoft().contains("."))return!1;return h.toDataName(`${t.getName()}.${e}`)==r}static left(t,e=-1){if(null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(0,e)}static leftObject(t,e=-1){return tn.isList(t)?tn.toStringList(t).select(t=>h.left(t,e)):h.left(zi.tryToString(t),e)}static length2(t){return null==t?0:t.length}static lengthObject(t){return tn.isList(t)?tn.toStringList(t).select(h.length2).cast():h.length2(zi.tryToString(t))}static remove(t,e,r){if(null==t)return null;if(r<=0||e<0||e>=t.length)return t;return e+r>t.length&&(r=t.length-e),t.stimulsoft().remove(e,r)}static removeObject(t,e,r){return tn.isList(t)?tn.toStringList(t).select(t=>h.remove(t,e,r)):h.remove(zi.tryToString(t),e,r)}static replace(t,e,r){if(null==t)return null;if(null==e)return t;return null==r&&(r=""),t.stimulsoft().replaceAll(e,r)}static replaceObject(t,e,r){return tn.isList(t)?tn.toStringList(t).select(t=>h.replace(t,e,r)):h.replace(zi.tryToString(t),e,r)}static right(t,e=-1){if(null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(t.length-e,e)}static rightObject(t,e=-1){return tn.isList(t)?tn.toStringList(t).select(t=>h.right(t,e)):h.right(zi.tryToString(t),e)}static toDataName(t){if(null==t)return null;if(h.toDataNameCache.contains(t))return h.toDataNameCache.get(t);let e=t.toLowerCase().stimulsoft().replaceAll(" ","");return e.stimulsoft().startsWith("[")&&(e=e.substring(1)),e.stimulsoft().endsWith("]")&&(e=e.substring(0,e.length-1)),h.toDataNameCache.add(t,e),e}static toExpression(t){return h.toExpression2(t,null)}static toExpression2(t,e){if(null==t)return null;if(0==(t=t.split(" ").join("")).length)return"";if(!De.isNullOrEmpty(e)){if(e=e.split(" ").join(""),t.split("").stimulsoft().toList().any(t=>!(Be.isLetterOrDigit(t)||"_"==t))||e.split("").stimulsoft().toList().any(t=>!(Be.isLetterOrDigit(t)||"_"==t))||Be.isDigit(t[0])||Be.isDigit(e[0]))return`[${t}.${e}]`;return`${t}.${e}`}if(t.split("").stimulsoft().toList().any(t=>!(Be.isLetterOrDigit(t)||"."==t||"_"==t))||Be.isDigit(t[0]))return`[${t}]`;return t}static toLowerCase(t){if(null==t)return null;if(h.toLowerCaseCache.contains(t))return h.toLowerCaseCache.get(t);var e=t.toLowerCase();return h.toLowerCaseCache.add(t,e),e}static toLowerCaseObject(t){return tn.isList(t)?tn.toStringList(t).select(h.toLowerCase):h.toLowerCase(zi.tryToString(t))}static toProperCase(t){if(null==t)return null;if(h.toProperCaseCache.contains(t))return h.toProperCaseCache.get(t);var e=xt.InvariantCulture.textInfo.toTitleCase(t.toLowerCase());return h.toProperCaseCache.add(t,e),e}static toProperCaseObject(t){return tn.isList(t)?tn.toStringList(t).select(h.toProperCase):h.toProperCase(zi.tryToString(t))}static toString(t){return null==t?"":t.Funcs.toString()}static toStringObject(t){return tn.isList(t)?tn.toList(t).select(h.toString):h.toString(t)}static toUpperCase(t){if(null==t)return null;if(h.toUpperCaseCache.contains(t))return h.toUpperCaseCache.get(t);var e=t.toUpperCase();return h.toUpperCaseCache.add(t,e),e}static toUpperCaseObject(t){return tn.isList(t)?tn.toStringList(t).select(h.toUpperCase):h.toUpperCase(zi.tryToString(t))}static trim(t){return null!=t?t.trim():null}static trimObject(t){return tn.isList(t)?tn.toStringList(t).select(h.trim):h.trim(zi.tryToString(t))}static trimStart(t){return null!=t?t.stimulsoft().trimStart():null}static trimStartObject(t){return tn.isList(t)?tn.toStringList(t).select(h.trimStart):h.trimStart(zi.tryToString(t))}static trimEnd(t){return null!=t?t.stimulsoft().trimEnd():null}static trimEndObject(t){return tn.isList(t)?tn.toStringList(t).select(h.trimEnd):h.trimEnd(zi.tryToString(t))}static substring(t,e,r=-1){if(null==t)return null;if(e<-1)return"";if(-1==r)return e>=t.length?"":t.substring(e);if(e>=t.length)return"";return e+r>t.length?t.substring(e):t.substring(e,r)}static substringObject(t,e,r=-1){return tn.isList(t)?tn.toStringList(t).select(t=>h.substring(t,e,r)):h.substring(zi.tryToString(t),e,r)}static getSystemVariable(t,e){switch(t){case Ae.I.StiSystemVariableObject.Line:return e;case Ae.I.StiSystemVariableObject.LineABC:return h.toABC(e);case Ae.I.StiSystemVariableObject.LineRoman:return h.toRoman(e);default:throw new Error("NotImplementedException")}}static existsCustomFunction(t){return this.getCustomFunctions(t).any()}static getCustomFunctions(t){let e=Ki.getFunctions2(t,!0,!1);if(null!=e)return e.stimulsoft().toList();return new Ee}static getCustomFunction(t,e){let r=this.getCustomFunctions(t);return r.firstOrDefault()}static invokeCustomFunction(t,e){let r=this.getCustomFunctions(t);if(1==r.count2())return r.firstOrDefault().invoke(e);let i=this.getCustomFunction(t,e.select(t=>null!=t?t.stimulsoft().getType():null));if(null==i)throw new Zi(t);return i.invoke(e)}static skipNulls(t){return t&&t.where(t=>null!=t)}static optionalSkipNulls(t){return rn.allowNulls?t:h.skipNulls(t)}static toRoman(i){let n="";while(0<i)for(let r=5;0<=r;r--){if(i>=this.arabics[r]){n+=this.romans[r],i-=this.arabics[r];break}let e=!1;for(let t=this.subs[r];t<r;t++){if(this.arabics[t]==this.arabics[r]-this.arabics[t])continue;if(i>=this.arabics[r]-this.arabics[t]){n+=this.romans[t],n+=this.romans[r],i-=this.arabics[r]-this.arabics[t],e=!0;break}}if(e)break}return n}static toABC(t){if(t<1)return"";let e=0;while(26<t)e++,t-=26;return De.fill(this.abc[t-1],e+1)}static toABCNumeric(t){let e=0;while(26<t)e++,t-=26;return 0==e?String.fromCharCode(t+64):String.fromCharCode(t+64)+e.toString()}static toABCRu(t){if(t<1)return"";let e=0;while(26<t)e++,t-=26;return De.fill(this.abcRu[t-1],e+1)}static toArabic(r,i){r=r.toString();let n="";for(let e=0;e<r.length;e++){let t=r.charCodeAt(e);48<=t&&t<=57&&(t+=1632-48,i&&(t+=1776-1632)),n+=String.fromCharCode(t)}return n}};h.iso2Cache=new Ri,h.toProperCaseCache=new Ri,h.toLowerCaseCache=new Ri,h.toUpperCaseCache=new Ri,h.toDataNameCache=new Ri,h.arabics=[1,5,10,50,100,1e3],h.romans=["I","V","X","L","C","M"],h.subs=[0,0,0,2,2,4],h.abc=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],h.abcRu=["А","Б","В","Г","Д","Е","Ж","З","И","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Э","Ю","Я"],Ae.I.Funcs=h}(K=Yi=Ae.I.StiQuarter||(Ae.I.StiQuarter={}))[K["Q1"]=1]="Q1",K[K["Q2"]=2]="Q2",K[K["Q3"]=3]="Q3",K[K["Q4"]=4]="Q4";var Z=class extends Zt{};Z.January=new Z("January",1),Z.February=new Z("February",2),Z.March=new Z("March",3),Z.April=new Z("April",4),Z.May=new Z("May",5),Z.June=new Z("June",6),Z.July=new Z("July",7),Z.August=new Z("August",8),Z.September=new Z("September",9),Z.October=new Z("October",10),Z.November=new Z("November",11),Z.December=new Z("December",12),Z[1]=Z.January,Z[2]=Z.February,Z[3]=Z.March,Z[4]=Z.April,Z[5]=Z.May,Z[6]=Z.June,Z[7]=Z.July,Z[8]=Z.August,Z[9]=Z.September,Z[10]=Z.October,Z[11]=Z.November,Z[12]=Z.December,Ae.I.StiMonth=Z;var tt=class extends Zt{};tt.Sunday=new tt("Sunday",0),tt.Monday=new tt("Monday",1),tt.Tuesday=new tt("Tuesday",2),tt.Wednesday=new tt("Wednesday",3),tt.Thursday=new tt("Thursday",4),tt.Friday=new tt("Friday",5),tt.Saturday=new tt("Saturday",6),tt[0]=tt.Sunday,tt[1]=tt.Monday,tt[2]=tt.Tuesday,tt[3]=tt.Wednesday,tt[4]=tt.Thursday,tt[5]=tt.Friday,tt[6]=tt.Saturday,Ae.I.StiDayOfWeek=tt;var rt=class{constructor(t){this.value="",this.value=t}},K;rt.Line=new rt("Line"),rt.LineABC=new rt("LineABC"),rt.LineRoman=new rt("LineRoman"),Ae.I.StiSystemVariableObject=rt;let an=Ae.I.StiSystemVariableObject,sn=Ae.F.StiArgumentNotFoundException,on=Ae.F.StiArgumentCountException,ln=Ae.I.Funcs,un=Ae.ac.IStiDimensionMeter;{let O=class{constructor(t,e,r){this.nameToIndex=new Ri,this.nameToValue=new Ri,this.nameToVariable=new Ri,this.dictionary=t,this.table=e,this.meters=r}runFunction(r,i){var t,e,n;switch(ln.toLowerCase(r)){case"all":return 0<i.parameters.length?ln.all(O.getDataColumnFromArg0(r,i)):null;case"avg":return ln.avg(O.getDataColumnFromArg0(r,i));case"avgnulls":return ln.avgNulls(O.getDataColumnFromArg0(r,i));case"avgd":return ln.avg(O.getDataColumnFromArg0(r,i));case"avgi":return ln.avg(O.getDataColumnFromArg0(r,i));case"avgdate":return ln.avgDate(O.getDataColumnFromArg0(r,i));case"avgtime":return ln.avgTime(O.getDataColumnFromArg0(r,i));case"count":return 0<i.parameters.length?ln.count(O.getDataColumnFromArg0(r,i)):0;case"countif":return 0<i.parameters.length?ln.countIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"distinct":return 0<i.parameters.length?ln.distinct(O.getDataColumnFromArg0(r,i)):0;case"distinctcount":return 0<i.parameters.length?ln.distinctCount(O.getDataColumnFromArg0(r,i)):0;case"distinctcountif":return 0<i.parameters.length?ln.distinctCountIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"grandtotal":if(0<i.parameters.length){this.isGrandTotal=!0;var t=ln.sum(O.getDataColumnFromArg0(r,i));return this.isGrandTotal=!1,t}return 0;case"getparam":return 0<i.parameters.length?null===(t=this.dictionary)||void 0===t?void 0:t.getVariableValueByName(null===(e=O.getDataColumnFromArg0(r,i))||void 0===e?void 0:e.toString()):null;case"percentofgrandtotal":if(0<i.parameters.length){var e=ln.sum(O.getDataColumnFromArg0(r,i));this.isGrandTotal=!0;var a=ln.sum(O.getDataColumnFromArg0(r,i));return this.isGrandTotal=!1,e/a}return 0;case"first":return 0<i.parameters.length?ln.first(O.getDataColumnFromArg0(r,i)):null;case"last":return 0<i.parameters.length?ln.last(O.getDataColumnFromArg0(r,i)):null;case"median":return ln.median(O.getDataColumnFromArg0(r,i));case"max":return 0<i.parameters.length?ln.max(O.getDataColumnFromArg0(r,i)):0;case"maxnulls":return 0<i.parameters.length?ln.maxNulls(O.getDataColumnFromArg0(r,i)):null;case"maxd":return 0<i.parameters.length?ln.maxD(O.getDataColumnFromArg0(r,i)):0;case"maxi":return 0<i.parameters.length?ln.maxI(O.getDataColumnFromArg0(r,i)):0;case"maxdate":return 0<i.parameters.length?ln.maxDate(O.getDataColumnFromArg0(r,i)):null;case"maxtime":return 0<i.parameters.length?ln.maxTime(O.getDataColumnFromArg0(r,i)):null;case"maxstr":return 0<i.parameters.length?ln.maxStr(O.getDataColumnFromArg0(r,i)):null;case"min":return 0<i.parameters.length?ln.min(O.getDataColumnFromArg0(r,i)):0;case"minnulls":return 0<i.parameters.length?ln.minNulls(O.getDataColumnFromArg0(r,i)):null;case"mind":return 0<i.parameters.length?ln.min(O.getDataColumnFromArg0(r,i)):0;case"mini":return 0<i.parameters.length?ln.min(O.getDataColumnFromArg0(r,i)):0;case"mindate":return 0<i.parameters.length?ln.minDate(O.getDataColumnFromArg0(r,i)):null;case"minmaxdatestring":return 0<i.parameters.length?ln.minMaxDateString(O.getDataColumnFromArg0(r,i)):null;case"mintime":return 0<i.parameters.length?ln.minTime(O.getDataColumnFromArg0(r,i)):null;case"minstr":return 0<i.parameters.length?ln.minStr(O.getDataColumnFromArg0(r,i)):null;case"sum":return 0<i.parameters.length?ln.sum(O.getDataColumnFromArg0(r,i)):0;case"sumnulls":return 0<i.parameters.length?ln.sumNulls(O.getDataColumnFromArg0(r,i)):0;case"sumd":return 0<i.parameters.length?ln.sumD(O.getDataColumnFromArg0(r,i)):0;case"sumi":return 0<i.parameters.length?ln.sumI(O.getDataColumnFromArg0(r,i)):0;case"sumdistinct":return 0<i.parameters.length?ln.sumDistinct(O.getDataColumnFromArg0(r,i)):0;case"sumtime":return 0<i.parameters.length?ln.sumTime(O.getDataColumnFromArg0(r,i)):new lt;case"sumif":return 0<i.parameters.length?ln.sumIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"sumdif":return 0<i.parameters.length?ln.sumDIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"sumiif":return 0<i.parameters.length?ln.sumIIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"sumdistinctif":return 0<i.parameters.length?ln.sumDistinctIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"sumtimeif":return 0<i.parameters.length?ln.sumTimeIf(O.getDataColumnFromArg0(r,i),O.getObjectFromArg1("condition",r,i)):0;case"addmonths":var a=O.getObjectFromArg(0,"date",r,i),s=zi.tryToNumber(O.getObjectFromArg(1,"months",r,i));return ln.addMonthsObject(a,s);case"addyear":var s=O.getObjectFromArg(0,"date",r,i),o=zi.tryToNumber(O.getObjectFromArg(1,"years",r,i));return ln.addYearsObject(s,o);case"datediff":return ln.dateDiffObject(O.getObjectFromArg0("date1",r,i),O.getObjectFromArg1("date2",r,i));case"datetime":return 0<i.parameters.length?ln.dateTime(O.getDataColumnFromArg0(r,i)):null;case"day":return ln.dayObject(O.getObjectFromArg0("date",r,i));case"daysinmonth":return 1==i.parameters.length?ln.daysInMonthObject2(O.getObjectFromArg0("date",r,i)):ln.daysInMonthObject(O.getObjectFromArg0("year",r,i),O.getObjectFromArg1("month",r,i));case"daysinyear":var l=O.getObjectFromArg0("value",r,i);return l instanceof z?ln.daysInYearObject(l):ln.daysInYearObject(zi.tryToNumber(l));case"dayofweek":var o=O.getObjectFromArg0("date",r,i);if(1==i.parameters.length)return ln.dayOfWeekObject(o);if(2==i.parameters.length){let t=O.getObjectFromArg1("localized",r,i);return"boolean"==typeof t?ln.dayOfWeekObject2(o,t):ln.dayOfWeekObject2(o,t.toString())}if(3==i.parameters.length){let t=O.getObjectFromArg1("culture",r,i);var l=O.getObjectFromArg2("upperCase",r,i);return ln.dayOfWeekObject4(o,t.toString(),"boolean"==typeof l&&l)}throw new on(r);case"dayofweekident":return ln.dayOfWeekIdentObject(O.getObjectFromArg0("date",r,i));case"dayofweekindex":return ln.dayOfWeekIndexObject(O.getObjectFromArg0("date",r,i));case"dayofyear":return ln.dayOfYearObject(O.getObjectFromArg0("date",r,i));case"financialquarter":return ln.financialQuarterObject(O.getObjectFromArg0("date",r,i));case"financialquarterindex":return ln.financialQuarterIndexObject(O.getObjectFromArg0("date",r,i));case"hour":return ln.hourObject(O.getObjectFromArg0("date",r,i));case"makedate":case"dateserial":var u=O.getObjectFromArg(0,"year",r,i),h=O.getObjectFromArg(1,"months",r,i),c=O.getObjectFromArg(2,"day",r,i);return ln.makeDateObject(u,h,c);case"makedatetime":var u=O.getObjectFromArg(0,"year",r,i),h=O.getObjectFromArg(1,"months",r,i),c=O.getObjectFromArg(2,"day",r,i),d=O.getObjectFromArg(3,"hour",r,i),m=O.getObjectFromArg(4,"minute",r,i),p=O.getObjectFromArg(5,"second",r,i);return ln.makeDateTimeObject(u,h,c,d,m,p);case"maketime":case"timeserial":var d=O.getObjectFromArg(0,"hour",r,i),m=O.getObjectFromArg(1,"minute",r,i),p=O.getObjectFromArg(2,"second",r,i);return ln.makeTimeObject(d,m,p);case"minute":return ln.minuteObject(O.getObjectFromArg0("date",r,i));case"month":return ln.monthObject(O.getObjectFromArg0("date",r,i));case"monthident":return ln.monthIdentObject(O.getObjectFromArg0("date",r,i));case"monthname":var g=O.getObjectFromArg0("date",r,i);if(1==i.parameters.length)return ln.monthNameObject(g);if(2==i.parameters.length){let t=O.getObjectFromArg1("localized",r,i);return"boolean"==typeof t?ln.monthNameObject2(g,t):ln.monthNameObject2(g,t.toString())}if(3==i.parameters.length){let t=O.getObjectFromArg1("culture",r,i);var f=O.getObjectFromArg2("upperCase",r,i);return ln.monthNameObject4(g,t.toString(),"boolean"==typeof f&&f)}throw new on(r);case"now":return ln.now();case"quarter":return ln.quarterObject(O.getObjectFromArg0("date",r,i));case"quarterindex":return ln.quarterIndexObject(O.getObjectFromArg0("date",r,i));case"quartername":var g=O.getObjectFromArg0("date",r,i);if(1==i.parameters.length)return ln.quarterNameObject(g,!1);if(2==i.parameters.length){var f=O.getObjectFromArg1("localized",r,i);return"boolean"==typeof f?ln.quarterNameObject(g,f):ln.quarterNameObject(g)}throw new on(r);case"second":return ln.secondObject(O.getObjectFromArg0("date",r,i));case"time":return 0<i.parameters.length?ln.time(O.getDataColumnFromArg0(r,i)):null;case"year":return ln.yearObject(O.getObjectFromArg0("date",r,i));case"yearmonth":return ln.yearMonthObject(O.getObjectFromArg0("date",r,i));case"format":var S=O.getObjectFromArg0("value",r,i),b=zi.tryToString(O.getObjectFromArg(1,"format",r,i));return ln.formatObject(b,S);case"insert":var b=O.getObjectFromArg0("str",r,i),S=zi.tryToNumber(O.getObjectFromArg(1,"startIndex",r,i)),y=zi.tryToString(O.getObjectFromArg(2,"value",r,i));return ln.insertObject(b,S,y);case"iso2":var y=O.getObjectFromArg0("name",r,i),v=1<i.parameters.length?zi.tryToString(O.getObjectFromArg(1,"mapId",r,i)):null;return ln.iso2Object(y,v);case"iso2toname":var v=O.getObjectFromArg0("alpha2",r,i),w=1<i.parameters.length?zi.tryToString(O.getObjectFromArg(1,"mapId",r,i)):null;return ln.iso2ToNameObject(v,w);case"iso3":var w=O.getObjectFromArg0("name",r,i),C=1<i.parameters.length?zi.tryToString(O.getObjectFromArg(1,"mapId",r,i)):null;return ln.iso3Object(w,C);case"iso3toname":var C=O.getObjectFromArg0("alpha2",r,i),T=1<i.parameters.length?zi.tryToString(O.getObjectFromArg(1,"mapId",r,i)):null;return ln.iso3ToNameObject(C,T);case"left":var T=O.getObjectFromArg0("str",r,i),P=zi.tryToNumber(O.getObjectFromArg(1,"length",r,i));return ln.leftObject(T,P);case"length":return ln.lengthObject(O.getObjectFromArg0("str",r,i));case"normalizename":var P=O.getObjectFromArg0("name",r,i),I=1<i.parameters.length?zi.tryToString(O.getObjectFromArg(1,"mapId",r,i)):null;return ln.normalizeNameObject(P,I);case"remove":var I=O.getObjectFromArg0("str",r,i),A=zi.tryToNumber(O.getObjectFromArg(1,"startIndex",r,i)),x=zi.tryToNumber(O.getObjectFromArg(2,"count",r,i));return ln.removeObject(I,A,x);case"replace":var A=O.getObjectFromArg0("str",r,i),x=zi.tryToString(O.getObjectFromArg(1,"oldValue",r,i)),D=zi.tryToString(O.getObjectFromArg(2,"newValue",r,i));return ln.replaceObject(A,x,D);case"right":var D=O.getObjectFromArg0("str",r,i),B=zi.tryToNumber(O.getObjectFromArg(1,"length",r,i));return ln.rightObject(D,B);case"topropercase":return ln.toProperCaseObject(O.getObjectFromArg0("str",r,i));case"tolowercase":return ln.toLowerCaseObject(O.getObjectFromArg0("str",r,i));case"tostring":return ln.toStringObject(O.getObjectFromArg0("value",r,i));case"touppercase":return ln.toUpperCaseObject(O.getObjectFromArg0("str",r,i));case"substring":var B=O.getObjectFromArg0("str",r,i),E=zi.tryToNumber(O.getObjectFromArg(1,"index",r,i)),k=2<i.parameters.length?zi.tryToNumber(O.getObjectFromArg(2,"length",r,i)):-1;return ln.substringObject(B,E,k);case"trim":return ln.trimObject(O.getObjectFromArg0("str",r,i));case"trimstart":return ln.trimStartObject(O.getObjectFromArg0("str",r,i));case"trimend":return ln.trimEndObject(O.getObjectFromArg0("str",r,i));case"image":{var E=1<i.parameters.length?O.getObjectFromArg1("width",r,i):null,k=2<i.parameters.length?O.getObjectFromArg2("height",r,i):null;let t=zi.tryToNullableNumber(E),e=zi.tryToNullableNumber(k);return null==t&&(t=200),null==e&&(e=200),0<i.parameters.length?ln.image(O.getDataColumnFromArg0(r,i),t,e):null}case"array":return i.parameters.select(t=>t.evaluate()).stimulsoft().toArray();case"list":return i.parameters.select(t=>t.evaluate()).stimulsoft().toList();case"iif":var N=O.getObjectFromArg0("condition",r,i);return zi.tryToBool(N)?O.getObjectFromArg1("truePart",r,i):O.getObjectFromArg2("falsePart",r,i);case"choose":var N=O.getObjectFromArg0("index",r,i),F=zi.tryToNumber(N),N=i.parameters.skip(1).select(t=>t.evaluate()).stimulsoft().toList();if(0==N.length)return null;if(F<1||F>N.length)return null;return N[F-1];case"switch":var R=i.parameters.select(t=>t.evaluate()).stimulsoft().toList();for(let t=0;t<R.length;t+=2){var L=R[t],M=R[t+1];if("boolean"==typeof L&&1==L)return M;if("boolean"==typeof L&&1==L)return M}return null;case"abs":return ln.absObject(O.getObjectFromArg0("value",r,i));case"acos":return ln.acosObject(O.getObjectFromArg0("value",r,i));case"asin":return ln.asinObject(O.getObjectFromArg0("value",r,i));case"atan":return ln.atanObject(O.getObjectFromArg0("value",r,i));case"ceiling":return ln.ceilingObject(O.getObjectFromArg0("value",r,i));case"cos":return ln.cosObject(O.getObjectFromArg0("value",r,i));case"div":return ln.divObject(O.getObjectFromArg(0,"value1",r,i),O.getObjectFromArg(1,"value2",r,i),O.getObjectFromArg(2,"zeroResult",r,i));case"exp":return ln.expObject(O.getObjectFromArg0("value",r,i));case"floor":return ln.floorObject(O.getObjectFromArg0("value",r,i));case"log":return ln.logObject(O.getObjectFromArg0("value",r,i));case"round":{var F=O.getObjectFromArg0("value",r,i);let t=0;return 1<i.parameters.length&&(t=zi.tryToNumber(O.getObjectFromArg(1,"decimals",r,i))),ln.roundObject(F,t)}case"sign":return ln.signObject(O.getObjectFromArg0("value",r,i));case"sin":return ln.sinObject(O.getObjectFromArg0("value",r,i));case"sqrt":return ln.sqrtObject(O.getObjectFromArg0("value",r,i));case"tan":return ln.tanObject(O.getObjectFromArg0("value",r,i));case"truncate":return ln.truncateObject(O.getObjectFromArg0("value",r,i));default:if(ln.existsCustomFunction(r))return ln.invokeCustomFunction(r,O.evaluateArgs(i));throw new Zi(r)}}getVariableValue(t){var e;if(De.isNullOrWhiteSpace(t))return null;var r=null!=this.dictionary&&this.dictionary.isReadOnlyVariable(t);if(!r&&this.nameToValue.containsKey(t))return this.nameToValue.get(t);var e=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return r||this.nameToValue.set(t,e),e}isVariable(t){var e;if(De.isNullOrWhiteSpace(t))return!1;if(this.nameToVariable.keys.contains(t))return!0;var e=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return null!=e&&(this.nameToValue.set(t,e),!0)}isSystemVariable(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return!0;if("lineabc"==e)return!0;if("lineroman"==e)return!0;return this.dictionary.isSystemVariable(t)}getSystemVariableValue(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return an.Line;if("lineabc"==e)return an.LineABC;if("lineroman"==e)return an.LineRoman;return this.dictionary.getSystemVariableValue(t)}static getObjectFromArg(t,e,r,i){if(t>=i.parameters.length)throw new sn(r,e);return i.parameters[t].evaluate()}static evaluateArgs(t){return t.parameters.select(t=>t.evaluate())}static getObjectFromArg0(t,e,r){return O.getObjectFromArg(0,t,e,r)}static getObjectFromArg1(t,e,r){return O.getObjectFromArg(1,t,e,r)}static getObjectFromArg2(t,e,r){return O.getObjectFromArg(2,t,e,r)}static getDataColumnFromArg0(t,e){return O.getObjectFromArg0("dataColumn",t,e)}getDataColumnIndex(t){if(null==this.table)return-1;if(this.nameToIndex.contains(t))return this.nameToIndex.get(t);let e=ln.toDataName(t);var r=this.table.columns.toList().cast().firstOrDefault(t=>this.dataEqual(t,e));if(null==r)return-1;var r=this.table.columns.indexOf(r);if(-1==r)return-1;return this.nameToIndex.add(t,r),r}dataEqual(t,e){var t=ln.toDataName(t.columnName);if(!e.stimulsoft().contains("."))return!1;return t==e}getDimensionIndex(t){return this.meters.where(t=>t.is(un)).indexOf(t)}};Ae.J.StiDataParser=O}let hn=Ae.ac.IStiMeasureMeter;Ae.J.StiMeasureDataParser=class extends Ae.J.StiDataParser{constructor(t,e,r,i){super(t,e,r),this.queryToExpression=new Ri,this.expressionToPair=new Ri,this.grandRows=i}calculate(){return this.grandRows.select(e=>this.meters.select(t=>this.calculateMeter(t,e.key,e),this),this)}calculateMeter(t,e=null,r=null){var i=t.as(un);if(null!=i)return this.calculateDimension(i,e);var e=t.as(hn);if(null!=e){var t=this.getMeasureColumn(e);return null==t?this.calculateMeasureExpression(e,r):this.calculateMeasureFunction(t.function,t.columnName,r)}throw new Ue("NotSupportedException")}calculateDimension(t,e){var t=this.getDimensionIndex(t);if(-1==t)return null;let r=e&&e[t];return(null!=r&&r.stimulsoft().is(en)||null!=r&&r.stimulsoft().is(Qi))&&(r=r.value),r}calculateMeasureFunction(t,e,r){let i=this.getDataColumnIndex(e);if(-1==i)return null;var r=r.select(t=>t[i]);return ln.calculate(t,r)}calculateMeasureExpression(t,e){if(De.isNullOrWhiteSpace(t.expression))return null;let r=this.getExpression(t.expression);return this.currentRows=e,r.evaluate()}getMeasureColumn(r){if(null==this.table)return null;if(De.isNullOrWhiteSpace(r.expression))return null;if(this.expressionToPair.contains(r.expression))return this.expressionToPair.get(r.expression);let i=r.expression.trim().toLowerCase();var t,n;for(n of ln.getMeasureFunctions()){let e=ln.toLowerCase(n);var a=this.table.columns.toList().cast().firstOrDefault(t=>`${e}(${ln.toLowerCase(t.columnName).trim()})`==i||`${e}([${ln.toLowerCase(t.columnName).trim()}])`==i);if(null!=a){let t=new Ae.J.StiFunctionColumnPair;return t.function=n,t.columnName=a.columnName,this.expressionToPair.add(r.expression,t),t}}return null}getExpression(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);let e=Oi.newExpression(t),r=this;return e.evaluateFunction=(t,e)=>e.result=r.runFunction(t,e),e.evaluateParameter=(e,t)=>{r.isSystemVariable(e)?t.result=r.getSystemVariableValue(e):r.isVariable(e)?t.result=r.getVariableValue(e):t.result=r.isGrandTotal?r.grandRows.selectMany(t=>t.select(t=>r.getDataRowValue(e,t))):null!=r.currentRows?r.currentRows.select(t=>r.getDataRowValue(e,t)):null},this.queryToExpression.set(t,e),e}getDataRowValue(t,e){var r;return-1==this.getDataColumnIndex(t)?null:e[this.getDataColumnIndex(t)]}};let cn=Ae.C.IStiDataFormat,dn=Ae.C.StiDataFormatKind;{let r=class extends Ae.J.StiDataParser{constructor(t,e,r){super(t,e,r),this.queryToExpression=new Ri,this.expressionToColumn=new Ri,this.dimensions=r.where(t=>t.is(un)).cast()}calculate(t,e){return this.currentRow=t,r.normalizeDates(this.dimensions.select(this.calculateDimension,this),e)}static normalizeDates(t,e){if(null==e)return t;let r=0;return t.select(t=>this.normalizeDate(t,this.getMeter(e,r++)),this)}static getMeter(t,e){return e<t.length?t[e]:null}static normalizeDate(t,e){let r=e.as(cn);if(null!=r&&r.getDataFormat()==dn.Time)return t;return t instanceof z?xi.correct(t):t}calculateDimension(t){if(De.isNullOrWhiteSpace(t.expression))return null;try{var e=this.getDimensionGroupColumn(t);return null==e?this.calculateDimensionExpression(t):this.calculateDimensionGroup(e)}catch(t){return null}}getDimensionGroupColumn(t){if(null==this.table)return null;if(De.isNullOrWhiteSpace(t.expression))return null;if(this.expressionToColumn.contains(t.expression))return this.expressionToColumn.get(t.expression);let e=ln.toDataName(t.expression);var r=this.table.columns.toList().cast().firstOrDefault(t=>ln.toDataName(t.columnName)==e),r=null!=r?r.columnName:null;return this.expressionToColumn.add(t.expression,null!=r?r:null),r}calculateDimensionExpression(t){let e=this.getExpression(t.expression);if(null==e)return null;return e.evaluate()}calculateDimensionGroup(t){var e=this.getDataColumnIndex(t),t=this.currentRow[e];return this.normalizeEnum(t,e)}normalizeEnum(t,e){return t}getExpression(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);let e=Oi.newExpression(t),r=this;return e.evaluateFunction=(t,e)=>e.result=r.runFunction(t,e),e.evaluateParameter=(t,e)=>{var t;r.isSystemVariable(t)?e.result=r.getSystemVariableValue(t):r.isVariable(t)?e.result=r.getVariableValue(t):0<=(t=r.getDataColumnIndex(t))&&t<r.currentRow.length?e.result=r.currentRow[t]:e.result=null},this.queryToExpression.set(t,e),e}};Ae.J.StiDimensionDataParser=r}let mn=Ae.J.StiMeasureDataParser,pn=Ae.J.StiDimensionDataParser,gn=Ae.C.IStiSkipNormalizeDate;Ae.C.StiDataCreator=class{static create(r,a){try{let t=a.select(t=>this.getData(r,t,a),this),e=t.where(tn.isList),i=e.any()?e.max(t=>tn.toList(t).count2()):1;i=Math.max(1,i);var s=t.select(t=>this.convert(t,i)),o=a.count2();let n=new Ee;for(let r=0;r<i;r++){let e=[];for(let t=0;t<o;t++)e.push(s[t][r]);n.add(e)}return new Ae.C.StiDataTable(a,n)}catch(t){return new Ae.C.StiDataTable(a,new Ee)}}static convert(i,n){if(tn.isList(i)){let t=tn.toList(i),e=Ee.repeat(t.lastOrDefault(),n).stimulsoft().toArray(),r=0;return t.toList().forEach(t=>e[r++]=t),e}return Ee.repeat(i,n).stimulsoft().toArray()}static getData(t,e,r){if(e.is2(un))return r.any(t=>t.is(gn))&&(r=null),new pn(t,null,new Ee([e])).calculate([null],r).stimulsoft().toList().firstOrDefault();if(e.is2(hn))return new mn(t,null,new Ee([e]),null).calculateMeter(e);return null}},Ae.C.StiDataExpressionHelper=class{static getDataColumnFromExpression(t,e){if(De.isNullOrWhiteSpace(e))return null;e=Oi.removeFunction(e);let r=Oi.getArguments(e);if(null==r||1!=r.count2())return null;let i=r.firstOrDefault();if(De.isNullOrWhiteSpace(i))return null;i=ln.toDataName(i);let n=t&&t.getDataSources(new Ee([i]));if(null==n||!n.any())return null;let a=n.first();return a.fetchColumns().firstOrDefault(t=>ln.isDataEqual(a,t.getName(),i))}static isDateDataColumnInExpression(t,e){let r=this.getDataColumnFromExpression(t,e);return null!=r&&null!=r.getDataType()&&Wr.isDateType(r.getDataType())}static isNumericDataColumnInExpression(t,e){let r=this.getDataColumnFromExpression(t,e);return null!=r&&null!=r.getDataType()&&Wr.isNumericType(r.getDataType())}},Ae.C.StiDataFilterComparer=class{constructor(t){this.convertStrings=t}compare(t,e){if(null==t&&null==e)return 0;if(null==t)return 1;if(null==e)return-1;if("number"==typeof t&&"number"==typeof e)return t.stimulsoft().compareTo(e);if("string"==typeof t&&"string"==typeof e)return t<e?-1:e<t?1:0;if(t instanceof z&&e instanceof z)return-t.compareTo(e);if("string"==typeof t&&"number"==typeof e)return this.convertStrings?Qt.toNumber(t).stimulsoft().compareTo(e):-1;if("string"==typeof e&&"number"==typeof t)return this.convertStrings?t.stimulsoft().compareTo(Qt.toNumber(e)):1;return 0}},Ae.C.StiDataFilterHelper=class{static convertStringToCondition(t){if(t==nn.get("PropertyEnum","StiFilterConditionEqualTo"))return Ae.C.StiDataFilterCondition.EqualTo;if(t==nn.get("PropertyEnum","StiFilterConditionNotEqualTo"))return Ae.C.StiDataFilterCondition.NotEqualTo;if(t==nn.get("PropertyEnum","StiFilterConditionBetween"))return Ae.C.StiDataFilterCondition.Between;if(t==nn.get("PropertyEnum","StiFilterConditionNotBetween"))return Ae.C.StiDataFilterCondition.NotBetween;if(t==nn.get("PropertyEnum","StiFilterConditionGreaterThan"))return Ae.C.StiDataFilterCondition.GreaterThan;if(t==nn.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return Ae.C.StiDataFilterCondition.GreaterThanOrEqualTo;if(t==nn.get("PropertyEnum","StiFilterConditionLessThan"))return Ae.C.StiDataFilterCondition.LessThan;if(t==nn.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return Ae.C.StiDataFilterCondition.LessThanOrEqualTo;if(t==nn.get("PropertyEnum","StiFilterConditionContaining"))return Ae.C.StiDataFilterCondition.Containing;if(t==nn.get("PropertyEnum","StiFilterConditionNotContaining"))return Ae.C.StiDataFilterCondition.NotContaining;if(t==nn.get("PropertyEnum","StiFilterConditionBeginningWith"))return Ae.C.StiDataFilterCondition.BeginningWith;if(t==nn.get("PropertyEnum","StiFilterConditionEndingWith"))return Ae.C.StiDataFilterCondition.EndingWith;if(t==nn.get("PropertyEnum","StiFilterConditionIsNull"))return Ae.C.StiDataFilterCondition.IsNull;if(t==nn.get("PropertyEnum","StiFilterConditionIsNotNull"))return Ae.C.StiDataFilterCondition.IsNotNull;if(t==nn.get("PropertyEnum","StiFilterConditionIsBlank"))return Ae.C.StiDataFilterCondition.IsBlank;if(t==nn.get("PropertyEnum","StiFilterConditionIsNotBlank"))return Ae.C.StiDataFilterCondition.IsNotBlank;return Ae.C.StiDataFilterCondition.EqualTo}static convertConditionToString(t){switch(t){case Ae.C.StiDataFilterCondition.EqualTo:return nn.get("PropertyEnum","StiFilterConditionEqualTo");case Ae.C.StiDataFilterCondition.NotEqualTo:return nn.get("PropertyEnum","StiFilterConditionNotEqualTo");case Ae.C.StiDataFilterCondition.Between:return nn.get("PropertyEnum","StiFilterConditionBetween");case Ae.C.StiDataFilterCondition.NotBetween:return nn.get("PropertyEnum","StiFilterConditionNotBetween");case Ae.C.StiDataFilterCondition.GreaterThan:return nn.get("PropertyEnum","StiFilterConditionGreaterThan");case Ae.C.StiDataFilterCondition.GreaterThanOrEqualTo:return nn.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case Ae.C.StiDataFilterCondition.LessThan:return nn.get("PropertyEnum","StiFilterConditionLessThan");case Ae.C.StiDataFilterCondition.LessThanOrEqualTo:return nn.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case Ae.C.StiDataFilterCondition.Containing:return nn.get("PropertyEnum","StiFilterConditionContaining");case Ae.C.StiDataFilterCondition.NotContaining:return nn.get("PropertyEnum","StiFilterConditionNotContaining");case Ae.C.StiDataFilterCondition.BeginningWith:return nn.get("PropertyEnum","StiFilterConditionBeginningWith");case Ae.C.StiDataFilterCondition.EndingWith:return nn.get("PropertyEnum","StiFilterConditionEndingWith");case Ae.C.StiDataFilterCondition.IsNull:return nn.get("PropertyEnum","StiFilterConditionIsNull");case Ae.C.StiDataFilterCondition.IsNotNull:return nn.get("PropertyEnum","StiFilterConditionIsNotNull");case Ae.C.StiDataFilterCondition.IsBlank:return nn.get("PropertyEnum","StiFilterConditionIsBlank");case Ae.C.StiDataFilterCondition.IsNotBlank:return nn.get("PropertyEnum","StiFilterConditionIsNotBlank")}return""}};{let r=class extends Ae.C.StiDataRule{constructor(t,e,r,i=null,n=null,a=!0,s=!1,o,l){super(),this.condition=Ae.C.StiDataFilterCondition.EqualTo,this.operation=Ae.C.StiDataFilterOperation.AND,this.isEnabled=!0,this.isExpression=!1,null==r&&(r=Ae.C.StiDataFilterCondition.EqualTo),null==l&&(l=Ae.C.StiDataFilterOperation.AND),this.key=t,this.path=e,this.path2=o,this.condition=r,this.value=i,this.value2=n,this.isEnabled=a,this.isExpression=s}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Key"),new Ui("Path"),new Ui("Path2"),new Gi("Condition","",Ae.C.StiDataFilterCondition,Ae.C.StiDataFilterCondition.EqualTo),new Gi("Operation","",Ae.C.StiDataFilterOperation,Ae.C.StiDataFilterOperation.AND),new Ui("Value"),new Ui("Value2"),new Wi("IsEnabled","",!0),new Wi("IsExpression")])}static loadFromJson(t){let e=new r;return e.loadFromJsonObject(t),e}static loadFromXml(t){let e=new r;return e.loadFromXml(t),e}toString(){return`${this.path} ${this.condition} ${this.value}`}getUniqueCode(){var t=null!=this.key?this.key.stimulsoft().getHashCode():0,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.path?this.path.stimulsoft().getHashCode():0))^(null!=this.path2?this.path2.stimulsoft().getHashCode():0))^this.condition.stimulsoft().getHashCode())^(null!=this.value?this.value.stimulsoft().getHashCode():0))^(null!=this.value2?this.value2.stimulsoft().getHashCode():0))^this.isEnabled.stimulsoft().getHashCode())^this.isExpression.stimulsoft().getHashCode(),Math.abs(t)}toList(){return new Ee([this])}getStringRepresentation(){let t=this.path,e=this.path2,r=this.getValue(this.value),i=this.getValue(this.value2);switch(De.isNullOrWhiteSpace(t)&&(t=`[${nn.get("PropertyMain","Field")}]`),De.isNullOrWhiteSpace(e)&&(e=`[${nn.get("PropertyMain","Field")}]`),De.isNullOrWhiteSpace(r)&&(r=`[${nn.get("PropertyMain","Value")}]`),De.isNullOrWhiteSpace(i)&&(i=`[${nn.get("PropertyMain","Value")}]`),this.condition){case Ae.C.StiDataFilterCondition.IsBlank:return`${t} ${nn.get("PropertyEnum","StiFilterConditionIsBlank")} ${r}`;case Ae.C.StiDataFilterCondition.IsNotBlank:return`${t} ${nn.get("PropertyEnum","StiFilterConditionIsNotBlank")} ${r}`;case Ae.C.StiDataFilterCondition.IsNull:return`${t} ${nn.get("PropertyEnum","StiFilterConditionIsNull")} ${r}`;case Ae.C.StiDataFilterCondition.IsNotNull:return`${t} ${nn.get("PropertyEnum","StiFilterConditionIsNotNull")} ${r}`;case Ae.C.StiDataFilterCondition.Containing:return`${t} ${nn.get("PropertyEnum","StiFilterConditionContaining")} ${r}`;case Ae.C.StiDataFilterCondition.NotContaining:return`${t} ${nn.get("PropertyEnum","StiFilterConditionNotContaining")} ${r}`;case Ae.C.StiDataFilterCondition.PairEqualTo:return`${t} = ${r} AND ${e} = ${i}`;case Ae.C.StiDataFilterCondition.EqualTo:return`${t} = ${r}`;case Ae.C.StiDataFilterCondition.NotEqualTo:return`${t} <> ${r}`;case Ae.C.StiDataFilterCondition.GreaterThan:return`${t} > ${r}`;case Ae.C.StiDataFilterCondition.GreaterThanOrEqualTo:return`${t} >= ${r}`;case Ae.C.StiDataFilterCondition.LessThan:return`${t} < ${r}`;case Ae.C.StiDataFilterCondition.LessThanOrEqualTo:return`${t} <= ${r}`;case Ae.C.StiDataFilterCondition.BeginningWith:return`${t} ${nn.get("PropertyEnum","StiFilterConditionBeginningWith")} ${r}`;case Ae.C.StiDataFilterCondition.EndingWith:return`${t} ${nn.get("PropertyEnum","StiFilterConditionEndingWith")} ${r}`;case Ae.C.StiDataFilterCondition.Between:return`${t} ${nn.get("PropertyEnum","StiFilterConditionBetween")} ${r} ${nn.get("PropertyEnum","StiFilterModeAnd").toLowerCase()} ${i}`;case Ae.C.StiDataFilterCondition.NotBetween:return`${t} ${nn.get("PropertyEnum","StiFilterConditionNotBetween")} ${r} ${nn.get("PropertyEnum","StiFilterModeAnd").toLowerCase()} ${i}`;default:return""}}getValue(t){t=t||"";let e=z.fromString2("MM/dd/yyyy",t,!1);if(null!=e)return`'${e.toShortDateString()}'`;var r=oe.tryParse(t);if(r.successfully)return`${r.result}`;if(null!=t&&("true"==t.toLowerCase()||"false"==t.toLowerCase()))return t;return`'${t}'`}};Ae.C.StiDataFilterRule=r}Ae.F.StiTypeNotRecognizedException=class extends Ae.F.StiDataException{constructor(t){super(`'${t}' Is Not Recognized!`)}};let fn=Ae.F.StiTypeNotRecognizedException;{let h=class{static toList(...t){return t.stimulsoft().toList()}static validate(t,e){return t.where(t=>_i.isKey(t.key)&&e.contains(t.key)).toList()}static getDataTableFilterQuery(t,e,r){return h.getDataTableFilterQuery2(t,e.select(t=>t.getName()).toList(),e.select(t=>t.getDataType()).toList(),r)}static getTableFiltersGroupsType(e){if(null!=e&&1<e.length){let t=e.where(t=>!De.isNullOrWhiteSpace(t.path)).groupBy(h.getFullPath);if(1<t.length)return t.any(t=>1<t.length)?Ae.C.StiTableFiltersGroupsType.Complex:Ae.C.StiTableFiltersGroupsType.Simple}return Ae.C.StiTableFiltersGroupsType.None}static getDataTableFilterQuery2(r,i,n,a){if(null==r)return"";let s="",o=(r=r.any(t=>t.condition==Ae.C.StiDataFilterCondition.IsFalse)?r.firstOrDefault(t=>t.condition==Ae.C.StiDataFilterCondition.IsFalse).toList():r).where(t=>t.isEnabled&&!De.isNullOrWhiteSpace(t.path)).orderBy(e=>null!=i?i.findIndex2(t=>t==e.path):null).groupBy(h.getFullPath);var l=o.length<2||r.any(t=>t.operation==Ae.C.StiDataFilterOperation.AND)?" AND ":" OR ";for(let e of o){let t=r.where(t=>t.isEnabled&&this.getFullPath(t)==e.key);var u=this.getFilterGroupQuery(t,i,n,a);0<u.length&&(0<s.length&&(s+=l),1<t.count2()&&1<o.count2()&&(s+="("),s=s+=u,1<t.count2()&&1<o.count2()&&(s+=")"))}return s}static getFullPath(t){return null==t.elementKey?t.path:t.path+t.elementKey}static getFilterGroupQuery(t,i,n,a){let s="",e=t.where(t=>this.getFilterOperation(t)==Ae.C.StiDataFilterOperation.OR),o=t.where(t=>this.getFilterOperation(t)==Ae.C.StiDataFilterOperation.AND),l=!1;for(var u of e.concat(o)){var h=null!=i?this.getColumnIndex(i,u):0;let t=h;u.condition==Ae.C.StiDataFilterCondition.PairEqualTo&&(t=null!=i?this.getColumnIndex2(i,u):0);var c=this.getFilterOperation(u);0<s.length?(l&&c==Ae.C.StiDataFilterOperation.AND&&(l=!1,s+=")"),s+=` ${Zt.getName(Ae.C.StiDataFilterOperation,c)} `):c==Ae.C.StiDataFilterOperation.OR&&o.any()&&(l=!0,s+="(");var d=null!=i&&-1!=h?i[h]:u.path,m=null!=n&&-1!=h?n[h]:Object;let e=d,r=m;u.condition==Ae.C.StiDataFilterCondition.PairEqualTo&&(e=null!=i&&-1!=t?i[t]:u.path2,r=null!=n&&-1!=t?n[t]:Object);var c=u.isExpression?Oi.parseReportExpression(a,u.value,!1):this.getValue(m,u.value),h=u.isExpression?Oi.parseReportExpression(a,u.value2,!1):this.getValue(m,u.value2),m=this.getCondition(d,e,u.condition,c,h,m,r);s=s+=m}return l&&(s+=")"),s}static getValue(t,e){if(t==String)return e;if(t!=Number)return null==e?"":e;this.currentCulture=xt.currentCulture;try{if(xt.currentCulture=xt.cultures["en-US"],t==Number){let t=zi.tryToNumber(e);if(null!=t)return t.toString()}return e}finally{xt.currentCulture=this.currentCulture}}static getColumnIndex(t,e){let r=e.path,i=t.indexOf(r);if(-1!=i)return i;if(t=t.select(t=>t.stimulsoft().replaceAll(" ","")),i=t.indexOf(r),-1!=i)return i;return r.stimulsoft().startsWith("[")&&(r=r.substring(1)),r.stimulsoft().endsWith("]")&&(r=r.substring(0,r.length-1)),t.indexOf(r)}static getColumnIndex2(t,e){let r=e.path2;if(De.isNullOrEmpty(r))return 0;let i=t.indexOf(r);if(-1!=i)return i;if(t=t.select(t=>t.stimulsoft().replaceAll(" ","")),i=t.indexOf(r),-1!=i)return i;return r.stimulsoft().startsWith("[")&&(r=r.substring(1)),r.stimulsoft().endsWith("]")&&(r=r.substring(0,r.length-1)),t.indexOf(r)}static getCondition(t,e,r,i,n,a,s){var o=Ae.C.StiDataColumnRuleHelper.getGoodColumnName(t),l=Wr.isDateType(a);switch(r){case Ae.C.StiDataFilterCondition.EqualTo:return i=this.getQueryValue(i,a,!0),l?`(${o} >= ${i} 00:00:00 AND ${o} <= ${i} 23:59:59)`:`${o} = ${i}`;case Ae.C.StiDataFilterCondition.NotEqualTo:return i=this.getQueryValue(i,a,!0),l?`(${o} < ${i} 00:00:00 OR ${o} > ${i} 23:59:59)`:`${o} <> ${i}`;case Ae.C.StiDataFilterCondition.GreaterThan:return i=this.getQueryValue(i,a,!0),l?`${o} > ${i} 23:59:59`:`${o} > ${i}`;case Ae.C.StiDataFilterCondition.GreaterThanOrEqualTo:return i=this.getQueryValue(i,a,!0),l?`${o} >= ${i} 00:00:00`:`${o} >= ${i}`;case Ae.C.StiDataFilterCondition.LessThan:return i=this.getQueryValue(i,a,!0),l?`${o} < ${i} 00:00:00`:`${o} < ${i}`;case Ae.C.StiDataFilterCondition.LessThanOrEqualTo:return i=this.getQueryValue(i,a,!0),l?`${o} <= ${i} 23:59:59`:`${o} <= ${i}`;case Ae.C.StiDataFilterCondition.Between:return i=this.getQueryValue(i,a,!0),n=this.getQueryValue(n,a,!0),l?`(${o} >= ${i} 00:00:00 AND ${o} <= ${n} 23:59:59)`:`(${o} >= ${i} AND ${o} <= ${n})`;case Ae.C.StiDataFilterCondition.NotBetween:return i=this.getQueryValue(i,a,!0),n=this.getQueryValue(n,a,!0),l?`(${o} < ${i} 00:00:00 OR ${o} > ${n} 23:59:59)`:`(${o} < ${i} OR ${o} > ${n})`;case Ae.C.StiDataFilterCondition.Containing:return`${o} LIKE '*${i=this.getQueryValue(i,a,!1)}*'`;case Ae.C.StiDataFilterCondition.NotContaining:return`NOT (${o} LIKE '*${i=this.getQueryValue(i,a,!1)}*')`;case Ae.C.StiDataFilterCondition.BeginningWith:return`${o} LIKE '${i=this.getQueryValue(i,a,!1)}*'`;case Ae.C.StiDataFilterCondition.EndingWith:return`${o} LIKE '*${i=this.getQueryValue(i,a,!1)}'`;case Ae.C.StiDataFilterCondition.IsNull:return`${o} IS NULL`;case Ae.C.StiDataFilterCondition.IsNotNull:return`${o} IS NOT NULL`;case Ae.C.StiDataFilterCondition.IsBlank:return`TRIM(${o}) = ''`;case Ae.C.StiDataFilterCondition.IsNotBlank:return`TRIM(${o}) <> ''`;case Ae.C.StiDataFilterCondition.IsBlankOrNull:return`(TRIM(${o}) = '' OR ${o} IS NULL)`;case Ae.C.StiDataFilterCondition.IsFalse:return`FALSE`;case Ae.C.StiDataFilterCondition.PairEqualTo:var u=Ae.C.StiDataColumnRuleHelper.getGoodColumnName(e),h=null==i?"IS":"=",c=null==n?"IS":"=";i=null!=i||Wr.isDateType(a)?this.getQueryValue(i,a,!0):"NULL",n=null!=n||Wr.isDateType(s)?this.getQueryValue(n,s,!0):"NULL";var h=Wr.isDateType(a)?`${o} >= ${i} 00:00:00 AND ${o} <= ${i} 23:59:59 AND `:`${o} ${h} ${i} AND `;return Wr.isDateType(s)?h+`${u} >= ${n} 00:00:00 AND ${u} <= ${n} 23:59:59#`:h+`${u} ${c} ${n}`;case Ae.C.StiDataFilterCondition.MapEqualTo:return`${o} = ${i=this.getQueryValue(i,a,!0)}`;default:throw new fn(r).message}}static getQueryValue(r,t,e){if(null==r&&(r=""),null==t)return r;if(Wr.isNumericType(t)){if(De.isNullOrEmpty(r))return"0";if(!oe.tryParse(r).successfully)return"0";return r}if(t==Boolean)return(null!=r&&"true"==r.toLowerCase()).toString();if(Wr.isDateType(t)){let t,e=z.tryParseExact(r,["MM/DD/YYYY"]);return t=e.successfully?e.result:(e=z.tryParseExact(r,["MM/DD/YYYY H:mm:ss a"]),e.successfully?e.result:new z(1800,1,1,0,0,0,0)),t.toString("MM/dd/yyyy")}if(De.isNullOrEmpty(r)||(r=r.stimulsoft().replaceAll("'","''")),e)return`'${r}'`;return r}static getFilterOperation(t){return t.condition==Ae.C.StiDataFilterCondition.EqualTo||t.condition==Ae.C.StiDataFilterCondition.BeginningWith||t.condition==Ae.C.StiDataFilterCondition.EndingWith||t.condition==Ae.C.StiDataFilterCondition.Between||t.condition==Ae.C.StiDataFilterCondition.Containing||t.condition==Ae.C.StiDataFilterCondition.GreaterThan||t.condition==Ae.C.StiDataFilterCondition.GreaterThanOrEqualTo||t.condition==Ae.C.StiDataFilterCondition.LessThan||t.condition==Ae.C.StiDataFilterCondition.LessThanOrEqualTo||t.condition==Ae.C.StiDataFilterCondition.IsNull||t.condition==Ae.C.StiDataFilterCondition.IsBlank||t.condition==Ae.C.StiDataFilterCondition.IsBlankOrNull||t.condition==Ae.C.StiDataFilterCondition.PairEqualTo?Ae.C.StiDataFilterOperation.OR:Ae.C.StiDataFilterOperation.AND}static getFilterRulesHash(t,e){if(null==e||!e.any())return 0;let r=null!=t?t.getDictionary().fetchVariables():null;if(null==r||!r.any())return 0;return e.select(t=>this.getFilterRulesHash2(r,t)).aggregate2(0,(t,e)=>t+e)}static getFilterRulesHash2(t,e){if(!e.isExpression)return 0;switch(e.condition){case Ae.C.StiDataFilterCondition.Between:case Ae.C.StiDataFilterCondition.NotBetween:return this.getFilterRuleHash3(t,e.value)+this.getFilterRuleHash3(t,e.value2);default:return this.getFilterRuleHash3(t,e.value)}}static getFilterRuleHash3(t,e){if(De.isNullOrWhiteSpace(e))return 0;e=e.toLowerCase();let r=0;for(var i of t)if(e.stimulsoft().contains(i.getName().toLowerCase())){let t=i.getValue().toString();var i=null!=t?t.stimulsoft().getHashCode():0;r+=i}return r}};Ae.C.StiDataFilterRuleHelper=h}let Sn=Ae.bk.DataRow,bn=Ae.C.StiDataFilterRuleHelper;{let a=class{static filter(e,t,r,i){if(null==t||!t.any())return e;var n=e.toList().cast().select(t=>t.columnName),a=e.toList().cast().select(t=>t.dataType);let s=t.where(t=>t.condition==Ae.C.StiDataFilterCondition.MapEqualTo);t=t.where(t=>t.condition!=Ae.C.StiDataFilterCondition.MapEqualTo);var n=bn.getDataTableFilterQuery2(t,n,a,r);if(De.isNullOrWhiteSpace(n)&&!s.any())return e;let o=this.getFromCache(e,r,i);if(o==Hi.nullTable)return null;if(null!=o)return o;if(!De.isNullOrWhiteSpace(n)){var a=e.defaultView.rowFilter;try{e.defaultView.rowFilter=n}catch(t){e.defaultView.rowFilter=a}}return e.defaultView.rowFilter=n,o=e.defaultView.toTable(),s.any()&&(o=this.filterMapIdents(s,o)),this.addToCache(e,r,i,o),o}static filter2(t,e,r,i){if(null==e||!e.any())return t;let n=Vi.toNetTable(t);var a=n.toList().cast().select(t=>t.columnName),s=n.toList().cast().select(t=>t.dataType),s=bn.getDataTableFilterQuery2(e,a,s,r);if(De.isNullOrWhiteSpace(s))return t;let o=this.getFromCache2(t,r,i);if(o==Ae.C.StiDataTable.nullTable)return null;if(null!=o)return o;n.defaultView.rowFilter=s;var s=n.defaultView.toTable().rows.toList().select(t=>t.itemArray);return o=new Ae.C.StiDataTable(t.meters,s),this.addToCache2(t,r,i,o),o}static filterMapIdents(t,e){let r=e.defaultView.toTable().rows.toList(),i=new Ee;for(var n of t)i.add({field:n.path,idents:ln.getMapIdents(a.simplify(n.value)).select(t=>a.simplify(t)).distinct().toList()});return r=r.where(r=>i.any(e=>e.idents.any(t=>t==a.simplify(r.getValue(r.getDataColumn(e.field)))))),r.any()?e=Sn.copyToDataTable(r):e.rows.clear(),e}static simplify(t){var t,t;return null===(t=null===(t=null==t?void 0:t.toLowerCase())||void 0===t?void 0:t.stimulsoft().replaceAll(" ",""))||void 0===t?void 0:t.stimulsoft().replaceAll("-","")}static cleanCache(e){null==e?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.netCache.remove(t)),this.meterCache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>a.meterCache.remove(t)))}static getCacheKey(t,e,r){var i,n;return e.setKey(_i.getOrGeneratedKey(e.getKey())),`${e.getKey()||""}.${t.toList().cast().select(t=>t.stimulsoft().getHashCode()).aggregate2(0,(t,e)=>t+e)+r}`}static getCacheKey2(t,e,r){var i,n;return e.setKey(_i.getOrGeneratedKey(e.getKey())),`${e.getKey()||""}.${t.meters.select(t=>t.getUniqueCode()).aggregate2(0,(t,e)=>t+e)+r}`}static getFromCache(t,e,r){var r=this.getCacheKey(t,e,r);return this.netCache.contains(r)?a.netCache.get(r):null}static getFromCache2(t,e,r){var r=this.getCacheKey2(t,e,r);return this.meterCache.contains(r)?a.meterCache.get(r):null}static addToCache(t,e,r,i){var r=this.getCacheKey(t,e,r);null==i&&(i=Hi.nullTable),this.netCache.set(r,i)}static addToCache2(t,e,r,i){var r=this.getCacheKey2(t,e,r);null==i&&(i=Ae.C.StiDataTable.nullTable),this.meterCache.set(r,i)}};a.lockObject={},a.meterCache=new Ri,a.netCache=new Ri,Ae.C.StiDataFiltrator=a}let yn=Ae.B.StiArrayEqualityComparer,vn=Ae.B.StiArrayComparer;Ae.C.StiDataGrouper=class{static group(t,e,r){let i=new pn(t,e,r),n=r.toList();r.any(t=>t.is(Ae.C.IStiSkipNormalizeDate))&&(n=null);var a=e.rows.toList().select(t=>t.itemArray).groupBy(t=>i.calculate(t,n),new yn).orderBy(t=>t.key,new vn),a=new mn(t,e,r,a).calculate();return new Ae.C.StiDataTable(r,a)}};var ot=class{static join(t,r,i,e){if(t.count2()<2)return t.firstOrDefault();let n=this.getFromCache(t,e);if(n==Hi.nullTable)return null;if(null!=n)return n;let a=t,s=a.first();a=a.skip(1);let o=new Dt,l=new Ee;n=s.copy(),this.copyColumns(s,n);let u=new Ee([s]),h=0;while(0<a.length){let e=a[0];if(null==e)continue;var c=u.firstOrDefault(t=>null!=this.findLink(e,t,r)),d=this.findLink(c,e,r);if((this.joinEngine==Ae.C.StiDataJoinEngine.V2||this.joinEngine==Ae.C.StiDataJoinEngine.V3||this.joinEngine==Ae.C.StiDataJoinEngine.V4)&&null==d&&2<a.length&&h<a.length){a.splice(0,1),a.push(e),h++;continue}if(null==c||null==d){a.splice(0,1),null==o.get(e)?a.push(e):l.add(e),o.set(e,e);continue}this.copyColumns(e,n);var c=0==n.rows.length?c:n;let t=new Ae.C.StiDataRowJoiner(n,c,e).join(Ae.C.StiDataJoinType.Left,d,i);n=t.any()?Sn.copyToDataTable(t):new ze,a.splice(0,1),u.add(e)}for(var m of l)n=this.mergeInSequence(n,m);return this.addToCache(t,n,e),n}static copyColumns(t,e){if(null==t||null==e)return;for(var r of t.columns.list)e.columns.contains(r.columnName)||e.columns.add(new it(r.columnName,r.dataType))}static mergeInSequence(i,n){let t=new ze;this.copyColumns(i,t),this.copyColumns(n,t);for(let r=0;r<i.rows.length;r++){let e=t.newRow();if(r<i.rows.length)for(let t=0;t<i.columns.length;t++)try{e.sett(t,i.rows.gett(r,t))}catch(t){}t.rows.add(e)}for(let r=0;r<n.rows.length;r++){let e=t.newRow();if(r<n.rows.length)for(let t=0;t<n.columns.length;t++)try{e.sett(i.columns.length+t,n.rows.gett(r,t))}catch(t){}t.rows.add(e)}return t}static findLink(e,r,t){if(null==e||null==r)return null;let i=t.where(t=>t.parentTable==e.tableName&&t.childTable==r.tableName||t.parentTable==r.tableName&&t.childTable==e.tableName);if(i.any(t=>t.active))return i.first(t=>t.active);if(i.any())return i.firstOrDefault();return i=t.where(t=>t.parentTable==e.tableName&&t.childTable==r.tableName||t.parentTable==r.tableName&&t.childTable==e.tableName),i.any(t=>t.active)?i.first(t=>t.active):i.any()?i.firstOrDefault():null}static getCacheKey(t,e){e.setKey(_i.getOrGeneratedKey(e.getKey()));var e=e.getKey()||"",r;if(null==t||0==t.count2(t=>null!=t))return`${e}.0`;return`${e}.${t.where(t=>null!=t).selectMany(t=>t.columns.toList()).select(t=>t.stimulsoft().getHashCode()).aggregate2(0,(t,e)=>t+e)}`}static getFromCache(t,e){var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null}static addToCache(t,e,r){var r=this.getCacheKey(t,r);null==e&&(e=Hi.nullTable),this.cache.set(r,e)}static cleanCache(e){null==e?this.cache.clear():this.cache.keys.where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t))}};ot.cache=new Ri,ot.joinEngine=Ae.C.StiDataJoinEngine.V4,Ae.C.StiDataJoiner=ot;{let r=class{constructor(t,e,r,i,n,a){this.parentTable=t,this.childTable=e,this.parentColumn=r,this.childColumn=i,this.active=n,this.key=a}meta(){return this._hash||(this._hash=[new Ui("Key")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get parentKey(){if(De.isNullOrEmpty(this.parentTable)||De.isNullOrEmpty(this.parentColumn))return null;return`${this.parentTable}.${this.parentColumn}`}get childKey(){if(De.isNullOrEmpty(this.childTable)||De.isNullOrEmpty(this.childColumn))return null;return`${this.childTable}.${this.childColumn}`}static loadFromJson(t){let e=new r;return e.loadFromJsonObject(t),e}static loadFromXml(t){let e=new r;return e.loadFromXml(t),e}toString(){return`${this.nullStr(this.parentTable)}->${this.nullStr(this.childTable)} : ${this.nullStr(this.parentColumn)}->${this.nullStr(this.childColumn)}`}nullStr(t){return t||""}};Ae.C.StiDataLink=r}Ae.C.StiDataLinkHelper=class{static getLinks(t){return t.fetchDataRelations().select(t=>new Ae.C.StiDataLink(t.getParentDataSource().getName(),t.getChildDataSource().getName(),t.fetchParentColumns().firstOrDefault(),t.fetchChildColumns().firstOrDefault(),t.getActiveState(),t.getKey()))}};let wn=Ae.d.StiBIDataCacheOptions,Cn=Ae.d.IStiAppCalcDataColumn,Tn=Ae.d.StiAppKey;{let m=class{static fetch(l,u,h=Ae.C.StiDataRequestOption.All,c=null,d=null){return Y.tsfb(this,void 0,void 0,function*(){if(null==l)return null;let t=l.retrieveUsedDataNames(u);null!=c&&(t=t.union(c));let e=l.getDataSources(t);if(null==e||!e.any())return null;e=Ae.C.StiDataJoiner.joinEngine==Ae.C.StiDataJoinEngine.V1?e:e.orderBy(t=>this.getRelationLevel(t,d)),e=Ae.C.StiDataSourceChainFinder.find(e);var r=e.select(t=>t.getConnection()).where(t=>null!=t),i;if(e.all(m.existsInCache))return e.select(m.getFromCache);let n=l.getDictionary();0<(h&Ae.C.StiDataRequestOption.AllowOpenConnections)&&n.openConnections(r);let a=new Ee;for(i of e){var s=yield this.getDataTable2(h,i),o={ref:s};this.addToCache(i,o),null!=(s=o.ref)&&(a.add(s),this.addTableNameToColumnNames(s,i))}return a})}static getRelationLevel(e,t){var r;if(!t.any(t=>t.parentTable==e.getName()||t.childTable==e.getName()))return 100;let i=new Dt,n=0,a=e.getName();while(1){if(null!=i.get(a))break;if(i.set(a,a),a=null===(r=t.firstOrDefault(t=>t.childTable==a))||void 0===r?void 0:r.parentTable,null==a)break;if(n++,100<n)return 100}return n}static retrieveUsedDataSources(t,e,r){if(null==t)return null;let i=t.retrieveUsedDataNames(e);null!=r&&(i=i.union(r));let n=t.getDataSources(i);if(null==n||!n.any())return null;return Ae.C.StiDataSourceChainFinder.find(n)}static fetch2(e,r,i=Ae.C.StiDataRequestOption.All){return Y.tsfb(this,void 0,void 0,function*(){var t=e.getDictionary().getDataSourceByName(r);return yield this.fetch3(e,t,i)})}static fetch3(t,n,a=Ae.C.StiDataRequestOption.All){return Y.tsfb(this,void 0,void 0,function*(){let e=t.getDictionary();if(this.existsInCache(n))return this.getFromCache(n);var r=n.getConnection();e.openConnections(new Ee([r]));try{let t=yield this.getDataTable2(a,n);try{var i={ref:t};return this.addToCache(n,i),t=i.ref,this.addTableNameToColumnNames(t,n),e.closeConnections(new Ee([r])),t}finally{e.closeConnections(new Ee([r]))}}catch(t){e.closeConnections(new Ee([r]))}return null})}static isAllBICached(t,e,r=Ae.C.StiDataRequestOption.All){if(!wn.enabled)return!1;if(null==t)return!1;var e=t.retrieveUsedDataNames(e);let i=t.getDataSources(e);if(null==i||!i.any())return!1;return i=Ae.C.StiDataSourceChainFinder.find(i),i.all(t=>wn.cache.exists(t))}static getDataTable(i,n,a=Ae.C.StiDataRequestOption.All){return Y.tsfb(this,void 0,void 0,function*(){let t=i.getDictionary();var e=n.getConnection();t.openConnections(new Ee([e]));var r=yield this.getDataTable2(a,n);return t.closeConnections(new Ee([e])),r})}static getDataTable2(e,r){return Y.tsfb(this,void 0,void 0,function*(){let t=yield r.getDataTable2(0<(e&Ae.C.StiDataRequestOption.AllowOpenConnections));return null!=t&&(t=t.copy(),t.tableName=r.getName()),this.processCalculatedColumns(t,r)})}static processCalculatedColumns(r,t){let i=t.fetchColumns().where(t=>t.is(Cn));if(!i.any())return r;i.forEach(t=>r.columns.add(new it(t.getName(),t.getDataType())));var e=i.select(t=>t.getName());let n=t.fetchColumnValues(e);if(!n.any())return r;try{var a=i.select(t=>r.columns.getIndexByName(t.getName())),s;let e=0;for(s of r.rows.list){try{var o=e>=n.length?n[n.length-1]:n[e],l;let t=0;for(l of a)s.sett(l,o[t++])}catch(t){}e++}}finally{}return r}static addTableNameToColumnNames(t,e){let r=e.fetchColumns();var i=`${t.tableName}.`;for(let e of t.columns.list){if(e.columnName.stimulsoft().startsWith(i))continue;let t=r.firstOrDefault(t=>t.getNameInSource()==e.columnName);e.columnName=(null===t||void 0===t?void 0:t.getName())!=(null===t||void 0===t?void 0:t.getNameInSource())?`${i}${t.getName()}`:`${i}${e.columnName}`}}static getFromCache(t){var t=m.getCacheKey(t);return m.cache.contains(t)?m.cache.get(t):null}static existsInCache(t){var t=m.getCacheKey(t);return m.cache.contains(t)}static addToCache(t,e){null==e.ref&&(e.ref=Hi.nullTable);var t=m.getCacheKey(t);m.cache.set(t,e.ref)}static getCacheKey(t){var e=Tn.getOrGeneratedKey4(t);let r=t.getConnection();var t=t.getNameInSource()==t.getName()?t.getName():`${t.getNameInSource()}.${t.getName()}`;return null==r?`${e}.${t}`:`${e}.${r.getName()}.${t}`}static cleanCache(e){null==e?m.cache.clear():m.cache.keys.where(t=>t.stimulsoft().startsWith(e)).forEach(t=>m.cache.remove(t))}};m.lockObject={},m.cache=new Ri,Ae.C.StiDataPicker=m}Ae.C.StiDataRowJoiner=class{constructor(t,e,r){this.resultColumnIndexes={},this.column1Indexes={},this.column2Indexes={},this.resultTable=t,this.table1=e,this.table2=r;for(var i of t.columns.list)this.resultColumnIndexes[i.columnName]=t.columns.getIndexByName(i.columnName);for(var n of e.columns.list)this.column1Indexes[n.columnName]=e.columns.getIndexByName(n.columnName);for(var a of r.columns.list)this.column2Indexes[a.columnName]=r.columns.getIndexByName(a.columnName)}join(t,e,r){switch(t){case Ae.C.StiDataJoinType.Inner:return this.innerJoinRows(e);case Ae.C.StiDataJoinType.Left:return this.leftJoinRows(e,r);case Ae.C.StiDataJoinType.Cross:return this.crossJoinRows();case Ae.C.StiDataJoinType.Full:return this.fullJoinRows(e);default:throw new Ue("NotSupportedException")}}leftJoinRows(t,e){if(Ae.C.StiDataJoiner.joinEngine==Ae.C.StiDataJoinEngine.V1||Ae.C.StiDataJoiner.joinEngine==Ae.C.StiDataJoinEngine.V4)return this.leftJoinRowsV1(t);if(null==e||!e.where(t=>t.is(hn)).any())return this.leftJoinRowsV1(t);return this.leftJoinRowsV2V3(t,e)}innerJoinRows(t){let e=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList();var t=this.table2.rows.toList();return i.join2(t,t=>this.stimulsoft().getHashCode(t,e),t=>this.stimulsoft().getHashCode(t,r),this.splitRows,this)}leftJoinRowsV1(t){let e=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList();var t=this.table2.rows.toList();return i.groupJoin(t,t=>this.getHashCode(t,e),t=>this.getHashCode(t,r),(t,e)=>({key:t,rows:e}),this).selectMany2(t=>t.rows.defaultIfEmpty(),(t,e)=>this.splitRows(t.key,e),this)}leftJoinRowsV2V3(t,e){let r=this.getFieldIndex(this.table1,t),i=this.getFieldIndex(this.table2,t),n=this.table1.rows.toList();var t=this.table2.rows.toList(),t=n.groupJoin(t,t=>this.getHashCode(t,r),t=>this.getHashCode(t,i),(t,e)=>({key:t,rows:e}),this),a;let s=this.calculateIndexes(e),o=new Ee;for(a of t){let t=!0;for(var l of a.rows.defaultIfEmpty()){if(t)o.add(this.splitRows(a.key,l));else{var u=a.key.itemArray;let e=ke.create(Object,u.length);for(let t=0;t<u.length;t++)Ae.C.StiDataJoiner.joinEngine==Ae.C.StiDataJoinEngine.V2?this.isNumericType(u[t])||(e[t]=u[t]):Ae.C.StiDataJoiner.joinEngine==Ae.C.StiDataJoinEngine.V3&&(s.containsKey(t)&&this.isNumericType(u[t])||(e[t]=u[t]));var h=this.resultTable.loadDataRow(e,!1);o.add(this.splitRows(h,l))}t=!1}}return o}calculateIndexes(t){var t=t.where(t=>t.is(hn)).selectMany(t=>Oi.getArguments(t.expression)).where(t=>!De.isNullOrWhiteSpace(t)).select(t=>t.trim().toLowerCase());let r=new Dt;for(let e of t){var i=this.table1.columns.toList().cast().firstOrDefault(t=>t.columnName.toLowerCase()==e);if(null==i)continue;var i=this.table1.columns.indexOf(i);if(-1==i)continue;r.set(i,i)}return r}isNumericType(t){return null!=t&&Wr.isNumericType(t.stimulsoft().getType())}crossJoinRows(){let t=this.table1.rows.toList(),r=this.table2.rows.toList();return t.selectMany(e=>r.select(t=>this.splitRows(e,t),this),this)}fullJoinRows(t){let e=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList();var t=this.table2.rows.toList();return i.fullOuterJoin(t,t=>this.stimulsoft().getHashCode(t,e),t=>this.stimulsoft().getHashCode(t,r),this.splitRows,this)}getHashCode(t,e){let r=t.gett(e);return null!=r?r.stimulsoft().getHashCode():0}splitRows(t,e){let r=[];for(var i of this.resultTable.columns.list){var n=i.columnName in this.resultColumnIndexes?this.resultColumnIndexes[i.columnName]:-1;if(-1==n)continue;var a=i.columnName in this.column1Indexes?this.column1Indexes[i.columnName]:-1,i=i.columnName in this.column2Indexes?this.column2Indexes[i.columnName]:-1;-1!=a&&null!=t&&(r[n]=t.gett(a)),-1!=i&&null!=e&&(r[n]=e.gett(i))}return this.resultTable.loadDataRow(r,!1)}getFieldIndex(t,e){var r=t.columns.toList().cast().firstOrDefault(t=>t.columnName==e.parentKey||t.columnName==e.childKey||t.table.tableName+"."+t.columnName==e.parentKey||t.table.tableName+"."+t.columnName==e.childKey);if(null==r)return-1;return t.columns.indexOf(r)}};{let r=class extends Ae.C.StiDataRule{constructor(t=_i.generateKey(),e=Ae.C.StiDataSortDirection.Ascending){super(),this.direction=Ae.C.StiDataSortDirection.Ascending,this.key=t,this.direction=e}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Key"),new Gi("Direction","",Ae.C.StiDataSortDirection,Ae.C.StiDataSortDirection.Ascending)])}static loadFromJson(t){let e=new r;return e.loadFromJsonObject(t),e}static loadFromXml(t){let e=new r;return e.loadFromXml(t),e}toString(){return`${this.direction} ${this.key}`}getUniqueCode(){return 397*(null!=this.key?this.key.stimulsoft().getHashCode():0)^this.direction}};Ae.C.StiDataSortRule=r}{let i=class{static toList(...t){return t.stimulsoft().toList()}static validate(t,e){if(null==e||0==e.count2())return t;return t.where(t=>_i.isKey(t.key)&&e.contains(t.key)).toList()}static getDataTableSortQuery(t,e){var r=e.select(t=>t&&t.getKey()).where(t=>null!=t).toList(),e=e.select(t=>t&&t.getName()).where(t=>null!=t).toList();return i.getDataTableSortQuery2(t,r,e)}static getDataTableSortQuery2(t,e,r){if(null==t||!t.any())return"";let i="";for(var n of(t=this.validate(t,e)).where(t=>!De.isNullOrWhiteSpace(t.key))){0<i.length&&(i+=", ");let t=e.indexOf(n.key);if(-1==t&&(t=r.indexOf(n.key),-1==t))continue;var a=Ae.C.StiDataColumnRuleHelper.getGoodColumnName(r[t]);n.direction==Ae.C.StiDataSortDirection.Descending?i+=`${a} DESC`:i+=a}return i}static getSortDirection(t,e){var t=t.firstOrDefault(t=>t.key.toLowerCase()==e.toLowerCase());return null==t?Ae.C.StiDataSortDirection.None:t.direction}static setSortDirection(t,e,r,i){let n=(t=this.validate(t,e)).firstOrDefault(t=>t.key.toLowerCase()==r.toLowerCase());return null==n&&i!=Ae.C.StiDataSortDirection.None?(n=new Ae.C.StiDataSortRule(r,i),t.add(n)):i==Ae.C.StiDataSortDirection.None?t.remove(n):n.direction=i,t}};Ae.C.StiDataSortRuleHelper=i}var ht=class{static isVariationSort(t){return null!=t&&t.any(t=>t.key==this.ident)}static createVariationSort(t){return new Ee([new Ae.C.StiDataSortRule(this.ident,t)])}};ht.ident="#Variation#",Ae.C.StiDataSortVariation=ht;let Pn=Ae.C.StiDataSortVariation;var dt=class{static sort(t,r,e,i,n=Ae.C.StiDataRequestOption.All){if(Pn.isVariationSort(r))return t;var n=0<(n&Ae.C.StiDataRequestOption.AllowDataSort);if(null==r||!r.any()||!n)return t;let a=Vi.toNetTable(t),s=t.meters.select(t=>t.key);var n=a.columns.toList().cast().select(t=>t.columnName);r=this.getFixedDataSortRules(r,n,s);var n=Ae.C.StiDataSortRuleHelper.getDataTableSortQuery2(r,s,n);if(De.isNullOrWhiteSpace(n))return t;let o=this.getFromCache(t,e,i);if(o==Ae.C.StiDataTable.nullTable)return null;if(null!=o)return o;let l=a.rows.toList().select(t=>t.itemArray);for(let t=r.length-1;0<=t;t--){let e=s.indexOf(r[t].key);r[t].direction==Ae.C.StiDataSortDirection.Ascending?l=l.orderBy(t=>t[e]):r[t].direction==Ae.C.StiDataSortDirection.Descending&&(l=l.orderByDescending(t=>t[e]))}return o=new Ae.C.StiDataTable(t.meters,l),this.addToCache(t,e,i,o),o}static getFixedDataSortRules(t,e,r){var t=t.select(t=>t.clone()),i;for(i of t){var n=e.indexOf(i.key);-1!=n&&(i.key=r[n])}return t}static cleanCache(e){null==e?this.hashCache.clear():this.hashCache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.hashCache.remove(t))}static getCacheKey(t,e,r){var i,n;return e&&e.setKey(_i.getOrGeneratedKey(e.getKey())),`${e&&e.getKey()||""}.${t.meters.select(t=>t.stimulsoft().getHashCode()).aggregate2(0,(t,e)=>t+e)+r}`}static getFromCache(t,e,r){var r=this.getCacheKey(t,e,r);return this.hashCache.contains(r)?this.hashCache.get(r):null}static addToCache(t,e,r,i){var r=this.getCacheKey(t,e,r);null==i&&(i=Ae.C.StiDataTable.nullTable),this.hashCache.set(r,i)}};dt.lockObject={},dt.hashCache=new Ri,Ae.C.StiDataSorter=dt,Ae.C.StiDataSourceChainFinder=class{static find(r){return r.selectMany(e=>r.where(t=>t!=e).select(t=>this.find3(e,t)).where(t=>null!=t).selectMany(t=>t).where(t=>!r.contains(t)).distinct()).union(r.distinct())}static find3(t,e){var r=this.findInParent(t,e),i=this.findInChild(t,e);if(null==r&&null==i)return this.findInBoth(t,e);if(null!=r&&null==i)return r;if(null==r&&null!=i)return i;return r.length>=i.length?i:r}static findInParent(t,e,r=null){null==r&&(r=new Ee);var i=this.getDataPoint(t,e),n;if(r.contains(i))return null;r.add(i);let a=t.fetchParentRelations(!0);if(!a.any())return null;let s=a.where(t=>t.getParentDataSource()==e);if(s.any())return new Ee([t,e]);for(n of this.getActiveRelations(a)){let t=this.findInParent(n.getParentDataSource(),e,r);if(null==t)continue;return t.insert(0,n.getChildDataSource()),t}return null}static findInChild(t,e,r=null){null==r&&(r=new Ee);var i=this.getDataPoint(t,e),n,a;if(r.contains(i))return null;r.add(i);let s=t.fetchChildRelations(!0);if(!s.any())return this.findInParent(t,e);if(null!=s.firstOrDefault(t=>t.getChildDataSource()==e))return new Ee([t,e]);for(a of this.getActiveRelations(s)){let t=this.findInChild(a.getChildDataSource(),e,r);if(null==t)continue;return t.insert(0,a.getParentDataSource()),t}return null}static findInBoth(t,e){var t=t.fetchParentRelations(!0),r;let i=e.fetchParentRelations(!0);for(let e of t){if(null!=i.firstOrDefault(t=>e.getParentDataSource()==t.getParentDataSource()))return new Ee([null===e||void 0===e?void 0:e.getParentDataSource()])}return null}static getDataPoint(t,e){return t.getName()+e.getName()}static getActiveRelations(t){return t.any(t=>t.getActiveState())?t.where(t=>t.getActiveState()):t}},Ae.C.StiDataSourcePicker=class{static fetch(t,e,r,i){r=(r=null==r?t.retrieveUsedDataNames(e):r).where(t=>!De.isNullOrWhiteSpace(t)).select(ln.toDataName);let n=i.selectMany(e=>e.fetchColumns().select(t=>({dataSource:e,name:ln.toDataName(t.getName())})));return r.selectMany(e=>n.where(t=>ln.isDataEqual(t.dataSource,t.name,e)).select(t=>t.dataSource)).distinct()}};{let t=class{constructor(t=new Ee,e=new Ee){this.meters=t,this.rows=e}get isNull(){return this==t.nullTable}get isEmpty(){return this.isNull||null==this.meters||0==this.meters.count2()||null==this.rows||0==this.rows.count2()}};t.nullTable=new t,Ae.C.StiDataTable=t}let In=Ae.ab.StiStringMeta;{let r=class{constructor(t,e,r,i,n){this.mode=Ae.C.StiDataTopNMode.None,this.count=5,this.showOthers=!0,this.othersText="",this.measureField="",null!=t&&(this.mode=t),null!=e&&(this.count=e),null!=r&&(this.showOthers=r),null!=i&&(this.othersText=i),null!=n&&(this.measureField=n)}meta(){return this._hash||(this._hash=[new Gi("Mode","",Ae.C.StiDataTopNMode,Ae.C.StiDataTopNMode.None),new ji("Count","",5),new Wi("ShowOthers","",!0),new In("OthersText","",""),new In("MeasureField","","")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static createFromJsonObject(t){let e=new r;return e.loadFromJsonObject(t),e}static createFromXml(t){let e=new r;return e.loadFromXml(t),e}clone(){return this.stimulsoft().memberwiseClone()}isDefault(){return this.mode==Ae.C.StiDataTopNMode.None&&5==this.count&&this.showOthers&&""==this.othersText&&""==this.measureField}toString(){return this.mode==Ae.C.StiDataTopNMode.None?nn.get("PropertyEnum","SelectionModeNone"):`${this.mode==Ae.C.StiDataTopNMode.Bottom?nn.get("PropertyMain","Bottom"):nn.get("PropertyMain","Top")}${this.count}${De.isNullOrEmpty(this.measureField)?"":` [${this.measureField}]`}`}getUniqueCode(){var t=this.mode,t;return t=397*(t=397*(t=397*(t=397*t^this.count)^this.showOthers.stimulsoft().getHashCode())^(null!=this.othersText?this.othersText.stimulsoft().getHashCode():0))^(null!=this.measureField?this.measureField.stimulsoft().getHashCode():0),Math.abs(t)}};Ae.C.StiDataTopN=r}var pt=class{static setOk(t){this.keyToError.contains(t)&&this.keyToError.remove(t)}static setError(t,e){this.keyToError.set(t,e)}static getError(t){return this.keyToError.contains(t)?this.keyToError.get(t):null}static isFail(t){return this.keyToError.contains(t)}};pt.keyToError=new Ri,Ae.C.StiErrorStack=pt,Ae.F.StiBingException=class extends Ae.F.StiDataException{constructor(t){super(`BING: '${t}'`)}},Ae.F.StiColumnNotFoundException=class extends Ae.F.StiDataException{constructor(t){super(`Column '${t}' not found!`),this._name=t}get name(){return this._name}},Ae.F.StiSystemVariableNotRecognizedException=class extends Ae.F.StiDataException{constructor(t){super(`System Variable '${t}' Is Not Recognized!`)}};{let t=class{constructor(t,e=t.split(""),r=null!=t?t.length:null,i=null){if(this.p=0,this.markDepth=0,this.line=1,this.charPositionInLine=0,null==e)throw new Ue("ArgumentNullException");if(r<0)throw new Ue("ArgumentOutOfRangeException");if(r>e.length)throw new Ue("ArgumentException");this.data=e,this.n=r,this.name=i}implements(){return t.ImplementsANTLRStringStream||(t.ImplementsANTLRStringStream=[Ae.M.ICharStream]),t.ImplementsANTLRStringStream}get index(){return this.p}reset(){this.p=0,this.line=1,this.charPositionInLine=0,this.markDepth=0}consume(){this.p<this.n&&(this.charPositionInLine++,"\n"==this.data[this.p]&&(this.line++,this.charPositionInLine=0),this.p++)}la(t){if(0==t)return 0;if(t<0&&this.p+ ++t-1<0)return Ae.M.CharStreamConstants.endOfFile;if(this.p+t-1>=this.n)return Ae.M.CharStreamConstants.endOfFile;return this.data[this.p+t-1].charCodeAt(0)}lt(t){return this.la(t)}get count(){return this.n}mark(){null==this.markers&&(this.markers=new Ee,this.markers.add(null)),this.markDepth++;let t=null;return this.markDepth>=this.markers.length?(t=new Ae.M.CharStreamState,this.markers.add(t)):t=this.markers[this.markDepth],t.p=this.index,t.line=this.line,t.charPositionInLine=this.charPositionInLine,this.lastMarker=this.markDepth,this.markDepth}rewind(t=this.lastMarker){if(t<0)throw new Ue("ArgumentOutOfRangeException");var e=this.markers[t];this.seek(e.p),this.line=e.line,this.charPositionInLine=e.charPositionInLine,this.release(t)}release(t){this.markDepth=t,this.markDepth--}seek(t){if(t<=this.p)return void(this.p=t);while(this.p<t)this.consume()}substring(t,e){if(t<0)throw new Ue("ArgumentOutOfRangeException");if(e<0)throw new Ue("ArgumentOutOfRangeException");if(t+e>this.data.length)throw new Ue("ArgumentException");if(0==e)return"";return this.data.join("").substr(t,e)}get sourceName(){return this.name}toString(){return this.data.join("")}};Ae.M.ANTLRStringStream=t}Ae.M.ANTLRReaderStream=class extends Ae.M.ANTLRStringStream{constructor(){super(...arguments),this.readBufferSize=1024,this.initialBufferSize=1024}},Ae.M.ANTLRInputStream=class extends Ae.M.ANTLRReaderStream{};{let t=class{implements(){return t.ImplementsParserRuleReturnScope||(t.ImplementsParserRuleReturnScope=[Ae.M.IRuleReturnScope]),t.ImplementsParserRuleReturnScope}};Ae.M.ParserRuleReturnScope=t}{let t=class extends Ae.M.ParserRuleReturnScope{implements(){return t.ImplementsAstParserRuleReturnScope||(t.ImplementsAstParserRuleReturnScope=super.implements().concat([Ae.M.IAstRuleReturnScope,Ae.M.IAstRuleReturnScope])),t.ImplementsAstParserRuleReturnScope}};Ae.M.AstParserRuleReturnScope=t}var yt=class{constructor(t){this.memoRuleFailed=-2,this.memoRuleUnknown=-1,this.defaultTokenChannel=Ae.M.TokenChannels.default,this.hidden=Ae.M.TokenChannels.hidden,this.nextTokenRuleName="nextToken",this.tokenNames=null,null==t&&(t=new Ae.M.RecognizerSharedState),this.state=t,this.initDFAs()}setState(t){this.state=t}initDFAs(){}reset(){if(null==this.state)return;this.state._fsp=-1,this.state.errorRecovery=!1,this.state.lastErrorIndex=-1,this.state.failed=!1,this.state.syntaxErrors=0,this.state.backtracking=0;for(let t=0;null!=this.state.ruleMemo&&t<this.state.ruleMemo.length;t++)this.state.ruleMemo[t]=null}match(t,e,r){let i=this.getCurrentInputSymbol(t);if(t.la(1)==e)return t.consume(),this.state.errorRecovery=!1,this.state.failed=!1,i;if(0<this.state.backtracking)return this.state.failed=!0,i;return i=this.recoverFromMismatchedToken(t,e,r),i}matchAny(t){this.state.errorRecovery=!1,this.state.failed=!1,t.consume()}mismatchIsUnwantedToken(t,e){return t.la(2)==e}mismatchIsMissingToken(t,e){if(null==e)return!1;var r;if(e.member(Ae.M.TokenTypes.endOfRule)&&(r=this.computeContextSensitiveRuleFOLLOW(),e=e.or(r),0<=this.state._fsp&&e.remove(Ae.M.TokenTypes.endOfRule)),e.member(t.la(1))||e.member(Ae.M.TokenTypes.endOfRule))return!0;return!1}reportError(t){if(this.state.errorRecovery)return;this.state.syntaxErrors++,this.state.errorRecovery=!0,this.displayRecognitionError(this.tokenNames,t)}displayRecognitionError(t,e){var r=this.getErrorHeader(e),t=this.getErrorMessage(e,t);this.emitErrorMessage(r+" "+t)}getErrorMessage(r,i){let n=r.message;if(r.stimulsoft().is(Ae.M.UnwantedTokenException)){var e;let t="<unknown>";t=r.expecting==Ae.M.TokenTypes.endOfFile?"EndOfFile":i[r.expecting],n="extraneous input "+this.getTokenErrorDisplay(r.unexpectedToken)+" expecting "+t}else if(r.stimulsoft().is(Ae.M.MissingTokenException)){var a;let t="<unknown>";t=r.expecting==Ae.M.TokenTypes.endOfFile?"EndOfFile":i[r.expecting],n="missing "+t+" at "+this.getTokenErrorDisplay(r.token)}else if(r.stimulsoft().is(Ae.M.MismatchedTokenException)){var s;let t="<unknown>";t=r.expecting==Ae.M.TokenTypes.endOfFile?"EndOfFile":i[r.expecting],n="mismatched input "+this.getTokenErrorDisplay(r.token)+" expecting "+t}else if(r.stimulsoft().is(Ae.M.MismatchedTreeNodeException)){let t=r,e="<unknown>";e=t.expecting==Ae.M.TokenTypes.endOfFile?"EndOfFile":i[t.expecting];var i=null!=t.node?t.node.toString():"";n="mismatched tree node: "+i+" expecting "+e}else if(r.stimulsoft().is(Ae.M.NoViableAltException))n="no viable alternative at input "+this.getTokenErrorDisplay(r.token);else if(r.stimulsoft().is(Ae.M.EarlyExitException))n="required (...)+ loop did not match anything at input "+this.getTokenErrorDisplay(r.token);else if(r.stimulsoft().is(Ae.M.MismatchedSetException)){let t=r;n="mismatched input "+this.getTokenErrorDisplay(r.token)+" expecting set "+t.expecting.toString()}else if(r.stimulsoft().is(Ae.M.MismatchedNotSetException)){let t=r;n="mismatched input "+this.getTokenErrorDisplay(r.token)+" expecting set "+t.expecting.toString()}else{var t;r.stimulsoft().is(Ae.M.FailedPredicateException)&&(n="rule "+r.ruleName+" failed predicate: {"+r.predicateText+"}?")}return n}get numberOfSyntaxErrors(){return this.state.syntaxErrors}getErrorHeader(t){let e=null!=this.sourceName?this.sourceName:"";return 0<e.length&&(e+=" "),`${e}line ${t.line}:${t.charPositionInLine+1}`}getTokenErrorDisplay(t){let e=t.text;return null==e&&(e=t.type==Ae.M.TokenTypes.endOfFile?"<EOF>":"<"+t.type.toString()+">"),e=e.stimulsoft().replaceAll("\n","\\\\n"),e=e.stimulsoft().replaceAll("\r","\\\\r"),e=e.stimulsoft().replaceAll("\t","\\\\t"),"'"+e+"'"}emitErrorMessage(t){}recover(t,e){this.state.lastErrorIndex==t.index&&t.consume(),this.state.lastErrorIndex=t.index;var r=this.computeErrorRecoverySet();this.beginResync(),this.consumeUntil2(t,r),this.endResync()}beginResync(){}endResync(){}computeErrorRecoverySet(){return this.combineFollows(!1)}computeContextSensitiveRuleFOLLOW(){return this.combineFollows(!0)}combineFollows(r){var t=this.state._fsp;let i=new Ae.M.BitSet;for(let e=t;0<=e;e--){let t=this.state.following[e];if(i.orInPlace(t),r){if(!t.member(Ae.M.TokenTypes.endOfRule))break;0<e&&i.remove(Ae.M.TokenTypes.endOfRule)}}return i}recoverFromMismatchedToken(t,e,r){let i=null;if(this.mismatchIsUnwantedToken(t,e)){i=new Ae.M.UnwantedTokenException(null,e,t,this.tokenNames.stimulsoft().toList()),this.beginResync(),t.consume(),this.endResync(),this.reportError(i);var n=this.getCurrentInputSymbol(t);return t.consume(),n}if(this.mismatchIsMissingToken(t,r)){var r=this.getMissingSymbol(t,i,e,r);return i=new Ae.M.MissingTokenException(null,e,t,r),this.reportError(i),r}throw i=new Ae.M.MismatchedTokenException(null,e,t,this.tokenNames.stimulsoft().toList()),i}recoverFromMismatchedSet(t,e,r){if(this.mismatchIsMissingToken(t,r))return this.reportError(e),this.getMissingSymbol(t,e,Ae.M.TokenTypes.invalid,r);throw e}getCurrentInputSymbol(t){return null}getMissingSymbol(t,e,r,i){return null}consumeUntil(t,e){let r=t.la(1);while(r!=Ae.M.TokenTypes.endOfFile&&r!=e)t.consume(),r=t.la(1)}consumeUntil2(t,e){let r=t.la(1);while(r!=Ae.M.TokenTypes.endOfFile&&!e.member(r))t.consume(),r=t.la(1)}pushFollow(t){this.state._fsp+1>=this.state.following.length&&this.state.following.stimulsoft().addRange(ke.create(Ae.M.BitSet,this.state.following.length)),this.state.following[++this.state._fsp]=t}popFollow(){this.state._fsp--}get backtrackingLevel(){return this.state.backtracking}set backtrackingLevel(t){this.state.backtracking=t}get failed(){return this.state.failed}get sourceName(){return null}toStrings(t){if(null==t)return null;let e=new Ee(t.length);for(var r of t)e.add(r.text);return e}getRuleMemoization(t,e){null==this.state.ruleMemo[t]&&(this.state.ruleMemo[t]=new Ri);var r={ref:null};if(!this.state.ruleMemo[t].tryGetValue(e,r))return this.memoRuleUnknown;return r.ref}alreadyParsedRule(t,e){var e=this.getRuleMemoization(e,t.index);if(e==this.memoRuleUnknown)return!1;return e==this.memoRuleFailed?this.state.failed=!0:t.seek(e+1),!0}memoize(t,e,r){var t=this.state.failed?this.memoRuleFailed:t.index-1;this.state.ruleMemo,this.state.ruleMemo.length,null!=this.state.ruleMemo[e]&&this.state.ruleMemo[e].set(r,t)}getRuleMemoizationCacheSize(){let e=0;for(let t=0;null!=this.state.ruleMemo&&t<this.state.ruleMemo.length;t++){var r=this.state.ruleMemo[t];null!=r&&(e+=r.count)}return e}};yt.initialFollowStackSize=100,Ae.M.BaseRecognizer=yt;{let a=class{constructor(t){null==t&&(t=a.BITS),this._bits=ke.create(Number,(t-1>>a.LOG_BITS)+1)}static create(t){let e=new a;return e._bits=t,e}static of(t){let e=new a(t+1);return e.add(t),e}static of2(t,e){let r=new a(Math.max(t,e)+1);return r.add(t),r.add(e),r}static of3(t,e,r){let i=new a;return i.add(t),i.add(e),i.add(r),i}static of4(t,e,r,i){let n=new a;return n.add(t),n.add(e),n.add(r),n.add(i),n}or(t){if(null==t)return this;let e=this.clone();return e.orInPlace(t),e}add(t){var e=a.wordNumber(t);e>=this._bits.length&&this.growToInclude(t),this._bits[e]|=a.bitMask(t)}growToInclude(t){var t=Math.max(this._bits.length<<1,a.numWordsToHold(t));this.setSize(t)}orInPlace(e){if(null==e)return;var t;e._bits.length>this._bits.length&&this.setSize(e._bits.length);for(let t=Math.min(this._bits.length,e._bits.length)-1;0<=t;t--)this._bits[t]|=e._bits[t]}setSize(t){this._bits.stimulsoft().addRange(ke.create(Number,t-this._bits.length))}static bitMask(t){var e;return 1<<(t&this.MOD_MASK)}clone(){return a.create(this._bits.stimulsoft().clone())}size(){let e=0;for(let t=this._bits.length-1;0<=t;t--){var r=this._bits[t];if(0!=r)for(let t=a.BITS-1;0<=t;t--)0!=(r&1<<t)&&e++}return e}getHashCode(){throw new Ue("NotImplementedException")}equals(t){if(null==t||!t.stimulsoft().is(a))return!1;var e=t,r=Math.min(this._bits.length,e._bits.length);for(let t=0;t<r;t++)if(this._bits[t]!=e._bits[t])return!1;if(this._bits.length>r){for(let t=r+1;t<this._bits.length;t++)if(0!=this._bits[t])return!1}else if(e._bits.length>r)for(let t=r+1;t<e._bits.length;t++)if(0!=e._bits[t])return!1;return!0}member(t){if(t<0)return!1;var e=a.wordNumber(t);if(e>=this._bits.length)return!1;return 0!=(this._bits[e]&a.bitMask(t))}remove(t){var e=a.wordNumber(t);this._bits.length}isNil(){for(let t=this._bits.length-1;0<=t;t--)if(0!=this._bits[t])return!1;return!0}static numWordsToHold(t){return(t>>this.LOG_BITS)+1}numBits(){return this._bits.length<<a.LOG_BITS}lengthInLongWords(){return this._bits.length}toArray(){let e=ke.create(Number,this.size()),r=0;for(let t=0;t<this._bits.length<<a.LOG_BITS;t++)this.member(t)&&(e[r++]=t);return e}static wordNumber(t){return t>>this.LOG_BITS}toString(e=null){let r="";var i=",";let n=!1;r+="{";for(let t=0;t<this._bits.length<<a.LOG_BITS;t++)this.member(t)&&(0<t&&n&&(r+=i),r+=null!=e?e[t]:t,n=!0);return r+="}",r}};a.BITS=64,a.LOG_BITS=6,a.MOD_MASK=a.BITS-1,Ae.M.BitSet=a}{let t=class{constructor(t){this._tokens=new Ee(100),this._p=-1,this.range=0,this.maxLookBehind=Number.MAX_VALUE,this._tokenSource=t}implements(){return t.ImplementsBufferedTokenStream||(t.ImplementsBufferedTokenStream=[Ae.M.ITokenStream,Ae.M.ITokenStreamInformation]),t.ImplementsBufferedTokenStream}get tokenSource(){return this._tokenSource}set tokenSource(t){this._tokenSource=t,this._tokens.clear(),this._p=-1}get index(){return this._p}get count(){return this._tokens.length}get sourceName(){return this._tokenSource.sourceName}get lastToken(){return this.lb(1)}get lastRealToken(){let t=0,e;do{t++,e=this.lb(t)}while(null!=e&&e.line<=0);return e}mark(){return-1==this._p&&this.setup(),this._lastMarker=this.index,this._lastMarker}release(t){}rewind(t=this._lastMarker){this.seek(t)}reset(){this._p=0,this._lastMarker=0}seek(t){this._p=t}consume(){-1==this._p&&this.setup(),this._p++,this.sync(this._p)}sync(t){var t=t-this._tokens.length+1;0<t&&this.fetch(t)}fetch(e){for(let t=0;t<e;t++){let t=this.tokenSource.nextToken();if(t.tokenIndex=this._tokens.length,this._tokens.add(t),t.type==Ae.M.CharStreamConstants.endOfFile)break}}get(t){if(t<0||t>=this._tokens.length)throw new Ue("token index "+t.toString()+" out of range 0.."+(this._tokens.length-1).toString());return this._tokens[t]}la(t){return this.lt(t).type}lb(t){if(this._p-t<0)return null;return this._tokens[this._p-t]}lt(t){if(-1==this._p&&this.setup(),0==t)return null;if(t<0)return this.lb(-t);var e=this._p+t-1;if(this.sync(e),e>=this._tokens.length)return this._tokens[this._tokens.length-1];return e>this.range&&(this.range=e),this._tokens[this._p+t-1]}setup(){this.sync(0),this._p=0}getTokens(e,r,i){if(-1==this._p&&this.setup(),(r=r>=this._tokens.length?this._tokens.length-1:r)<(e=e<0?0:e))return null;let n=new Ee;for(let t=e;t<=r;t++){var a=this._tokens[t];null!=i&&!i.member(a.type)||n.add(a)}return 0==n.length&&(n=null),n}toString(){return-1==this._p&&this.setup(),this.fill(),this.toString2(0,this._tokens.length-1)}toString2(e,r){if(e<0||r<0)return null;-1==this._p&&this.setup(),r>=this._tokens.length&&(r=this._tokens.length-1);let i="";for(let t=e;t<=r;t++){var n=this._tokens[t];if(n.type==Ae.M.CharStreamConstants.endOfFile)break;i+=n.text}return i}fill(){if(-1==this._p&&this.setup(),this._tokens[this._p].type==Ae.M.CharStreamConstants.endOfFile)return;let t=this._p+1;this.sync(t);while(this._tokens[t].type!=Ae.M.CharStreamConstants.endOfFile)t++,this.sync(t)}};Ae.M.BufferedTokenStream=t}var wt=class{};wt.endOfFile=-1,Ae.M.CharStreamConstants=wt,Ae.M.CharStreamState=class{};{let t=class{constructor(t,e,r){this.channel=Ae.M.TokenChannels.default,this.startIndex=-1,this.stopIndex=-1,this.inputStream=null,this.type=t,this.text=e,this.channel=r}implements(){return t.ImplementsClassicToken||(t.ImplementsClassicToken=[Ae.M.IToken]),t.ImplementsClassicToken}get tokenIndex(){return this.index}set tokenIndex(t){this.index=t}toString(){let t="";0<this.channel&&(t=",channel="+this.channel.toString());let e=this.text;return e=null!=e?(e=e.stimulsoft().replaceAll("\n","\\\\n"),e=e.stimulsoft().replaceAll("\r","\\\\r"),e.stimulsoft().replaceAll("\t","\\\\t")):"<no text>","[@"+this.tokenIndex.toString()+",'"+e+"',<"+this.type.toString()+">"+t+","+this.line.toString()+":"+this.charPositionInLine.toString()+"]"}};Ae.M.ClassicToken=t}{let s=class{constructor(){this.index=-1,this.charPositionInLine=-1,this.channel=Ae.M.TokenChannels.default}implements(){return s.ImplementsCommonToken||(s.ImplementsCommonToken=[Ae.M.IToken]),s.ImplementsCommonToken}static create1(t){let e=new s;return e.type=t,e}static create2(t,e,r,i,n){let a=new s;return a.input=t,a.type=e,a.channel=r,a.start=i,a.stop=n,a}static create3(t,e){let r=new s;return r.type=t,r.channel=Ae.M.TokenChannels.default,r.text=e,r}static create4(t){let e=new s;return e._text=t.text,e.type=t.type,e.line=t.line,e.index=t.tokenIndex,e.charPositionInLine=t.charPositionInLine,e.channel=t.channel,e.input=t.inputStream,t.stimulsoft().is(s)&&(e.start=t.start,e.stop=t.stop),e}get text(){if(null!=this._text)return this.text;if(null==this.input)return null;if(this.start<=this.stop&&this.stop<this.input.count)return this.input.substring(this.start,this.stop-this.start+1);return"<EOF>"}set text(t){this._text=t}get startIndex(){return this.start}set startIndex(t){this.start=t}get stopIndex(){return this.stop}set stopIndex(t){this.stop=t}get tokenIndex(){return this.index}set tokenIndex(t){this.index=t}get inputStream(){return this.input}set inputStream(t){this.input=t}toString(){let t="";0<this.channel&&(t=",channel="+this.channel.toString());let e=this.text;return e=null!=e?(e=e.stimulsoft().replaceAll("\n","\\\\n"),e=e.stimulsoft().replaceAll("\r","\\\\r"),e.stimulsoft().replaceAll("\t","\\\\t")):"<no text>",`[@${this.tokenIndex},${this.start}:${this.stop}='${e}',<${this.type}>${t},${this.line}:${this.charPositionInLine}]`}};Ae.M.CommonToken=s}Ae.M.CommonTokenStream=class extends Ae.M.BufferedTokenStream{constructor(t,e=Ae.M.TokenChannels.default){super(t),this.channel=e}consume(){-1==this._p&&this.setup(),this._p++,this._p=this.skipOffTokenChannels(this._p)}lb(t){if(0==t||this._p-t<0)return null;let e=this._p,r=1;while(r<=t)e=this.skipOffTokenChannelsReverse(e-1),r++;if(e<0)return null;return this._tokens[e]}lt(t){if(-1==this._p&&this.setup(),0==t)return null;if(t<0)return this.lb(-t);let e=this._p,r=1;while(r<t)e=this.skipOffTokenChannels(e+1),r++;return e>this.range&&(this.range=e),this._tokens[e]}skipOffTokenChannels(t){this.sync(t);while(this._tokens[t].channel!=this.channel)this.sync(++t);return t}skipOffTokenChannelsReverse(t){while(0<=t&&this._tokens[t].channel!=this.channel)t--;return t}reset(){super.reset(),this._p=this.skipOffTokenChannels(0)}setup(){this._p=0,this._p=this.skipOffTokenChannels(this._p)}},Ae.M.DFA=class{constructor(){this.debug=!1,this.description="n/a"}predict(e){if(null==e)throw new Ue("ArgumentNullException");this.dfaDebugMessage("Enter DFA.Predict for decision {0}",this.decisionNumber);var t=e.mark();let r=0;try{while(1){this.dfaDebugMessage("DFA {0} state {1} LA(1)={2}({3}), index={4}",this.decisionNumber,r,String.fromCharCode(e.la(1)),String.fromCharCode(e.la(1)),String.fromCharCode(e.index));var i=this.special[r];if(0<=i){if(this.dfaDebugMessage("DFA {0} state {1} is special state {2}",this.decisionNumber,r,i),this.dfaDebugMessage("DFA {0} returns from special state {1} to {2}",this.decisionNumber,i,r),-1==r)return this.noViableAlt(r,e),0;e.consume();continue}if(1<=this.accept[r])return this.dfaDebugMessage("accept; predict {0} from state {1}",this.accept[r],r),this.accept[r];let t=String.fromCharCode(e.la(1));if(t>=this.min[r]&&t<=this.max[r]){var n=this.transition[r][t.charCodeAt(0)-this.min[r].charCodeAt(0)];if(n<0){if(0<=this.eot[r]){this.dfaDebugMessage("EOT transition"),r=this.eot[r],e.consume();continue}return this.noViableAlt(r,e),0}r=n,e.consume();continue}if(0<=this.eot[r]){this.dfaDebugMessage("EOT transition"),r=this.eot[r],e.consume();continue}if(t.charCodeAt(0)==Ae.M.TokenTypes.endOfFile&&0<=this.eof[r])return this.dfaDebugMessage("accept via EOF; predict {0} from {1}",this.accept[this.eof[r]],this.eof[r]),this.accept[this.eof[r]];return this.dfaDebugInvalidSymbol(r),this.noViableAlt(r,e),0}}finally{e.rewind(t)}}dfaDebugMessage(t,...e){}dfaDebugInvalidSymbol(t){}noViableAlt(t,e){if(0<this.recognizer.state.backtracking)return void(this.recognizer.state.failed=!0);var e=new Ae.M.NoViableAltException("",this.description,this.decisionNumber,t,e);throw this.error(e),e}error(t){}static specialStateTransitionDefault(t,e,r){return-1}static unpackEncodedString(e){let r=0;for(let t=0;t<e.length;t+=2)r+=e[t].charCodeAt(0);let i=ke.create(Number,r),n=0;for(let t=0;t<e.length;t+=2){var a=e[t].charCodeAt(0),s=e[t+1].charCodeAt(0).stimulsoft().toShort();for(let t=1;t<=a;t++)i[n++]=s}return i}static unpackEncodedStringToUnsignedChars(e){let r=0;for(let t=0;t<e.length;t+=2)r+=e[t].charCodeAt(0);let i=ke.create(String,r),n=0;for(let t=0;t<e.length;t+=2){var a=e[t].charCodeAt(0),s=e[t+1];for(let t=1;t<=a;t++)i[n++]=s}return i}debugRecognitionException(t){}};{let c=class{constructor(t){this.parent=null,this.childIndex=0}implements(){return c.ImplementsBaseTree||(c.ImplementsBaseTree=[Ae.N.ITree]),c.ImplementsBaseTree}get childCount(){if(null==this.children)return 0;return this.children.length}get isNil(){return!1}get tokenStartIndex(){return this._tokenStartIndex}set tokenStartIndex(t){this._tokenStartIndex=t}get tokenStopIndex(){return this._tokenStopIndex}set tokenStopIndex(t){this._tokenStopIndex=t}get type(){return this._type}set type(t){this._type=t}get text(){return this._text}set text(t){this._text=t}getChild(t){if(t<0)throw new Ue("ArgumentOutOfRangeException");if(null==this.children||t>=this.children.length)return null;return this.children[t]}getFirstChildWithType(t){for(var e of this.children)if(e.type==t)return e;return null}addChild(r){if(null==r)return;if(r.isNil){var t=r.stimulsoft().as(c);if(null!=t&&null!=this.children&&this.children==t.children)throw new Ue("attempt to add child list to itself");if(0<r.childCount)if(null!=this.children||null==t){null==this.children&&(this.children=this.createChildrenList());var i=r.childCount;for(let e=0;e<i;e++){let t=r.getChild(e);this.children.add(t),t.parent=this,t.childIndex=this.children.length-1}}else this.children=t.children,this.freshenParentAndChildIndexes()}else null==this.children&&(this.children=this.createChildrenList()),this.children.add(r),r.parent=this,r.childIndex=this.children.length-1}addChildren(t){if(null==t)throw new Ue("ArgumentNullException");for(var e of t)this.addChild(e)}setChild(t,e){if(t<0)throw new Ue("ArgumentOutOfRangeException");if(null==e)return;if(e.isNil)throw new Ue("Can't set single child to a list");null==this.children&&(this.children=this.createChildrenList()),(this.children[t]=e).parent=this,e.childIndex=t}insertChild(t,e){if(t<0)throw new Ue("ArgumentOutOfRangeException");if(t>this.childCount)throw new Ue("ArgumentException");if(t==this.childCount)return void this.addChild(e);this.children.insert(t,e),this.freshenParentAndChildIndexes(t)}deleteChild(t){if(t<0)throw new Ue("ArgumentOutOfRangeException");if(t>=this.childCount)throw new Ue("ArgumentException");if(null==this.children)return null;var e=this.children[t];return this.children.removeAt(t),this.freshenParentAndChildIndexes(t),e}replaceChildren(i,n,t){if(i<0)throw new Ue("ArgumentOutOfRangeException");if(n<0)throw new Ue("ArgumentOutOfRangeException");if(null==t)throw new Ue("ArgumentNullException");if(n<i)throw new Ue("ArgumentException");if(null==this.children)throw new Ue("indexes invalid; no children in list");var e=n-i+1,r;let a=t,s=null;if(a.isNil){var o=a.stimulsoft().as(c);if(null!=o&&null!=o.children)s=o.children;else{s=this.createChildrenList();var l=a.childCount;for(let t=0;t<l;t++)s.add(a.getChild(t))}}else s=new Ee(1),s.add(a);var r=s.length,u=s.length,o=e-r;if(0==o){let r=0;for(let e=i;e<=n;e++){let t=s[r];this.children[e]=t,t.parent=this,t.childIndex=e,r++}}else if(0<o){for(let t=0;t<u;t++)this.children[i+t]=s[t];var h=i+u;for(let t=h;t<=n;t++)this.children.removeAt(h);this.freshenParentAndChildIndexes(i)}else{for(let t=0;t<e;t++)this.children[i+t]=s[t];for(let t=e;t<r;t++)this.children.insert(i+t,s[t]);this.freshenParentAndChildIndexes(i)}}createChildrenList(){return new Ee}freshenParentAndChildIndexes(t=0){var r=this.childCount;for(let e=t;e<r;e++){let t=this.getChild(e);t.childIndex=e,t.parent=this}}freshenParentAndChildIndexesDeeply(t=0){var e=this.childCount;for(let r=t;r<e;r++){let t=this.getChild(r);t.childIndex=r,t.parent=this;let e=t.stimulsoft().as(c);null!=e&&e.freshenParentAndChildIndexesDeeply()}}sanityCheckParentAndChildIndexes(t=null,e=-1){if(t!=this.parent)throw new Ue("parents don't match; expected "+t.toString()+" found "+this.parent.toString());if(e!=this.childIndex)throw new Ue("child indexes don't match; expected "+e.toString()+" found "+this.childIndex.toString());var r=this.childCount;for(let e=0;e<r;e++){let t=this.getChild(e);t.sanityCheckParentAndChildIndexes(this,e)}}hasAncestor(t){return null!=this.getAncestor(t)}getAncestor(t){let e=this.parent;while(null!=e){if(e.type==t)return e;e=e.parent}return null}getAncestors(){if(null==this.parent)return null;let t=new Ee,e=this.parent;while(null!=e)t.insert(0,e),e=e.parent;return t}toStringTree(){if(null==this.children||0==this.children.length)return this.toString();let r="";this.isNil||(r+="(",r+=this.toString(),r+=" ");for(let e=0;null!=this.children&&e<this.children.length;e++){let t=this.children[e];0<e&&(r+=" "),r+=t.toStringTree()}return this.isNil||(r+=")"),r}toString(){return null}dupNode(){return null}};Ae.N.BaseTree=c}{let i=class extends Ae.N.BaseTree{constructor(t){if(super(),this.startIndex=-1,this.stopIndex=-1,this.childIndex=-1,null!=t&&t.stimulsoft().is(i)){if(null==t)throw new Ue("ArgumentNullException");this.token=t.token,this.startIndex=t.startIndex,this.stopIndex=t.stopIndex}else this.token=t}get isNil(){return null==this.token}get text(){if(null==this.token)return null;return this.token.text}get tokenStartIndex(){if(-1==this.startIndex&&null!=this.token)return this.token.tokenIndex;return this.startIndex}set tokenStartIndex(t){this.startIndex=t}get tokenStopIndex(){if(-1==this.stopIndex&&null!=this.token)return this.token.tokenIndex;return this.stopIndex}set tokenStopIndex(t){this.stopIndex=t}get type(){if(null==this.token)return Ae.M.TokenTypes.invalid;return this.token.type}dupNode(){return new i(this)}setUnknownTokenBoundaries(){if(null==this.children)return void((this.startIndex<0||this.stopIndex<0)&&(this.startIndex=this.stopIndex=this.token.tokenIndex));for(var e of this.children){let t=e.stimulsoft().as(i);if(null==t)continue;t.setUnknownTokenBoundaries()}if(0<=this.startIndex&&0<=this.stopIndex)return;var t,r;0<this.children.length&&(t=this.children[0],r=this.children[this.children.length-1],this.startIndex=t.tokenStartIndex,this.stopIndex=r.tokenStopIndex)}toString(){if(this.isNil)return"nil";if(this.type==Ae.M.TokenTypes.invalid)return"<errornode>";if(null==this.token)return"";return this.token.text}};Ae.N.CommonTree=i}Ae.N.ITreeNodeStream=new Ae.b.Interface("ITreeNodeStream");let An=Ae.N.ITreeNodeStream,xn=Ae.N.CommonTree;Ae.M.RecognitionException=class extends Ue{constructor(t="A recognition error occurred.",e,r=1,i){if(super(t,i),this.input=e,this._k=r,null!=e){this.index=e.index+r-1,e.stimulsoft().is(Ae.M.ITokenStream)&&(this.token=e.lt(r),this.line=this.token.line,this.charPositionInLine=this.token.charPositionInLine);var i=e.stimulsoft().as(An),n;if(null!=i)this.extractInformationFromTreeNodeStream2(i,r);else if(null!=e.stimulsoft().as(Ae.M.ICharStream)){var i=e.mark();try{for(let t=0;t<r-1;t++)e.consume();this._c=e.la(1),this.line=e.line,this.charPositionInLine=e.charPositionInLine}finally{e.rewind(i)}}else this._c=e.la(r)}}get unexpectedType(){if(this.input.stimulsoft().is(Ae.M.ITokenStream))return this.token.type;var e=this.input.stimulsoft().as(An);if(null!=e){let t=e.treeAdaptor;return t.getType(this.node)}return this._c}get lookahead(){return this._k}get character(){return String.fromCharCode(this._c)}set character(t){this._c=t.charCodeAt(0)}extractInformationFromTreeNodeStream(i){this.node=i.lt(1);let t=null,e=i.stimulsoft().as(Ae.N.IPositionTrackingStream);null!=e&&(t=e.getKnownPositionElement(!1),null==t&&(t=e.getKnownPositionElement(!0),this.approximateLineInfo=null!=t));var r=i.stimulsoft().as(Ae.M.ITokenStreamInformation);if(null!=r){var n=r.lastToken,a=r.lastRealToken;null!=a&&(this.token=a,this.line=a.line,this.charPositionInLine=a.charPositionInLine,this.approximateLineInfo=a==n)}else{let r=i.treeAdaptor;var a=r.getToken(null!=t?t:this.node),n,a;if(null!=a)if((this.token=a).line<=0){let t=-1,e=i.lt(t);while(null!=e){var s=r.getToken(e);if(null!=s&&0<s.line){this.line=s.line,this.charPositionInLine=s.charPositionInLine,this.approximateLineInfo=!0;break}--t;try{e=i.lt(t)}catch(t){e=null}}}else this.line=a.line,this.charPositionInLine=a.charPositionInLine;else this.node.stimulsoft().is(Ae.N.ITree)?(this.line=this.node.line,this.charPositionInLine=this.node.charPositionInLine,this.node.stimulsoft().is(xn)&&(this.token=this.node.token)):(n=r.getType(this.node),a=r.getText(this.node),this.token=Ae.M.CommonToken.create3(n,a))}}extractInformationFromTreeNodeStream2(e,r){var t=e.mark();try{for(let t=0;t<r-1;t++)e.consume();this.extractInformationFromTreeNodeStream(e)}finally{e.rewind(t)}}},Ae.M.EarlyExitException=class extends Ae.M.RecognitionException{constructor(t,e,r,i){super(t,r,1,i),this.decisionNumber=e}},Ae.M.FailedPredicateException=class extends Ae.M.RecognitionException{constructor(t,e,r,i,n){super(t,e,1,n),this.ruleName=r,this.predicateText=i}toString(){return"FailedPredicateException("+this.ruleName+",{"+this.predicateText+"}?)"}};var u=Ae.b.Attribute;Ae.M.GrammarRuleAttribute=class extends u{constructor(t){super(),this.name=t}},Ae.M.ICharStream=new Ae.b.Interface("ICharStream"),Ae.M.IIntStream=new Ae.b.Interface("IIntStream"),Ae.M.IToken=new Ae.b.Interface("IToken"),Ae.M.ITokenSource=new Ae.b.Interface("ITokenSource"),Ae.M.ITokenStream=new Ae.b.Interface("ITokenStream"),Ae.M.ITokenStreamInformation=new Ae.b.Interface("ITokenStreamInformation");{let t=class{constructor(t,e){this.channel=Ae.M.TokenChannels.default,this.discardOffChannelTokens=!1,this.p=-1,this.range=0,this.tokens=new Ee(500),this._tokenSource=t,this.channel=e}implements(){return t.ImplementsLegacyCommonTokenStream||(t.ImplementsLegacyCommonTokenStream=[Ae.M.ITokenStream]),t.ImplementsLegacyCommonTokenStream}get index(){return this.p}setTokenSource(t){this._tokenSource=t,this.tokens.clear(),this.p=-1,this.channel=Ae.M.TokenChannels.default}fillBuffer(){if(-1!=this.p)return;let e=0,r=this._tokenSource.nextToken();while(null!=r&&r.type!=Ae.M.CharStreamConstants.endOfFile){let t=!1;var i={ref:null};null!=this.channelOverrideMap&&this.channelOverrideMap.tryGetValue(r.type,i)&&(r.channel=i.ref),(null!=this.discardSet&&this.discardSet.contains(r.type)||this.discardOffChannelTokens&&r.channel!=this.channel)&&(t=!0),t||(r.tokenIndex=e,this.tokens.add(r),e++),r=this._tokenSource.nextToken()}this.p=0,this.p=this.skipOffTokenChannels(this.p)}consume(){this.p<this.tokens.length&&(this.p++,this.p=this.skipOffTokenChannels(this.p))}skipOffTokenChannels(t){var e=this.tokens.length;while(t<e&&this.tokens[t].channel!=this.channel)t++;return t}skipOffTokenChannelsReverse(t){while(0<=t&&this.tokens[t].channel!=this.channel)t--;return t}setTokenTypeChannel(t,e){null==this.channelOverrideMap&&(this.channelOverrideMap=new Ri),this.channelOverrideMap.set(t,e)}discardTokenType(t){null==this.discardSet&&(this.discardSet=new Ee),this.discardSet.add(t)}setDiscardOffChannelTokens(t){this.discardOffChannelTokens=t}getTokens(){return-1==this.p&&this.fillBuffer(),this.tokens}getTokens2(e,r,i){if(-1==this.p&&this.fillBuffer(),(r=r>=this.tokens.length?this.tokens.length-1:r)<(e=e<0?0:e))return null;let n=new Ee;for(let t=e;t<=r;t++){var a=this.tokens[t];null!=i&&!i.member(a.type)||n.add(a)}return 0==n.length&&(n=null),n}lt(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(t<0)return this.lb(-t);if(this.p+t-1>=this.tokens.length)return this.tokens[this.tokens.length-1];let e=this.p,r=1;while(r<t)e=this.skipOffTokenChannels(e+1),r++;if(e>=this.tokens.length)return this.tokens[this.tokens.length-1];return e>this.range&&(this.range=e),this.tokens[e]}lb(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(this.p-t<0)return null;let e=this.p,r=1;while(r<=t)e=this.skipOffTokenChannelsReverse(e-1),r++;if(e<0)return null;return this.tokens[e]}get(t){return this.tokens[t]}la(t){return this.lt(t).type}mark(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker}release(t){}get count(){return this.tokens.length}rewind(t){null==t&&(t=this.lastMarker),this.seek(t)}reset(){this.p=0,this.lastMarker=0}seek(t){this.p=t}get sourceName(){return this.tokenSource.sourceName}toString(){if(-1==this.p)throw new Ue("Buffer is not yet filled.");return this.toString2(0,this.tokens.length-1)}toString2(e,r){if(e<0||r<0)return null;if(-1==this.p)throw new Ue("Buffer is not yet filled.");r>=this.tokens.length&&(r=this.tokens.length-1);let i="";for(let t=e;t<=r;t++){var n=this.tokens[t];i+=n.text}return i}toString3(t,e){if(null!=t&&null!=e)return this.toString2(t.tokenIndex,e.tokenIndex);return null}};Ae.M.LegacyCommonTokenStream=t}{let t=class extends Ae.M.BaseRecognizer{constructor(t,e){super(e),this.input=t}implements(){return t.ImplementsLexer||(t.ImplementsLexer=[Ae.M.ITokenSource]),t.ImplementsLexer}get text(){if(null!=this.state.text)return this.state.text;return this.input.substring(this.state.tokenStartCharIndex,this.charIndex-this.state.tokenStartCharIndex)}set text(t){this.state.text=t}get line(){return this.input.line}set line(t){this.input.line=t}get charPositionInLine(){return this.input.charPositionInLine}set charPositionInLine(t){this.input.charPositionInLine=t}reset(){if(super.reset(),null!=this.input&&this.input.seek(0),null==this.state)return;this.state.token=null,this.state.type=Ae.M.TokenTypes.invalid,this.state.channel=Ae.M.TokenChannels.default,this.state.tokenStartCharIndex=-1,this.state.tokenStartCharPositionInLine=-1,this.state.tokenStartLine=-1,this.state.text=null}nextToken(){for(;;){if(this.state.token=null,this.state.channel=Ae.M.TokenChannels.default,this.state.tokenStartCharIndex=this.input.index,this.state.tokenStartCharPositionInLine=this.input.charPositionInLine,this.state.tokenStartLine=this.input.line,this.state.text=null,this.input.la(1)==Ae.M.CharStreamConstants.endOfFile)return this.getEndOfFileToken();try{if(this.parseNextToken(),null==this.state.token)this.emit();else if(this.state.token==Ae.M.Tokens.skip)continue;return this.state.token}catch(t){this.reportError(t)}}}getEndOfFileToken(){let t=Ae.M.CommonToken.create2(this.input,Ae.M.CharStreamConstants.endOfFile,Ae.M.TokenChannels.default,this.input.index,this.input.index);return t.line=this.line,t.charPositionInLine=this.charPositionInLine,t}skip(){this.state.token=Ae.M.Tokens.skip}mTokens(){}get charStream(){return this.input}set charStream(t){this.input=null,this.reset(),this.input=t}get sourceName(){return this.input.sourceName}emit2(t){this.state.token=t}emit(){let t=Ae.M.CommonToken.create2(this.input,this.state.type,this.state.channel,this.state.tokenStartCharIndex,this.charIndex-1);return t.line=this.state.tokenStartLine,t.text=this.state.text,t.charPositionInLine=this.state.tokenStartCharPositionInLine,this.emit2(t),t}match3(t){let e=0;while(e<t.length){if(this.input.la(1)!=t.charCodeAt(e)){if(0<this.state.backtracking)return void(this.state.failed=!0);var r=new Ae.M.MismatchedTokenException("",t.charCodeAt(e),this.input,this.tokenNames.stimulsoft().toList());throw this.recover2(r),r}e++,this.input.consume(),this.state.failed=!1}}matchAny(){this.input.consume()}match2(t){if(this.input.la(1)!=t){if(0<this.state.backtracking)return void(this.state.failed=!0);var t=new Ae.M.MismatchedTokenException("",t,this.input,this.tokenNames.stimulsoft().toList());throw this.recover2(t),t}this.input.consume(),this.state.failed=!1}matchRange(t,e){if(this.input.la(1)<t||this.input.la(1)>e){if(0<this.state.backtracking)return void(this.state.failed=!0);var e=new Ae.M.MismatchedRangeException("",t,e,this.input);throw this.recover2(e),e}this.input.consume(),this.state.failed=!1}get charIndex(){return this.input.index}reportError(t){this.displayRecognitionError(this.tokenNames,t)}getErrorMessage(e,t){let r=null;if(e.stimulsoft().is(Ae.M.MismatchedTokenException)){var i=e;r="mismatched character "+this.getCharErrorDisplay(e.character.charCodeAt(0))+" expecting "+this.getCharErrorDisplay(i.expecting)}else if(e.stimulsoft().is(Ae.M.NoViableAltException))r="no viable alternative at character "+this.getCharErrorDisplay(e.character.charCodeAt(0));else if(e.stimulsoft().is(Ae.M.EarlyExitException))r="required (...)+ loop did not match anything at character "+this.getCharErrorDisplay(e.character.charCodeAt(0));else if(e.stimulsoft().is(Ae.M.MismatchedNotSetException)){let t=e;r="mismatched character "+this.getCharErrorDisplay(e.character.charCodeAt(0))+" expecting set "+t.expecting.toString()}else if(e.stimulsoft().is(Ae.M.MismatchedSetException)){let t=e;r="mismatched character "+this.getCharErrorDisplay(e.character.charCodeAt(0))+" expecting set "+t.expecting.toString()}else{var i;r=e.stimulsoft().is(Ae.M.MismatchedRangeException)?(i=e,"mismatched character "+this.getCharErrorDisplay(e.character.charCodeAt(0))+" expecting set "+this.getCharErrorDisplay(i.a)+".."+this.getCharErrorDisplay(i.b)):super.getErrorMessage(e,t)}return r}getCharErrorDisplay(t){let e=String.fromCharCode(t);switch(t){case Ae.M.TokenTypes.endOfFile:e="<EOF>";break;case"\n".charCodeAt(0):e="\\n";break;case"\t".charCodeAt(0):e="\\t";break;case"\r".charCodeAt(0):e="\\r";break}return"'"+e+"'"}recover2(t){this.input.consume()}parseNextToken(){this.mTokens()}};Ae.M.Lexer=t}Ae.M.MismatchedSetException=class extends Ae.M.RecognitionException{constructor(t,e,r,i){super(t,r,1,i),this.expecting=e}toString(){return"MismatchedSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"}},Ae.M.MismatchedNotSetException=class extends Ae.M.MismatchedSetException{constructor(t,e,r,i){super(t,e,r,i)}toString(){return"MismatchedNotSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"}},Ae.M.MismatchedRangeException=class extends Ae.M.RecognitionException{constructor(t,e,r,i,n){super(t,i,1,n),this.a=e,this.b=r}toString(){return"MismatchedRangeException("+this.unexpectedType.toString()+" not in ["+this.a.toString()+","+this.b.toString()+"])"}},Ae.M.MismatchedTokenException=class extends Ae.M.RecognitionException{constructor(t,e,r,i,n){super(t,r,null,n),this.expecting=e,null!=i&&(this.tokenNames=new Ee(i))}toString(){let t=this.unexpectedType;var e,r;return"MismatchedTokenException("+(null!=this.tokenNames&&0<=t&&t<this.tokenNames.length?this.tokenNames[t]:t.toString())+"!="+(null!=this.tokenNames&&0<=this.expecting&&this.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString())+")"}},Ae.M.MismatchedTreeNodeException=class extends Ae.M.RecognitionException{constructor(t,e,r,i){super(t,r,1,i),this.expecting=e}toString(){return"MismatchedTreeNodeException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"}},Ae.M.MissingTokenException=class extends Ae.M.MismatchedTokenException{constructor(t,e,r,i,n,a){super(t,e,r,n,a),this._inserted=i}get missingType(){return this.expecting}toString(){if(null!=this._inserted&&null!=this.token)return"MissingTokenException(inserted "+this._inserted+" at "+this.token.text+")";if(null!=this.token)return"MissingTokenException(at "+this.token.text+")";return"MissingTokenException"}},Ae.M.NoViableAltException=class extends Ae.M.RecognitionException{constructor(t,e,r,i,n,a=1,s){super(t,n,a,s),this.grammarDecisionDescription=e,this.decisionNumber=r,this.stateNumber=i}toString(){return this.input.stimulsoft().is(Ae.M.ICharStream)?"NoViableAltException('"+String.fromCharCode(this.unexpectedType)+"'@["+this.grammarDecisionDescription+"])":"NoViableAltException("+this.unexpectedType.toString()+"@["+this.grammarDecisionDescription+"])"}},Ae.M.Parser=class extends Ae.M.BaseRecognizer{constructor(t,e){super(e),this.input=t}reset(){super.reset(),null!=this.input&&this.input.seek(0)}getCurrentInputSymbol(t){return this.input.lt(1)}getMissingSymbol(t,e,r,i){let n=null;n=r==Ae.M.TokenTypes.endOfFile?"<missing EOF>":"<missing "+this.tokenNames[r]+">";let a=Ae.M.CommonToken.create3(r,n),s=t.lt(1);return s.type==Ae.M.TokenTypes.endOfFile&&(s=t.lt(-1)),a.line=s.line,a.charPositionInLine=s.charPositionInLine,a.channel=this.defaultTokenChannel,a.inputStream=s.inputStream,a}get tokenStream(){return this.input}set tokenStream(t){this.input=null,this.reset(),this.input=t}get sourceName(){return this.input.sourceName}};{let r=class{constructor(){this.following=ke.create(Ae.M.BitSet,Ae.M.BaseRecognizer.initialFollowStackSize),this._fsp=-1,this.lastErrorIndex=-1,this.tokenStartCharIndex=-1}static recognizerSharedState(t){if(null==t)throw new Ue("ArgumentNullException");let e=new r;return e.following=t.following.stimulsoft().clone(),e._fsp=t._fsp,e.errorRecovery=t.errorRecovery,e.lastErrorIndex=t.lastErrorIndex,e.failed=t.failed,e.syntaxErrors=t.syntaxErrors,e.backtracking=t.backtracking,null!=t.ruleMemo&&(e.ruleMemo=t.ruleMemo.stimulsoft().clone()),e.token=t.token,e.tokenStartCharIndex=t.tokenStartCharIndex,e.tokenStartCharPositionInLine=t.tokenStartCharPositionInLine,e.channel=t.channel,e.type=t.type,e.text=t.text,e}};Ae.M.RecognizerSharedState=r}{let t=class extends Ae.M.ParserRuleReturnScope{implements(){return t.ImplementsTemplateParserRuleReturnScope||(t.ImplementsTemplateParserRuleReturnScope=super.implements().concat([Ae.M.ITemplateRuleReturnScope,Ae.M.ITemplateRuleReturnScope])),t.ImplementsTemplateParserRuleReturnScope}};Ae.M.TemplateParserRuleReturnScope=t}var m=class{};m.default=0,m.hidden=99,Ae.M.TokenChannels=m;{var p=class extends Ae.M.CommonTokenStream{constructor(t,e){super(t,e),this.DEFAULT_PROGRAM_NAME="default",this.PROGRAM_INIT_SIZE=100,this.MIN_TOKEN_INDEX=0,this.programs=null,this.lastRewriteTokenIndexes=null,this.init()}init(){this.programs=new Ri,this.programs.set(this.DEFAULT_PROGRAM_NAME,new Ee(this.PROGRAM_INIT_SIZE)),this.lastRewriteTokenIndexes=new Ri}rollback(t,r){var i={ref:null};if(this.programs.tryGetValue(t,i)&&null!=i.ref){let e=new Ee;for(let t=this.MIN_TOKEN_INDEX;t<=r;t++)e.add(i.ref[t]);this.programs.set(t,e)}}deleteProgram(t=this.DEFAULT_PROGRAM_NAME){this.rollback(t,this.MIN_TOKEN_INDEX)}unsertAfter(t,e,r){this.insertBefore(t,e+1,r)}insertBefore(t,e,r){let i=new d(this,e,r),n=this.getProgram(t);i.instructionIndex=n.length,n.add(i)}replace(t,e,r,i){if(r<e||e<0||r<0||r>=this._tokens.length)throw new Ue("replace: range invalid: "+e.toString()+".."+r.toString()+"(size="+this._tokens.length.toString()+")");let n=new m(this,e,r,i),a=this.getProgram(t);n.instructionIndex=a.length,a.add(n)}replace2(t,e,r,i){this.replace(t,e.tokenIndex,r.tokenIndex,i)}delete(t,e,r){this.replace2(t,e,r,null)}getLastRewriteTokenIndex(t){var e={ref:null};if(this.lastRewriteTokenIndexes.tryGetValue(t,e))return e.ref;return-1}setLastRewriteTokenIndex(t,e){this.lastRewriteTokenIndexes.set(t,e)}getProgram(t){let e={ref:null};return this.programs.tryGetValue(t,e)&&null!=e.ref||(e.ref=this.initializeProgram(t)),e.ref}initializeProgram(t){var e=new Ee(this.PROGRAM_INIT_SIZE);return this.programs.set(t,e),e}toOriginalString(){return this.fill(),this.toOriginalString2(this.MIN_TOKEN_INDEX,this.count-1)}toOriginalString2(e,r){let i="";for(let t=e;t>=this.MIN_TOKEN_INDEX&&t<=r&&t<this._tokens.length;t++)this.get(t).type!=Ae.M.CharStreamConstants.endOfFile&&(i+=this.get(t).text);return i}toString(){return this.fill(),this.toString3(this.DEFAULT_PROGRAM_NAME,this.MIN_TOKEN_INDEX,this.count-1)}toString3(t,e,r){let i={ref:null};if(this.programs.tryGetValue(t,i)||(i.ref=null),r>this._tokens.length-1&&(r=this._tokens.length-1),e<0&&(e=0),null==i.ref||0==i.ref.length)return this.toOriginalString2(e,r);let n="",a=this.reduceToSingleOperationPerIndex(i.ref),s=e;while(s<=r&&s<this._tokens.length){let t={ref:null};var o=a.tryGetValue(s,t),o;o&&a.remove(s),o&&null!=t.ref?s=t.ref.execute(n):((o=this._tokens[s]).type!=Ae.M.CharStreamConstants.endOfFile&&(n+=o.text),s++)}if(r==this._tokens.length-1)for(var l of a.values)l.index>=this._tokens.length-1&&(n+=l.text);return n}reduceToSingleOperationPerIndex(n){for(let e=0;e<n.length;e++){let t=n[e];if(null==t)continue;if(!t.stimulsoft().is(m))continue;let r=n[e];var i=this.getKindOfOps(n,d,e);for(let e=0;e<i.length;e++){let t=i[e];t.index==r.index?(n[t.instructionIndex]=null,r.text=t.text.toString()+(null!=r.text?r.text.toString():"")):t.index>r.index&&t.index<=r.lastIndex&&(n[t.instructionIndex]=null)}var a=this.getKindOfOps(n,m,e);for(let e=0;e<a.length;e++){let t=a[e];if(t.index>=r.index&&t.lastIndex<=r.lastIndex){n[t.instructionIndex]=null;continue}var s=t.lastIndex<r.index||t.index>r.lastIndex,o=t.index==r.index&&t.lastIndex==r.lastIndex;if(null!=t.text||null!=r.text||s){if(!s&&!o)throw new Ue("replace op boundaries of "+r.toString()+" overlap with previous "+t.toString())}else n[t.instructionIndex]=null,r.index=Math.min(t.index,r.index),r.lastIndex=Math.max(t.lastIndex,r.lastIndex)}}for(let i=0;i<n.length;i++){let t=n[i];if(null==t)continue;if(!t.stimulsoft().is(d))continue;let r=n[i];var e=this.getKindOfOps(n,d,i);for(let t=0;t<e.length;t++){var l=e[t];l.index==r.index&&(r.text=this.catOpText(r.text,l.text),n[l.instructionIndex]=null)}var u=this.getKindOfOps(n,m,i);for(let e=0;e<u.length;e++){let t=u[e];if(r.index==t.index){t.text=this.catOpText(r.text,t.text),n[i]=null;continue}if(r.index>=t.index&&r.index<=t.lastIndex)throw new Ue("insert op "+r.toString()+" within boundaries of previous "+t.toString())}}let r=new Ri;for(let t=0;t<n.length;t++){var h=n[t];if(null==h)continue;var c={ref:null};if(r.tryGetValue(h.index,c)&&null!=c.ref)throw new Ue("should only be one op per index");r.set(h.index,h)}return r}catOpText(t,e){return t+e}getKindOfOps(e,r,i=e.length){let n=new Ee;for(let t=0;t<i&&t<e.length;t++){var a=e[t];if(null==a)continue;Wr.getType(a)==r&&n.add(a)}return n}toDebugString(e=this.MIN_TOKEN_INDEX,r=this.count-1){let i="";for(let t=e;t>=this.MIN_TOKEN_INDEX&&t<=r&&t<this._tokens.length;t++)i+=this.get(t);return i}};Ae.M.TokenRewriteStream=p;var P=class{constructor(t,e,r){this.index=e,this.text=r,this.stream=t}execute(t){return this.index}toString(){let t=Wr.getTypeName(this);var e=t.indexOf("$");return t=t.substring(e+1),`<${t}@${this.stream._tokens[this.index].toString()}:\"${this.text}\">"`}};Ae.M.RewriteOperation=P;let d=class extends P{constructor(t,e,r){super(t,e,r)}execute(t){return t+=this.text,this.stream._tokens[this.index].type!=Ae.M.CharStreamConstants.endOfFile&&(t+=this.stream._tokens[this.index].text),this.index+1}};Ae.M.InsertBeforeOp=d;let m=class extends P{constructor(t,e,r,i){super(t,e,i),this.lastIndex=r}execute(t){return null!=this.text&&(t+=this.text),this.lastIndex+1}toString(){if(null==this.text)return`<DeleteOp@${this.stream._tokens[this.index].toString()}..${this.stream._tokens[this.lastIndex].toString()}>`;return`<ReplaceOp@${this.stream._tokens[this.index].toString()}..${this.stream._tokens[this.lastIndex].toString()}:\"${this.text}\">`}};Ae.M.ReplaceOp=m}var x=class{};x.endOfFile=Ae.M.CharStreamConstants.endOfFile,x.invalid=0,x.endOfRule=1,x.down=2,x.min=(x.up=3)+1,Ae.M.TokenTypes=x;var b=class{};b.skip=Ae.M.CommonToken.create1(Ae.M.TokenTypes.invalid),Ae.M.Tokens=b,Ae.O.ListStack=class extends Ee{peek(t=0){var e;if(!this.tryPeek2(t,e))throw new Ue("InvalidOperationException");return e.item}tryPeek(t){return this.tryPeek2(0,t)}tryPeek2(t,e){if(t>=this.length)return!1;return e.item=this[this.length-t-1],!0}pop(){var t;if(!this.tryPop({item:t}))throw new Ue("InvalidOperationException");return t}tryPop(t){if(0==this.length)return!1;return t.item=this[this.length-1],this.removeAt(this.length-1),!0}},Ae.O.FastQueue=class{constructor(){this._data=new Ee,this._p=0,this.range=0}get count(){return this._data.length-this._p}get(t){var t=this._p+t;if(t>=this._data.length)throw new Error(`queue index ${t} > last index ${this._data.length-1}`);if(t<0)throw new Error(`queue index ${t} < 0`);return t>this.range&&(this.range=t),this._data[t]}dequeue(){if(0==this.count)throw new Ue("InvalidOperationException");var t=this.get(0);return this._p++,this._p==this._data.length&&this.clear(),t}enqueue(t){this._data.add(t)}peek(){return this.get(0)}clear(){this._p=0,this._data.clear()}toString(){let e="";var r=this.count;for(let t=0;t<r;t++)e+=this.get(t),t+1<r&&(e+=" ");return e}},Ae.O.LookaheadStream=class extends Ae.O.FastQueue{constructor(){super(...arguments),this._currentElementIndex=0,this._eof=null}get endOfFile(){return this._eof}set endOfFile(t){this._eof=t}get previousElement(){return this._previousElement}reset(){this.clear(),this._currentElementIndex=0,this._p=0,this._previousElement=null}nextElement(){return null}isEndOfFile(t){return null}dequeue(){var t=this.get(0);return this._p++,this._p==this._data.length&&0==this._markDepth&&(this._previousElement=t,this.clear()),t}consume(){this.syncAhead(1),this.dequeue(),this._currentElementIndex++}syncAhead(t){var t=this._p+t-1-this._data.length+1;0<t&&this.fill(t)}fill(e){for(let t=0;t<e;t++){var r=this.nextElement();this.isEndOfFile(r)&&(this._eof=r),this._data.add(r)}}get count(){throw new Ue("streams are of unknown size")}lt(t){if(0==t)return null;if(t<0)return this.lb(-t);if(this.syncAhead(t),this._p+t-1>this._data.length)return this._eof;return this[t-1]}get index(){return this._currentElementIndex}mark(){return this._markDepth++,this._lastMarker=this._p,this._lastMarker}release(t){if(0==this._markDepth)throw new Ue("InvalidOperationException");this._markDepth--}rewind2(t){this._markDepth--;var e=this._p-t;this._currentElementIndex-=e,this._p=t}rewind(){var t=this._p-this._lastMarker;this._currentElementIndex-=t,this._p=this._lastMarker}seek(t){if(t<0)throw new Ue("ArgumentOutOfRangeException");var e=this._currentElementIndex-t;if(this._p-e<0)throw new Ue("can't seek before the beginning of this stream's buffer");this._p-=e,this._currentElementIndex=t}lb(t){var t=this._p-t;if(-1==t)return this._previousElement;if(0<=t)return this._data[t];if(t<-1)throw new Ue("can't look more than one token before the beginning of this stream's buffer");throw new Ue("can't look past the end of this stream's buffer using LB(int)")}};var v=Ae.O.LookaheadStream,Dn,Bn,B;let En=Ae.O.ListStack;{let t=class extends v{constructor(t){super(),this.channel=Ae.M.TokenChannels.default,this._realTokens=new En,this.maxLookBehind=1,this.tokenSource=t}implements(){return t.ImplementsUnbufferedTokenStream||(t.ImplementsUnbufferedTokenStream=[Ae.M.ITokenStream,Ae.M.ITokenStreamInformation]),t.ImplementsUnbufferedTokenStream}get sourceName(){return this.tokenSource.sourceName}get lastToken(){return this.lb(1)}get lastRealToken(){return this._realTokens.stimulsoft().peek()}mark(){return this._realTokens.push(this._realTokens.stimulsoft().peek()),super.mark()}release(t){super.release(t),this._realTokens.pop()}clear(){this._realTokens.clear(),this._realTokens.push(null)}consume(){super.consume(),null!=this.previousElement&&0<this.previousElement.line&&(this._realTokens[this._realTokens.length-1]=this.previousElement)}extElement(){let t=this.tokenSource.nextToken();return t.tokenIndex=this.tokenIndex++,t}isEndOfFile(t){return t.type==Ae.M.CharStreamConstants.endOfFile}get(t){throw new Ue("Absolute token indexes are meaningless in an unbuffered stream")}la(t){return this.lt(t).type}toString2(t,e){return"n/a"}};Ae.M.UnbufferedTokenStream=t}Ae.M.UnwantedTokenException=class extends Ae.M.MismatchedTokenException{constructor(t,e,r,i,n){super(t,e,r,i,n)}get unexpectedToken(){return this.token}toString(){var t;let e=", expected "+(null!=this.tokenNames&&0<=this.expecting&&this.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString());if(this.expecting==Ae.M.TokenTypes.invalid&&(e=""),null==this.token)return"UnwantedTokenException(found="+e+")";return"UnwantedTokenException(found="+this.token.text+e+")"}},Ae.O.Action=class{},Ae.O.Func=class extends Function{},Ae.O.RegexOptionsHelper=class{},Ae.N.AntlrRuntime_BaseTreeDebugView=class{constructor(t){this._tree=t}get children(){if(null==this._tree||null==this._tree.children)return null;var t=ke.create(null,this._tree.children.length);return this._tree.children.copyTo(t,0),t}};{let t=class{implements(){return t.ImplementsTreeRuleReturnScope||(t.ImplementsTreeRuleReturnScope=[Ae.M.IRuleReturnScope]),t.ImplementsTreeRuleReturnScope}};Ae.N.TreeRuleReturnScope=t}{let t=class extends Ae.N.TreeRuleReturnScope{implements(){return t.ImplementsAstTreeRuleReturnScope||(t.ImplementsAstTreeRuleReturnScope=super.implements().concat([Ae.M.IAstRuleReturnScope,Ae.M.IAstRuleReturnScope])),t.ImplementsAstTreeRuleReturnScope}};Ae.N.AstTreeRuleReturnScope=t}{let t=class{constructor(){this.uniqueNodeID=1}implements(){return t.ImplementsBaseTreeAdaptor||(t.ImplementsBaseTreeAdaptor=[Ae.N.ITreeAdaptor]),t.ImplementsBaseTreeAdaptor}nil(){return this.create(null)}errorNode(t,e,r,i){var n;return new Ae.N.CommonErrorNode(t,e,r,i)}isNil(t){return t.isNil}dupNode(t,e,r){var e=this.dupNode2(e);return this.setType(e,t),this.setText(e,r),e}dupTree(e,t){if(null==e)return null;var r=this.dupNode2(e);this.setChildIndex(r,this.getChildIndex(e)),this.setParent(r,t);var i=this.getChildCount(e);for(let t=0;t<i;t++){var n=this.getChild(e,t),n=this.dupTree(n,e);this.addChild(r,n)}return r}addChild(t,e){null!=t&&null!=e&&t.addChild(e)}becomeRoot(t,e){let r=t;var i=e;if(null==e)return t;if(r.isNil){var t=r.childCount;if(1==t)r=r.getChild(0);else if(1<t)throw new Ue("more than one node as root (TODO: make exception hierarchy)")}return r.addChild(i),r}rulePostProcessing(t){let e=t;return null!=e&&e.isNil&&(0==e.childCount?e=null:1==e.childCount&&(e=e.getChild(0),e.parent=null,e.childIndex=-1)),e}becomeRoot2(t,e){return this.becomeRoot(this.create(t),e)}create5(t,e){var r;return(e=this.createToken(e)).type=t,this.create(e)}create2(t,e,r){if(null==e)return this.create4(t,r);var i;return(e=this.createToken(e)).type=t,e.text=r,this.create(e)}create3(t,e){if(null==t)throw new Ue("ArgumentNullException");var r;return(t=this.createToken(t)).text=e,this.create(t)}create4(t,e){var e=this.createToken2(t,e),r;return this.create(e)}getType(t){var t=this.getTree(t);if(null==t)return Ae.M.TokenTypes.invalid;return t.type}setType(t,e){throw new Ue("don't know enough about Tree node")}getText(t){var t=this.getTree(t);if(null==t)return null;return t.text}setText(t,e){throw new Ue("don't know enough about Tree node")}getChild(t,e){let r=this.getTree(t);if(null==r)return null;return r.getChild(e)}setChild(t,e,r){let i=this.getTree(t);if(null==i)return;var r=this.getTree(r);i.setChild(e,r)}deleteChild(t,e){return t.deleteChild(e)}getChildCount(t){var t=this.getTree(t);if(null==t)return 0;return t.childCount}getUniqueID(t){null==this.treeToUniqueIDMap&&(this.treeToUniqueIDMap=new Ri);var e={ref:null};if(this.treeToUniqueIDMap.tryGetValue(t,e))return e.ref;var e=this.uniqueNodeID;return this.treeToUniqueIDMap.set(t,e),this.uniqueNodeID++,e}createToken2(t,e){return null}createToken(t){return null}create(t){return null}dupNode2(t){let e=this.getTree(t);if(null==e)return null;return e.dupNode()}getToken(t){return null}setTokenBoundaries(t,e,r){let i=this.getTree(t);if(null==i)return;let n=0,a=0;null!=e&&(n=e.tokenIndex),null!=r&&(a=r.tokenIndex),i.tokenStartIndex=n,i.tokenStopIndex=a}getTokenStartIndex(t){var t=this.getTree(t);if(null==t)return-1;return t.tokenStartIndex}getTokenStopIndex(t){var t=this.getTree(t);if(null==t)return-1;return t.tokenStopIndex}getParent(t){var t=this.getTree(t);if(null==t)return null;return t.parent}setParent(t,e){let r=this.getTree(t);if(null==r)return;var e=this.getTree(e);r.parent=e}getChildIndex(t){var t=this.getTree(t);if(null==t)return 0;return t.childIndex}setChildIndex(t,e){let r=this.getTree(t);if(null==r)return;r.childIndex=e}replaceChildren(t,e,r,i){let n=this.getTree(t);if(null==n)return;n.replaceChildren(e,r,i)}getTree(t){if(null==t)return null;var t=t.stimulsoft().as(Ae.N.ITree);if(null==t)throw new Ue("NotSupportedException");return t}};Ae.N.BaseTreeAdaptor=t}let kn=Ae.bi.Stack;{let t=class{constructor(t,e,r){this.DEFAULT_INITIAL_BUFFER_SIZE=100,this.INITIAL_CALL_STACK_SIZE=10,this.uniqueNavigationNodes=!1,this.p=-1,this.maxLookBehind=Number.MAX_VALUE,null==t&&(t=new Ae.N.CommonTreeAdaptor),null==r&&(r=this.DEFAULT_INITIAL_BUFFER_SIZE),this.root=e,this.adaptor=t,this.nodes=new Ee(r),this.down=t.create4(Ae.M.TokenTypes.down,"DOWN"),this.up=t.create4(Ae.M.TokenTypes.up,"UP"),this.eof=t.create4(Ae.M.TokenTypes.endOfFile,"EOF")}implements(){return t.ImplementsBufferedTreeNodeStream||(t.ImplementsBufferedTreeNodeStream=[Ae.N.ITreeNodeStream,Ae.M.ITokenStreamInformation]),t.ImplementsBufferedTreeNodeStream}get count(){if(-1==this.p)throw new Ue("Cannot determine the Count before the buffer is filled.");return this.nodes.length}get treeSource(){return this.root}get sourceName(){return this.tokenStream.sourceName}get tokenStream(){return this.tokens}set tokenStream(t){this.tokens=t}get treeAdaptor(){return this.adaptor}set treeAdaptor(t){this.adaptor=t}get lastToken(){return this.treeAdaptor.getToken(this.lb(1))}get lastRealToken(){let t=0,e;do{t++,e=this.treeAdaptor.getToken(this.lb(t))}while(null!=e&&e.line<=0);return e}fillBuffer(){this.fillBuffer2(this.root),this.p=0}fillBuffer2(e){var t=this.adaptor.isNil(e);t||this.nodes.add(e);var r=this.adaptor.getChildCount(e);!t&&0<r&&this.addNavigationNode(Ae.M.TokenTypes.down);for(let t=0;t<r;t++){var i=this.adaptor.getChild(e,t);this.fillBuffer2(i)}!t&&0<r&&this.addNavigationNode(Ae.M.TokenTypes.up)}getNodeIndex(e){-1==this.p&&this.fillBuffer();for(let t=0;t<this.nodes.length;t++){var r;if(this.nodes[t]==e)return t}return-1}addNavigationNode(t){let e=null;e=t==Ae.M.TokenTypes.down?this.uniqueNavigationNodes?this.adaptor.create4(Ae.M.TokenTypes.down,"DOWN"):this.down:this.uniqueNavigationNodes?this.adaptor.create4(Ae.M.TokenTypes.up,"UP"):this.up,this.nodes.add(e)}get(t){if(-1==this.p)throw new Ue("Cannot get the node at index i before the buffer is filled.");return this.nodes[t]}lt(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(t<0)return this.lb(-t);if(this.p+t-1>=this.nodes.length)return this.eof;return this.nodes[this.p+t-1]}getCurrentSymbol(){return this.lt(1)}lb(t){if(0==t)return null;if(this.p-t<0)return null;return this.nodes[this.p-t]}consume(){-1==this.p&&this.fillBuffer(),this.p++}la(t){return this.adaptor.getType(this.lt(t))}mark(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker}release(t){}get index(){return this.p}rewind2(t){this.seek(t)}rewind(){this.seek(this.lastMarker)}seek(t){-1==this.p&&this.fillBuffer(),this.p=t}push(t){null==this.calls&&(this.calls=new kn),this.calls.push(this.p),this.seek(t)}pop(){var t=this.calls.pop();return this.seek(t),t}reset(){this.p=0,this.lastMarker=0,null!=this.calls&&this.calls.clear()}iterator(){return-1==this.p&&this.fillBuffer(),new e(this)}replaceChildren(t,e,r,i){null!=t&&this.adaptor.replaceChildren(t,e,r,i)}toTokenTypeString(){-1==this.p&&this.fillBuffer();let e="";for(let t=0;t<this.nodes.length;t++){var r=this.nodes[t];e+=" ",e+=this.adaptor.getType(r)}return e}toTokenString(e,r){-1==this.p&&this.fillBuffer();let i="";for(let t=e;t<this.nodes.length&&t<=r;t++){var n=this.nodes[t];i+=" ",i+=this.adaptor.getToken(n)}return i}toString(e,r){if(null==e||null==r)return null;if(-1==this.p)throw new Ue("Buffer is not yet filled.");if(null!=this.tokens){var i=this.adaptor.getTokenStartIndex(e);let t=this.adaptor.getTokenStopIndex(r);return this.adaptor.getType(r)==Ae.M.TokenTypes.up?t=this.adaptor.getTokenStopIndex(e):this.adaptor.getType(r)==Ae.M.TokenTypes.endOfFile&&(t=this.count-2),this.tokens.toString(i,t)}let n=null,a=0;for(;a<this.nodes.length;a++)if(n=this.nodes[a],n==e)break;let s="";n=this.nodes[a];while(n!=r){let t=this.adaptor.getText(n);null==t&&(t=" "+this.adaptor.getType(n).toString()),s+=t,a++,n=this.nodes[a]}let t=this.adaptor.getText(r);return null==t&&(t=" "+this.adaptor.getType(r).toString()),s+=t,s}};Ae.N.BufferedTreeNodeStream=t;let e=class extends Ee{constructor(t){super(),this._outer=t,this._index=-1}get current(){if(this._index<this._outer.nodes.length)return this._outer.nodes[this._index];return this._outer.eof}dispose(){}moveNext(){return this._index<this._outer.nodes.length&&this._index++,this._index<this._outer.nodes.length}reset(){this._index=-1}};Ae.N.StreamIterator=e}Ae.N.CommonErrorNode=class extends Ae.N.CommonTree{constructor(t,e,r,i){super(),(null==r||r.tokenIndex<e.tokenIndex&&r.type!=Ae.M.TokenTypes.endOfFile)&&(r=e),this.input=t,this.start=e,this.stop=r,this.trappedException=i}get isNil(){return!1}get text(){let e=null;if(this.start.stimulsoft().is(Ae.M.IToken)){var r=this.start.tokenIndex;let t=this.stop.tokenIndex;this.stop.type==Ae.M.TokenTypes.endOfFile&&(t=this.input.count),e=this.input.toString(r,t)}else e=this.start.stimulsoft().is(Ae.N.ITree)?this.input.toString(this.start,this.stop):"<unknown>";return e}get type(){return Ae.M.TokenTypes.invalid}toString(){if(this.trappedException.stimulsoft().is(Ae.M.MissingTokenException))return"<missing type: "+this.trappedException.missingType.toString()+">";if(this.trappedException.stimulsoft().is(Ae.M.UnwantedTokenException))return"<extraneous: "+this.trappedException.unexpectedToken.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft().is(Ae.M.MismatchedTokenException))return"<mismatched token: "+this.trappedException.token.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft().is(Ae.M.NoViableAltException))return"<unexpected: "+this.trappedException.token.toString()+", resync="+Text.toString()+">";return"<error: "+Text.toString()+">"}},Ae.N.CommonTreeAdaptor=class extends Ae.N.BaseTreeAdaptor{create(t){return new Ae.N.CommonTree(t)}createToken2(t,e){return Ae.M.CommonToken.create3(t,e)}createToken(t){return Ae.M.CommonToken.create4(t)}getToken(t){if(t.stimulsoft().is(Ae.N.CommonTree))return t.token;return null}};{let t=class extends v{constructor(t,e){super(),this.DEFAULT_INITIAL_BUFFER_SIZE=100,this.INITIAL_CALL_STACK_SIZE=10,this._hasNilRoot=!1,this._level=0,this.uniqueNavigationNodes=!1,this._root=e,this._adaptor=t,this._it=new Ae.N.TreeIterator(t,this._root)}implements(){return t.ImplementsCommonTreeNodeStream||(t.ImplementsCommonTreeNodeStream=[Ae.N.ITreeNodeStream,Ae.N.IPositionTrackingStream]),t.ImplementsCommonTreeNodeStream}get sourceName(){if(null==this.tokenStream)return null;return this.tokenStream.sourceName}get tokenStream(){return this.tokens}set tokenStream(t){this.tokens=t}get treeAdaptor(){return this._adaptor}set treeAdaptor(t){this._adaptor=t}get treeSource(){return this._root}reset(){super.reset(),this._it.reset(),this._hasNilRoot=!1,this._level=0,this._previousLocationElement=null,null!=this._calls&&this._calls.clear()}nextElement(){this._it.moveNext();let t=this._it.current;if(t==this._it.up){if(this._level--,0==this._level&&this._hasNilRoot)return this._it.moveNext(),this._it.current}else t==this._it.down&&this._level++;return 0==this._level&&this.treeAdaptor.isNil(t)&&(this._hasNilRoot=!0,this._it.moveNext(),t=this._it.current,this._level++,this._it.moveNext(),t=this._it.current),t}dequeue(){var t=super.dequeue();return 0==this._p&&this.hasPositionInformation(this.previousElement)&&(this._previousLocationElement=this.previousElement),t}isEndOfFile(t){return this.treeAdaptor.getType(t)==Ae.M.CharStreamConstants.endOfFile}la(t){return this.treeAdaptor.getType(this.lt(t))}push(t){null==this._calls&&(this._calls=new kn),this._calls.push(this._p),this.seek(t)}pop(){var t=this._calls.pop();return this.seek(t),t}getKnownPositionElement(t){let e=this._data[this._p];if(this.hasPositionInformation(e))return e;if(!t)return null;for(let t=this._p-1;0<=t;t--)if(e=this._data[t],this.hasPositionInformation(e))return e;return this._previousLocationElement}hasPositionInformation(t){var t=this.treeAdaptor.getToken(t);if(null==t)return!1;if(t.line<=0)return!1;return!0}replaceChildren(t,e,r,i){null!=t&&this.treeAdaptor.replaceChildren(t,e,r,i)}toString1(t,e){return"n/a"}toTokenTypeString(){this.reset();let t="";var e=this.lt(1);let r=this.treeAdaptor.getType(e);while(r!=Ae.M.TokenTypes.endOfFile)t+=" ",t+=r,this.consume(),e=this.lt(1),r=this.treeAdaptor.getType(e);return t}};Ae.N.CommonTreeNodeStream=t}Ae.N.DotTreeGenerator=class{constructor(){this.headerLines=["digraph {","","\tordering=out;","\tranksep=.4;",'\tbgcolor="lightgrey"; node [shape=box, fixedsize=false, fontsize=12, fontname="Helvetica-bold", fontcolor="blue"','\t\twidth=.25, height=.25, color="black", fillcolor="white", style="filled, solid, bold"];','\tedge [arrowsize=.5, color="black", style="bold"]',""],this.footer="}",this.nodeFormat='  {0} [label="{1}"];',this.edgeFormat='  {0} -> {1} // "{2}" -> "{3}"',this.nodeToNumberMap=new Ri,this.nodeNumber=0}toDot2(t,e){let r="";for(var i of this.headerLines)r+=i+"\r\n";this.nodeNumber=0;var n=this.defineNodes(t,e);this.nodeNumber=0;var e=this.defineEdges(t,e),a,s;for(a of n)r+=a+"\r\n";r+="\r\n";for(s of e)r+=s+"\r\n";return r+="\r\n",r+=this.footer+"\r\n",r}toDot(t){return this.toDot2(t,new Ae.N.CommonTreeAdaptor)}defineNodes(t,e){return null}defineEdges(t,e){return null}getNodeText(t,e){var t=t.getText(e),e="n"+this.getNodeNumber(e).toString();return De.format(this.nodeFormat,e,this.fixString(t))}getNodeNumber(t){var e={ref:null};return this.nodeToNumberMap.tryGetValue(t,e)?e.ref:(this.nodeToNumberMap.set(t,this.nodeNumber),this.nodeNumber++,this.nodeNumber-1)}fixString(t){return t=null!=t&&20<(t=(t=(t=(t=t.stimulsoft().replaceAll('"','\\\\"')).stimulsoft().replaceAll("\\t","    ")).stimulsoft().replaceAll("\\n","\\\\n")).stimulsoft().replaceAll("\\r","\\\\r")).length?t.substring(0,8)+"..."+t.substring(t.length-8):t}},Ae.N.IPositionTrackingStream=new Ae.b.Interface("IPositionTrackingStream"),Ae.N.ITree=new Ae.b.Interface("ITree"),Ae.N.ITreeAdaptor=new Ae.b.Interface("ITreeAdaptor");{Ae.N.ITreeVisitorAction=new Ae.b.Interface("ITreeVisitorAction");let t=class{implements(){return t.ImplementsTreeVisitorAction||(t.ImplementsTreeVisitorAction=[Ae.N.ITreeVisitorAction]),t.ImplementsTreeVisitorAction}pre(t){return t}post(t){return t}};Ae.N.TreeVisitorAction=t}Ae.N.ParseTree=class extends Ae.N.BaseTree{constructor(t){super(),this._tokenStartIndex=0,this._tokenStopIndex=0,this._type=0,this.payload=t}get text(){return this.toString()}dupNode(){return null}toString(){if(this.payload.stimulsoft().is(Ae.M.IToken)){var t=this.payload;if(t.type==Ae.M.TokenTypes.endOfFile)return"<EOF>";return t.text}return this.payload.toString()}toStringWithHiddenTokens(){let e="";if(null!=this.hiddenTokens)for(let t=0;t<this.hiddenTokens.length;t++){var r=this.hiddenTokens[t];e+=r.text}var t=this.toString();return"<EOF>"!=t&&(e+=t),e}toInputString(){var t="";return this.toStringLeaves(t),t}toStringLeaves(r){if(this.payload.stimulsoft().is(Ae.M.IToken))return void(r+=this.toStringWithHiddenTokens());for(let e=0;null!=this.children&&e<this.children.length;e++){let t=this.children[e];t.toStringLeaves(r)}}},Ae.N.RewriteCardinalityException=class extends Ue{constructor(t,e,r){super(t,r),this._elementDescription=e}},Ae.N.RewriteEarlyExitException=class extends Ae.N.RewriteCardinalityException{constructor(t,e,r){super(t,e,r)}},Ae.N.RewriteEmptyStreamException=class extends Ae.N.RewriteCardinalityException{constructor(t,e,r){super(t,e,r)}},Ae.N.RewriteRuleElementStream=class{constructor(t,e,r,i){this.cursor=0,this.dirty=!1,this.elementDescription=e,this.adaptor=t,null!=r&&this.add(r),null!=i&&(this.singleElement=null,this.elements=i)}reset(){this.cursor=0,this.dirty=!0}add(t){if(null==t)return;if(null!=this.elements)return void this.elements.add(t);if(null==this.singleElement)return void(this.singleElement=t);this.elements=new Ee(5),this.elements.add(this.singleElement),this.singleElement=null,this.elements.add(t)}nextTree(){var t=this.count,e;if(this.dirty||this.cursor>=t&&1==t){var t=this.nextCore();return this.dup(t)}return this.nextCore()}nextCore(){var t=this.count;if(0==t)throw new Ae.N.RewriteEmptyStreamException(this.elementDescription);if(this.cursor>=t){if(1==t)return this.toTree(this.singleElement);throw new Ae.N.RewriteCardinalityException(this.elementDescription)}if(null!=this.singleElement)return this.cursor++,this.toTree(this.singleElement);var t=this.toTree(this.elements[this.cursor]);return this.cursor++,t}dup(t){return null}toTree(t){return t}get hasNext(){return null!=this.singleElement&&this.cursor<1||null!=this.elements&&this.cursor<this.elements.length}get count(){let t=0;if(null!=this.singleElement&&(t=1),null!=this.elements)return this.elements.length;return t}get description(){return this.elementDescription}},Ae.N.RewriteRuleNodeStream=class extends Ae.N.RewriteRuleElementStream{constructor(t,e,r,i){super(t,e,r,i)}nextNode(){return this.nextCore()}toTree(t){return this.adaptor.dupNode(t)}dup(t){throw new Ue("dup can't be called for a node stream.")}},Ae.N.RewriteRuleSubtreeStream=class extends Ae.N.RewriteRuleElementStream{constructor(t,e,r,i){super(t,e,r,i)}nextNode(){var t=this.count,e;if(this.dirty||this.cursor>=t&&1==t){var t=this.nextCore();return this.adaptor.dupNode(t)}let r=this.nextCore();while(this.adaptor.isNil(r)&&1==this.adaptor.getChildCount(r))r=this.adaptor.getChild(r,0);return this.adaptor.dupNode(r)}dup(t){return this.adaptor.dupTree(t)}},Ae.N.RewriteRuleTokenStream=class extends Ae.N.RewriteRuleElementStream{constructor(t,e,r,i){super(t,e,r,i)}nextNode(){var t=this.nextCore();return this.adaptor.create(t)}nextToken(){return this.nextCore()}toTree(t){return t}dup(t){throw new Ue("dup can't be called for a token stream.")}};{let t=class extends Ae.N.TreeRuleReturnScope{implements(){return t.ImplementsTemplateTreeRuleReturnScope||(t.ImplementsTemplateTreeRuleReturnScope=super.implements().concat([Ae.M.ITemplateRuleReturnScope,Ae.M.ITemplateRuleReturnScope])),t.ImplementsTemplateTreeRuleReturnScope}};Ae.N.TemplateTreeRuleReturnScope=t}{let r=class extends Ae.M.BaseRecognizer{constructor(t,e){super(e),this.DOWN=Ae.M.TokenTypes.down,this.UP=Ae.M.TokenTypes.up,this.input=t}reset(){super.reset(),null!=this.input&&this.input.seek(0)}setTreeNodeStream(t){this.input=t}getTreeNodeStream(){return this.input}get sourceName(){return this.input.sourceName}getCurrentInputSymbol(t){return t.lt(1)}getMissingSymbol(t,e,r,i){var n="<missing "+this.tokenNames[r]+">";let a=e.input.treeAdaptor;return a.create(Ae.M.CommonToken.create3(r,n))}matchAny(t){var e;if(this.state.errorRecovery=!1,this.state.failed=!1,this.input.consume(),this.input.la(1)==this.DOWN){this.input.consume();let t=1;while(0<t){switch(this.input.la(1)){case this.DOWN:t++;break;case this.UP:t--;break;case Ae.M.TokenTypes.endOfFile:return;default:break}this.input.consume()}}}recoverFromMismatchedToken(t,e,r){throw new Ae.M.MismatchedTreeNodeException("",e,t)}getErrorHeader(t){return this.grammarFileName+": node from "+(t.approximateLineInfo?"after ":"")+"line "+t.line.toString()+":"+t.charPositionInLine.toString()}getErrorMessage(e,t){if(this.stimulsoft().is(r)){let t=e.input.treeAdaptor;e.token=t.getToken(e.node),null==e.token&&(e.token=Ae.M.CommonToken.create3(t.getType(e.node),t.getText(e.node)))}return super.getErrorMessage(e,t)}};r.dotdot=".*[^.]\\.\\.[^.].*",r.doubleEtc=".*\\.\\.\\.\\s+\\.\\.\\..*",Ae.N.TreeParser=r}Ae.N.TreeFilter=class extends Ae.N.TreeParser{constructor(t,e){super(t,e=null==e?new Ae.M.RecognizerSharedState:e),this.originalAdaptor=t.treeAdaptor,this.originalTokenStream=t.tokenStream}applyOnce(t,e){}downup(t){}topdown(){}bottomup(){}};let Nn=Ae.bi.Queue;Ae.N.TreeIterator=class extends Ee{constructor(t,e){super(),this.firstTime=!0,this.adaptor=t,this.tree=e,this.root=e,this.nodes=new Nn,this.down=t.create4(Ae.M.TokenTypes.down,"DOWN"),this.up=t.create4(Ae.M.TokenTypes.up,"UP"),this.eof=t.create4(Ae.M.TokenTypes.endOfFile,"EOF")}dispose(){}moveNext(){if(this.firstTime)this.firstTime=!1,0==this.adaptor.getChildCount(this.tree)&&this.nodes.enqueue(this.eof),this.current=this.tree;else if(null!=this.nodes&&0<this.nodes.count)this.current=this.nodes.dequeue();else if(null==this.tree)this.current=this.eof;else if(0<this.adaptor.getChildCount(this.tree))this.tree=this.adaptor.getChild(this.tree,0),this.nodes.enqueue(this.tree),this.current=this.down;else{let t=this.adaptor.getParent(this.tree);while(null!=t&&this.adaptor.getChildIndex(this.tree)+1>=this.adaptor.getChildCount(t))this.nodes.enqueue(this.up),this.tree=t,t=this.adaptor.getParent(this.tree);var e;null==t?(this.tree=null,this.nodes.enqueue(this.eof)):(e=this.adaptor.getChildIndex(this.tree)+1,this.tree=this.adaptor.getChild(t,e),this.nodes.enqueue(this.tree)),this.current=this.nodes.dequeue()}var e=this.current!=this.eof||!this.reachedEof;return this.reachedEof=this.current==this.eof,e}reset(){this.firstTime=!0,this.tree=this.root,this.nodes.clear()}};{let t=class{constructor(t){this.p=-1,this.sval="",this.error=!1,this.pattern=t,this.n=t.length,this.consume()}nextToken(){this.sval="";while(this.c!=Ae.M.CharStreamConstants.endOfFile){if(this.c==" ".charCodeAt(0)||this.c=="\n".charCodeAt(0)||this.c=="\r".charCodeAt(0)||this.c=="\t".charCodeAt(0)){this.consume();continue}if(this.c>="a".charCodeAt(0)&&this.c<="z".charCodeAt(0)||this.c>="A".charCodeAt(0)&&this.c<="Z".charCodeAt(0)||this.c=="_".charCodeAt(0)){this.sval+=String.fromCharCode(this.c),this.consume();while(this.c>="a".charCodeAt(0)&&this.c<="z".charCodeAt(0)||this.c>="A".charCodeAt(0)&&this.c<="Z".charCodeAt(0)||this.c>="0".charCodeAt(0)&&this.c<="9".charCodeAt(0)||this.c=="_".charCodeAt(0))this.sval+=String.fromCharCode(this.c),this.consume();return t.id}if(this.c=="(".charCodeAt(0))return this.consume(),t.begin;if(this.c==")".charCodeAt(0))return this.consume(),t.end;if(this.c=="%".charCodeAt(0))return this.consume(),t.percent;if(this.c==":".charCodeAt(0))return this.consume(),t.colon;if(this.c==".".charCodeAt(0))return this.consume(),t.dot;if(this.c=="[".charCodeAt(0)){this.consume();while(this.c!="]".charCodeAt(0))this.c=="\\".charCodeAt(0)&&(this.consume(),this.c!="]".charCodeAt(0)&&(this.sval+="\\".charCodeAt(0))),this.sval+=String.fromCharCode(this.c),this.consume();return this.consume(),t.arg}return this.consume(),this.error=!0,Ae.M.CharStreamConstants.endOfFile}return Ae.M.CharStreamConstants.endOfFile}consume(){this.p++,this.p>=this.n?this.c=Ae.M.CharStreamConstants.endOfFile:this.c=this.pattern[this.p].charCodeAt(0)}};t.begin=1,t.end=2,t.id=3,t.arg=4,t.percent=5,t.colon=6,t.dot=7,Ae.N.TreePatternLexer=t}Ae.N.TreePatternParser=class{constructor(t,e,r){this.tokenizer=t,this.wizard=e,this.adaptor=r,this.ttype=t.nextToken()}pattern(){if(this.ttype==Ae.N.TreePatternLexer.begin)return this.parseTree();if(this.ttype==Ae.N.TreePatternLexer.id){var t=this.parseNode();if(this.ttype==Ae.M.CharStreamConstants.endOfFile)return t;return null}return null}parseTree(){if(this.ttype!=Ae.N.TreePatternLexer.begin)throw new Ue("No beginning.");this.ttype=this.tokenizer.nextToken();var t=this.parseNode();if(null==t)return null;while(this.ttype==Ae.N.TreePatternLexer.begin||this.ttype==Ae.N.TreePatternLexer.id||this.ttype==Ae.N.TreePatternLexer.percent||this.ttype==Ae.N.TreePatternLexer.dot)if(this.ttype==Ae.N.TreePatternLexer.begin){var e=this.parseTree();this.adaptor.addChild(t,e)}else{var e=this.parseNode();if(null==e)return null;this.adaptor.addChild(t,e)}if(this.ttype!=Ae.N.TreePatternLexer.end)throw new Ue("No end.");return this.ttype=this.tokenizer.nextToken(),t}parseNode(){let e=null;if(this.ttype==Ae.N.TreePatternLexer.percent){if(this.ttype=this.tokenizer.nextToken(),this.ttype!=Ae.N.TreePatternLexer.id)return null;if(e=this.tokenizer.sval.toString(),this.ttype=this.tokenizer.nextToken(),this.ttype!=Ae.N.TreePatternLexer.colon)return null;this.ttype=this.tokenizer.nextToken()}if(this.ttype==Ae.N.TreePatternLexer.dot){this.ttype=this.tokenizer.nextToken();var r=Ae.M.CommonToken.create3(0,".");let t=new Ae.N.WildcardTreePattern(r);return null!=e&&(t.label=e),t}if(this.ttype!=Ae.N.TreePatternLexer.id)return null;var r=this.tokenizer.sval.toString();if(this.ttype=this.tokenizer.nextToken(),"nil"==r)return this.adaptor.nil();let t=r,i=null;this.ttype==Ae.N.TreePatternLexer.arg&&(i=this.tokenizer.sval.toString(),t=i,this.ttype=this.tokenizer.nextToken());var r=this.wizard.getTokenType(r);if(r==Ae.M.TokenTypes.invalid)return null;let n;return n=this.adaptor.create4(r,t),null!=e&&Wr.getType(n)==Ae.N.TreePattern&&(n.label=e),null!=i&&Wr.getType(n)==Ae.N.TreePattern&&(n.hasTextArg=!0),n}},Ae.N.TreeRewriter=class extends Ae.N.TreeParser{constructor(t,e){super(t,e),this.originalAdaptor=t.treeAdaptor,this.originalTokenStream=t.tokenStream}applyOnce(t,e){if(null==t)return null;try{this.setState(new Ae.M.RecognizerSharedState),this.setTreeNodeStream(new Ae.N.CommonTreeNodeStream(this.originalAdaptor,t)),this.input.tokenStream=this.originalTokenStream,this.backtrackingLevel=1;var r=e();if(this.backtrackingLevel=0,this.failed)return t;return this.showTransformations&&null!=r&&!t.Equals(r.Tree)&&null!=r.Tree&&this.reportTransformation(t,r.Tree),null!=r&&null!=r.Tree?r.Tree:t}catch(t){}return t}applyRepeatedly(t,e){let r=!0;while(r){var i=this.applyOnce(t,e);r=!t.equals(i),t=i}return t}downup(t,e=!1){return this.showTransformations=e,t}topdown(){return null}bottomup(){return null}reportTransformation(t,e){}},Ae.N.TreeVisitor=class{constructor(t){null==t&&(t=new Ae.N.CommonTreeAdaptor),this.adaptor=t}visit(e,r){var t=this.adaptor.isNil(e);null==r||t||(e=r.pre(e));for(let t=0;t<this.adaptor.getChildCount(e);t++){var i=this.adaptor.getChild(e,t);this.visit(i,r)}return e=null!=r&&!t?r.post(e):e}};{var D=class{computeTokenTypes(e){let r=new Ri;if(null==e)return r;for(let t=Ae.M.TokenTypes.min;t<e.length;t++){var i=e[t];r.set(i,t)}return r}getTokenType(t){if(null==this.tokenNameToTypeMap)return Ae.M.TokenTypes.invalid;var e={ref:null};if(this.tokenNameToTypeMap.tryGetValue(t,e))return e.ref;return Ae.M.TokenTypes.invalid}index(t){var e=new Ri;return this.indexCore(t,e),e}indexCore(e,r){if(null==e)return;var t=this.adaptor.getType(e);let i={ref:null};r.tryGetValue(t,i)&&null!=i.ref||(i.ref=new Ee,r.set(t,i.ref)),i.ref.add(e);var n=this.adaptor.getChildCount(e);for(let t=0;t<n;t++){var a=this.adaptor.getChild(e,t);this.indexCore(a,r)}}find(t,e){var r=new Ee;return this.visit(t,e,new n(r)),r}find2(t,e){var r=new Ee,i=new Ae.N.TreePatternLexer(e);let n=new Ae.N.TreePatternParser(i,this,new s);var e=n.pattern();if(null==e||e.isNil||Wr.getType(e)==o)return null;var i=e.type;return this.visit(t,i,new a(this,e,r)),r}findFirst(t,e){return null}findFirst2(t,e){return null}visit(t,e,r){this.visitCore(t,null,0,e,r)}visit2(t,e,r){this.visit(t,e,new i(r))}visitCore(e,t,r,i,n){if(null==e)return;this.adaptor.getType(e)==i&&n.visit(e,t,r,null);var a=this.adaptor.getChildCount(e);for(let t=0;t<a;t++){var s=this.adaptor.getChild(e,t);this.visitCore(s,e,t,i,n)}}visit3(t,e,r){var i=new Ae.N.TreePatternLexer(e);let n=new Ae.N.TreePatternParser(i,this,new s);var a=n.pattern();if(null==a||a.isNil||Wr.getType(a)==o)return;var e=new Ri,i=a.type;this.visit(t,i,new l(this,r,e,a))}parse(t,e,r){var e=new Ae.N.TreePatternLexer(e);let i=new Ae.N.TreePatternParser(e,this,new s);var e=i.pattern(),n;return this.parseCore(t,e,r)}parse2(t,e){return this.parse(t,e,null)}parseCore(e,r,i){if(null==e||null==r)return!1;if(Wr.getType(r)!=o){if(this.adaptor.getType(e)!=r.type)return!1;if(r.hasTextArg&&this.adaptor.getText(e)!=r.text)return!1}null!=r.label&&null!=i&&i.set(r.label,e);var n=this.adaptor.getChildCount(e),t;if(n!=r.childCount)return!1;for(let t=0;t<n;t++){var a=this.adaptor.getChild(e,t),s=r.getChild(t);if(!this.parseCore(a,s,i))return!1}return!0}create(t){var t=new Ae.N.TreePatternLexer(t),e;let r=new Ae.N.TreePatternParser(t,this,this.adaptor);return r.pattern()}static equals(t,e,r){return this.equalsCore(t,e,r)}static equalsCore(e,r,i){if(null==e||null==r)return!1;if(i.getType(e)!=i.getType(r))return!1;if(i.getText(e)!=i.getText(r))return!1;var n=i.getChildCount(e),t;if(n!=i.getChildCount(r))return!1;for(let t=0;t<n;t++){var a=i.getChild(e,t),s=i.getChild(r,t);if(!this.equalsCore(a,s,i))return!1}return!0}};Ae.N.TreeWizard=D,Ae.N.IContextVisitor=new Ae.b.Interface("IContextVisitor");let t=class{implements(){return t.ImplementsVisitor||(t.ImplementsVisitor=[Ae.N.IContextVisitor]),t.ImplementsVisitor}visit2(t,e,r,i){this.visit(t)}visit(t){}};Ae.N.Visitor=t;let i=class extends t{constructor(t){super(),this._action=t}visit(t){}};Ae.N.ActionVisitor=i;let e=class extends Ae.N.CommonTree{constructor(t){super(t)}toString(){return null!=this.label?"%"+this.label+":":super.toString()}};Ae.N.TreePattern=e;let o=class extends e{constructor(t){super(t)}};Ae.N.WildcardTreePattern=o;let s=class extends Ae.N.CommonTreeAdaptor{create(t){return new e(t)}};Ae.N.TreePatternTreeAdaptor=s;let n=class extends t{constructor(t){super(),this._nodes=t}visit(t){this._nodes.add(t)}};Ae.N.FindTreeWizardVisitor=n;let a=class{constructor(t,e,r){this._outer=t,this._tpattern=e,this._subtrees=r}implements(){return a.ImplementsFindTreeWizardContextVisitor||(a.ImplementsFindTreeWizardContextVisitor=[Ae.N.IContextVisitor]),a.ImplementsFindTreeWizardContextVisitor}visit(t,e,r,i){this._outer.parseCore(t,this._tpattern,null)&&this._subtrees.add(t)}};Ae.N.FindTreeWizardContextVisitor=a;let l=class{constructor(t,e,r,i){this._outer=t,this._visitor=e,this._labels=r,this._tpattern=i}implements(){return l.ImplementsVisitTreeWizardContextVisitor||(l.ImplementsVisitTreeWizardContextVisitor=[Ae.N.IContextVisitor]),l.ImplementsVisitTreeWizardContextVisitor}visit(t,e,r,i){this._labels.clear(),this._outer.parseCore(t,this._tpattern,this._labels)&&this._visitor.visit(t,e,r,this._labels)}};Ae.N.VisitTreeWizardContextVisitor=l}Ae.K.EvaluationException=class extends Ue{constructor(t,e){super(t,e)}},(B=Bn=Ae.K.EvaluateOptions||(Ae.K.EvaluateOptions={}))[B["None"]=1]="None",B[B["IgnoreCase"]=2]="IgnoreCase",B[B["NoCache"]=4]="NoCache",B[B["IterateParameters"]=8]="IterateParameters",B[B["RoundAwayFromZero"]=16]="RoundAwayFromZero";{let a=class{static extractString(t){let e=t,r=1;var i=-1;while(-1!=(i=e.indexOf(a.bs,r))){var n=e[i+1];switch(n){case"u":break;case"n":e.stimulsoft().insert(i,"\n",2);break;case"r":e.stimulsoft().insert(i,"\r",2);break;case"t":e.stimulsoft().insert(i,"\t",2);break;case"'":e.stimulsoft().insert(i,"'",2);break;case"\\":e.stimulsoft().insert(i,"\\",2);break;default:throw new Ue("Unvalid escape sequence: \\"+n)}r=i+1}return e.stimulsoft().remove(0,1),e.stimulsoft().remove(e.length-1,1),e}and(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.And,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.And,this,new Ae.P.ValueExpression(t))}dividedBy(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Div,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Div,this,new Ae.P.ValueExpression(t))}equalsTo(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Equal,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Equal,this,new Ae.P.ValueExpression(t))}greaterThan(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Greater,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Greater,this,new Ae.P.ValueExpression(t))}greaterOrEqualThan(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.GreaterOrEqual,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.GreaterOrEqual,this,new Ae.P.ValueExpression(t))}lesserThan(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Lesser,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Lesser,this,new Ae.P.ValueExpression(t))}lesserOrEqualThan(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.LesserOrEqual,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.LesserOrEqual,this,new Ae.P.ValueExpression(t))}minus(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Minus,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Minus,this,new Ae.P.ValueExpression(t))}modulo(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Modulo,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Modulo,this,new Ae.P.ValueExpression(t))}notEqual(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.NotEqual,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.NotEqual,this,new Ae.P.ValueExpression(t))}or(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Or,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Or,this,new Ae.P.ValueExpression(t))}plus(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Plus,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Plus,this,new Ae.P.ValueExpression(t))}mult(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Times,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.Times,this,new Ae.P.ValueExpression(t))}bitwiseOr(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseOr,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseOr,this,new Ae.P.ValueExpression(t))}bitwiseAnd(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseAnd,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseAnd,this,new Ae.P.ValueExpression(t))}bitwiseXOr(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseXOr,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.BitwiseXOr,this,new Ae.P.ValueExpression(t))}leftShift(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.LeftShift,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.LeftShift,this,new Ae.P.ValueExpression(t))}rightShift(t){return t.stimulsoft().is(a)?new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.RightShift,this,t):new Ae.P.BinaryExpression(Ae.P.BinaryExpressionType.RightShift,this,new Ae.P.ValueExpression(t))}toString(){let t=new Ae.P.SerializationVisitor;return this.accept(t),t.result.toString().stimulsoft().trimEnd(" ")}accept(t){t.visit1(this)}};a.bs="\\",Ae.P.LogicalExpression=a}{let h=class extends L{constructor(t){super(),this._options=Ae.K.EvaluateOptions.None,this.evaluateFunction=(t,e)=>{},this.evaluateParameter=(...t)=>{},this._options=t}get ignoreCase(){return(this._options&Ae.K.EvaluateOptions.IgnoreCase)==Ae.K.EvaluateOptions.IgnoreCase}evaluate(t){return t.accept(this),this.result}visit1(t){throw new Ue("The method or operation is not implemented.")}static getMostPreciseType(t,e){for(var r of h.commonTypes)if(t==r||e==r)return r;return t}compareUsingMostPreciseType(t,e){var r=h.getMostPreciseType(Wr.getType(t),Wr.getType(e));if(tn.isList(t)||tn.isList(e))return tn.compare(t,e);var t=null!=t?Qt.changeType(t,r):null,r=null!=e?Qt.changeType(e,r):null;Sr.compareTo(t,r)}visit2(t){var e;t.leftExpression.accept(this),(Qt.toBoolean(this.result)?t.middleExpression:t.rightExpression).accept(this)}static isReal(t){return null}visit3(t){let e=null,r=this;var i=()=>(null==e&&(t.leftExpression.accept(r),e=r.result),e);let n=null;var a=()=>(null==n&&(t.rightExpression.accept(r),n=r.result),n);switch(t.type){case Ae.P.BinaryExpressionType.And:this.result=Qt.toBoolean(i())&&Qt.toBoolean(a());break;case Ae.P.BinaryExpressionType.Or:this.result=Qt.toBoolean(i())||Qt.toBoolean(a());break;case Ae.P.BinaryExpressionType.Div:i().stimulsoft().is(Ee)||a().stimulsoft().is(Ee)||h.isReal(i())||h.isReal(a())?this.result=Ae.K.Numbers.divide(i(),a()):this.result=Ae.K.Numbers.divide(Qt.toDouble(i()),a());break;case Ae.P.BinaryExpressionType.Equal:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=0==this.result),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>0==t).toList());break;case Ae.P.BinaryExpressionType.Greater:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=0<this.result),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>0<t).toList());break;case Ae.P.BinaryExpressionType.GreaterOrEqual:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=0<=this.result),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>0<=t).toList());break;case Ae.P.BinaryExpressionType.Lesser:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=this.result<0),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>t<0).toList());break;case Ae.P.BinaryExpressionType.LesserOrEqual:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=this.result<=0),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>t<=0).toList());break;case Ae.P.BinaryExpressionType.Minus:this.result=Ae.K.Numbers.soustract(i(),a());break;case Ae.P.BinaryExpressionType.Modulo:this.result=Ae.K.Numbers.modulo(i(),a());break;case Ae.P.BinaryExpressionType.NotEqual:this.result=this.compareUsingMostPreciseType(i(),a()),"number"==typeof this.result&&(this.result=0!=this.result),tn.isList(this.result)&&(this.result=tn.toList(this.result).tryCastToNumber().select(t=>0!=t).toList());break;case Ae.P.BinaryExpressionType.Plus:this.result="string"==typeof i()?i()+a():Ae.K.Numbers.add(i(),a());break;case Ae.P.BinaryExpressionType.Times:this.result=Ae.K.Numbers.multiply(i(),a());break;case Ae.P.BinaryExpressionType.BitwiseAnd:var s=i(),o=a();tn.isList(s)||tn.isList(o)?this.result=Ee.bitwiseAnd(s,o):this.result=Qt.toUInt32(s)&Qt.toUInt32(o);break;case Ae.P.BinaryExpressionType.BitwiseOr:var l=i(),u=a();tn.isList(l)||tn.isList(u)?this.result=Ee.bitwiseOr(l,u):this.result=Qt.toUInt32(l)|Qt.toUInt32(u);break;case Ae.P.BinaryExpressionType.BitwiseXOr:var l=i(),u=a();tn.isList(l)||tn.isList(u)?this.result=Ee.bitwiseXOr(l,u):this.result=Qt.toUInt32(l)|Qt.toUInt32(u);break;case Ae.P.BinaryExpressionType.LeftShift:this.result=Qt.toUInt32(i())<<Qt.toUInt32(a());break;case Ae.P.BinaryExpressionType.RightShift:this.result=Qt.toUInt32(i())>>Qt.toUInt32(a());break}}visit4(t){switch(t.expression.accept(this),t.type){case Ae.P.UnaryExpressionType.Not:tn.isList(this.result)?this.result=Ee.bitwiseXOr(this.result,1):this.result=!Qt.toBoolean(this.result);break;case Ae.P.UnaryExpressionType.Negate:this.result=Ae.K.Numbers.soustract(0,this.result);break;case Ae.P.UnaryExpressionType.BitwiseNot:this.result=~Qt.toUInt32(this.result);break}}visit5(t){this.result=t.value}visit6(r){let e=new Ae.K.FunctionArgs;e.parameters=Ee.create(Ae.K.Expression,r.expressions.length);for(let t=0;t<r.expressions.length;t++)e.parameters[t]=Ae.K.Expression.create2(r.expressions[t],this._options),e.parameters[t].evaluateFunction=this.evaluateFunction,e.parameters[t].evaluateParameter=this.evaluateParameter,e.parameters[t].parameters=this.parameters;if(this.onEvaluateFunction(this.ignoreCase?r.identifier.name.toLowerCase():r.identifier.name,e),e.hasResult)return void(this.result=e.result);switch(r.identifier.name.toLowerCase()){case"abs":if(this.checkCase("Abs",r.identifier.name),1!=r.expressions.length)throw new Ue("Abs() takes exactly 1 argument");this.result=Math.abs(Qt.toNumber(this.evaluate(r.expressions[0])));break;case"acos":if(this.checkCase("Acos",r.identifier.name),1!=r.expressions.length)throw new Ue("Acos() takes exactly 1 argument");this.result=Math.acos(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"asin":if(this.checkCase("Asin",r.identifier.name),1!=r.expressions.length)throw new Ue("Asin() takes exactly 1 argument");this.result=Math.asin(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"atan":if(this.checkCase("Atan",r.identifier.name),1!=r.expressions.length)throw new Ue("Atan() takes exactly 1 argument");this.result=Math.atan(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"ceiling":if(this.checkCase("Ceiling",r.identifier.name),1!=r.expressions.length)throw new Ue("Ceiling() takes exactly 1 argument");this.result=Math.ceil(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"cos":if(this.checkCase("Cos",r.identifier.name),1!=r.expressions.length)throw new Ue("Cos() takes exactly 1 argument");this.result=Math.cos(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"exp":if(this.checkCase("Exp",r.identifier.name),1!=r.expressions.length)throw new Ue("Exp() takes exactly 1 argument");this.result=Math.exp(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"floor":if(this.checkCase("Floor",r.identifier.name),1!=r.expressions.length)throw new Ue("Floor() takes exactly 1 argument");this.result=Math.floor(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"ieeeremainder":if(this.checkCase("IEEERemainder",r.identifier.name),2!=r.expressions.length)throw new Ue("IEEERemainder() takes exactly 2 arguments");break;case"log":if(this.checkCase("Log",r.identifier.name),2!=r.expressions.length)throw new Ue("Log() takes exactly 2 arguments");break;case"log10":if(this.checkCase("Log10",r.identifier.name),1!=r.expressions.length)throw new Ue("Log10() takes exactly 1 argument");this.result=Ne.log10(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"pow":if(this.checkCase("Pow",r.identifier.name),2!=r.expressions.length)throw new Ue("Pow() takes exactly 2 arguments");this.result=Math.pow(Qt.toDouble(this.evaluate(r.expressions[0])),Qt.toDouble(this.evaluate(r.expressions[1])));break;case"round":if(this.checkCase("Round",r.identifier.name),2!=r.expressions.length)throw new Ue("Round() takes exactly 2 arguments");break;case"sign":if(this.checkCase("Sign",r.identifier.name),1!=r.expressions.length)throw new Ue("Sign() takes exactly 1 argument");this.result=Math.sign(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"sin":if(this.checkCase("Sin",r.identifier.name),1!=r.expressions.length)throw new Ue("Sin() takes exactly 1 argument");this.result=Math.sin(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"sqrt":if(this.checkCase("Sqrt",r.identifier.name),1!=r.expressions.length)throw new Ue("Sqrt() takes exactly 1 argument");this.result=Math.sqrt(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"tan":if(this.checkCase("Tan",r.identifier.name),1!=r.expressions.length)throw new Ue("Tan() takes exactly 1 argument");this.result=Math.tan(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"truncate":if(this.checkCase("Truncate",r.identifier.name),1!=r.expressions.length)throw new Ue("Truncate() takes exactly 1 argument");this.result=Ne.trunc(Qt.toDouble(this.evaluate(r.expressions[0])));break;case"max":if(this.checkCase("Max",r.identifier.name),2!=r.expressions.length)throw new Ue("Max() takes exactly 2 arguments");var t=this.evaluate(r.expressions[0]),i=this.evaluate(r.expressions[1]);this.result=Ae.K.Numbers.max(t,i);break;case"min":if(this.checkCase("Min",r.identifier.name),2!=r.expressions.length)throw new Ue("Min() takes exactly 2 arguments");var i=this.evaluate(r.expressions[0]),n=this.evaluate(r.expressions[1]);this.result=Ae.K.Numbers.min(i,n);break;case"if":if(this.checkCase("if",r.identifier.name),3!=r.expressions.length)throw new Ue("if() takes exactly 3 arguments");var n=Qt.toBoolean(this.evaluate(r.expressions[0]));this.result=n?this.evaluate(r.expressions[1]):this.evaluate(r.expressions[2]);break;case"in":{if(this.checkCase("in",r.identifier.name),r.expressions.length<2)throw new Ue("in() takes at least 2 arguments");var a=this.evaluate(r.expressions[0]);let e=!1;for(let t=1;t<r.expressions.length;t++){var s=this.evaluate(r.expressions[t]),s=this.compareUsingMostPreciseType(a,s);if("number"==typeof s&&0==s){e=!0;break}}this.result=e;break}default:throw new Ue("Function not found")}}checkCase(t,e){if(this.ignoreCase){if(t.toLowerCase()==e.toLowerCase())return;throw new Ue("Function not found")}if(t!=e)throw new Error(`Function not found ${e}. Try ${t} instead.`)}onEvaluateFunction(t,e){null!=this.evaluateFunction&&this.evaluateFunction(t,e)}visit7(e){if(this.parameters.contains(e.name))if(this.parameters.get(e.name).stimulsoft().is(Ae.K.Expression)){let t=this.parameters.get(e.name);for(var r of this.parameters.pairs)t.parameters.set(r.key,r.value);t.evaluateFunction=this.evaluateFunction,t.evaluateParameter=this.evaluateParameter,this.result=this.parameters.get(e.name).evaluate()}else this.result=this.parameters.get(e.name);else{var t=new Ae.K.ParameterArgs;if(this.onEvaluateParameter(e.name,t),!t.hasResult)throw new Ue("Parameter was not defined");this.result=t.result}}onEvaluateParameter(t,e){null!=this.evaluateParameter&&this.evaluateParameter(t,e)}};h.commonTypes=[Number,Boolean,String],Ae.P.EvaluationVisitor=h}let Fn=Ae.M.DFA,Rn=Ae.M.NoViableAltException,Ln=Ae.M.MismatchedSetException,Mn=Ae.M.EarlyExitException;var e=Ae.M.Lexer;{var l=class extends e{constructor(t,e){super(t,e),this.EOF=-1,this.DATETIME=4,this.DIGIT=5,this.E=6,this.EscapeSequence=7,this.FALSE=8,this.FLOAT=9,this.HexDigit=10,this.ID=11,this.INTEGER=12,this.LETTER=13,this.NAME=14,this.STRING=15,this.TRUE=16,this.UnicodeEscape=17,this.WS=18,this.T__19=19,this.T__20=20,this.T__21=21,this.T__22=22,this.T__23=23,this.T__24=24,this.T__25=25,this.T__26=26,this.T__27=27,this.T__28=28,this.T__29=29,this.T__30=30,this.T__31=31,this.T__32=32,this.T__33=33,this.T__34=34,this.T__35=35,this.T__36=36,this.T__37=37,this.T__38=38,this.T__39=39,this.T__40=40,this.T__41=41,this.T__42=42,this.T__43=43,this.T__44=44,this.T__45=45,this.T__46=46,this.T__47=47,this.T__48=48}mT__19(){try{var t=this.T__19,e=this.defaultTokenChannel;this.match3("!"),this.state.type=t,this.state.channel=e}finally{}}mT__20(){try{var t=this.T__20,e=this.defaultTokenChannel;this.match3("!="),this.state.type=t,this.state.channel=e}finally{}}mT__21(){try{var t=this.T__21,e=this.defaultTokenChannel;this.match3("%"),this.state.type=t,this.state.channel=e}finally{}}mT__22(){try{var t=this.T__22,e=this.defaultTokenChannel;this.match3("&&"),this.state.type=t,this.state.channel=e}finally{}}mT__23(){try{var t=this.T__23,e=this.defaultTokenChannel;this.match3("&"),this.state.type=t,this.state.channel=e}finally{}}mT__24(){try{var t=this.T__24,e=this.defaultTokenChannel;this.match3("("),this.state.type=t,this.state.channel=e}finally{}}mT__25(){try{var t=this.T__25,e=this.defaultTokenChannel;this.match3(")"),this.state.type=t,this.state.channel=e}finally{}}mT__26(){try{var t=this.T__26,e=this.defaultTokenChannel;this.match3("*"),this.state.type=t,this.state.channel=e}finally{}}mT__27(){try{var t=this.T__27,e=this.defaultTokenChannel;this.match3("+"),this.state.type=t,this.state.channel=e}finally{}}mT__28(){try{var t=this.T__28,e=this.defaultTokenChannel;this.match3(","),this.state.type=t,this.state.channel=e}finally{}}mT__29(){try{var t=this.T__29,e=this.defaultTokenChannel;this.match3("-"),this.state.type=t,this.state.channel=e}finally{}}mT__30(){try{var t=this.T__30,e=this.defaultTokenChannel;this.match3("/"),this.state.type=t,this.state.channel=e}finally{}}mT__31(){try{var t=this.T__31,e=this.defaultTokenChannel;this.match3(":"),this.state.type=t,this.state.channel=e}finally{}}mT__32(){try{var t=this.T__32,e=this.defaultTokenChannel;this.match3("<"),this.state.type=t,this.state.channel=e}finally{}}mT__33(){try{var t=this.T__33,e=this.defaultTokenChannel;this.match3("<<"),this.state.type=t,this.state.channel=e}finally{}}enterRule_T__34(){}leaveRule_T__34(){}mT__34(){try{var t=this.T__34,e=this.defaultTokenChannel;this.match3("<="),this.state.type=t,this.state.channel=e}finally{}}mT__35(){try{var t=this.T__35,e=this.defaultTokenChannel;this.match3("<>"),this.state.type=t,this.state.channel=e}finally{}}mT__36(){try{var t=this.T__36,e=this.defaultTokenChannel;this.match3("="),this.state.type=t,this.state.channel=e}finally{}}mT__37(){try{var t=this.T__37,e=this.defaultTokenChannel;this.match3("=="),this.state.type=t,this.state.channel=e}finally{}}mT__38(){try{var t=this.T__38,e=this.defaultTokenChannel;this.match3(">"),this.state.type=t,this.state.channel=e}finally{}}mT__39(){try{var t=this.T__39,e=this.defaultTokenChannel;this.match3(">="),this.state.type=t,this.state.channel=e}finally{}}mT__40(){try{var t=this.T__40,e=this.defaultTokenChannel;this.match3(">>"),this.state.type=t,this.state.channel=e}finally{}}mT__41(){try{var t=this.T__41,e=this.defaultTokenChannel;this.match3("?"),this.state.type=t,this.state.channel=e}finally{}}mT__42(){try{var t=this.T__42,e=this.defaultTokenChannel;this.match3("^"),this.state.type=t,this.state.channel=e}finally{}}mT__43(){try{var t=this.T__43,e=this.defaultTokenChannel;this.match3("and"),this.state.type=t,this.state.channel=e}finally{}}mT__44(){try{var t=this.T__44,e=this.defaultTokenChannel;this.match3("not"),this.state.type=t,this.state.channel=e}finally{}}enterRule_T__45(){}leaveRule_T__45(){}mT__45(){try{var t=this.T__45,e=this.defaultTokenChannel;this.match3("or"),this.state.type=t,this.state.channel=e}finally{}}mT__46(){try{var t=this.T__46,e=this.defaultTokenChannel;this.match3("|"),this.state.type=t,this.state.channel=e}finally{}}mT__47(){try{var t=this.T__47,e=this.defaultTokenChannel;this.match3("||"),this.state.type=t,this.state.channel=e}finally{}}mT__48(){try{var t=this.T__48,e=this.defaultTokenChannel;this.match3("~"),this.state.type=t,this.state.channel=e}finally{}}mTRUE(){try{var t=this.TRUE,e=this.defaultTokenChannel;this.match3("true"),this.state.type=t,this.state.channel=e}finally{}}mFALSE(){try{var t=this.FALSE,e=this.defaultTokenChannel;this.match3("false"),this.state.type=t,this.state.channel=e}finally{}}mID(){try{var t=this.ID,e=this.defaultTokenChannel;this.mLETTER();try{let e=!1;while(!e){let t=2;try{var r=this.input.la(1);(r>="0".charCodeAt(0)&&r<="9".charCodeAt(0)||r>="A".charCodeAt(0)&&r<="Z".charCodeAt(0)||r=="_".charCodeAt(0)||r>="a".charCodeAt(0)&&r<="z".charCodeAt(0))&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:e=!0}}}finally{}this.state.type=t,this.state.channel=e}finally{}}mINTEGER(){try{var t=this.INTEGER,e=this.defaultTokenChannel,i;let r=0;try{let e=!1;while(!e){let t=2;try{var n=this.input.la(1);n>="0".charCodeAt(0)&&n<="9".charCodeAt(0)&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:if(1<=r){e=!0;break}throw new Mn(null,2,this.input)}r++}}finally{}this.state.type=t,this.state.channel=e}finally{}}mFLOAT(){try{var e=this.FLOAT,r=this.defaultTokenChannel,i,n;let t=2;try{try{t=this.dfa7.predict(this.input)}catch(t){}}finally{}switch(t){case 1:{try{let e=!1;while(!e){let t=2;try{var a=this.input.la(1);a>="0".charCodeAt(0)&&a<="9".charCodeAt(0)&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:e=!0}}}finally{}this.match3(".");let r=0;try{let e=!1;while(!e){let t=2;try{var s=this.input.la(1);s>="0".charCodeAt(0)&&s<="9".charCodeAt(0)&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:if(1<=r){e=!0;break}throw new Mn(null,4,this.input)}r++}}finally{}let t=2;try{try{var o=this.input.la(1);o!="E".charCodeAt(0)&&o!="e".charCodeAt(0)||(t=1)}finally{}switch(t){case 1:this.mE();break}}finally{}break}case 2:{let r=0;try{let e=!1;while(!e){let t=2;try{var l=this.input.la(1);l>="0".charCodeAt(0)&&l<="9".charCodeAt(0)&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:if(1<=r){e=!0;break}throw new Mn(null,6,this.input)}r++}}finally{}this.mE();break}}this.state.type=e,this.state.channel=r}finally{}}mSTRING(){try{var t=this.STRING,e=this.defaultTokenChannel;this.match3("'");try{let e=!1;while(!e){let t=3;try{var r=this.input.la(1);r=="\\".charCodeAt(0)?t=1:(r>=" ".charCodeAt(0)&&r<="&".charCodeAt(0)||r>="(".charCodeAt(0)&&r<="[".charCodeAt(0)||r>="]".charCodeAt(0)&&r<="￿".charCodeAt(0))&&(t=2)}finally{}switch(t){case 1:this.mEscapeSequence();break;case 2:this.input.consume();break;default:e=!0}}}finally{}this.match3("'"),this.state.type=t,this.state.channel=e}finally{}}mDATETIME(){try{var t=this.DATETIME,e=this.defaultTokenChannel;this.match3("#");try{let e=!1;while(!e){let t=2;try{var r=this.input.la(1);(r>="\0".charCodeAt(0)&&r<='"'.charCodeAt(0)||r>="$".charCodeAt(0)&&r<="￿".charCodeAt(0))&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:e=!0}}}finally{}this.match3("#"),this.state.type=t,this.state.channel=e}finally{}}mNAME(){try{var t=this.NAME,e=this.defaultTokenChannel;this.match3("[");try{let e=!1;while(!e){let t=2;try{var r=this.input.la(1);(r>="\0".charCodeAt(0)&&r<="\\".charCodeAt(0)||r>="^".charCodeAt(0)&&r<="￿".charCodeAt(0))&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:e=!0}}}finally{}this.match3("]"),this.state.type=t,this.state.channel=e}finally{}}mE(){try{if(this.input.la(1)!="E".charCodeAt(0)&&this.input.la(1)!="e".charCodeAt(0)){var e=new Ln(null,null,this.input);throw this.recover2(e),e}this.input.consume();let t=2;try{try{var i=this.input.la(1);i!="+".charCodeAt(0)&&i!="-".charCodeAt(0)||(t=1)}finally{}switch(t){case 1:this.input.consume();break}}finally{}let r=0;try{let e=!1;while(!e){let t=2;try{var n=this.input.la(1);n>="0".charCodeAt(0)&&n<="9".charCodeAt(0)&&(t=1)}finally{}switch(t){case 1:this.input.consume();break;default:if(1<=r){e=!0;break}var a;throw new Mn(null,12,this.input)}r++}}finally{}}finally{}}mLETTER(){try{if(!(this.input.la(1)>="A".charCodeAt(0)&&this.input.la(1)<="Z".charCodeAt(0)||this.input.la(1)=="_".charCodeAt(0)||this.input.la(1)>="a".charCodeAt(0)&&this.input.la(1)<="z".charCodeAt(0))){var t=new Ln(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}}mDIGIT(){try{if(!(this.input.la(1)>="0".charCodeAt(0)&&this.input.la(1)<="9".charCodeAt(0))){var t=new Ln(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}}mEscapeSequence(){try{this.match3("\\");let t=6;try{try{switch(this.input.la(1)){case"n".charCodeAt(0):t=1;break;case"r".charCodeAt(0):t=2;break;case"t".charCodeAt(0):t=3;break;case"'".charCodeAt(0):t=4;break;case"\\".charCodeAt(0):t=5;break;case"u".charCodeAt(0):t=6;break;default:var e;throw new Rn("",null,13,0,this.input,1)}}finally{}switch(t){case 1:this.match3("n");break;case 2:this.match3("r");break;case 3:this.match3("t");break;case 4:this.match3("'");break;case 5:this.match3("\\");break;case 6:this.mUnicodeEscape();break}}finally{}}finally{}}mHexDigit(){try{if(!(this.input.la(1)>="0".charCodeAt(0)&&this.input.la(1)<="9".charCodeAt(0)||this.input.la(1)>="A".charCodeAt(0)&&this.input.la(1)<="F".charCodeAt(0)||this.input.la(1)>="a".charCodeAt(0)&&this.input.la(1)<="f".charCodeAt(0))){var t=new Ln(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}}mUnicodeEscape(){try{this.match3("u"),this.mHexDigit(),this.mHexDigit(),this.mHexDigit(),this.mHexDigit()}finally{}}mWS(){try{var t=this.WS,e=this.defaultTokenChannel;if(!(this.input.la(1)>="\t".charCodeAt(0)&&this.input.la(1)<="\n".charCodeAt(0)||this.input.la(1)>="\f".charCodeAt(0)&&this.input.la(1)<="\r".charCodeAt(0)||this.input.la(1)==" ".charCodeAt(0))){var r=new Ln(null,null,this.input);throw this.recover2(r),r}this.input.consume(),e=this.hidden,this.state.type=t,this.state.channel=e}finally{}}mTokens(){let t=39;try{try{t=this.dfa14.predict(this.input)}catch(t){}}finally{}switch(t){case 1:this.mT__19();break;case 2:this.mT__20();break;case 3:this.mT__21();break;case 4:this.mT__22();break;case 5:this.mT__23();break;case 6:this.mT__24();break;case 7:this.mT__25();break;case 8:this.mT__26();break;case 9:this.mT__27();break;case 10:this.mT__28();break;case 11:this.mT__29();break;case 12:this.mT__30();break;case 13:this.mT__31();break;case 14:this.mT__32();break;case 15:this.mT__33();break;case 16:this.mT__34();break;case 17:this.mT__35();break;case 18:this.mT__36();break;case 19:this.mT__37();break;case 20:this.mT__38();break;case 21:this.mT__39();break;case 22:this.mT__40();break;case 23:this.mT__41();break;case 24:this.mT__42();break;case 25:this.mT__43();break;case 26:this.mT__44();break;case 27:this.mT__45();break;case 28:this.mT__46();break;case 29:this.mT__47();break;case 30:this.mT__48();break;case 31:this.mTRUE();break;case 32:this.mFALSE();break;case 33:this.mID();break;case 34:this.mINTEGER();break;case 35:this.mFLOAT();break;case 36:this.mSTRING();break;case 37:this.mDATETIME();break;case 38:this.mNAME();break;case 39:this.mWS();break}}initDFAs(){super.initDFAs(),this.dfa7=new r(this),this.dfa14=new i(this)}};Ae.K.NCalcLexer=l;let r=class extends Fn{constructor(t){super(),this.description="252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );",this.recognizer=t,this.decisionNumber=7,this.eot=r.DFA7_eot,this.eof=r.DFA7_eof,this.min=r.DFA7_min,this.max=r.DFA7_max,this.accept=r.DFA7_accept,this.special=r.DFA7_special,this.transition=r.DFA7_transition}static initialize(){var e=this.DFA7_transitionS.length;r.DFA7_transition=[];for(let t=0;t<e;t++)r.DFA7_transition[t]=Fn.unpackEncodedString(r.DFA7_transitionS[t])}error(t){this.debugRecognitionException(t)}};r.DFA7_eotS="￿",r.DFA7_eofS="￿",r.DFA7_minS=".￿",r.DFA7_maxS="9e￿",r.DFA7_acceptS="￿",r.DFA7_specialS="￿}>",r.DFA7_transitionS=["￿\n","￿\n\v￿￿","",""],r.DFA7_eot=Fn.unpackEncodedString(r.DFA7_eotS),r.DFA7_eof=Fn.unpackEncodedString(r.DFA7_eofS),r.DFA7_min=Fn.unpackEncodedStringToUnsignedChars(r.DFA7_minS),r.DFA7_max=Fn.unpackEncodedStringToUnsignedChars(r.DFA7_maxS),r.DFA7_accept=Fn.unpackEncodedString(r.DFA7_acceptS),r.DFA7_special=Fn.unpackEncodedString(r.DFA7_specialS),r.initialize();let i=class extends Fn{constructor(t){super(),this.description="1:1: Tokens : ( T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | TRUE | FALSE | ID | INTEGER | FLOAT | STRING | DATETIME | NAME | WS );",this.recognizer=t,this.decisionNumber=14,this.eot=i.DFA14_eot,this.eof=i.DFA14_eof,this.min=i.DFA14_min,this.max=i.DFA14_max,this.accept=i.DFA14_accept,this.special=i.DFA14_special,this.transition=i.DFA14_transition}static initialize(){var e=i.DFA14_transitionS.length;i.DFA14_transition=[];for(let t=0;t<e;t++)i.DFA14_transition[t]=Fn.unpackEncodedString(i.DFA14_transitionS[t])}error(t){this.debugRecognitionException(t)}};i.DFA14_eotS='￿ ￿"\b￿&(+￿'+"0￿￿3￿6"+"￿￿9:￿￿="+"￿?￿",i.DFA14_eofS="@￿",i.DFA14_minS="\t=￿&\b￿<=￿n"+"or|￿ra￿.￿"+"dt0￿ul￿0￿"+"es￿0e￿0￿",i.DFA14_maxS="~=￿&\b￿>=>￿"+"nor|￿ra￿e"+"￿dtz￿ul￿z"+"￿es￿ze￿z￿",i.DFA14_acceptS="￿￿\b\t\n\v\f"+"\r￿￿￿!￿"+"#$%&'"+"￿"+'￿"￿￿￿'+"￿ ",i.DFA14_specialS="@￿}>",i.DFA14_transitionS=["￿￿￿￿"+"\b\t\n"+"\n\v￿\f\r￿"+"￿￿"+"￿￿","","","!","","","","","","","","","#$%","'",")*","","",",","-",".","/","","1","2","","￿\n\v￿￿","","","","","","","","","","","","","","","","","","","4","5","\n￿￿￿","","","7","8","","\n￿￿￿","\n￿￿￿","",";","<","","","\n￿￿￿",">","","\n￿￿￿",""],i.DFA14_eot=Fn.unpackEncodedString(i.DFA14_eotS),i.DFA14_eof=Fn.unpackEncodedString(i.DFA14_eofS),i.DFA14_min=Fn.unpackEncodedStringToUnsignedChars(i.DFA14_minS),i.DFA14_max=Fn.unpackEncodedStringToUnsignedChars(i.DFA14_maxS),i.DFA14_accept=Fn.unpackEncodedString(i.DFA14_acceptS),i.DFA14_special=Fn.unpackEncodedString(i.DFA14_specialS),i.initialize()}let On=Ae.P.EvaluationVisitor,Hn=Ae.b.Environment,_n=Ae.M.CommonTokenStream,Vn=Ae.M.ANTLRStringStream,Gn=Ae.K.NCalcLexer;{var k=class{releaseReaderLock(){}releaseWriterLock(){}acquireReaderLock(t){}acquireWriterLock(t){}};Ae.K.ReaderWriterLock=k;let a=class{constructor(t){this.isAlive=!1}};Ae.K.WeakReference=a;let o=class{constructor(){this.parameters=new Ri}static create1(t,e){if(De.isNullOrEmpty(t))throw new Ue("Expression can't be empty");null==e&&(e=Ae.K.EvaluateOptions.None);let r=new o;return r.originalExpression=t,r.options=e,r}static create2(t,e){if(null==t)throw new Ue("Expression can't be null");null==e&&(e=Ae.K.EvaluateOptions.None);let r=new o;return r.parsedExpression=t,r.options=e,r}static get cacheEnabled(){return o._cacheEnabled}static set cacheEnabled(t){o._cacheEnabled=t,o.cacheEnabled||(o._compiledExpressions=new Ri)}static cleanCache(){let t=new Ee;try{o.rwl.acquireWriterLock(this.Timeout.Infinite);for(var e of o._compiledExpressions.pairs)e.value.isAlive||t.add(e.key);for(var r of t)o._compiledExpressions.remove(r)}finally{o.rwl.releaseReaderLock()}}static compile(e,r){let i=null;if(o._cacheEnabled&&!r)try{var t;if(o.rwl.acquireReaderLock(this.Timeout.Infinite),o._compiledExpressions.contains(e))if(o._compiledExpressions.get(e).isAlive&&null!=i)return i}finally{o.rwl.releaseReaderLock()}if(null==i){var n=new Gn(new Vn(e));let t=new Ae.K.NCalcParser(new _n(n));if(i=t.ncalcExpression().value,null!=t.errors&&0<t.errors.length)throw new Ue(De.join(Hn.newLine,t.errors));if(o._cacheEnabled&&!r){try{o.rwl.acquireWriterLock(this.Timeout.Infinite),o._compiledExpressions.set(e,new a(i))}finally{o.rwl.releaseWriterLock()}o.cleanCache()}}return i}hasErrors(){try{return null==this.parsedExpression&&(this.parsedExpression=o.compile(this.originalExpression,(this.options&Ae.K.EvaluateOptions.NoCache)==Ae.K.EvaluateOptions.NoCache)),null!=this.parsedExpression&&null!=this.error}catch(t){return this.error=t.message,!0}}evaluate(){if(this.hasErrors())throw new Ae.K.EvaluationException(this.error);null==this.parsedExpression&&(this.parsedExpression=o.compile(this.originalExpression,(this.options&Ae.K.EvaluateOptions.NoCache)==Ae.K.EvaluateOptions.NoCache));let i=new On(this.options);if(i.evaluateFunction=this.evaluateFunction,i.evaluateParameter=this.evaluateParameter,i.parameters=this.parameters,(this.options&Ae.K.EvaluateOptions.IterateParameters)==Ae.K.EvaluateOptions.IterateParameters){let e=-1;this.parametersBackup=new Ri;for(var t of this.parameters.keys)this.parametersBackup.add(t,this.parameters.get(t));this.parameterEnumerators=new Ri;for(var n of this.parameters.values)if(n.stimulsoft().is(Ee)){let t=0;for(var a of n)t++;if(-1==e)e=t;else if(t!=e)throw new Ue("When IterateParameters option is used, IEnumerable parameters must have the same number of items")}for(var s of this.parameters.keys){let t=this.parameters.get(s).stimulsoft().as(Ee);null!=t&&this.parameterEnumerators.add(s,t.getEnumerator())}let r=new Ee;for(let t=0;t<e;t++)this.parsedExpression.accept(i),r.add(i.result);return r}return this.parsedExpression.accept(i),i.result}};o.Timeout={Infinite:1e5},o._cacheEnabled=!0,o._compiledExpressions=new Ri,o.rwl=new k,Ae.K.Expression=o}let Un=Ae.b.EventArgs;Ae.K.FunctionArgs=class extends Un{constructor(){super(...arguments),this.hasResult=!1,this.parameters=new Ee}get result(){return this._result}set result(t){this._result=t,this.hasResult=!0}evaluateParameters(){let e=Ee.create(Object,this.parameters.length);for(let t=0;t<e.length;t++)e[t]=this.parameters[t].evaluate();return e}},Ae.P.Functionn=class extends Ae.P.LogicalExpression{constructor(t,e){super(),this.identifier=t,this.expressions=e}accept(t){t.visit6(this)}};var F=class extends Ae.P.LogicalExpression{constructor(t,e){super(),this.type=t,this.expression=e}accept(t){t.visit4(this)}},jn,W;Ae.P.UnaryExpression=F,(W=jn=Ae.P.UnaryExpressionType||(Ae.P.UnaryExpressionType={}))[W["Not"]=0]="Not",W[W["Negate"]=1]="Negate",W[W["BitwiseNot"]=2]="BitwiseNot";var q=class extends Ae.P.LogicalExpression{constructor(t,e,r){super(),this.type=t,this.leftExpression=e,this.rightExpression=r}accept(t){t.visit3(this)}},Wn,M,V;Ae.P.BinaryExpression=q,(M=Wn=Ae.P.BinaryExpressionType||(Ae.P.BinaryExpressionType={}))[M["And"]=0]="And",M[M["Or"]=1]="Or",M[M["NotEqual"]=2]="NotEqual",M[M["LesserOrEqual"]=3]="LesserOrEqual",M[M["GreaterOrEqual"]=4]="GreaterOrEqual",M[M["Lesser"]=5]="Lesser",M[M["Greater"]=6]="Greater",M[M["Equal"]=7]="Equal",M[M["Minus"]=8]="Minus",M[M["Plus"]=9]="Plus",M[M["Modulo"]=10]="Modulo",M[M["Div"]=11]="Div",M[M["Times"]=12]="Times",M[M["BitwiseOr"]=13]="BitwiseOr",M[M["BitwiseAnd"]=14]="BitwiseAnd",M[M["BitwiseXOr"]=15]="BitwiseXOr",M[M["LeftShift"]=16]="LeftShift",M[M["RightShift"]=17]="RightShift",M[M["Unknown"]=18]="Unknown",Ae.P.TernaryExpression=class extends Ae.P.LogicalExpression{constructor(t,e,r){super(),this.leftExpression=t,this.middleExpression=e,this.rightExpression=r}accept(t){t.visit2(this)}};{var H=class extends Ae.P.LogicalExpression{constructor(t,e){if(super(),null==e)switch(Wr.getType(t)){case Boolean:e=r.Boolean;break;case z:e=r.DateTime;break;case Number:e=r.Float;break;case String:e=r.String;break;default:throw new Ue("This value could not be handled: "+t)}this.value=t,this.type=e}accept(t){t.visit5(this)}};Ae.P.ValueExpression=H;let r;(V=r=Ae.P.ValueType||(Ae.P.ValueType={}))[V["Integer"]=0]="Integer",V[V["String"]=1]="String",V[V["DateTime"]=2]="DateTime",V[V["Float"]=3]="Float",V[V["Boolean"]=4]="Boolean"}Ae.P.Identifier=class extends Ae.P.LogicalExpression{constructor(t){super(),this.name=t}accept(t){t.visit7(this)}};let qn=Ae.P.Functionn,zn=Ae.P.UnaryExpressionType,Xn=Ae.P.UnaryExpression,Jn=Ae.P.BinaryExpression,Yn=Ae.P.TernaryExpression,Qn=Ae.P.ValueExpression,Kn=Ae.P.Identifier,Zn=Ae.M.BitSet,$n=Ae.N.CommonTreeAdaptor;var ft=Ae.M.Parser,K=Ae.M.AstParserRuleReturnScope;let ta=Ae.P.BinaryExpressionType;{var Z=class extends ft{constructor(t,e){super(t,e),this.tokenNames=["<invalid>","<EOR>","<DOWN>","<UP>","DATETIME","DIGIT","E","EscapeSequence","FALSE","FLOAT","HexDigit","ID","INTEGER","LETTER","NAME","STRING","TRUE","UnicodeEscape","WS","'!'","'!='","'%'","'&&'","'&'","'('","')'","'*'","'+'","','","'-'","'/'","':'","'<'","'<<'","'<='","'<>'","'='","'=='","'>'","'>='","'>>'","'?'","'^'","'and'","'not'","'or'","'|'","'||'","'~'"],this.EOF=-1,this.DATETIME=4,this.DIGIT=5,this.E=6,this.EscapeSequence=7,this.FALSE=8,this.FLOAT=9,this.HexDigit=10,this.ID=11,this.INTEGER=12,this.LETTER=13,this.NAME=14,this.STRING=15,this.TRUE=16,this.UnicodeEscape=17,this.WS=18,this.T__19=19,this.T__20=20,this.T__21=21,this.T__22=22,this.T__23=23,this.T__24=24,this.T__25=25,this.T__26=26,this.T__27=27,this.T__28=28,this.T__29=29,this.T__30=30,this.T__31=31,this.T__32=32,this.T__33=33,this.T__34=34,this.T__35=35,this.T__36=36,this.T__37=37,this.T__38=38,this.T__39=39,this.T__40=40,this.T__41=41,this.T__42=42,this.T__43=43,this.T__44=44,this.T__45=45,this.T__46=46,this.T__47=47,this.T__48=48,this.grammarFileName="C:\\Work\\Projects\\OSS\\NCalc\\Grammar\\NCalc.g",this.bs="\\";var e={ref:null};this.createTreeAdaptor(e),this.adaptor=null!=e.ref?e.ref:new $n,this.onCreated()}createTreeAdaptor(t){}extractString(t){let e=t,r=1;var i=-1;while(-1!=(i=e.indexOf(this.bs,r))){var n=e[i+1];switch(n){case"u":break;case"n":e=e.stimulsoft().insert(i,"\n",2);break;case"r":e=e.stimulsoft().insert(i,"\r",2);break;case"t":e=e.stimulsoft().insert(i,"\t",2);break;case"'":e=e.stimulsoft().insert(i,"'",2);break;case"\\":e=e.stimulsoft().insert(i,"\\",2);break;default:throw new Ue("Unvalid escape sequence: \\"+n)}r=i+1}return e=e.stimulsoft().remove(0,1),e=e.stimulsoft().remove(e.length-1,1),e}displayRecognitionError(t,e){super.displayRecognitionError(t,e),null==this.errors&&(this.errors=new Ee);var r=this.getErrorHeader(e),t=this.getErrorMessage(e,t);this.errors.add(t+" at "+r)}onCreated(){}enterRule(t,e){}leaveRule(t,e){}traceIn(t,e){}enterRule_ncalcExpression(){}leaveRule_ncalcExpression(){}ncalcExpression(){let e=new i(this);var t,r;e.start=this.input.lt(1);try{try{t=this.adaptor.nil(),this.pushFollow(T._logicalExpression_in_ncalcExpression52),r=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),this.match(this.input,this.EOF,T._EOF_in_ncalcExpression54),e.value=null!=r?r.value:{},e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_logicalExpression(){}leaveRule_logicalExpression(){}logicalExpression(){let e=new h(this);var r,i,n,a,s,o,l,u,t;e.start=this.input.lt(1);try{try{{r=this.adaptor.nil(),this.pushFollow(T._conditionalExpression_in_logicalExpression74),a=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(r,a.tree),e.value=null!=a?a.value:{};let t=2;try{try{41==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:i=this.match(this.input,41,T._41_in_logicalExpression80),l=this.adaptor.create(i),this.adaptor.addChild(r,l),this.pushFollow(T._conditionalExpression_in_logicalExpression84),s=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(r,s.tree),n=this.match(this.input,31,T._31_in_logicalExpression86),u=this.adaptor.create(n),this.adaptor.addChild(r,u),this.pushFollow(T._conditionalExpression_in_logicalExpression90),o=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(r,o.tree),e.value=new Yn(null!=a?a.value:{},null!=s?s.value:{},null!=o?o.value:{});break}}finally{}}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_conditionalExpression(){}leaveRule_conditionalExpression(){}conditionalExpression(){let r=new e(this);var i,n,t,a;r.start=this.input.lt(1);var s=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._booleanAndExpression_in_conditionalExpression117),t=this.booleanAndExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var o=this.input.la(1);45!=o&&47!=o||(t=1)}finally{}switch(t){case 1:var l,n=this.input.lt(1);if(45!=this.input.la(1)&&47!=this.input.la(1))throw new Ln(null,null,this.input);this.input.consume(),this.adaptor.addChild(i,this.adaptor.create(n)),this.state.errorRecovery=!1,s=ta.Or,this.pushFollow(T._conditionalExpression_in_conditionalExpression142),a=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(i,a.tree),r.value=new Jn(s,r.value,null!=a?a.value:{});break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_booleanAndExpression(){}leaveRule_booleanAndExpression(){}booleanAndExpression(){let r=new u(this);var i,n,t,a;r.start=this.input.lt(1);var s=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._bitwiseOrExpression_in_booleanAndExpression176),t=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var o=this.input.la(1);22!=o&&43!=o||(t=1)}finally{}switch(t){case 1:var l,n=this.input.lt(1);if(22!=this.input.la(1)&&43!=this.input.la(1))throw new Ln(null,null,this.input);this.input.consume(),this.adaptor.addChild(i,this.adaptor.create(n)),this.state.errorRecovery=!1,s=ta.And,this.pushFollow(T._bitwiseOrExpression_in_booleanAndExpression201),a=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(i,a.tree),r.value=new Jn(s,r.value,null!=a?a.value:{});break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_bitwiseOrExpression(){}leaveRule_bitwiseOrExpression(){}bitwiseOrExpression(){let r=new l(this);var i,n,t,a,s;r.start=this.input.lt(1);var o=ta.Unknown,e;try{try{i=this.adaptor.nil(),this.pushFollow(T._bitwiseXOrExpression_in_bitwiseOrExpression233),t=this.bitwiseXOrExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{46==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:n=this.match(this.input,46,T._46_in_bitwiseOrExpression242),s=this.adaptor.create(n),this.adaptor.addChild(i,s),o=ta.BitwiseOr,this.pushFollow(T._bitwiseOrExpression_in_bitwiseOrExpression252),a=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(i,a.tree),r.value=new Jn(o,r.value,null!=a?a.value:{});break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_bitwiseXOrExpression(){}leaveRule_bitwiseXOrExpression(){}bitwiseXOrExpression(){let r=new c(this);var i,n,t,a,s;r.start=this.input.lt(1);var o=ta.Unknown,e;try{try{i=this.adaptor.nil(),this.pushFollow(T._bitwiseAndExpression_in_bitwiseXOrExpression286),t=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{42==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:n=this.match(this.input,42,T._42_in_bitwiseXOrExpression295),s=this.adaptor.create(n),this.adaptor.addChild(i,s),o=ta.BitwiseXOr,this.pushFollow(T._bitwiseAndExpression_in_bitwiseXOrExpression305),a=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(i,a.tree),r.value=new Jn(o,r.value,null!=a?a.value:{});break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_bitwiseAndExpression(){}leaveRule_bitwiseAndExpression(){}bitwiseAndExpression(){let r=new d(this);var i,n,t,a,s;r.start=this.input.lt(1);var o=ta.Unknown,e;try{try{i=this.adaptor.nil(),this.pushFollow(T._equalityExpression_in_bitwiseAndExpression337),t=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{23==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:n=this.match(this.input,23,T._23_in_bitwiseAndExpression346),s=this.adaptor.create(n),this.adaptor.addChild(i,s),o=ta.BitwiseAnd,this.pushFollow(T._equalityExpression_in_bitwiseAndExpression356),a=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(i,a.tree),r.value=new Jn(o,r.value,null!=a?a.value:{});break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_equalityExpression(){}leaveRule_equalityExpression(){}equalityExpression(){let r=new m(this);var i,n,a,t,s;r.start=this.input.lt(1);let o=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._relationalExpression_in_equalityExpression390),t=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var l=this.input.la(1);(20==l||35<=l&&l<=37)&&(t=1)}finally{}switch(t){case 1:{let t=2;try{try{var u=this.input.la(1),h;if(36<=u&&u<=37)t=1;else{if(20!=u&&35!=u)throw new Rn("",null,7,0,this.input,1);t=2}}finally{}switch(t){case 1:var c,n=this.input.lt(1);if(!(36<=this.input.la(1)&&this.input.la(1)<=37))throw new Ln(null,null,this.input);this.input.consume(),this.adaptor.addChild(i,this.adaptor.create(n)),this.state.errorRecovery=!1,o=ta.Equal;break;case 2:var d,a=this.input.lt(1);if(20!=this.input.la(1)&&35!=this.input.la(1))throw new Ln(null,null,this.input);this.input.consume(),this.adaptor.addChild(i,this.adaptor.create(a)),this.state.errorRecovery=!1,o=ta.NotEqual;break}}finally{}this.pushFollow(T._relationalExpression_in_equalityExpression437),s=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(i,s.tree),r.value=new Jn(o,r.value,null!=s?s.value:{})}break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_relationalExpression(){}leaveRule_relationalExpression(){}relationalExpression(){let r=new g(this);var i,n,a,s,o,t,l,u,h,c,d,e;r.start=this.input.lt(1);let m=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._shiftExpression_in_relationalExpression470),t=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var p=this.input.la(1);(32==p||34==p||38<=p&&p<=39)&&(t=1)}finally{}switch(t){case 1:{let t=4;try{try{switch(this.input.la(1)){case 32:t=1;break;case 34:t=2;break;case 38:t=3;break;case 39:t=4;break;default:throw new Rn("",null,9,0,this.input,1)}}finally{}switch(t){case 1:n=this.match(this.input,32,T._32_in_relationalExpression481),u=this.adaptor.create(n),this.adaptor.addChild(i,u),m=ta.Lesser;break;case 2:a=this.match(this.input,34,T._34_in_relationalExpression491),h=this.adaptor.create(a),this.adaptor.addChild(i,h),m=ta.LesserOrEqual;break;case 3:s=this.match(this.input,38,T._38_in_relationalExpression502),c=this.adaptor.create(s),this.adaptor.addChild(i,c),m=ta.Greater;break;case 4:o=this.match(this.input,39,T._39_in_relationalExpression512),d=this.adaptor.create(o),this.adaptor.addChild(i,d),m=ta.GreaterOrEqual;break}}finally{}this.pushFollow(T._shiftExpression_in_relationalExpression524),l=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(i,l.tree),r.value=new Jn(m,r.value,null!=l?l.value:{})}break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_shiftExpression(){}leaveRule_shiftExpression(){}shiftExpression(){let r=new p(this);var i,n,a,t,s,o,l;r.start=this.input.lt(1);let u=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._additiveExpression_in_shiftExpression556),t=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var h=this.input.la(1);33!=h&&40!=h||(t=1)}finally{}switch(t){case 1:{let t=2;try{try{var c=this.input.la(1),d;if(33==c)t=1;else{if(40!=c)throw new Rn("",null,11,0,this.input,1);t=2}}finally{}switch(t){case 1:n=this.match(this.input,33,T._33_in_shiftExpression567),o=this.adaptor.create(n),this.adaptor.addChild(i,o),u=ta.LeftShift;break;case 2:a=this.match(this.input,40,T._40_in_shiftExpression577),l=this.adaptor.create(a),this.adaptor.addChild(i,l),u=ta.RightShift;break}}finally{}this.pushFollow(T._additiveExpression_in_shiftExpression589),s=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(i,s.tree),r.value=new Jn(u,r.value,null!=s?s.value:{})}break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_additiveExpression(){}leaveRule_additiveExpression(){}additiveExpression(){let r=new f(this);var i,n,a,t,s,o,l;r.start=this.input.lt(1);let u=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._multiplicativeExpression_in_additiveExpression621),t=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var h=this.input.la(1);27!=h&&29!=h||(t=1)}finally{}switch(t){case 1:{let t=2;try{try{var c=this.input.la(1),d;if(27==c)t=1;else{if(29!=c)throw new Rn("",null,13,0,this.input,1);t=2}}finally{}switch(t){case 1:n=this.match(this.input,27,T._27_in_additiveExpression632),o=this.adaptor.create(n),this.adaptor.addChild(i,o),u=ta.Plus;break;case 2:a=this.match(this.input,29,T._29_in_additiveExpression642),l=this.adaptor.create(a),this.adaptor.addChild(i,l),u=ta.Minus;break}}finally{}this.pushFollow(T._multiplicativeExpression_in_additiveExpression654),s=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(i,s.tree),r.value=new Jn(u,r.value,null!=s?s.value:{})}break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_multiplicativeExpression(){}leaveRule_multiplicativeExpression(){}multiplicativeExpression(){let r=new S(this);var i,n,a,s,t,o,l,u,h,e;r.start=this.input.lt(1);let c=ta.Unknown;try{try{i=this.adaptor.nil(),this.pushFollow(T._unaryExpression_in_multiplicativeExpression686),t=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(i,t.tree),r.value=null!=t?t.value:{};try{let e=!1;while(!e){let t=2;try{var d=this.input.la(1);21!=d&&26!=d&&30!=d||(t=1)}finally{}switch(t){case 1:{let t=3;try{try{switch(this.input.la(1)){case 26:t=1;break;case 30:t=2;break;case 21:t=3;break;default:throw new Rn("",null,15,0,this.input,1)}}finally{}switch(t){case 1:n=this.match(this.input,26,T._26_in_multiplicativeExpression697),l=this.adaptor.create(n),this.adaptor.addChild(i,l),c=ta.Times;break;case 2:a=this.match(this.input,30,T._30_in_multiplicativeExpression707),u=this.adaptor.create(a),this.adaptor.addChild(i,u),c=ta.Div;break;case 3:s=this.match(this.input,21,T._21_in_multiplicativeExpression717),h=this.adaptor.create(s),this.adaptor.addChild(i,h),c=ta.Modulo;break}}finally{}this.pushFollow(T._unaryExpression_in_multiplicativeExpression729),o=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(i,o.tree),r.value=new Jn(c,r.value,null!=o?o.value:{})}break;default:e=!0}}}finally{}r.stop=this.input.lt(-1),r.tree=this.adaptor.rulePostProcessing(i),this.adaptor.setTokenBoundaries(r.tree,r.start,r.stop)}catch(t){this.reportError(t),this.recover(this.input,t),r.tree=this.adaptor.errorNode(this.input,r.start,this.input.lt(-1),t)}finally{}}finally{}return r}enterRule_unaryExpression(){}leaveRule_unaryExpression(){}unaryExpression(){let e=new b(this);e.start=this.input.lt(1);let r;var i,n,a,s,o,l,u,h,c,t,d;try{try{let t=4;try{switch(this.input.la(1)){case this.DATETIME:case this.FALSE:case this.FLOAT:case this.ID:case this.INTEGER:case this.NAME:case this.STRING:case this.TRUE:case 24:t=1;break;case 19:case 44:t=2;break;case 48:t=3;break;case 29:t=4;break;default:throw new Rn("",null,17,0,this.input,1)}}finally{}switch(t){case 1:r=this.adaptor.nil(),this.pushFollow(T._primaryExpression_in_unaryExpression756),s=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(r,s.tree),e.value=null!=s?s.value:{};break;case 2:if(r=this.adaptor.nil(),i=this.input.lt(1),19!=this.input.la(1)&&44!=this.input.la(1))throw new Ln(null,null,this.input);this.input.consume(),this.adaptor.addChild(r,this.adaptor.create(i)),this.state.errorRecovery=!1,this.pushFollow(T._primaryExpression_in_unaryExpression775),o=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(r,o.tree),e.value=new Xn(zn.Not,null!=o?o.value:{});break;case 3:r=this.adaptor.nil(),n=this.match(this.input,48,T._48_in_unaryExpression787),h=this.adaptor.create(n),this.adaptor.addChild(r,h),this.pushFollow(T._primaryExpression_in_unaryExpression790),l=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(r,l.tree),e.value=new Xn(zn.BitwiseNot,null!=l?l.value:{});break;case 4:r=this.adaptor.nil(),a=this.match(this.input,29,T._29_in_unaryExpression801),c=this.adaptor.create(a),this.adaptor.addChild(r,c),this.pushFollow(T._primaryExpression_in_unaryExpression803),u=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(r,u.tree),e.value=new Xn(zn.Negate,null!=u?u.value:{});break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_primaryExpression(){}leaveRule_primaryExpression(){}primaryExpression(){let e=new y(this);e.start=this.input.lt(1);let r;var i,n,a,s,o,l,u,t,h;let c;try{try{let t=3;try{switch(this.input.la(1)){case 24:t=1;break;case this.DATETIME:case this.FALSE:case this.FLOAT:case this.INTEGER:case this.STRING:case this.TRUE:t=2;break;case this.ID:case this.NAME:t=3;break;default:throw new Rn("",null,19,0,this.input,1)}}finally{}switch(t){case 1:r=this.adaptor.nil(),i=this.match(this.input,24,T._24_in_primaryExpression825),l=this.adaptor.create(i),this.adaptor.addChild(r,l),this.pushFollow(T._logicalExpression_in_primaryExpression827),s=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(r,s.tree),n=this.match(this.input,25,T._25_in_primaryExpression829),u=this.adaptor.create(n),this.adaptor.addChild(r,u),e.value=null!=s?s.value:{};break;case 2:r=this.adaptor.nil(),this.pushFollow(T._value_in_primaryExpression839),a=this.value(),this.popFollow(),this.adaptor.addChild(r,a.tree),e.value=null!=a?a.value:{};break;case 3:{r=this.adaptor.nil(),this.pushFollow(T._identifier_in_primaryExpression847),o=this.identifier(),this.popFollow(),this.adaptor.addChild(r,o.tree),e.value=null!=o?o.value:{};let t=2;try{try{24==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:this.pushFollow(T._arguments_in_primaryExpression852),c=this.arguments(),this.popFollow(),this.adaptor.addChild(r,c.tree),e.value=new qn(null!=o?o.value:{},(null!=c?c.value:{}).stimulsoft().toArray());break}}finally{}}break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_value(){}leaveRule_value(){}value(){let e=new v(this);e.start=this.input.lt(1);let r,i,n;var a,s,o,l,u,h,c,d,m,t;let p;try{try{let t=6;try{switch(this.input.la(1)){case this.INTEGER:t=1;break;case this.FLOAT:t=2;break;case this.STRING:t=3;break;case this.DATETIME:t=4;break;case this.TRUE:t=5;break;case this.FALSE:t=6;break;default:throw new Rn("",null,20,0,this.input,1)}}finally{}switch(t){case 1:r=this.adaptor.nil(),i=this.match(this.input,this.INTEGER,T._INTEGER_in_value872),l=this.adaptor.create(i),this.adaptor.addChild(r,l);try{e.value=new Qn(null!=i?i.text.stimulsoft().toNumber():0)}catch(t){}break;case 2:r=this.adaptor.nil(),n=this.match(this.input,this.FLOAT,T._FLOAT_in_value880),u=this.adaptor.create(n),this.adaptor.addChild(r,u),e.value=new Qn(null!=n?n.text.stimulsoft().toNumber():0);break;case 3:r=this.adaptor.nil(),a=this.match(this.input,this.STRING,T._STRING_in_value888),h=this.adaptor.create(a),this.adaptor.addChild(r,h),e.value=new Qn(this.extractString(null!=a?a.text:{}));break;case 4:r=this.adaptor.nil(),p=this.match(this.input,this.DATETIME,T._DATETIME_in_value897),c=this.adaptor.create(p),this.adaptor.addChild(r,c),e.value=new Qn(z.fromString((null!=p?p.text:{}).substring(1,(null!=p?p.text:{}).length-2)));break;case 5:r=this.adaptor.nil(),s=this.match(this.input,this.TRUE,T._TRUE_in_value904),d=this.adaptor.create(s),this.adaptor.addChild(r,d),e.value=new Qn(!0);break;case 6:r=this.adaptor.nil(),o=this.match(this.input,this.FALSE,T._FALSE_in_value912),m=this.adaptor.create(o),this.adaptor.addChild(r,m),e.value=new Qn(!1);break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_identifier(){}leaveRule_identifier(){}identifier(){let e=new t(this);e.start=this.input.lt(1);let r;var i,n,a;let s;try{try{let t=2;try{var o=this.input.la(1),l;if(o==this.ID)t=1;else{if(o!=this.NAME)throw new Rn("",null,21,0,this.input,1);t=2}}finally{}switch(t){case 1:r=this.adaptor.nil(),i=this.match(this.input,this.ID,T._ID_in_identifier930),n=this.adaptor.create(i),this.adaptor.addChild(r,n),e.value=new Kn(null!=i?i.text:{});break;case 2:r=this.adaptor.nil(),s=this.match(this.input,this.NAME,T._NAME_in_identifier938),a=this.adaptor.create(s),this.adaptor.addChild(r,a),e.value=new Kn((null!=s?s.text:{}).substr(1,(null!=s?s.text:{}).length-2));break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_expressionList(){}leaveRule_expressionList(){}expressionList(){let e=new w(this);var r,i,t,n,a,s;e.start=this.input.lt(1);let o=new Ee;try{try{r=this.adaptor.nil(),this.pushFollow(T._logicalExpression_in_expressionList962),t=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(r,t.tree),o.add(null!=t?t.value:{});try{let e=!1;while(!e){let t=2;try{28==this.input.la(1)&&(t=1)}finally{}switch(t){case 1:i=this.match(this.input,28,T._28_in_expressionList969),a=this.adaptor.create(i),this.adaptor.addChild(r,a),this.pushFollow(T._logicalExpression_in_expressionList973),n=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(r,n.tree),o.add(null!=n?n.value:{});break;default:e=!0}}}finally{}e.value=o,e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}enterRule_arguments(){}leaveRule_arguments(){}arguments(){let e=new C(this);var r,i,n,a,s,o;e.start=this.input.lt(1),e.value=new Ee;try{try{{r=this.adaptor.nil(),i=this.match(this.input,24,T._24_in_arguments1002),s=this.adaptor.create(i),this.adaptor.addChild(r,s);let t=2;try{try{var l=this.input.la(1);(l==this.DATETIME||l>=this.FALSE&&l<=this.FLOAT||l>=this.ID&&l<=this.INTEGER||l>=this.NAME&&l<=this.TRUE||19==l||24==l||29==l||44==l||48==l)&&(t=1)}finally{}switch(t){case 1:this.pushFollow(T._expressionList_in_arguments1006),a=this.expressionList(),this.popFollow(),this.adaptor.addChild(r,a.tree),e.value=null!=a?a.value:{};break}}finally{}n=this.match(this.input,25,T._25_in_arguments1013),o=this.adaptor.create(n),this.adaptor.addChild(r,o)}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(r),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e}};Ae.K.NCalcParser=Z;let i=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},h=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},e=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},u=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},l=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},c=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},d=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},m=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},g=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},p=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},f=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},S=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},b=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},y=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},v=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},t=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},w=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},C=class extends K{constructor(t){super(),this.onCreated(t)}onCreated(t){}},T=class{};T._logicalExpression_in_ncalcExpression52=Zn.create([0]),T._EOF_in_ncalcExpression54=Zn.create([2]),T._conditionalExpression_in_logicalExpression74=Zn.create([2199023255554]),T._41_in_logicalExpression80=Zn.create([299067717049104]),T._conditionalExpression_in_logicalExpression84=Zn.create([2147483648]),T._31_in_logicalExpression86=Zn.create([299067717049104]),T._conditionalExpression_in_logicalExpression90=Zn.create([2]),T._booleanAndExpression_in_conditionalExpression117=Zn.create([0xa00000000002]),T._set_in_conditionalExpression126=Zn.create([299067717049104]),T._conditionalExpression_in_conditionalExpression142=Zn.create([0xa00000000002]),T._bitwiseOrExpression_in_booleanAndExpression176=Zn.create([8796097216514]),T._set_in_booleanAndExpression185=Zn.create([299067717049104]),T._bitwiseOrExpression_in_booleanAndExpression201=Zn.create([8796097216514]),T._bitwiseXOrExpression_in_bitwiseOrExpression233=Zn.create([70368744177666]),T._46_in_bitwiseOrExpression242=Zn.create([299067717049104]),T._bitwiseOrExpression_in_bitwiseOrExpression252=Zn.create([70368744177666]),T._bitwiseAndExpression_in_bitwiseXOrExpression286=Zn.create([4398046511106]),T._42_in_bitwiseXOrExpression295=Zn.create([299067717049104]),T._bitwiseAndExpression_in_bitwiseXOrExpression305=Zn.create([4398046511106]),T._equalityExpression_in_bitwiseAndExpression337=Zn.create([8388610]),T._23_in_bitwiseAndExpression346=Zn.create([299067717049104]),T._equalityExpression_in_bitwiseAndExpression356=Zn.create([8388610]),T._relationalExpression_in_equalityExpression390=Zn.create([240519217154]),T._set_in_equalityExpression401=Zn.create([299067717049104]),T._set_in_equalityExpression418=Zn.create([299067717049104]),T._relationalExpression_in_equalityExpression437=Zn.create([240519217154]),T._shiftExpression_in_relationalExpression470=Zn.create([846108557314]),T._32_in_relationalExpression481=Zn.create([299067717049104]),T._34_in_relationalExpression491=Zn.create([299067717049104]),T._38_in_relationalExpression502=Zn.create([299067717049104]),T._39_in_relationalExpression512=Zn.create([299067717049104]),T._shiftExpression_in_relationalExpression524=Zn.create([846108557314]),T._additiveExpression_in_shiftExpression556=Zn.create([1108101562370]),T._33_in_shiftExpression567=Zn.create([299067717049104]),T._40_in_shiftExpression577=Zn.create([299067717049104]),T._additiveExpression_in_shiftExpression589=Zn.create([1108101562370]),T._multiplicativeExpression_in_additiveExpression621=Zn.create([671088642]),T._27_in_additiveExpression632=Zn.create([299067717049104]),T._29_in_additiveExpression642=Zn.create([299067717049104]),T._multiplicativeExpression_in_additiveExpression654=Zn.create([671088642]),T._unaryExpression_in_multiplicativeExpression686=Zn.create([1142947842]),T._26_in_multiplicativeExpression697=Zn.create([299067717049104]),T._30_in_multiplicativeExpression707=Zn.create([299067717049104]),T._21_in_multiplicativeExpression717=Zn.create([299067717049104]),T._unaryExpression_in_multiplicativeExpression729=Zn.create([1142947842]),T._primaryExpression_in_unaryExpression756=Zn.create([2]),T._set_in_unaryExpression767=Zn.create([16898832]),T._primaryExpression_in_unaryExpression775=Zn.create([2]),T._48_in_unaryExpression787=Zn.create([16898832]),T._primaryExpression_in_unaryExpression790=Zn.create([2]),T._29_in_unaryExpression801=Zn.create([16898832]),T._primaryExpression_in_unaryExpression803=Zn.create([2]),T._24_in_primaryExpression825=Zn.create([299067717049104]),T._logicalExpression_in_primaryExpression827=Zn.create([33554432]),T._25_in_primaryExpression829=Zn.create([2]),T._value_in_primaryExpression839=Zn.create([2]),T._identifier_in_primaryExpression847=Zn.create([16777218]),T._arguments_in_primaryExpression852=Zn.create([2]),T._INTEGER_in_value872=Zn.create([2]),T._FLOAT_in_value880=Zn.create([2]),T._STRING_in_value888=Zn.create([2]),T._DATETIME_in_value897=Zn.create([2]),T._TRUE_in_value904=Zn.create([2]),T._FALSE_in_value912=Zn.create([2]),T._ID_in_identifier930=Zn.create([2]),T._NAME_in_identifier938=Zn.create([2]),T._logicalExpression_in_expressionList962=Zn.create([268435458]),T._28_in_expressionList969=Zn.create([299067717049104]),T._logicalExpression_in_expressionList973=Zn.create([268435458]),T._24_in_arguments1002=Zn.create([299067750603536]),T._expressionList_in_arguments1006=Zn.create([33554432]),T._25_in_arguments1013=Zn.create([2])}Ae.K.Numbers=class{static convertIfString(t){if("string"==typeof t){var e=oe.tryParse(t);if(e.successfully)return e.result}return t}static add(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft().is(Ee)||null!=e&&e.stimulsoft().is(Ee))return Ee.add2(t,e);if(tn.isList(t))return tn.add(t,e);var r=Wr.getTypeCode(t),i=Wr.getTypeCode(e);switch(r){case gt.Boolean:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'bool'");case gt.Byte:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.SByte:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Int16:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt16:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Int32:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt32:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Int64:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt64:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Single:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Double:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case gt.Decimal:throw new Ue("Operator '+' can't be applied to operands of types 'bool' and 'byte'")}break;case gt.Byte:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'byte' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.SByte:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'sbyte' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+zi.tryToNumber(e);case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.Int16:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'short' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+zi.tryToNumber(e);case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.UInt16:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'ushort' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.Int32:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'int' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+zi.tryToNumber(e);case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.UInt32:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'unit' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.Int64:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'long' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+zi.tryToNumber(e);case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.UInt64:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'ulong' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+zi.tryToNumber(e);case gt.Int16:return t+zi.tryToNumber(e);case gt.UInt16:return t+e;case gt.Int32:return t+zi.tryToNumber(e);case gt.UInt32:return t+e;case gt.Int64:return t+zi.tryToNumber(e);case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return t+e}break;case gt.Single:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'float' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return Qt.toNumber(t)+e}break;case gt.Double:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'double' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+e;case gt.Double:return t+e;case gt.Decimal:return Qt.toNumber(t)+e}break;case gt.Decimal:switch(i){case gt.Boolean:throw new Ue("Operator '+' can't be applied to operands of types 'decimal' and 'bool'");case gt.Byte:return t+e;case gt.SByte:return t+e;case gt.Int16:return t+e;case gt.UInt16:return t+e;case gt.Int32:return t+e;case gt.UInt32:return t+e;case gt.Int64:return t+e;case gt.UInt64:return t+e;case gt.Single:return t+Qt.toNumber(e);case gt.Double:return t+Qt.toNumber(e);case gt.Decimal:return t+e}break}return null}static soustract(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft().is(Ee)||null!=e&&e.stimulsoft().is(Ee))return Ee.sub(t,e);var r=Wr.getTypeCode(t),i=Wr.getTypeCode(e);switch(r){case gt.Boolean:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'bool'");case gt.Byte:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.SByte:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Int16:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt16:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Int32:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt32:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Int64:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.UInt64:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Single:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Double:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case gt.Decimal:throw new Ue("Operator '-' can't be applied to operands of types 'bool' and 'byte'")}break;case gt.Byte:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'byte' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.SByte:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'sbyte' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-zi.tryToNumber(e);case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.Int16:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'short' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-zi.tryToNumber(e);case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.UInt16:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'ushort' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.Int32:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'int' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-zi.tryToNumber(e);case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.UInt32:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'uint' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.Int64:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'long' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-zi.tryToNumber(e);case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.UInt64:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case gt.SByte:return t-zi.tryToNumber(e);case gt.Int16:return t-zi.tryToNumber(e);case gt.UInt16:return t-e;case gt.Int32:return t-zi.tryToNumber(e);case gt.UInt32:return t-e;case gt.Int64:return t-zi.tryToNumber(e);case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-e}break;case gt.Single:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'float' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-zi.tryToNumber(e)}break;case gt.Double:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'double' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-e;case gt.Double:return t-e;case gt.Decimal:return t-zi.tryToNumber(e)}break;case gt.Decimal:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'decimal' and 'bool'");case gt.SByte:return t-e;case gt.Int16:return t-e;case gt.UInt16:return t-e;case gt.Int32:return t-e;case gt.UInt32:return t-e;case gt.Int64:return t-e;case gt.UInt64:return t-e;case gt.Single:return t-zi.tryToNumber(e);case gt.Double:return t-zi.tryToNumber(e);case gt.Decimal:return t-e}break}return null}static multiply(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),ke.isArray(t)||ke.isArray(e))return Ee.mult(t,e);var r=Wr.getTypeCode(t),i=Wr.getTypeCode(e);switch(r){case gt.Byte:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'byte' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.SByte:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'sbyte' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.Int16:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'short' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.UInt16:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'ushort' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.Int32:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'int' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.UInt32:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'uint' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.Int64:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'long' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.UInt64:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'ulong' and 'bool'");case gt.SByte:return t*zi.tryToNumber(e);case gt.Int16:return t*zi.tryToNumber(e);case gt.UInt16:return t*e;case gt.Int32:return t*zi.tryToNumber(e);case gt.UInt32:return t*e;case gt.Int64:return t*zi.tryToNumber(e);case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*e}break;case gt.Single:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'float' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*zi.tryToNumber(e)}break;case gt.Double:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'double' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*e;case gt.Double:return t*e;case gt.Decimal:return t*zi.tryToNumber(e)}break;case gt.Decimal:switch(i){case gt.Boolean:throw new Ue("Operator '*' can't be applied to operands of types 'decimal' and 'bool'");case gt.SByte:return t*e;case gt.Int16:return t*e;case gt.UInt16:return t*e;case gt.Int32:return t*e;case gt.UInt32:return t*e;case gt.Int64:return t*e;case gt.UInt64:return t*e;case gt.Single:return t*zi.tryToNumber(e);case gt.Double:return t*zi.tryToNumber(e);case gt.Decimal:return t*e}break}return null}static divide(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),ke.isArray(t)||ke.isArray(e))return Ee.div(t,e);if(zi.isZero(e))return null;var r=Wr.getTypeCode(t),i=Wr.getTypeCode(e);switch(r){case gt.Byte:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'byte' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.SByte:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'sbyte' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.Int16:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'short' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.UInt16:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'ushort' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.Int32:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'int' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.UInt32:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'uint' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.Int64:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'long' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t*zi.tryToNumber(e);case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.UInt64:switch(i){case gt.Boolean:throw new Ue("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case gt.SByte:return t*zi.tryToNumber(e);case gt.Int16:return t*zi.tryToNumber(e);case gt.UInt16:return t/e;case gt.Int32:return t*zi.tryToNumber(e);case gt.UInt32:return t/e;case gt.Int64:return t*zi.tryToNumber(e);case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t/e}break;case gt.Single:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'float' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t*zi.tryToNumber(e)}break;case gt.Double:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'double' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t/e;case gt.Double:return t/e;case gt.Decimal:return t*zi.tryToNumber(e)}break;case gt.Decimal:switch(i){case gt.Boolean:throw new Ue("Operator '/' can't be applied to operands of types 'decimal' and 'bool'");case gt.SByte:return t/e;case gt.Int16:return t/e;case gt.UInt16:return t/e;case gt.Int32:return t/e;case gt.UInt32:return t/e;case gt.Int64:return t/e;case gt.UInt64:return t/e;case gt.Single:return t*zi.tryToNumber(e);case gt.Double:return t*zi.tryToNumber(e);case gt.Decimal:return t/e}break}return null}static modulo(t,e){t=this.convertIfString(t),e=this.convertIfString(e);var r=Wr.getTypeCode(t),i=Wr.getTypeCode(e);switch(r){case gt.Byte:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'byte' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.SByte:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'sbyte' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%zi.tryToNumber(e);case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.Int16:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'short' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%zi.tryToNumber(e);case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.UInt16:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'ushort' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.Int32:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'int' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%zi.tryToNumber(e);case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.UInt32:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'uint' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.Int64:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'long' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%zi.tryToNumber(e);case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.UInt64:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'ulong' and 'bool'");case gt.SByte:return t%zi.tryToNumber(e);case gt.Int16:return t%zi.tryToNumber(e);case gt.UInt16:return t%e;case gt.Int32:return t%zi.tryToNumber(e);case gt.UInt32:return t%e;case gt.Int64:return t%zi.tryToNumber(e);case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%e}break;case gt.Single:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'float' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%zi.tryToNumber(e)}break;case gt.Double:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'double' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%e;case gt.Double:return t%e;case gt.Decimal:return t%zi.tryToNumber(e)}break;case gt.Decimal:switch(i){case gt.Boolean:throw new Ue("Operator '%' can't be applied to operands of types 'decimal' and 'bool'");case gt.SByte:return t%e;case gt.Int16:return t%e;case gt.UInt16:return t%e;case gt.Int32:return t%e;case gt.UInt32:return t%e;case gt.Int64:return t%e;case gt.UInt64:return t%e;case gt.Single:return t%zi.tryToNumber(e);case gt.Double:return t%zi.tryToNumber(e);case gt.Decimal:return t%e}break}return null}static max(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null==t&&null==e)return null;if(null==t)return e;if(null==e)return t;var r;switch(Wr.getTypeCode(t)){case gt.Byte:return Math.max(t,Qt.toNumber(e));case gt.SByte:return Math.max(t,Qt.toNumber(e));case gt.Int16:return Math.max(t,Qt.toNumber(e));case gt.UInt16:return Math.max(t,Qt.toNumber(e));case gt.Int32:return Math.max(t,Qt.toNumber(e));case gt.UInt32:return Math.max(t,Qt.toNumber(e));case gt.Int64:return Math.max(t,Qt.toNumber(e));case gt.UInt64:return Math.max(t,Qt.toNumber(e));case gt.Single:return Math.max(t,Qt.toNumber(e));case gt.Double:return Math.max(t,Qt.toNumber(e));case gt.Decimal:return Math.max(t,Qt.toNumber(e))}return null}static min(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null==t&&null==e)return null;if(null==t)return e;if(null==e)return t;var r;switch(Wr.getTypeCode(t)){case gt.Byte:return Math.min(t,Qt.toNumber(e));case gt.SByte:return Math.min(t,Qt.toNumber(e));case gt.Int16:return Math.min(t,Qt.toNumber(e));case gt.UInt16:return Math.min(t,Qt.toNumber(e));case gt.Int32:return Math.min(t,Qt.toNumber(e));case gt.UInt32:return Math.min(t,Qt.toNumber(e));case gt.Int64:return Math.min(t,Qt.toNumber(e));case gt.UInt64:return Math.min(t,Qt.toNumber(e));case gt.Single:return Math.min(t,Qt.toNumber(e));case gt.Double:return Math.min(t,Qt.toNumber(e));case gt.Decimal:return Math.min(t,Qt.toNumber(e))}return null}},Ae.K.ParameterArgs=class extends Un{get result(){return this._result}set result(t){this._result=t,this.hasResult=!0}};let ea=Ae.bh.NumberFormatInfo;Ae.P.SerializationVisitor=class extends Ae.P.LogicalExpressionVisitor{constructor(){super(),this.result="",this._numberFormatInfo=new ea,this._numberFormatInfo.numberDecimalSeparator="."}visit1(t){throw new Ue("The method or operation is not implemented.")}visit2(t){this.encapsulateNoValue(t.leftExpression),this.result+="? ",this.encapsulateNoValue(t.middleExpression),this.result+=": ",this.encapsulateNoValue(t.rightExpression)}visit3(t){switch(this.encapsulateNoValue(t.leftExpression),t.type){case Ae.P.BinaryExpressionType.And:this.result+="and ";break;case Ae.P.BinaryExpressionType.Or:this.result+="or ";break;case Ae.P.BinaryExpressionType.Div:this.result+="/ ";break;case Ae.P.BinaryExpressionType.Equal:this.result+="= ";break;case Ae.P.BinaryExpressionType.Greater:this.result+="> ";break;case Ae.P.BinaryExpressionType.GreaterOrEqual:this.result+=">= ";break;case Ae.P.BinaryExpressionType.Lesser:this.result+="< ";break;case Ae.P.BinaryExpressionType.LesserOrEqual:this.result+="<= ";break;case Ae.P.BinaryExpressionType.Minus:this.result+="- ";break;case Ae.P.BinaryExpressionType.Modulo:this.result+="% ";break;case Ae.P.BinaryExpressionType.NotEqual:this.result+="!= ";break;case Ae.P.BinaryExpressionType.Plus:this.result+="+ ";break;case Ae.P.BinaryExpressionType.Times:this.result+="* ";break;case Ae.P.BinaryExpressionType.BitwiseAnd:this.result+="& ";break;case Ae.P.BinaryExpressionType.BitwiseOr:this.result+="| ";break;case Ae.P.BinaryExpressionType.BitwiseXOr:this.result+="~ ";break;case Ae.P.BinaryExpressionType.LeftShift:this.result+="<< ";break;case Ae.P.BinaryExpressionType.RightShift:this.result+=">> ";break}this.encapsulateNoValue(t.rightExpression)}visit4(t){switch(t.type){case Ae.P.UnaryExpressionType.Not:this.result+="!";break;case Ae.P.UnaryExpressionType.Negate:this.result+="-";break;case Ae.P.UnaryExpressionType.BitwiseNot:this.result+="~";break}this.encapsulateNoValue(t.expression)}visit5(t){switch(t.type){case Ae.P.ValueType.Boolean:this.result+=t.value.toString()+" ";break;case Ae.P.ValueType.DateTime:this.result+="#"+t.value.toString+"#"+" ";break;case Ae.P.ValueType.Float:break;case Ae.P.ValueType.Integer:this.result+=t.value.toString()+" ";break;case Ae.P.ValueType.String:this.result+="'"+t.value.toString+"'"+" ";break}}visit6(e){this.result+=e.identifier.name,this.result+="(";for(let t=0;t<e.expressions.length;t++)e.expressions[t].accept(this),t<e.expressions.length-1&&(this.result.stimulsoft().remove(this.result.length-1,1),this.result+=", ");while(" "==this.result[this.result.length-1])this.result.stimulsoft().remove(this.result.length-1,1);this.result+=") "}visit7(t){this.result+="["+t.name+"] "}encapsulateNoValue(t){if(t.stimulsoft().is(Ae.P.ValueExpression))t.accept(this);else{this.result+="(",t.accept(this);while(" "==this.result[this.result.length-1])this.result.stimulsoft().remove(this.result.length-1,1);this.result+=") "}}},Ae.A.StiHumanReadableHelper=class{static getSize(t){var e=["B","KB","MB","GB"];let r=0;while(1024<=t&&++r<e.length)t/=1024;return`${t} ${e[r]}`}static getHumanReadableName(t){if(De.isNullOrEmpty(t))return"";let e=t.trim();e.stimulsoft().replaceAll("_"," ");for(let t=1;t<e.length;t++){var r=e[t-1],i=e[t];Be.isLetter(r)&&Be.isLetter(i)&&Be.isLower(r)&&Be.isUpper(i)&&(e.stimulsoft().insert(t," ",0),t++)}for(let t=1;t<e.length;t++){var n=e[t-1],a=e[t];(Be.isLetter(n)&&Be.isDigit(a)||Be.isDigit(n)&&Be.isLetter(a))&&(e.stimulsoft().insert(t," ",0),t++)}for(let t=0;t<e.length;t++){var s=e[t];Be.isLetterOrDigit(s)||" "==s||e.stimulsoft().remove(t,1)}return 0<e.length&&!Be.isUpper(e[0])&&e.stimulsoft().insert(0,e[0].toUpperCase()[0],1),e}},Ae.A.StiMoneyNameHelper=class{static isMoneyName(t){return!De.isNullOrWhiteSpace(t)&&(t.stimulsoft().startsWith("Price")||t.stimulsoft().startsWith("Cost")||t.stimulsoft().startsWith("Rate")||t.stimulsoft().endsWith("Price")||t.stimulsoft().endsWith("Cost")||t.stimulsoft().endsWith("Rate"))}};let ra=Ae.A.StiMoneyNameHelper,ia=Ae.A.StiHumanReadableHelper;Ae.E.DataColumnExt=class{static isNumericType(t){return null!=t&&null!=t.dataType&&Wr.isNumericType(t.dataType)}static isDateType(t){return null!=t&&null!=t.dataType&&Wr.isDateType(t.dataType)}static isIntegerType(t){return null!=t&&null!=t.dataType&&Wr.isIntegerType(t.dataType)}static isMoneyName(t){return ra.isMoneyName(t.columnName)}static getHumanReadableName(t){return ia.getHumanReadableName(t.columnName)}},Ae.E.DataTimeExt=class{},Ae.E.EnumerableRowCollectionExt=class{};let na=Ae.X.StiValueComparer;Ee.prototype.whereEqualsTo=function(e,r){return this.where(t=>na.equalValues(e,r))},Ee.prototype.whereArrayItemEqualsTo=function(e,r){return-1==e?this:this.where(t=>na.equalValues(t[e],r))},Ee.prototype.whereArrayItemStringEqualsTo=function(e,r){return-1==e?this:this.where(t=>na.equalValues(Ee.toString2(t[e]),r))},Ee.prototype.whereFirstOrDefaultArrayItemStringEqualsTo=function(e,r){return-1==e?this.firstOrDefault():this.firstOrDefault(t=>na.equalValues(Ee.toString2(t[e]),r))},Ee.toString2=function(t){return null==t?"":t.toString()},Ee.prototype.getArrayItem=function(e){return this.select(t=>t[e])},Ee.prototype.tryCastValueOrFirstDefaultToNullableNumber=function(){return this.select(t=>zi.tryToNullableNumber(Ae.E.ListExt.getValueOrFirstOrDefault(t)))},Ee.prototype.tryCastToNullableNumber=function(){return this.select(t=>zi.tryToNullableNumber(t))},Ee.prototype.tryCastToNumber=function(){return this.select(t=>zi.tryToNumber(t))},Ee.prototype.tryCastToBool=function(){return this.select(t=>zi.tryToBool(t))},Ee.prototype.tryCastToDateTime=function(){return this.select(t=>zi.tryToDateTime(t))},Ee.prototype.tryCastToNullableDateTime=function(){return this.select(t=>zi.tryToNullableDateTime(t))},Ee.prototype.tryCastToTimeSpan=function(){return this.select(t=>zi.tryToTimeSpan(t))},Ee.prototype.tryCastToNullableTimeSpan=function(){return this.select(t=>zi.tryToNullableTimeSpan(t))},Ee.prototype.tryCastToString=function(){return this.select(t=>zi.tryToString(t))},Ee.prototype.firstOrDefaultAsNullableNumber=function(){return zi.tryToNullableNumber(Ae.E.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},Ee.prototype.firstOrDefaultAsNumber=function(){return zi.tryToNumber(Ae.E.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},Ee.getValueOrFirstOrDefault=function(t){return Ae.E.ListExt.isList(t)?Ae.E.ListExt.toList(t).firstOrDefault():t},Ee.add2=function(t,r){let i=null!=t?t.stimulsoft().as(Ee):null,e=null!=r?r.stimulsoft().as(Ee):null;if(null==i&&null==e)return null;if(null!=i&&null!=e)return i.zip(e,(t,e)=>zi.tryToNumber(t)+zi.tryToNumber(e)).cast();if(null!=i){let e=zi.tryToNumber(r);return i.select(t=>zi.tryToNumber(t)+e).cast()}let n=zi.tryToNumber(t);return e.select(t=>zi.tryToNumber(t)+n).cast()},Ee.sub=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e)return i.zip(e,(t,e)=>zi.tryToNumber(t)-zi.tryToNumber(e)).cast();if(null!=i){let e=zi.tryToNumber(r);return i.select(t=>zi.tryToNumber(t)-e).cast()}let n=zi.tryToNumber(t);return e.select(t=>zi.tryToNumber(t)-n).cast()},Ee.mult=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e)return i.zip(e,(t,e)=>zi.tryToNumber(t)*zi.tryToNumber(e)).cast();if(null!=i){let e=zi.tryToNumber(r);return i.select(t=>zi.tryToNumber(t)*e).cast()}let n=zi.tryToNumber(t);return e.select(t=>zi.tryToNumber(t)*n).cast()},Ee.bitwiseAnd=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e){let t=i.zip(e,(t,e)=>zi.tryToNumber(t)&zi.tryToNumber(e)).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}if(null!=i){let e=zi.tryToNumber(r),t=i.select(t=>zi.tryToNumber(t)&e).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}let n=zi.tryToNumber(t),a=e.select(t=>zi.tryToNumber(t)&n).cast();return Ae.E.ListExt.isBoolList(e)?a.tryCastToNumber().select(t=>1==t).cast():a},Ee.bitwiseXOr=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e){let t=i.zip(e,(t,e)=>zi.tryToNumber(t)^zi.tryToNumber(e)).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}if(null!=i){let e=zi.tryToNumber(r),t=i.select(t=>zi.tryToNumber(t)^e).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}let n=zi.tryToNumber(t),a=e.select(t=>zi.tryToNumber(t)^n).cast();return Ae.E.ListExt.isBoolList(e)?a.tryCastToNumber().select(t=>1==t).cast():a},Ee.bitwiseOr=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e){let t=i.zip(e,(t,e)=>zi.tryToNumber(t)|zi.tryToNumber(e)).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}if(null!=i){let e=zi.tryToNumber(r),t=i.select(t=>zi.tryToNumber(t)|e).cast();return Ae.E.ListExt.isBoolList(i)?t.tryCastToNumber().select(t=>1==t).cast():t}let n=zi.tryToNumber(t),a=e.select(t=>zi.tryToNumber(t)|n).cast();return Ae.E.ListExt.isBoolList(e)?a.tryCastToNumber().select(t=>1==t).cast():a},Ee.div=function(t,r){let i=t.stimulsoft().as(Ee),e=r.stimulsoft().as(Ee);if(null==i&&null==e)return null;if(null!=i&&null!=e)return i.zip(e,(t,e)=>0!=zi.tryToNumber(e)?zi.tryToNumber(t)/zi.tryToNumber(e):0).cast();if(null!=i){let e=zi.tryToNumber(r);return i.select(t=>0!=e?zi.tryToNumber(t)/e:0).cast()}let n=zi.tryToNumber(t);return e.select(t=>0!=n?zi.tryToNumber(t)/n:0).cast()};let aa=Ae.ac.IStiLocalizedMeter;var tt=class{static getLabel(e){if(null==e)return"Unknown";if(!De.isNullOrEmpty(e.label))return e.label;var r=e.is(aa)&&e.localizedName;try{if(!De.isNullOrWhiteSpace(e.expression)&&this.cache.contains(e.expression))return this.cache.get(e.expression);let t=Ae.A.StiExpressionHelper.getFirstArgumentFromExpression(e.expression);return null==t&&(t=Ae.A.StiExpressionHelper.getFunction(e.expression)),null==t&&null!=r&&(t=r),t.stimulsoft().contains(".")&&(t=t.split(".").stimulsoft().toList().lastOrDefault()),0<t.length&&Be.isUpper(t[0])||(t=Ae.I.Funcs.toProperCase(t)),De.isNullOrWhiteSpace(e.expression)||this.cache.add(e.expression,t),t}catch(t){return De.isNullOrWhiteSpace(e.expression)||this.cache.add(e.expression,r),r}}},sa,oa,la,ua,ha,ca,da,ma,pa,ga,fa,Sa,ba,ya,va,wa,Ca,Ta,Pa,Ia,Aa,xa,Da,Ba,Ea,ka,Na,ft,V,H,M,q,W,F,k,l,e,L,B,D,v,b,x,P,p,m,u,wt,yt,pt,dt,ht,ot,rt;tt.cache=new Ri,Ae.A.StiLabelHelper=tt;let Fa=Ae.A.StiLabelHelper;Ae.E.ListTableExt=class{static toNetTable(t,e,r=!1){let i=new ze,n=t,a=0;return e.forEach(t=>{var e=this.findType(n,a),e=new it(Ae.E.DataTableExt.getUniqueName2(i,t,Fa.getLabel(t)),e);i.columns.add(e),a++}),r||t.forEach(t=>this.loadDataRow(i,t)),i}static loadDataRow(r,i){try{r.loadDataRow(i,!0)}catch(t){let e=r.newRow();for(let t=0;t<i.length;t++)try{e.sett(t,i[t])}catch(t){}r.rows.add(e)}}static findType(t,e){var e=this.findTypeInRows(t,e);if(null!=e)return e;return Object}static findTypeInRows(t,e){let r=t.select(t=>t[e]).where(t=>null!=t).select(t=>Wr.getType(t)).where(t=>null!=t).distinct();if(null==r||!r.any()||1<r.count2())return Object;return r.firstOrDefault()}},Ae.E.StiMeterExt=class{static indexOf(t,e){return null!=e?t.indexOf(e):-1}static getDimensions(t){return t&&t.where(t=>t.is(un)).cast()}},Ae.E.TOuterExt=class{};{let a=class{static dayOfWeek(t){return xt.currentCulture.dateTimeFormat.dayNames[t.dayOfWeek]}static dayOfWeek2(t,e){if(!e)return a.dayOfWeek(t);switch(t.dayOfWeek){case $i.Sunday:return nn.get("A_WebViewer","DaySunday");case $i.Monday:return nn.get("A_WebViewer","DayMonday");case $i.Tuesday:return nn.get("A_WebViewer","DayTuesday");case $i.Wednesday:return nn.get("A_WebViewer","DayWednesday");case $i.Thursday:return nn.get("A_WebViewer","DayThursday");case $i.Friday:return nn.get("A_WebViewer","DayFriday");case $i.Saturday:return nn.get("A_WebViewer","DaySaturday")}return a.dayOfWeek(t)}static dayOfWeek3(e,r){let i="";try{return new xt(r).dateTimeFormat.dayNames[e.value]}catch(t){var r=r.toLowerCase();if(!a.cultureIndexes.containsKey(r))return xt.currentCulture.dateTimeFormat.dayNames[e.value];var r=a.cultureIndexes.get(r);e.value<a.days[r].length&&(i=a.days[r][e.value]),a.defaultUpperCaseList[r]&&(i=i.substring(0,1).toUpperCase()+i.substring(1))}return i}static dayOfWeek4(t,e,r){let i=a.dayOfWeek6(t,e).toLowerCase();return r?i.substring(0,1).toUpperCase()+i.substring(1):i}static dayOfWeek5(e){if(De.isNullOrWhiteSpace(e))return null;e=e.toLowerCase().trim();for(var r of this.days)for(let t=0;t<r.length;t++){var i;if(r[t].toLowerCase()==e)return Ae.I.StiDayOfWeek[t]}return null}static dayOfWeek6(t,e){return this.dayOfWeek3(Ae.I.StiDayOfWeek[t.dayOfWeek],e)}static addCulture(t,e,r){var i=a.days.count2(),n;a.days.add(t),a.defaultUpperCaseList.add(r);for(n of e)a.cultureIndexes.set(n.toLowerCase(),i)}static initialize(){a.days=new Ee,a.defaultUpperCaseList=new Ee,a.cultureIndexes=new Dt,a.addCulture(["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],["en"],!1),a.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),a.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),a.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),a.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),a.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),a.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),a.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),a.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),a.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),a.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),a.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),a.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),a.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),a.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),a.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),a.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),a.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),a.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),a.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),a.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),a.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),a.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),a.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),a.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),a.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),a.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)}};Ae.I.StiDayOfWeekToStrHelper=a,a.initialize()}Ae.I.StiExtValueConverter=class{static isEligable(t,e){if(De.isNullOrWhiteSpace(e))return!1;return(null==t?void 0:t.stimulsoft().is(Ae.I.StiMonth))||(null==t?void 0:t.stimulsoft().is(Ae.I.StiDayOfWeek))}static convert(t,e){if(De.isNullOrWhiteSpace(e))return null;return null!=t&&t.stimulsoft().is(Ae.I.StiMonth)?Ae.I.Funcs.toProperCase(Ae.I.StiMonthToStrHelper.monthName5(t,e)):null!=t&&t.stimulsoft().is(Ae.I.StiDayOfWeek)?Ae.I.Funcs.toProperCase(Ae.I.StiDayOfWeekToStrHelper.dayOfWeek3(t,e)):null}};{let a=class{static monthName(t){return t.toString("MMMM")}static monthName2(t,e){if(!e)return a.monthName(t);switch(t.month){case 1:return nn.get("A_WebViewer","MonthJanuary");case 2:return nn.get("A_WebViewer","MonthFebruary");case 3:return nn.get("A_WebViewer","MonthMarch");case 4:return nn.get("A_WebViewer","MonthApril");case 5:return nn.get("A_WebViewer","MonthMay");case 6:return nn.get("A_WebViewer","MonthJune");case 7:return nn.get("A_WebViewer","MonthJuly");case 8:return nn.get("A_WebViewer","MonthAugust");case 9:return nn.get("A_WebViewer","MonthSeptember");case 10:return nn.get("A_WebViewer","MonthOctober");case 11:return nn.get("A_WebViewer","MonthNovember");case 12:return nn.get("A_WebViewer","MonthDecember")}return a.monthName(t)}static monthName3(e,r){var e=e.month;let i="";try{var n=xt.cultures[r];i=n.dateTimeFormat.monthNames[e]}catch(t){var n=r.toLowerCase();if(!a.cultureIndexes.containsKey(n))throw new Error(`Function 'MonthName': There is no data for specified culture '${r}'.`);var n=a.cultureIndexes.get(n);e<a.months[n].length&&(i=a.months[n][e-1]),a.defaultUpperCaseList[n]&&(i=i.substring(0,1).toUpperCase()+i.substring(1))}return i}static monthName4(t,e,r){let i=a.monthName3(t,e).toLowerCase();return r?i.substring(0,1).toUpperCase()+i.substring(1):i}static monthName5(t,e){return this.monthName3(new z(0,t.value,0),e)}static addCulture(t,e,r){var i=a.months.count2(),n;a.months.add(t),a.defaultUpperCaseList.add(r);for(n of e)a.cultureIndexes.set(n.toLowerCase(),i)}static month2(t){return 1<=t||t<=12?Ae.I.StiMonth[t]:null}static month(e){if(De.isNullOrWhiteSpace(e))return null;e=e.toLowerCase().trim();for(var r of this.months)for(let t=0;t<r.length;t++){var i;if(r[t].toLowerCase()==e)return Ae.I.StiMonth[t+1]}return null}static initialize(){a.months=new Ee,a.defaultUpperCaseList=new Ee,a.cultureIndexes=new Dt,a.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),a.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),a.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),a.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),a.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),a.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),a.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),a.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),a.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),a.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),a.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),a.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),a.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),a.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),a.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),a.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),a.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),a.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),a.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),a.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),a.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),a.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),a.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),a.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),a.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),a.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),a.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)}};Ae.I.StiMonthToStrHelper=a,a.initialize()}let Ra=Ae.d.StiConvert;{let a=class{static toNetTable(t,i=null){if(null==t)return null;let n=new ze,e=t.rows.firstOrDefault(),r=0;return t.meters.forEach(t=>{n.columns.add(new it(Hi.getUniqueName(n,t),a.getDataType(e,r,i))),r++}),t.rows.forEach(e=>{let r=n.newRow();try{for(let t=0;t<e.length;t++){if(t>=i.length)continue;try{null==e[t]?e[t]=null:r.sett(t,Ra.changeType(e[t],n.columns.getByIndex(t).dataType))}catch(t){}}}catch(t){}n.rows.add(r)}),n}static getDataType(t,e,r=null){var i,n;if(null!=r&&e<r.length)return r[e];return null!=t?Wr.getType(t[e]):Object}};Ae.A.StiDataTableConverter=a}Ae.A.StiUsedDataHelper=class{static getMany(...t){if(null==t)return new Ee;return t.stimulsoft().toList().where(t=>null!=t).selectMany(this.getSingle,this).distinct().toList()}static getMany2(t){if(null==t)return new Ee;return t.where(t=>null!=t).selectMany(this.getSingle,this).distinct()}static getSingle(t){return this.getSingle2(t.expression)}static getSingle2(t){if(De.isNullOrWhiteSpace(t))return new Ee;try{return Ae.A.StiExpressionHelper.getArguments(t)}catch(t){}return new Ee}},Ae.J.StiFunctionColumnPair=class{get function(){return this._function}set function(t){this._function=t}get columnName(){return this._columnName}set columnName(t){this._columnName=t}},Y.tsfa=function(t,e,r,i){var n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i,s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;0<=o;o--)(s=t[o])&&(a=(n<3?s(a):3<n?s(e,r,a):s(e,r))||a);return 3<n&&a&&Object.defineProperty(e,r,a),a},Y.tsfb=function(t,s,r,o){function l(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r=r||Promise)(function(e,r){function i(t){try{a(o.next(t))}catch(t){r(t)}}function n(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?e(t.value):l(t.value).then(i,n)}a((o=o.apply(t,s||[])).next())})},(rt=sa=Ae.c.StiParserType||(Ae.c.StiParserType={}))[rt["ReportParser"]=0]="ReportParser",rt[rt["DataParser"]=1]="DataParser",(ot=oa=Ae.c.StiNestedFactor||(Ae.c.StiNestedFactor={}))[ot["High"]=0]="High",ot[ot["Normal"]=1]="Normal",ot[ot["Low"]=2]="Low",(ht=la=Ae.c.StiOrientation||(Ae.c.StiOrientation={}))[ht["Horizontal"]=0]="Horizontal",ht[ht["Vertical"]=1]="Vertical",(dt=ua=Ae.c.StiResizeReportOptions||(Ae.c.StiResizeReportOptions={}))[dt["ProcessAllPages"]=1]="ProcessAllPages",dt[dt["RebuildReport"]=2]="RebuildReport",dt[dt["RescaleContent"]=4]="RescaleContent",dt[dt["PageOrientationChanged"]=8]="PageOrientationChanged",dt[dt["ShowProgressOnRebuildReport"]=16]="ShowProgressOnRebuildReport",dt[dt["AllowPageMarginsRescaling"]=32]="AllowPageMarginsRescaling",(pt=ha=Ae.c.StiCalculationMode||(Ae.c.StiCalculationMode={}))[pt["Compilation"]=0]="Compilation",pt[pt["Interpretation"]=1]="Interpretation",(yt=ca=Ae.c.StiReportLanguageType||(Ae.c.StiReportLanguageType={}))[yt["CSharp"]=0]="CSharp",yt[yt["VB"]=1]="VB",yt[yt["JS"]=2]="JS",(wt=da=Ae.c.StiReportUnitType||(Ae.c.StiReportUnitType={}))[wt["Centimeters"]=0]="Centimeters",wt[wt["HundredthsOfInch"]=1]="HundredthsOfInch",wt[wt["Inches"]=2]="Inches",wt[wt["Millimeters"]=3]="Millimeters",(u=ma=Ae.c.StiGridMode||(Ae.c.StiGridMode={}))[u["Lines"]=0]="Lines",u[u["Dots"]=1]="Dots",(m=pa=Ae.c.StiReportPass||(Ae.c.StiReportPass={}))[m["None"]=0]="None",m[m["First"]=1]="First",m[m["Second"]=2]="Second",(p=ga=Ae.c.StiNumberOfPass||(Ae.c.StiNumberOfPass={}))[p["SinglePass"]=0]="SinglePass",p[p["DoublePass"]=1]="DoublePass",(P=fa=Ae.c.StiExportFormat||(Ae.c.StiExportFormat={}))[P["None"]=0]="None",P[P["Pdf"]=1]="Pdf",P[P["Xps"]=2]="Xps",P[P["HtmlTable"]=3]="HtmlTable",P[P["HtmlSpan"]=4]="HtmlSpan",P[P["HtmlDiv"]=5]="HtmlDiv",P[P["Rtf"]=6]="Rtf",P[P["RtfTable"]=7]="RtfTable",P[P["RtfFrame"]=8]="RtfFrame",P[P["RtfWinWord"]=9]="RtfWinWord",P[P["RtfTabbedText"]=10]="RtfTabbedText",P[P["Text"]=11]="Text",P[P["Excel"]=12]="Excel",P[P["ExcelXml"]=13]="ExcelXml",P[P["Excel2007"]=14]="Excel2007",P[P["Word2007"]=15]="Word2007",P[P["Xml"]=16]="Xml",P[P["Csv"]=17]="Csv",P[P["Dif"]=18]="Dif",P[P["Sylk"]=19]="Sylk",P[P["Image"]=20]="Image",P[P["ImageGif"]=21]="ImageGif",P[P["ImageBmp"]=22]="ImageBmp",P[P["ImagePng"]=23]="ImagePng",P[P["ImageTiff"]=24]="ImageTiff",P[P["ImageJpeg"]=25]="ImageJpeg",P[P["ImagePcx"]=26]="ImagePcx",P[P["ImageEmf"]=27]="ImageEmf",P[P["ImageSvg"]=28]="ImageSvg",P[P["ImageSvgz"]=29]="ImageSvgz",P[P["Mht"]=30]="Mht",P[P["Dbf"]=31]="Dbf",P[P["Html"]=32]="Html",P[P["Ods"]=33]="Ods",P[P["Odt"]=34]="Odt",P[P["Ppt2007"]=35]="Ppt2007",P[P["Html5"]=36]="Html5",P[P["Data"]=37]="Data",P[P["Json"]=38]="Json",P[P["Document"]=1e3]="Document",(x=Sa=Ae.c.StiReportCacheMode||(Ae.c.StiReportCacheMode={}))[x["Off"]=0]="Off",x[x["On"]=1]="On",x[x["Auto"]=2]="Auto",(b=ba=Ae.c.StiReportResourceType||(Ae.c.StiReportResourceType={}))[b["Bitmap"]=0]="Bitmap",b[b["Metafile"]=1]="Metafile",b[b["Report"]=2]="Report",(v=ya=Ae.c.StiRangeType||(Ae.c.StiRangeType={}))[v["All"]=1]="All",v[v["CurrentPage"]=2]="CurrentPage",v[v["Pages"]=3]="Pages",(D=va=Ae.c.StiHtmlType||(Ae.c.StiHtmlType={}))[D["Html"]=1]="Html",D[D["Html5"]=2]="Html5",D[D["Mht"]=3]="Mht",(B=wa=Ae.c.ImageFormat||(Ae.c.ImageFormat={}))[B["Bmp"]=0]="Bmp",B[B["Emf"]=1]="Emf",B[B["Exif"]=2]="Exif",B[B["Gif"]=3]="Gif",B[B["Guid"]=4]="Guid",B[B["Icon"]=5]="Icon",B[B["Jpeg"]=6]="Jpeg",B[B["MemoryBmp"]=7]="MemoryBmp",B[B["Png"]=8]="Png",B[B["Tiff"]=9]="Tiff",B[B["Wmf"]=10]="Wmf",(L=Ca=Ae.c.StiArabicDigitsType||(Ae.c.StiArabicDigitsType={}))[L["Standard"]=0]="Standard",L[L["Eastern"]=1]="Eastern",(e=Ta=Ae.c.StiBrushType||(Ae.c.StiBrushType={}))[e["Solid"]=0]="Solid",e[e["Glare"]=1]="Glare",e[e["Gradient0"]=2]="Gradient0",e[e["Gradient90"]=3]="Gradient90",e[e["Gradient180"]=4]="Gradient180",e[e["Gradient270"]=5]="Gradient270",e[e["Gradient45"]=6]="Gradient45",(l=Pa=Ae.c.StiComponentId||(Ae.c.StiComponentId={}))[l["StiComponent"]=0]="StiComponent",l[l["StiBarCode"]=1]="StiBarCode",l[l["StiButtonControl"]=2]="StiButtonControl",l[l["StiChart"]=3]="StiChart",l[l["StiSparkline"]=4]="StiSparkline",l[l["StiChartCommon"]=5]="StiChartCommon",l[l["StiCheckBox"]=6]="StiCheckBox",l[l["StiCheckBoxControl"]=7]="StiCheckBoxControl",l[l["StiCheckedListBoxControl"]=8]="StiCheckedListBoxControl",l[l["StiChildBand"]=9]="StiChildBand",l[l["StiClone"]=10]="StiClone",l[l["StiColumnFooterBand"]=11]="StiColumnFooterBand",l[l["StiColumnHeaderBand"]=12]="StiColumnHeaderBand",l[l["StiComboBoxControl"]=13]="StiComboBoxControl",l[l["StiContainer"]=14]="StiContainer",l[l["StiContourText"]=15]="StiContourText",l[l["StiCrossColumn"]=16]="StiCrossColumn",l[l["StiCrossColumnTotal"]=17]="StiCrossColumnTotal",l[l["StiCrossDataBand"]=18]="StiCrossDataBand",l[l["StiCrossFooterBand"]=19]="StiCrossFooterBand",l[l["StiCrossGroupFooterBand"]=20]="StiCrossGroupFooterBand",l[l["StiCrossGroupHeaderBand"]=21]="StiCrossGroupHeaderBand",l[l["StiCrossHeaderBand"]=22]="StiCrossHeaderBand",l[l["StiCrossRow"]=23]="StiCrossRow",l[l["StiCrossRowTotal"]=24]="StiCrossRowTotal",l[l["StiCrossSummary"]=25]="StiCrossSummary",l[l["StiCrossTab"]=26]="StiCrossTab",l[l["StiCrossTitle"]=27]="StiCrossTitle",l[l["StiDashboardPage"]=28]="StiDashboardPage",l[l["StiDataBand"]=29]="StiDataBand",l[l["StiDateTimePickerControl"]=30]="StiDateTimePickerControl",l[l["StiEmptyBand"]=31]="StiEmptyBand",l[l["StiFooterBand"]=32]="StiFooterBand",l[l["StiForm"]=33]="StiForm",l[l["StiGridControl"]=34]="StiGridControl",l[l["StiGroupBoxControl"]=35]="StiGroupBoxControl",l[l["StiGroupFooterBand"]=36]="StiGroupFooterBand",l[l["StiGroupHeaderBand"]=37]="StiGroupHeaderBand",l[l["StiHeaderBand"]=38]="StiHeaderBand",l[l["StiHierarchicalBand"]=39]="StiHierarchicalBand",l[l["StiHorizontalLinePrimitive"]=40]="StiHorizontalLinePrimitive",l[l["StiImage"]=41]="StiImage",l[l["StiLabelControl"]=42]="StiLabelControl",l[l["StiListBoxControl"]=43]="StiListBoxControl",l[l["StiListViewControl"]=44]="StiListViewControl",l[l["StiLookUpBoxControl"]=45]="StiLookUpBoxControl",l[l["StiNumericUpDownControl"]=46]="StiNumericUpDownControl",l[l["StiOverlayBand"]=47]="StiOverlayBand",l[l["StiPage"]=48]="StiPage",l[l["StiPageFooterBand"]=49]="StiPageFooterBand",l[l["StiPageHeaderBand"]=50]="StiPageHeaderBand",l[l["StiPanel"]=51]="StiPanel",l[l["StiPanelControl"]=52]="StiPanelControl",l[l["StiPictureBoxControl"]=53]="StiPictureBoxControl",l[l["StiRadioButtonControl"]=54]="StiRadioButtonControl",l[l["StiRectanglePrimitive"]=55]="StiRectanglePrimitive",l[l["StiReportControl"]=56]="StiReportControl",l[l["StiReportSummaryBand"]=57]="StiReportSummaryBand",l[l["StiReportTitleBand"]=58]="StiReportTitleBand",l[l["StiRichText"]=59]="StiRichText",l[l["StiRichTextBoxControl"]=60]="StiRichTextBoxControl",l[l["StiRoundedRectanglePrimitive"]=61]="StiRoundedRectanglePrimitive",l[l["StiShape"]=62]="StiShape",l[l["StiSubReport"]=63]="StiSubReport",l[l["StiSystemText"]=64]="StiSystemText",l[l["StiTable"]=65]="StiTable",l[l["StiTableCell"]=66]="StiTableCell",l[l["StiText"]=67]="StiText",l[l["StiTextBoxControl"]=68]="StiTextBoxControl",l[l["StiTextInCells"]=69]="StiTextInCells",l[l["StiTreeViewControl"]=70]="StiTreeViewControl",l[l["StiVerticalLinePrimitive"]=71]="StiVerticalLinePrimitive",l[l["StiWinControl"]=72]="StiWinControl",l[l["StiUndefinedComponent"]=73]="StiUndefinedComponent",l[l["StiZipCode"]=74]="StiZipCode",l[l["StiTableCellCheckBox"]=75]="StiTableCellCheckBox",l[l["StiTableCellImage"]=76]="StiTableCellImage",l[l["StiTableCellRichText"]=77]="StiTableCellRichText",l[l["StiDataColumn"]=78]="StiDataColumn",l[l["StiCalcDataColumn"]=79]="StiCalcDataColumn",l[l["StiBusinessObject"]=80]="StiBusinessObject",l[l["StiDataSource"]=81]="StiDataSource",l[l["StiDataStoreSource"]=82]="StiDataStoreSource",l[l["StiFileDataSource"]=83]="StiFileDataSource",l[l["StiDataRelation"]=84]="StiDataRelation",l[l["StiVariable"]=85]="StiVariable",l[l["StiResource"]=86]="StiResource",l[l["StiReport"]=87]="StiReport",l[l["StiStyle"]=88]="StiStyle",l[l["StiCrossTabStyle"]=89]="StiCrossTabStyle",l[l["StiChartStyle"]=90]="StiChartStyle",l[l["StiMapStyle"]=91]="StiMapStyle",l[l["StiTableStyle"]=92]="StiTableStyle",l[l["StiGaugeStyle"]=93]="StiGaugeStyle",l[l["StiIndicatorStyle"]=94]="StiIndicatorStyle",l[l["StiDialogStyle"]=95]="StiDialogStyle",l[l["StiDataParameter"]=96]="StiDataParameter",l[l["StiCrossField"]=97]="StiCrossField",l[l["StiCrossTotal"]=98]="StiCrossTotal",l[l["StiCrossCell"]=99]="StiCrossCell",l[l["StiCrossHeader"]=100]="StiCrossHeader",l[l["StiCrossSummaryHeader"]=101]="StiCrossSummaryHeader",l[l["StiStartPointPrimitive"]=102]="StiStartPointPrimitive",l[l["StiEndPointPrimitive"]=103]="StiEndPointPrimitive",l[l["StiEvent"]=104]="StiEvent",l[l["StiTableOfContents"]=105]="StiTableOfContents",l[l["StiChartElement"]=106]="StiChartElement",l[l["StiGaugeElement"]=107]="StiGaugeElement",l[l["StiImageElement"]=108]="StiImageElement",l[l["StiIndicatorElement"]=109]="StiIndicatorElement",l[l["StiRegionMapElement"]=110]="StiRegionMapElement",l[l["StiOnlineMapElement"]=111]="StiOnlineMapElement",l[l["StiTableElement"]=112]="StiTableElement",l[l["StiPivotTableElement"]=113]="StiPivotTableElement",l[l["StiProgressElement"]=114]="StiProgressElement",l[l["StiTextElement"]=115]="StiTextElement",l[l["StiPanelElement"]=116]="StiPanelElement",l[l["StiShapeElement"]=117]="StiShapeElement",l[l["StiTreeViewElement"]=118]="StiTreeViewElement",l[l["StiTreeViewBoxElement"]=119]="StiTreeViewBoxElement",l[l["StiListBoxElement"]=120]="StiListBoxElement",l[l["StiComboBoxElement"]=121]="StiComboBoxElement",l[l["StiDatePickerElement"]=122]="StiDatePickerElement",l[l["StiDateRangeElement"]=123]="StiDateRangeElement",l[l["StiCardsElement"]=124]="StiCardsElement",l[l["StiDashboard"]=125]="StiDashboard",l[l["Sti3dOptions"]=126]="Sti3dOptions",l[l["StiSeries"]=127]="StiSeries",l[l["StiBubbleSeries"]=128]="StiBubbleSeries",l[l["StiClusteredColumnSeries"]=129]="StiClusteredColumnSeries",l[l["StiParetoSeries"]=130]="StiParetoSeries",l[l["StiLineSeries"]=131]="StiLineSeries",l[l["StiSteppedLineSeries"]=132]="StiSteppedLineSeries",l[l["StiSplineSeries"]=133]="StiSplineSeries",l[l["StiAreaSeries"]=134]="StiAreaSeries",l[l["StiBoxAndWhiskerSeries"]=135]="StiBoxAndWhiskerSeries",l[l["StiSteppedAreaSeries"]=136]="StiSteppedAreaSeries",l[l["StiSplineAreaSeries"]=137]="StiSplineAreaSeries",l[l["StiStackedColumnSeries"]=138]="StiStackedColumnSeries",l[l["StiStackedLineSeries"]=139]="StiStackedLineSeries",l[l["StiStackedSplineSeries"]=140]="StiStackedSplineSeries",l[l["StiStackedAreaSeries"]=141]="StiStackedAreaSeries",l[l["StiStackedSplineAreaSeries"]=142]="StiStackedSplineAreaSeries",l[l["StiFullStackedColumnSeries"]=143]="StiFullStackedColumnSeries",l[l["StiFullStackedLineSeries"]=144]="StiFullStackedLineSeries",l[l["StiFullStackedAreaSeries"]=145]="StiFullStackedAreaSeries",l[l["StiFullStackedSplineSeries"]=146]="StiFullStackedSplineSeries",l[l["StiFullStackedSplineAreaSeries"]=147]="StiFullStackedSplineAreaSeries",l[l["StiClusteredBarSeries"]=148]="StiClusteredBarSeries",l[l["StiStackedBarSeries"]=149]="StiStackedBarSeries",l[l["StiTreemapSeries"]=150]="StiTreemapSeries",l[l["StiSunburstSeries"]=151]="StiSunburstSeries",l[l["StiWaterfallSeries"]=152]="StiWaterfallSeries",l[l["StiPictorialSeries"]=153]="StiPictorialSeries",l[l["StiHistogramSeries"]=154]="StiHistogramSeries",l[l["StiFullStackedBarSeries"]=155]="StiFullStackedBarSeries",l[l["StiPieSeries"]=156]="StiPieSeries",l[l["StiPie3dSeries"]=157]="StiPie3dSeries",l[l["StiDoughnutSeries"]=158]="StiDoughnutSeries",l[l["StiGanttSeries"]=159]="StiGanttSeries",l[l["StiScatterSeries"]=160]="StiScatterSeries",l[l["StiScatterLineSeries"]=161]="StiScatterLineSeries",l[l["StiScatterSplineSeries"]=162]="StiScatterSplineSeries",l[l["StiRadarAreaSeries"]=163]="StiRadarAreaSeries",l[l["StiRadarLineSeries"]=164]="StiRadarLineSeries",l[l["StiRadarPointSeries"]=165]="StiRadarPointSeries",l[l["StiRangeSeries"]=166]="StiRangeSeries",l[l["StiSteppedRangeSeries"]=167]="StiSteppedRangeSeries",l[l["StiFunnelSeries"]=168]="StiFunnelSeries",l[l["StiFunnelWeightedSlicesSeries"]=169]="StiFunnelWeightedSlicesSeries",l[l["StiRangeBarSeries"]=170]="StiRangeBarSeries",l[l["StiSplineRangeSeries"]=171]="StiSplineRangeSeries",l[l["StiCandlestickSeries"]=172]="StiCandlestickSeries",l[l["StiStockSeries"]=173]="StiStockSeries",l[l["StiChartTitle"]=174]="StiChartTitle",l[l["StiLineMarker"]=175]="StiLineMarker",l[l["StiMarker"]=176]="StiMarker",l[l["StiChartTable"]=177]="StiChartTable",l[l["StiSeriesTopN"]=178]="StiSeriesTopN",l[l["StiSeriesInteraction"]=179]="StiSeriesInteraction",l[l["StiTrendLine"]=180]="StiTrendLine",l[l["StiSeriesLabels"]=181]="StiSeriesLabels",l[l["StiNoneLabels"]=182]="StiNoneLabels",l[l["StiInsideEndAxisLabels"]=183]="StiInsideEndAxisLabels",l[l["StiInsideBaseAxisLabels"]=184]="StiInsideBaseAxisLabels",l[l["StiCenterTreemapLabels"]=185]="StiCenterTreemapLabels",l[l["StiCenterAxisLabels"]=186]="StiCenterAxisLabels",l[l["StiOutsideEndAxisLabels"]=187]="StiOutsideEndAxisLabels",l[l["StiOutsideBaseAxisLabels"]=188]="StiOutsideBaseAxisLabels",l[l["StiOutsideAxisLabels"]=189]="StiOutsideAxisLabels",l[l["StiLeftAxisLabels"]=190]="StiLeftAxisLabels",l[l["StiValueAxisLabels"]=191]="StiValueAxisLabels",l[l["StiRightAxisLabels"]=192]="StiRightAxisLabels",l[l["StiCenterFunnelLabels"]=193]="StiCenterFunnelLabels",l[l["StiCenterPieLabels"]=194]="StiCenterPieLabels",l[l["StiCenterPie3dLabels"]=195]="StiCenterPie3dLabels",l[l["StiOutsidePieLabels"]=196]="StiOutsidePieLabels",l[l["StiTwoColumnsPieLabels"]=197]="StiTwoColumnsPieLabels",l[l["StiOutsideLeftFunnelLabels"]=198]="StiOutsideLeftFunnelLabels",l[l["StiOutsideRightFunnelLabels"]=199]="StiOutsideRightFunnelLabels",l[l["StiLegend"]=200]="StiLegend",l[l["StiClusteredColumnArea"]=201]="StiClusteredColumnArea",l[l["StiPieArea"]=202]="StiPieArea",l[l["StiPie3dArea"]=203]="StiPie3dArea",l[l["StiTreemapArea"]=204]="StiTreemapArea",l[l["StiSunburstArea"]=205]="StiSunburstArea",l[l["StiWaterfallArea"]=206]="StiWaterfallArea",l[l["StiHistorgamArea"]=207]="StiHistorgamArea",l[l["StiFunnelArea"]=208]="StiFunnelArea",l[l["StiFunnelWeightedSlicesArea"]=209]="StiFunnelWeightedSlicesArea",l[l["StiPictorialArea"]=210]="StiPictorialArea",l[l["StiRadarAreaArea"]=211]="StiRadarAreaArea",l[l["StiRadarLineArea"]=212]="StiRadarLineArea",l[l["StiRadarPointArea"]=213]="StiRadarPointArea",l[l["StiStackedColumnArea"]=214]="StiStackedColumnArea",l[l["StiGridLines"]=215]="StiGridLines",l[l["StiInterlacing"]=216]="StiInterlacing",l[l["StiXAxis"]=217]="StiXAxis",l[l["StiXTopAxis"]=218]="StiXTopAxis",l[l["StiYAxis"]=219]="StiYAxis",l[l["StiYRightAxis"]=220]="StiYRightAxis",l[l["StiRadarGridLines"]=221]="StiRadarGridLines",l[l["StiXRadarAxis"]=222]="StiXRadarAxis",l[l["StiYRadarAxis"]=223]="StiYRadarAxis",l[l["StiDialogInfoItem"]=224]="StiDialogInfoItem",l[l["StiStringDialogInfoItem"]=225]="StiStringDialogInfoItem",l[l["StiGuidDialogInfoItem"]=226]="StiGuidDialogInfoItem",l[l["StiCharDialogInfoItem"]=227]="StiCharDialogInfoItem",l[l["StiBoolDialogInfoItem"]=228]="StiBoolDialogInfoItem",l[l["StiImageDialogInfoItem"]=229]="StiImageDialogInfoItem",l[l["StiDateTimeDialogInfoItem"]=230]="StiDateTimeDialogInfoItem",l[l["StiTimeSpanDialogInfoItem"]=231]="StiTimeSpanDialogInfoItem",l[l["StiDoubleDialogInfoItem"]=232]="StiDoubleDialogInfoItem",l[l["StiDecimalDialogInfoItem"]=233]="StiDecimalDialogInfoItem",l[l["StiLongDialogInfoItem"]=234]="StiLongDialogInfoItem",l[l["StiExpressionDialogInfoItem"]=235]="StiExpressionDialogInfoItem",l[l["StiStringRangeDialogInfoItem"]=236]="StiStringRangeDialogInfoItem",l[l["StiGuidRangeDialogInfoItem"]=237]="StiGuidRangeDialogInfoItem",l[l["StiByteArrayRangeDialogInfoItem"]=238]="StiByteArrayRangeDialogInfoItem",l[l["StiCharRangeDialogInfoItem"]=239]="StiCharRangeDialogInfoItem",l[l["StiDateTimeRangeDialogInfoItem"]=240]="StiDateTimeRangeDialogInfoItem",l[l["StiTimeSpanRangeDialogInfoItem"]=241]="StiTimeSpanRangeDialogInfoItem",l[l["StiDoubleRangeDialogInfoItem"]=242]="StiDoubleRangeDialogInfoItem",l[l["StiDecimalRangeDialogInfoItem"]=243]="StiDecimalRangeDialogInfoItem",l[l["StiLongRangeDialogInfoItem"]=244]="StiLongRangeDialogInfoItem",l[l["StiExpressionRangeDialogInfoItem"]=245]="StiExpressionRangeDialogInfoItem",l[l["OracleConnectionStringBuilder"]=246]="OracleConnectionStringBuilder",l[l["StiStrips"]=247]="StiStrips",l[l["StiConstantLines"]=248]="StiConstantLines",l[l["StiShapeTypeService"]=249]="StiShapeTypeService",l[l["StiDiagonalDownLineShapeType"]=250]="StiDiagonalDownLineShapeType",l[l["StiRoundedRectangleShapeType"]=251]="StiRoundedRectangleShapeType",l[l["StiTriangleShapeType"]=252]="StiTriangleShapeType",l[l["StiComplexArrowShapeType"]=253]="StiComplexArrowShapeType",l[l["StiBentArrowShapeType"]=254]="StiBentArrowShapeType",l[l["StiChevronShapeType"]=255]="StiChevronShapeType",l[l["StiEqualShapeType"]=256]="StiEqualShapeType",l[l["StiFlowchartCollateShapeType"]=257]="StiFlowchartCollateShapeType",l[l["StiFlowchartOffPageConnectorShapeType"]=258]="StiFlowchartOffPageConnectorShapeType",l[l["StiArrowShapeType"]=259]="StiArrowShapeType",l[l["StiOctagonShapeType"]=260]="StiOctagonShapeType",l[l["StiAustraliaPost4StateBarCodeType"]=261]="StiAustraliaPost4StateBarCodeType",l[l["StiCode11BarCodeType"]=262]="StiCode11BarCodeType",l[l["StiCode128aBarCodeType"]=263]="StiCode128aBarCodeType",l[l["StiCode128bBarCodeType"]=264]="StiCode128bBarCodeType",l[l["StiCode128cBarCodeType"]=265]="StiCode128cBarCodeType",l[l["StiCode128AutoBarCodeType"]=266]="StiCode128AutoBarCodeType",l[l["StiCode39BarCodeType"]=267]="StiCode39BarCodeType",l[l["StiCode39ExtBarCodeType"]=268]="StiCode39ExtBarCodeType",l[l["StiCode93BarCodeType"]=269]="StiCode93BarCodeType",l[l["StiCode93ExtBarCodeType"]=270]="StiCode93ExtBarCodeType",l[l["StiCodabarBarCodeType"]=271]="StiCodabarBarCodeType",l[l["StiEAN128aBarCodeType"]=272]="StiEAN128aBarCodeType",l[l["StiEAN128bBarCodeType"]=273]="StiEAN128bBarCodeType",l[l["StiEAN128cBarCodeType"]=274]="StiEAN128cBarCodeType",l[l["StiEAN128AutoBarCodeType"]=275]="StiEAN128AutoBarCodeType",l[l["StiGS1_128BarCodeType"]=276]="StiGS1_128BarCodeType",l[l["StiEAN13BarCodeType"]=277]="StiEAN13BarCodeType",l[l["StiEAN8BarCodeType"]=278]="StiEAN8BarCodeType",l[l["StiFIMBarCodeType"]=279]="StiFIMBarCodeType",l[l["StiIsbn10BarCodeType"]=280]="StiIsbn10BarCodeType",l[l["StiIsbn13BarCodeType"]=281]="StiIsbn13BarCodeType",l[l["StiITF14BarCodeType"]=282]="StiITF14BarCodeType",l[l["StiJan13BarCodeType"]=283]="StiJan13BarCodeType",l[l["StiJan8BarCodeType"]=284]="StiJan8BarCodeType",l[l["StiMsiBarCodeType"]=285]="StiMsiBarCodeType",l[l["StiPdf417BarCodeType"]=286]="StiPdf417BarCodeType",l[l["StiPharmacodeBarCodeType"]=287]="StiPharmacodeBarCodeType",l[l["StiPlesseyBarCodeType"]=288]="StiPlesseyBarCodeType",l[l["StiPostnetBarCodeType"]=289]="StiPostnetBarCodeType",l[l["StiQRCodeBarCodeType"]=290]="StiQRCodeBarCodeType",l[l["StiRoyalMail4StateBarCodeType"]=291]="StiRoyalMail4StateBarCodeType",l[l["StiDutchKIXBarCodeType"]=292]="StiDutchKIXBarCodeType",l[l["StiSSCC18BarCodeType"]=293]="StiSSCC18BarCodeType",l[l["StiUpcABarCodeType"]=294]="StiUpcABarCodeType",l[l["StiUpcEBarCodeType"]=295]="StiUpcEBarCodeType",l[l["StiUpcSup2BarCodeType"]=296]="StiUpcSup2BarCodeType",l[l["StiUpcSup5BarCodeType"]=297]="StiUpcSup5BarCodeType",l[l["StiInterleaved2of5BarCodeType"]=298]="StiInterleaved2of5BarCodeType",l[l["StiStandard2of5BarCodeType"]=299]="StiStandard2of5BarCodeType",l[l["StiDataMatrixBarCodeType"]=300]="StiDataMatrixBarCodeType",l[l["StiMaxicodeBarCodeType"]=301]="StiMaxicodeBarCodeType",l[l["StiDatabase"]=302]="StiDatabase",l[l["StiFileDatabase"]=303]="StiFileDatabase",l[l["StiCsvDatabase"]=304]="StiCsvDatabase",l[l["StiDBaseDatabase"]=305]="StiDBaseDatabase",l[l["StiExcelDatabase"]=306]="StiExcelDatabase",l[l["StiJsonDatabase"]=307]="StiJsonDatabase",l[l["StiXmlDatabase"]=308]="StiXmlDatabase",l[l["StiSqlDatabase"]=309]="StiSqlDatabase",l[l["StiGauge"]=310]="StiGauge",l[l["StiMap"]=311]="StiMap",l[l["StiFullStackedColumnArea"]=312]="StiFullStackedColumnArea",l[l["StiClusteredBarArea"]=313]="StiClusteredBarArea",l[l["StiStackedBarArea"]=314]="StiStackedBarArea",l[l["StiFullStackedBarArea"]=315]="StiFullStackedBarArea",l[l["StiDoughnutArea"]=316]="StiDoughnutArea",l[l["StiLineArea"]=317]="StiLineArea",l[l["StiParetoArea"]=318]="StiParetoArea",l[l["StiBoxAndWhiskerArea"]=319]="StiBoxAndWhiskerArea",l[l["StiSteppedLineArea"]=320]="StiSteppedLineArea",l[l["StiStackedLineArea"]=321]="StiStackedLineArea",l[l["StiFullStackedLineArea"]=322]="StiFullStackedLineArea",l[l["StiSplineArea"]=323]="StiSplineArea",l[l["StiStackedSplineArea"]=324]="StiStackedSplineArea",l[l["StiFullStackedSplineArea"]=325]="StiFullStackedSplineArea",l[l["StiAreaArea"]=326]="StiAreaArea",l[l["StiSteppedAreaArea"]=327]="StiSteppedAreaArea",l[l["StiStackedAreaArea"]=328]="StiStackedAreaArea",l[l["StiFullStackedAreaArea"]=329]="StiFullStackedAreaArea",l[l["StiSplineAreaArea"]=330]="StiSplineAreaArea",l[l["StiStackedSplineAreaArea"]=331]="StiStackedSplineAreaArea",l[l["StiFullStackedSplineAreaArea"]=332]="StiFullStackedSplineAreaArea",l[l["StiGanttArea"]=333]="StiGanttArea",l[l["StiScatterArea"]=334]="StiScatterArea",l[l["StiBubbleArea"]=335]="StiBubbleArea",l[l["StiRangeArea"]=336]="StiRangeArea",l[l["StiSteppedRangeArea"]=337]="StiSteppedRangeArea",l[l["StiRangeBarArea"]=338]="StiRangeBarArea",l[l["StiSplineRangeArea"]=339]="StiSplineRangeArea",l[l["StiCandlestickArea"]=340]="StiCandlestickArea",l[l["StiStockArea"]=341]="StiStockArea",l[l["StiInsideEndPieLabels"]=342]="StiInsideEndPieLabels",l[l["StiTrendLineNone"]=343]="StiTrendLineNone",l[l["StiTrendLineLinear"]=344]="StiTrendLineLinear",l[l["StiTrendLineExponential"]=345]="StiTrendLineExponential",l[l["StiTrendLineLogarithmic"]=346]="StiTrendLineLogarithmic",l[l["StiDB2Database"]=347]="StiDB2Database",l[l["StiDotConnectUniversalDatabase"]=348]="StiDotConnectUniversalDatabase",l[l["StiFirebirdDatabase"]=349]="StiFirebirdDatabase",l[l["StiInformixDatabase"]=350]="StiInformixDatabase",l[l["StiMongoDbDatabase"]=351]="StiMongoDbDatabase",l[l["StiAzureTableStorageDatabase"]=352]="StiAzureTableStorageDatabase",l[l["StiMySqlDatabase"]=353]="StiMySqlDatabase",l[l["StiMSAccessDatabase"]=354]="StiMSAccessDatabase",l[l["StiOdbcDatabase"]=355]="StiOdbcDatabase",l[l["StiOleDbDatabase"]=356]="StiOleDbDatabase",l[l["StiOracleDatabase"]=357]="StiOracleDatabase",l[l["StiPostgreSQLDatabase"]=358]="StiPostgreSQLDatabase",l[l["StiSQLiteDatabase"]=359]="StiSQLiteDatabase",l[l["StiSqlCeDatabase"]=360]="StiSqlCeDatabase",l[l["StiSybaseDatabase"]=361]="StiSybaseDatabase",l[l["StiTeradataDatabase"]=362]="StiTeradataDatabase",l[l["StiVistaDBDatabase"]=363]="StiVistaDBDatabase",l[l["StiODataDatabase"]=364]="StiODataDatabase",l[l["StiDataTableSource"]=365]="StiDataTableSource",l[l["StiDataViewSource"]=366]="StiDataViewSource",l[l["StiUndefinedDataSource"]=367]="StiUndefinedDataSource",l[l["StiCsvSource"]=368]="StiCsvSource",l[l["StiDBaseSource"]=369]="StiDBaseSource",l[l["StiBusinessObjectSource"]=370]="StiBusinessObjectSource",l[l["StiCrossTabDataSource"]=371]="StiCrossTabDataSource",l[l["StiEnumerableSource"]=372]="StiEnumerableSource",l[l["StiUserSource"]=373]="StiUserSource",l[l["StiVirtualSource"]=374]="StiVirtualSource",l[l["StiDataTransformation"]=375]="StiDataTransformation",l[l["StiOracleODPSource"]=376]="StiOracleODPSource",l[l["StiFirebirdSource"]=377]="StiFirebirdSource",l[l["StiInformixSource"]=378]="StiInformixSource",l[l["StiMongoDbSource"]=379]="StiMongoDbSource",l[l["StiAzureTableStorageSource"]=380]="StiAzureTableStorageSource",l[l["StiAzureBlobStorageSource"]=381]="StiAzureBlobStorageSource",l[l["StiMSAccessSource"]=382]="StiMSAccessSource",l[l["StiMySqlSource"]=383]="StiMySqlSource",l[l["StiDataWorldSource"]=384]="StiDataWorldSource",l[l["StiQuickBooksSource"]=385]="StiQuickBooksSource",l[l["StiOdbcSource"]=386]="StiOdbcSource",l[l["StiOleDbSource"]=387]="StiOleDbSource",l[l["StiOracleSource"]=388]="StiOracleSource",l[l["StiPostgreSQLSource"]=389]="StiPostgreSQLSource",l[l["StiSqlCeSource"]=390]="StiSqlCeSource",l[l["StiSQLiteSource"]=391]="StiSQLiteSource",l[l["StiSqlSource"]=392]="StiSqlSource",l[l["StiNoSqlSource"]=393]="StiNoSqlSource",l[l["StiSybaseSource"]=394]="StiSybaseSource",l[l["StiTeradataSource"]=395]="StiTeradataSource",l[l["StiVistaDBSource"]=396]="StiVistaDBSource",l[l["StiDB2Source"]=397]="StiDB2Source",l[l["StiDiagonalUpLineShapeType"]=398]="StiDiagonalUpLineShapeType",l[l["StiHorizontalLineShapeType"]=399]="StiHorizontalLineShapeType",l[l["StiLeftAndRightLineShapeType"]=400]="StiLeftAndRightLineShapeType",l[l["StiOvalShapeType"]=401]="StiOvalShapeType",l[l["StiRectangleShapeType"]=402]="StiRectangleShapeType",l[l["StiTopAndBottomLineShapeType"]=403]="StiTopAndBottomLineShapeType",l[l["StiVerticalLineShapeType"]=404]="StiVerticalLineShapeType",l[l["StiDivisionShapeType"]=405]="StiDivisionShapeType",l[l["StiFlowchartCardShapeType"]=406]="StiFlowchartCardShapeType",l[l["StiFlowchartDecisionShapeType"]=407]="StiFlowchartDecisionShapeType",l[l["StiFlowchartManualInputShapeType"]=408]="StiFlowchartManualInputShapeType",l[l["StiFlowchartSortShapeType"]=409]="StiFlowchartSortShapeType",l[l["StiFrameShapeType"]=410]="StiFrameShapeType",l[l["StiMinusShapeType"]=411]="StiMinusShapeType",l[l["StiMultiplyShapeType"]=412]="StiMultiplyShapeType",l[l["StiParallelogramShapeType"]=413]="StiParallelogramShapeType",l[l["StiPlusShapeType"]=414]="StiPlusShapeType",l[l["StiRegularPentagonShapeType"]=415]="StiRegularPentagonShapeType",l[l["StiTrapezoidShapeType"]=416]="StiTrapezoidShapeType",l[l["StiSnipSameSideCornerRectangleShapeType"]=417]="StiSnipSameSideCornerRectangleShapeType",l[l["StiSnipDiagonalSideCornerRectangleShapeType"]=418]="StiSnipDiagonalSideCornerRectangleShapeType",l[l["StiFlowchartPreparationShapeType"]=419]="StiFlowchartPreparationShapeType",l[l["StiRadialScale"]=420]="StiRadialScale",l[l["StiLinearScale"]=421]="StiLinearScale",l[l["StiLinearBar"]=422]="StiLinearBar",l[l["StiRadialBar"]=423]="StiRadialBar",l[l["StiNeedle"]=424]="StiNeedle",l[l["StiRadialMarker"]=425]="StiRadialMarker",l[l["StiScaleRangeList"]=426]="StiScaleRangeList",l[l["StiRadialRange"]=427]="StiRadialRange",l[l["StiStateIndicator"]=428]="StiStateIndicator",l[l["StiStateIndicatorFilter"]=429]="StiStateIndicatorFilter",l[l["StiRadialRangeList"]=430]="StiRadialRangeList",l[l["StiLinearRangeList"]=431]="StiLinearRangeList",l[l["StiLinearRange"]=432]="StiLinearRange",l[l["StiLinearTickMarkMajor"]=433]="StiLinearTickMarkMajor",l[l["StiLinearTickMarkMinor"]=434]="StiLinearTickMarkMinor",l[l["StiLinearTickMarkCustomValue"]=435]="StiLinearTickMarkCustomValue",l[l["StiLinearTickLabelMajor"]=436]="StiLinearTickLabelMajor",l[l["StiLinearTickLabelMinor"]=437]="StiLinearTickLabelMinor",l[l["StiLinearTickLabelCustom"]=438]="StiLinearTickLabelCustom",l[l["StiLinearTickLabelCustomValue"]=439]="StiLinearTickLabelCustomValue",l[l["StiRadialTickMarkMajor"]=440]="StiRadialTickMarkMajor",l[l["StiRadialTickMarkMinor"]=441]="StiRadialTickMarkMinor",l[l["StiRadialTickMarkCustom"]=442]="StiRadialTickMarkCustom",l[l["StiRadialTickMarkCustomValue"]=443]="StiRadialTickMarkCustomValue",l[l["StiRadialTickLabelMajor"]=444]="StiRadialTickLabelMajor",l[l["StiRadialTickLabelMinor"]=445]="StiRadialTickLabelMinor",l[l["StiRadialTickLabelCustom"]=446]="StiRadialTickLabelCustom",l[l["StiRadialTickLabelCustomValue"]=447]="StiRadialTickLabelCustomValue",l[l["StiLinearMarker"]=448]="StiLinearMarker",l[l["StiLinearTickMarkCustom"]=449]="StiLinearTickMarkCustom",l[l["StiLinearIndicatorRangeInfo"]=450]="StiLinearIndicatorRangeInfo",l[l["StiRadialIndicatorRangeInfo"]=451]="StiRadialIndicatorRangeInfo",l[l["StiBlueDashboardControlStyle"]=452]="StiBlueDashboardControlStyle",l[l["StiBlueDashboardIndicatorStyle"]=453]="StiBlueDashboardIndicatorStyle",l[l["StiBlueDashboardPageStyle"]=454]="StiBlueDashboardPageStyle",l[l["StiBlueDashboardPivotStyle"]=455]="StiBlueDashboardPivotStyle",l[l["StiBlueDashboardProgressStyle"]=456]="StiBlueDashboardProgressStyle",l[l["StiBlueDashboardTableStyle"]=457]="StiBlueDashboardTableStyle",l[l["StiBlueDashboardCardsStyle"]=458]="StiBlueDashboardCardsStyle",l[l["StiOrangeDashboardControlStyle"]=459]="StiOrangeDashboardControlStyle",l[l["StiOrangeDashboardIndicatorStyle"]=460]="StiOrangeDashboardIndicatorStyle",l[l["StiOrangeDashboardPageStyle"]=461]="StiOrangeDashboardPageStyle",l[l["StiOrangeDashboardPivotStyle"]=462]="StiOrangeDashboardPivotStyle",l[l["StiOrangeDashboardProgressStyle"]=463]="StiOrangeDashboardProgressStyle",
l[l["StiOrangeDashboardTableStyle"]=464]="StiOrangeDashboardTableStyle",l[l["StiOrangeDashboardCardsStyle"]=465]="StiOrangeDashboardCardsStyle",l[l["StiGreenDashboardControlStyle"]=466]="StiGreenDashboardControlStyle",l[l["StiGreenDashboardIndicatorStyle"]=467]="StiGreenDashboardIndicatorStyle",l[l["StiGreenDashboardPageStyle"]=468]="StiGreenDashboardPageStyle",l[l["StiGreenDashboardProgressStyle"]=469]="StiGreenDashboardProgressStyle",l[l["StiGreenDashboardPivotStyle"]=470]="StiGreenDashboardPivotStyle",l[l["StiGreenDashboardTableStyle"]=471]="StiGreenDashboardTableStyle",l[l["StiGreenDashboardCardsStyle"]=472]="StiGreenDashboardCardsStyle",l[l["StiTurquoiseDashboardControlStyle"]=473]="StiTurquoiseDashboardControlStyle",l[l["StiTurquoiseDashboardIndicatorStyle"]=474]="StiTurquoiseDashboardIndicatorStyle",l[l["StiTurquoiseDashboardPageStyle"]=475]="StiTurquoiseDashboardPageStyle",l[l["StiTurquoiseDashboardProgressStyle"]=476]="StiTurquoiseDashboardProgressStyle",l[l["StiTurquoiseDashboardPivotStyle"]=477]="StiTurquoiseDashboardPivotStyle",l[l["StiTurquoiseDashboardTableStyle"]=478]="StiTurquoiseDashboardTableStyle",l[l["StiTurquoiseDashboardCardsStyle"]=479]="StiTurquoiseDashboardCardsStyle",l[l["StiSlateGrayDashboardControlStyle"]=480]="StiSlateGrayDashboardControlStyle",l[l["StiSlateGrayDashboardIndicatorStyle"]=481]="StiSlateGrayDashboardIndicatorStyle",l[l["StiSlateGrayDashboardPageStyle"]=482]="StiSlateGrayDashboardPageStyle",l[l["StiSlateGrayDashboardProgressStyle"]=483]="StiSlateGrayDashboardProgressStyle",l[l["StiSlateGrayDashboardPivotStyle"]=484]="StiSlateGrayDashboardPivotStyle",l[l["StiSlateGrayDashboardTableStyle"]=485]="StiSlateGrayDashboardTableStyle",l[l["StiSlateGrayDashboardCardsStyle"]=486]="StiSlateGrayDashboardCardsStyle",l[l["StiDarkBlueDashboardControlStyle"]=487]="StiDarkBlueDashboardControlStyle",l[l["StiDarkBlueDashboardIndicatorStyle"]=488]="StiDarkBlueDashboardIndicatorStyle",l[l["StiDarkBlueDashboardPageStyle"]=489]="StiDarkBlueDashboardPageStyle",l[l["StiDarkBlueDashboardProgressStyle"]=490]="StiDarkBlueDashboardProgressStyle",l[l["StiDarkBlueDashboardPivotStyle"]=491]="StiDarkBlueDashboardPivotStyle",l[l["StiDarkBlueDashboardTableStyle"]=492]="StiDarkBlueDashboardTableStyle",l[l["StiDarkBlueDashboardCardsStyle"]=493]="StiDarkBlueDashboardCardsStyle",l[l["StiYellowDashboardPageStyle"]=494]="StiYellowDashboardPageStyle",l[l["StiDarkGrayDashboardControlStyle"]=495]="StiDarkGrayDashboardControlStyle",l[l["StiDarkGrayDashboardIndicatorStyle"]=496]="StiDarkGrayDashboardIndicatorStyle",l[l["StiDarkGrayDashboardPageStyle"]=497]="StiDarkGrayDashboardPageStyle",l[l["StiDarkGrayDashboardProgressStyle"]=498]="StiDarkGrayDashboardProgressStyle",l[l["StiDarkGrayDashboardPivotStyle"]=499]="StiDarkGrayDashboardPivotStyle",l[l["StiDarkGrayDashboardTableStyle"]=500]="StiDarkGrayDashboardTableStyle",l[l["StiDarkGrayDashboardCardsStyle"]=501]="StiDarkGrayDashboardCardsStyle",l[l["StiDarkTurquoiseDashboardControlStyle"]=502]="StiDarkTurquoiseDashboardControlStyle",l[l["StiDarkTurquoiseDashboardIndicatorStyle"]=503]="StiDarkTurquoiseDashboardIndicatorStyle",l[l["StiDarkTurquoiseDashboardPageStyle"]=504]="StiDarkTurquoiseDashboardPageStyle",l[l["StiDarkTurquoiseDashboardProgressStyle"]=505]="StiDarkTurquoiseDashboardProgressStyle",l[l["StiDarkTurquoiseDashboardPivotStyle"]=506]="StiDarkTurquoiseDashboardPivotStyle",l[l["StiDarkTurquoiseDashboardTableStyle"]=507]="StiDarkTurquoiseDashboardTableStyle",l[l["StiDarkTurquoiseDashboardCardsStyle"]=508]="StiDarkTurquoiseDashboardCardsStyle",l[l["StiSilverDashboardControlStyle"]=509]="StiSilverDashboardControlStyle",l[l["StiSilverDashboardIndicatorStyle"]=510]="StiSilverDashboardIndicatorStyle",l[l["StiSilverDashboardPageStyle"]=511]="StiSilverDashboardPageStyle",l[l["StiSilverDashboardPivotStyle"]=512]="StiSilverDashboardPivotStyle",l[l["StiSilverDashboardProgressStyle"]=513]="StiSilverDashboardProgressStyle",l[l["StiSilverDashboardTableStyle"]=514]="StiSilverDashboardTableStyle",l[l["StiSilverDashboardCardsStyle"]=515]="StiSilverDashboardCardsStyle",l[l["StiAliceBlueDashboardControlStyle"]=516]="StiAliceBlueDashboardControlStyle",l[l["StiAliceBlueDashboardIndicatorStyle"]=517]="StiAliceBlueDashboardIndicatorStyle",l[l["StiAliceBlueDashboardPageStyle"]=518]="StiAliceBlueDashboardPageStyle",l[l["StiAliceBlueDashboardPivotStyle"]=519]="StiAliceBlueDashboardPivotStyle",l[l["StiAliceBlueDashboardProgressStyle"]=520]="StiAliceBlueDashboardProgressStyle",l[l["StiAliceBlueDashboardTableStyle"]=521]="StiAliceBlueDashboardTableStyle",l[l["StiAliceBlueDashboardCardsStyle"]=522]="StiAliceBlueDashboardCardsStyle",l[l["StiDarkGreenDashboardControlStyle"]=523]="StiDarkGreenDashboardControlStyle",l[l["StiDarkGreenDashboardIndicatorStyle"]=524]="StiDarkGreenDashboardIndicatorStyle",l[l["StiDarkGreenDashboardPageStyle"]=525]="StiDarkGreenDashboardPageStyle",l[l["StiDarkGreenDashboardProgressStyle"]=526]="StiDarkGreenDashboardProgressStyle",l[l["StiDarkGreenDashboardPivotStyle"]=527]="StiDarkGreenDashboardPivotStyle",l[l["StiDarkGreenDashboardTableStyle"]=528]="StiDarkGreenDashboardTableStyle",l[l["StiDarkGreenDashboardCardsStyle"]=529]="StiDarkGreenDashboardCardsStyle",l[l["StiSiennaDashboardControlStyle"]=530]="StiSiennaDashboardControlStyle",l[l["StiSiennaDashboardIndicatorStyle"]=531]="StiSiennaDashboardIndicatorStyle",l[l["StiSiennaDashboardPageStyle"]=532]="StiSiennaDashboardPageStyle",l[l["StiSiennaDashboardPivotStyle"]=533]="StiSiennaDashboardPivotStyle",l[l["StiSiennaDashboardProgressStyle"]=534]="StiSiennaDashboardProgressStyle",l[l["StiSiennaDashboardTableStyle"]=535]="StiSiennaDashboardTableStyle",l[l["StiSiennaDashboardCardsStyle"]=536]="StiSiennaDashboardCardsStyle",l[l["StiCustomDashboardControlStyle"]=537]="StiCustomDashboardControlStyle",l[l["StiCustomDashboardPivotStyle"]=538]="StiCustomDashboardPivotStyle",l[l["StiCustomDashboardIndicatorStyle"]=539]="StiCustomDashboardIndicatorStyle",l[l["StiCustomDashboardProgressStyle"]=540]="StiCustomDashboardProgressStyle",l[l["StiCustomDashboardTableStyle"]=541]="StiCustomDashboardTableStyle",l[l["StiCustomDashboardCardsStyle"]=542]="StiCustomDashboardCardsStyle",l[l["StiDataWorldDatabase"]=543]="StiDataWorldDatabase",l[l["StiQuickBooksDatabase"]=544]="StiQuickBooksDatabase",l[l["StiCosmosDbDatabase"]=545]="StiCosmosDbDatabase",l[l["StiSybaseAdsDatabase"]=546]="StiSybaseAdsDatabase",l[l["StiBigQueryDatabase"]=547]="StiBigQueryDatabase",l[l["StiAzureBlobStorageDatabase"]=548]="StiAzureBlobStorageDatabase",l[l["StiFirebaseDatabase"]=549]="StiFirebaseDatabase",l[l["StiGoogleSheetsDatabase"]=550]="StiGoogleSheetsDatabase",l[l["StiGisDatabase"]=551]="StiGisDatabase",l[l["StiCosmosDbSource"]=552]="StiCosmosDbSource",l[l["StiSybaseAdsSource"]=553]="StiSybaseAdsSource",(k=Ia=Ae.c.StiRenderedWith||(Ae.c.StiRenderedWith={}))[k["Unknown"]=0]="Unknown",k[k["Net"]=1]="Net",k[k["Wpf"]=2]="Wpf",k[k["Silverlight"]=3]="Silverlight",k[k["WinRT"]=4]="WinRT",k[k["Flex"]=5]="Flex",k[k["Java"]=6]="Java",k[k["JS"]=7]="JS",(F=Aa=Ae.c.StiRankOrder||(Ae.c.StiRankOrder={}))[F["Asc"]=0]="Asc",F[F["Desc"]=1]="Desc",(W=xa=Ae.c.StiXmlType||(Ae.c.StiXmlType={}))[W["AdoNetXml"]=0]="AdoNetXml",W[W["Xml"]=1]="Xml",(q=Da=Ae.c.StiStyleElements||(Ae.c.StiStyleElements={}))[q["Font"]=1]="Font",q[q["Border"]=2]="Border",q[q["Brush"]=4]="Brush",q[q["TextBrush"]=8]="TextBrush",q[q["TextOptions"]=16]="TextOptions",q[q["HorAlignment"]=32]="HorAlignment",q[q["VertAlignment"]=64]="VertAlignment",q[q["All"]=127]="All",(M=Ba=Ae.c.StiDateRangeKind||(Ae.c.StiDateRangeKind={}))[M["CurrentMonth"]=0]="CurrentMonth",M[M["CurrentQuarter"]=1]="CurrentQuarter",M[M["CurrentWeek"]=2]="CurrentWeek",M[M["CurrentYear"]=3]="CurrentYear",M[M["NextMonth"]=4]="NextMonth",M[M["NextQuarter"]=5]="NextQuarter",M[M["NextWeek"]=6]="NextWeek",M[M["NextYear"]=7]="NextYear",M[M["PreviousMonth"]=8]="PreviousMonth",M[M["PreviousQuarter"]=9]="PreviousQuarter",M[M["PreviousWeek"]=10]="PreviousWeek",M[M["PreviousYear"]=11]="PreviousYear",M[M["FirstQuarter"]=12]="FirstQuarter",M[M["SecondQuarter"]=13]="SecondQuarter",M[M["ThirdQuarter"]=14]="ThirdQuarter",M[M["FourthQuarter"]=15]="FourthQuarter",M[M["MonthToDate"]=16]="MonthToDate",M[M["QuarterToDate"]=17]="QuarterToDate",M[M["WeekToDate"]=18]="WeekToDate",M[M["YearToDate"]=19]="YearToDate",M[M["Today"]=20]="Today",M[M["Tomorrow"]=21]="Tomorrow",M[M["Yesterday"]=22]="Yesterday",M[M["Last7Days"]=23]="Last7Days",M[M["Last14Days"]=24]="Last14Days",M[M["Last30Days"]=25]="Last30Days",(H=Ea=Ae.c.StiDashboardViewerSettings||(Ae.c.StiDashboardViewerSettings={}))[H["None"]=0]="None",H[H["ShowToolBar"]=1]="ShowToolBar",H[H["ShowRefreshButton"]=2]="ShowRefreshButton",H[H["ShowOpenButton"]=4]="ShowOpenButton",H[H["ShowFullScreenButton"]=8]="ShowFullScreenButton",H[H["ShowMenuButton"]=16]="ShowMenuButton",H[H["ShowEditButton"]=32]="ShowEditButton",H[H["ShowReportSnapshots"]=64]="ShowReportSnapshots",H[H["ShowExports"]=128]="ShowExports",H[H["All"]=255]="All",(V=ka=Ae.c.StiElementMeterAction||(Ae.c.StiElementMeterAction={}))[V["None"]=0]="None",V[V["Rename"]=1]="Rename",V[V["Delete"]=2]="Delete",V[V["ClearAll"]=3]="ClearAll",(ft=Na=Ae.c.StiDataMode||(Ae.c.StiDataMode={}))[ft["UsingDataFields"]=0]="UsingDataFields",ft[ft["ManuallyEnteringData"]=1]="ManuallyEnteringData";let La=Ae.bi.IComparer;{let r=class extends J{constructor(t,e){super(),this.directionFactor=1,this.dictionary=t,this.parentBusinessObject=e}implements(){return[Jt,Yt,La]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.am.StiBusinessObject;t.dictionary=this.dictionary,t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i;if(null!=e.attributes.getNamedItem("type")){let t=new Ae.am.StiBusinessObject;t.dictionary=this.dictionary,t.loadFromXml(e),this.list.push(t)}}}compare(t,e){let r=t;var e=e;return r.name.stimulsoft().compareTo(e.name)*this.directionFactor}onSet(t,e,r){let i=r;null!=this.dictionary&&(i.dictionary=this.dictionary),null!=this.parentBusinessObject&&(i.parentBusinessObject=this.parentBusinessObject)}onInsert(t,e){let r=e;null!=this.dictionary&&(r.dictionary=this.dictionary),null!=this.parentBusinessObject&&(r.parentBusinessObject=this.parentBusinessObject)}remove(t){this.list.stimulsoft().remove(t);var t=t.name.toLowerCase();null!=this.cachedBusinessObjects.get(t)&&this.cachedBusinessObjects.remove(t)}get cachedBusinessObjects(){return null==this._cachedBusinessObjects&&(this._cachedBusinessObjects=new Dt),this._cachedBusinessObjects}getByName(t){t=t.toLowerCase();var e=this.cachedBusinessObjects.get(t),r;if(null!=e)return e;for(r of this.list){if(r.name.toLowerCase()==t)return this.cachedBusinessObjects.set(t,r),r;if(Ae.c.StiNameValidator.correctName(r.name.toLowerCase())==Ae.c.StiNameValidator.correctName(t))return this.cachedBusinessObjects.set(t,r),r}return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}clone(){let t=new r(this.dictionary,this.parentBusinessObject);for(var e of this.list)t.add(e.clone());return t}sort(e=Ae.am.StiSortOrder.Asc,t=!0){if(e==Ae.am.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),t)for(var r of this.list){r.columns.sort(e);let t=r.businessObjects;null!=t&&0<t.length&&t.sort(e)}}connect(){for(var t of this.list)t.connect()}disconnect(){for(var t of this.list)t.disconnect()}};Ae.am.StiBusinessObjectsCollection=r}let Ma=Ae.ab.StiObjectMeta,Oa=Ae.am.StiBusinessObjectsCollection;var Z=class{constructor(t="",e="",r="",i=null,n=null){this._states=null,this.inherited=!1,this.positionValue=0,this.countFiltered=null,this.isBofValue=!1,this.isEofValue=!1,this.isEmpty=!1,this.key=null,this.isEnumeratorCreated=!1,this.specPrevValue=null,this.specNextValue=null,this.specNextValueRead=!1,this.specMoveNextResult=!1,this.specStoredCurrentValue=null,this.enumerator=null,this.rowToLevel=null,this.specSetPrevValue=!1,this.specSetNextValue=!1,this.specFilterData=!1,this.specSortGroup=!1,this.specTotalsCalculation=!1,this.previousResetException=!1,this.category=t,this.name=e,this.alias=r,this.columns=new Ae.am.StiDataColumnsCollection(this),this.businessObjects=new Oa(null,this),null==this.guid&&(this.guid=Ae.b.Guid.newGuidString()),this.guid=i,this.key=n}implements(){return[Jt,Ae.c.IStiStateSaveRestore,Ae.am.IStiEnumerator,Ae.c.IStiInherited,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new Wi("Inherited"),new Ma("BusinessObjects"),new Ma("Columns"),new Ui("Guid"),new Ui("Category"),new Ui("Name"),new Ui("Alias"),new Ui("Key")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get states(){return null==this._states&&(this._states=new Ae.c.StiStatesManager),this._states}saveState(t){this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),this.states.pushBool(t,this,"isEmpty",this.isEmpty),this.states.push(t,this,"current",this.currentObject),this.states.push(t,this,"businessObjectValue",this.businessObjectValue),this.states.push(t,this,"specPrevValue",this.specPrevValue),this.states.push(t,this,"specNextValue",this.specNextValue),this.states.push(t,this,"specStoredCurrentValue",this.specStoredCurrentValue),this.states.push(t,this,"enumerator",this.enumerator),this.states.push(t,this,"countFiltered",this.countFiltered),this.states.pushBool(t,this,"isEnumeratorCreated",this.isEnumeratorCreated),this.states.pushBool(t,this,"specNextValueRead",this.specNextValueRead),this.states.pushBool(t,this,"specMoveNextResult",this.specMoveNextResult)}restoreState(t){this.states.isExist(t,this)&&(this.positionValue=this.states.popInt(t,this,"positionValue"),this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this.isEmpty=this.states.popBool(t,this,"isEmpty"),this.currentObject=this.states.pop(t,this,"current"),this.businessObjectValue=this.states.pop(t,this,"businessObjectValue"),this.specPrevValue=this.states.pop(t,this,"specPrevValue"),this.specNextValue=this.states.pop(t,this,"specNextValue"),this.specStoredCurrentValue=this.states.pop(t,this,"specStoredCurrentValue"),this.enumerator=this.states.pop(t,this,"enumerator"),this.countFiltered=this.states.pop(t,this,"countFiltered"),this.isEnumeratorCreated=this.states.popBool(t,this,"isEnumeratorCreated"),this.specNextValueRead=this.states.popBool(t,this,"specNextValueRead"),this.specMoveNextResult=this.states.popBool(t,this,"specMoveNextResult"))}clearAllStates(){this._states=null}get position(){return this.positionValue}set position(e){if(e!=this.positionValue){this.first();let t=e;while(0<t)t--,this.next()}}get count(){return null}get isBof(){return this.isBofValue}set isBof(t){this.isBofValue=t}get isEof(){return this.isEofValue}set isEof(t){this.isEofValue=t}enumeratorReset(){}first(){var t;this.specNextValue=null,this.specNextValueRead=!1,this.specPrevValue=null,this.positionValue=0,this.isEofValue=!1,this.isBofValue=!0,null!=this.enumerator?(this.enumeratorReset(),this.enumerator.moveNext()?(this.currentObject=this.enumerator.current,this.specPrevValue=null,this.isEmpty=!1):(this.isEmpty=!0,this.isEofValue=!0,this.currentObject=null,this.specPrevValue=null)):(this.currentObject=null,this.specPrevValue=null,this.isEmpty=!0,this.isEofValue=!0)}prior(){throw new Error("StiBusinessObject does not support IStiEnumerator.Prior")}next(){var t,e;null!=this.enumerator&&(this.specNextValueRead?(this.specMoveNextResult?(this.specPrevValue=this.current,this.currentObject=this.specNextValue,this.isBofValue=!1,this.isEofValue=!1,this.isEofValue||this.positionValue++):(this.isEofValue=!0,this.currentObject=null,this.specPrevValue=null),this.specNextValueRead=!1,this.specNextValue=null):(this.specNextValue=null,this.specNextValueRead=!1,this.enumerator.moveNext()?(this.specPrevValue=this.currentObject,this.currentObject=this.enumerator.current,this.isBofValue=!1,this.isEofValue=!1,this.isEofValue||this.positionValue++):(this.isEofValue=!0,this.specPrevValue=this.currentObject,this.currentObject=null)))}last(){while(!this.isEof)this.next()}clone(){let e=this.stimulsoft().memberwiseClone();e.columns=new Ae.am.StiDataColumnsCollection(e),e.businessObjects=new Oa(this.dictionary,e);for(var r of this.columns.list){let t=r.clone();t.businessObject=e,e.columns.add(t)}for(var i of this.businessObjects.list){let t=i.clone();t.parentBusinessObject=e,e.businessObjects.add(t)}return e}get current(){if(this.checkEnumerator(),null==this.currentObject&&this.isEof)return this.specPrevValue;return this.currentObject}get report(){if(null==this.dictionary)return null;return this.dictionary.report}get businessObjectValue(){return null!=this.parentBusinessObject&&this.parentBusinessObject.specTotalsCalculation&&(this._businessObjectValue=this.parentBusinessObject.getByName(this.name)),this._businessObjectValue}set businessObjectValue(t){this._businessObjectValue=t}get dictionary(){return this._dictionary}set dictionary(t){if(this._dictionary=t,this.businessObjects.dictionary=this._dictionary,null!=t)for(var e of this.businessObjects.list)e.dictionary=this._dictionary}getLevel(){if(null==this.rowToLevel)return 0;var t=this.rowToLevel.get(this.current);if("number"==typeof t)return t;return 0}checkEnumerator(){this.isEnumeratorCreated||this.setDetails()}setPrevValue(){this.specStoredCurrentValue=this.current,this.currentObject=this.specPrevValue,this.specSetPrevValue=!0}setNextValue(){this.specStoredCurrentValue=this.current,this.specNextValueRead?this.currentObject=this.specNextValue:(this.specMoveNextResult=this.enumerator.moveNext(),this.specMoveNextResult?(this.specNextValue=this.enumerator.current,this.currentObject=this.specNextValue):(this.specNextValue=null,this.currentObject=null),this.specNextValueRead=!0),this.specSetNextValue=!0}restoreCurrentValue(){this.currentObject=this.specStoredCurrentValue,this.specSetPrevValue=!1,this.specSetNextValue=!1}getTopParentBusinessObject(){let t=this;while(null!=t.parentBusinessObject)t=t.parentBusinessObject;return t}createEnumerator(){}sortData(){if(null!=this.ownerBand&&null!=this.ownerBand.sort&&0<this.ownerBand.sort.length&&null!=this.enumerator){let t=[];try{this.enumerator.reset()}catch(t){Ae.b.StiError.showError(t,!1)}while(this.enumerator.moveNext())t.push(this.enumerator.current);this.ownerBand.stimulsoft().is(Ae.ap.StiHierarchicalBand),t.sort()}}sortDataByGroups(){if(null==this.ownerBand||null==this.enumerator)return;if(!Ae.ap.StiDataHelper.needGroupSort(this.ownerBand))return;var e=null,e,t;let r=0;for(t of(e=this.ownerBand.dataBandInfo.groupHeaders).list)t.sortDirection!=Ae.ap.StiGroupSortDirection.None&&r++;let i=[];try{this.enumerator.reset()}catch(t){Ae.b.StiError.showError(t,!1)}let n=0;while(this.enumerator.moveNext())n++;let a=ke.create3(Object,n,r+1,2),s=new Dt,o=0;var l=this.currentObject;this.specSortGroup=!0;try{this.enumerator.reset()}catch(t){Ae.b.StiError.showError(t,!1)}while(this.enumerator.moveNext()){var u=this.enumerator.current,h;i.push(u),s.set(u,o),this.currentObject=u;let t=0;for(h of e.list)h.sortDirection!=Ae.ap.StiGroupSortDirection.None&&(a[o][t][0]=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(h),a[o][t][1]=h.sortDirection,t++);a[o][r][0]=o,a[o][r][1]=Ae.ap.StiGroupSortDirection.Ascending,o++}this.specSortGroup=!1,this.currentObject=l,i.sort(),this.first()}filterData(){if(null!=this.enumerator){let r=Ae.ap.StiDataHelper.getFilterEventHandler(this.ownerBand,this);if(null!=this.ownerBand&&null!=r){this.isEnumeratorCreated=!0;var t=this.position,i=this.dictionary.report.line;let e=[];if(this.specFilterData=!0,r.stimulsoft().is(Ae.bb.StiFilterParserData)){var n=r;let t=0;try{this.enumerator.reset()}catch(t){Ae.b.StiError.showError(t,!1)}while(this.enumerator.moveNext()){this.position=t,0==t&&0==this.positionValue&&(this.currentObject=this.enumerator.current),this.dictionary.report.line=t+1;try{var a=Ae.bb.StiParser.parseTextValue(n.expression,n.component);"boolean"==typeof a&&a&&e.push(this.enumerator.current)}catch(t){Ae.b.StiError.showError(t,!1)}t++}}this.specFilterData=!1,this.position=t,this.dictionary.report.line=i,this.isEnumeratorCreated=!1}}}destroyEnumerator(){this.isEnumeratorCreated=!1,this.countFiltered=null}setDetails(){this.updateChilds(),this.createEnumerator()}updateChilds(){this.isEnumeratorCreated=!1;for(var t of this.businessObjects.list)t.updateChilds()}getBusinessObjectDataFromParent(t){for(var e of t.dictionary.report.businessObjectsStore)if(e.name==t.name)return e.businessObjectValue;return null}getColumnIndex(t){let e=0;for(var r of this.columns.list){if(r.nameInSource==t)return e;e++}e=0;for(var i of this.columns.list){if(i.name==t||i.alias==t)return e;e++}return-1}getBusinessObjectData(t=!1){if(null==this.parentBusinessObject)return this.getBusinessObjectDataFromParent(this);let e=new Array,r=this;while(null!=r.parentBusinessObject)e.stimulsoft().insert(0,r),r=r.parentBusinessObject;var i;return this.getBusinessObjectDataFromParent(r)}getFullName(){return null}getCorrectFullName(){return null!=this.parentBusinessObject?this.parentBusinessObject.getCorrectFullName()+"."+Ae.c.StiNameValidator.correctName(this.name):this.name}toString(){return this.name==this.alias?this.name:De.format("{0} [{1}]",this.name,this.alias)}connect(){this.createEnumerator()}disconnect(){this.destroyEnumerator(),this.businessObjectValue=null,this.rowToLevel=null}getByName(t){var e=this.isEnumeratorCreated,r;try{let t=this.current,e=this.parentBusinessObject;while(null!=e){if(e.specSetPrevValue||e.specSetNextValue||e.specFilterData||e.specSortGroup||e.specTotalsCalculation){t=this.parentBusinessObject.getByName(this.name);break}e=e.parentBusinessObject}if(null==t&&this.isEof&&(t=this.specPrevValue),null==t)return null;return null}finally{e||(this.businessObjectValue=null,this.enumerator=null,this.isEnumeratorCreated=!1)}}};Z.fieldsIgnoreList=new Dt,Ae.am.StiBusinessObject=Z;let Ha=Ae.b.EventHandler;Ae.an.StiValueEventHandler=new Ha("sender: any, e: StiValueEventArgs"),Ae.an.StiValueEventArgs=class extends Un{constructor(t=null){super(),this.value=t}};{let i=class{static getElementType(t){return null}static getElement(t){if(null==t)return null;var t=t.stimulsoft().getType();return this.getElementType(t)}static getAlias(t){return null}static isAllowUseProperty(t){return!0}static getType(t){return t}static getDataColumn(t,e,r){return new Ae.am.StiDataColumn(t,e=null==e?t:e,e,this.getType(r))}static getDataColumn2(t){return new Ae.am.StiDataColumn(t.columnName,t.caption,t.caption,t.dataType)}static getColumnsFromObject(t){var e=new Ae.am.StiDataColumnsCollection;if(null==t)return e;let r=this.getElement(t);return null==r&&(r=t),r.stimulsoft().is(Wr),this.getColumnsFromClass(r)}static getColumnsFromClass(t){let e=new Ae.am.StiDataColumnsCollection;var r,i;if(Hd.BusinessObjects.allowUseProperties)for(i of Sr.keys(t)){var n=this.getDataColumn(i,this.getAlias(i),Object);e.add(n)}return Hd.BusinessObjects.allowUseFields,e}static getColumnsFromData(t,e=!1){var t=this.getColumnsFromObject(t),r;if(e)return t;let i=new Ae.am.StiDataColumnsCollection;for(r of t.list){if(!this.isDataColumn(r.type))continue;i.add(r)}return i}static isDataColumn(t){return!1}static getBusinessObjectFromGuid(t,e){var t=i.getBusinessObjectsFromReport(t),r;if(null==t)return null;for(r of t)if(r.guid==e)return r;return null}static getBusinessObjectsFromReport(e){if(e.stimulsoft().is(Oa)){var r,i;let t=null;for(i of e.list){var n=this.getBusinessObjectsFromReport(i.businessObjects);if(null!=n){null==t&&(t=new Array);for(var a of n)t.push(a)}null==t&&(t=new Array),t.push(i)}return t}var t;if(e.stimulsoft().is(Ae.c.StiReport))return this.getBusinessObjectsFromReport(e.dictionary.businessObjects);return null}};Ae.am.StiBusinessObjectHelper=i}{let t=class{constructor(t=""){this._script="",this.parent=null,"string"==typeof t?this._script=t:this.parent=t}implements(){return t.ImplementsStiEvent||(t.ImplementsStiEvent=[Jt,Yt]),t.ImplementsStiEvent}saveToJsonObject(t){if(De.isNullOrEmpty(this.script))return null;let e=new te;return e.addPropertyStringNullOrEmpty("Script",this.script),e}loadFromJsonObject(t){for(var e of t.properties())"Script"==e.name&&(this.script=e.value.toString())}loadFromXml(t){this.script=t.textContent}clone(){return this.stimulsoft().memberwiseClone()}get propertyName(){return this.toString()+"Event"}get script(){if(null!=this.parent)return this.parent.properties.get(this.propertyName,"");return this._script}set script(t){null!=this.parent?this.parent.properties.set(this.propertyName,t,""):this._script=t}set(t,e){this.parent=t,this.script=e}};Ae.an.StiEvent=t}Ae.an.StiGetCollapsedEvent=class extends Ae.an.StiEvent{toString(){return"GetCollapsed"}},Ae.an.StiEndRenderEvent=class extends Ae.an.StiEvent{toString(){return"EndRender"}},Ae.an.StiRenderingEvent=class extends Ae.an.StiEvent{toString(){return"Rendering"}},Ae.an.StiBeginRenderEvent=class extends Ae.an.StiEvent{toString(){return"BeginRender"}};let _a=Ae.T.StiBlocksConst,Va=Ae.T.StiBlocksCreator;Ae.al.StiBlocklyHelper=class{static invokeBlockly(e,r,i,n=null){if(!De.isNullOrEmpty(i.script)&&i.script.startsWith(_a.identXml)){let t=Va.getBlockParse();null!==t&&void 0!==t&&t.evaluate(e,r,i.script,n)}}},Ae.ao.StiExpression=class{constructor(t=""){this.val="",this.parentComponent=null,this.fullConvert=!0,this.genAddEvent=!0,this.val=t}implements(){return[Jt,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new Ui("Value")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){this.value=t.textContent,Ii.loadFromXml(t,this)}get value(){return this.getValueProp()}set value(t){this.setValueProp(t)}getValueProp(){return this.val}setValueProp(t){this.val!=t&&(null!=this.parentComponent&&this.parentComponent.is(Ae.ap.StiText),this.val=t)}get applyFormat(){return!0}toString(){return this.value}clone(){return this.stimulsoft().memberwiseClone()}};{let r=class extends J{implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var r of t.properties()){let t=null,e=r.value;var i;switch(e.properties().firstOrDefault(t=>"Ident"==t.name).value){case"StiBaseCondition":t=new Ae.ap.StiBaseCondition;break;case"StiCondition":t=new Ae.ap.StiCondition;break;case"StiIconSetCondition":t=new Ae.ap.StiIconSetCondition;break;case"StiColorScaleCondition":t=new Ae.ap.StiColorScaleCondition;break;case"StiDataBarCondition":t=new Ae.ap.StiDataBarCondition;break;case"StiMultiCondition":t=new Ae.ap.StiMultiCondition;break}t.loadFromJsonObject(e),this.list.push(t)}}isBorderSides(t){return"False"!=(t=nt.decodeName(t))&&"True"!=t&&(t.stimulsoft().contains("Left")||t.stimulsoft().contains("Top")||t.stimulsoft().contains("Bottom")||t.stimulsoft().contains("Right")||t.stimulsoft().contains("All")||t.stimulsoft().contains("None")||t.stimulsoft().contains("NotAssigned"))}convertIconSetItemFromString(t){if("null"==t)return null;var t=t.split(",");return new Ae.ap.StiIconSetItem(Zt.parse(Ae.ap.StiIcon,nt.decodeName(t[0])),Zt.parse(Ae.ap.StiIconSetOperation,nt.decodeName(t[1])),Zt.parse(Ae.ap.StiIconSetValueType,nt.decodeName(t[2])),nt.decodeName(t[3]).stimulsoft().toNumber())}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if("value"==n.nodeName){let t=n.textContent,e=!1;if(t.stimulsoft().startsWith("BreakIfTrue,")&&(e=!0,t=t.stimulsoft().replaceAll("BreakIfTrue,","")),n.textContent.stimulsoft().startsWith("Multi<")){let t=new Ae.ap.StiMultiCondition;t.loadfromXmlDoc(at.toXml(n.textContent.substr(5))),this.list.push(t);continue}let r=t.split(",");if("DataBar"==r[0]){var a=new Ae.ap.StiDataBarCondition(nt.decodeName(r[1]),Zt.parse(Ae.ap.StiBrushType,nt.decodeName(r[2])),Cr.convertStringToColor(r[3]),Cr.convertStringToColor(r[4]),"true"==r[5].toLowerCase(),Cr.convertStringToColor(r[6]),Cr.convertStringToColor(r[7]),Zt.parse(Ae.ap.StiDataBarDirection,nt.decodeName(r[8])),Zt.parse(Ae.ap.StiMinimumType,nt.decodeName(r[9])),r[10].stimulsoft().toNumber(),Zt.parse(Ae.ap.StiMaximumType,nt.decodeName(r[11])),r[12].stimulsoft().toNumber());this.list.push(a);continue}if("ColorScale"==r[0]){var a=new Ae.ap.StiColorScaleCondition(nt.decodeName(r[1]),Zt.parse(Ae.ap.StiColorScaleType,nt.decodeName(r[2])),Cr.convertStringToColor(r[3]),Cr.convertStringToColor(r[4]),Cr.convertStringToColor(r[5]),Zt.parse(Ae.ap.StiMinimumType,nt.decodeName(r[6])),r[7].stimulsoft().toNumber(),Zt.parse(Ae.ap.StiMidType,nt.decodeName(r[8])),r[9].stimulsoft().toNumber(),Zt.parse(Ae.ap.StiMaximumType,nt.decodeName(r[10])),r[11].stimulsoft().toNumber());this.list.push(a);continue}if("IconSet"==r[0]){var s=new Ae.ap.StiIconSetCondition(nt.decodeName(r[1]),Zt.parse(Ae.ap.StiIconSet,nt.decodeName(r[2])),Zt.parse(Ae.bn.ContentAlignment,nt.decodeName(r[3])),this.convertIconSetItemFromString(nt.decodeName(r[4])),this.convertIconSetItemFromString(nt.decodeName(r[5])),this.convertIconSetItemFromString(nt.decodeName(r[6])),this.convertIconSetItemFromString(nt.decodeName(r[7])),this.convertIconSetItemFromString(nt.decodeName(r[8])));this.list.push(s);continue}if(5==r.length){var s=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(r[0]),Cr.convertStringToColor(r[1]),Cr.convertStringToColor(r[2]),Ae.b.Convert.toFont(nt.decodeName(r[3])),"true"==r[4].toLowerCase());this.list.push(s);continue}if(6==r.length){var o=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(r[0]),Cr.convertStringToColor(r[1]),Cr.convertStringToColor(r[2]),Ae.b.Convert.toFont(nt.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),"");this.list.push(o);continue}if(7==r.length){var o=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(r[0]),Cr.convertStringToColor(r[1]),Cr.convertStringToColor(r[2]),Ae.b.Convert.toFont(nt.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),nt.decodeName(r[6]));this.list.push(o);continue}if(9==r.length&&this.isBorderSides(r[8])){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(r[0]),Cr.convertStringToColor(r[1]),Cr.convertStringToColor(r[2]),Ae.b.Convert.toFont(nt.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),nt.decodeName(r[6]),nt.decodeName(r[7]),Zt.parse(Ae.ap.StiConditionBorderSides,nt.decodeName(r[8])));t.breakIfTrue=e,this.list.push(t);continue}if(10==r.length&&this.isBorderSides(r[8])){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(r[0]),Cr.convertStringToColor(r[1]),Cr.convertStringToColor(r[2]),Ae.b.Convert.toFont(nt.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),nt.decodeName(r[6]),nt.decodeName(r[7]),Zt.parse(Ae.ap.StiConditionBorderSides,nt.decodeName(r[8])),Zt.parse(Ae.ap.StiConditionPermissions,nt.decodeName(r[9])));t.breakIfTrue=e,this.list.push(t);continue}let i=r[1];if("GreaterThen"==i&&(i="GreaterThan"),"GreaterThenOrEqualTo"==i&&(i="GreaterThanOrEqualTo"),"LessThen"==i&&(i="LessThan"),"LessThenOrEqualTo"==i&&(i="LessThanOrEqualTo"),9==r.length){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Value,nt.decodeName(r[0]),Zt.parse(Ae.ap.StiFilterCondition,i),nt.decodeName(r[2]),nt.decodeName(r[3]),Zt.parse(Ae.ap.StiFilterDataType,r[4]),"",Cr.convertStringToColor(r[5]),Cr.convertStringToColor(r[6]),Ae.b.Convert.toFont(nt.decodeName(r[7])),"true"==r[8].toLowerCase());t.breakIfTrue=e,this.list.push(t);continue}if(11==r.length){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Value,nt.decodeName(r[0]),Zt.parse(Ae.ap.StiFilterCondition,i),nt.decodeName(r[2]),nt.decodeName(r[3]),Zt.parse(Ae.ap.StiFilterDataType,r[4]),"",Cr.convertStringToColor(r[5]),Cr.convertStringToColor(r[6]),Ae.b.Convert.toFont(nt.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),nt.decodeName(r[10]));t.breakIfTrue=e,this.list.push(t);continue}if(13==r.length){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Value,nt.decodeName(r[0]),Zt.parse(Ae.ap.StiFilterCondition,i),nt.decodeName(r[2]),nt.decodeName(r[3]),Zt.parse(Ae.ap.StiFilterDataType,r[4]),"",Cr.convertStringToColor(r[5]),Cr.convertStringToColor(r[6]),Ae.b.Convert.toFont(nt.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),nt.decodeName(r[10]),nt.decodeName(r[11]),Zt.parse(Ae.ap.StiConditionBorderSides,nt.decodeName(r[12])));t.breakIfTrue=e,this.list.push(t);continue}if(14==r.length){let t=new Ae.ap.StiCondition(Ae.ap.StiFilterItem.Value,nt.decodeName(r[0]),Zt.parse(Ae.ap.StiFilterCondition,i),nt.decodeName(r[2]),nt.decodeName(r[3]),Zt.parse(Ae.ap.StiFilterDataType,r[4]),"",Cr.convertStringToColor(r[5]),Cr.convertStringToColor(r[6]),Ae.b.Convert.toFont(nt.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),nt.decodeName(r[10]),nt.decodeName(r[11]),Zt.parse(Ae.ap.StiConditionBorderSides,nt.decodeName(r[12])),Zt.parse(Ae.ap.StiConditionPermissions,nt.decodeName(r[13])));t.breakIfTrue=e,this.list.push(t);continue}}}}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}addRange(t,e=!1){for(var r of t.list)if(e){if(0==this.list.length)this.add(r);else for(var i of this.list)if(!i.stimulsoft().equals(r)){this.add(r);break}}else this.add(r)}};Ae.ap.StiConditionsCollection=r}var K=Ae.ad.StiService;Ae.c.StiBase=class extends K{constructor(){super(...arguments),this._name=""}memberwiseClone(t=!0){let e=super.memberwiseClone(t);return e._name=this._name,e}get name(){return this.getName()}set name(t){this.setName(t)}getName(){return this._name}setName(t){this._name=t}implements(){return super.implements().concat([Ae.c.IStiName])}get localizedName(){return this.name}get localizedCategory(){return this.name}},Ae.an.StiGetToolTipEvent=class extends Ae.an.StiEvent{toString(){return"GetToolTip"}},Ae.an.StiGetHyperlinkEvent=class extends Ae.an.StiEvent{toString(){return"GetHyperlink"}},Ae.an.StiGetTagEvent=class extends Ae.an.StiEvent{toString(){return"GetTag"}},Ae.an.StiGetBookmarkEvent=class extends Ae.an.StiEvent{toString(){return"GetBookmark"}},Ae.an.StiBeforePrintEvent=class extends Ae.an.StiEvent{toString(){return"BeforePrint"}},Ae.an.StiAfterPrintEvent=class extends Ae.an.StiEvent{toString(){return"AfterPrint"}},Ae.an.StiGetDrillDownReportEvent=class extends Ae.an.StiEvent{toString(){return"GetDrillDownReport"}},Ae.an.StiClickEvent=class extends Ae.an.StiEvent{toString(){return"Click"}},Ae.an.StiDoubleClickEvent=class extends Ae.an.StiEvent{toString(){return"DoubleClick"}},Ae.an.StiMouseEnterEvent=class extends Ae.an.StiEvent{toString(){return"MouseEnter"}},Ae.an.StiMouseLeaveEvent=class extends Ae.an.StiEvent{toString(){return"MouseLeave"}},Ae.an.StiGetPointerEvent=class extends Ae.an.StiEvent{toString(){return"GetPointerEvent"}};let Ga=Ae.ab.StiExpressionMeta,Ua=Ae.ab.StiEventMeta,ja=Ae.al.StiBlocklyHelper,Wa=Ae.an.StiGetPointerEvent,qa=Ae.d.IStiGetFonts,za=Ae.an.StiValueEventHandler,Xa=Ae.an.StiGetToolTipEvent,Ja=Ae.an.StiGetHyperlinkEvent,Ya=Ae.an.StiGetTagEvent,Qa=Ae.an.StiGetBookmarkEvent,Ka=Ae.an.StiBeforePrintEvent,Za=Ae.an.StiAfterPrintEvent,$a=Ae.an.StiGetDrillDownReportEvent,ts=Ae.an.StiClickEvent,es=Ae.an.StiDoubleClickEvent,rs=Ae.an.StiMouseEnterEvent,is=Ae.an.StiMouseLeaveEvent,ns=Ae.an.StiValueEventArgs,as=Ae.d.StiJsonSaveMode;var tt=Ae.c.StiBase;let ss=Ae.ap.StiConditionsCollection,os=Ae.bn.Rectangle,ls=Ae.bn.Size,us=Ae.d.IStiReportComponent,hs=Ae.d.IStiAppExpressionCollection,cs=Ae.d.StiAppExpressionCollection;{let e=class{constructor(t,e,r,i,n,a,s,o,l){this.bookmarkValue=null,this.toolTipValue=null,this.hyperlinkValue=null,this.tagValue=null,this.enabled=!0,this.highlightState=Ae.ap.StiHighlightState.Hide,this.ignoreNamingRule=!1,this._dockStyle=Ae.ap.StiDockStyle.None,this.printable=!0,this.bookmarkValue=t,this.toolTipValue=e,this.hyperlinkValue=r,this.tagValue=i,this.enabled=n,this.highlightState=a,this.ignoreNamingRule=s,this.dockStyle=o,this.printable=l}implements(){return[Jt]}clone(){return this.stimulsoft().memberwiseClone()}get dockStyle(){return this.getDockStyle()}set dockStyle(t){this.setDockStyle(t)}getDockStyle(){return this._dockStyle}setDockStyle(t){this._dockStyle=t}},S=class extends tt{constructor(t=os.empty,e=!1){super(),this.infographicsDisplayRectangle=new os(0,0,0,0),this._isSelected=!1,this._states=null,this._shiftMode=Ae.ap.StiShiftMode.IncreasingSize,this.guid=null,this.printOn=Ae.ap.StiPrintOnType.AllPages,this._canShrink=!1,this._canGrow=!1,this._growToHeight=!1,this._anchor=Ae.ap.StiAnchorMode.Left|Ae.ap.StiAnchorMode.Top,this._conditions=null,this.expressions=new cs,this.isRendered=!1,this.disableCheckWidthHeight=!1,this.defaultClientRectangle=new os(0,0,60,20),this.pointerValue=null,this.alias="",this.componentPlacement="",this._drillDownParameters=null,this.lockOnResize=!0,e||this.construct(t)}implements(){return S.ImplementsStiComponent||(S.ImplementsStiComponent=super.implements().concat([Ae.ap.IStiComponentGuid,Ae.ap.IStiCanGrow,Ae.ap.IStiCanShrink,Ae.ap.IStiUnitConvert,Ae.ap.IStiShift,Ae.ap.IStiGrowToHeight,Ae.ap.IStiAnchor,Ae.ap.IStiConditions,Ae.ap.IStiPrintOn,Ae.c.IStiInherited,Ae.c.IStiStateSaveRestore,Yt,us,Ae.ap.IStiComponent,qa,hs])),S.ImplementsStiComponent}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ui("Name"),new Gi("ShiftMode","_",Ae.ap.StiShiftMode,Ae.ap.StiShiftMode.IncreasingSize),new Ui("Guid"),new Gi("PrintOn","",Ae.ap.StiPrintOnType,Ae.ap.StiPrintOnType.AllPages),new Wi("CanShrink","_"),new Wi("CanGrow","_"),new Wi("GrowToHeight","_"),new Gi("Anchor","_",Ae.ap.StiAnchorMode,Ae.ap.StiAnchorMode.Left|Ae.ap.StiAnchorMode.Top),new Wi("Inherited"),new Wi("Printable","",!0),new Gi("DockStyle","",Ae.ap.StiDockStyle,Ae.ap.StiDockStyle.None),new In("MinSize","",ci.Serialize.sizeD(ls.empty)).get(()=>ci.Serialize.sizeD(this.minSize)).set(t=>this.minSize=ci.Deserialize.sizeD(t.value)).setXml(t=>this.minSize=ls.convertFromXml(t.textContent)),new In("MaxSize","",ci.Serialize.sizeD(ls.empty)).get(()=>ci.Serialize.sizeD(this.maxSize)).set(t=>this.maxSize=ci.Deserialize.sizeD(t.value)).setXml(t=>this.maxSize=ls.convertFromXml(t.textContent)),new Ui(["ClientRectangle","rc"]).get(()=>ci.Serialize.rectangleD(this.clientRectangle)).set(t=>this.clientRectangle=ci.Deserialize.rectangleD(t.value)).setXml(t=>this.clientRectangle=this.loadRectangleDFromXml(t.textContent)),new Ua("GetToolTipEvent",Xa),new Ua("GetHyperlinkEvent",Ja),new Ua("GetTagEvent",Ya),new Ua("GetBookmarkEvent",Qa),new Ua("BeforePrintEvent",Ka),new Ua("AfterPrintEvent",Za),new Ua("GetDrillDownReportEvent",$a),new Ua("ClickEvent",ts),new Ua("DoubleClickEvent",es),new Ua("MouseEnterEvent",rs),new Ua("MouseLeaveEvent",is),new Ui("Alias"),new Gi("Restrictions","",Ae.ap.StiRestrictions,Ae.ap.StiRestrictions.All),new Ui("ComponentPlacement"),new Ui("ComponentStyle"),new Wi("Locked"),new Wi("Linked"),new Wi("Enabled","",!0),new Wi("UseParentStyles"),new Ma("Conditions").check(t=>t==as.Report),new Ma("Expressions").check(()=>null!=this.expressions),new Ma("Interaction").check(()=>null!=this.interaction).set(t=>this.interaction=Ae.ap.StiInteraction.loadInteractionFromJsonObject(t.value)).setXml(t=>this.interaction=Ae.ap.StiInteraction.loadInteractionFromXml(t)),new Ga("Bookmark"),new Ga("ToolTip"),new Ga("Hyperlink"),new Ga("Tag"),new Ga("Pointer")])}loadRectangleDFromXml(t){let e=t.split(",");return new os(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber(),e[2].stimulsoft().toNumber(),e[3].stimulsoft().toNumber())}get componentId(){return Ae.c.StiComponentId.StiComponent}get isSelected(){return this._isSelected}set isSelected(t){this._isSelected=t}select(){this.isSelected=!0}invert(){this.isSelected=!this.isSelected}reset(){this._isSelected=!1}getApp(){return this.report}getKey(){return De.isNullOrWhiteSpace(this.guid)&&this.newGuid(),this.guid}setKey(t){this.guid=t}getReport(){return this.report}saveState(t){}restoreState(t){}get states(){return this.getStates()}getStates(){return null==this._states&&(this._states=new Ae.c.StiStatesManager),this._states}clearAllStates(){}get shift(){return this.getShift()}set shift(t){this.shiftMode=Ae.ap.StiShiftMode.IncreasingSize}getShift(){return this.shiftMode==Ae.ap.StiShiftMode.IncreasingSize}get shiftMode(){return this._shiftMode}set shiftMode(t){(this._shiftMode=t)!=Ae.ap.StiShiftMode.None&&(this.anchor=Ae.ap.StiAnchorMode.Left|Ae.ap.StiAnchorMode.Top)}newGuid(){this.guid=yr.newGuidString()}clone(t=!0,e=!0,r=!0){var r;let i=super.clone(t,e,r);return i.expressions=null===(r=this.expressions)||void 0===r?void 0:r.clone(),null!=this._conditions?i._conditions=this._conditions.clone():i._conditions=null,null!=this._interaction?i._interaction=this._interaction.clone():i._interaction=null,null!=i._interaction&&(i._interaction.parentComponent=i),t&&(i.properties=this.properties.clone()),null!=this.bits&&(i.bits=this.bits.clone()),i.onClick=this.onClick,i.onDoubleClick=this.onDoubleClick,i.onMouseEnter=this.onMouseEnter,i.onMouseLeave=this.onMouseLeave,i}memberwiseClone(t=!0){let e=super.memberwiseClone(t);return e.alias=this.alias,e._canGrow=this._canGrow,e._canShrink=this._canShrink,e.componentPlacement=this.componentPlacement,e._conditions=this._conditions,e.currentBookmark=this.currentBookmark,e.currentPointer=this.currentPointer,e._events=this._events,e._growToHeight=this._growToHeight,e.guid=this.guid,e._height=this._height,e._interaction=this._interaction,e.isRendered=this.isRendered,e._isSelected=this._isSelected,e._left=this._left,e._page=this._page,e.parent=this.parent,e.parentBookmark=this.parentBookmark,e.parentPointer=this.parentPointer,e.printOn=this.printOn,e._shiftMode=this._shiftMode,e._states=this._states,e._top=this._top,e._width=this._width,e._drillDownParameters=this.drillDownParameters,e}convert(t,e,r=!1){this.disableCheckWidthHeight=!0;var i=this.right,n=this.bottom;this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),this.width=Ne.round2(e.convertFromHInches(t.convertToHInches(i)),2)-this.left,this.height=Ne.round2(e.convertFromHInches(t.convertToHInches(n)),2)-this.top,this.disableCheckWidthHeight=!1,r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))}get canShrink(){return this.getCanShrink()}set canShrink(t){this._canShrink=t}getCanShrink(){return this._canShrink}get canGrow(){return this.getCanGrow()}set canGrow(t){this.setCanGrow(t)}getCanGrow(){return this._canGrow}setCanGrow(t){this._canGrow=t}get growToHeight(){return this.getGrowToHeight()}set growToHeight(t){(this._growToHeight=t)&&(this.anchor=Ae.ap.StiAnchorMode.Left|Ae.ap.StiAnchorMode.Top)}getGrowToHeight(){return this._growToHeight}get anchor(){return this._anchor}set anchor(t){this._anchor=t,this._anchor!=(Ae.ap.StiAnchorMode.Left|Ae.ap.StiAnchorMode.Top)&&(this.growToHeight=!1,this.shiftMode=Ae.ap.StiShiftMode.None)}get conditions(){return this.getConditions()}set conditions(t){this.setConditions(t)}getConditions(){return null==this._conditions&&(this._conditions=new ss),this._conditions}setConditions(t){this._conditions=t}get inherited(){return this.properties.getBool(S.propertyInherited,!1)}set inherited(t){this.properties.setBool(S.propertyInherited,t,!1)}getActualSize(){return new ls(this.width,this.height)}get report(){if(null!=this.page)return this.page.report;return null}set report(t){}get interaction(){return this._interaction}set interaction(t){this._interaction!=t&&null!=(this._interaction=t)&&(this._interaction.parentComponent=this)}getFonts(){let t=[];for(var e of this.conditions.list)e.stimulsoft().is(qa)&&t.stimulsoft().addRange(e.stimulsoft().as(qa).getFonts());return ke.distinct(t)}shouldSerializeExpressions(){return null==this.expressions||0!=this.expressions.count}doPointer(t=!0){this.doGetPointer(t)}doGetPointer(e){let r=!0;if(null!=this.report&&(r=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),r&&null!=this.events.get(S.eventGetPointer)||!r&&0<this.pointer.length){let t=new ns;var i,e;r?this.invokeGetPointer(this,t):(i=Ae.bb.StiParser.parseTextValue(this.pointer,this),t.value=this.report.toString2(i)),"string"==typeof t.value&&0<t.value.length?(e&&this.newGuid(),e=t.value,this.currentPointer=Ae.aq.StiBookmarksHelper.createBookmark(e,this.guid),null!=this.parentPointer&&this.parentPointer.bookmarks.add(this.currentPointer)):this.currentPointer=this.parentPointer}else this.currentPointer=this.parentPointer}doBookmark(){return this.doGetBookmark()}doGetBookmark(){let r=!1;var t=!1,i;if(t&&null!=this.events.get(S.eventGetBookmark)||!t&&0<this.bookmark.length){let e=new ns;if(t?this.invokeGetBookmark(this,e):(i=Ae.bb.StiParser.parseTextValue(this.bookmark,this),e.value=this.report.toString2(i)),"string"==typeof e.value&&0<e.value.length){this.newGuid(),r=!0;let t=e.value;if(2<t.length&&"%"==t[0]){var i=t[1];t=t.substr(2);var n=t.split(i);let e=this.report.bookmark;for(let t=0;t<n.length;t++){var a=n[t];e=Ae.aq.StiBookmarksHelper.getBookmark(e,a),t==n.length-1&&(e.componentGuid=this.guid)}this.currentBookmark=e}else this.currentBookmark=Ae.aq.StiBookmarksHelper.createBookmark(t,this.guid),null!=this.parentBookmark&&this.parentBookmark.bookmarks.add(this.currentBookmark)}else this.currentBookmark=this.parentBookmark}else this.currentBookmark=this.parentBookmark;return r}get printable(){return null==this.bits||this.bits.printable}set printable(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.printable=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,t)}get renderedCount(){return this.properties.getNumber(S.propertyRenderedCount,0)}set renderedCount(t){this.properties.setNumber(S.propertyRenderedCount,t,0)}allowPrintOn(){if(this.printOn==Ae.ap.StiPrintOnType.AllPages)return!0;if(null!=this.report){let t=this.report.pageNumber;var e=this.report.totalPageCount;if(!Hd.Engine.useAdvancedPrintOnEngine){if(0<(this.printOn&Ae.ap.StiPrintOnType.ExceptFirstPage)&&1==t)return!1;if(this.printOn==Ae.ap.StiPrintOnType.OnlyFirstPage&&1<t)return!1;return!0}if((1<this.page.segmentPerWidth||1<this.page.segmentPerHeight)&&(t+=this.page.segmentPerWidth*this.page.segmentPerHeight-1),this.report.reportPass==Ae.c.StiReportPass.First){if(0<(this.printOn&Ae.ap.StiPrintOnType.OnlyLastPage))return!1;if(0<(this.printOn&Ae.ap.StiPrintOnType.ExceptLastPage))return!0}if(0<(this.printOn&Ae.ap.StiPrintOnType.ExceptFirstPage)&&1==t)return!1;if(this.printOn==Ae.ap.StiPrintOnType.OnlyFirstAndLastPage)return!(1<t&&t<e);if(0<(this.printOn&Ae.ap.StiPrintOnType.OnlyFirstPage)&&1<t)return!1;if(0<(this.printOn&Ae.ap.StiPrintOnType.OnlyLastPage)&&t<e)return!1;if(0<(this.printOn&Ae.ap.StiPrintOnType.ExceptLastPage)&&t==e)return!1;return!0}return!0}get isEnabled(){return this.enabled&&this.allowPrintOn()}prepare(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);t.prepare(this)}unPrepare(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);t.unPrepare(this)}setReportVariables(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);t.setReportVariables(this)}internalRenderAsync(){return Y.tsfb(this,void 0,void 0,function*(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);return yield t.internalRenderAsync(this)})}internalRender(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);return t.internalRender(this)}renderAsync(){return Y.tsfb(this,void 0,void 0,function*(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);return yield t.renderAsync(this)})}render(){let t=Ae.aq.StiBuilder.getBuilder(this.constructor);return t.render(this)}paint(t){}get dockStyle(){return this.getDockStyle()}set dockStyle(t){if(t==Ae.ap.StiDockStyle.None&&null==this.bits)return;null!=this.bits?this.bits.dockStyle=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,t,this.printable)}getDockStyle(){return null==this.bits?Ae.ap.StiDockStyle.None:this.bits.dockStyle}get isAutomaticDock(){return!1}getDockRegion(i,n=!0){if(null!=i){let t=i.clientRectangle,e=i;this.componentType!=Ae.ap.StiComponentType.Static&&null!=e&&1<e.columns&&n&&(t.width=e.getColumnWidth());let r=i;var a,s;this.componentType!=Ae.ap.StiComponentType.Static&&null!=r&&1<r.columns&&n&&(t.width=r.getColumnWidth()),i.isSelected&&(t=S.doOffsetRect(i,t,i.page.offsetRectangle)),t.x=0,t.y=0;for(s of i.components.list)if(s.dockable&&(this.isDesigning||s.enabled)){if(s==this)break;var o=s.displayRectangle;switch(s.dockStyle){case Ae.ap.StiDockStyle.Left:t.x+=o.width,t.width-=o.width;break;case Ae.ap.StiDockStyle.Right:t.width-=o.width;break;case Ae.ap.StiDockStyle.Top:t.y+=o.height,t.height-=o.height;break;case Ae.ap.StiDockStyle.Bottom:t.height-=o.height;break}}return t}return this.clientRectangle}dockToContainer(){this.dockStyle!=Ae.ap.StiDockStyle.None&&this.dockable&&(this.isDesigning||this.enabled)&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.displayRectangle=this.dockToContainer2(this.displayRectangle));var t=this.as(Ae.ap.StiContainer);if(null!=t)for(var e of t.components.list){if(e==t)continue;e.dockToContainer()}}dockToContainer2(e){if(null!=this.parent&&this.dockStyle!=Ae.ap.StiDockStyle.None&&this.dockable){let t;switch(t=this.getDockRegion(this.parent),1e11==this.parent.height&&this.dockStyle!=Ae.ap.StiDockStyle.Top&&(t.y=0,t.height=e.height),this.dockStyle){case Ae.ap.StiDockStyle.Left:e.x=t.x,e.y=t.y,e.height=t.height;break;case Ae.ap.StiDockStyle.Right:e.x=t.right-e.width,e.y=t.y,e.height=t.height;break;case Ae.ap.StiDockStyle.Top:e.x=t.x,e.y=t.y,e.width=t.width;break;case Ae.ap.StiDockStyle.Bottom:e.x=t.x,e.y=t.bottom-e.height,e.width=t.width;break;case Ae.ap.StiDockStyle.Fill:e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height;break}}return e}checkWidth(t){return this.disableCheckWidthHeight||(0!=this.minSize.width&&(t=Math.max(this.minSize.width,t)),0!=this.maxSize.width&&(t=Math.min(this.maxSize.width,t))),t}checkHeight(t){return this.disableCheckWidthHeight||(0!=this.minSize.height&&(t=Math.max(this.minSize.height,t)),0!=this.maxSize.height&&(t=Math.min(this.maxSize.height,t))),t}get minSize(){return this.getMinSize()}set minSize(t){this.setMinSize(t)}getMinSize(){return this.properties.get(S.propertyMinSize,ls.empty)}setMinSize(t){var e=this.minSize;e.width==t.width&&e.height==t.height||(this.properties.set(S.propertyMinSize,t,ls.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))}get maxSize(){return this.getMaxSize()}set maxSize(t){this.setMaxSize(t)}getMaxSize(){return this.properties.get(S.propertyMaxSize,ls.empty)}setMaxSize(t){var e=this.maxSize;e.width==t.width&&e.height==t.height||(this.properties.set(S.propertyMaxSize,t,ls.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))}get left(){return this.getLeft()}set left(t){this.setLeft(t)}getLeft(){return this._left}setLeft(t){this._left=Ne.round2(t,2)}get top(){return this.getTop()}set top(t){this.setTop(t)}getTop(){return this._top}setTop(t){this._top=Ne.round2(t,2)}get width(){return this.getWidth()}set width(t){this.setWidth(t)}getWidth(){return this._width}setWidth(t){var e=this._width;this._width=this.checkWidth(Ne.round2(t,2)),this._width!=e&&this.invokeOnResizeComponent(new ls(e,this._height),new ls(this._width,this._height))}get height(){return this.getHeight()}set height(t){this.setHeight(t)}getHeight(){return this._height}setHeight(t){var e=this._height;this._height=this.checkHeight(Ne.round2(t,2)),this._height!=e&&this.invokeOnResizeComponent(new ls(this._width,e),new ls(this._width,this._height))}get right(){return this.left+this.width}get bottom(){return this.top+this.height}getBottom(){return this.bottom}get clientRectangle(){return new os(this.left,this.top,this.width,this.height)}set clientRectangle(t){this.setClientRectangle(t)}setClientRectangle(t){var e=this._width,r=this._height;this._left=Ne.round2(t.left,2),this._top=Ne.round2(t.top,2),this._width=this.checkWidth(Ne.round2(t.width,2)),this._height=this.checkHeight(Ne.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new ls(e,r),new ls(this._width,this._height))}get displayRectangle(){return this.getDisplayRectangle()}set displayRectangle(t){this.setDisplayRectangle(t)}getDisplayRectangle(){return new os(this.left,this.top,this.width,this.height)}setDisplayRectangle(t){var e=this._width,r=this._height;this._left=Ne.round2(t.left,2),this._top=Ne.round2(t.top,2),this._width=this.checkWidth(Ne.round2(t.width,2)),this._height=this.checkHeight(Ne.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new ls(e,r),new ls(this._width,this._height))}setDirectDisplayRectangle(t){var e=this._width,r=this._height;this._left=t.left,this._top=t.top,this._width=t.width,this._height=t.height,this._width==e&&this._height==r||this.invokeOnResizeComponent(new ls(e,r),new ls(this._width,this._height))}get selectRectangle(){return this.displayRectangle}set selectRectangle(t){this.displayRectangle=t}invokeEvents(){try{let t=Ae.bb.StiParser,e=!0;var r,i,n,a,s,o,l,u,h,c,d,m,p,g,f;null!=this.report&&(e=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),e?null!=this.events.get(S.eventGetPointer)&&null==this.pointerValue&&(r=new ns,this.invokeGetPointer(this,r),this.pointerValue=r.value):(null==this.pointerValue&&0<this.pointer.length&&(i=t.parseTextValue(this.pointer,this),this.pointerValue=this.report.toString2(i)),null!=this.events.get(S.eventGetPointer)&&null==this.pointerValue&&(n=new ns,this.invokeGetPointer(this,n),this.pointerValue=n.value)),e?null!=this.events.get(S.eventGetBookmark)&&null==this.bookmarkValue&&(a=new ns,this.invokeGetBookmark(this,a),this.bookmarkValue=a.value):(null==this.bookmarkValue&&0<this.bookmark.length&&(s=t.parseTextValue(this.bookmark,this),this.bookmarkValue=this.report.toString2(s)),null!=this.events.get(S.eventGetBookmark)&&null==this.bookmarkValue&&(o=new ns,this.invokeGetBookmark(this,o),this.bookmarkValue=o.value)),e?null!=this.events.get(S.eventGetTag)&&null==this.tagValue&&(l=new ns,this.invokeGetTag(this,l),this.tagValue=l.value):(null==this.tagValue&&0<this.tag.length&&(u=t.parseTextValue(this.tag,this),this.tagValue=this.report.toString2(u)),null!=this.events.get(S.eventGetTag)&&null==this.tagValue&&(h=new ns,this.invokeGetTag(this,h),this.tagValue=h.value)),e?null!=this.events.get(S.eventGetToolTip)&&null==this.toolTipValue&&(c=new ns,this.invokeGetToolTip(this,c),this.toolTipValue=c.value):(null==this.toolTipValue&&0<this.toolTip.length&&(d=t.parseTextValue(this.toolTip,this),this.toolTipValue=this.report.toString2(d)),null!=this.events.get(S.eventGetToolTip)&&null==this.toolTipValue&&(m=new ns,this.invokeGetToolTip(this,m),this.toolTipValue=m.value)),e?null!=this.events.get(S.eventGetHyperlink)&&null==this.hyperlinkValue&&(p=new ns,this.invokeGetHyperlink(this,p),this.hyperlinkValue=p.value):(null==this.hyperlinkValue&&0<this.hyperlink.length&&(g=t.parseTextValue(this.hyperlink,this),this.hyperlinkValue=this.report.toString2(g)),null!=this.events.get(S.eventGetHyperlink)&&null==this.hyperlinkValue&&(f=new ns,this.invokeGetHyperlink(this,f),this.hyperlinkValue=f.value))}catch(t){var f=De.format("'{0}'.Events error: {1}",this.name,t.message);Ae.b.StiError.showError(f,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoEvents...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),this.report.writeToReportRenderingMessages(f)}}get isGetToolTipHandlerEmpty(){return null==this.events.get(S.eventGetToolTip)}onGetToolTip(){}invokeGetToolTip(t,e){this.onGetToolTip();let r=this.events.get(S.eventGetToolTip);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.getToolTipEvent,e)}get getToolTipEvent(){return new Xa(this)}set getToolTipEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetToolTip,za.create(t.script,this.report))}get isGetHyperlinkHandlerEmpty(){return null==this.events.get(S.eventGetHyperlink)}onGetHyperlink(t){}invokeGetHyperlink(e,r){try{this.onGetHyperlink(r);let t=this.events.get(S.eventGetHyperlink);null!=t&&t(e,r),ja.invokeBlockly(this.report,e,this.getHyperlinkEvent,r)}catch(t){}}get getHyperlinkEvent(){return new Ja(this)}set getHyperlinkEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetHyperlink,za.create(t.script,this.report))}get isGetTagHandlerEmpty(){return null==this.events.get(S.eventGetTag)}onGetTag(t){}invokeGetTag(e,r){try{this.onGetTag(r);let t=this.events.get(S.eventGetTag);null!=t&&t(e,r),ja.invokeBlockly(this.report,e,this.getTagEvent,r)}catch(t){}}get getTagEvent(){return new Ya(this)}set getTagEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetTag,za.create(t.script,this.report))}get isGetPointerHandlerEmpty(){return null==this.events.get(S.eventGetPointer)}onGetPointer(t){}invokeGetPointer(e,r){try{this.onGetPointer(r);let t=this.events.get(S.eventGetPointer);null!=t&&t(e,r),ja.invokeBlockly(this.report,e,this.getPointerEvent,r)}catch(t){}}get getPointerEvent(){return new Wa(this)}set getPointerEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetPointer,za.create(t.script,this.report))}get isGetBookmarkHandlerEmpty(){return null==this.events.get(S.eventGetBookmark)}onGetBookmark(){}invokeGetBookmark(t,e){this.onGetBookmark();let r=this.events.get(S.eventGetBookmark);null!=r&&r(t),ja.invokeBlockly(this.report,t,this.getBookmarkEvent,e)}get getBookmarkEvent(){return new Qa(this)}set getBookmarkEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetBookmark,za.create(t.script,this.report))}onBeforePrint(t){}invokeBeforePrint(e,r){try{Ae.al.StiAppExpressionParser.processExpressions(this),this.onBeforePrint(r);let t=!0;if(null!=this.report&&(t=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),t){let t=this.events.get(S.eventBeforePrint);if(null!=t)try{t(e,r)}catch(r){}}else{let t=this.events.get(S.eventBeforePrint);if(null!=t)try{t(e,r)}catch(r){}var i;if(null!=this.report&&null!=this.report.engine&&(null==(i=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name))||this.is(Ae.at.StiCrossCell)||this.applyConditions(e,i,r)),null!=this.interaction){let t=e;t.drillDownParameters=[],this.interaction.drillDownParameter1.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter1.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter1.expression.value+"}",this,e)}),this.interaction.drillDownParameter2.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter2.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter2.expression.value+"}",this,e)}),this.interaction.drillDownParameter3.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter3.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter3.expression.value+"}",this,e)}),this.interaction.drillDownParameter4.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter4.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter4.expression.value+"}",this,e)}),this.interaction.drillDownParameter5.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter5.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter5.expression.value+"}",this,e)}),this.interaction.drillDownParameter6.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter6.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter6.expression.value+"}",this,e)}),this.interaction.drillDownParameter7.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter7.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter7.expression.value+"}",this,e)}),this.interaction.drillDownParameter8.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter8.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter8.expression.value+"}",this,e)}),this.interaction.drillDownParameter9.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter9.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter9.expression.value+"}",this,e)}),this.interaction.drillDownParameter10.isDefault()||t.drillDownParameters.push({name:this.interaction.drillDownParameter10.name,value:Ae.bb.StiParser.parseTextValue("{"+this.interaction.drillDownParameter10.expression.value+"}",this,e)})}}ja.invokeBlockly(this.report,e,this.beforePrintEvent)}catch(r){var e=De.format("{0}.BeforePrint event error: {1}",this.name,r.message);Ae.b.StiError.showError(e,!1)}}applyConditions(i,t,e){if(null==t)return;let r=new Ae.aq.StiParserParameters;r.ignoreGlobalizedName=!0,null!=e&&e.stimulsoft().is(ns)&&(r.constants=new Dt,r.constants.set("e.Value",e.stimulsoft().as(ns).value));for(var n of t)try{var a=Ae.bb.StiParser.parseTextValue2(n.value,this,i,r);if("boolean"==typeof a&&a){var s=n.key,o;if(De.isNullOrEmpty(s.style)){let t=i.as(Ae.ap.IStiBrush);null!=t&&0<(s.permissions&Ae.ap.StiConditionPermissions.BackColor)&&(t.brush=new si(s.backColor),i.is(Ae.at.StiCrossField)&&(i.conditionBrush=new si(s.backColor)));let e=i.as(Ae.ap.IStiBorder);null!=e&&0<(s.permissions&Ae.ap.StiConditionPermissions.Borders)&&0==(s.borderSides&Ae.ap.StiConditionBorderSides.NotAssigned)&&(e.border=e.border.clone(),e.border.side=s.borderSides);let r=i.as(Ae.ap.IStiTextBrush);null!=r&&0<(s.permissions&Ae.ap.StiConditionPermissions.TextColor)&&(r.textBrush=new si(s.textColor),i.is(Ae.at.StiCrossField)&&(i.conditionTextBrush=new si(s.textColor))),null!=i.as(Ae.ap.IStiFont)&&Ae.ap.StiConditionHelper.applyFont(i,s.font,s.permissions)}else Ae.ap.StiConditionHelper.apply(i,s.style);if(null!=s.icon&&i.is(Ae.ap.StiText)&&(i.indicator=new Ae.ap.StiIconSetIndicator(Ae.ap.StiIcon.None,s.iconAlignment,s.icon,s.iconSize)),i.is(Ae.at.StiCrossField)&&(i.conditionPermissions|=s.permissions),i.enabled=s.enabled,s.breakIfTrue)break}}catch(e){}}get beforePrintEvent(){return new Ka(this)}set beforePrintEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventBeforePrint,Ha.create(t.script,this.report))}onAfterPrint(t){}invokeAfterPrint(t,e){this.onAfterPrint(e);let r=this.events.get(S.eventAfterPrint);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.afterPrintEvent)}get afterPrintEvent(){return new Za(this)}set afterPrintEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventAfterPrint,Ha.create(t.script,this.report))}onGetDrillDownReport(t){}invokeGetDrillDownReport(t,e){this.onGetDrillDownReport(e);let r=this.events.get(S.eventGetDrillDownReport);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.getDrillDownReportEvent)}get getDrillDownReportEvent(){return new $a(this)}set getDrillDownReportEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventGetDrillDownReport,Ae.an.StiGetDrillDownReportEventHandler.create(t.script,this.report))}get isClickHandlerEmpty(){return null==this.events.get(S.eventClick)&&"function"!=typeof this.onClick}invokeClick(t,e){"function"==typeof this.onClick&&this.onClick(t,e);let r=this.events.get(S.eventClick);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.clickEvent)}get clickEvent(){return new ts(this)}set clickEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventClick,Ae.an.StiClickEventHandler.create(t.script,this.report))}get isDoubleClickHandlerEmpty(){return null==this.events.get(S.eventDoubleClick)&&"function"!=typeof this.onDoubleClick}invokeDoubleClick(t,e){"function"==typeof this.onDoubleClick&&this.onDoubleClick(t,e);let r=this.events.get(S.eventDoubleClick);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.doubleClickEvent)}get doubleClickEvent(){return new es(this)}set doubleClickEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventDoubleClick,Ae.an.StiDoubleClickEventHandler.create(t.script,this.report))}get isMouseEnterHandlerEmpty(){return null==this.events.get(S.eventMouseEnter)&&"function"!=typeof this.onMouseEnter}invokeMouseEnter(t,e){"function"==typeof this.onMouseEnter&&this.onMouseEnter(t,e);let r=this.events.get(S.eventMouseEnter);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.mouseEnterEvent)}get mouseEnterEvent(){return new rs(this)}set mouseEnterEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventMouseEnter,Ae.an.StiMouseEnterEventHandler.create(t.script,this.report))}get isMouseLeaveHandlerEmpty(){return null==this.events.get(S.eventMouseLeave)&&"function"!=typeof this.onMouseLeave}invokeMouseLeave(t,e){"function"==typeof this.onMouseLeave&&this.onMouseLeave(t,e);let r=this.events.get(S.eventMouseLeave);if(null!=r)try{r(t,e)}catch(e){}ja.invokeBlockly(this.report,t,this.mouseLeaveEvent)}get mouseLeaveEvent(){return new is(this)}set mouseLeaveEvent(t){null!=t&&t.set(this,t.script),this.events.set(S.eventMouseLeave,Ae.an.StiMouseLeaveEventHandler.create(t.script,this.report))}onPainting(t){}invokePainting(t,e){this.onPainting(e)}onPainted(t){}invokePainted(t,e){this.onPainted(e)}get pointer(){return this.properties.get("Pointer","")}set pointer(t){null!=t&&this.properties.set("Pointer",t,"")}get bookmarkValue(){return null==this.bits?null:this.bits.bookmarkValue}set bookmarkValue(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.bookmarkValue=t:this.bits=new e(t,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)}get bookmark(){return this.properties.get("Bookmark","")}set bookmark(t){null!=t&&this.properties.set("Bookmark",t,"")}get toolTipValue(){return null==this.bits?null:this.bits.toolTipValue}set toolTipValue(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.toolTipValue=t:this.bits=new e(this.bookmarkValue,t,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)}get toolTip(){return this.properties.get("ToolTip","")}set toolTip(t){null!=t&&this.properties.set("ToolTip",t,"")}get hyperlinkValue(){return null==this.bits?null:this.bits.hyperlinkValue}set hyperlinkValue(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.hyperlinkValue=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,t,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)}get hyperlink(){return this.properties.get("Hyperlink","")}set hyperlink(t){null!=t&&this.properties.set("Hyperlink",t,"")}get tagValue(){return null==this.bits?null:this.bits.tagValue}set tagValue(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.tagValue=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,t,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)}get tag(){return this.properties.get("Tag","")}set tag(t){null!=t&&this.properties.set("Tag",t,"")}get events(){return null==this._events&&(this._events=new Dt),this._events}get restrictions(){return this.getRestrictions()}set restrictions(t){this.setRestrictions(t)}getRestrictions(){return this.properties.get(S.propertyRestrictions,Ae.ap.StiRestrictions.All)}setRestrictions(t){this.properties.set(S.propertyRestrictions,t,Ae.ap.StiRestrictions.All)}get ignoreNamingRule(){return null!=this.bits&&this.bits.ignoreNamingRule}set ignoreNamingRule(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.ignoreNamingRule=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,t,this.dockStyle,this.printable)}setName(t){this.ignoreNamingRule||null==this.report?super.setName(t):super.setName(Ae.c.StiNameValidator.correctName(t))}get placeOnToolbox(){return this.properties.getBool(S.propertyPlaceOnToolbox,!1)}set placeOnToolbox(t){this.properties.setBool(S.propertyPlaceOnToolbox,t,!1)}get toolboxPosition(){return 0}get isPrinting(){if(null!=this.report)return this.report.isPrinting;return!1}get isExporting(){if(null!=this.report)return this.report.isExporting;return!1}get isDesigning(){if(null!=this.report)return this.report.isDesigning;return!1}allowDelete(){return!this.inherited}get priority(){return Ae.ap.StiComponentPriority.Component}get componentType(){return Ae.ap.StiComponentType.Simple}get dockable(){return this.properties.getBool(S.propertyDockable,!0)}set dockable(t){this.properties.setBool(S.propertyDockable,t,!0)}get highlightState(){return null==this.bits?Ae.ap.StiHighlightState.Hide:this.bits.highlightState}set highlightState(t){if(t==Ae.ap.StiHighlightState.Hide&&null==this.bits)return;null!=this.bits?this.bits.highlightState=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,t,this.ignoreNamingRule,this.dockStyle,this.printable)}get drillDownParameters(){return this._drillDownParameters}set drillDownParameters(t){this._drillDownParameters!=t&&(this._drillDownParameters=t)}get componentStyle(){return this.getComponentStyle()}set componentStyle(t){this.setComponentStyle(t)}getComponentStyle(){return this.properties.get(S.propertyComponentStyle,"")}setComponentStyle(e){if(this.properties.set(S.propertyComponentStyle,e,""),null!=this.report&&null!=e){let t=this.report.styles.getByName(e);null!=t&&t.setStyleToComponent(this)}this.is(Ae.ap.StiContainer)&&this.setParentStylesToChilds()}get locked(){return this.properties.getBool(S.propertyLocked,!1)}set locked(t){this.properties.setBool(S.propertyLocked,t,!1)}get linked(){return this.getLinked()}set linked(t){this.setLinked(t)}getLinked(){return this.properties.getBool(S.propertyLinked,!1)}setLinked(t){this.properties.setBool(S.propertyLinked,t,!1)}get enabled(){return null==this.bits||this.bits.enabled}set enabled(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.enabled=t:this.bits=new e(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,t,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable),t||this.dockStyle==Ae.ap.StiDockStyle.None||null==this.parent||this.is(Ae.ap.StiBand)&&null!=this.report&&!Hd.Engine.checkDockToContainerIfComponentDisabled||this.parent.dockToContainer()}getEnabled(){return this.enabled}setEnabled(t){this.enabled=t}get useParentStyles(){return this.getUseParentStyles()}set useParentStyles(t){this.setUseParentStyles(t)}getUseParentStyles(){return this.properties.getBool(S.propertyUseParentStyles,!1)}setUseParentStyles(t){this.useParentStyles!=t&&(this.properties.setBool(S.propertyUseParentStyles,t,!1),t&&null!=this.parent&&this.parent.setParentStylesToChilds())}get page(){return this.getPage()}set page(t){this.setPage(t)}getPage(){return this._page}setPage(t){this._page=t}get parent(){return this._parent}set parent(t){this._parent=t}isExportAsImage(e){var r=this.as(Ae.ap.IStiBrush);let i=this.as(Ae.ap.IStiTextBrush);if(null!=r){let t=r.brush;if(e==Ae.c.StiExportFormat.Pdf&&(t.is(ni)||t.is(ri)||t.is(ai)||t.is(ii)))return!1;if(e==Ae.c.StiExportFormat.Xps&&t.is(ni)&&(null==i||!i.textBrush.is(ni)))return!1;if(e==Ae.c.StiExportFormat.ImageSvg&&(t.is(ni)||t.is(ri)||t.is(ai)||t.is(ii)))return!1;if(e==Ae.c.StiExportFormat.Html||e==Ae.c.StiExportFormat.HtmlDiv||e==Ae.c.StiExportFormat.HtmlSpan||e==Ae.c.StiExportFormat.HtmlTable){if(t.is(ai))return!0}else if(t.is(ni)||t.is(ri)||t.is(ii)||t.is(ai))return!0}if(null!=i){let t=i.textBrush;if(e==Ae.c.StiExportFormat.Pdf&&(t.is(ni)||t.is(ri)||t.is(ai)))return!1;if(t.is(ni)||t.is(ri)||t.is(ii)||t.is(ai))return!0}return!1}invokeOnResizeComponent(t,e){this.lockOnResize||this.onResizeComponent(t,e)}onResizeComponent(t,e){var r=this.as(Ae.ap.StiContainer);if(null==r)return;var i=e.width-t.width,n=e.height-t.height,a;for(a of r.components.list)0!=i&&(0<(a.anchor&Ae.ap.StiAnchorMode.Left)&&0<(a.anchor&Ae.ap.StiAnchorMode.Right)&&(a._width=a._width+i),0==(a.anchor&Ae.ap.StiAnchorMode.Left)&&0<(a.anchor&Ae.ap.StiAnchorMode.Right)&&(a._left=a._left+i)),0!=n&&(0<(a.anchor&Ae.ap.StiAnchorMode.Top)&&0<(a.anchor&Ae.ap.StiAnchorMode.Bottom)&&(a._height=a._height+n),0==(a.anchor&Ae.ap.StiAnchorMode.Top)&&0<(a.anchor&Ae.ap.StiAnchorMode.Bottom)&&(a._top=a._top+n))}clearContents(){let t=this.as(Ae.ap.IStiText);null!=t&&this.isSelected&&t.setTextInternal("");var e=this.as(Ae.ap.StiContainer);if(null!=e)for(var r of e.components.list)r.clearContents()}toString(){if(De.isNullOrEmpty(this.alias))return this.name;if(Hd.Dictionary.showOnlyAliasForComponents)return this.alias;return this.name+" ["+this.alias+"]"}get isCross(){return!1}canContainIn(t){if(t.is2(Ae.ap.IStiCrossTab)){if(this.is2(Ae.ap.IStiCrossTabField))return!0;return!1}if(!t.is(Ae.ap.StiContainer))return!1;if(t.is(Ae.ap.StiClone))return!1;if(t.is(Ae.ap.StiSubReport))return!1;return!0}componentToPage(t){var e;return null!=(null==this.parent?null:this.parent.as(Ae.ap.StiContainer))?this.parent.containerToPage(t):t}pageToComponent(t){var e;return null!=(null==this.parent?null:this.parent.as(Ae.ap.StiContainer))?this.parent.pageToContainer(t):t}static isParentSelect(t){let e=t.parent;while(null!=e&&!e.is(Ae.ap.StiPage)){if(e.isSelected)return!0;e=e.parent}return!1}static doOffsetRect(t,e,r){if(t.is(Ae.ap.StiPage))return e;return e=!this.isParentSelect(t)&&t.isSelected?e.offsetRect(r):e}getPaintRectangle(e=!0,r=!0,i=!0){if(null!=this.page){i&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.dockStyle!=Ae.ap.StiDockStyle.None&&this.dockable&&(this.displayRectangle=this.dockToContainer2(this.displayRectangle)));let t=this.clientRectangle.clone();if(t=S.doOffsetRect(this,t,this.page.offsetRectangle),t=this.componentToPage(t),t=t.normalize(),!e)return r?t.multiply(this.page.zoom):t;return r?this.page.unit.convertRectangleToHInches(t).multiply(this.page.zoom):this.page.unit.convertRectangleToHInches(t)}return os.empty}setPaintRectangle(t){t=(t=this.pageToComponent(t)).normalize(),this.clientRectangle=t}getDisplayRectangle2(){let t=this.displayRectangle;return t=S.doOffsetRect(this,t,this.page.offsetRectangle),t=this.componentToPage(t),t=t.normalize(),t}getDataBand(){let n=this.parent;if(null==n)return null;while(null!=n&&!n.is(Ae.ap.StiDataBand)&&!n.is(Ae.ap.StiPage)){let t=n.as(Ae.ap.StiReportTitleBand);if(null!=t){var a=t.getMaster();if(null!=a)return a}let e=n.as(Ae.ap.StiPageHeaderBand);if(null!=e){var s=e.getMaster();if(null!=s)return s}let r=n.as(Ae.ap.StiReportSummaryBand);if(null!=r){var s=r.getMaster();if(null!=s)return s}let i=n.as(Ae.ap.StiPageFooterBand);if(null!=i){var o=i.getMaster();if(null!=o)return o}var o=n.as(Ae.ap.StiHeaderBand);if(null!=o){var l=Ae.aq.StiHeaderBandBuilder.getMaster(o);if(null!=l)return l}var l=n.as(Ae.ap.StiFooterBand);if(null!=l){var l=Ae.aq.StiFooterBandBuilder.getMaster(l);if(null!=l)return l}n=n.parent}if(n.is(Ae.ap.StiDataBand))return n;return null}getGroupHeaderBand(){let r=null;if(r=this.is(Ae.ap.StiGroupFooterBand)?this:this.parent,null==r)return null;if(r.is(Ae.ap.StiChildBand)&&null!=r.parent){let t=r.parent.components.indexOf(r)-1;while(0<t&&r.parent.components.getByIndex(t).is(Ae.ap.StiChildBand))t--;0<=t&&(r=r.parent.components.getByIndex(t))}while(!(null==r||r.is(Ae.ap.StiDataBand)||r.is(Ae.ap.StiGroupHeaderBand)||r.is(Ae.ap.StiGroupFooterBand)||r.is(Ae.ap.StiPage)))r=r.parent;if(r.is(Ae.ap.StiGroupHeaderBand))return r;if(r.is(Ae.ap.StiGroupFooterBand)||r.is(Ae.ap.StiDataBand)){let e=null;var t;if(r.is(Ae.ap.StiDataBand))e=r.as(Ae.ap.StiDataBand);else for(let t=r.parent.components.indexOf(r)-1;0<=t;t--){var i=r.parent.components.getByIndex(t).as(Ae.ap.StiDataBand);if(null!=i){e=i;break}}if(null!=e){let t=Ae.aq.StiBuilder.getBuilder(Ae.ap.StiDataBand);if(e.dataBandInfo.groupHeaderComponents=t.getGroupHeaders(e),e.dataBandInfo.groupFooterComponents=t.getGroupFooters(e),t.groupsComparison(e),r.is(Ae.ap.StiGroupFooterBand))return r.groupFooterBandInfo.groupHeader;if(0<e.dataBandInfo.groupHeaderComponents.count)return e.dataBandInfo.groupHeaderComponents.getByIndex(e.dataBandInfo.groupHeaderComponents.count-1)}}return null}getContainer(){let t=this.parent;if(null==t)return null;while(null!=t&&!t.is(Ae.ap.StiContainer)&&!t.is(Ae.ap.StiPage))t=t.parent;if(t.is(Ae.ap.StiContainer))return t;if(t.is(Ae.ap.StiPage))return t;return t.page}checkForParentComponent(t){if(null==this.parent)return!1;if(this.parent==t)return!0;return this.parent.checkForParentComponent(t)}getComponentStyle2(){if(De.isNullOrWhiteSpace(this.componentStyle)||null==this.report)return null;return this.report.styles.getByName(this.componentStyle)}construct(t=os.empty){t.isEmpty?(this._left=0,this._top=0,this._width=0,this._height=0):this.clientRectangle=t,this.lockOnResize=!1,this.is(Ae.ap.StiDataBand)||this.is(Ae.ap.StiGroupHeaderBand)?this.interaction=new Ae.ap.StiBandInteraction:this.is(Ae.at.StiCrossHeader)?this.interaction=new Ae.ap.StiCrossHeaderInteraction:this.interaction=new Ae.ap.StiInteraction}};S.propertyInherited=Math.random().toString().substr(2),S.propertyRenderedCount=Math.random().toString().substr(2),S.propertyMinSize=Math.random().toString().substr(2),S.propertyMaxSize=Math.random().toString().substr(2),S.eventGetToolTip={},S.eventGetHyperlink={},S.eventGetTag={},S.eventGetPointer={},S.eventGetBookmark={},S.eventBeforePrint={},S.eventAfterPrint={},S.eventGetDrillDownReport={},S.eventClick={},S.eventDoubleClick={},S.eventMouseEnter={},S.eventMouseLeave={},S.eventPainting={},S.eventPainted={},S.propertyRestrictions=Math.random().toString().substr(2),S.propertyPlaceOnToolbox=Math.random().toString().substr(2),S.propertyDockable=Math.random().toString().substr(2),S.propertyComponentStyle=Math.random().toString().substr(2),S.propertyLocked=Math.random().toString().substr(2),S.propertyLinked=Math.random().toString().substr(2),S.propertyUseParentStyles=Math.random().toString().substr(2),Y.tsfa([Ae.b.enumType(Ae.ap.StiDockStyle)],S.prototype,"dockStyle",null),Ae.ap.StiComponent=S}Ae.ap.StiComponentDivider=class{static breakText(t,n,a,s,e,r,o,l){let u=a.ref;if(!De.isNullOrWhiteSpace(u)){if(o&&Hd.Engine.useNewHtmlEngine){var h=Ae.ap.StiHtmlTextRender.breakText(n,u,l);return a.ref=h[1],h[0]}o&&(u="<StiHtmlJs>"+Ae.ax.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(l,u,1)),n.height/=l.lineSpacing;var c=Rr.measureString(u,s,n.width,!0,1,0,!o);if(c.height<=n.height)return a.ref="",u;if((c=Rr.measureString("A",s)).height>n.height)return a.ref=u,"";let r=[];if(o){let e=0;var d=u.length,m;for(let t=0;t<d;t++){if("<"==u.charAt(t)){while(t<d&&">"!=u.charAt(t))r[t]=e,t++;r[t]=e}else r[t]=e++}}let e=0,i=u.length;while(1<i-e){let t=(e+i)/2|0;if(o){if(r[i]-r[e]<2)break;while(t>e&&r[t]==r[t-1])t--;if(t==e)break}(c=Rr.measureString(u.substr(0,t),s,n.width,!0,1,0,!o)).height>n.height?i=t:e=t}i=e;while(0<e&&Be.isLetterOrDigit(u,e)&&Be.isLetterOrDigit(u,e-1))e--;return 0==e&&(e=i),a.ref=(o?"<StiHtmlJs>":"")+u.substr(e),u.substr(0,e)}return""}static breakContainer(i,t){if(Hd.Engine.allowBreakContainerOptimization)return this.breakContainerV2(i,t);var e=t.clone(!1,!1);let n=e.components,a=t.components,s=i,o=0,l=!1,u=!1,h=!0;while(h){h=!1;for(var c of a.list)if(c.top<s&&c.top+c.height>s){var d=c.as(Ae.ap.IStiBreakable);if(null!=d&&d.canBreak){var m=c.height,p=s-c.top;c.height=p;let t=c.clone(),e=null;e=c.is(Ae.ap.StiContainer)?c.clone(!0,!1):c.clone();let r=t.as(Ae.ap.IStiBreakable);var d={ref:o};if(r.break(e,p/m,d)){if(o=d.ref,o>s&&(s=o),c.height=m,!u&&t.bottom<s){l?(s=i,u=!0):(s=t.bottom,l=!0),h=!0;break}continue}o=d.ref,c.height=m}if(c.is(Ae.aq.StiNewPageContainer)){s=c.bottom,l=!0,h=!0;break}s=Math.min(s,c.top),h=!0}}let g=0,f=[];while(g<a.count){let r=a.getByIndex(g);if(r.top+r.height>s){let e=r.as(Ae.ap.IStiBreakable);if(!(r.top<s&&null!=e&&e.canBreak)){r.top-=s,a.remove(r),g++,n.add(r);continue}{var S=s-r.top;let t=null;t=r.is(Ae.ap.StiContainer)?r.clone(!0,!1):r.clone();var b=r.height;t.height=r.height-S,t.top=0,t.is(Ae.ap.StiImage)?t.canGrow=!1:t.canGrow=!0,t.canShrink=!1,n.add(t),r.height=S;var y={ref:o};if(!e.break(t,S/b,y)){o=y.ref,a.remove(r),g++,t.canGrow=!1;continue}o=y.ref}}f.push(r),g++}if(f.length!=a.count){for(let t=0;t<f.length;t++)a.setByIndex(t,f[t]);while(a.count>f.length)a.removeAt(a.count-1)}return Hd.Engine.removeBottomBorderOfSplitContainer&&0<n.count&&(t.border=t.border.clone(),t.border.side&=Xr.Left|Xr.Right|Xr.Top),t.height=s,e}static breakContainerV2(t,e){var r=e.clone(!1,!1);let i=r.components,n=e.components;var a,a=this.getDivideLine(e,a=t),s=Math.round(1e3*a);let o=0,l=[];while(o<n.count){let r=n.getByIndex(o);var u=Math.round(1e3*r.top),h;if(s<Math.round(1e3*(r.top+r.height))){let e=r.as(Ae.ap.IStiBreakable);if(!(u<s&&null!=e&&e.canBreak)){r.top-=a,o++,i.add(r);continue}{var c=a-r.top;let t=null;t=r.is(Ae.ap.StiContainer)?r.clone(!0,!1):r.clone();var u=r.height,d;if(t.height=r.height-c,t.top=0,t.is(Ae.ap.StiImage)?t.canGrow=!1:t.canGrow=!0,t.canShrink=!1,i.add(t),r.height=c,!e.break(t,c/u,{ref:a})){o++,t.canGrow=!1;continue}}}l.push(r),o++}if(l.length!=n.count){for(let t=0;t<l.length;t++)n.setByIndex(t,l[t]);while(n.count>l.length)n.removeAt(n.count-1)}return Hd.Engine.removeBottomBorderOfSplitContainer&&0<i.count&&(e.border=e.border.clone(),e.border.side&=Xr.Left|Xr.Right|Xr.Top),e.height=a,r}static getDivideLine(t,e){let r=2;var i={ref:r};let n=this.searchDivideLine(t,e,e,i);if(r=i.ref,n==e)return e;while(0<n){var a={ref:r},s=this.searchDivideLine(t,n,e,a);if(r=a.ref,s==n)return n;n=s}return 0}static searchDivideLine(t,i,e,r){let n=r.ref,a=0;var s=Math.round(1e3*i),o;for(o of t.components.list){var l=Math.round(1e3*o.top),u=Math.round(1e3*(o.top+o.height));if(l<s&&s<u){var h=o.as(Ae.ap.IStiBreakable);if(null!=h&&h.canBreak){if(0==n)continue;var l=o.height,u=i-o.top;if(o.is(Ae.ap.StiContainer)){if(a=this.getDivideLine(o,u),a<u&&(n--,r.ref=n,0==n))return e;if(a!=u)return o.top+a;continue}{let t=o.clone(),e=o.clone();t.height=u,e.height=u;let r=t.as(Ae.ap.IStiBreakable);var h={ref:a};if(r.break(e,u/l,h)){if(t.bottom<i)return t.bottom;continue}a=h.ref}}if(o.is(Ae.aq.StiNewPageContainer))return o.bottom;i=o.top}}return i}};let ds=Ae.ab.StiBrushMeta,ms=Ae.S.StiActionUtils,ps=Ae.ap.StiComponentDivider;{let S=class extends Ae.ap.StiComponent{constructor(t=Tr.empty,e=!1){super(t,!0),this.border=new Zr,this._brush=new si(Fe.transparent),this._containerInfo=null,this.parentComponentIsBand=!1,this.parentComponentIsCrossBand=!1,this.collapsedValue=null,this.collapsingIndex=0,this.collapsingTreePath=null,this.defaultClientRectangle=new Tr(0,0,100,100),e||this.construct(t)}implements(){return S.ImplementsStiContainer||(S.ImplementsStiContainer=super.implements().concat([Ae.ap.IStiBorder,Ae.ap.IStiBrush,Ae.ap.IStiBreakable,Ae.c.IStiIgnoryStyle,Yt,qa])),S.ImplementsStiContainer}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanBreak"),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds(["Brush","bh"]),new Ma("Components")])}parseContainerFromXml(t){null!=t.attributes.getNamedItem("name")&&(this.name=t.attributes.getNamedItem("name").value),null!=t.attributes.getNamedItem("guid")&&(this.guid=t.attributes.getNamedItem("guid").value),null!=t.attributes.getNamedItem("pr")&&(this.printable=!1),null!=t.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=t.attributes.getNamedItem("bookmark").value),null!=t.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=t.attributes.getNamedItem("hyperlink").value),null!=t.attributes.getNamedItem("tag")&&(this.tagValue=t.attributes.getNamedItem("tag").value),null!=t.attributes.getNamedItem("toolTip")&&(this.toolTipValue=t.attributes.getNamedItem("toolTip").value),null!=t.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(t.attributes.getNamedItem("rc").value)),null!=t.attributes.getNamedItem("bh")&&(this.brush=hi.loadFromXml(t.attributes.getNamedItem("bh").value)),null!=t.attributes.getNamedItem("br")&&(this.border=Zr.loadFromXml(t.attributes.getNamedItem("br").value))}loadFromXml(t){let e=t.getAttribute("Ref");!De.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft().toNumber()]=t.nodeName),this.parseContainerFromXml(t),super.loadFromXml(t)}get componentId(){return Ae.c.StiComponentId.StiContainer}get canBreak(){return this.properties.getBool(S.propertyCanBreak,!1)}set canBreak(t){this.properties.setBool(S.propertyCanBreak,t,!1)}break(t,e,r){var i=ps.breakContainer(this.height,this);t.components.clear(),t.components.addRange(i.components);var i=this.height;if(Hd.Engine.usePrintOnAllPagesPropertyOfHeadersInSubreports){let o=[],l=[],r=[];for(var n of this.components.list)if(n.is(S)){let t=n.containerInfo.parentBand;null!=t&&t.is(Ae.ap.StiHeaderBand)&&t.as(Ae.ap.IStiPrintOnAllPages).printOnAllPages&&(o.stimulsoft().contains(t)||(o.push(t.as(Ae.ap.StiHeaderBand)),l.push(n.clone().as(S)),null!=t.parent?r.push(Ae.aq.StiHeaderBandBuilder.getMaster(t.as(Ae.ap.StiHeaderBand))):r.push(t)))}if(0<o.length){let n=t.components,a=[],s=o.length;for(var u of n.list)if(u.is(S)){let e=u.containerInfo.parentBand;var u=e.as(Ae.ap.StiDataBand);if(null!=u){let t=e;if(e.is(Ae.be.StiTable)&&null!=u.dataBandInfo.headers)for(var h of u.dataBandInfo.headers.list)if(h.is(Ae.ap.StiHeaderBand)&&h.name==e.name.substr(0,e.name.length-3)+"_Hd"){t=h.as(Ae.ap.StiBand);break}for(let i=o.length-1;0<=i;i--)if(null!=o[i]&&(e==r[i]||t==r[i])){let r=!0;for(let e=0;e<o.length;e++){let t=null;e<n.count&&(t=n.getByIndex(e).as(S)),null!=t&&t.containerInfo.parentBand==o[i]&&(r=!1)}r&&a.push(l[i]),o[i]=null,s--}if(0==s)break}}if(0<a.length)for(var c of a){for(var d of n.list)d.top+=c.height;c.top=0,n.insert(0,c)}}}return r.ref=i,!0}clone(t,e){void 0===e&&(e=!0);let r=super.clone(t=void 0===t?!0:t);if(r._containerInfo=this.containerInfo.clone(),null!=this.border?r.border=this.border.clone():r.border=null,null!=this.brush?r.brush=this.brush.clone():r.brush=null,r.components=new Ae.ap.StiComponentsCollection(r),e)for(var i of this.components.list)r.components.add(i.clone());return r}convert(t,e,r=!1,i=!0){if(super.convert(t,e,r),i)for(var n of this.components.list)n.convert(t,e,r)}get brush(){return this._brush}set brush(t){this._brush=t}getActualSize(r=!1,t={ref:!1}){let i=t.ref,n=new ls(this.width,this.height);if(this.canGrow||this.canShrink){let t=0,e=0;if(!this.is(Ae.ap.StiPage)){for(var a of this.components.list){if(!a.enabled)continue;if(a.is(Ae.ap.StiPointPrimitive)){t=Math.max(a.top,t),e=Math.max(a.left,e);continue}if(a.is(Ae.ap.StiPrimitive)&&!a.is(Ae.ap.StiHorizontalLinePrimitive))continue;0!=a.width&&0!=a.height&&(a.dockStyle!=Ae.ap.StiDockStyle.None&&a.dockable&&(r||(a.dockToContainer(),Hd.Engine.allowCacheForGetActualSize&&null!=a.report&&null!=a.report.engine&&null!=a.report.engine.hashCheckSize&&a.report.engine.hashCheckSize.set(a,null)),i=!0),t=a.is(Ae.ap.StiHorizontalLinePrimitive)?Math.max(a.top,t):Math.max(a.bottom,t),e=Math.max(a.right,e))}this.canGrow&&(n.width=Math.max(e,n.width),n.height=Math.max(t,n.height)),this.canShrink&&(n.width=Math.min(e,n.width),n.height=Math.min(t,n.height))}}if(this.is(Ae.ap.StiPage)&&this.unlimitedHeight){let t=0,e=0;for(var s of this.components.list){if(!s.enabled)continue;if(s.is(Ae.ap.StiPointPrimitive)){t=Math.max(s.top,t),e=Math.max(s.left,e);continue}if(s.is(Ae.ap.StiPrimitive)&&!s.is(Ae.ap.StiHorizontalLinePrimitive))continue;0!=s.width&&0!=s.height&&(t=s.is(Ae.ap.StiHorizontalLinePrimitive)?Math.max(s.top,t):Math.max(s.bottom,t),e=Math.max(s.right,e))}n.width=Math.max(e,n.width),n.height=Math.max(t,n.height)}return t.ref=i,n}getFonts(){let t=super.getFonts();for(var e of this.components.list)e.is(qa)&&t.stimulsoft().addRange(e.getFonts());return ke.distinct(t)}get containerInfo(){return null==this._containerInfo&&(this._containerInfo=new Ae.ap.StiContainerInfo),this._containerInfo}get priority(){return Ae.ap.StiComponentPriority.Container}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.Container}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Components}get componentType(){return null!=this._containerInfo&&null!=this._containerInfo.parentBand?this._containerInfo.parentBand.componentType:Ae.ap.StiComponentType.Simple}get hasSelected(){for(var t of this.components.list){if(t.isSelected)return!0;var t=t.as(S);if(null!=t&&t.hasSelected)return!0}return!1}get components(){return this._components}set components(t){this._components=t}get blocked(){return this.properties.get(S.propertyBlocked,!1)}set blocked(t){this.properties.set(S.propertyBlocked,t,!1)}setParentStylesToChilds(e=null){if(null==e){let t=!0;for(var r of this.components.list)r.useParentStyles&&(t&&(e=Ae.ar.StiBaseStyle.getStyle(this),t=!1),null!=e&&e.setStyleToComponent(r))}else for(var t of this.components.list)t.useParentStyles&&e.setStyleToComponent(t)}offsetLocation(t,e){for(var r of this.components.list)r.left+=t,r.top+=e}changePosition(e){for(var r of this.components.list)if(r.isSelected)r.displayRectangle=Ae.ap.StiComponent.doOffsetRect(r,r.displayRectangle,e);else{let t=r.as(S);null!=t&&t.changePosition(e)}}normalize(){for(var e of this.components.list){e.isSelected&&(e.clientRectangle=e.clientRectangle.normalize());let t=e.as(S);null!=t&&t.normalize()}}sortByPriority(){this.components.sortByPriority();for(var e of this.components.list){let t=e.as(S);null!=t&&t.sortByPriority()}}bringToFront(){let r=this.components.count,i=0;while(i<r){let t=this.components.getByIndex(i).stimulsoft().as(Ae.ap.StiComponent),e=t.as(S);null!=e&&e.bringToFront(),t.isSelected?(this.components.remove(t),this.components.add(t),r--):i++}this.sortByPriority()}sendToBack(){var t=this.components.count;let r=0;while(r<t){let t=this.components.getByIndex(r).stimulsoft().as(Ae.ap.StiComponent),e=t.as(S);null!=e&&e.sendToBack(),t.isSelected&&(this.components.remove(t),this.components.insert(0,t)),r++}this.sortByPriority()}moveForward(){let r=this.components.count-1;while(0<=r){let t=this.components.getByIndex(r).stimulsoft().as(Ae.ap.StiComponent),e=t.as(S);var i;null!=e&&e.moveForward(),!t.isSelected||(i=this.components.indexOf(t))<this.components.count-1&&(this.components.remove(t),this.components.insert(i+1,t)),r--}this.sortByPriority()}moveBackward(){var t=this.components.count,r;let i=0;while(i<t){let t=this.components.getByIndex(i).stimulsoft().as(Ae.ap.StiComponent),e=t.as(S);null!=e&&e.moveBackward(),!t.isSelected||0<(r=this.components.indexOf(t))&&(this.components.remove(t),this.components.insert(r-1,t)),i++}this.sortByPriority()}alignTo(t){let e=this.getSelectedComponents();var r=this.getSelectedRectangle();switch(t){case Ae.ap.StiAligning.Left:e.sortByLeftPosition();for(let t=0;t<e.count;t++)e.getByIndex(t).left=r.left;break;case Ae.ap.StiAligning.Center:for(let t=0;t<e.count;t++)e.getByIndex(t).left=r.left+(r.width-e.getByIndex(t).width)/2;break;case Ae.ap.StiAligning.Right:e.sortByRightPosition();for(let t=0;t<e.count;t++)e.getByIndex(t).left=r.right-e.getByIndex(t).width;break;case Ae.ap.StiAligning.Top:e.sortByTopPosition();for(let t=0;t<e.count;t++)e.getByIndex(t).top=r.top;break;case Ae.ap.StiAligning.Middle:for(let t=0;t<e.count;t++)e.getByIndex(t).top=r.top+(r.height-e.getByIndex(t).height)/2;break;case Ae.ap.StiAligning.Bottom:e.sortByBottomPosition();for(let t=0;t<e.count;t++)e.getByIndex(t).top=r.bottom-e.getByIndex(t).height;break}}getContainerInRectPrivate(i,n){var a;let s=null;var o=this.pageToContainer(i),l,u,h,c,a,l,d,u;let e=this.getComponents();for(let t=e.count-1;0<=t;t--){let r=e.getByIndex(t);if(r!=n&&!r.checkForParentComponent(n)){let e=r.as(S);if(null!=e&&n.canContainIn(e)){let t=this.pageToContainer(r.componentToPage(r.clientRectangle));t.intersectsWith(o)&&n.isCross&&(s=e),r.is(Ae.ap.StiBand)&&!r.isCross&&(l=this.page.unit.convertFromHInches(1),n.is(Ae.ap.StiPrimitive)&&(t.width+=l),null!==(a=this.report)&&void 0!==a&&a.info.showHeaders&&(t.height+=l,u=this.page.unit.convertFromHInches(r.headerSize),t=t.offsetRect(new Tr(0,u,0,u)))),(n.is(Ae.ap.StiEndPointPrimitive)||n.is(Ae.ap.StiStartPointPrimitive))&&(h=Ne.round2(o.x,2),c=Ne.round2(o.y,2),a=Ne.round2(t.left,2),l=Ne.round2(t.top,2),d=Ne.round2(t.right,2),u=Ne.round2(t.bottom,2),l<=c&&c<=u&&a<=h&&h<=d&&(s=e)),ms.pointInRect(o.x,o.y,t)&&(s=e);var d=e.getContainerInRectPrivate(i,n);null!=d&&(s=d)}}}if(n.isCross)return s;if(n.is(Ae.be.StiTable)&&s.is(Ae.be.StiTable))return null;if(n.is(Ae.be.StiTable)&&s.is(Ae.ap.StiDataBand))return s;if(!n.is(Ae.be.IStiTableCell)&&s.is(Ae.be.StiTable))return null;if(n.is(Ae.be.IStiTableCell)&&!s.is(Ae.be.StiTable))return null;if(n.is(Ae.ap.StiBand)&&null!=s&&s.is(Ae.ap.StiBand))return null;return s}getContainerInRect(t,e){var r;null!=e.page&&e.is(Ae.ap.StiBand)&&(r=e.page.unit.convertFromHInches(e.headerSize),t=t.offsetRect(new Tr(0,r,0,r)));let i=this.getContainerInRectPrivate(t,e);if(null==i)return this.page;if(i.checkForParentComponent(e))return this.page;return i}getSizesTable(t){var e=new Dt,r=new Tr;return this.getNodeSize(e,t,{ref:r}),e}getNodeSize(t,e,r){let i=r.ref,n=this.containerToPage(e.clientRectangle);var a,a;null!=e.page&&e.is(Ae.ap.StiBand)&&!e.isCross&&(a=e.page.unit.convertFromHInches(e.headerSize),n=n.offsetRect(new Tr(0,a,0,a)),a=this.page.unit.convertFromHInches(1),n.width+=a,null!=this.report&&this.report.info.showHeaders&&(n.height+=a));let s=e.stimulsoft().as(S);if(null!=s)for(var o of s.components.list){var l={ref:n};s.getNodeSize(t,o,l),n=l.ref}n.x<i.x&&(i.width+=i.x-n.x,i.x=n.x),n.y<i.y&&(i.height+=i.y-n.y,i.y=n.y),n.x+n.width>i.x+i.width&&(i.width=n.x+n.width-i.x),n.y+n.height>i.y+i.height&&(i.height=n.y+n.height-i.y),t.set(e,n),r.ref=i}getContainerInRect2Private(i,n,a){var t,t,e;let s=null,r=a.get(this);if(!ms.pointInRect(i.x,i.y,r))return null;if(this==n||this.checkForParentComponent(n))return null;let o=this.components;for(let r=o.count-1;0<=r;r--){let t=o.getByIndex(r);if(t==n)continue;if((0==t.width||0==t.height)&&r<o.count-1&&o.getByIndex(r+1).left==t.left&&o.getByIndex(r+1).top==t.top)continue;let e=t.as(S);if(null!=e){var l=a.get(t);if(!ms.pointInRect(i.x,i.y,l))continue;var l=e.getContainerInRect2Private(i,n,a);if(null!=l){s=l;break}}}if(null==s&&null!=this.parent&&n.canContainIn(this)&&(r=this.parent.containerToPage(this.clientRectangle),null!=this.page&&this.is(Ae.ap.StiBand)&&!this.isCross&&(t=this.page.unit.convertFromHInches(this.headerSize),r=r.offsetRect(new Tr(0,t,0,t)),e=this.page.unit.convertFromHInches(1),n.is(Ae.ap.StiPrimitive)&&(r.width+=e),null!==(t=this.report)&&void 0!==t&&t.info.showHeaders&&(r.height+=e)),ms.pointInRect(i.x,i.y,r)&&(s=this)),n.isCross)return s;if(n.is(Ae.be.StiTable)&&null!=s&&s.is(Ae.be.StiTable))return null;if(n.is(Ae.be.StiTable)&&null!=s&&s.is(Ae.ap.StiDataBand))return s;if(!n.is(Ae.be.IStiTableCell)&&null!=s&&s.is(Ae.be.StiTable))return null;if(n.is(Ae.be.IStiTableCell)&&(null==s||!s.is(Ae.be.StiTable)))return null;if(n.is(Ae.ap.StiBand)&&null!=s&&null!=s&&s.is(Ae.ap.StiBand))return null;return s}getContainerInRect2(t,e,r){var i=e.is(Ae.ap.StiCrossDataBand)||e.is(Ae.ap.StiCrossHeaderBand)||e.is(Ae.ap.StiCrossFooterBand)||e.is(Ae.ap.StiCrossGroupHeaderBand)||e.is(Ae.ap.StiCrossGroupFooterBand),i;null!=e.page&&e.is(Ae.ap.StiBand)&&!i&&(i=e.page.unit.convertFromHInches(e.headerSize),t=t.offsetRect(new Tr(0,i,0,i)));let n=this.getContainerInRect2Private(t,e,r);if(null==n)return this.page;if(n.checkForParentComponent(e))return this.page;return n}getIncorrect2(e,r=null){let i=new Ae.ap.StiComponentsCollection;null==r&&(r=this.getSizesTable(this));for(var n of this.components.list){var a;if(!(n.linked||n.inherited)&&(!e||e&&n.isSelected)){var s=this.containerToPage(n.clientRectangle),o,s;let t=this.page.getContainerInRect2(s,n,r);t==n.parent||t.checkForParentComponent(n)?n.isCross&&!n.canContainIn(n.parent)&&i.add(n):(o=this.containerToPage(t.clientRectangle),s=this.containerToPage(n.clientRectangle),0==n.left&&o.left==s.left&&n.dockStyle!=Ae.ap.StiDockStyle.None||i.add(n))}let t=n.as(S);null!=t&&i.addRange(t.getIncorrect2(e,r))}return i}correct2(t){var r=this.getSizesTable(this),e,i;for(i of this.getIncorrect2(t,r).list){if(null==i.parent)continue;i.clientRectangle=i.componentToPage(i.clientRectangle);let t=i.parent;i.parent.components.remove(i);let e;e=this.getContainerInRect2(i.clientRectangle,i,r),null==e&&(e=this.page),i.canContainIn(e)?(i.clientRectangle=e.pageToContainer(i.clientRectangle),e.components.add(i)):t.is(Ae.ap.StiPage)||(i.clientRectangle=i.pageToComponent(i.clientRectangle),t.components.add(i))}this.dockToContainer(),this.sortByPriority()}getIncorrect(e=!1){let r=new Ae.ap.StiComponentsCollection;for(var i of this.components.list){var n;if(!(i.linked||i.inherited)){var a=this.containerToPage(i.clientRectangle),s,a;let t=this.page.getContainerInRect(a,i);t==i.parent||t.checkForParentComponent(i)?i.isCross&&!i.canContainIn(i.parent)&&r.add(i):(s=this.containerToPage(t.clientRectangle),a=this.containerToPage(i.clientRectangle),0==i.left&&s.left==a.left&&i.dockStyle!=Ae.ap.StiDockStyle.None||r.add(i))}let t=i.as(S);null!=t&&r.addRange(t.getIncorrect(e))}return r}correct(t=!1){if(Hd.Designer.useComponentPlacementOptimization)return this.correct2(t),void this.checkLargeHeight();var e,r;for(r of this.getIncorrect(t).list){if(null==r.parent)continue;r.clientRectangle=r.componentToPage(r.clientRectangle);let t=r.parent;r.parent.components.remove(r);let e;e=this.getContainerInRect(r.clientRectangle,r),null==e&&(e=this.page),r.canContainIn(e)?(r.clientRectangle=e.pageToContainer(r.clientRectangle),e.components.add(r)):t.is(Ae.ap.StiPage)?Ae.c.StiLogService.write(this.stimulsoft().getType(),De.format(ne.get("Errors","ContainerIsNotValidForComponent"),e.name,r.name)):(r.clientRectangle=r.pageToComponent(r.clientRectangle),t.components.add(r))}this.dockToContainer(),this.sortByPriority(),this.checkLargeHeight()}checkLargeHeight(t=!1){let e=this.stimulsoft().as(Ae.ap.StiPage);if(null==e)return;if(e.largeHeight||!Hd.Designer.autoLargeHeight||!this.isDesigning)return;let r=0,i=e.height;if(i<=0)return;if(t){for(var n of e.components.list)if(n.is(Ae.ap.StiBand)&&!n.isCross)if(n.is(Ae.ap.StiPageFooterBand))i-=n.displayRectangle.height;else{let t=n.displayRectangle.height;var n=null===n||void 0===n?void 0:n.as(S);if(null!=n)for(var a of n.components.list)a.displayRectangle.bottom>t&&(t=a.displayRectangle.bottom);r+=t}}else for(var s of e.components.list)if(s.is(Ae.ap.StiBand)&&!s.isCross)if(s.is(Ae.ap.StiPageFooterBand))i=Math.min(i,s.top);else{r=Math.max(r,s.bottom);var o=null===s||void 0===s?void 0:s.stimulsoft().as(S);if(null!=o){var l=s.displayRectangle.top,u;for(u of o.components.list)l+u.displayRectangle.bottom>r&&(r=l+u.displayRectangle.bottom)}r=Math.max(r,s.bottom)}let h=.2;var c=e.unit.convertFromHInches(30*3);while(e.pageHeight*h<c)h+=.2;var d=e.largeHeightAutoFactor;while(e.largeHeightAutoFactor<49&&i-r<e.pageHeight*h){var m=e.height,p=e.largeHeightAutoFactor;if(e.largeHeightAutoFactor+=h,e.largeHeightAutoFactor==p)break;i+=e.height-m}while(i-r>e.pageHeight*(2*h)&&1<e.largeHeightAutoFactor){var g=e.height,f=e.largeHeightAutoFactor;if(e.largeHeightAutoFactor-=h,e.largeHeightAutoFactor==f)break;i-=g-e.height}e.largeHeightAutoFactor}resetSelection(){this.reset();for(var e of this.components.list){e.reset();let t=e.as(S);null!=t&&t.resetSelection()}}getSelectedComponents(){let e=new Ae.ap.StiComponentsCollection;for(var r of this.components.list){r.isSelected&&e.add(r);let t=r.as(S);var r;null!=t&&(r={ref:e},t.getSelectedComponents2(r),e=r.ref)}return e}getSelectedComponents2(t){let e=t.ref;for(var r of this.components.list){r.isSelected&&e.add(r);let t=r.as(S);var r;null!=t&&(r={ref:e},t.getComponents2(r),e=r.ref)}t.ref=e}getSelectedRectangle(){let e=Tr.empty;for(var r of this.components.list){r.isSelected&&(e=e.isEmpty?r.getDisplayRectangle2():e.fitToRectangle(r.getDisplayRectangle2()));let t=r.as(S);var r;null!=t&&((r=t.getSelectedRectangle()).isEmpty||(e=e.fitToRectangle(r)))}return e}makeHorizontalSpacingEqual(){let e=this.getSelectedComponents();var t=this.getSelectedRectangle(),r;let i=0;for(r of e.list)i+=r.width;var n=(t.width-i)/Math.max(e.count-1,1);e.sortByLeftPosition();let a=e.getByIndex(0).right+n;for(let t=1;t<e.count-1;t++)e.getByIndex(t).left=a,a=e.getByIndex(t).right+n}makeVerticalSpacingEqual(){let e=this.getSelectedComponents();var t=this.getSelectedRectangle(),r;let i=0;for(r of e.list)i+=r.height;var n=(t.height-i)/Math.max(e.count-1,1);e.sortByTopPosition();let a=e.getByIndex(0).bottom+n;for(let t=1;t<e.count-1;t++)e.getByIndex(t).top=a,a=e.getByIndex(t).bottom+n}makeSameSize(t){var e,r;for(r of this.getSelectedComponents().list)r.width=t.width,r.height=t.height}makeSameWidth(t){var e,r;for(r of this.getSelectedComponents().list)r.width=t}makeSameHeight(t){var e,r;for(r of this.getSelectedComponents().list)r.height=t}setCenterHorizontally(){for(var e of this.components.list){e.isSelected&&(e.left=(e.parent.width-e.width)/2);let t=e.as(S);null!=t&&t.setCenterHorizontally()}}setCenterVertically(){for(var e of this.components.list){e.isSelected&&(e.top=(e.parent.height-e.height)/2);let t=e.as(S);null!=t&&t.setCenterVertically()}}selectAll(){for(var e of this.components.list){e.select();let t=e.as(S);null!=t&&t.selectAll()}}containerToPage(t){if(t instanceof kr)return this.containerToPagePoint(t);return this.containerToPageRectangle(t)}containerToPageRectangle(e){let r=this;while(null!=r&&!r.is(Ae.ap.StiPage)){let t=r.clientRectangle;r.isSelected&&(t=Ae.ap.StiComponent.doOffsetRect(r,t,this.page.offsetRectangle)),e.x+=t.left,e.y+=t.top,r=r.parent}return e}containerToPagePoint(e){let r=this;while(null!=r){let t=r.clientRectangle;r.isSelected&&(t=Ae.ap.StiComponent.doOffsetRect(r,t,this.page.offsetRectangle)),e.x=e.x+t.left,e.y=e.y+t.top,r=r.parent}return e}pageToContainer(t){let r=this;if(t instanceof kr){let e=t;while(null!=r){let t=r.clientRectangle;r.isSelected&&(t=Ae.ap.StiComponent.doOffsetRect(r,t,this.page.offsetRectangle)),e.x-=t.left,e.y-=t.top,r=r.parent}return e}if(t){let e=t;while(null!=r){let t=r.clientRectangle;r.isSelected&&(t=Ae.ap.StiComponent.doOffsetRect(r,t,this.page.offsetRectangle)),e.x-=t.left,e.y-=t.top,r=r.parent}return e}return null}getComponents(){let e=new Ae.ap.StiComponentsCollection;if(this.is(Ae.ap.StiClone))return e;e.addRange(this.components);for(var r of this.components.list){let t=r.as(S);var r;null!=t&&(r={ref:e},t.getComponents2(r),e=r.ref)}return e}getComponents2(t){if(this.is(Ae.ap.StiClone))return;let e=t.ref;e.addRange(this.components);for(var r of this.components.list){let t=r.as(S);var r;null!=t&&(r={ref:e},t.getComponents2(r),e=r.ref)}t.ref=e}getComponentsList(){let e=new Array;if(this.is(Ae.ap.StiClone))return e;for(var r of this.components.list){e.push(r);let t=r.as(S);null!=t&&e.stimulsoft().addRange(t.getComponentsList())}return e}moveComponentsToPage(){var t=this.getComponentsList(),e,r;for(e of t)e.parent!=e.page&&(e.setDirectDisplayRectangle(e.componentToPage(e.displayRectangle)),e.page.components.add(e));for(r of t){let t=r.as(S);null!=t&&0<t.components.count&&t.components.clear()}}construct(t=Tr.empty){super.construct(t),this.components=new Ae.ap.StiComponentsCollection(this)}};S.propertyCanBreak=Math.random().toString().substr(2),S.propertyBlocked=Math.random().toString().substr(2),Ae.ap.StiContainer=S}let gs=Ae.ab.StiRemoveMeta,fs=Ae.d.StiAlignValue;{let r=class extends Ae.ap.StiContainer{constructor(t=os.empty){super(t),this._resetPageNumber=!1,this.defaultClientRectangle=new os(0,0,300,30),this.rectangleMoveComponent=null,this.canGrow=!0,this.dockStyle=Ae.ap.StiDockStyle.Top}implements(){return r.ImplementsStiBand||(r.ImplementsStiBand=super.implements().concat([Ae.ap.IStiResetPageNumber,Yt,Ae.ap.IStiCanGrow,Ae.ap.IStiConditions])),r.ImplementsStiBand}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanGrow","",!0),new gs("GrowToHeight"),new gs("ShiftMode"),new gs("Printable"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new Wi("ResetPageNumber","_"),new ji("MinHeight","",0),new ji("MaxHeight","",0)])}canContainIn(t){if(this.isCross&&t.is(r))return!0;if(this.is(Ae.be.StiTable)&&t.is(r))return!0;if(t.is(r))return!1;var e;return super.canContainIn(t)}get componentType(){return this.getComponentType()}getComponentType(){return Ae.ap.StiComponentType.Master}clone(t,e){let r=super.clone(t,e);return r._bandInfo=this.bandInfo.clone(),r}get resetPageNumber(){return this._resetPageNumber}set resetPageNumber(t){this._resetPageNumber=t}get bandInfo(){return null==this._bandInfo&&(this._bandInfo=new Ae.ap.StiBandInfo),this._bandInfo}getDockStyle(){return Hd.Engine.dockPageFooterToBottom&&this.is(Ae.ap.StiPageFooterBand)?Ae.ap.StiDockStyle.Bottom:Ae.ap.StiDockStyle.Top}setDockStyle(t){}get isAutomaticDock(){return!0}get printable(){return!0}set printable(t){}get minHeight(){return this.getMinHeight()}set minHeight(t){this.setMinHeight(t)}getMinHeight(){return super.getMinSize().height}setMinHeight(t){super.getMinSize().height!=t&&super.setMinSize(new ls(0,t))}get maxHeight(){return this.getMaxHeight()}set maxHeight(t){this.setMaxHeight(t)}getMaxHeight(){return super.getMaxSize().height}setMaxHeight(t){super.getMaxSize().height!=t&&super.setMaxSize(new ls(0,t))}getDisplayRectangle(){if(null!=this.report&&this.report.isRendering)return new os(this.left,this.top,this.width,this.height);let t=0,e=0;return null!=this.page&&null!=this.report&&this.report.info.showHeaders&&(t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize)),new os(this.left,this.top-t,this.width,this.height+t+e)}setDisplayRectangle(r){if(null!=this.report&&this.report.isRendering)this.left=r.left,this.top=r.top,this.width=r.width,this.height=r.height;else{let t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize);null==this.report||this.report.info.showHeaders||(t=0,e=0),this.left=r.left,this.top=r.top+t,this.width=r.width,this.height=r.height-t-e}}setDirectDisplayRectangle(t){this.displayRectangle=t}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return this.dockStyle==Ae.ap.StiDockStyle.Left||this.dockStyle==Ae.ap.StiDockStyle.Right?new os(this.left-t,this.top,this.width+t,this.height):new os(this.left,this.top-t,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.dockStyle==Ae.ap.StiDockStyle.Left||this.dockStyle==Ae.ap.StiDockStyle.Right?(this.left=t.left+e,this.top=t.top,this.width=t.width-e,this.height=t.height):(this.left=t.left,this.top=t.top+e,this.width=t.width,this.height=t.height-e)}get nestedLevel(){var e=this.as(Ae.ap.StiPageHeaderBand);if(null!=e){let t=1;for(var r of this.page.components.list){if(r==e)return t;r.is(Ae.ap.StiPageHeaderBand)&&t++}return t}var i=this.as(Ae.ap.StiPageFooterBand);if(null!=i){let t=1;for(var n of this.page.components.list){if(n==i)return t;n.is(Ae.ap.StiPageFooterBand)&&t++}return t}var a=this.as(Ae.ap.StiReportTitleBand);if(null!=a){let t=1;for(var s of this.page.components.list){if(s==a)return t;s.is(Ae.ap.StiReportTitleBand)&&t++}return t}var o=this.as(Ae.ap.StiReportSummaryBand);if(null!=o){let r=1;for(let e=this.page.components.count-1;0<=e;e--){let t=this.page.components.getByIndex(e);if(t==o)return r;t.is(Ae.ap.StiReportSummaryBand)&&r++}return r}var l=this.as(Ae.ap.StiEmptyBand);if(null!=l){let t=1;for(var u of this.page.components.list){if(u==l)return t;u.is(Ae.ap.StiEmptyBand)&&t++}return t}var h=this.as(Ae.ap.StiOverlayBand);if(null!=h){let t=1;for(var c of this.page.components.list){if(c==h)return t;c.is(Ae.ap.StiOverlayBand)&&t++}return t}let d=this.as(Ae.ap.StiDataBand);if(null!=d){let t=d.masterComponent?d.masterComponent.as(Ae.ap.StiDataBand):null,e=1;while(null!=t)t=t.masterComponent?t.masterComponent.as(Ae.ap.StiDataBand):null,e++;return e}var t=this.as(Ae.ap.StiHeaderBand);if(null!=t){var m=Ae.aq.StiHeaderBandBuilder.getMaster(t);if(null==m)return 1;return m.nestedLevel}var m=this.as(Ae.ap.StiFooterBand);if(null!=m){var p=Ae.aq.StiFooterBandBuilder.getMaster(m);if(null==p)return 1;return p.nestedLevel}var p=this.as(Ae.ap.StiGroupHeaderBand);if(null!=p){var g=Ae.aq.StiGroupHeaderBandBuilder.getMaster(p);if(null==g)return 1;return g.nestedLevel}var g=this.as(Ae.ap.StiGroupFooterBand);if(null!=g){var f=Ae.aq.StiGroupFooterBandBuilder.getMaster(g);if(null==f)return 1;return f.nestedLevel}let S=this.as(Ae.ap.StiChildBand);if(null!=S){var f=S.getMaster();return null==f?1:f.nestedLevel}return 0}get headerStartColor(){return null}get headerEndColor(){return null}getHeaderText(){return this.toString()}get headerSize(){return null!=this.report&&this.report.info.showHeaders?fs.alignToMaxGrid(15,+this.page.unit.convertToHInches(this.page.gridSize),!0):0}get footerSize(){return null!=this.report&&this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0):0}};Ae.ap.StiBand=r}Ae.ap.StiDynamicBand=class extends Ae.ap.StiBand{constructor(t=os.empty){super(t),this._printAtBottom=!1,this.newPageBefore=!1,this.newPageAfter=!1,this.newColumnBefore=!1,this.newColumnAfter=!1,this.skipFirst=!0,this._breakIfLessThan=100}implements(){return this._implementsStiDynamicBand||(this._implementsStiDynamicBand=super.implements().concat([Ae.ap.IStiPageBreak,Ae.ap.IStiBreakable,Ae.ap.IStiPrintAtBottom,Yt])),this._implementsStiDynamicBand}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("PrintAtBottom","_"),new Wi("NewPageBefore"),new Wi("NewPageAfter"),new Wi("NewColumnBefore"),new Wi("NewColumnAfter"),new Wi("SkipFirst","",!0),new ji("BreakIfLessThan","_",100)])}get printAtBottom(){return this._printAtBottom}set printAtBottom(t){this._printAtBottom=t}break(t,e,r){return!1}get breakIfLessThan(){return this._breakIfLessThan}set breakIfLessThan(t){this._breakIfLessThan!=t&&0<=t&&t<=100&&(this._breakIfLessThan=t)}};let Ss=Ae.an.StiGetCollapsedEvent,bs=Ae.an.StiEndRenderEvent,ys=Ae.an.StiRenderingEvent,vs=Ae.an.StiBeginRenderEvent;{let r=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.masterComponent=null,this.keepDetails=Ae.ap.StiKeepDetails.None,this._sort=[],this._printOnAllPages=!1,this.printIfDetailEmpty=!1,this._dataSourceName="",this._businessObjectGuid="",this.isEofValue=!1,this.isBofValue=!1,this.dataRelationName="",this.filterMode=Ae.ap.StiFilterMode.And,this.filterEngine=Ae.ap.StiFilterEngine.ReportEngine,this.filters=new Ae.ap.StiFiltersCollection,this.filterOn=!0,this.onBeginRender=null,this.onRendering=null,this.onEndRender=null,this.onGetCollapsed=null,this._collapsed="",this._rightToLeft=!1,this.columnGaps=0,this.columnWidth=0,this.columns=0,this.minRowsInColumn=0,this._columnDirection=Ae.ap.StiColumnDirection.AcrossThenDown,this.lineThrough=1,this.line=1,this.selectedLine=1,this.resetDataSource=!1,this.calcInvisible=!1,this._countData=0,this.limitRows="",this.printIfDetailEmpty=Hd.Engine.printIfDetailEmptyDefaultValue}implements(){return r.ImplementsStiDataBand||(r.ImplementsStiDataBand=super.implements().concat([Ae.ap.IStiDataSource,Ae.am.IStiEnumerator,Ae.ap.IStiMasterComponent,Ae.ap.IStiDataRelation,Ae.ap.IStiOddEvenStyles,Ae.ap.IStiSort,Ae.ap.IStiFilter,Ae.ap.IStiPrintOnAllPages,Ae.ap.IStiPrintIfDetailEmpty,Ae.ap.IStiKeepDetailsTogether,Ae.ap.IStiResetPageNumber,Ae.ap.IStiRenderMaster,Ae.ap.IStiBusinessObject,Yt])),r.ImplementsStiDataBand}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("KeepDetails","",Ae.ap.StiKeepDetails,Ae.ap.StiKeepDetails.None),new Wi("PrintOnAllPages","_"),new Wi("PrintIfDetailEmpty"),new Ui("DataSourceName","_"),new Ui("BusinessObjectGuid","_"),new Ui("DataRelationName"),new Gi("FilterMode","",Ae.ap.StiFilterMode,Ae.ap.StiFilterMode.And),new Gi("FilterEngine","",Ae.ap.StiFilterEngine,Ae.ap.StiFilterEngine.ReportEngine),new Wi("FilterOn","",!0),new Ui("EvenStyle"),new Ui("OddStyle"),new Ua("BeginRenderEvent",vs),new Ua("RenderingEvent",ys),new Ua("EndRenderEvent",bs),new Ua("GetCollapsedEvent",Ss),new Wi("RightToLeft","_"),new ji("ColumnGaps","",0),new ji("ColumnWidth","",0),new ji("Columns"),new ji("MinRowsInColumn"),new Gi("ColumnDirection","_",Ae.ap.StiColumnDirection,Ae.ap.StiColumnDirection.AcrossThenDown),new Wi("ResetDataSource"),new Wi("CalcInvisible"),new ji("CountData","_"),new Ui("LimitRows"),new Wi("KeepDetailsTogether"),new Ui("MasterComponent").check(()=>null!=this.masterComponent).get(()=>this.masterComponent.name).set(t=>{this.jsonMasterComponentTemp=t.value,this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this)}).setXml(t=>{this.jsonMasterComponentTemp=t.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this)}),new Ma("Sort").check(t=>t==as.Report).get(()=>ci.Serialize.stringArray(this.sort)).set(t=>this._sort=ci.Deserialize.stringArray(t.value)).setXml(t=>this._sort=r.loadXmlSort(t)),new Ma("Filters").check(t=>t==as.Report),new Ga("Collapsed").check(t=>t==as.Report)])}static loadXmlSort(e){let r=[],i=0;for(let t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];"value"==n.nodeName&&(r[i]=n.textContent,i++)}return r}saveState(t){null!=this.report&&(this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),null!=this.dataSource&&this.dataSource.saveState(t),De.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.saveState(t))}restoreState(t){null!=this.report&&(this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this.positionValue=this.states.popInt(t,this,"positionValue"),null!=this.dataSource&&this.dataSource.restoreState(t),De.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.restoreState(t),Ae.aq.StiDataBandBuilder.prepareGroupResults(this))}convert(t,e,r=!1){super.convert(t,e,r),this.columnGaps=e.convertFromHInches(t.convertToHInches(this.columnGaps)),this.columnWidth=e.convertFromHInches(t.convertToHInches(this.columnWidth))}get keepDetailsTogether(){return this.keepDetails==Ae.ap.StiKeepDetails.KeepDetailsTogether}set keepDetailsTogether(t){var t=t?Ae.ap.StiKeepDetails.KeepDetailsTogether:Ae.ap.StiKeepDetails.None;this.keepDetails!=t&&(this.keepDetails=t)}get sort(){return this._sort}set sort(t){this._sort=t}clone(t,e){let r=super.clone(t,e);return r._dataBandInfo=this.dataBandInfo.clone(),r.masterComponent=null,null!=this._sort?r._sort=this._sort.stimulsoft().clone():r._sort=null,null!=this.filters?r.filters=this.filters.clone():r.filters=null,r}get printOnAllPages(){return this._printOnAllPages}set printOnAllPages(t){this._printOnAllPages=t}get isDataSourceEmpty(){return De.isNullOrEmpty(this.dataSourceName)||null==this.dataSource}get dataSource(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)}get dataSourceName(){return this._dataSourceName}set dataSourceName(t){this._dataSourceName!=t&&(this._dataSourceName=t,De.isNullOrEmpty(t)||(this._businessObjectGuid=null),De.isNullOrEmpty(t)||(this._countData=0))}get isBusinessObjectEmpty(){return De.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject}get businessObject(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return null}get businessObjectGuid(){return this._businessObjectGuid}set businessObjectGuid(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,De.isNullOrEmpty(t)||(this.dataSourceName=null))}first(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first(),Ae.aq.StiDataBandBuilder.setDetails(this)}prior(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior(),Ae.aq.StiDataBandBuilder.setDetails(this)}next(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next(),Ae.aq.StiDataBandBuilder.setDetails(this)}last(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this._countData-1):this.dataSource.last():this.businessObject.last(),Ae.aq.StiDataBandBuilder.setDetails(this)}get isEof(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof}set isEof(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t}get isBof(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof}set isBof(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t}get isEmpty(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty}get position(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue}set position(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t}get count(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this._countData:this.dataSource.count:this.businessObject.count}get dataRelation(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)}get filter(){return 0==this.filters.count&&this.filters.add(new Ae.ap.StiFilter),this.filters.getByIndex(0).item=Ae.ap.StiFilterItem.Expression,this.filters.getByIndex(0).expression}set filter(t){0==this.filters.count&&this.filters.add(new Ae.ap.StiFilter),this.filters.getByIndex(0).item=Ae.ap.StiFilterItem.Expression,this.filters.getByIndex(0).expression=t}get evenStyle(){return this.properties.get(r.propertyEvenStyle,"")}set evenStyle(t){this.properties.set(r.propertyEvenStyle,t,"")}get oddStyle(){return this.properties.get(r.propertyOddStyle,"")}set oddStyle(t){this.properties.set(r.propertyOddStyle,t,"")}get headerStartColor(){return Fe.fromArgb(239,155,52)}get headerEndColor(){return Fe.fromArgb(239,155,52)}getHeaderText(){let t=this.businessObject;var e;if(null!=t)return this.toString()+"; "+ne.get("PropertyMain","BusinessObject")+": "+t.getFullName();var r=this.toString()+"; "+ne.get("PropertyMain","DataSource")+": ";if(null==this.dataSource){if(0<this.countData)return r+this.countData.toString();return r+ne.get("Report","NotAssigned")}return r+this.dataSource.toString()}doBookmark(){if(null!=this.report)return super.doBookmark();return!1}doPointer(t=!0){null!=this.report&&super.doPointer(t)}invokeGroupRendering(){if(null!=this.report)for(var t of this.dataBandInfo.groupHeaders.list)t.invokeRendering()}get dataBandInfo(){return null==this._dataBandInfo&&(this._dataBandInfo=new Ae.ap.StiDataBandInfo),this._dataBandInfo}renderAsync(){return Y.tsfb(this,void 0,void 0,function*(){return null})}render(){return null}renderMasterAsync(){return Y.tsfb(this,void 0,void 0,function*(){let t=Ae.aq.StiBuilder.getBuilder(this.stimulsoft().getType());yield t.renderMasterAsync(this)})}renderMaster(){let t=Ae.aq.StiBuilder.getBuilder(this.stimulsoft().getType());t.renderMaster(this)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.DataBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.DataBand}getComponentType(){if(null==this.masterComponent)return Ae.ap.StiComponentType.Master;if(null!=this.masterComponent){if(this.page.skip&&this.masterComponent.page!=this.page)return Ae.ap.StiComponentType.Master;if(this.parent!=this.masterComponent.parent)return Ae.ap.StiComponentType.Master}return Ae.ap.StiComponentType.Detail}invokeBeginRender(){"function"==typeof this.onBeginRender&&this.onBeginRender(this);let t=this.events.get(r.eventBeginRender);null!=t&&t(this,Un.empty),ja.invokeBlockly(this.report,this,this.beginRenderEvent)}get beginRenderEvent(){return new vs(this)}set beginRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventBeginRender,Ha.create(t.script,this.report))}invokeRendering(){if(null!=this.report)try{"function"==typeof this.onRendering&&this.onRendering(this);let t=this.events.get(r.eventRendering);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.renderingEvent)}catch(t){}}get renderingEvent(){return new ys(this)}set renderingEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventRendering,Ha.create(t.script,this.report))}invokeEndRender(){"function"==typeof this.onEndRender&&this.onEndRender(this);let t=this.events.get(r.eventEndRender);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.endRenderEvent)}get endRenderEvent(){return new bs(this)}set endRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventEndRender,Ha.create(t.script,this.report))}invokeGetCollapsed(e){try{"function"==typeof this.onGetCollapsed&&this.onGetCollapsed(this,e),null!=this.report&&this.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&0<this.collapsed.length&&(e.value=Ae.bb.StiParser.parseTextValue(this.collapsed,this));let t=this.events.get(r.eventGetCollapsed);null!=t&&t(this,e),ja.invokeBlockly(this.report,this,this.getCollapsedEvent,e)}catch(e){Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoGetCollapsed...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),e)}}get getCollapsedEvent(){return new Ss(this)}set getCollapsedEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventGetCollapsed,za.create(t.script,this.report))}get collapsed(){return this._collapsed}set collapsed(t){null!=t&&(this._collapsed=t)}get rightToLeft(){return this.getRightToLeft()}set rightToLeft(t){this.setRightToLeft(t)}getRightToLeft(){return this._rightToLeft}setRightToLeft(t){this._rightToLeft!=t&&(this._rightToLeft=t)}getColumnWidth(){let t=this.columnWidth;if(0==t){if(0==this.columns)return this.width;t=this.width/this.columns-this.columnGaps}return t}get columnDirection(){return this._columnDirection}set columnDirection(t){this._columnDirection!=t&&(this._columnDirection=t)}get countData(){return this._countData}set countData(t){this._countData!=t&&0<(this._countData=t)&&(this.dataSourceName="")}createNew(){return new r}};r.propertyEvenStyle=Math.random().toString().substr(2),r.propertyOddStyle=Math.random().toString().substr(2),r.eventBeginRender={},r.eventRendering={},r.eventEndRender={},r.eventGetCollapsed={},Ae.ap.StiDataBand=r}Ae.an.StiFillParametersEvent=class extends Ae.an.StiEvent{toString(){return"FillParameters"}},Ae.an.StiGetSubReportEventHandler=new Ha("sender: any, e: StiGetSubReportEventArgs"),Ae.an.StiGetSubReportEventArgs=class extends Un{constructor(t){super(),this.subReportName=t}};{let i=class{static getBytes(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return r.content;var t=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=t)return t.valueObject;var t=this.getFileNameFromHyperlink(e);if(null!=t)try{return Ae.bo.File.getFile(t,!0)}catch(t){}return Ae.bo.File.getFile(e,!0)}static getImage(t,e){let r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return r.getResourceAsImage();var i=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=i)return i.valueObject;var n=this.getDataColumnNameFromHyperlink(e);if(null!=n){var i=Ae.am.StiDataColumn.getDataSourceFromDataColumn(t.dictionary,n);if(null!=i){i.isConnected||t.dictionary.connect(!0);var a=Ae.am.StiDataColumn.getDataFromDataColumn(t.dictionary,n);return Ae.ap.StiImageHelper.getImageFromObject(a)}}var a=this.getFileNameFromHyperlink(e);if(null!=a)try{return ie.fromFile(a)}catch(t){}return ie.fromFile(e)}static getString(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return De.fromBytesArray(r.content);var t=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=t)return t.valueObject;var t=this.getFileNameFromHyperlink(e);if(null!=t)try{return Ae.bo.File.getFile(t)}catch(t){}return Ae.bo.File.getFile(e)}static getResource(t,e){if(null==t||De.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.resources.toList().firstOrDefault(t=>null!=t.name&&t.name.toLowerCase().trim()==e)}static getVariable(t,e){if(null==t||De.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.variables.toList().firstOrDefault(t=>null!=t.name&&t.name.toLowerCase().trim()==e)}static getServerNameFromHyperlink(t){if(!this.isServerHyperlink(t))return null;return t.stimulsoft().remove(0,this.serverIdent.length)}static getResourceNameFromHyperlink(t){if(!this.isResourceHyperlink(t))return null;return t.stimulsoft().remove(0,this.resourceIdent.length)}static getVariableNameFromHyperlink(t){if(!this.isVariableHyperlink(t))return null;return t.stimulsoft().remove(0,this.variableIdent.length)}static getDataColumnNameFromHyperlink(t){if(!this.isDataColumnHyperlink(t))return null;return t.stimulsoft().remove(0,this.dataColumnIdent.length)}static getRealDataColumnFromHyperlink(t,e){var e=i.getDataColumnNameFromHyperlink(e),r;if(De.isNullOrWhiteSpace(e))return null;if(null==Ae.am.StiDataColumn.getDataSourceFromDataColumn(t.dictionary,e))return null;var t=Ae.am.StiDataColumn.getColumnNameFromDataColumn(t.dictionary,e);if(De.isNullOrWhiteSpace(t))return null;return e}static getFileNameFromHyperlink(t){if(!this.isFileHyperlink(t))return null;return t.stimulsoft().remove(0,this.fileIdent.length)}static isServerHyperlink(t){return!De.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft().startsWith(this.serverIdent)}static isResourceHyperlink(t){return!De.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft().startsWith(this.resourceIdent)}static isVariableHyperlink(t){return!De.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft().startsWith(this.variableIdent)}static isDataColumnHyperlink(t){return!De.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft().startsWith(this.dataColumnIdent)}static isFileHyperlink(t){return!De.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft().startsWith(this.fileIdent)}static createResourceName(t){return De.format("{0}{1}",this.resourceIdent,t)}static createVariableName(t){return De.format("{0}{1}",this.variableIdent,t)}static createFileName(t){return De.format("{0}{1}",this.fileIdent,t)}static hyperlinkToString(t){if(this.isResourceHyperlink(t))return De.format("{0}: {1}",ne.get("PropertyMain","Resource"),this.getResourceNameFromHyperlink(t));if(this.isVariableHyperlink(t))return De.format("{0}: {1}",ne.get("PropertyMain","Variable"),this.getVariableNameFromHyperlink(t));if(this.isServerHyperlink(t))return De.format("Server: {0}",this.getVariableNameFromHyperlink(t));if(this.isFileHyperlink(t))return De.format("{0}: {1}",ne.get("PropertyMain","File"),this.getFileNameFromHyperlink(t));return De.format("{0}: {1}",ne.get("PropertyMain","Hyperlink"),t)}};i.serverIdent="stimulsoft-server://",i.resourceIdent="resource://",i.variableIdent="variable://",i.dataColumnIdent="datacolumn://",i.fileIdent="file://",Ae.al.StiHyperlinkProcessor=i}let ws=Ae.an.StiGetSubReportEventArgs,Cs=Ae.an.StiFillParametersEvent,Ts=Ae.d.StiGuidUtils,Ps=Ae.al.StiHyperlinkProcessor;{let a=class extends Ae.ap.StiContainer{constructor(){super(...arguments),this.keepSubReportTogether=!1,this.subReportPageGuid=null,this.subReportUrl=null,this.parameters=new Ae.ap.StiParametersCollection}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new gs("GrowToHeight"),new Ua("FillParametersEvent",Cs),new Wi("KeepSubReportTogether"),new Ui("SubReportPageGuid"),new Ui("SubReportUrl"),new Ma("Parameters").check(t=>t==as.Report)])}get componentType(){return Ae.ap.StiComponentType.Simple}clone(){var t;return this.stimulsoft().memberwiseClone()}convert(t,e,r=!1){this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),super.setWidth(e.convertFromHInches(t.convertToHInches(this.width))),this.height=e.convertFromHInches(t.convertToHInches(this.height)),r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))}get width(){return super.getWidth()}set width(t){super.setWidth(t),this.updateSubReportPageWidth()}setClientRectangle(t){super.setClientRectangle(t),this.updateSubReportPageWidth()}updateSubReportPageWidth(){var t;null!=this.subReportPage&&null!=this.report&&(null!=this.page&&this.subReportPage.orientation!=this.page.orientation&&(t=this.subReportPage.pageHeight,this.subReportPage.orientation=this.page.orientation,this.subReportPage.pageHeight=t,this.subReportPage.margins=new Ae.ap.StiMargins(this.subReportPage.margins.top,this.subReportPage.margins.bottom,this.subReportPage.margins.left,this.subReportPage.margins.right)),this.subReportPage.width=this.width)}getExternalSubReport(){let t=this.getSubReportFromUrl(this.subReportUrl);var e;if(null==t&&(t=this.getSubReportFromFile(this.subReportUrl)),null==t?(e=new ws(this.name),this.report.invokeGetSubReport(e),t=e.report):(t.onPrepareVariables=this.report.onPrepareVariables,t.onBeginProcessData=this.report.onBeginProcessData,t.onEndProcessData=this.report.onEndProcessData,t.onBeginRender=this.report.onBeginRender,t.onRendering=this.report.onRendering,t.onEndRender=this.report.onEndRender),null!=t&&t.reportUnit!=this.report.reportUnit)if(t.isDocument)for(var r of t.renderedPages.list)r.convert(t.unit,this.report.unit);else t.reportUnit=this.report.reportUnit;return t}getSubReportFromUrl(r){try{if(!De.isNullOrEmpty(r)){let t=new Ae.c.StiReport,e=Ps.getResourceNameFromHyperlink(r);if(null!=e){e=e.toLowerCase().trim();var i=this.report.dictionary.resources.toList().firstOrDefault(t=>null!=t.name&&t.name.toLowerCase().trim()==e);if(null!=i)switch(i.type){case Ae.am.StiResourceType.Report:t.load(i.content);break;case Ae.am.StiResourceType.ReportSnapshot:t.loadDocument(i.content);break}}else(r=r.stimulsoft().replaceAll("file://","")).stimulsoft().endsWith(".mdc")||r.stimulsoft().endsWith(".mdz")?t.loadDocumentFile(r):t.loadFile(r);return t}}catch(t){var r=De.format("SubReport can't be loaded from URL '{0}' in subreport component {1}!",r,this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return null}getSubReportFromFile(t){return this.getSubReportFromUrl(t)}onFillParameters(t){}invokeFillParameters(e,r){try{this.onFillParameters(r);let t=this.events.get(a.eventFillParameters);if(null!=t)try{t(e,r)}catch(r){}if(null!=this.report&&this.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&null!=this.parameters&&0<this.parameters.count){for(var i of this.parameters.list){var n;De.isNullOrEmpty(i.name)||null==i.expression||De.isNullOrEmpty(i.expression)||(n=Ae.bb.StiParser.parseTextValue("{"+i.expression+"}",this),r.value.push({key:i.name,value:n}))}ja.invokeBlockly(this.report,this,this.fillParametersEvent,r)}}catch(t){var e=De.format("Expression in parameters of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get fillParametersEvent(){return new Cs(this)}set fillParametersEvent(t){null!=t&&t.set(this,t.script),this.events.set(a.eventFillParameters,Ae.an.StiFillParametersEventHandler.create(t.script,this.report))}get useExternalReport(){return!1}get subReportPage(){if(null==this.report)return null;for(var t of this.report.pages.list)if(t.guid==this.subReportPageGuid)return t;return null}set subReportPage(t){null==t?this.subReportPageGuid=null:(null==t.guid&&(t.guid=Ts.newGuid()),this.subReportPageGuid=t.guid,this.updateSubReportPageWidth())}static getSubReportForPage(t){if(null==t)return null;var e,r;for(r of t.report.getComponents().list)if(r.is(a)&&r.subReportPage==t)return r;return null}};a.eventFillParameters={},Ae.ap.StiSubReport=a}let Is=Ae.b.StiError,As=Ae.d.StiChartNotSupportedException,xs=Ae.ap.StiBand;{let r=class extends J{constructor(t=null){super(),this.parent=t}implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value,r=Hd.Services.components.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e),i;null==r?"StiChart"!=e&&"StiChartElement"!=e||(Is.showError(new As,!0),i="StiChartElement"==e?Ae.aA.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement"):new Ae.ap.StiText,n.value=As.getTextJson(n.value)):i=new r,this.add(i);try{i.loadFromJsonObject(n.value)}catch(t){this.list.pop()}}}loadFromXml(a){var s,s;for(let n=0;n<a.childNodes.length;n++){let e=a.childNodes[n];if(null==e.attributes)continue;let t=null===(s=null===(s=e.attributes.getNamedItem("type"))||void 0===s?void 0:s.value)||void 0===s?void 0:s.split("."),r=t.pop(),i=t.join(".");switch(0<r.length&&0!=r.indexOf("Sti")&&(r="Sti"+r),r){case"StiTable":case"StiTableCell":case"StiTableCellCheckBox":case"StiTableCellImage":case"StiTableCellRichText":i="Stimulsoft.Report.Components.Table";break;case"StiCrossTab":case"StiCrossColumn":case"StiCrossTotal":case"StiCrossRowTotal":case"StiCrossColumnTotal":case"StiCrossRow":case"StiCrossSummary":case"StiCrossTitle":case"StiCrossSummaryHeader":i="Stimulsoft.Report.CrossTab";break;case"StiSystemText":r="StiText";break;case"StiChart":if(Ae.as.StiChartAssembly.isAssemblyLoaded){let t=Ge.createObject(Ae.ap["StiChart"]);t.report=this.parent.report,this.add(t),t.loadFromXml(e)}else{Is.showError(new As,!0);let t=new Ae.ap.StiText;t.loadFromXml(As.getTextXml(e)),this.add(t)}continue;case"StiGauge":{let t=Ge.createObject(Ae.ap["StiGauge"]);this.add(t),t.loadFromXml(e);continue}case"StiMap":{let t=new Ae.aC.StiMap;t.report=this.parent.report,this.add(t),t.loadFromXml(e);continue}case"StiBarCode":{let t=new Ae.az.StiBarCode;t.report=this.parent.report,this.add(t);try{t.loadFromXml(e)}catch(t){this.list.pop()}continue}case"StiChartElement":if(!Ae.as.StiChartAssembly.isAssemblyLoaded){Is.showError(new As,!0);let t=Ae.aA.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement");t.loadFromXml(As.getTextXml(e)),this.add(t);continue}break}if(0==i.indexOf("Stimulsoft.Dashboard.Components")){let t=Ae.aA.StiDashboardCreator.createDashboardElement(i+"."+r);null!=t&&(this.add(t),t.loadFromXml(e));continue}if("Stimulsoft.Report.Components"==i||""==i){if(Ae.ap[r]){let t=new Ae.ap[r];this.add(t),t.loadFromXml(e)}else{let t=new Ae.ap.StiText;t.loadFromXml(As.getTextXml(e,r.substr(3)+" is not supported")),this.add(t)}continue}if("Stimulsoft.Report.Components.Table"==i){let t=new Ae.be[r];this.add(t),t.loadFromXml(e);continue}if("Stimulsoft.Report.CrossTab"==i){let t=new Ae.at[r];this.add(t),t.loadFromXml(e);continue}}}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}memberwiseClone(){let t=new(this.stimulsoft().getType());return t.parent=this.parent,t}addCore(t){null!=this.parent&&(t.parent=this.parent,null!=this.parent.page&&(t.page=this.parent.page,De.isNullOrEmpty(t.name)&&(null!=t.report&&t.report.isDesigning?t.name=Ae.c.StiNameCreation.createName(this.parent.report,Ae.c.StiNameCreation.generateName(t)):t.name=Ae.c.StiNameCreation.createSimpleName(this.parent.report,Ae.c.StiNameCreation.generateName(t))))),this.list.push(t)}add(t){this.addCore(t)}indexOf(e){if("string"==typeof e){var r=e.toLowerCase(),i;let t=0;for(i of this.list){if(i.name.toLowerCase()==r)return t;t++}return-1}return this.list.indexOf(e)}insertRange(t,e){for(var r of e.list)this.insert(t,r)}insert(t,e){null!=this.parent&&(e.parent=this.parent,null!=this.parent.page&&(e.page=this.parent.page)),this.list.splice(t,0,e)}remove(t,e=!0){e&&null!=t.page&&null!=t.report&&(t.parent=null),this.contains(t)&&super.remove(t)}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.addCore(i)}sortByPriority(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].priority>this.list[t].priority?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}sortByTopPosition(){if(1<this.count){let r=!0,i=null;var n=this.count,e;if(100<n){r=!1;let e=this.list[0].top;i=new Dt;for(let t=0;t<n;t++){var a=this.getByIndex(t).top;i.set(a,null),a<e&&(r=!0),e=a}var s=i.keys.length;if(i.clear(),r&&s<n/2){for(let e=0;e<this.count;e++){var o=this.getByIndex(e),l=o.top;let t=i.get(l);null==t&&(t=[],i.set(l,t)),t.push(o)}var s=ke.create(Object,i.keys.length),u,h,c;i.keys.copyTo(s,0),s=ke.sort(s);let t=0;for(u of s){for(c of i.get(u))this.list[t++]=c}i.clear(),r=!1}}if(r){let t=1;while(t<n){this.list[t-1].top>this.list[t].top?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}}sortByBottomPosition(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].bottom>this.list[t].bottom?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}sortByLeftPosition(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].left>this.list[t].left?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}sortByRightPosition(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].right>this.list[t].right?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}sortBandsByTopPosition(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].is(xs)&&this.list[t].is(xs)&&this.list[t-1].dockStyle==this.list[t].dockStyle&&(this.list[t-1].dockStyle==Ae.ap.StiDockStyle.Top&&this.list[t-1].top>this.list[t].top||this.list[t-1].dockStyle==Ae.ap.StiDockStyle.Bottom&&this.list[t-1].top<this.list[t].top)?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}sortBandsByLeftPosition(){if(1<this.count){let t=1;while(t<this.count){var e;this.list[t-1].is(xs)&&this.list[t].is(xs)&&this.list[t-1].left>this.list[t].left?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}}getComponentByName(t,e){for(var r of e.components.list){if(r.name==t)return r;var r=r.as(Ae.ap.StiContainer);if(null!=r){var r=this.getComponentByName(t,r);if(null!=r)return r}}return null}getPageByAlias(t){for(var e of this.list)if(e.alias==t)return e;return null}setParent(e){this.parent=e;for(var r of this.list){r.parent=e;let t=r.as(Ae.ap.StiContainer);null!=t&&t.components.setParent(t)}}};Ae.ap.StiComponentsCollection=r}Ae.ap.IStiComponentsOwnerRenderer=new Ae.b.Interface("IStiComponentsOwnerRenderer");let Ds=Ae.S.StiHorAlignment,Bs=Ae.S.StiTextHorAlignment;{let I=class{static checkSize(e){let n=e;if(null==n)return;let r=null;if(Hd.Engine.allowCacheForGetActualSize){let t=e.report;if(null==t&&null!=n.containerInfo&&null!=n.containerInfo.parentBand&&(t=n.containerInfo.parentBand.report),null==t&&null!=n.parent&&null!=n.parent.containerInfo&&null!=n.parent.containerInfo.parentBand&&(t=n.parent.containerInfo.parentBand.report),null!=t&&null!=t.engine){if(null==t.engine.hashCheckSize&&(t.engine.hashCheckSize=new Dt),t.engine.hashCheckSize.containsKey(e))return;r=t.engine.hashCheckSize}}let a=new Dt,t=new Dt,i=!1;for(var s of n.components.list)if(s.isEnabled){let e;if(s.is(Ae.ap.StiContainer)){var o=s.height;Hd.Engine.useCheckSizeForContinuedContainers&&I.checkSize(s);let t=!1;var l={ref:t},u,l;e=s.getActualSize(!0,l),t=l.ref,t&&(u=s.height,s.height=e.height,l={ref:t},e=s.getActualSize(!1,l),t=l.ref,s.height=u),Hd.Engine.useCheckSizeForContinuedContainers&&(s.height=o)}else e=s.getActualSize();s.is(Ae.ap.StiHorizontalLinePrimitive)||(e.height=Ne.round2(e.height,2)),e.width=Ne.round2(e.width,2),t.set(s,e),e.height!=s.height&&(i=!0)}else t.set(s,new ls(0,0));if(i){let r=new Ae.ap.StiComponentsCollection;r.addRange(n.components),r.sortByTopPosition();let i=0;for(var h of r.list){var c=t.get(h).height-h.height,d=Ne.round2(h.left,2),m=Ne.round2(h.right,2),p=Ne.round2(h.bottom,2);if(0!=c){let e=0;null!=a.get(h)&&(e=a.get(h));for(let t=i+1;t<r.count;t++){var g=r.getByIndex(t),f=Ne.round2(g.left,2),S=Ne.round2(g.top,2);if(0!=(g.shiftMode&Ae.ap.StiShiftMode.OnlyInWidthOfComponent)&&(f<d||m<=f))continue;if(p<=S){let t=0;null!=a.get(g)&&(t=a.get(g)),0<c&&0!=(g.shiftMode&Ae.ap.StiShiftMode.IncreasingSize)&&a.set(g,Math.max(c+e,t)),c<0&&0!=(g.shiftMode&Ae.ap.StiShiftMode.DecreasingSize)&&a.set(g,Math.min(c+e,t))}}}i++}}for(var b of n.components.list){var y=t.get(b);let e=b.as(Ae.ap.IStiAutoWidth);if(null!=e&&e.autoWidth){let t=Ds.Left;var v=e.stimulsoft().as(Ae.ap.IStiTextHorAlignment);if(null!=v)switch(v.horAlignment){case Bs.Left:t=Ds.Left;break;case Bs.Center:case Bs.Width:t=Ds.Center;break;case Bs.Right:t=Ds.Right;break}var v=e.stimulsoft().as(Ae.ap.IStiHorAlignment);if(null!=v)switch(v.horAlignment){case Ds.Left:t=Ds.Left;break;case Ds.Center:t=Ds.Center;break;case Ds.Right:t=Ds.Right;break}var v=b.left,v;switch(t){case Ds.Left:b.width=y.width;break;case Ds.Center:var w=y.width;b.left+=(b.width-w)/2,b.width=w;break;case Ds.Right:var w=y.width;b.left=b.right-w,b.width=w;break}0<=v&&b.left<0&&(v=b.width,b.left=0,b.width=v)}if(b.canGrow){let t=Math.max(y.width,b.width);b.width!=t&&(b.width=t),t=Math.max(y.height,b.height),b.height!=t&&(b.height=t)}if(b.canShrink&&(b.is(Ae.ap.StiContainer)&&b.parentComponentIsBand||(b.width=Math.min(y.width,b.width))),b.height=Math.min(y.height,b.height),this.checkContainerGrowToHeight(b),0==(b.shiftMode&Ae.ap.StiShiftMode.IncreasingSize)&&0==(b.shiftMode&Ae.ap.StiShiftMode.DecreasingSize))continue;null!=a.get(b)&&(b.top+=a.get(b))}if(this.componentPlacedOnBand(n)||n.parentComponentIsBand){let t=!1;var C={ref:t};let e=n.getActualSize(!0,C);t=C.ref,n.parentComponentIsBand&&!n.parentComponentIsCrossBand||(n.width=e.width),n.height=e.height,t&&(C={ref:t},e=n.getActualSize(!1,C),t=C.ref,n.parentComponentIsBand&&!n.parentComponentIsCrossBand||(n.width=e.width),n.height=e.height),this.checkContainerGrowToHeight(n)}if(n.is(Ae.ap.StiPage)&&n.unlimitedHeight){let t=n;var T,C={ref:!1},P=n.getActualSize(!0,C),T=C.ref;while(P.height>t.height)t.segmentPerHeight++}null!=r&&r.set(e,null)}static componentPlacedOnBand(t){let e=t.parent;while(1==1){if(null==e)return!1;if(e.is(Ae.ap.StiBand))return!0;if(e.is(Ae.ap.StiPage))return!1;if(e.parentComponentIsBand)return!0;e=e.parent}return!1}static checkContainerGrowToHeight(t){var e=t.as(Ae.ap.StiContainer);if(null!=e)for(var r of e.components.list)r.growToHeight&&r.isEnabled&&(r.height=e.height-r.top,this.checkContainerGrowToHeight(r))}};I.notCheckSizeMark="*NotCheckSizeMark*",Ae.ap.StiContainerHelper=I}{let e=class extends Ae.ap.StiBand{constructor(t=os.empty){super(t),this.sizeMode=Ae.ap.StiEmptySizeMode.AlignFooterToTop}implements(){return super.implements().concat([Ae.ap.IStiOddEvenStyles,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("EvenStyle"),new Ui("OddStyle"),new Ua("BeginRenderEvent",vs),new Ua("RenderingEvent",ys),new Ua("EndRenderEvent",bs),new Gi("SizeMode","",Ae.ap.StiEmptySizeMode,Ae.ap.StiEmptySizeMode.AlignFooterToTop)])}getHeaderText(){return this.toString()}get headerStartColor(){return Fe.fromArgb(186,235,137)}get headerEndColor(){return Fe.fromArgb(186,235,137)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.EmptyBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.EmptyBand}get evenStyle(){return this.properties.get(Ae.ap.StiDataBand.propertyEvenStyle,"")}set evenStyle(t){this.properties.set(Ae.ap.StiDataBand.propertyEvenStyle,t,"")}get oddStyle(){return this.properties.get(Ae.ap.StiDataBand.propertyOddStyle,"")}set oddStyle(t){this.properties.set(Ae.ap.StiDataBand.propertyOddStyle,t,"")}onBeginRender(t){}invokeBeginRender(){this.onBeginRender(Un.empty);let t=this.events.get(e.eventBeginRender);null!=t&&t(this,Un.empty)}get beginRenderEvent(){return new vs(this)}set beginRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(e.eventBeginRender,Ha.create(t.script,this.report))}onRendering(t){}invokeRendering(){this.onRendering(Un.empty);let t=this.events.get(e.eventRendering);null!=t&&t(this,Un.empty),ja.invokeBlockly(this.report,this,this.renderingEvent)}get renderingEvent(){return new ys(this)}set renderingEvent(t){null!=t&&t.set(this,t.script),this.events.set(e.eventRendering,Ha.create(t.script,this.report))}onEndRender(t){}invokeEndRender(){this.onEndRender(Un.empty);let t=this.events.get(e.eventEndRender);null!=t&&t(this,Un.empty),ja.invokeBlockly(this.report,this,this.endRenderEvent)}get endRenderEvent(){return new bs(this)}set endRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(e.eventEndRender,Ha.create(t.script,this.report))}createNew(){return new e}};e.eventBeginRender={},e.eventRendering={},e.eventEndRender={},Ae.ap.StiEmptyBand=e}Ae.ap.IStiFont=new Ae.b.Interface("IStiFont"),Ae.ap.ImplementsIStiFont=[],Ae.ap.IStiBrush=new Ae.b.Interface("IStiBrush"),Ae.ap.IStiBorder=new Ae.b.Interface("IStiBorder");var rt=class{static getBuilder(t){let e=this.typeToBuilder.get(t);if(null==e){if(t===Ae.ap.StiTableOfContents||t.prototype instanceof Ae.ap.StiTableOfContents)e=new Ae.aq.StiTableOfContentsBuilder;else if(Ae.as.StiChartAssembly.isAssemblyLoaded&&(t===Ae.ap["StiChart"]||t.prototype instanceof Ae.ap["StiChart"]))e=new Ae.aq.StiChartBuilder;else if(Ae.ap["StiGauge"]&&(t===Ae.ap["StiGauge"]||t.prototype instanceof Ae.ap["StiGauge"]))e=new Ae.aq.StiGaugeBuilder;else if(t===Ae.ap.StiSparkline||t.prototype instanceof Ae.ap.StiSparkline)e=new Ae.aq.StiSparklineBuilder;else if(t===Ae.aC.StiMap||t.prototype instanceof Ae.aC.StiMap)e=new Ae.aq.StiMapBuilder;else{if(t===Ae.ap.StiClone||t.prototype instanceof Ae.ap.StiClone)return new Ae.aq.StiCloneBuilder;t===Ae.ap.StiColumnFooterBand||t.prototype instanceof Ae.ap.StiColumnFooterBand?e=new Ae.aq.StiColumnFooterBandBuilder:t===Ae.ap.StiColumnHeaderBand||t.prototype instanceof Ae.ap.StiColumnHeaderBand?e=new Ae.aq.StiColumnHeaderBandBuilder:t===Ae.at.StiCrossTab||t.prototype instanceof Ae.at.StiCrossTab?e=new Ae.aq.StiCrossTabV2Builder:t===Ae.ap.StiHierarchicalBand||t.prototype instanceof Ae.ap.StiHierarchicalBand?e=new Ae.aq.StiHierarchicalBandBuilder:t===Ae.ap.StiDataBand||t.prototype instanceof Ae.ap.StiDataBand||t===Ae.ap.StiCrossDataBand||t.prototype instanceof Ae.ap.StiCrossDataBand||t===Ae.be.StiTable||t.prototype instanceof Ae.be.StiTable?e=new Ae.aq.StiDataBandBuilder:t===Ae.ap.StiFooterBand||t.prototype instanceof Ae.ap.StiFooterBand||t===Ae.ap.StiCrossFooterBand||t.prototype instanceof Ae.ap.StiCrossFooterBand?e=new Ae.aq.StiFooterBandBuilder:t===Ae.ap.StiGroupFooterBand||t.prototype instanceof Ae.ap.StiGroupFooterBand||t===Ae.ap.StiCrossGroupFooterBand||t.prototype instanceof Ae.ap.StiCrossGroupFooterBand?e=new Ae.aq.StiGroupFooterBandBuilder:t===Ae.ap.StiGroupHeaderBand||t.prototype instanceof Ae.ap.StiGroupHeaderBand||t===Ae.ap.StiCrossGroupHeaderBand||t.prototype instanceof Ae.ap.StiCrossGroupHeaderBand?e=new Ae.aq.StiGroupHeaderBandBuilder:t===Ae.ap.StiHeaderBand||t.prototype instanceof Ae.ap.StiHeaderBand||t===Ae.ap.StiCrossHeaderBand||t.prototype instanceof Ae.ap.StiCrossHeaderBand?e=new Ae.aq.StiHeaderBandBuilder:t===Ae.ap.StiImage||t.prototype instanceof Ae.ap.StiImage||t===Ae.be.StiTableCellImage||t.prototype instanceof Ae.be.StiTableCellImage?e=new Ae.aq.StiImageBuilder:t===Ae.ap.StiPage||t.prototype instanceof Ae.ap.StiPage?e=new Ae.aq.StiPageBuilder:t===Ae.ap.StiPointPrimitive||t.prototype instanceof Ae.ap.StiPointPrimitive||t===Ae.ap.StiEndPointPrimitive||t.prototype instanceof Ae.ap.StiEndPointPrimitive||t===Ae.ap.StiStartPointPrimitive||t.prototype instanceof Ae.ap.StiStartPointPrimitive?e=new Ae.aq.StiPointPrimitiveBuilder:t===Ae.ap.StiVerticalLinePrimitive||t.prototype instanceof Ae.ap.StiVerticalLinePrimitive||t===Ae.ap.StiRoundedRectanglePrimitive||t.prototype instanceof Ae.ap.StiRoundedRectanglePrimitive||t===Ae.ap.StiRectanglePrimitive||t.prototype instanceof Ae.ap.StiRectanglePrimitive?e=new Ae.aq.StiCrossLinePrimitiveBuilder:t===Ae.ap.StiSubReport||t.prototype instanceof Ae.ap.StiSubReport?e=new Ae.aq.StiSubReportBuilder:t===Ae.ap.StiTextInCells||t.prototype instanceof Ae.ap.StiTextInCells?e=new Ae.aq.StiTextInCellsBuilder:t===Ae.ap.StiSimpleText||t.prototype instanceof Ae.ap.StiSimpleText||t===Ae.be.StiTableCell||t.prototype instanceof Ae.be.StiTableCell?e=new Ae.aq.StiSimpleTextBuilder:t===Ae.ap.StiView||t.prototype instanceof Ae.ap.StiView?e=new Ae.aq.StiViewBuilder:t===Ae.ap.StiBand||t.prototype instanceof Ae.ap.StiBand?e=new Ae.aq.StiBandBuilder:t===Ae.ap.StiContainer||t.prototype instanceof Ae.ap.StiContainer?e=new Ae.aq.StiContainerBuilder:(t===Ae.ap.StiComponent||t.prototype instanceof Ae.ap.StiComponent)&&(e=new Ae.aq.StiComponentBuilder)}this.typeToBuilder.set(t,e)}return e}setReportVariables(t){}prepare(t){}unPrepare(t){}internalRenderAsync(t){return Y.tsfb(this,void 0,void 0,function*(){return null})}internalRender(t){return null}renderAsync(t){return Y.tsfb(this,void 0,void 0,function*(){return null})}render(t){return null}},Es,ks,Ns,Fs,Rs,Ls,Os,Hs,_s,Vs,Gs,Us,js,Ws,qs,zs,Xs,Js,Ys,Qs,Ks,Zs,$s,to,eo,ro,io,no,ao,so,oo,lo,uo,ho,co,mo,po,go,fo,So,bo,yo,vo,wo,Co,To,Po,Io,Ao,xo,W,F,k,l,e,L,B,D,v,b,x,P,p,m,u,wt,yt,pt,dt,ht,ot,rt,tt,Z,ft,V,H,M,q,W,F,k,l,e,L,B,D,v,b,x,P,p,m,u,wt,yt,pt,dt,ht,ot;rt.typeToBuilder=new Dt,Ae.aq.StiBuilder=rt,Ae.ap.IStiTextBrush=new Ae.b.Interface("IStiTextBrush"),Ae.ap.StiComponentHelper=class{static fillComponentPlacement(t){let r=t.parent;while(null!=r&&!r.is(Ae.ap.StiPage)&&(!r.is(Ae.ap.StiBand)||r.isCross))r=r.parent;if(null==r)return;if(r.is(Ae.ap.StiPage)&&(Hd.Export.optimizeDataOnlyMode&&t.is(Ae.ap.StiBand)?r=t.as(Ae.ap.StiContainer):t.componentPlacement="p"),r.is(Ae.ap.StiBand)){if(r.is(Ae.ap.StiChildBand)&&null!=r.parent){let t=r.parent,e=t.components.indexOf(r);if(0<e){while(0<e&&(t.components.getByIndex(e).is(Ae.ap.StiChildBand)||!t.components.getByIndex(e).is(Ae.ap.StiBand)))e--;t.components.getByIndex(e).is(Ae.ap.StiBand)&&(r=t.components.getByIndex(e))}}var e;r.is(Ae.ap.StiReportTitleBand)&&(t.componentPlacement="rt"),r.is(Ae.ap.StiReportSummaryBand)&&(t.componentPlacement="rs"),r.is(Ae.ap.StiPageHeaderBand)&&(t.componentPlacement="ph"),r.is(Ae.ap.StiPageFooterBand)&&(t.componentPlacement="pf"),r.is(Ae.ap.StiHeaderBand)&&(r.printOnAllPages?t.componentPlacement="h.ap":t.componentPlacement="h"),r.is(Ae.ap.StiFooterBand)&&(r.printOnAllPages?t.componentPlacement="f.ap":t.componentPlacement="f"),r.is(Ae.ap.StiDataBand)&&(t.componentPlacement="d"),r.is(Ae.ap.StiGroupHeaderBand)&&(t.componentPlacement="gh",(e=r.as(Ae.ap.StiGroupHeaderBand)).groupHeaderBandInfo.isTableGroupHeader&&(t.componentPlacement=e.printOnAllPages?"h.ap":"h")),r.is(Ae.ap.StiGroupFooterBand)&&(t.componentPlacement="gf"),r.is(Ae.ap.StiEmptyBand)&&(t.componentPlacement="e")}0<t.componentPlacement.length&&(t.parent.isCross?t.componentPlacement+="."+r.name:t.componentPlacement+="."+t.parent.name)}};{let i=class extends J{implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.aZ.StiStyleCondition;t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i;if(null!=e.attributes.getNamedItem("type")){let t=new Ae.aZ.StiStyleCondition;t.loadFromXml(e),this.list.push(t)}}}clone(){let t=new i;for(var e of this.list)t.add(e.clone());return t}add(e){if(e.stimulsoft().is(Ae.aZ.StiStyleCondition))this.list.push(e);else{let t=new Ae.aZ.StiStyleCondition;t.fromElements(e),this.add(t)}}addRange(t){var e,r;for(r of t.stimulsoft().is(i)?t.list:t)this.add(r)}};Ae.aZ.StiStyleConditionsCollection=i}Ae.as.IStiChartStyle=new Ae.b.Interface("IStiChartStyle"),Ae.as.IStiChart=new Ae.b.Interface("IStiChart"),Ae.as.IStiCustomStyle=new Ae.b.Interface("IStiCustomStyle");let Do=Ae.as.IStiChartStyle,Bo=Ae.as.IStiCustomStyle,Eo=Ae.as.IStiChart,ko=Ae.aZ.StiStyleConditionsCollection;{let a=class extends K{constructor(t="",e="",r=null){super(),this._collectionName="",this._conditions=null,this._description="",this._name="",this.report=null,this._name=t,this._description=e,this.report=r}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ui("CollectionName"),new Ma("Conditions"),new Ui("Description"),new Ui("Name","_")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){let t=this.stimulsoft().memberwiseClone();return null!=this.conditions?t.conditions=this.conditions.clone():t.conditions=null,t}equals(e,r=!0,i=!0){if(this.is(Ae.ar.StiStyle)){let t=e.stimulsoft().as(Ae.ar.StiStyle);if(null==t)return!1;var n=this;if(!t.border.equals(n.border))return!1;if(!t.brush.equals(n.brush))return!1;if(!t.font.stimulsoft().equals(n.font))return!1;if(null==t.image&&null!=t.image)return!1;if(null!=t.image&&null==t.image)return!1;if(null!=t.image&&null!=n.image&&!t.image.stimulsoft().equals(n.image))return!1;if(!t.textBrush.equals(n.textBrush))return!1;if(t.collectionName!=n.collectionName)return!1;if(t.conditions!=n.conditions)return!1;if(t.allowUseBorderFormatting!=n.allowUseBorderFormatting)return!1;if(t.allowUseBorderSides!=n.allowUseBorderSides)return!1;if(t.allowUseBorderSidesFromLocation!=n.allowUseBorderSidesFromLocation)return!1;if(t.allowUseBrush!=n.allowUseBrush)return!1;if(t.allowUseFont!=n.allowUseFont)return!1;if(t.allowUseHorAlignment!=n.allowUseHorAlignment)return!1;if(t.allowUseImage!=n.allowUseImage)return!1;if(t.allowUseTextBrush!=n.allowUseTextBrush)return!1;if(t.allowUseVertAlignment!=n.allowUseVertAlignment)return!1;if(t.horAlignment!=n.horAlignment)return!1;if(t.vertAlignment!=n.vertAlignment)return!1;if(r&&t.name!=n.name)return!1;if(i&&t.description!=n.description)return!1;return!0}if(this.is(Ae.ar.StiChartStyle)){let t=e.stimulsoft().as(Ae.ar.StiChartStyle);if(null==t)return!1;var a=this;if(!t.border.equals(a.border))return!1;if(!t.brush.equals(a.brush))return!1;if(!t.basicStyleColor.equals(a.basicStyleColor))return!1;if(t.brushType!=a.brushType)return!1;if(!t.styleColors.stimulsoft().equals(a.styleColors))return!1;if(t.allowUseBorderFormatting!=a.allowUseBorderFormatting)return!1;if(t.allowUseBorderSides!=a.allowUseBorderSides)return!1;if(t.allowUseBrush!=a.allowUseBrush)return!1;if(r&&t.name!=a.name)return!1;if(i&&t.description!=a.description)return!1;return!0}if(this.is(Ae.c.StiIndicatorStyle)){let t=e.stimulsoft().as(Ae.c.StiIndicatorStyle);if(null==t)return!1;var a=this;if(!t.backColor.equals(a.backColor))return!1;if(!t.glyphColor.equals(a.glyphColor))return!1;if(!t.foreColor.equals(a.foreColor))return!1;if(!t.hotBackColor.equals(a.hotBackColor))return!1;if(!t.positiveColor.equals(a.positiveColor))return!1;if(!t.negativeColor.equals(a.negativeColor))return!1;if(r&&t.name!=a.name)return!1;if(i&&t.description!=a.description)return!1;return!0}if(this.is(Ae.c.StiProgressStyle)){let t=e.stimulsoft().as(Ae.c.StiProgressStyle);if(null==t)return!1;var s=this;if(!t.trackColor.equals(s.trackColor))return!1;if(!t.bandColor.equals(s.bandColor))return!1;if(!t.seriesColors.stimulsoft().equals(s.seriesColors))return!1;if(!t.foreColor.equals(s.foreColor))return!1;if(!t.backColor.equals(s.backColor))return!1;if(r&&t.name!=s.name)return!1;if(i&&t.description!=s.description)return!1;return!0}if(this.is(Do)){let t=e.stimulsoft().as(Do);if(null==t)return!1;var s=this;if(t.stimulsoft().is(Bo)&&s.stimulsoft().is(Bo))return t.core.reportStyleName==s.core.reportStyleName;if(t.stimulsoft().is(Bo)||s.stimulsoft().is(Bo))return!1;return Wr.getType(t)==Wr.getType(s)}if(this.is(Ae.ar.StiCrossTabStyle)){let t=e.stimulsoft().as(Ae.ar.StiCrossTabStyle);if(null==t)return!1;var o=this;if(!t.color.equals(o.color))return!1;if(r&&t.name!=o.name)return!1;if(i&&t.description!=o.description)return!1;return!0}if(this.is(Ae.c.StiTableStyle)){let t=e.stimulsoft().as(Ae.c.StiTableStyle);if(null==t)return!1;var o=this;if(!t.headerColor.equals(o.headerColor))return!1;if(!t.headerForeground.equals(o.headerForeground))return!1;if(!t.footerForeground.equals(o.footerForeground))return!1;if(!t.dataColor.equals(o.dataColor))return!1;if(!t.dataForeground.equals(o.dataForeground))return!1;if(!t.gridColor.equals(o.gridColor))return!1;if(r&&t.name!=o.name)return!1;if(i&&t.description!=o.description)return!1;return!0}if(this.is(Ae.c.StiGaugeStyle)){let t=e.stimulsoft().as(Ae.c.StiGaugeStyle);if(null==t)return!1;var l=this;if(!t.brush.equals(l.brush))return!1;if(!t.borderColor.equals(l.borderColor))return!1;if(!t.foreColor.equals(l.foreColor))return!1;if(t.borderWidth!=l.borderWidth)return!1;if(r&&t.name!=l.name)return!1;if(i&&t.description!=l.description)return!1;return!0}if(this.is(Ae.ar.StiMapStyle)){let t=e.stimulsoft().as(Ae.ar.StiMapStyle);if(null==t)return!1;var l=this;if(!t.colors.stimulsoft().equals(l.colors))return!1;if(!t.heatmap.stimulsoft().equals(l.heatmap))return!1;if(!t.heatmapWithGroup.stimulsoft().equals(l.heatmapWithGroup))return!1;if(!t.defaultColor.equals(l.defaultColor))return!1;if(!t.backColor.equals(l.backColor))return!1;if(!t.labelForeground.equals(l.labelForeground))return!1;if(!t.labelShadowForeground.equals(l.labelShadowForeground))return!1;if(t.borderSize!=l.borderSize)return!1;if(!t.borderColor.equals(l.borderColor))return!1;if(!t.bubbleBackColor.equals(l.bubbleBackColor))return!1;if(!t.bubbleBorderColor.equals(l.bubbleBorderColor))return!1;if(r&&t.name!=l.name)return!1;if(i&&t.description!=l.description)return!1;return!0}if(this.is(Ae.ar.StiDialogStyle)){let t=e.stimulsoft().as(Ae.ar.StiDialogStyle);if(null==t)return!1;var e=this;if(!t.foreColor.equals(e.foreColor))return!1;if(!t.backColor.equals(e.backColor))return!1;if(t.allowUseFont!=e.allowUseFont)return!1;if(t.allowUseBackColor!=e.allowUseBackColor)return!1;if(t.allowUseForeColor!=e.allowUseForeColor)return!1;if(r&&t.name!=e.name)return!1;if(i&&t.description!=e.description)return!1;return!0}return!1}static getStyle(t,e,r=null){var i;if(t.is(Eo))return t.style;t.is(Ae.at.StiCrossTab),e&&!e.stimulsoft().is(a)||(r=e,e=Ae.c.StiStyleElements.All);let n=new Ae.ar.StiStyle;return n.getStyleFromComponent(t,e,r),n}getStyleFromComponent(t,e){}setStyleToComponent(t){}getStyleFromComponents(e,r){for(let t=e.count-1;0<=t;t--)this.getStyleFromComponent(e.getByIndex(t),r)}toString(){if(De.isNullOrEmpty(this.description))return this.name;return this.description}get collectionName(){return this._collectionName}set collectionName(t){this._collectionName=t}get conditions(){return null==this._conditions&&(this._conditions=new ko),this._conditions}set conditions(t){this._conditions=t}get description(){return this._description}set description(t){this._description=t}get name(){return this._name}set name(t){if(null!=this.report&&this.report.isDesigning&&De.isNullOrWhiteSpace(t))throw new Error("ArgumentException()");this._name!=t&&null!=this.report&&this.report.renameStyle(this._name,t),this._name=t}get dashboardName(){return null}};Ae.ar.StiBaseStyle=a}Ae.an.StiGetExcelValueEventHandler=new Ha("sender: any, e: StiGetExcelValueEventArgs"),Ae.an.StiGetExcelValueEventArgs=class extends Un{},Ae.bc.StiFormatService=class extends K{constructor(){super(...arguments),this.stringFormat=""}implements(){return[Yt]}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ui("StringFormat")])}static createFromJsonObject(t){let e=Hd.Services.formats,r=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),i=e.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==r).createNew();return i.loadFromJsonObject(t),i}static loadFormatFromXml(e,t){var r=e.attributes.getNamedItem("type");let i=null!=r?r.value:null,n=e.getAttribute("Ref");null==t||null==t.jsonLoaderHelper||De.isNullOrEmpty(n)||De.isNullOrEmpty(i)||(t.jsonLoaderHelper.textFormatTypes[n.stimulsoft().toNumber()]=i);let a=e.getAttribute("isRef");switch(null==t||null==t.jsonLoaderHelper||De.isNullOrEmpty(a)||(i=t.jsonLoaderHelper.textFormatTypes[a.stimulsoft().toNumber()]),i){case"BooleanFormat":{let t=new Ae.bc.StiBooleanFormatService;return t.loadFromXml(e),t}case"CurrencyFormat":{let t=new Ae.bc.StiCurrencyFormatService;return t.loadFromXml(e),t}case"CustomFormat":{let t=new Ae.bc.StiCustomFormatService;return t.loadFromXml(e),t}case"DateFormat":{let t=new Ae.bc.StiDateFormatService;return t.loadFromXml(e),t}case"GeneralFormat":{let t=new Ae.bc.StiGeneralFormatService;return t.loadFromXml(e),t}case"NumberFormat":{let t=new Ae.bc.StiNumberFormatService;return t.loadFromXml(e),t}case"PercentageFormat":{let t=new Ae.bc.StiPercentageFormatService;return t.loadFromXml(e),t}case"TimeFormat":{let t=new Ae.bc.StiTimeFormatService;return t.loadFromXml(e),t}}return null}static loadFromJsonObjectInternal(t){let e=Hd.Services.formats,r=t.properties().firstOrDefault(t=>"Ident"==t.name).value,i=e.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==r).createNew();return i.loadFromJsonObject(t),i}get position(){return 0}get sample(){return{}}get nativeFormatString(){return"{0}"}get isFormatStringFromVariable(){if(this.is(Ae.bc.StiCustomFormatService)&&null!=this.stringFormat){let t=this.stringFormat.trim();return 2<t.length&&t.stimulsoft().startsWith("{")&&t.stimulsoft().endsWith("}")}return!1}format(t){return this.format2(this.stringFormat,t)}format2(t,r){try{if(null==r)return"";if(De.isNullOrEmpty(t)){if("number"==typeof r)return Ne.round2(r,15).toString().replace(".",",").replace(",",xt.currentCulture.numberFormat.numberDecimalSeparator);if(ke.isArray(r))return Ae.av.EngineHelper.toQueryString(r,"",null);return r.toString()}let e=!1;if(r instanceof lt){let t=r;var i=z.today;t.ticks<0&&(t=t.negate(),e=!0),r=i=new z(i.year,i.month,i.day,t.hours,t.minutes,t.seconds,t.milliseconds)}return De.format("{0}{1:"+t+"}",e?"-":"",r)}catch(t){return Ae.b.StiError.showError(t,!1),null==r?"":r.toString()}}createNew(){return null}};{let t=class extends Ae.bc.StiFormatService{get sample(){if(null==this.stringFormat)return"";let t=this.stringFormat.toLowerCase().trim();if("d"==t||"f"==t||"g"==t||t.stimulsoft().startsWith("y"))return Ae.b.DateTime.now;if(t.stimulsoft().startsWith("c")||t.stimulsoft().startsWith("n")||t.stimulsoft().startsWith("#")||t.stimulsoft().startsWith("$"))return 123.45;if(t.stimulsoft().startsWith("(#"))return 1234567890;return""}createNew(){return new t}constructor(t=""){super(),this.stringFormat=t}};Ae.bc.StiCustomFormatService=t}let No=Ae.bk.DBNull;{let t=class extends Ae.bc.StiFormatService{meta(){return this._hash||(this._hash=[...super.meta(),new In("StringFormat","","t")])}get sample(){return z.now}format(t){return this.format2(this.stringFormat,t)}format2(t,e){if(null==e||e.stimulsoft().is(No))return"";var r,r;if(De.isNullOrEmpty(t)&&(t="H:mm:ss"),"string"==typeof e&&(Hd.Engine.allowConvertingInFormatting?null!=(r=Ae.X.StiValueHelper.tryToDateTime(e))&&(e=r):null!=(r=z.fromString(e))&&(e=r)),e instanceof z)return e.toString(t);if(e instanceof lt)return e.toString(t);return e.toString()}createNew(){return new t}constructor(t="t"){super(),this.stringFormat=t}};Ae.bc.StiTimeFormatService=t}{let n=class extends Ae.bc.StiFormatService{constructor(t="d",e=" "){super(),this.nullDisplay=" ",this.stringFormat=t,this.nullDisplay=e}meta(){return this._hash||(this._hash=[...super.meta(),new In("StringFormat","","d"),new In("NullDisplay",""," ")])}get sample(){return z.now}format(t){return this.format2(this.stringFormat,t)}format2(t,e){if(null==e||e.stimulsoft().is(No))return this.nullDisplay;if(De.isNullOrEmpty(t))return e.toString();var r,i;if("string"==typeof e&&(Hd.Engine.allowConvertingInFormatting?null!=(r=Ae.X.StiValueHelper.tryToDateTime(e))&&(e=r):null!=(i=z.fromString(e))&&(e=i)),e instanceof z||e instanceof lt){var i=t.toUpperCase();if("Q"==i||"QI"==i||"YQ"==i||"YQI"==i)return n.formatQuarter(t,e);if(e instanceof z)return e.toString(t);if(e instanceof lt)return e.toString(t)}return e.toString()}static formatQuarter(t,e){if(e instanceof z){var r=e;if("Q"==t)return Ae.I.Funcs.quarterName(r);if("QI"==t)return Ae.I.Funcs.quarterIndex(r).toString();if("YQ"==t)return De.format("{0}-{1}",r.year,Ae.I.Funcs.quarterName(r));if("YQI"==t)return De.format("{0}-{1}",r.year,Ae.I.Funcs.quarterIndex(r))}return e.ToString()}createNew(){return new n}};Ae.bc.StiDateFormatService=n}(ot=Es=Ae.ap.StiTextFormatState||(Ae.ap.StiTextFormatState={}))[ot["None"]=0]="None",ot[ot["DecimalDigits"]=1]="DecimalDigits",ot[ot["DecimalSeparator"]=2]="DecimalSeparator",ot[ot["GroupSeparator"]=4]="GroupSeparator",ot[ot["GroupSize"]=8]="GroupSize",ot[ot["PositivePattern"]=16]="PositivePattern",ot[ot["NegativePattern"]=32]="NegativePattern",ot[ot["CurrencySymbol"]=64]="CurrencySymbol",ot[ot["PercentageSymbol"]=128]="PercentageSymbol",ot[ot["Abbreviation"]=256]="Abbreviation",ot[ot["NegativeInRed"]=512]="NegativeInRed",(ht=ks=Ae.ap.StiIconSet||(Ae.ap.StiIconSet={}))[ht["None"]=0]="None",ht[ht["Full"]=1]="Full",ht[ht["ArrowsColored3"]=2]="ArrowsColored3",ht[ht["ArrowsColored4"]=3]="ArrowsColored4",ht[ht["ArrowsColored5"]=4]="ArrowsColored5",ht[ht["ArrowsGray3"]=5]="ArrowsGray3",ht[ht["ArrowsGray4"]=6]="ArrowsGray4",ht[ht["ArrowsGray5"]=7]="ArrowsGray5",ht[ht["Flags3"]=8]="Flags3",ht[ht["Latin4"]=9]="Latin4",ht[ht["Quarters5"]=10]="Quarters5",ht[ht["QuartersGreen5"]=11]="QuartersGreen5",ht[ht["QuartersRed5"]=12]="QuartersRed5",ht[ht["Ratings3"]=13]="Ratings3",ht[ht["Ratings4"]=14]="Ratings4",ht[ht["Ratings5"]=15]="Ratings5",ht[ht["RedToBlack4"]=16]="RedToBlack4",ht[ht["Signs3"]=17]="Signs3",ht[ht["Squares5"]=18]="Squares5",ht[ht["Stars3"]=19]="Stars3",ht[ht["Stars5"]=20]="Stars5",ht[ht["SymbolsCircled3"]=21]="SymbolsCircled3",ht[ht["SymbolsUncircled3"]=22]="SymbolsUncircled3",ht[ht["TrafficLights4"]=23]="TrafficLights4",ht[ht["TrafficLightsRimmed3"]=24]="TrafficLightsRimmed3",ht[ht["TrafficLightsUnrimmed3"]=25]="TrafficLightsUnrimmed3",ht[ht["Triangles3"]=26]="Triangles3",(dt=Ns=Ae.ap.StiIcon||(Ae.ap.StiIcon={}))[dt["None"]=0]="None",dt[dt["ArrowRightDownGray"]=1]="ArrowRightDownGray",dt[dt["ArrowRightUpGray"]=2]="ArrowRightUpGray",dt[dt["ArrowDownGray"]=3]="ArrowDownGray",dt[dt["ArrowRightGray"]=4]="ArrowRightGray",dt[dt["ArrowUpGray"]=5]="ArrowUpGray",dt[dt["ArrowUpGreen"]=6]="ArrowUpGreen",dt[dt["ArrowDownRed"]=7]="ArrowDownRed",dt[dt["ArrowRightYellow"]=8]="ArrowRightYellow",dt[dt["ArrowRightDownYellow"]=9]="ArrowRightDownYellow",dt[dt["ArrowRightUpYellow"]=10]="ArrowRightUpYellow",dt[dt["CheckGreen"]=11]="CheckGreen",dt[dt["CircleBlack"]=12]="CircleBlack",dt[dt["CircleGreen"]=13]="CircleGreen",dt[dt["CircleCheckGreen"]=14]="CircleCheckGreen",dt[dt["CircleRed"]=15]="CircleRed",dt[dt["CircleCrossRed"]=16]="CircleCrossRed",dt[dt["CircleYellow"]=17]="CircleYellow",dt[dt["CircleExclamationYellow"]=18]="CircleExclamationYellow",dt[dt["CrossRed"]=19]="CrossRed",dt[dt["ExclamationYellow"]=20]="ExclamationYellow",dt[dt["FlagGreen"]=21]="FlagGreen",dt[dt["FlagRed"]=22]="FlagRed",dt[dt["FlagYellow"]=23]="FlagYellow",dt[dt["FromRedToBlackGray"]=24]="FromRedToBlackGray",dt[dt["FromRedToBlackPink"]=25]="FromRedToBlackPink",dt[dt["FromRedToBlackRed"]=26]="FromRedToBlackRed",dt[dt["Latin1"]=27]="Latin1",dt[dt["Latin2"]=28]="Latin2",dt[dt["Latin3"]=29]="Latin3",dt[dt["Latin4"]=30]="Latin4",dt[dt["LightsGreen"]=31]="LightsGreen",dt[dt["LightsRed"]=32]="LightsRed",dt[dt["LightsYellow"]=33]="LightsYellow",dt[dt["MinusYellow"]=34]="MinusYellow",dt[dt["QuarterFull"]=35]="QuarterFull",dt[dt["QuarterFullGreen"]=36]="QuarterFullGreen",dt[dt["QuarterFullRed"]=37]="QuarterFullRed",dt[dt["QuarterHalf"]=38]="QuarterHalf",dt[dt["QuarterHalfGreen"]=39]="QuarterHalfGreen",dt[dt["QuarterHalfRed"]=40]="QuarterHalfRed",dt[dt["QuarterNone"]=41]="QuarterNone",dt[dt["QuarterNoneGreen"]=42]="QuarterNoneGreen",dt[dt["QuarterNoneRed"]=43]="QuarterNoneRed",dt[dt["QuarterQuarter"]=44]="QuarterQuarter",dt[dt["QuarterQuarterGreen"]=45]="QuarterQuarterGreen",dt[dt["QuarterQuarterRed"]=46]="QuarterQuarterRed",dt[dt["QuarterThreeFourth"]=47]="QuarterThreeFourth",dt[dt["QuarterThreeFourthGreen"]=48]="QuarterThreeFourthGreen",dt[dt["QuarterThreeFourthRed"]=49]="QuarterThreeFourthRed",dt[dt["Rating0"]=50]="Rating0",dt[dt["Rating1"]=51]="Rating1",dt[dt["Rating2"]=52]="Rating2",dt[dt["Rating3"]=53]="Rating3",dt[dt["Rating4"]=54]="Rating4",dt[dt["RhombRed"]=55]="RhombRed",dt[dt["Square0"]=56]="Square0",dt[dt["Square1"]=57]="Square1",dt[dt["Square2"]=58]="Square2",dt[dt["Square3"]=59]="Square3",dt[dt["Square4"]=60]="Square4",dt[dt["StarFull"]=61]="StarFull",dt[dt["StarHalf"]=62]="StarHalf",dt[dt["StarNone"]=63]="StarNone",dt[dt["StarQuarter"]=64]="StarQuarter",dt[dt["StarThreeFourth"]=65]="StarThreeFourth",dt[dt["TriangleGreen"]=66]="TriangleGreen",dt[dt["TriangleRed"]=67]="TriangleRed",dt[dt["TriangleYellow"]=68]="TriangleYellow",(pt=Fs=Ae.ap.StiIconSetOperation||(Ae.ap.StiIconSetOperation={}))[pt["MoreThan"]=0]="MoreThan",pt[pt["MoreThanOrEqual"]=1]="MoreThanOrEqual",(yt=Rs=Ae.ap.StiIconSetValueType||(Ae.ap.StiIconSetValueType={}))[yt["Value"]=0]="Value",yt[yt["Percent"]=1]="Percent",(wt=Ls=Ae.ap.StiProcessAt||(Ae.ap.StiProcessAt={}))[wt["None"]=0]="None",wt[wt["EndOfReport"]=1]="EndOfReport",wt[wt["EndOfPage"]=2]="EndOfPage",(u=Os=Ae.ap.StiMinimumType||(Ae.ap.StiMinimumType={}))[u["Auto"]=0]="Auto",u[u["Value"]=1]="Value",u[u["Percent"]=2]="Percent",u[u["Minimum"]=3]="Minimum",(m=Hs=Ae.ap.StiMidType||(Ae.ap.StiMidType={}))[m["Auto"]=0]="Auto",m[m["Value"]=1]="Value",m[m["Percent"]=2]="Percent",(p=_s=Ae.ap.StiMaximumType||(Ae.ap.StiMaximumType={}))[p["Auto"]=0]="Auto",p[p["Value"]=1]="Value",p[p["Percent"]=2]="Percent",p[p["Maximum"]=3]="Maximum",(P=Vs=Ae.ap.StiDrillDownMode||(Ae.ap.StiDrillDownMode={}))[P["SinglePage"]=0]="SinglePage",P[P["MultiPage"]=1]="MultiPage",(x=Gs=Ae.ap.StiConditionBorderSides||(Ae.ap.StiConditionBorderSides={}))[x["None"]=0]="None",x[x["All"]=15]="All",x[x["Top"]=1]="Top",x[x["Left"]=2]="Left",x[x["Right"]=4]="Right",x[x["Bottom"]=8]="Bottom",x[x["NotAssigned"]=16]="NotAssigned",(b=Us=Ae.ap.StiConditionPermissions||(Ae.ap.StiConditionPermissions={}))[b["None"]=0]="None",b[b["Font"]=1]="Font",b[b["FontSize"]=2]="FontSize",b[b["FontStyleBold"]=4]="FontStyleBold",b[b["FontStyleItalic"]=8]="FontStyleItalic",b[b["FontStyleUnderline"]=16]="FontStyleUnderline",b[b["FontStyleStrikeout"]=32]="FontStyleStrikeout",b[b["TextColor"]=64]="TextColor",b[b["BackColor"]=128]="BackColor",b[b["Borders"]=256]="Borders",b[b["All"]=511]="All",(v=js=Ae.ap.StiQuickInfoType||(Ae.ap.StiQuickInfoType={}))[v["None"]=0]="None",v[v["ShowComponentsNames"]=1]="ShowComponentsNames",v[v["ShowAliases"]=2]="ShowAliases",v[v["ShowFieldsOnly"]=3]="ShowFieldsOnly",v[v["ShowFields"]=4]="ShowFields",v[v["ShowEvents"]=5]="ShowEvents",v[v["ShowContent"]=6]="ShowContent",(D=Ws=Ae.ap.StiAngle||(Ae.ap.StiAngle={}))[D["Angle0"]=0]="Angle0",D[D["Angle90"]=90]="Angle90",D[D["Angle180"]=180]="Angle180",D[D["Angle270"]=270]="Angle270",(B=qs=Ae.ap.StiDockStyle||(Ae.ap.StiDockStyle={}))[B["Left"]=0]="Left",B[B["Right"]=1]="Right",B[B["Top"]=2]="Top",B[B["Bottom"]=3]="Bottom",B[B["None"]=4]="None",B[B["Fill"]=5]="Fill",(L=zs=Ae.ap.StiFilterCondition||(Ae.ap.StiFilterCondition={}))[L["EqualTo"]=0]="EqualTo",L[L["NotEqualTo"]=1]="NotEqualTo",L[L["GreaterThan"]=2]="GreaterThan",L[L["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",L[L["LessThan"]=4]="LessThan",L[L["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",L[L["Between"]=6]="Between",L[L["NotBetween"]=7]="NotBetween",L[L["Containing"]=8]="Containing",L[L["NotContaining"]=9]="NotContaining",L[L["BeginningWith"]=10]="BeginningWith",L[L["EndingWith"]=11]="EndingWith",L[L["IsNull"]=12]="IsNull",L[L["IsNotNull"]=13]="IsNotNull",(e=Xs=Ae.ap.StiFilterItem||(Ae.ap.StiFilterItem={}))[e["Argument"]=0]="Argument",e[e["Value"]=1]="Value",e[e["ValueEnd"]=2]="ValueEnd",e[e["Expression"]=3]="Expression",e[e["ValueOpen"]=4]="ValueOpen",e[e["ValueClose"]=5]="ValueClose",e[e["ValueLow"]=6]="ValueLow",e[e["ValueHigh"]=7]="ValueHigh",(l=Js=Ae.ap.StiFilterDataType||(Ae.ap.StiFilterDataType={}))[l["String"]=0]="String",l[l["Numeric"]=1]="Numeric",l[l["DateTime"]=2]="DateTime",l[l["Boolean"]=3]="Boolean",l[l["Expression"]=4]="Expression",(k=Ys=Ae.ap.StiFilterMode||(Ae.ap.StiFilterMode={}))[k["And"]=0]="And",k[k["Or"]=1]="Or",(F=Qs=Ae.ap.StiFilterEngine||(Ae.ap.StiFilterEngine={}))[F["ReportEngine"]=0]="ReportEngine",F[F["SQLQuery"]=1]="SQLQuery",(W=Ks=Ae.ap.StiKeepDetails||(Ae.ap.StiKeepDetails={}))[W["None"]=0]="None",W[W["KeepFirstRowTogether"]=1]="KeepFirstRowTogether",W[W["KeepFirstDetailTogether"]=2]="KeepFirstDetailTogether",W[W["KeepDetailsTogether"]=3]="KeepDetailsTogether",(q=Zs=Ae.ap.StiPrintOnType||(Ae.ap.StiPrintOnType={}))[q["AllPages"]=0]="AllPages",q[q["ExceptFirstPage"]=1]="ExceptFirstPage",q[q["ExceptLastPage"]=2]="ExceptLastPage",q[q["ExceptFirstAndLastPage"]=3]="ExceptFirstAndLastPage",q[q["OnlyFirstPage"]=4]="OnlyFirstPage",q[q["OnlyLastPage"]=8]="OnlyLastPage",q[q["OnlyFirstAndLastPage"]=12]="OnlyFirstAndLastPage",(M=$s=Ae.ap.StiPrintOnEvenOddPagesType||(Ae.ap.StiPrintOnEvenOddPagesType={}))[M["Ignore"]=0]="Ignore",M[M["PrintOnEvenPages"]=1]="PrintOnEvenPages",M[M["PrintOnOddPages"]=2]="PrintOnOddPages",(H=to=Ae.ap.StiShiftMode||(Ae.ap.StiShiftMode={}))[H["None"]=0]="None",H[H["IncreasingSize"]=1]="IncreasingSize",H[H["DecreasingSize"]=2]="DecreasingSize",H[H["OnlyInWidthOfComponent"]=4]="OnlyInWidthOfComponent",(V=eo=Ae.ap.StiAnchorMode||(Ae.ap.StiAnchorMode={}))[V["Top"]=1]="Top",V[V["Bottom"]=2]="Bottom",V[V["Left"]=4]="Left",V[V["Right"]=8]="Right",(ft=ro=Ae.ap.StiProcessingDuplicatesType||(Ae.ap.StiProcessingDuplicatesType={}))[ft["None"]=0]="None",ft[ft["Merge"]=1]="Merge",ft[ft["Hide"]=2]="Hide",ft[ft["RemoveText"]=3]="RemoveText",ft[ft["BasedOnTagMerge"]=4]="BasedOnTagMerge",ft[ft["BasedOnTagHide"]=5]="BasedOnTagHide",ft[ft["BasedOnTagRemoveText"]=6]="BasedOnTagRemoveText",ft[ft["GlobalMerge"]=7]="GlobalMerge",ft[ft["GlobalHide"]=8]="GlobalHide",ft[ft["GlobalRemoveText"]=9]="GlobalRemoveText",ft[ft["BasedOnValueRemoveText"]=10]="BasedOnValueRemoveText",ft[ft["BasedOnValueAndTagMerge"]=11]="BasedOnValueAndTagMerge",ft[ft["BasedOnValueAndTagHide"]=12]="BasedOnValueAndTagHide",ft[ft["GlobalBasedOnValueRemoveText"]=13]="GlobalBasedOnValueRemoveText",ft[ft["GlobalBasedOnValueAndTagMerge"]=14]="GlobalBasedOnValueAndTagMerge",ft[ft["GlobalBasedOnValueAndTagHide"]=15]="GlobalBasedOnValueAndTagHide",(Z=io=Ae.ap.StiImageProcessingDuplicatesType||(Ae.ap.StiImageProcessingDuplicatesType={}))[Z["None"]=0]="None",Z[Z["Merge"]=1]="Merge",Z[Z["Hide"]=2]="Hide",Z[Z["RemoveImage"]=3]="RemoveImage",Z[Z["GlobalMerge"]=4]="GlobalMerge",Z[Z["GlobalHide"]=5]="GlobalHide",Z[Z["GlobalRemoveImage"]=6]="GlobalRemoveImage",(tt=no=Ae.ap.StiCheckStyle||(Ae.ap.StiCheckStyle={}))[tt["Cross"]=0]="Cross",tt[tt["Check"]=1]="Check",tt[tt["CrossRectangle"]=2]="CrossRectangle",tt[tt["CheckRectangle"]=3]="CheckRectangle",tt[tt["CrossCircle"]=4]="CrossCircle",tt[tt["DotCircle"]=5]="DotCircle",tt[tt["DotRectangle"]=6]="DotRectangle",tt[tt["NoneCircle"]=7]="NoneCircle",tt[tt["NoneRectangle"]=8]="NoneRectangle",tt[tt["None"]=9]="None",(rt=ao=Ae.ap.StiToolboxCategory||(Ae.ap.StiToolboxCategory={}))[rt["Bands"]=0]="Bands",rt[rt["Cross"]=1]="Cross",rt[rt["Components"]=2]="Components",rt[rt["Shapes"]=3]="Shapes",rt[rt["Controls"]=4]="Controls",rt[rt["Dashboards"]=5]="Dashboards",(ot=so=Ae.ap.StiComponentToolboxPosition||(Ae.ap.StiComponentToolboxPosition={}))[ot["Component"]=0]="Component",ot[ot["ReportTitleBand"]=1]="ReportTitleBand",ot[ot["ReportSummaryBand"]=2]="ReportSummaryBand",ot[ot["PageHeaderBand"]=3]="PageHeaderBand",ot[ot["PageFooterBand"]=4]="PageFooterBand",ot[ot["GroupHeaderBand"]=5]="GroupHeaderBand",ot[ot["GroupFooterBand"]=6]="GroupFooterBand",ot[ot["HeaderBand"]=7]="HeaderBand",ot[ot["FooterBand"]=8]="FooterBand",ot[ot["ColumnHeaderBand"]=9]="ColumnHeaderBand",ot[ot["ColumnFooterBand"]=10]="ColumnFooterBand",ot[ot["DataBand"]=11]="DataBand",ot[ot["HierarchicalBand"]=13]="HierarchicalBand",ot[ot["ChildBand"]=14]="ChildBand",ot[ot["EmptyBand"]=15]="EmptyBand",ot[ot["OverlayBand"]=16]="OverlayBand",ot[ot["CrossGroupHeaderBand"]=21]="CrossGroupHeaderBand",ot[ot["CrossGroupFooterBand"]=22]="CrossGroupFooterBand",ot[ot["CrossHeaderBand"]=23]="CrossHeaderBand",ot[ot["CrossFooterBand"]=24]="CrossFooterBand",ot[ot["CrossDataBand"]=25]="CrossDataBand",ot[ot["Text"]=101]="Text",ot[ot["TextInCells"]=102]="TextInCells",ot[ot["SystemText"]=103]="SystemText",ot[ot["ContourText"]=104]="ContourText",ot[ot["RichText"]=105]="RichText",ot[ot["Image"]=106]="Image",ot[ot["BarCode"]=107]="BarCode",ot[ot["Shape"]=108]="Shape",ot[ot["Line"]=109]="Line",ot[ot["Container"]=110]="Container",ot[ot["Panel"]=110]="Panel",ot[ot["Clone"]=112]="Clone",ot[ot["CheckBox"]=113]="CheckBox",ot[ot["SubReport"]=114]="SubReport",ot[ot["WinControl"]=115]="WinControl",ot[ot["ZipCode"]=116]="ZipCode",ot[ot["TableOfContents"]=117]="TableOfContents",ot[ot["HorizontalLinePrimitive"]=150]="HorizontalLinePrimitive",ot[ot["VerticalLinePrimitive"]=151]="VerticalLinePrimitive",ot[ot["RectanglePrimitive"]=152]="RectanglePrimitive",ot[ot["RoundedRectanglePrimitive"]=153]="RoundedRectanglePrimitive",ot[ot["Chart"]=200]="Chart",ot[ot["Table"]=201]="Table",ot[ot["CrossTab"]=202]="CrossTab",ot[ot["Map"]=210]="Map",ot[ot["Sparkline"]=225]="Sparkline",ot[ot["Gauge"]=220]="Gauge",ot[ot["TableElement"]=301]="TableElement",ot[ot["ChartElement"]=302]="ChartElement",ot[ot["ComboBoxElement"]=400]="ComboBoxElement",ot[ot["GaugeElement"]=303]="GaugeElement",ot[ot["PivotTableElement"]=304]="PivotTableElement",ot[ot["IndicatorElement"]=305]="IndicatorElement",ot[ot["ProgressElement"]=306]="ProgressElement",ot[ot["RegionMapElement"]=307]="RegionMapElement",ot[ot["ListBoxElement"]=308]="ListBoxElement",ot[ot["OnlineMapElement"]=309]="OnlineMapElement",ot[ot["ImageElement"]=310]="ImageElement",ot[ot["TextElement"]=311]="TextElement",ot[ot["PanelElement"]=312]="PanelElement",ot[ot["ShapeElement"]=313]="ShapeElement",ot[ot["TreeViewElement"]=314]="TreeViewElement",ot[ot["TreeViewBoxElement"]=315]="TreeViewBoxElement",ot[ot["DatePickerElement"]=316]="DatePickerElement",ot[ot["CardsElement"]=317]="CardsElement",ot[ot["UserCode"]=1e3]="UserCode",(ht=oo=Ae.ap.StiComponentPriority||(Ae.ap.StiComponentPriority={}))[ht["Component"]=0]="Component",ht[ht["CrossTab"]=1500]="CrossTab",ht[ht["SubReportsV1"]=1500]="SubReportsV1",ht[ht["SubReportsV2"]=0]="SubReportsV2",ht[ht["Container"]=0]="Container",ht[ht["Panel"]=0]="Panel",ht[ht["ReportTitleBandBefore"]=-400]="ReportTitleBandBefore",ht[ht["ReportTitleBandAfterV1"]=-200]="ReportTitleBandAfterV1",ht[ht["ReportTitleBandAfterV2"]=200]="ReportTitleBandAfterV2",ht[ht["ReportSummaryBand"]=500]="ReportSummaryBand",ht[ht["PageHeaderBandBefore"]=-200]="PageHeaderBandBefore",ht[ht["PageHeaderBandAfter"]=-400]="PageHeaderBandAfter",ht[ht["PageFooterBandBottom"]=-300]="PageFooterBandBottom",ht[ht["PageFooterBandTop"]=1e3]="PageFooterBandTop",ht[ht["GroupHeaderBand"]=300]="GroupHeaderBand",ht[ht["GroupFooterBand"]=300]="GroupFooterBand",ht[ht["HeaderBand"]=300]="HeaderBand",ht[ht["FooterBand"]=300]="FooterBand",ht[ht["ColumnHeaderBand"]=300]="ColumnHeaderBand",ht[ht["ColumnFooterBand"]=300]="ColumnFooterBand",ht[ht["DataBand"]=300]="DataBand",ht[ht["Table"]=300]="Table",ht[ht["ChildBand"]=300]="ChildBand",ht[ht["EmptyBand"]=300]="EmptyBand",ht[ht["TableOfContents"]=300]="TableOfContents",ht[ht["OverlayBand"]=700]="OverlayBand",ht[ht["Primitive"]=1500]="Primitive",ht[ht["CrossGroupHeaderBand"]=300]="CrossGroupHeaderBand",ht[ht["CrossGroupFooterBand"]=300]="CrossGroupFooterBand",ht[ht["CrossHeaderBand"]=300]="CrossHeaderBand",ht[ht["CrossFooterBand"]=300]="CrossFooterBand",ht[ht["CrossDataBand"]=300]="CrossDataBand",(dt=lo=Ae.ap.StiComponentType||(Ae.ap.StiComponentType={}))[dt["Simple"]=0]="Simple",dt[dt["Master"]=1]="Master",dt[dt["Detail"]=2]="Detail",dt[dt["Static"]=3]="Static",(pt=uo=Ae.ap.StiRestrictions||(Ae.ap.StiRestrictions={}))[pt["None"]=0]="None",pt[pt["AllowMove"]=1]="AllowMove",pt[pt["AllowResize"]=2]="AllowResize",pt[pt["AllowSelect"]=4]="AllowSelect",pt[pt["AllowChange"]=8]="AllowChange",pt[pt["AllowDelete"]=16]="AllowDelete",pt[pt["All"]=31]="All",(yt=ho=Ae.ap.StiHighlightState||(Ae.ap.StiHighlightState={}))[yt["Hide"]=0]="Hide",yt[yt["Show"]=1]="Show",yt[yt["Active"]=2]="Active",(wt=co=Ae.ap.StiAligning||(Ae.ap.StiAligning={}))[wt["Left"]=0]="Left",wt[wt["Center"]=1]="Center",wt[wt["Right"]=2]="Right",wt[wt["Top"]=3]="Top",wt[wt["Middle"]=4]="Middle",wt[wt["Bottom"]=5]="Bottom",(u=mo=Ae.ap.StiColumnDirection||(Ae.ap.StiColumnDirection={}))[u["DownThenAcross"]=0]="DownThenAcross",u[u["AcrossThenDown"]=1]="AcrossThenDown",(m=po=Ae.ap.StiEmptySizeMode||(Ae.ap.StiEmptySizeMode={}))[m["IncreaseLastRow"]=0]="IncreaseLastRow",m[m["DecreaseLastRow"]=1]="DecreaseLastRow",m[m["AlignFooterToBottom"]=2]="AlignFooterToBottom",m[m["AlignFooterToTop"]=3]="AlignFooterToTop",(p=go=Ae.ap.StiGroupSortDirection||(Ae.ap.StiGroupSortDirection={}))[p["Ascending"]=0]="Ascending",p[p["Descending"]=1]="Descending",p[p["None"]=2]="None",(P=fo=Ae.ap.StiGroupSummaryType||(Ae.ap.StiGroupSummaryType={}))[P["Avg"]=0]="Avg",P[P["AvgDate"]=1]="AvgDate",P[P["AvgTime"]=2]="AvgTime",P[P["Count"]=3]="Count",P[P["CountDistinct"]=4]="CountDistinct",P[P["MaxDate"]=5]="MaxDate",P[P["MaxTime"]=6]="MaxTime",P[P["Max"]=7]="Max",P[P["MinDate"]=8]="MinDate",P[P["MinTime"]=9]="MinTime",P[P["Min"]=10]="Min",P[P["Median"]=11]="Median",P[P["Mode"]=12]="Mode",P[P["Sum"]=13]="Sum",P[P["SumTime"]=14]="SumTime",(x=So=Ae.ap.StiPageOrientation||(Ae.ap.StiPageOrientation={}))[x["Portrait"]=0]="Portrait",x[x["Landscape"]=1]="Landscape",(b=bo=Ae.ap.StiTextQuality||(Ae.ap.StiTextQuality={}))[b["Standard"]=0]="Standard",b[b["Typographic"]=1]="Typographic",b[b["Wysiwyg"]=2]="Wysiwyg",(v=yo=Ae.ap.StiSystemTextType||(Ae.ap.StiSystemTextType={}))[v["Totals"]=0]="Totals",v[v["SystemVariables"]=1]="SystemVariables",v[v["Expression"]=2]="Expression",v[v["DataColumn"]=3]="DataColumn",v[v["None"]=4]="None",(D=vo=Ae.ap.StiBrushType||(Ae.ap.StiBrushType={}))[D["Solid"]=0]="Solid",D[D["Gradient"]=1]="Gradient",(B=wo=Ae.ap.StiColorScaleType||(Ae.ap.StiColorScaleType={}))[B["Color2"]=0]="Color2",B[B["Color3"]=1]="Color3",(L=Co=Ae.ap.StiDataBarDirection||(Ae.ap.StiDataBarDirection={}))[L["Default"]=0]="Default",L[L["LeftToRight"]=1]="LeftToRight",L[L["RighToLeft"]=2]="RighToLeft",(e=To=Ae.ap.StiInteractionSortDirection||(Ae.ap.StiInteractionSortDirection={}))[e["Ascending"]=0]="Ascending",e[e["Descending"]=1]="Descending",e[e["None"]=2]="None",(l=Po=Ae.ap.StiImageRotation||(Ae.ap.StiImageRotation={}))[l["None"]=0]="None",l[l["Rotate90CW"]=1]="Rotate90CW",l[l["Rotate90CCW"]=2]="Rotate90CCW",l[l["Rotate180"]=3]="Rotate180",l[l["FlipHorizontal"]=4]="FlipHorizontal",l[l["FlipVertical"]=5]="FlipVertical",(k=Io=Ae.ap.StiDashboardViewMode||(Ae.ap.StiDashboardViewMode={}))[k["Desktop"]=0]="Desktop",k[k["Mobile"]=1]="Mobile",(F=Ao=Ae.ap.StiSurfaceViewMode||(Ae.ap.StiSurfaceViewMode={}))[F["Desktop"]=0]="Desktop",F[F["Mobile"]=1]="Mobile",(W=xo=Ae.ap.StiSparklineType||(Ae.ap.StiSparklineType={}))[W["Line"]=0]="Line",W[W["Area"]=1]="Area",W[W["Column"]=2]="Column",W[W["WinLoss"]=3]="WinLoss";let Fo=Ae.ap.StiTextFormatState;{let e=class{constructor(t,e,r,i,n,a,s,o,l){this.negativePattern=t,this.decimalSeparator=e,this.decimalDigits=r,this.groupSeparator=i,this.groupSize=n,this.useGroupSeparator=a,this.useLocalSetting=s,this.nullDisplay=o,this.states=l}implements(){return[Jt]}clone(){return new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.states)}},t=class extends Ae.bc.StiFormatService{constructor(t=null,e=0,r=null,i=null,n=null,a=null,s=!0,o=!0,l=" ",u=null){super(),null==t&&(t=xt.currentCulture.numberFormat.numberNegativePattern),null==r&&(r=xt.currentCulture.numberFormat.numberDecimalSeparator),null==i&&(i=xt.currentCulture.numberFormat.numberDecimalDigits),null==n&&(n=xt.currentCulture.numberFormat.numberGroupSeparator),null==a&&(a=xt.currentCulture.numberFormat.numberGroupSizes[0]),null==u&&(u=Fo.None),this.decimalDigits=i,this.decimalSeparator=r,this.groupSeparator=n,this.groupSize=a,this.negativePattern=t,this.useGroupSeparator=s,this.useLocalSetting=o,this.nullDisplay=l,this.state=u}meta(){return this._hash||(this._hash=[...super.meta(),new gs("StringFormat"),new ji("NegativePattern"),new In("DecimalSeparator","","."),new ji("DecimalDigits","",2),new In("GroupSeparator"),new ji("GroupSize","",3),new Wi("UseGroupSeparator","",!0),new Wi("UseLocalSetting","",!0),new In("NullDisplay",""," "),new In("State","","None").get(()=>Zt.getName(Fo,this.state)).set(t=>this.state=Zt.parse(Fo,t.value)).setXml(t=>this.state=Zt.parse(Fo,t.textContent))])}clone(){let t=super.clone();return null!=this.bits&&(t.bits=this.bits.clone()),t}get nullDisplay(){return null==this.bits?" ":this.bits.nullDisplay}set nullDisplay(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,t,this.state)}get negativePattern(){return null==this.bits?1:this.bits.negativePattern}set negativePattern(t){if(1==t&&null==this.bits)return;null!=this.bits?this.bits.negativePattern=t:this.bits=new e(t,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)}get decimalSeparator(){return null==this.bits?".":this.bits.decimalSeparator}set decimalSeparator(t){if("."==t&&null==this.bits)return;null!=this.bits?this.bits.decimalSeparator=t:this.bits=new e(this.negativePattern,t,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)}get decimalDigits(){return null==this.bits?2:this.bits.decimalDigits}set decimalDigits(t){if(2==t&&null==this.bits)return;null!=this.bits?this.bits.decimalDigits=t:this.bits=new e(this.negativePattern,this.decimalSeparator,t,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)}get groupSeparator(){return null==this.bits?" ":this.bits.groupSeparator}set groupSeparator(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.groupSeparator=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,t,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)}get groupSize(){return null==this.bits?3:this.bits.groupSize}set groupSize(t){if(3==t&&null==this.bits)return;9<t&&(t=9),null!=this.bits?this.bits.groupSize=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,t,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)}get useGroupSeparator(){return null==this.bits||null==this.bits.useGroupSeparator||this.bits.useGroupSeparator}set useGroupSeparator(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useGroupSeparator=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,t,this.useLocalSetting,this.nullDisplay,this.state)}get useLocalSetting(){return null==this.bits||null==this.bits.useLocalSetting||this.bits.useLocalSetting}set useLocalSetting(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useLocalSetting=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,t,this.nullDisplay,this.state)}get totalNumberCapacity(){return this._totalNumberCapacity}set totalNumberCapacity(t){this._totalNumberCapacity=t}get sample(){return-1234.123456789}get nativeFormatString(){return"{0:N2}"}equals(t){var e;if(null==t)return!1;if(this.nullDisplay!=t.nullDisplay)return!1;if(this.negativePattern!=t.negativePattern)return!1;if(this.decimalDigits!=t.decimalDigits)return!1;if(this.decimalSeparator!=t.decimalSeparator)return!1;if(this.groupSeparator!=t.groupSeparator)return!1;if(this.groupSize!=t.groupSize)return!1;if(this.useGroupSeparator!=t.useGroupSeparator)return!1;if(this.useLocalSetting!=t.useLocalSetting)return!1;if(this.stringFormat!=t.stringFormat)return!1;return!0}get state(){return null==this.bits?Fo.None:this.bits.states}set state(t){if(t==Fo.None&&null==this.bits)return;null!=this.bits?this.bits.states=t:this.bits=new e(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,t)}fillLocalSetting(t){t.numberDecimalDigits=xt.currentCulture.numberFormat.numberDecimalDigits,t.numberDecimalSeparator=xt.currentCulture.numberFormat.numberDecimalSeparator,t.numberGroupSeparator=xt.currentCulture.numberFormat.numberGroupSeparator,t.numberGroupSizes=xt.currentCulture.numberFormat.numberGroupSizes,t.numberNegativePattern=xt.currentCulture.numberFormat.numberNegativePattern,t.currencyDecimalDigits=xt.currentCulture.numberFormat.currencyDecimalDigits,t.currencyDecimalSeparator=xt.currentCulture.numberFormat.currencyDecimalSeparator,t.currencyGroupSeparator=xt.currentCulture.numberFormat.currencyGroupSeparator,t.currencyGroupSizes=xt.currentCulture.numberFormat.currencyGroupSizes,t.currencyNegativePattern=xt.currentCulture.numberFormat.currencyNegativePattern,t.currencyPositivePattern=xt.currentCulture.numberFormat.currencyPositivePattern,t.currencySymbol=xt.currentCulture.numberFormat.currencySymbol,t.percentDecimalDigits=xt.currentCulture.numberFormat.percentDecimalDigits,t.percentDecimalSeparator=xt.currentCulture.numberFormat.percentDecimalSeparator,t.percentGroupSeparator=xt.currentCulture.numberFormat.percentGroupSeparator,t.percentGroupSizes=xt.currentCulture.numberFormat.percentGroupSizes,t.percentNegativePattern=xt.currentCulture.numberFormat.percentNegativePattern,t.percentPositivePattern=xt.currentCulture.numberFormat.percentPositivePattern,t.percentSymbol=xt.currentCulture.numberFormat.percentSymbol,t.perMilleSymbol=xt.currentCulture.numberFormat.perMilleSymbol,t.positiveInfinitySymbol=xt.currentCulture.numberFormat.positiveInfinitySymbol,t.positiveSign=xt.currentCulture.numberFormat.positiveSign,t.NaNSymbol=xt.currentCulture.numberFormat.NaNSymbol,t.negativeInfinitySymbol=xt.currentCulture.numberFormat.negativeInfinitySymbol,t.negativeSign=xt.currentCulture.numberFormat.negativeSign}format(t){return this.format2(this.stringFormat,t)}format2(t,e){if(null==e)return this.nullDisplay;{let t=new ea;if(this.useLocalSetting?(this.fillLocalSetting(t),0<(this.state&Fo.DecimalDigits)&&(t.numberDecimalDigits=this.decimalDigits),0<(this.state&Fo.DecimalSeparator)&&!De.isNullOrEmpty(this.decimalSeparator)&&(t.numberDecimalSeparator=this.decimalSeparator),0<(this.state&Fo.GroupSeparator)&&!De.isNullOrEmpty(this.groupSeparator)&&(t.numberGroupSeparator=this.groupSeparator),0<(this.state&Fo.GroupSize)&&(t.numberGroupSizes=[this.groupSize]),0<(this.state&Fo.NegativePattern)&&(t.numberNegativePattern=this.negativePattern)):(De.isNullOrEmpty(this.decimalSeparator)?t.numberDecimalSeparator=xt.currentCulture.numberFormat.numberDecimalSeparator:t.numberDecimalSeparator=this.decimalSeparator,t.numberDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(t.numberGroupSeparator=this.groupSeparator),t.numberGroupSizes=[this.groupSize],t.numberNegativePattern=this.negativePattern),this.useGroupSeparator||(t.numberGroupSeparator=""),0<(this.state&Fo.Abbreviation)){let t=Ae.X.StiValueHelper.tryToNullableNumber(e);if(null!=t){var r=0<(this.state&Fo.DecimalDigits)?this.decimalDigits:0,i={ref:""},n;return t=Ae.c.StiAbbreviationNumberFormatHelper.format3(t,i,r,this.totalNumberCapacity),`${t.toFixed(r)}${i.ref}`}}return this.formatStr(t,e)}}formatStr(e,r){let t=0;try{t=r.toString().stimulsoft().toNumber()}catch(t){return r.toString()}if(isNaN(t))return r.toString();let i="";var n=Ne.round2(t,e.numberDecimalDigits)<0,a=Math.abs(t),r;let s=Math.floor(a),o=0;0==e.numberDecimalDigits?s=Math.round(Math.abs(t)):(r=Math.pow(10,e.numberDecimalDigits),o=Ne.round2(Ne.round2(Ne.round2(a-s,e.numberDecimalDigits+1),e.numberDecimalDigits)*r),o>=r&&(s++,o=0));let l=s.toString();if(0<e.numberGroupSizes[0]&&this.useGroupSeparator){let t=l.length-e.numberGroupSizes[0];while(0<=t)i=(0<t?e.numberGroupSeparator:"")+l.substr(t,e.numberGroupSizes[0])+i,t-=e.numberGroupSizes[0];t<0&&(i=l.substring(0,t+e.numberGroupSizes[0])+i)}else i=l;if(0<e.numberDecimalDigits){l=o.toString();while(l.length<e.numberDecimalDigits)l="0"+l;i+=e.numberDecimalSeparator+l}if(n)switch(e.numberNegativePattern){case 0:i="("+i+")";break;case 2:i=e.negativeSign+" "+i;break;case 3:i+=e.negativeSign;break;case 4:i=i+" "+e.negativeSign;break;default:i=e.negativeSign+i;break}return i}createNew(){return new t}};Ae.bc.StiNumberFormatService=t}{let t=class extends Ae.bc.StiNumberFormatService{constructor(t=xt.currentCulture.numberFormat.currencyPositivePattern,e=xt.currentCulture.numberFormat.currencyNegativePattern,r=0,i=xt.currentCulture.numberFormat.currencyDecimalSeparator,n=xt.currentCulture.numberFormat.currencyDecimalDigits,a=xt.currentCulture.numberFormat.currencyGroupSeparator,s=xt.currentCulture.numberFormat.currencyGroupSizes[0],o="$",l=!0,u=!0,h=" ",c=Ae.ap.StiTextFormatState.None){super(),this.positivePattern=1,this.symbol="$",this.decimalDigits=n,this.decimalSeparator=i,this.groupSeparator=a,this.groupSize=s,this.negativePattern=e,this.positivePattern=t,this.symbol=o,this.useGroupSeparator=l,this.useLocalSetting=u,this.nullDisplay=h,this.state=c}meta(){return this._hash||(this._hash=[...super.meta(),new gs("StringFormat"),new ji("PositivePattern"),new In("Symbol","","$")])}get nativeFormatString(){return"{0:C2}"}get sample(){return-1234.12345679}equals(t){var t=t;if(null==t)return!1;if(!super.equals(t))return!1;if(this.positivePattern!=t.positivePattern)return!1;if(this.symbol!=t.symbol)return!1;return!0}format(t){return this.format2(this.stringFormat,t)}format2(t,r){if(null==r)return this.nullDisplay;if(null==r||r.stimulsoft().is(No))return this.nullDisplay;{let e=new ea;if(this.useLocalSetting?(this.fillLocalSetting(e),0<(this.state&Ae.ap.StiTextFormatState.DecimalDigits)&&(e.currencyDecimalDigits=this.decimalDigits),0<(this.state&Ae.ap.StiTextFormatState.DecimalSeparator)&&!De.isNullOrEmpty(this.decimalSeparator)&&(e.currencyDecimalSeparator=this.decimalSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSeparator)&&!De.isNullOrEmpty(this.groupSeparator)&&(e.currencyGroupSeparator=this.groupSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSize)&&(e.currencyGroupSizes=[this.groupSize]),0<(this.state&Ae.ap.StiTextFormatState.NegativePattern)&&(e.currencyNegativePattern=this.negativePattern),0<(this.state&Ae.ap.StiTextFormatState.PositivePattern)&&(e.currencyPositivePattern=this.positivePattern),0<(this.state&Ae.ap.StiTextFormatState.CurrencySymbol)&&(e.currencySymbol=this.symbol)):(De.isNullOrEmpty(this.decimalSeparator)?e.currencyDecimalSeparator=xt.currentCulture.numberFormat.currencyDecimalSeparator:e.currencyDecimalSeparator=this.decimalSeparator,e.currencyDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(e.currencyGroupSeparator=this.groupSeparator),e.currencyGroupSizes=[this.groupSize],e.currencyPositivePattern=this.positivePattern,e.currencyNegativePattern=this.negativePattern,null!=this.symbol&&(e.currencySymbol=this.symbol)),this.useGroupSeparator||(e.currencyGroupSeparator=""),0<(this.state&Ae.ap.StiTextFormatState.Abbreviation)){let t=Ae.X.StiValueHelper.tryToNullableNumber(r);if(null!=t){this.useLocalSetting&&(0<(this.state&Ae.ap.StiTextFormatState.DecimalDigits)&&(e.numberDecimalDigits=this.decimalDigits),0<(this.state&Ae.ap.StiTextFormatState.DecimalSeparator)&&!De.isNullOrEmpty(this.decimalSeparator)&&(e.numberDecimalSeparator=this.decimalSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSeparator)&&!De.isNullOrEmpty(this.groupSeparator)&&(e.numberGroupSeparator=this.groupSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSize)&&(e.numberGroupSizes=[this.groupSize]));var i={ref:""};t=Ae.c.StiAbbreviationNumberFormatHelper.format3(t,i,e.numberDecimalDigits,this.totalNumberCapacity);var n,n=`${n=t.toFixed(e.numberDecimalDigits)}${i.ref}`;return this.formatAsCurrency(t,n)}}return this.formatStr(e,r)}}formatAsCurrency(t,e){var r=this.getCurrencySymbol();if(0<=t){let t=this.getPositivePattern();return t.stimulsoft().replaceAll("n",e).stimulsoft().replaceAll("$",r)}{e=e.stimulsoft().replaceAll("-","");let t=this.getNegativePattern();return t.stimulsoft().replaceAll("n",e).stimulsoft().replaceAll("$",r)}}getCurrencySymbol(){return this.useLocalSetting&&0==(this.state&Ae.ap.StiTextFormatState.CurrencySymbol)?xt.currentCulture.numberFormat.currencySymbol:this.symbol}getPositivePattern(){var t=this.useLocalSetting&&0==(this.state&Ae.ap.StiTextFormatState.PositivePattern)?xt.currentCulture.numberFormat.currencyPositivePattern:this.positivePattern,e=["$n","n$","$ n","n $"];return 0<=t&&t<e.length?e[t]:"$n"}getNegativePattern(){var t=this.useLocalSetting&&0==(this.state&Ae.ap.StiTextFormatState.NegativePattern)?xt.currentCulture.numberFormat.currencyNegativePattern:this.negativePattern,e=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];return 0<=t&&t<e.length?e[t]:"($n)"}formatStr(e,r){let t=0;try{t=r.toString().stimulsoft().toNumber()}catch(t){return r.toString()}if(isNaN(t))return r.toString();let i="";var n=Math.abs(t),a=Ne.round2(t,e.currencyDecimalDigits)<0,r;let s=Math.floor(n),o=0;0==e.currencyDecimalDigits?s=Math.round(Math.abs(t)):(r=Math.pow(10,e.currencyDecimalDigits),o=Ne.round2(Ne.round2(Ne.round2(n-s,e.currencyDecimalDigits+1),e.currencyDecimalDigits)*r),o>=r&&(s++,o=0));let l=s.toString();if(0<e.currencyGroupSizes[0]&&this.useGroupSeparator){let t=l.length-e.currencyGroupSizes[0];while(0<=t)i=(0<t?e.currencyGroupSeparator:"")+l.substr(t,e.currencyGroupSizes[0])+i,t-=e.currencyGroupSizes[0];t<0&&(i=l.substring(0,t+e.currencyGroupSizes[0])+i)}else i=l;if(0<e.currencyDecimalDigits){l=o.toString();while(l.length<e.currencyDecimalDigits)l="0"+l;i+=e.currencyDecimalSeparator+l}if(a)switch(e.currencyNegativePattern){case 0:i="("+e.currencySymbol+i+")";break;case 1:i="-"+e.currencySymbol+i;break;case 2:i=e.currencySymbol+"-"+i;break;case 3:i=e.currencySymbol+i+"-";break;case 4:i="("+i+e.currencySymbol+")";break;case 6:i=i+"-"+e.currencySymbol;break;case 7:i=i+e.currencySymbol+"-";break;case 8:i="-"+i+" "+e.currencySymbol;break;case 9:i=i+" "+e.currencySymbol+"-";break;case 10:i=e.currencySymbol+" "+i+"-";break;case 11:i=e.currencySymbol+" "+"-"+i;break;case 12:i=i+"- "+e.currencySymbol;break;case 13:i="("+e.currencySymbol+" "+i+")";break;case 14:i="("+i+" "+e.currencySymbol+")";break;case 15:i="("+e.currencySymbol+" "+i+")";break;case 16:i="("+i+" "+e.currencySymbol+")";break;default:i="-"+i+e.currencySymbol;break}else switch(e.currencyPositivePattern){case 0:i=e.currencySymbol+i;break;case 1:i+=e.currencySymbol;break;case 2:i=e.currencySymbol+" "+i;break;case 3:i=i+" "+e.currencySymbol;break}return i}createNew(){return new t}};Ae.bc.StiCurrencyFormatService=t}{let t=class extends Ae.bc.StiCurrencyFormatService{meta(){return this._hash||(this._hash=[...super.meta(),new gs("StringFormat")])}format(t){return this.format2(this.stringFormat,t)}format2(t,e){if(null==e||e.stimulsoft().is(No))return this.nullDisplay;{let t=new ea;return this.useLocalSetting?(this.fillLocalSetting(t),0<(this.state&Ae.ap.StiTextFormatState.DecimalDigits)&&(t.percentDecimalDigits=this.decimalDigits),0<(this.state&Ae.ap.StiTextFormatState.DecimalSeparator)&&!De.isNullOrEmpty(this.decimalSeparator)&&(t.percentDecimalSeparator=this.decimalSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSeparator)&&!De.isNullOrEmpty(this.groupSeparator)&&(t.percentGroupSeparator=this.groupSeparator),0<(this.state&Ae.ap.StiTextFormatState.GroupSize)&&(t.percentGroupSizes=[this.groupSize]),0<(this.state&Ae.ap.StiTextFormatState.NegativePattern)&&(t.percentNegativePattern=this.negativePattern),0<(this.state&Ae.ap.StiTextFormatState.PositivePattern)&&(t.percentPositivePattern=this.positivePattern),0<(this.state&Ae.ap.StiTextFormatState.PercentageSymbol)&&(t.percentSymbol=this.symbol)):(De.isNullOrEmpty(this.decimalSeparator)?t.percentDecimalSeparator=xt.currentCulture.numberFormat.percentDecimalSeparator:t.percentDecimalSeparator=this.decimalSeparator,t.percentDecimalDigits=this.decimalDigits,t.percentGroupSeparator=this.groupSeparator,t.percentGroupSizes=[this.groupSize],t.percentPositivePattern=this.positivePattern,t.percentNegativePattern=this.negativePattern,t.percentSymbol=this.symbol),this.useGroupSeparator||(t.percentGroupSeparator=""),this.formatStr(t,e)}}formatStr(e,r){let t=0;try{t=r.toString().stimulsoft().toNumber()}catch(t){return r.toString()}if(isNaN(t))return r.toString();let i="";t*=100;var n=Ne.round2(t,e.percentDecimalDigits)<0,a=Math.abs(t),r;let s=Math.floor(a),o=0;0==e.percentDecimalDigits?s=Math.round(Math.abs(t)):(r=Math.pow(10,e.percentDecimalDigits),o=Ne.round2(Ne.round2(Ne.round2(a-s,e.percentDecimalDigits+1),e.percentDecimalDigits)*r),o>=r&&(s++,o=0));let l=s.toString();if(0<e.percentGroupSizes[0]&&this.useGroupSeparator){let t=l.length-e.percentGroupSizes[0];while(0<=t)i=(0<t?e.percentGroupSeparator:"")+l.substr(t,e.percentGroupSizes[0])+i,t-=e.percentGroupSizes[0];t<0&&(i=l.substring(0,t+e.percentGroupSizes[0])+i)}else i=l;if(0<e.percentDecimalDigits){l=o.toString();while(l.length<e.percentDecimalDigits)l="0"+l;i+=e.percentDecimalSeparator+l}if(n)switch(e.percentNegativePattern){case 0:i="-"+i+" "+e.percentSymbol;break;case 2:i="-"+e.percentSymbol+i;break;default:i="-"+i+e.percentSymbol;break}else switch(e.percentPositivePattern){case 0:i=i+" "+e.percentSymbol;break;case 2:i=e.percentSymbol+i;break;default:i+=e.percentSymbol;break}return i}createNew(){return new t}constructor(t=xt.currentCulture.numberFormat.percentPositivePattern,e=xt.currentCulture.numberFormat.percentNegativePattern,r=0,i=xt.currentCulture.numberFormat.percentDecimalSeparator,n=xt.currentCulture.numberFormat.percentDecimalDigits,a=xt.currentCulture.numberFormat.percentGroupSeparator,s=xt.currentCulture.numberFormat.percentGroupSizes[0],o=xt.currentCulture.numberFormat.percentSymbol,l=!0,u=!0,h=" ",c=Ae.ap.StiTextFormatState.None){super(),this.decimalDigits=n,this.decimalSeparator=i,this.groupSeparator=a,this.groupSize=s,this.negativePattern=e,this.positivePattern=t,this.symbol=o,this.useGroupSeparator=l,this.useLocalSetting=u,this.nullDisplay=h,this.state=c}};Ae.bc.StiPercentageFormatService=t}{let t=class extends Ae.bc.StiFormatService{constructor(){super(),this.stringFormat=""}meta(){return this._hash||(this._hash=[...super.meta(),new gs("StringFormat")])}get sample(){return""}equals(t){var e;if(null==t)return!1;return!0}createNew(){return new t}};t.default=new t,Ae.bc.StiGeneralFormatService=t}Ae.an.StiGetValueEvent=class extends Ae.an.StiEvent{toString(){return"GetValue"}},Ae.an.StiGetValueEventHandler=new Ha("sender: any, e: StiGetValueEventArgs"),Ae.an.StiGetValueEventArgs=class extends Un{constructor(){super(...arguments),this.value=null}},Ae.ap.IStiEditable=new Ae.b.Interface("IStiEditable"),Ae.ap.IStiText=new Ae.b.Interface("IStiText");let Ro=Ae.an.StiGetValueEventHandler,Lo=Ae.an.StiGetValueEvent,Mo=Ae.ap.IStiEditable,Oo=Ae.an.StiGetValueEventArgs,Ho=Ae.bc.StiCurrencyFormatService;{let d=class extends Ae.ap.StiComponent{constructor(t=os.empty,e=!1){super(),this.linesOfUnderline=Jr.None,this.hideZeros=!1,this.editable=!1,this.text="",this._totalValueHelp=null,e||this.construct(t)}implements(){return d.ImplementsStiSimpleText||(d.ImplementsStiSimpleText=super.implements().concat([Ae.ap.IStiText,Mo,Yt])),d.ImplementsStiSimpleText}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("GlobalizedName"),new Gi("LinesOfUnderline","",Jr,Jr.None),new Wi("HideZeros"),new Gi("ProcessingDuplicates","",Ae.ap.StiProcessingDuplicatesType,Ae.ap.StiProcessingDuplicatesType.None),new ji("MaxNumberOfLines"),new Wi("OnlyText"),new Wi("Editable"),new Wi("ProcessAtEnd"),new Gi("ProcessAt","",Ae.ap.StiProcessAt,Ae.ap.StiProcessAt.None),new Ga("Text"),new Ua("GetValueEvent",Lo),new Ui("TotalValueHelp","_")])}get globalizedName(){return this.properties.get(d.propertyGlobalizedName,"")}set globalizedName(t){this.properties.set(d.propertyGlobalizedName,t,"")}clone(t=!0,e=!0,r=!0){let i=super.clone(t,e,r);return null!=this.text?i.text=this.text:i.text=null,i}memberwiseClone(t=!0){let e=super.memberwiseClone(t);return e.editable=this.editable,e.hideZeros=this.hideZeros,e.linesOfUnderline=this.linesOfUnderline,e.text=this.text,e._textValue=this._textValue,e._totalValueHelp=this._totalValueHelp,e}getTextWithoutZero(e){if(!this.hideZeros)return e;if("0"==e)return this.canShrink?"":" ";if(null==e||0==e.trim().length)return e;let r=e.trim();try{if(-1!=De.indexOfAny(r,["1","2","3","4","5","6","7","8","9"]))return e;if(-1==r.indexOf("0"))return e;let t="$";var i;if(this.is(Ae.ap.StiText)&&this.textFormat.is(Ho)&&(t=this.textFormat.symbol),r.stimulsoft().startsWith(t)&&(r=r.substr(t.length)),r.stimulsoft().endsWith(t)&&(r=r.substr(0,r.length-t.length)),0==r.stimulsoft().toNumber(!1))return this.canShrink?"":" "}catch(t){Ae.b.StiError.showError(t.message,!1),r=r.stimulsoft().replaceAll("%","");var n=r.stimulsoft().toNumber(!1);if(null!=n&&0==n)return this.canShrink?"":" "}return e}setText(r=null,i=null){var n=null,t,a;if(null!=this.text){let t=this.name;null!=n&&(t+="Excel");let e=this.report.totals.get(t);if(null!=e&&0<e.length){for(var s of e){let e=s.pageIndex;if(null!=this.report.engine&&(this.report.engine.indexPageForPageTotal=e-1),e--,this.report.renderedPages.cacheMode&&e<this.report.renderedPages.count){let t=this.report.renderedPages.getByIndex(e);if(this.report.renderedPages.getPage(this.page),this.report.renderedPages.isNotSavedPage(this.page)){this.setTextTo(s.textBox,s,r,i);continue}for(a of t.getComponents().list){var o=a.as(d);null!=o&&a.name==this.name&&null==o.totalValueHelp&&this.setTextTo(a,s,r,i)}this.report.renderedPages.markPageAsNotSaved(t)}else this.setTextTo(s.textBox,s,r,i)}e.stimulsoft().clear()}else null!=i&&(this.text=i)}null==n&&(this._textValue=this.processText(this.getTextWithoutZero(this.text)))}setTextTo(i,n,t,a){let s=i.as(Ae.ap.IStiText);if(null!=s){i.totalValueHelp="1";var o=this.report.pageNumber;let t=new Ae.c.StiRuntimeVariables(this.report);n.setVariables(this.report);let r="",e=!0;if(null!=this.report&&(e=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),null!=a)this.text=a;else if(!e)try{let t=i.as(Ae.ap.StiText);var l=null!=t&&null!=t.excelValue&&0<t.excelValue.length;let e=t.text;this.report.totals.contains("#%#"+i.name)&&(e=this.report.totals.get("#%#"+i.name));var u,h={ref:!1},c=Ae.bb.StiParser.parseTextValue(e,this,t,h,!0),u=h.ref;r=null!=t&&null!=t.format&&"G"!=t.format?l?t.textFormat.format(c):t.textFormat.format(this.report.checkExcelValue(i,c)):this.report.toString3(i,c,!l)}catch(t){Ae.b.StiError.showError(De.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t.message),!1);var l=De.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t);Ae.c.StiLogService.write(this.stimulsoft().getType(),l),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}if(t.setVariables(this.report),this.report.pageNumber=o,!e){let t=new Oo;t.value=r,s.invokeGetValue(s,t),(t.storeToPrinted&&De.isNullOrEmpty(t.value)||t.value.stimulsoft().startsWith("#%#"))&&(t.value=r);var o=new ns(t.value);this.invokeTextProcess(i,o);var o=this.processText(this.getTextWithoutZero(o.value));s.setTextInternal(o)}}}get linesOfUnderlining(){return this.linesOfUnderline!=Jr.None}set linesOfUnderlining(t){this.linesOfUnderline=t?Jr.Solid:Jr.None}get mergeDuplicates(){return this.processingDuplicates==Ae.ap.StiProcessingDuplicatesType.Merge}set mergeDuplicates(t){this.processingDuplicates=Ae.ap.StiProcessingDuplicatesType.Merge}get processingDuplicates(){return this.properties.get(d.propertyProcessingDuplicates,Ae.ap.StiProcessingDuplicatesType.None)}set processingDuplicates(t){this.properties.set(d.propertyProcessingDuplicates,t,Ae.ap.StiProcessingDuplicatesType.None)}get maxNumberOfLines(){return this.properties.getNumber(d.propertyMaxNumberOfLines,0)}set maxNumberOfLines(t){this.properties.setNumber(d.propertyMaxNumberOfLines,t,0)}processText(t){return t}get onlyText(){return this.properties.getBool(d.propertyOnlyText,!1)}set onlyText(t){this.properties.setBool(d.propertyOnlyText,t,!1)}get processAtEnd(){return this.processAt==Ae.ap.StiProcessAt.EndOfReport}set processAtEnd(t){this.processAt=t?Ae.ap.StiProcessAt.EndOfReport:Ae.ap.StiProcessAt.None}get processAt(){return this.properties.get(d.propertyProcessAt,Ae.ap.StiProcessAt.None)}set processAt(t){this.properties.set(d.propertyProcessAt,t,Ae.ap.StiProcessAt.None)}invokeRenderTo(t){}getTextInternal(){return this.text}setTextInternal(t){this.text=t}get textValue(){return this._textValue}set textValue(t){this._textValue!=t&&(this._textValue=t)}onGetValue(t){}invokeGetValue(a,s){try{if(this.onGetValue(s),this.report.calculationMode==Ae.c.StiCalculationMode.Interpretation){let e=a,r=null!=e&&!De.isNullOrEmpty(e.excelValue),i=!1,n=null;var o=a.as(Ae.ap.StiRichText),l;if(null!=o)o.onlyText?n=Ae.ap.StiRichText.notSupportedText:null==this.report.engine||null!=(l=this.report.engine.parserConversionStore.get("*StiRichTextExpression*"+a.name))&&(n=l);else if(e.onlyText)n=e.text;else{var u=this.as(Ae.ap.StiText),h;if(null==u||u.type!=Ae.ap.StiSystemTextType.DataColumn||De.isNullOrEmpty(u.nullValue)){var c={ref:i};n=Ae.bb.StiParser.parseTextValue(e.text,e,null,c,!1),i=c.ref}else{let t=e.text;t.stimulsoft().startsWith("{")&&t.stimulsoft().endsWith("}")&&2<t.length&&(t=t.substr(1,t.length-2),Ae.c.StiNullValuesHelper.isNull(this.report,t)?n=u.nullValue:(h={ref:i},n=Ae.bb.StiParser.parseTextValue(e.text,e,null,h,!1),i=h.ref))}}if(i){s.storeToPrinted=!0,n="#%#"+e.text;let t=e.text;null!=t&&t.stimulsoft().startsWith("#%#")||(n="#%#"+t),r=!0}null!=e&&null!=e.format&&"G"!=e.format?r?s.value=e.textFormat.format2(e.textFormat.stringFormat,n):s.value=e.textFormat.format2(e.textFormat.stringFormat,this.report.checkExcelValue(a,n)):s.value=this.report.toString3(a,n,!r)}let t=this.events.get(d.eventGetValue);if(null!=t)try{t(a,s)}catch(s){}ja.invokeBlockly(this.report,a,this.getValueEvent,s)}catch(t){var a=De.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t.message);Ae.b.StiError.showError(a,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),a),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),this.report.writeToReportRenderingMessages(a)}}checkDuplicates(t,e){try{var r=t,i=this.processingDuplicates,n,a;i!=Ae.ap.StiProcessingDuplicatesType.BasedOnValueAndTagMerge&&i!=Ae.ap.StiProcessingDuplicatesType.BasedOnValueAndTagHide&&i!=Ae.ap.StiProcessingDuplicatesType.BasedOnValueRemoveText||(n=i==Ae.ap.StiProcessingDuplicatesType.BasedOnValueAndTagMerge||i==Ae.ap.StiProcessingDuplicatesType.BasedOnValueAndTagHide?Ae.b.Convert.toString(r.tagValue):null,this.report.engine.checkForDuplicate(this.name,e.value,n)&&(e.value="")),i!=Ae.ap.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge&&i!=Ae.ap.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide&&i!=Ae.ap.StiProcessingDuplicatesType.GlobalBasedOnValueRemoveText||(a=i==Ae.ap.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge||i==Ae.ap.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide?Ae.b.Convert.toString(r.tagValue):null,this.report.engine.checkForDuplicate(De.format("{0}_{1}",this.left,this.width),e.value,a)&&(e.value=""))}catch(e){}}get getValueEvent(){return new Lo(this)}set getValueEvent(t){t.set(this,t.script),this.events.set(d.eventGetValue,Ro.create(t.script,this.report))}onTextProcess(t){}invokeTextProcess(e,r){try{this.onTextProcess(r);let t=!0;if(null!=this.report&&(t=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),t){let t=this.events.get(d.eventTextProcess);if(null!=t)try{t(e,r)}catch(r){}}else{let t=this.events.get(d.eventTextProcess);if(null!=t)try{t(e,r)}catch(r){}var i;null==this.report||null==this.report.engine||null!=(i=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name))&&(this.report.engine.lastInvokeTextProcessValueEventArgsValue=r.value,this.applyConditionsAssignExpression(e,i),this.is(Ae.at.StiCrossCell)&&this.applyConditions(e,i,r))}}catch(t){Ae.b.StiError.showError(t.message,!1),null!=this.report&&this.report.writeToReportRenderingMessages(this.name+" InvokeTextProcess error: "+t.message)}}applyConditionsAssignExpression(e,t){if(null==t)return;for(var r of t){let t=r.key;var r,r;t.canAssignExpression&&null!=t.assignExpression&&0<t.assignExpression.trim().length&&("boolean"==typeof(r=Ae.bb.StiParser.parseTextValue(r.value,this,e))&&r&&(r=Ae.bb.StiParser.parseTextValue("{"+t.assignExpression+"}",this,e),e.textValue=this.report.toString2(r)))}}get totalValueHelp(){return this._totalValueHelp}set totalValueHelp(t){this._totalValueHelp=t}construct(t=os.empty){super.construct(t)}};d.propertyGlobalizedName=Math.random().toString().substr(2),d.propertyProcessingDuplicates=Math.random().toString().substr(2),d.propertyMaxNumberOfLines=Math.random().toString().substr(2),d.propertyOnlyText=Math.random().toString().substr(2),d.propertyProcessAt=Math.random().toString().substr(2),d.eventGetValue={},d.eventTextProcess={},Ae.ap.StiSimpleText=d}Ae.an.StiGetExcelValueEvent=class extends Ae.an.StiEvent{toString(){return"GetExcelValue"}};let _o=Ae.an.StiGetExcelValueEventHandler,Vo=Ae.an.StiGetExcelValueEvent,Go=Ae.S.StiVertAlignment,Uo=Ae.S.StiTextOptions,jo=Ae.bc.StiFormatService,Wo=Ae.bc.StiGeneralFormatService,qo=Ae.bc.StiPercentageFormatService,zo=Ae.bc.StiDateFormatService,Xo=Ae.bc.StiNumberFormatService,Jo=Ae.bc.StiTimeFormatService,Yo=Ae.bc.StiCustomFormatService,Qo=Ae.an.StiGetExcelValueEventArgs,Ko=Ae.S.StiTextRenderer;{let a=class extends Ae.ap.StiSimpleText{constructor(t=os.empty,e=!1){super(),this._horAlignment=Bs.Left,this._vertAlignment=Go.Top,this._font=a.defaultFont,this.border=new Zr,this.brush=new si(Fe.transparent),this.textBrush=new si(Fe.black),this._textFormat=null,this.format="",this.textOptions=new Uo,e||this.construct(t)}implements(){return a.ImplementsStiText||(a.ImplementsStiText=super.implements().concat([Ae.ap.IStiTextOptions,Ae.ap.IStiAutoWidth,Ae.ap.IStiTextHorAlignment,Ae.ap.IStiVertAlignment,Ae.ap.IStiBorder,Ae.ap.IStiFont,Ae.ap.IStiBrush,Ae.ap.IStiTextBrush,Ae.ap.IStiTextFormat,Ae.ap.IStiBreakable,Ae.c.IStiGlobalizationProvider,Mo,Yt,qa])),a.ImplementsStiText}meta(){return this._hash||(this._hash=[...super.meta(),new Ma("Indicator").check(()=>null!=this.indicator).set(t=>this.indicator=Ae.ap.StiIndicator.loadFromJsonObjectInternal(t.value)).setXml(t=>this.indicator=Ae.ap.StiIndicator.loadFromXml(t.textContent)),new Wi("CanBreak"),new Wi("AutoWidth"),new Ui("RenderTo"),new Gi("HorAlignment","",Bs,Bs.Left),new Gi("VertAlignment","",Go,Go.Top),new Ui("Font").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Ui("Border").get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds("Brush"),new ds("TextBrush"),new Ma("TextOptions"),new Ua("GetExcelValueEvent",Vo),new Ui("NullValue"),new Wi("ExportAsImage"),new Gi("TextQuality","",Ae.ap.StiTextQuality,Ae.ap.StiTextQuality.Standard),new Wi("AllowHtmlTags"),new Ma("Margins").get(t=>this.margins.saveToJsonObject(t,0,0,0,0)).set(t=>this.margins.loadFromJsonObject(t.value)).setXml(t=>this.margins=Ae.ap.StiMargins.loadFromXml(t)),new Wi("ShrinkFontToFit"),new ji("ShrinkFontToFitMinimumSize","",1),new ji("LineSpacing","",1),new Ma("TextFormat").check(t=>t==as.Report&&!this.textFormat.is(Ae.bc.StiGeneralFormatService)).set(t=>this.textFormat=jo.createFromJsonObject(t.value)).setXml(t=>this.textFormat=jo.loadFormatFromXml(t,this.report)),new Gi("Type","",Ae.ap.StiSystemTextType,Ae.ap.StiSystemTextType.None).check(t=>t==as.Report),new Ga("ExcelValue").check(t=>t==as.Report),new Ui("Format").check(t=>t!=as.Report),new In("ExcelDataValue").check(t=>t!=as.Report&&null!=this.excelDataValue)])}parseTextFromXml(t){null!=t.attributes.getNamedItem("name")&&(this.name=t.attributes.getNamedItem("name").value),null!=t.attributes.getNamedItem("text")&&(this.text=t.attributes.getNamedItem("text").value),null!=t.attributes.getNamedItem("ha")&&(this.horAlignment=Zt.parse(Bs,t.attributes.getNamedItem("ha").value)),null!=t.attributes.getNamedItem("va")&&(this.vertAlignment=Zt.parse(Go,t.attributes.getNamedItem("va").value)),null!=t.attributes.getNamedItem("tq")&&(this.textQuality=Zt.parse(Ae.ap.StiTextQuality,t.attributes.getNamedItem("tq").value)),null!=t.attributes.getNamedItem("ls")&&(this.lineSpacing=t.attributes.getNamedItem("ls").value.stimulsoft().toNumber()),null!=t.attributes.getNamedItem("ed")&&(this.editable="true"==t.attributes.getNamedItem("ed").value.toLowerCase()),null!=t.attributes.getNamedItem("html")&&(this.allowHtmlTags="true"==t.attributes.getNamedItem("html").value.toLowerCase()),null!=t.attributes.getNamedItem("enabled")&&(this.enabled="true"==t.attributes.getNamedItem("enabled").value.toLowerCase()),null!=t.attributes.getNamedItem("pr")&&(this.printable="true"==t.attributes.getNamedItem("pr").value.toLowerCase()),null!=t.attributes.getNamedItem("lou")&&(this.linesOfUnderlining="true"==t.attributes.getNamedItem("lou").value.toLowerCase()),null!=t.attributes.getNamedItem("lu")&&(this.linesOfUnderline=Zt.parse(Jr,t.attributes.getNamedItem("lu").value)),null!=t.attributes.getNamedItem("guid")&&(this.guid=t.attributes.getNamedItem("guid").value),null!=t.attributes.getNamedItem("tvh")&&(this.totalValueHelp=t.attributes.getNamedItem("tvh").value),null!=t.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=t.attributes.getNamedItem("bookmark").value),null!=t.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=t.attributes.getNamedItem("hyperlink").value),null!=t.attributes.getNamedItem("tag")&&(this.tagValue=t.attributes.getNamedItem("tag").value),null!=t.attributes.getNamedItem("toolTip")&&(this.toolTipValue=t.attributes.getNamedItem("toolTip").value),null!=t.attributes.getNamedItem("excelvalue")&&(this.excelDataValue=t.attributes.getNamedItem("excelvalue").value),null!=t.attributes.getNamedItem("format")&&(this.format=t.attributes.getNamedItem("format").value),null!=t.attributes.getNamedItem("pl")&&(this.componentPlacement=t.attributes.getNamedItem("pl").value),null!=t.attributes.getNamedItem("style")&&(this.componentStyle=t.attributes.getNamedItem("style").value),null!=t.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(t.attributes.getNamedItem("rc").value)),null!=t.attributes.getNamedItem("fn")&&(this.font=Ae.b.Convert.toFont(t.attributes.getNamedItem("fn").value)),null!=t.attributes.getNamedItem("tb")&&(this.textBrush=hi.loadFromXml(t.attributes.getNamedItem("tb").value)),null!=t.attributes.getNamedItem("bh")&&(this.brush=hi.loadFromXml(t.attributes.getNamedItem("bh").value)),null!=t.attributes.getNamedItem("to")&&(this.textOptions=Uo.loadFromXml(t.attributes.getNamedItem("to").value)),null!=t.attributes.getNamedItem("mr")&&(this.margins=Ae.ap.StiMargins.loadFromText(t.attributes.getNamedItem("mr").value)),null!=t.attributes.getNamedItem("indicator")&&(this.indicator=Ae.ap.StiIndicator.loadFromXml(t.attributes.getNamedItem("indicator").value)),null!=t.attributes.getNamedItem("br")&&(this.border=Zr.loadFromXml(t.attributes.getNamedItem("br").value))}get componentId(){return Ae.c.StiComponentId.StiText}getImage(t,e=Ae.c.StiExportFormat.None){return null}isExportAsImage(t){var e=super.isExportAsImage(t),r,i;if(e)return e;if(this.checkAllowHtmlTags()&&!(t==Ae.c.StiExportFormat.Html||t==Ae.c.StiExportFormat.HtmlDiv||t==Ae.c.StiExportFormat.HtmlSpan||t==Ae.c.StiExportFormat.HtmlTable||t==Ae.c.StiExportFormat.Rtf||t==Ae.c.StiExportFormat.RtfTabbedText||t==Ae.c.StiExportFormat.RtfFrame||t==Ae.c.StiExportFormat.RtfWinWord||t==Ae.c.StiExportFormat.RtfTable||t==Ae.c.StiExportFormat.Text||t==Ae.c.StiExportFormat.Pdf||t==Ae.c.StiExportFormat.ImageSvg||t==Ae.c.StiExportFormat.Word2007&&!Hd.Export.Word.renderHtmlTagsAsImage||t==Ae.c.StiExportFormat.Excel2007&&!Hd.Export.Excel.RenderHtmlTagsAsImage))return!0;if(this.linesOfUnderlining&&!(t==Ae.c.StiExportFormat.Dif||t==Ae.c.StiExportFormat.Pdf||t==Ae.c.StiExportFormat.Sylk||t==Ae.c.StiExportFormat.Text))return!0;return this.exportAsImage}setString(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw De.format("Property with name {0}",t);this.hyperlink=e}}getString(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw De.format("Property with name {0}",t)}getAllStrings(){let t=[];return Hd.Engine.Globalization.allowUseText&&t.push("Text"),Hd.Engine.Globalization.allowUseTag&&t.push("Tag"),Hd.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),Hd.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t}get canBreak(){return this.properties.getBool(a.propertyCanBreak,!1)}set canBreak(t){this.properties.setBool(a.propertyCanBreak,t,!1)}break(r,t,e){var i=0;let n=!0;if(null!=this.getTextInternal()&&0<this.getTextInternal().length){let t=this.getTextInternal();var a=this.report.unit.convertRectangleToHInches(this.clientRectangle),a=this.convertTextMargins(a,!1),s;a=this.convertTextBorders(a,!1);let e="";0<=a.height&&(s={ref:t},e=Ae.ap.StiComponentDivider.breakText(null,a,s,this.font,this.textOptions,this.textQuality,this.checkAllowHtmlTags(),this),t=s.ref),this.setTextInternal(e),this.growToHeight||null!=this.getTextInternal()&&0!=this.getTextInternal().length||(n=!1),r.setTextInternal(t)}return e.ref=i,n}get autoWidth(){return this.properties.getBool(a.propertyAutoWidth,!1)}set autoWidth(t){this.properties.setBool(a.propertyAutoWidth,t,!1)}get renderTo(){return this.properties.get(a.propertyRenderTo,"")}set renderTo(t){this.properties.set(a.propertyRenderTo,t,"")}invokeRenderTo(i){if(!i.isPropertyPresent(a.propertyRenderTo))return;let t=i.renderTo;if(0<t.length&&(t=t.trim(),0<t.length)){let r=i.parent.components.getByName(t).as(Ae.ap.StiSimpleText);if(null!=r){let t=i.getTextInternal();null==t&&(t="");var n={ref:t};let e=this.getVisibleTextForRenderTo(i.getPaintRectangle(!0,!1,!0),n,i);t=n.ref,De.isNullOrEmpty(e)&&(e=" "),i.textValue=e,i.setTextInternal(e),r.textValue=t,r.setTextInternal(t),this.invokeRenderTo(r)}}}getVisibleTextForRenderTo(t,e,r){return t=this.convertTextMargins(t,!1),t=this.convertTextBorders(t,!1),Ae.ap.StiComponentDivider.breakText(null,t,e,r.font,r.textOptions,r.textQuality,this.checkAllowHtmlTags(),this)}get horAlignment(){return this._horAlignment}set horAlignment(t){this._horAlignment=t}get vertAlignment(){return this._vertAlignment}set vertAlignment(t){this._vertAlignment=t}get font(){return this._font}set font(t){null==t&&this.isDesigning||(this._font=t)}get textFormat(){if(null==this._textFormat)return Wo.default;return this._textFormat}set textFormat(e){if(e&&e.is(Wo)&&(e=null),this._textFormat!=e)if(null==(this._textFormat=e))this.format="G";else if(e.is(qo)){let t=e;t.useLocalSetting&&t.state==Ae.ap.StiTextFormatState.None?this.format="P":(this.format="P"+t.decimalDigits.toString(),t.useGroupSeparator&&(this.format+="G"),!t.useLocalSetting&&0<t.decimalDigits&&("."==t.decimalSeparator[0]||","==t.decimalSeparator[0])&&(this.format+=t.decimalSeparator[0]))}else if(e.is(Ho)){let t=e;t.useLocalSetting&&t.state==Ae.ap.StiTextFormatState.None?this.format="C":(this.format="C"+t.decimalDigits.toString(),t.useGroupSeparator&&(this.format+="G"),0!=t.negativePattern&&4!=t.negativePattern&&14!=t.negativePattern&&15!=t.negativePattern||(this.format+="("),!t.useLocalSetting&&0<t.decimalDigits&&("."==t.decimalSeparator[0]||","==t.decimalSeparator[0])&&(this.format+=t.decimalSeparator[0]),0==t.positivePattern||2==t.positivePattern?this.format+="+":this.format+="-",this.format+=t.symbol,(!t.useLocalSetting||0<(t.state&Ae.ap.StiTextFormatState.PositivePattern)||0<(t.state&Ae.ap.StiTextFormatState.NegativePattern))&&(this.format+="|"+String.fromCharCode(65+t.positivePattern)+String.fromCharCode(65+t.negativePattern)))}else if(e.is(zo)){var t;this.format="D"+e.stringFormat}else if(e.is(Xo)){let t=e;t.useLocalSetting&&t.state==Ae.ap.StiTextFormatState.None?this.format="N":(this.format="N"+t.decimalDigits.toString(),t.useGroupSeparator&&(this.format+="G"),0==t.negativePattern&&(this.format+="("),!t.useLocalSetting&&0<t.decimalDigits&&("."==t.decimalSeparator[0]||","==t.decimalSeparator[0])&&(this.format+=t.decimalSeparator[0]))}else{var r;e.is2(Jo)?this.format="T"+e.stringFormat:e.is2(Yo)?this.format="U":this.format=""}}clone(t=!0,e=!0,r=!0){let i=super.clone(t,e,r);return null!=this.border?i.border=this.border.clone():i.border=null,null!=this.brush?i.brush=this.brush.clone():i.brush=null,null!=this._textFormat?i._textFormat=this._textFormat.clone(!1,!1):i._textFormat=null,null!=this.textBrush?i.textBrush=this.textBrush.clone():i.textBrush=null,null!=this.textOptions?i.textOptions=this.textOptions.clone():i.textOptions=null,i._horAlignment=this._horAlignment,i._vertAlignment=this._vertAlignment,i}memberwiseClone(t=!0){let e=super.memberwiseClone(t);return e.indicator=this.indicator,e._horAlignment=this._horAlignment,e._vertAlignment=this._vertAlignment,e._font=this._font,e.border=this.border,e.brush=this.brush,e.textBrush=this.textBrush,e._textFormat=this._textFormat,e.format=this.format,e.textOptions=this.textOptions,e.excelDataValue=this.excelDataValue,e}getFonts(){let t=super.getFonts();return t.push(this.font),ke.distinct(t)}convertTextMargins(t,e){var r=this.margins;if(r.isEmpty)return t;t=t.clone();let i=this.page.zoom;var n=r.left,a=r.right,s=r.top,r=r.bottom;return e||(i=1),0!=n&&(t.x+=n*i,t.width-=n*i),0!=s&&(t.y+=s*i,t.height-=s*i),0!=a&&(t.width-=a*i),0!=r&&(t.height-=r*i),t}convertTextBorders(t,e){var r=this.border.getSizeOffset(),e;let i=r,n=r,a=r,s=r,o=this.border.stimulsoft().as($r);return null!=o&&(i=o.leftSide.getSizeOffset(),n=o.rightSide.getSizeOffset(),a=o.topSide.getSizeOffset(),s=o.bottomSide.getSizeOffset()),e&&(e=this.page.zoom,i*=e,n*=e,a*=e,s*=e),(t=t.clone()).x+=i,t.y+=a,t.width-=i+n,t.height-=a+s,t}getTextForPaint(){return this.getTextInternal()}getActualSize(){var a=this.autoWidth,s=this.angle;if((this.canGrow||this.canShrink||a)&&null!=this.page){let e=null;if(Hd.Engine.allowCacheForGetActualSize){let t=this.report;if(null!=t&&null!=t.engine){null==t.engine.hashCheckSize&&(t.engine.hashCheckSize=new Dt);var o=t.engine.hashCheckSize.get(this);if(null!=o)return o;e=t.engine.hashCheckSize}}let t=this.page.unit;var l=t.convertRectangleToHInches(this.clientRectangle),u,o;let r=new ls(l.width,l.height);l=this.convertTextMargins(l,!1),l=this.convertTextBorders(l,!1);let i=ls.empty,n=this.text;Hd.Engine.useNewHtmlEngine&&this.allowHtmlTags?(90==(u=s)||270==u?(i=Ae.ap.StiHtmlTextRender.measureString(this),o=i.width,i.width=i.height,i.height=o):i=Ae.ap.StiHtmlTextRender.measureString(this),this.angle=u):(De.isNullOrEmpty(n)||(n=this.allowHtmlTags?(n=n.split("\r").join("").split("\n").join(""),Ae.ax.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(this,n,1)):n.split("<").join("&lt").split(">").join("&gt")),i=this.is(Ae.at.StiCrossField)?Ko.measureString(1e4,this.font,n):90==s||270==s?Ko.measureString(this.textOptions.wordWrap?l.height:null,this.font,n,0,this.allowHtmlTags):Ko.measureString(this.textOptions.wordWrap?l.width:null,this.font,n,0,this.allowHtmlTags)),this.allowHtmlTags||(i.height=i.height*this.lineSpacing);var l=this.margins;i.width+=l.left+l.right,i.height+=l.top+l.bottom;var l=this.border.size/2,h,c,h,d;i.width+=l+l,i.height+=l+l,a&&(90==s||270==s?r.height=i.height:r.width=i.width),this.canGrow&&(90==s||270==s?i.width>r.width&&(r.width=i.width,0<this.maxNumberOfLines&&(h=this.font.getHeight(),Ne.trunc(r.width/h)>this.maxNumberOfLines&&(r.width=h*this.maxNumberOfLines))):i.height>r.height&&(r.height=i.height,0<this.maxNumberOfLines&&(h=this.font.getHeight(),Ne.trunc(r.height/h)>this.maxNumberOfLines&&(r.height=h*this.maxNumberOfLines)))),this.canShrink&&(90==s||270==s?null==this.getTextInternal()||0==this.getTextInternal().trim().length?r.width=0:r.width=Math.min(i.width,r.width):null==this.getTextInternal()||0==this.getTextInternal().trim().length?r.height=0:r.height=Math.min(i.height,r.height));var s=t.convertSizeFromHInches(r);return null!=e&&e.set(this,s),s}return new ls(this.width,this.height)}prepare(){if(super.prepare(),null!=this.conditions)for(var e of this.conditions.list){let t=e.stimulsoft().as(Ae.ap.IStiIndicatorCondition);null!=t&&t.reset()}}get excelValue(){return this.properties.get("excelValue","")}set excelValue(t){this.properties.set("excelValue",t,"")}invokeEvents(){super.invokeEvents();try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){if(null!=this.events.get(a.eventGetExcelValue)){let t=new Qo;var e;t.value=this.excelDataValue,this.invokeGetExcelValue(this,t),null!=t.value?this.excelDataValue=t.value.toString():this.excelDataValue=null,this.hideZeros&&!De.isNullOrEmpty(this.excelDataValue)&&0==this.excelDataValue.stimulsoft().toNumber()&&(this.excelDataValue=null)}}else{if(null!=this.events.get(a.eventGetExcelValue)){let t=new Qo;var r;t.value=this.excelDataValue,this.invokeGetExcelValue(this,t),this.excelDataValue=t.value,this.hideZeros&&!De.isNullOrEmpty(this.excelDataValue)&&0==this.excelDataValue.stimulsoft().toNumber()&&(this.excelDataValue=null)}if(0<this.excelValue.length){let t=Ae.bb.StiParser.parseTextValue(this.excelValue,this);var i;null!=t?this.excelDataValue=t.toString():this.excelDataValue=null,this.hideZeros&&!De.isNullOrEmpty(this.excelDataValue)&&0==this.excelDataValue.stimulsoft().toNumber()&&(this.excelDataValue=null)}}}catch(t){var n=De.format("Expression in ExcelValue property of '{0}' can't be evaluated! {1}",this.name,t.message);Ae.b.StiError.showError(n,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoEvents...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),this.report.writeToReportRenderingMessages(n)}}onGetExcelValue(t){}invokeGetExcelValue(e,r){try{this.onGetExcelValue(r);let t=this.events.get(a.eventGetExcelValue);null!=t&&t(e),ja.invokeBlockly(this.report,e,this.getExcelValueEvent,r)}catch(r){Ae.b.StiError.showError(r,!1);var e=De.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),r)}}get getExcelValueEvent(){return new Vo(this)}set getExcelValueEvent(t){null!=t&&t.set(this,t.script),this.events.set(a.eventGetExcelValue,_o.create(t.script,this.report))}get nullValue(){return this.properties.get(a.propertyNullValue,"")}set nullValue(t){this.properties.set(a.propertyNullValue,t,"")}get type(){return this.properties.get(a.propertyType,Ae.ap.StiSystemTextType.None)}set type(t){this.properties.set(a.propertyType,t,Ae.ap.StiSystemTextType.None)}get wordWrap(){return this.textOptions.wordWrap}set wordWrap(t){this.textOptions.wordWrap=t}get rightToLeft(){return this.textOptions.rightToLeft}set rightToLeft(t){this.textOptions.rightToLeft=t}get trimming(){return this.textOptions.trimming}set trimming(t){this.textOptions.trimming=t}get angle(){return this.textOptions.angle}set angle(t){this.textOptions.angle=t}get lineSpacing(){return this.properties.getNumber(a.propertyLineSpacing,1)}set lineSpacing(t){0<t&&this.properties.setNumber(a.propertyLineSpacing,t,1)}get exportAsImage(){return this.properties.getBool(a.propertyExportAsImage,!1)}set exportAsImage(t){this.properties.setBool(a.propertyExportAsImage,t,!1)}get textQuality(){if(!Hd.Engine.fullTrust)return Ae.ap.StiTextQuality.Typographic;return this.properties.get(a.propertyTextQuality,Ae.ap.StiTextQuality.Standard)}set textQuality(t){this.properties.set(a.propertyTextQuality,t,Ae.ap.StiTextQuality.Standard)}get allowHtmlTags(){return this.properties.getBool(a.propertyAllowHtmlTags,!1)}set allowHtmlTags(t){this.properties.setBool(a.propertyAllowHtmlTags,t,!1),t&&(this.textQuality=Ae.ap.StiTextQuality.Wysiwyg)}get margins(){return this.properties.get(a.propertyMargins,Ae.ap.StiMargins.empty)}set margins(t){this.properties.set(a.propertyMargins,t,Ae.ap.StiMargins.empty)}get shrinkFontToFit(){return this.properties.getBool(a.propertyShrinkFontToFit,!1)}set shrinkFontToFit(t){this.properties.setBool(a.propertyShrinkFontToFit,t,!1)}get shrinkFontToFitMinimumSize(){return this.properties.getNumber(a.propertyShrinkFontToFitMinimumSize,1)}set shrinkFontToFitMinimumSize(t){1<=t&&this.properties.setNumber(a.propertyShrinkFontToFitMinimumSize,t,1)}createNew(){return new a}checkAllowHtmlTags(){if(!Hd.Engine.fullTrust&&null!=this.report&&!this.report.isSerializing)return!1;return this.allowHtmlTags}getActualFont(t,e=1){let r=this.page.unit.convertRectangleToHInches(this.clientRectangle);r=this.convertTextMargins(r,!1),r=this.convertTextBorders(r,!1),r.width-=this.border.size;var i=this.page.unit.convertToHInches(this.width)-this.margins.left-this.margins.right,n=this.page.unit.convertToHInches(this.height)-this.margins.top-this.margins.bottom,a=this.font;let s=this.font;while(1){var o=ls.empty,o;if(!((o=Ae.ap.StiStandardTextRenderer.measureString(r.width,s,this)).width>i||o.height>n))break;var o=s.size;if(o<=e)break;s=Ae.S.StiFontUtils.changeFontSize(this.font,o-.5),this.font=s}return this.font=a,s}construct(t=os.empty){super.construct(t),this.textQuality=Hd.Engine.defaultTextQualityMode}};a.propertyCanBreak=Math.random().toString().substr(2),a.propertyAutoWidth=Math.random().toString().substr(2),a.propertyRenderTo=Math.random().toString().substr(2),a.defaultFont=new Ar("Arial",8),a.eventGetExcelValue={},a.propertyNullValue=Math.random().toString().substr(2),a.propertyType=Math.random().toString().substr(2),a.propertyLineSpacing=Math.random().toString().substr(2),a.propertyExportAsImage=Math.random().toString().substr(2),a.propertyTextQuality=Math.random().toString().substr(2),a.propertyAllowHtmlTags=Math.random().toString().substr(2),a.propertyMargins=Math.random().toString().substr(2),a.propertyShrinkFontToFit=Math.random().toString().substr(2),a.propertyShrinkFontToFitMinimumSize=Math.random().toString().substr(2),Y.tsfa([Ae.b.enumType(Bs)],a.prototype,"horAlignment",null),Y.tsfa([Ae.b.enumType(Go)],a.prototype,"vertAlignment",null),Ae.ap.StiText=a}Ae.ap.IStiTextHorAlignment=new Ae.b.Interface("IStiTextHorAlignment"),Ae.ap.ImplementsIStiTextHorAlignment=[],Ae.ap.IStiVertAlignment=new Ae.b.Interface("IStiVertAlignment"),Ae.ap.ImplementsIStiVertAlignment=[],Ae.ap.IStiCrossTabField=new Ae.b.Interface("IStiCrossTabField");let Zo=Ae.ap.StiConditionPermissions,$o=Ae.ap.StiText,tl=Ae.ap.StiRestrictions,el=Ae.ap.IStiBorder,rl=Ae.ap.IStiBrush,il=Ae.ap.IStiFont,nl=Ae.ap.IStiTextBrush,al=Ae.ap.IStiTextHorAlignment,sl=Ae.ap.IStiVertAlignment,ol=Ae.ap.IStiCrossTabField;{let t=class extends $o{constructor(){super(new os(0,0,1,1)),this.processCellEvent=new Ae.at.StiProcessCellEvent,this.mergeHeaders=!0,this.conditionPermissions=Zo.None,this.newGuid(),this.border.side=Xr.All,this.vertAlignment=Go.Center,this.horAlignment=Bs.Center,this.restrictions=Ae.ap.StiRestrictions.None|Ae.ap.StiRestrictions.AllowMove|Ae.ap.StiRestrictions.AllowResize|Ae.ap.StiRestrictions.AllowSelect|Ae.ap.StiRestrictions.AllowChange}implements(){return t.ImplementsStiCrossField||(t.ImplementsStiCrossField=super.implements().concat([al,sl,el,il,rl,nl,ol,Yt])),t.ImplementsStiCrossField}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("HorAlignment","",Bs,Bs.Center),new Gi("VertAlignment","",Go,Go.Center),new gs("ExcelValue"),new gs("PrintOn"),new gs("ExportAsImage"),new gs("ShrinkFontToFit"),new gs("ShrinkFontToFitMinimumSize"),new gs("Locked"),new gs("Linked"),new gs("CanBreak"),new gs("WYSIWYG"),new gs("Editable"),new gs("GlobalizedName"),new gs("LinesOfUnderline"),new gs("ProcessingDuplicates"),new gs("OnlyText"),new gs("ProcessAtEnd"),new gs("ProcessAt"),new gs("MaxNumberOfLines"),new gs("DockStyle"),new gs("GrowToHeight"),new gs("ShiftMode"),new gs("Left"),new gs("Top"),new gs("Width"),new gs("Height"),new gs("CanShrink"),new gs("CanGrow"),new gs("AutoWidth"),new gs("Printable"),new gs("Bookmark"),new gs("GetBookmarkEvent"),new Ua("ProcessCellEvent",Ae.at.StiProcessCellEvent),new Wi("MergeHeaders","",!0)])}loadFromXml(t){let e=t.getAttribute("Ref");!De.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft().toNumber()]=t.nodeName),Ii.loadFromXml(t,this)}get defaultHorAlignment(){return Bs.Center}get locked(){return this.isDesigning&&!this.report.isPageDesigner}set locked(t){}get linked(){return this.isDesigning&&!this.report.isPageDesigner}set linked(t){}onProcessCell(t){}invokeProcessCell(t){this.onProcessCell(t)}get helpUrl(){return null}toString(){return this.name}get localizedCategory(){return ne.get("Report","CrossBands")}getRestrictions(){return null!=this.report&&this.report.isPageDesigner?super.getRestrictions()^tl.AllowDelete:super.getRestrictions()}setRestrictions(t){Ae.ap.StiRestrictionsHelper.isAllowDelete2(t)&&(t^=tl.AllowDelete),super.setRestrictions(t)}getTextBoxFromField(){let t=new $o;return t.border=this.border.clone(),t.brush=this.brush.clone(),t.font=this.font.clone(),t.textFormat=this.textFormat.clone(),t.textBrush=this.textBrush.clone(),t.textOptions=this.textOptions.clone(),t.horAlignment=this.horAlignment,t.vertAlignment=this.vertAlignment,t}get cellText(){return this.alias}};Ae.at.StiCrossField=t}Ae.bg.StiDataColumnConverter=class{static convertTypeToString(t){if(null!=t)return t.stimulsoft().getType().stimulsoft().getNetTypeName();return""}};let ll=Ae.d.StiTypeFinder,ul=Ae.bg.StiDataColumnConverter,hl=Ae.d.IStiAppDataColumn,cl=Ae.d.IStiAppAlias;{let h=class{constructor(t="Column",e="Column",r=e,i=String,n=null){this.dataColumnsCollection=null,this.index=0,this.nameInSource="Column",this.nameInSource=t,this.name=e,this.alias=r,this.type=i,this.index=-1,this.key=n}implements(){return[Yt,hl,cl,Jt,Ae.c.IStiName,Ae.c.IStiInherited]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new Ui("Name","_"),new ji("Index"),new Ui("NameInSource"),new Ui("Alias"),new Ui("Type").get(()=>ul.convertTypeToString(this.type)).set(t=>this.type=ll.getStiType(t.value)).setXml(t=>this.type=ll.getStiType(t.textContent)),new Ui("Key")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}memberwiseClone(){var t;return new(this.stimulsoft().getType())}getNameInSource(){return this.nameInSource}getDataType(){return this.type}getName(){return this.name}getAlias(){return this.alias}getKey(){return this.key=_i.getOrGeneratedKey(this.key),this.key}setKey(t){this.key=t}get name(){return this._name}set name(t){null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&this.dataSource.dictionary.report.isDesigning&&Hd.Designer.autoCorrectDataColumnName&&(t=Ae.c.StiNameValidator.correctName(t)),this._name!=t&&(this._name==this.nameInSource&&(this.nameInSource=t),this._name==this.alias&&(this.alias=t),this._name=t)}get inherited(){if(null!=this.dataSource)return this.dataSource.inherited;return!1}set inherited(t){}getColumnPath(){return De.format("{0}.{1}",this.dataSource.name,this.name)}toString(){if(Hd.Dictionary.showOnlyAliasForDataColumn)return this.alias;return this.name==this.alias||De.isNullOrEmpty(this.alias)?this.name:De.format("{0} [{1}]",this.name,this.alias)}static getDataColumnFromColumnName(t,e,r=!1){if(null==e)return null;if(0==(e=e.trim()).length)return null;var i=e.split(".");let n=t.dataSources.getByName(i[0]);if(null==n)return null;let a=i.length-1,s=1;while(0<a){if(!(2<=a))return n.columns.contains(i[s])?n.columns.getByName(i[s]):null;n=n.getParentDataSource(i[s],r),s++,a--}return null}static getRelationName(t,e,r){for(var i of t.relations.list)if(i.childSource==e&&i.name==r)return i.nameInSource;return r}static getDataFromBusinessObject(t,e){var r=e.split(".");let i=t.businessObjects.getByName(r[0]);if(null==i)return null;let n=1;while(n<r.length){if(n==r.length-1)return i.getByName(r[n]);i=i.businessObjects.getByName(r[n]),n++}return null}static getBusinessObjectFromDataColumn(t,e){var r=e.split(".");let i=t.businessObjects.getByName(r[0]);if(null==i)return null;let n=1;while(n<r.length){if(n==r.length-1)return i;i=i.businessObjects.getByName(r[n]),n++}return null}static getDataFromDataColumn(e,t,r=!0){if(null==t)return null;var i=t.split(".");let n=e.dataSources.getByName(i[0]);if(null==n)return this.getDataFromBusinessObject(e,t);let a=null,s=i.length-1,o=1;while(0<s){if(!(2<=s)){if(null!=n){var l=null!=n.columns.getByName(i[o])?n.columns.getByName(i[o]).as(Ae.am.StiCalcDataColumn):null,u,h;if(null!=l){if(null!=e&&null!=e.report&&e.report.isDesigning)return null;if(null!=e&&null!=e.report&&e.report.calculationMode==Ae.c.StiCalculationMode.Interpretation){let t=new Ae.ap.StiText;return t.name="**StiCalcDataColumn**",t.page=e.report.pages.getByIndex(0),Ae.bb.StiParser.parseTextValue("{"+l.expression+"}",t)}var l=De.format("Get{0}_{1}",Ae.c.StiNameValidator.correctName(l.dataSource.name),Ae.c.StiNameValidator.correctName(l.name));if(Object.prototype.hasOwnProperty.call(e.report,l))return e.report[l](e.report,[])}}if(null!=a)return a.getByColumnName(i[o]);if(null==n)return null;return n.getByColumnName(i[o])}{let t=i[o];r||(t=this.getRelationName(e,n,t)),a=(null==a?n:a).getParentData(t),n=n.getParentDataSource(t),o++,s--}}}static getDataSourceFromDataColumn(t,e){var e=e.split(".");return t.dataSources.getByName(e[0])}static getColumnNameFromDataColumn(t,e){var r=e.split(".");return e.substr(r[0].length+1)}static getDataListFromDataColumn(t,e,r=null,i=!1){var i=this.getDatasFromDataColumn(t,e,r,i);return null!=i?i:null}static getDatasFromDataColumn(e,r,i=null,n=!1){let a=[],s=h.getDataSourceFromDataColumn(e,r);if(null!=s){n&&s.first();let t=0;while(!s.isEof){var o=h.getDataFromDataColumn(e,r);if(null!=o&&a.push(o),s.next(),t++,null!=i&&i==t)break}s.first()}let l=h.getBusinessObjectFromDataColumn(e,r);if(null!=l){l.saveState("Totals"),l.createEnumerator();let t=0;while(!l.isEof){var u=h.getDataFromDataColumn(e,r);if(null!=u&&a.push(u),l.next(),t++,null!=i&&i==t)break}l.restoreState("Totals")}return a}static getDatasFromDataSourceWithExpression(t,i,n=null,a=!1){let s=new Ee;try{let e=null==t?void 0:t.stimulsoft().as(Ae.am.StiDataSource);if(null!=e){e.saveState("ExpressionCalculation"),a&&e.first();let t=0;while(!e.isEof){var o=Ae.aA.StiReportParser.parse2(i,e.dictionary.report,!1,null,!1,!0);if(null!=o&&s.push(o),e.next(),t++,null!=n&&n==t)break}e.first(),e.restoreState("ExpressionCalculation")}let r=null==t?void 0:t.stimulsoft().as(Ae.am.StiBusinessObject);if(null!=r){r.saveState("ExpressionCalculation"),r.createEnumerator();let t=0;while(!r.isEof){var l=Ae.aA.StiReportParser.parse2(i,e.dictionary.report,!1);if(null!=l&&s.push(l),r.next(),t++,null!=n&&n==t)break}r.restoreState("ExpressionCalculation")}}catch(t){}return s}};Ae.am.StiDataColumn=h}let dl=Ae.ab.StiColorMeta,ml=Ae.am.StiDataColumn,pl=Ae.c.StiComponentId,gl=Ae.ap.StiComponent,fl=Ae.ap.StiComponentToolboxPosition;{let t=class extends gl{constructor(){super(...arguments),this.dataRelationName="",this.brush=new si,this.border=new Zr,this.defaultClientRectangle=new Tr(0,0,100,30),this.toolboxCategory=()=>Ae.ap.StiToolboxCategory.Components,this.helpUrl=()=>"user-manual/index.html?report_internals_sparkline.htm",this.createNew=()=>new t,this._valueDataColumn="",this.type=Ae.ap.StiSparklineType.Area,this.showHighLowPoints=!1,this.showFirstLastPoints=!0,this.positiveColor=re.fromHtml("537eb6"),this.negativeColor=re.fromHtml("ff0000")}implements(){return t.implementsStiSparkline||(t.implementsStiSparkline=super.implements().concat([Ae.ap.IStiExportImageExtended,Ae.ap.IStiDataRelation,Ae.ap.IStiBorder,Ae.ap.IStiBrush])),t.implementsStiSparkline}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new Ui("DataRelationName"),new ds("Brush"),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new Ui("ValueDataColumn"),new Gi("Type","",Ae.ap.StiSparklineType,Ae.ap.StiSparklineType.Area),new Wi("ShowHighLowPoints"),new Wi("ShowFirstLastPoints","",!0),new dl("PositiveColor","",re.fromHtml("537eb6")),new dl("NegativeColor","",re.fromHtml("ff0000")),new Ui("ValuesContainer").check(t=>t==as.Document)])}get componentId(){return pl.StiSparkline}get dataRelation(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)}getImage(t){if(null!=this.report&&null!=this.report.preparedExportImages){var e=this.report.preparedExportImages.get(this);if(null!=e)return e}return t.ref=1,this.getImage2()}getImage2(){let t=new Ae.ax.StiSvgData;return t.component=this,t.x=0,t.y=0,t.width=this.report.unit.convertToHInches(this.width),t.height=this.report.unit.convertToHInches(this.height),Ae.ax.StiSparklineSvgHelper.getImage(t)}isExportAsImage(t){if(t==Ae.c.StiExportFormat.Html)return!1;if(t==Ae.c.StiExportFormat.ImageSvg)return!1;if(t==Ae.c.StiExportFormat.Pdf)return!1;return!0}clone(t){var t,t;let e=super.clone(t);return e.border=null===(t=this.border)||void 0===t?void 0:t.clone(),e.brush=null===(t=this.brush)||void 0===t?void 0:t.clone(),e}get priority(){return Ae.ap.StiComponentPriority.Component}get localizedCategory(){return ne.get("Report","Components")}get componentType(){return Ae.ap.StiComponentType.Simple}get toolboxPosition(){return fl.Sparkline}get localizedName(){return ne.get("Components","StiSparkline")}fetchValues(){var t,t;return null==this.values&&this.report.isDesigning&&(null!=(t=Ae.aq.StiSparklineBuilder.getValuesFromValueDataColumn(this,10))&&0<t.length?this.values=t:this.values=[1,2,3,6,3,2,7,4,2,-3,-5].stimulsoft().toList()),null===(t=this.values)||void 0===t?void 0:t.stimulsoft().toList()}getDataSource(){return ml.getDataSourceFromDataColumn(this.report.dictionary,this.valueDataColumn)}get valueDataColumn(){return this._valueDataColumn}set valueDataColumn(t){this._valueDataColumn=t,this.values=null}get valuesContainer(){return null!=this.values?De.join(";",this.values.stimulsoft().toList().select(t=>zi.tryToString(t)).stimulsoft().toArray()):null}set valuesContainer(e){if(null==e||0==e.trim().length)this.values=null;else{let t=e.split(";");this.values=t.stimulsoft().toList().select(t=>zi.tryToNumber(t)).stimulsoft().toArray()}}construct(t=Tr.empty){super.construct(t),this.placeOnToolbox=!1}};Ae.ap.StiSparkline=t}let Sl=Ae.at.StiCrossField,bl=Ae.ar.StiBaseStyle,yl=Ae.ap.StiSubReport,vl=Ae.ap.StiEmptyBand,wl=Ae.ap.StiComponentHelper;Ae.aq.StiComponentBuilder=class extends Ae.aq.StiBuilder{setReportVariables(t){}prepare(t){wl.fillComponentPlacement(t),Hd.Engine.allowResetValuesAtComponent&&(t.tagValue=null,t.toolTipValue=null,t.bookmarkValue=null,t.pointerValue=null,t.hyperlinkValue=null)}unPrepare(t){}internalRenderAsync(t){return Y.tsfb(this,void 0,void 0,function*(){return t.clone(!1)})}internalRender(t){return t.clone(!1)}renderAsync(y){return Y.tsfb(this,void 0,void 0,function*(){let e=null,t=y.as(nl),r=y.as(rl),i=y.as(il),n=y.as(el),a=y.as(Ae.ap.IStiTextHorAlignment),s=null,o=null,l=null,u=Xr.None,h;null!=t&&(s=t.textBrush),null!=r&&(o=r.brush),null!=i&&(l=i.font),null!=n&&null!=n.border&&(u=n.border.side);var c=y.enabled,d,d;null!=a&&(h=a.horAlignment);let m=y.report,p=!1,g=null;if(y.useParentStyles&&null!=y.parent&&(null!=m&&null!=m.engine&&null!=m.engine.hashParentStyles&&0<m.engine.hashParentStyles.count&&(g=m.engine.hashParentStyles.get(y.parent).as(bl)),null==g&&(g=bl.getStyle(y.parent)),null!=g)){g.setStyleToComponent(y),p=!0;let t=y.getComponentStyle2();null!=t&&t.setStyleToComponent(y)}y.invokeBeforePrint(y,Un.empty),null!=m&&null!=m.engine&&m.engine.hashUseParentStyles.containsKey(y)&&(d=bl.getStyle(y,g),null==m.engine.hashParentStyles&&(m.engine.hashParentStyles=new Dt),m.engine.hashParentStyles.set(y,d),p=!0),y.isEnabled?(y.is(vl)||(d=y.doBookmark(),y.doPointer(!d)),e=yield y.internalRenderAsync(),null!=e&&(null==e.page?(e.page=y.page,e.invokeEvents(),e.page=null):e.invokeEvents())):y.is(Sl)&&(y.as(Sl).disabledByCondition=!0),y.invokeAfterPrint(y,Un.empty),p&&null!=m.engine.hashParentStyles&&m.engine.hashParentStyles.remove(y),null!=t&&(t.textBrush=s),null!=r&&(r.brush=o),null!=i&&(i.font=l),null!=n&&null!=n.border&&(n.border.side=u),y.is(yl)||(y.enabled=c),null!=a&&(a.horAlignment=h);let f=y.as(el);if(null!=f){let t=e?e.as(el):null;null!=t&&f.border!=t.border&&f.border.equals(t.border)&&(t.border=f.border)}let S=y.as(rl);if(null!=S){let t=e?e.as(rl):null;null!=t&&S.brush!=t.brush&&S.brush.equals(t.brush)&&(t.brush=S.brush)}let b=y.as(nl);if(null!=b){let t=e?e.as(nl):null;null!=t&&b.textBrush!=t.textBrush&&b.textBrush.equals(t.textBrush)&&(t.textBrush=b.textBrush)}return y.isRendered=!0,e})}render(e){let r=null,t=e.as(nl),i=e.as(rl),n=e.as(il),a=e.as(el),s=e.as(Ae.ap.IStiTextHorAlignment),o=null,l=null,u=null,h=Xr.None,c;null!=t&&(o=t.textBrush),null!=i&&(l=i.brush),null!=n&&(u=n.font),null!=a&&null!=a.border&&(h=a.border.side);var d=e.enabled,m;null!=s&&(c=s.horAlignment);let p=e.report,g=!1,f=null;if(e.useParentStyles&&null!=e.parent&&(null!=p&&null!=p.engine&&null!=p.engine.hashParentStyles&&0<p.engine.hashParentStyles.count&&(f=p.engine.hashParentStyles.get(e.parent).as(bl)),null==f&&(f=bl.getStyle(e.parent)),null!=f)){f.setStyleToComponent(e),g=!0;let t=e.getComponentStyle2();null!=t&&t.setStyleToComponent(e)}e.invokeBeforePrint(e,Un.empty),null!=p&&null!=p.engine&&p.engine.hashUseParentStyles.containsKey(e)&&(m=bl.getStyle(e,f),null==p.engine.hashParentStyles&&(p.engine.hashParentStyles=new Dt),p.engine.hashParentStyles.set(e,m),g=!0),e.isEnabled?(e.is(vl)||(e.doBookmark(),e.doPointer()),r=e.internalRender(),null!=r&&(null==r.page?(r.page=e.page,r.invokeEvents(),r.page=null):r.invokeEvents())):e.is(Sl)&&(e.as(Sl).disabledByCondition=!0),e.invokeAfterPrint(e,Un.empty),g&&null!=p.engine.hashParentStyles&&p.engine.hashParentStyles.remove(e),null!=t&&(t.textBrush=o),null!=i&&(i.brush=l),null!=n&&(n.font=u),null!=a&&null!=a.border&&(a.border.side=h),e.is(yl)||(e.enabled=d),null!=s&&(s.horAlignment=c);let S=e.as(el);if(null!=S){let t=r?r.as(el):null;null!=t&&S.border!=t.border&&S.border.equals(t.border)&&(t.border=S.border)}let b=e.as(rl);if(null!=b){let t=r?r.as(rl):null;null!=t&&b.brush!=t.brush&&b.brush.equals(t.brush)&&(t.brush=b.brush)}let y=e.as(nl);if(null!=y){let t=r?r.as(nl):null;null!=t&&y.textBrush!=t.textBrush&&y.textBrush.equals(t.textBrush)&&(t.textBrush=y.textBrush)}return e.isRendered=!0,r}},Ae.ap.IStiPrintIfEmpty=new Ae.b.Interface("IStiPrintIfEmpty"),Ae.ap.IStiDataRelation=new Ae.b.Interface("IStiDataRelation"),Ae.ap.IStiSort=new Ae.b.Interface("IStiSort"),Ae.ap.IStiCrossTab=new Ae.b.Interface("IStiCrossTab"),Ae.ap.IStiFilter=new Ae.b.Interface("IStiFilter"),Ae.ap.IStiDataSource=new Ae.b.Interface("IStiDataSource"),Ae.ap.IStiBusinessObject=new Ae.b.Interface("IStiBusinessObject"),Ae.an.StiFillParametersEventHandler=new Ha("sender: any, e: StiFillParametersEventArgs"),Ae.an.StiFillParametersEventArgs=class extends Un{constructor(t=[]){super(),this.val=[],this.val=t}get value(){return this.val}set value(t){this.val=t}},Ae.ap.IStiResetPageNumber=new Ae.b.Interface("IStiResetPageNumber"),Ae.an.StiGetExcelSheetEvent=class extends Ae.an.StiEvent{toString(){return"GetExcelSheet"}},Ae.an.StiColumnEndRenderEvent=class extends Ae.an.StiEvent{toString(){return"ColumnEndRender"}},Ae.an.StiColumnBeginRenderEvent=class extends Ae.an.StiEvent{toString(){return"ColumnBeginRender"}};let Cl=Ae.br.PaperKind,Tl=Ae.br.PrinterUnitConvert,Pl=Ae.br.PrinterUnit,Il=Ae.bt.PrinterSettings;Ae.ap.StiPageHelper=class{static getPaperSizeFromPaperKind(t){if(t==Cl.Custom||!Hd.Print.allowUsePaperSizesFromPrinterSettings)return null;let e=Hd.Print.customPaperSizes;var r,i;null==e&&(r=new Il,e=r.paperSizes);for(i of e.list)if(i.kind==t)return i;return null}static getPaperSize(t,e){let r=e.width,i=e.height;return t.unit.is2(Ae.au.StiCentimetersUnit)||t.unit.is2(Ae.au.StiMillimetersUnit)?(r=Tl.convert(e.width,Pl.ThousandthsOfAnInch,Pl.TenthsOfAMillimeter),i=Tl.convert(e.height,Pl.ThousandthsOfAnInch,Pl.TenthsOfAMillimeter),t.unit.is2(Ae.au.StiCentimetersUnit)&&(r/=10,i/=10)):(r=Ne.round2(t.convertFromHInches(t.unit,r),2),i=Ne.round2(t.convertFromHInches(t.unit,i),2)),t.orientation==Ae.ap.StiPageOrientation.Landscape?new ls(i,r):new ls(r,i)}};{let r=class{constructor(t=0,e=0,r=0,i=0){this.left=t,this.top=r,this.right=e,this.bottom=i}implements(){return[Yt]}saveToJsonObject(t,e=0,r=0,i=0,n=0){if(this.left==e&&this.right==r&&this.top==i&&this.bottom==n)return null;let a=new te;return a.addPropertyNumberNoDefaultValue("Left",this.left),a.addPropertyNumberNoDefaultValue("Right",this.right),a.addPropertyNumberNoDefaultValue("Top",this.top),a.addPropertyNumberNoDefaultValue("Bottom",this.bottom),a}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Left":this.left=e.value.stimulsoft().toNumber();break;case"Right":this.right=e.value.stimulsoft().toNumber();break;case"Top":this.top=e.value.stimulsoft().toNumber();break;case"Bottom":this.bottom=e.value.stimulsoft().toNumber();break}}static loadFromText(t){let e=t.split(",");return new r(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber(),e[2].stimulsoft().toNumber(),e[3].stimulsoft().toNumber())}static loadFromXml(t){let e=t.textContent.split(",");return new r(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber(),e[2].stimulsoft().toNumber(),e[3].stimulsoft().toNumber())}clone(){return this.stimulsoft().memberwiseClone()}equals(t){var e;return null!=t&&this.left==t.left&&this.right==t.right&&this.top==t.top&&this.bottom==t.bottom}get isEmpty(){return 0==this.left&&0==this.right&&0==this.top&&0==this.bottom}static create(t=0){return new r(t,t,t,t)}};r.empty=new r(0,0,0,0),Ae.ap.StiMargins=r}Ae.aq.StiComponentInfo=class{implements(){return[Jt]}clone(){return this.stimulsoft().memberwiseClone()}};var q=Ae.aq.StiComponentInfo;Ae.ap.StiPageInfo=class extends q{constructor(){super(...arguments),this.overlays=null,this.indexOfStartRenderedPages=-1,this.masterDataBand=null,this.isReportTitlesRendered=!1,this.renderedCount=0,this.positionFromTop=0,this.positionFromBottom=0}};{let e=class{is(t){if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}static saveToJsonObject(t){let e=new te;return e.addPropertyIdent("Ident",t.stimulsoft().getType().stimulsoft().getTypeName()),e}static loadFromJsonObject(t){var e;switch(t.properties().firstOrDefault(t=>"Ident"==t.name).value){case"StiMillimetersUnit":return new Ae.au.StiMillimetersUnit;case"StiInchesUnit":return new Ae.au.StiInchesUnit;case"StiHundredthsOfInchUnit":return new Ae.au.StiHundredthsOfInchUnit;case"StiCentimetersUnit":return new Ae.au.StiCentimetersUnit}return null}static loadFromXml(t){switch(t.textContent){case"Millimeters":return new Ae.au.StiMillimetersUnit;case"Inches":return new Ae.au.StiInchesUnit;case"HundredthsOfInch":return new Ae.au.StiHundredthsOfInchUnit;case"Centimeters":return new Ae.au.StiCentimetersUnit}return new Ae.au.StiHundredthsOfInchUnit}static getUnitFromReportUnit(t){switch(t){case Ae.c.StiReportUnitType.HundredthsOfInch:return e.HundredthsOfInch;case Ae.c.StiReportUnitType.Inches:return e.Inches;case Ae.c.StiReportUnitType.Millimeters:return e.Millimeters;default:return e.Centimeters}}static get Centimeters(){return null==this._centimeters&&Ae.au.StiCentimetersUnit&&(this._centimeters=new Ae.au.StiCentimetersUnit),this._centimeters}static get HundredthsOfInch(){return null==this._hundredthsOfInch&&Ae.au.StiHundredthsOfInchUnit&&(this._hundredthsOfInch=new Ae.au.StiHundredthsOfInchUnit),this._hundredthsOfInch}static get Inches(){return null==this._inches&&Ae.au.StiInchesUnit&&(this._inches=new Ae.au.StiInchesUnit),this._inches}static get Millimeters(){return null==this._millimeters&&Ae.au.StiMillimetersUnit&&(this._millimeters=new Ae.au.StiMillimetersUnit),this._millimeters}get rulerStep(){return 0}get factor(){return 0}get shortName(){return""}get name(){return""}convertToHInches(t){return t}convertFromHInches(t){return t}convertRectangleToHInches(t){return new Tr(this.convertToHInches(t.left),this.convertToHInches(t.top),this.convertToHInches(t.width),this.convertToHInches(t.height))}convertRectangleFromHInches(t){return new Tr(this.convertFromHInches(t.left),this.convertFromHInches(t.top),this.convertFromHInches(t.width),this.convertFromHInches(t.height))}convertSizeToHInches(t){return new Fr(this.convertToHInches(t.width),this.convertToHInches(t.height))}convertSizeFromHInches(t){return new Fr(this.convertFromHInches(t.width),this.convertFromHInches(t.height))}};Ae.au.StiUnit=e}let Al=Ae.ab.StiFontMeta,xl=Ae.S.StiImageConverter;Ae.ap.StiWatermark=class{constructor(t=null,e="",r=45,i=null,n=!1,a=!0,s=!1,o=!1){this.font=new Ar("Arial",100),this.textBrush=new si(Fe.fromArgb(50,0,0,0)),this.text="",this.angle=45,this.enabled=!0,this.showImageBehind=!0,this.showBehind=!1,this.rightToLeft=!1,this.imageMultipleFactor=1,this._imageTransparency=0,this._image=null,this._imageHyperlink="",this.imageAlignment=xr.MiddleCenter,this.imageTiling=!1,this.imageStretch=!1,this.aspectRatio=!1,this.enabledExpression="",this.imageHyperlink="",null!=t&&(this.textBrush=t),this.text=e,this.angle=r,null!=i&&(this.font=i),this.showBehind=n,this.enabled=a,this.aspectRatio=s,this.rightToLeft=o}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[new Al(["Font","fn"],"","Arial",100),new ds(["TextBrush","tb"]),new Ui("Text"),new Ui("ImageHyperlink"),new ji("Angle","",45),new Wi("Enabled","",!0),new Wi("ShowImageBehind","",!0),new Wi("ShowBehind"),new Wi("RightToLeft"),new ji("ImageMultipleFactor","",1),new ji("ImageTransparency","_",0),new Ui(["Image","ImageBytes"]).get(()=>xl.imageToString(this.image)).set(t=>this.image=xl.stringToImage(t.value.toString())).setXml(t=>this.image=xl.stringToImage(t.textContent)),new Gi("ImageAlignment","",xr,xr.MiddleCenter),new Wi("ImageTiling"),new Wi("ImageStretch"),new Wi("AspectRatio"),new Ui("EnabledExpression")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){let t=this.stimulsoft().memberwiseClone();return t.font=this.font.clone(),t.textBrush=this.textBrush.clone(),null!=this._image&&(t._image=this._image.clone()),null!=this.cachedImage&&(t.cachedImage=this.cachedImage.clone()),t}get imageTransparency(){return this._imageTransparency}set imageTransparency(t){(t=Math.max(0,Math.min(t,255)))!=this._imageTransparency&&(this._imageTransparency=t,this.disposeCachedImage())}get image(){return this._image}set image(t){this._image!=t&&(this._image=t,this.disposeCachedImage())}get imageHyperlink(){return this._imageHyperlink}set imageHyperlink(t){this._imageHyperlink!=t&&(this._imageHyperlink=t)}getImage(t){var t=De.isNullOrWhiteSpace(this.imageHyperlink)?this.image:Ps.getImage(t,this.imageHyperlink);if(0==this.imageTransparency)return t;return null==this.cachedImage&&(this.cachedImage=this.getTransparentedImage(t,1-this.imageTransparency/255)),this.cachedImage}getTransparentedImage(t,e){return t}disposeCachedImage(){null!=this.cachedImage&&(this.cachedImage.dispose(),this.cachedImage=null)}},Ae.ap.IStiBreakable=new Ae.b.Interface("IStiBreakable");let Dl=Ae.ap.IStiBreakable;{let t=class extends Ae.ap.StiContainer{constructor(){super(...arguments),this.rightToLeft=!1,this.columnGaps=0,this.columnWidth=0,this.columns=0}implements(){return t.ImplementsStiPanel||(t.ImplementsStiPanel=super.implements().concat([Dl,Yt])),t.ImplementsStiPanel}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("RightToLeft"),new ji("ColumnGaps","",0),new ji("ColumnWidth","",0),new ji("Columns")])}getColumnWidth(){let t=this.columnWidth;if(0==t){if(0==this.columns)return this.width;t=this.width/this.columns-this.columnGaps}return t}};Ae.ap.StiPanel=t}Ae.an.StiGetExcelSheetEventHandler=new Ha("sender: any, e: StiGetExcelSheetEventArgs"),Ae.an.StiGetExcelSheetEventArgs=class extends Un{};let Bl=Ae.an.StiGetExcelSheetEventHandler,El=Ae.an.StiGetExcelSheetEventArgs,kl=Ae.an.StiColumnBeginRenderEvent,Nl=Ae.an.StiColumnEndRenderEvent,Fl=Ae.an.StiGetExcelSheetEvent,Rl=Ae.au.StiUnit,Ll=Ae.ap.StiShiftMode,Ml=Ae.ap.StiMargins,Ol=Ae.ap.StiPageInfo,Hl=Ae.ap.StiPageOrientation,_l=Ae.ap.StiWatermark,Vl=Ae.ap.StiPageHelper,Gl=Ae.ap.IStiResetPageNumber,Ul=Ae.d.IStiReportPage;{let i=class extends Ae.ap.StiPanel{constructor(t,e=!1){super(os.empty,!0),this.resetPageNumber=!1,this.excelSheetValue=null,this.excelSheet="",this.printOnPreviousPage=!1,this.printHeadersFootersFromPreviousPage=!1,this._paperSize=Cl.Custom,this.paperSourceOfFirstPage="",this.paperSourceOfOtherPages="",this._numberOfCopies=1,this.unlimitedBreakable=!0,this.largeHeight=!1,this._largeHeightFactor=4,this._largeHeightAutoFactor=1,this.stopBeforePrint=0,this._skip=!1,this.stretchToPrintArea=!1,this._titleBeforeHeader=!1,this.unlimitedHeight=!1,this.unlimitedWidth=!0,this.offsetRectangle=os.empty,this._orientation=Hl.Portrait,this._segmentPerWidth=1,this._segmentPerHeight=1,this.margins=new Ml(39,39,39,39),this.mirrorMargins=!1,this.reportUnit=null,this.drillDownActivated=!1,this._cacheGuid=null,e||this.construct(t)}implements(){return i.ImplementsStiPage||(i.ImplementsStiPage=super.implements().concat([Gl,Ul,Yt])),i.ImplementsStiPage}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new gs("PrintOn"),new gs("CanBreak"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("ClientRectangle"),new gs("DisplayRectangle"),new gs("UseParentStyles"),new gs("GrowToHeight"),new gs("ShiftMode"),new gs("Printable"),new gs("Page"),new gs("Parent"),new gs("Restrictions"),new gs("Locked"),new gs("Linked"),new Wi("ResetPageNumber"),new Ua("BeginRenderEvent",vs),new Ua("RenderingEvent",ys),new Ua("EndRenderEvent",bs),new Ua("ColumnBeginRenderEvent",kl),new Ua("ColumnEndRenderEvent",Nl),new Ua("GetExcelSheetEvent",Fl),new Ui("ExcelSheetValue"),new Ga("ExcelSheet").check(t=>t==as.Report),new Wi("PrintOnPreviousPage"),new Wi("PrintHeadersFootersFromPreviousPage"),new Gi("PaperSize","_",Cl,Cl.Custom),new Ui("PaperSourceOfFirstPage"),new Ui("PaperSourceOfOtherPages"),new ji("NumberOfCopies","",1),new Wi("UnlimitedBreakable","",!0),new Wi("LargeHeight"),new ji("LargeHeightFactor","",4),new ji("StopBeforePrint"),new Wi("StretchToPrintArea"),new Wi("TitleBeforeHeader"),new Wi("UnlimitedHeight"),new Wi("UnlimitedWidth","",!0),new Gi("Orientation","",Hl,Hl.Portrait),new ji("PageWidth","",827),new ji("PageHeight","",1169),new ji("SegmentPerWidth","",1),new ji("SegmentPerHeight","",1),new Ma("Watermark"),new Ma("Margins").get(t=>this.margins.saveToJsonObject(t,39,39,39,39)).set(t=>this.margins.loadFromJsonObject(t.value)).setXml(t=>this.margins=Ml.loadFromXml(t)),new Wi("MirrorMargins"),new In("Icon").check(()=>null!=this.icon).get(()=>Qt.toBase64String(this.icon)).set(t=>this.icon=Qt.fromBase64String(t.value.toString())).setXml(t=>this.icon=Qt.fromBase64String(t.textContent)),new Ma("ReportUnit").check(()=>null!=this.reportUnit).get(()=>Rl.saveToJsonObject(this.reportUnit)).set(t=>this.reportUnit=Rl.loadFromJsonObject(t.value)).setXml(t=>this.reportUnit=Ae.au.StiUnit.loadFromXml(t))])}loadFromXml(r){super.loadFromXml(r);for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];var i;"Name"==t.nodeName&&0<t.textContent.indexOf(":Unit:")&&(this.name=t.textContent.substring(0,t.textContent.indexOf(":Unit:")),i=t.textContent.substring(t.textContent.lastIndexOf(":")+1),this.reportUnit=Ge.createObject2(i))}}get componentId(){return Ae.c.StiComponentId.StiPage}convertToHInches(t,e){if(t.is2(Ae.au.StiCentimetersUnit)){if(21==e)return 827;if(29.7==e)return 1169;if(1==e)return 39}else if(t.is2(Ae.au.StiMillimetersUnit)){if(210==e)return 827;if(297==e)return 1169;if(10==e)return 39}return t.convertToHInches(e)}convertFromHInchesRect(t,e){return new os(this.convertFromHInches(t,e.left),this.convertFromHInches(t,e.top),this.convertFromHInches(t,e.width),this.convertFromHInches(t,e.height))}convertFromHInches(t,e){if(t.is2(Ae.au.StiCentimetersUnit)){if(827==e)return 21;if(1169==e)return 29.7;if(39==e)return 1}else if(t.is2(Ae.au.StiMillimetersUnit)){if(827==e)return 210;if(1169==e)return 297;if(39==e)return 10}return t.convertFromHInches(e)}convert(t,e,r=!1){this.pageWidth=this.convertFromHInches(e,this.convertToHInches(t,this.pageWidth)),this.pageHeight=this.convertFromHInches(e,this.convertToHInches(t,this.pageHeight)),this.margins=new Ml(this.convertFromHInches(e,this.convertToHInches(t,this.margins.left)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.right)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.top)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.bottom))),this.columnWidth=this.convertFromHInches(e,this.convertToHInches(t,this.columnWidth)),this.columnGaps=this.convertFromHInches(e,this.convertToHInches(t,this.columnGaps));for(var i of this.components.list)i.convert(t,e,r)}clone(t=!0,e=!0){let r=super.clone(t,e);if(r._pageInfo=this.pageInfo.clone(),r.margins=this.margins.clone(),r._orientation=this._orientation,null!=this._watermark?r._watermark=this._watermark.clone():r._watermark=null,r.components=new Ae.ap.StiComponentsCollection(r),e){for(var i of this.components.list)r.components.add(i.clone(t,e));var n,a;for(a of r.getComponents().list)a.page=r}return r}parseExpression(t){return Ae.al.StiExpressionHelper.parseText(this,t)}get pageInfo(){return null==this._pageInfo&&(this._pageInfo=new Ol),this._pageInfo}get isAutomaticDock(){return!0}get left(){return 0}set left(t){}get top(){return 0}set top(t){}getWidth(){return(this.pageWidth-this.margins.left-this.margins.right)*this.segmentPerWidth}setWidth(t){this._pageWidth=t/this.segmentPerWidth+this.margins.left+this.margins.right}getHeight(){let t=(this._pageHeight-this.margins.top-this.margins.bottom)*this.segmentPerHeight;return this.isDesigning&&(this.largeHeight?t*=this.largeHeightAutoFactor:t+=(this._pageHeight-this.margins.top-this.margins.bottom)*(this.largeHeightAutoFactor-1)),t}setHeight(t){this._pageHeight=t/this.segmentPerHeight+this.margins.top+this.margins.bottom,this.page.largeHeight&&this.isDesigning&&(this._pageHeight/=this.largeHeightFactor)}get right(){return this.width}get bottom(){return this.height}get clientRectangle(){return new os(0,0,this.width,this.height)}set clientRectangle(t){this.width=t.width,this.height=t.height}getDisplayRectangle(){return new os(0,0,this.width+this.margins.left+this.margins.right,this.height+this.margins.top+this.margins.bottom)}get shiftMode(){return Ll.None}set shiftMode(t){}get printable(){return!1}set printable(t){}get page(){return this}set page(t){}get parent(){return null}set parent(t){}invokeEvents(){var t;if(super.invokeEvents(),null==this.excelSheetValue&&0<this.excelSheet.length&&(null!=(t=Ae.bb.StiParser.parseTextValue(this.excelSheet,this))&&(this.excelSheetValue=this.report.toString2(t))),null!=this.events.get(i.eventGetExcelSheet)&&null==this.excelSheetValue){let t=new El;this.invokeGetExcelSheet(this,t),null!=t.value&&(this.excelSheetValue=t.value.toString())}this.printOnPreviousPage&&this.printHeadersFootersFromPreviousPage&&null!=this.report&&0<this.report.renderedPages.count&&(this.excelSheetValue=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1).excelSheetValue)}onBeginRender(){}invokeBeginRender(){this.onBeginRender();let t=this.events.get(i.eventBeginRender);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.beginRenderEvent,Un.empty)}get beginRenderEvent(){return new vs(this)}set beginRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventBeginRender,Ha.create(t.script,this.report))}onRendering(){}invokeRendering(){this.onRendering();let t=this.events.get(i.eventRendering);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.renderingEvent)}get renderingEvent(){return new ys(this)}set renderingEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventRendering,Ha.create(t.script,this.report))}onEndRender(){}invokeEndRender(){this.onEndRender();let t=this.events.get(i.eventEndRender);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.endRenderEvent)}get endRenderEvent(){return new bs(this)}set endRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventEndRender,Ha.create(t.script,this.report))}onColumnBeginRender(){}invokeColumnBeginRender(t=this){this.onColumnBeginRender();let e=this.events.get(i.eventColumnBeginRender);null!=e&&e(t),ja.invokeBlockly(this.report,t,this.columnBeginRenderEvent)}get columnBeginRenderEvent(){return new kl(this)}set columnBeginRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventColumnBeginRender,Ha.create(t.script,this.report))}onColumnEndRender(){}invokeColumnEndRender(t=this){this.onColumnEndRender();let e=this.events.get(i.eventColumnEndRender);null!=e&&e(t),ja.invokeBlockly(this.report,t,this.columnEndRenderEvent)}get columnEndRenderEvent(){return new Nl(this)}set columnEndRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventColumnEndRender,Ha.create(t.script,this.report))}onGetExcelSheet(t){}invokeGetExcelSheet(e,r){try{this.onGetExcelSheet(r);let t=this.events.get(i.eventGetExcelSheet);if(null!=t)try{t(e,r)}catch(r){}ja.invokeBlockly(this.report,this,this.getExcelSheetEvent,r)}catch(t){var e=De.format("Expression in ExcelSheet property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getExcelSheetEvent(){return new Fl(this)}set getExcelSheetEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventGetExcelSheet,Bl.create(t.script,this.report))}get zoom(){if(null==this.report||null==this.report.info)return 1;return this.report.info.zoom}get gridSize(){if(this.isDashboard)return this.report.info.gridSizePoints;if(this.report.unit.is2(Ae.au.StiMillimetersUnit))return this.report.info.gridSizeMillimeters;if(this.report.unit.is2(Ae.au.StiCentimetersUnit))return this.report.info.gridSizeCentimetres;if(this.report.unit.is2(Ae.au.StiHundredthsOfInchUnit))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch}get paperSize(){return this._paperSize}set paperSize(t){if(this._paperSize!=t){if((this._paperSize=t)==Cl.Custom||null==this._report)return;var t=Ae.ap.StiPageHelper.getPaperSizeFromPaperKind(t);if(null==t)return;var t=Vl.getPaperSize(this,t);this.pageWidth=t.width,this.pageHeight=t.height}}get numberOfCopies(){return this._numberOfCopies}set numberOfCopies(t){if(this._numberOfCopies!=t){if(t<1)throw new Error("Value of NumberOfCopies must be greater than or equal to 1.");this._numberOfCopies=t}}get largeHeightFactor(){return this._largeHeightFactor}set largeHeightFactor(t){1<=t&&t<=20&&(this._largeHeightFactor=t)}get largeHeightAutoFactor(){if(this.largeHeight)return this.largeHeightFactor;return this._largeHeightAutoFactor}set largeHeightAutoFactor(t){t<1&&(this._largeHeightAutoFactor=1),1<=t&&t<=50&&(this._largeHeightAutoFactor=t)}get skip(){return this._skip}set skip(t){this._skip=t}get titleBeforeHeader(){return this._titleBeforeHeader}set titleBeforeHeader(t){this._titleBeforeHeader!=t&&(this._titleBeforeHeader=t,this.correct())}get orientation(){return this._orientation}set orientation(t){var e=this.margins.left,r=this.margins.right,i=this.margins.top,n=this.margins.bottom,a;this._orientation==t||null==this._report||this._report.isSerializing||(a=this.pageHeight,this.pageHeight=this.pageWidth,this.pageWidth=a,t==Hl.Landscape?this.margins=new Ml(i,n,r,e):this.margins=new Ml(n,i,e,r)),this._orientation=t}get locked(){return!1}set locked(t){}get linked(){return!1}set linked(t){}get pageWidth(){return this._pageWidth}set pageWidth(t){this._pageWidth=Ne.round2(t,2)}get pageHeight(){return this._pageHeight}set pageHeight(t){this._pageHeight=Ne.round2(t,2)}get segmentPerWidth(){return this._segmentPerWidth}set segmentPerWidth(t){0<t&&(this._segmentPerWidth=t)}get segmentPerHeight(){return this._segmentPerHeight}set segmentPerHeight(t){0<t&&(this._segmentPerHeight=t)}get watermark(){return null==this._watermark&&(this._watermark=new _l),this._watermark}set watermark(t){this._watermark=t}get report(){return this._report}set report(t){this._report=t}get unit(){if(null==this._report)return Rl.HundredthsOfInch;return this._report.unit}get isDashboard(){return this.is(Ae.aA.IStiDashboard)}get isPage(){return!this.isDashboard}get cacheGuid(){return null==this._cacheGuid&&this.newCacheGuid(),this._cacheGuid}set cacheGuid(t){this._cacheGuid=t}newCacheGuid(){this._cacheGuid=Ae.b.Guid.newGuidString()}getIsPageTotalDataBand(t){if(null==this.report||null==this.report.dataBandsUsedInPageTotals)return!1;for(var e of this.report.dataBandsUsedInPageTotals)if(e==t||"Breaked_"+e==t||"Continued_"+e==t)return!0;return!1}clearPage(){let i=new Dt;var n={},a={},t;if(this.components.setParent(this),1e11==this.height)return;this.removeNewPageContainers(this),this.moveComponentsToPage();let s=new Ae.ap.StiComponentsCollection(this),o=0;while(o<this.components.count){let t=this.components.getByIndex(o),e=t.as(Ae.ap.StiContainer),r=!1;null!=e&&(null==i.get(e.name)?(r=this.getIsPageTotalDataBand(e.name),r?i.set(e.name,n):i.set(e.name,a)):r=i.get(e.name)==n),!r&&null!=e&&null==e.tagValue&&null==e.bookmarkValue&&null==e.toolTipValue&&null==e.hyperlinkValue&&null==e.guid&&(null==e.interaction||e.interaction.isDefault())&&(null==e.border||e.border.side==Xr.None&&0==e.border.dropShadow)&&(null==e.brush||e.brush.is(si)&&e.brush.color.equals(Fe.transparent))||s.add(t),o++}this.components.clear(),this.components.addRange(s),s.clear()}removeNewPageContainers(r){let i=!1;for(let e=r.components.count-1;0<=e;e--){let t=r.components.getByIndex(e);var n;t.is(Ae.aq.StiNewPageContainer)?(r.components.removeAt(e),i=!0):null!=(n=t.as(Ae.ap.StiContainer))&&this.removeNewPageContainers(n)}i&&(r.canGrow&&(r.canShrink=!0),Ae.ap.StiContainerHelper.checkSize(r))}getComponentsCount2(t){let e=t.components.count;for(var r of t.components.list){var r=r.as(Ae.ap.StiContainer);null!=r&&(e+=this.getComponentsCount2(r))}return e}getComponentsCount(){return this.getComponentsCount2(this)}resizePage(n,a,t=!0){if(t&&(this.margins=new Ml(Ne.round2(this.margins.left*n,2),Ne.round2(this.margins.right*n,2),Ne.round2(this.margins.top*a,2),Ne.round2(this.margins.bottom*a,2))),this.columnWidth*=n,this.columnGaps*=n,null!=this.conditions)for(var e of this.conditions.toCast())e.font=new Ar(e.font.name,e.font.size*n,e.font.style);var r,s;for(s of this.getComponents().list){s.is(Ae.ap.StiLinePrimitive)&&(s.size*=n),s.left*=n,s.top*=a,s.width*=n,s.height*=a;let t=s.as(Ae.ap.IStiFont);null!=t&&(t.font=new Ar(t.font.name,t.font.size*n,t.font.style));let e=s.as(Ae.ap.StiDataBand);null!=e&&(e.columnWidth*=n,e.columnGaps*=n);let r=s.as(Ae.ap.StiPanel);if(null!=r&&(r.columnWidth*=n,r.columnGaps*=n),null!=s.conditions)for(var o of s.conditions.toCast())o.font=new Ar(o.font.name,o.font.size*n,o.font.style);let i=s.as(Ae.ap.IStiBorder);null!=i&&(i.stimulsoft().is($r)?(i.border=i.border.clone(),i.border.leftSide.size*=n,i.border.rightSide.size*=n,i.border.bottomSide.size*=a,i.border.topSide.size*=a):(i.border=i.border.clone(),i.border.size*=n))}}toString(){return De.isNullOrEmpty(this.alias)?this.name:this.name+" ["+this.alias+"]"}construct(e){super.construct();try{this.newGuid(),this.border.size=2,this.parent=null,this.paperSize=Cl.Custom;let t=null;var r;this.paperSize!=Cl.Custom&&(t=Vl.getPaperSizeFromPaperKind(this.paperSize)),null==t||this.paperSize==Cl.Custom?(this._pageWidth=827,this._pageHeight=1169):(r=Vl.getPaperSize(this,t),this.pageWidth=r.width,this.pageHeight=r.height),this._report=e,this._segmentPerWidth=1,this._segmentPerHeight=1,this.margins=new Ml(39,39,39,39),null==this._report||this._report.isSerializing||this.convert(Rl.HundredthsOfInch,this.unit)}catch(t){Ae.b.StiError.showError(t,!1)}}};i.eventBeginRender={},i.eventRendering={},i.eventEndRender={},i.eventColumnBeginRender={},i.eventColumnEndRender={},i.eventGetExcelSheet={},Ae.ap.StiPage=i}let jl=Ae.S.StiColorUtils;{let e=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepChildTogether=!0,this.printIfParentDisabled=!1}implements(){return super.implements().concat([Ae.ap.IStiKeepChildTogether,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("KeepChildTogether","",!0),new Wi("PrintIfParentDisabled")])}get headerStartColor(){var t=this.getMaster();return null!=t?jl.light(t.headerStartColor,50):Fe.white}get headerEndColor(){var t=this.getMaster();return null!=t?jl.light(t.headerEndColor,50):Fe.white}getComponentType(){return Ae.ap.StiComponentType.Detail}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.ChildBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.ChildBand}createNew(){return new e}getMaster(){let t=this.parent.components.indexOf(this)-1;while(0<=t){if(this.parent.components.getByIndex(t).is(Ae.ap.StiBand)&&!this.parent.components.getByIndex(t).is(e))return this.parent.components.getByIndex(t);t--}return null}};Ae.ap.StiChildBand=e}Ae.ap.IStiRenderMaster=new Ae.b.Interface("IStiRenderMaster");let Wl=Ae.ap.StiContainerHelper,ql=Ae.an.StiFillParametersEventArgs,zl=Ae.ap.IStiRenderMaster,Xl=Ae.ap.StiComponentType,Jl=Ae.ap.StiDataBand,Yl=Ae.ap.StiChildBand,Ql=Ae.ap.StiContainer,Kl=Ae.ap.StiPage;var M=class{static getMasterDataBand(t){t=t.parent;while(1){if(t.stimulsoft().is(Jl))return t;if(t.stimulsoft().is(Kl))return null;if(null==t)return null;if(t.stimulsoft().is(Yl)){var e=t.getMaster();if(null!=e){t=e;continue}}t=t.parent}}static getParentBand(t){t=t.parent;while(1&&t){if(t.stimulsoft().is(xs))return t;if(t.stimulsoft().is(Kl))return null;if(null==t)return null;t=t.parent}return null}static renderSubReportAsync(d,m){return Y.tsfb(this,void 0,void 0,function*(){let t=m.subReportPage;var e=null!=t?t.height:0,r=m.report.engine,i;null!=t&&(t.pageInfo.masterDataBand=this.getMasterDataBand(m));for(i of m.report.dictionary.dataSources.list)i.initForSubreport=!0;null!=t&&(t.unlimitedBreakable=!1);var n=m.getExternalSubReport(),a=new ql,s,s,o,l;if(m.invokeFillParameters(m,a),null!=a.value&&0<a.value.length){let t=n||m.report;for(var u of a.value)t.setVariable(u.key,u.value)}null!=n?(s=yield this.renderExternalSubReportAsync(m,n),d.components.addRange(s.components)):(s=yield this.renderInternalSubReportAsync(m),d.components.addRange(s.components));for(o of d.components.list){o.right>d.width&&(o.width=d.width-o.left);var h=o.as(Ql);if(null!=h)for(var c of h.components.list)c.left>d.width&&(c.left=d.width),c.right+o.left>d.width&&(c.width=d.width-(c.left+o.left))}m.report.engine=r,null!=t&&(t.height=e,t.pageInfo.masterDataBand=null);for(l of m.report.dictionary.dataSources.list)l.initForSubreport=!1})}static renderSubReport(t,e){let r=e.subReportPage;var i=null!=r?r.height:0,n=e.report.engine,a;null!=r&&(r.pageInfo.masterDataBand=this.getMasterDataBand(e));for(a of e.report.dictionary.dataSources.list)a.initForSubreport=!0;null!=r&&(r.unlimitedBreakable=!1);var s=e.getExternalSubReport(),o=new ql,l,l,u,h;if(e.invokeFillParameters(e,o),null!=o.value&&0<o.value.length){let t=s||e.report;for(var c of o.value)t.setVariable(c.key,c.value)}null!=s?(l=this.renderExternalSubReport(e,s),t.components.addRange(l.components)):(l=this.renderInternalSubReport(e),t.components.addRange(l.components));for(u of t.components.list){u.right>t.width&&(u.width=t.width-u.left);var d=u.as(Ql);if(null!=d)for(var m of d.components.list)m.left>t.width&&(m.left=t.width),m.right+u.left>t.width&&(m.width=t.width-(m.left+u.left))}e.report.engine=n,null!=r&&(r.height=i,r.pageInfo.masterDataBand=null);for(h of e.report.dictionary.dataSources.list)h.initForSubreport=!1}static renderInternalSubReportAsync(u){return Y.tsfb(this,void 0,void 0,function*(){let t=u.subReportPage,e=new Ql;if(null==t)return e;e.width=t.width,e.height=this.specialSubReportHeight;var r=t.currentBookmark,i=t.parentBookmark,n=t.currentPointer,a=t.parentPointer;t.currentBookmark=u.currentBookmark,t.parentBookmark=u.parentBookmark,e.currentBookmark=u.parentBookmark,t.currentPointer=u.currentPointer,t.parentPointer=u.parentPointer,e.currentPointer=u.parentPointer;let s=new Ae.aq.StiEngine(u.report);s.parserConversionStore=u.report.engine.parserConversionStore.clone(),null!=u.report.engine.hashDataSourceReferencesCounter&&(s.hashDataSourceReferencesCounter=u.report.engine.hashDataSourceReferencesCounter.clone()),s.templatePage=t,s.templateContainer=u.subReportPage,s.containerForRender=e,u.report.engine=s,s.setNewPageParameters(),s.freeSpace=this.specialSubReportHeight,s.positionBottomY=this.specialSubReportHeight,yield s.newListAsync(),yield Ae.aq.StiPageHelper.renderPageAsync(t),yield s.finalClearAsync(),s.parserConversionStore=null;var o=s.positionBottomY-s.positionY,l;for(l of e.components.list)l.top>=s.positionY&&0<=l.top-o&&(l.top-=o);return Ae.aq.StiPostProcessProvider.postProcessPrimitivesInContainer(e),t.currentBookmark=r,t.parentBookmark=i,t.currentPointer=n,t.parentPointer=a,e})}static renderInternalSubReport(t){let e=t.subReportPage,r=new Ql;if(null==e)return r;r.width=e.width,r.height=this.specialSubReportHeight;var i=e.currentBookmark,n=e.parentBookmark,a=e.currentPointer,s=e.parentPointer;e.currentBookmark=t.currentBookmark,e.parentBookmark=t.parentBookmark,r.currentBookmark=t.parentBookmark,e.currentPointer=t.currentPointer,e.parentPointer=t.parentPointer,r.currentPointer=t.parentPointer;let o=new Ae.aq.StiEngine(t.report);o.parserConversionStore=t.report.engine.parserConversionStore.clone(),null!=t.report.engine.hashDataSourceReferencesCounter&&(o.hashDataSourceReferencesCounter=t.report.engine.hashDataSourceReferencesCounter.clone()),o.templatePage=e,o.templateContainer=t.subReportPage,o.containerForRender=r,t.report.engine=o,o.setNewPageParameters(),o.freeSpace=this.specialSubReportHeight,o.positionBottomY=this.specialSubReportHeight,o.newList(),Ae.aq.StiPageHelper.renderPage(e),o.finalClear(),o.parserConversionStore=null;var l=o.positionBottomY-o.positionY,u;for(u of r.components.list)u.top>=o.positionY&&0<=u.top-l&&(u.top-=l);return Ae.aq.StiPostProcessProvider.postProcessPrimitivesInContainer(r),e.currentBookmark=i,e.parentBookmark=n,e.currentPointer=a,e.parentPointer=s,r}static renderExternalSubReportAsync(g,e){return Y.tsfb(this,void 0,void 0,function*(){let s=new Ql;if(null!=e){var o=Hd.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages;if(o)for(var t of e.pages.list)t.unlimitedHeight=!0,t.unlimitedBreakable=!1,t.height=this.specialSubReportHeight;e.isDocument||(yield e.renderAsync2());var l=.9*this.specialSubReportHeight,u=0,h;let n=0,a=0;for(h of e.renderedPages.list){let t=0,e=this.specialSubReportHeight,r=0,i=0;for(var c of h.components.list)c.top>l?e=Math.min(c.top,e):t=Math.max(c.bottom,t),o||(c.right>r&&(r=c.right),c.bottom>i&&(i=c.bottom));var d=e-t;if(o||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode||h.unlimitedHeight){for(var m of h.components.list)m.top+=n,m.left+=u,m.growToHeight=!1,m.canShrink=!1,m.top>=l&&(m.top-=d);s.components.addRange(h.components)}else{let t=new Ql;t.name=`SubPage${a++}`,t.width=r,t.height=i,t.top=n,t.left=u,t.components.addRange(h.components),t.page=g.page,t.tagValue=Wl.notCheckSizeMark;for(var p of h.components.list)p.growToHeight=!1,p.canShrink=!1,p.page=g.page,p.top>=l&&(p.top-=d);s.components.add(t)}h.components.clear(),h.height>l?n+=t+(this.specialSubReportHeight-e):o||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode?n+=h.height:n+=i}}return s})}static renderExternalSubReport(s,t){let o=new Ql;if(null!=t){var l=Hd.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages;if(l)for(var e of t.pages.list)e.unlimitedHeight=!0,e.unlimitedBreakable=!1,e.height=this.specialSubReportHeight;t.isDocument||t.render(!1);var u=.9*this.specialSubReportHeight,h=0,c;let n=0,a=0;for(c of t.renderedPages.list){let t=0,e=this.specialSubReportHeight,r=0,i=0;for(var d of c.components.list)d.top>u?e=Math.min(d.top,e):t=Math.max(d.bottom,t),l||(d.right>r&&(r=d.right),d.bottom>i&&(i=d.bottom));var m=e-t;if(l||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode||c.unlimitedHeight){for(var p of c.components.list)p.top+=n,p.left+=h,p.growToHeight=!1,p.canShrink=!1,p.top>=u&&(p.top-=m);o.components.addRange(c.components)}else{let t=new Ql;t.name=`SubPage${a++}`,t.width=r,t.height=i,t.top=n,t.left=h,t.components.addRange(c.components),t.page=s.page,t.tagValue=Wl.notCheckSizeMark;for(var g of c.components.list)g.growToHeight=!1,g.canShrink=!1,g.page=s.page,g.top>=u&&(g.top-=m);o.components.add(t)}c.components.clear(),c.height>u?n+=t+(this.specialSubReportHeight-e):l||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode?n+=c.height:n+=i}}return o}static renderDataBandsInContainerAsync(p,g,f=!1){return Y.tsfb(this,void 0,void 0,function*(){p.canGrow=!0;var n=g.report.engine;let t=0,e=0;null!=g.report.engine.page&&(t=g.report.engine.page.pageInfo.positionFromTop,e=g.report.engine.page.pageInfo.positionFromBottom);try{var a=1e11;let e=!1,r=new Ql;r.width=g.width,r.height=a;let i=new Ae.aq.StiEngine(g.report);i.denyChangeThread=!0,i.parserConversionStore=g.report.engine.parserConversionStore.clone(),null!=g.report.engine.hashDataSourceReferencesCounter&&(i.hashDataSourceReferencesCounter=g.report.engine.hashDataSourceReferencesCounter.clone()),null!=g.report.engine.hashParentStyles&&0<g.report.engine.hashParentStyles.count&&(i.hashParentStyles=g.report.engine.hashParentStyles.clone()),i.page=g.report.engine.page,i.templatePage=g.report.engine.templatePage,i.templateContainer=g,i.containerForRender=r,g.report.engine=i,i.setNewPageParameters(),i.freeSpace=a,i.positionBottomY=a,yield i.newListAsync(f),r.components.clear();var s=r.getDockRegion(r,!1),o;i.crossFreeSpace=n.templatePage.width-(g.left+s.left),i.freeSpace=s.height,i.positionX=s.left,i.positionY=s.top;for(o of g.components.list)if(o.parentBookmark=g.currentBookmark,o.parentPointer=g.currentPointer,o.componentType==Xl.Master){o.is(Ae.ap.StiCrossDataBand)&&(e=!0);let t=o.as(zl);null!=t&&(yield t.renderMasterAsync())}if(yield i.finalClearAsync(),i.parserConversionStore=null,i.hashParentStyles=null,e){let t=0;for(var l of r.components.list)t=Math.max(l.right,t);let e=1;do{var u=n.templatePage.width*e;if(t+p.left<=u)break;e++}while(1==1);p.containerInfo.setSegmentPerWidth=e}else{let t=i.positionBottomY-i.positionY;p.bottom-i.positionY>a-i.positionBottomY&&!g.canShrink&&(t=a-p.height);for(var h of r.components.list)h.top>=i.positionY&&0<=h.top-t&&(h.top-=t)}if(p.components.addRange(r.components),!e)for(var c of p.components.list){c.right>p.width&&(c.width=p.width-c.left);var d=c.as(Ql);if(null!=d)for(var m of d.components.list)m.left>p.width&&(m.left=p.width),m.right+c.left>p.width&&(m.width=p.width-(m.left+c.left))}}finally{g.report.engine=n,null!=g.report.engine.page&&(g.report.engine.page.pageInfo.positionFromTop=t,g.report.engine.page.pageInfo.positionFromBottom=e)}})}static renderDataBandsInContainer(n,a,t=!1){n.canGrow=!0;var s=a.report.engine;let e=0,r=0;null!=a.report.engine.page&&(e=a.report.engine.page.pageInfo.positionFromTop,r=a.report.engine.page.pageInfo.positionFromBottom);try{var o=1e11;let e=!1,r=new Ql;r.width=a.width,r.height=o;let i=new Ae.aq.StiEngine(a.report);i.denyChangeThread=!0,i.parserConversionStore=a.report.engine.parserConversionStore.clone(),null!=a.report.engine.hashDataSourceReferencesCounter&&(i.hashDataSourceReferencesCounter=a.report.engine.hashDataSourceReferencesCounter.clone()),null!=a.report.engine.hashParentStyles&&0<a.report.engine.hashParentStyles.count&&(i.hashParentStyles=a.report.engine.hashParentStyles.clone()),i.page=a.report.engine.page,i.templatePage=a.report.engine.templatePage,i.templateContainer=a,i.containerForRender=r,a.report.engine=i,i.setNewPageParameters(),i.freeSpace=o,i.positionBottomY=o,i.newList(t),r.components.clear();var l=r.getDockRegion(r,!1),u;i.crossFreeSpace=s.templatePage.width-(a.left+l.left),i.freeSpace=l.height,i.positionX=l.left,i.positionY=l.top;for(u of a.components.list)if(u.parentBookmark=a.currentBookmark,u.parentPointer=a.currentPointer,u.componentType==Xl.Master){u.is(Ae.ap.StiCrossDataBand)&&(e=!0);let t=u.as(zl);null!=t&&t.renderMaster()}if(i.finalClear(),i.parserConversionStore=null,i.hashParentStyles=null,e){let t=0;for(var h of r.components.list)t=Math.max(h.right,t);let e=1;do{var c=s.templatePage.width*e;if(t+n.left<=c)break;e++}while(1==1);n.containerInfo.setSegmentPerWidth=e}else{let t=i.positionBottomY-i.positionY;n.bottom-i.positionY>o-i.positionBottomY&&!a.canShrink&&(t=o-n.height);for(var d of r.components.list)d.top>=i.positionY&&0<=d.top-t&&(d.top-=t)}if(n.components.addRange(r.components),!e)for(var m of n.components.list){m.right>n.width&&(m.width=n.width-m.left);var p=m.as(Ql);if(null!=p)for(var g of p.components.list)g.left>n.width&&(g.left=n.width),g.right+m.left>n.width&&(g.width=n.width-(g.left+m.left))}}finally{a.report.engine=s,null!=a.report.engine.page&&(a.report.engine.page.pageInfo.positionFromTop=e,a.report.engine.page.pageInfo.positionFromBottom=r)}}},Zl,$l,tu,eu,ru,iu,nu,au,su,dt,ht,ot,rt,tt,Z,ft,V,H,ou,pt;M.specialSubReportHeight=1e11,M.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode=!1,Ae.aq.StiSubReportsHelper=M;{let i=class extends Ae.ar.StiBaseStyle{constructor(){super(...arguments),this.backColor=Fe.white,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.alternatingCellForeColor=re.fromHtml("#323a45"),this.selectedCellBackColor=jl.light(re.fromHtml("#3498db"),30),this.selectedCellForeColor=Fe.white,this.columnHeaderBackColor=re.fromHtml("#3498db"),this.columnHeaderForeColor=re.fromHtml("#fff"),this.rowHeaderBackColor=re.fromHtml("#3498db"),this.rowHeaderForeColor=re.fromHtml("#eee"),this.hotColumnHeaderBackColor=jl.dark(re.fromHtml("#3498db"),30),this.hotRowHeaderBackColor=jl.dark(re.fromHtml("#3498db"),30),this.cellForeColor=re.fromHtml("#323a45"),this.lineColor=Fe.white,this._totalCellColumnBackColor=null,this._totalCellColumnForeColor=null,this._totalCellRowBackColor=null,this._totalCellRowForeColor=null}meta(){return this._hash||(this._hash=[...super.meta(),new dl("BackColor","",Fe.transparent),new dl("CellBackColor","",Fe.white),new dl("AlternatingCellBackColor","",re.fromHtml("#eee")),new dl("AlternatingCellForeColor","",re.fromHtml("#323a45")),new dl("SelectedCellBackColor","",jl.light(re.fromHtml("#3498db"),30)),new dl("SelectedCellForeColor","",Fe.white),new dl("ColumnHeaderBackColor","",re.fromHtml("#3498db")),new dl("ColumnHeaderForeColor","",re.fromHtml("#fff")),new dl("RowHeaderBackColor","",re.fromHtml("#3498db")),new dl("RowHeaderForeColor","",re.fromHtml("#eee")),new dl("HotColumnHeaderBackColor","",jl.dark(re.fromHtml("#3498db"),30)),new dl("HotRowHeaderBackColor","",jl.dark(re.fromHtml("#3498db"),30)),new dl("CellForeColor","",re.fromHtml("#323a45")),new dl("LineColor","",Fe.white),new dl("TotalCellColumnBackColor","",re.fromHtml("#3498db")),new dl("TotalCellColumnForeColor","",re.fromHtml("#fff")),new dl("TotalCellRowBackColor","",re.fromHtml("#3498db")),new dl("TotalCellRowForeColor","",re.fromHtml("#eee"))])}get color(){return this.columnHeaderBackColor}set color(t){this.columnHeaderBackColor=t,this.rowHeaderBackColor=t}get totalCellColumnBackColor(){return null==this._totalCellColumnBackColor&&(this._totalCellColumnBackColor=this.columnHeaderBackColor),this._totalCellColumnBackColor}set totalCellColumnBackColor(t){this._totalCellColumnBackColor=t}get totalCellColumnForeColor(){return null==this._totalCellColumnForeColor&&(this._totalCellColumnForeColor=this.columnHeaderForeColor),this._totalCellColumnForeColor}set totalCellColumnForeColor(t){this._totalCellColumnForeColor=t}get totalCellRowBackColor(){return null==this._totalCellRowBackColor&&(this._totalCellRowBackColor=this.columnHeaderBackColor),this._totalCellRowBackColor}set totalCellRowBackColor(t){this._totalCellRowBackColor=t}get totalCellRowForeColor(){return null==this._totalCellRowForeColor&&(this._totalCellRowForeColor=this.columnHeaderForeColor),this._totalCellRowForeColor}set totalCellRowForeColor(t){this._totalCellRowForeColor=t}getStyleFromComponent(t,e){if(e!=Ae.c.StiStyleElements.All)throw new Error("StiCrossTabStyle support only StiStyleElements.All.");let r=t;if(null==r)return;var t=r.crossTabStyle;!De.isNullOrEmpty(t)&&null!=r.report&&r.report.styles.getByName(t).is(i)?this.color=r.report.styles.getByName(t).color:r.crossTabStyleIndex<Hd.Designer.CrossTab.styleColors.length&&0<=r.crossTabStyleIndex&&r.crossTabStyleIndex<Hd.Designer.CrossTab.styleColors.length-1&&(this.color=Hd.Designer.CrossTab.styleColors[r.crossTabStyleIndex])}setStyleToComponent(e){if(null!=e&&e.is(Ae.at.StiCrossTab)){let t=e;if(!Ae.c.StiStyleConditionHelper.isAllowStyle(e,this))return;t.crossTabStyleColor=this.color,t.updateStyles()}}};Ae.ar.StiCrossTabStyle=i}(H=Zl=Ae.aY.StiSortDirection||(Ae.aY.StiSortDirection={}))[H["Asc"]=0]="Asc",H[H["Desc"]=1]="Desc",H[H["None"]=2]="None",(V=$l=Ae.aY.StiSummaryType||(Ae.aY.StiSummaryType={}))[V["None"]=0]="None",V[V["Sum"]=1]="Sum",V[V["Average"]=2]="Average",V[V["Min"]=3]="Min",V[V["Max"]=4]="Max",V[V["Count"]=5]="Count",V[V["CountDistinct"]=6]="CountDistinct",V[V["Image"]=7]="Image",(ft=tu=Ae.aY.StiSummaryValues||(Ae.aY.StiSummaryValues={}))[ft["AllValues"]=0]="AllValues",ft[ft["SkipZerosAndNulls"]=1]="SkipZerosAndNulls",ft[ft["SkipNulls"]=2]="SkipNulls",(Z=eu=Ae.aY.StiSortType||(Ae.aY.StiSortType={}))[Z["ByValue"]=0]="ByValue",Z[Z["ByDisplayValue"]=1]="ByDisplayValue",(tt=ru=Ae.aY.StiFieldType||(Ae.aY.StiFieldType={}))[tt["Column"]=0]="Column",tt[tt["Row"]=1]="Row",tt[tt["Cell"]=2]="Cell",(rt=iu=Ae.aY.StiSummaryDirection||(Ae.aY.StiSummaryDirection={}))[rt["LeftToRight"]=0]="LeftToRight",rt[rt["UpToDown"]=1]="UpToDown",(ot=nu=Ae.aY.StiEnumeratorType||(Ae.aY.StiEnumeratorType={}))[ot["None"]=0]="None",ot[ot["Arabic"]=1]="Arabic",ot[ot["Roman"]=2]="Roman",ot[ot["ABC"]=3]="ABC",(ht=au=Ae.aY.StiEnumeratorSeparator||(Ae.aY.StiEnumeratorSeparator={}))[ht["Dot"]=0]="Dot",ht[ht["Dash"]=1]="Dash",ht[ht["Colon"]=2]="Colon",ht[ht["RoundBrackets"]=3]="RoundBrackets",ht[ht["SquareBrackets"]=4]="SquareBrackets",(dt=su=Ae.aY.StiCellType||(Ae.aY.StiCellType={}))[dt["HeaderCol"]=0]="HeaderCol",dt[dt["HeaderColMain"]=1]="HeaderColMain",dt[dt["HeaderColTotal"]=2]="HeaderColTotal",dt[dt["HeaderColTotalMain"]=3]="HeaderColTotalMain",dt[dt["HeaderColSummary"]=4]="HeaderColSummary",dt[dt["HeaderColSummaryTotal"]=5]="HeaderColSummaryTotal",dt[dt["HeaderRow"]=6]="HeaderRow",dt[dt["HeaderRowMain"]=7]="HeaderRowMain",dt[dt["HeaderRowTotal"]=8]="HeaderRowTotal",dt[dt["HeaderRowTotalMain"]=9]="HeaderRowTotalMain",dt[dt["HeaderRowSummary"]=10]="HeaderRowSummary",dt[dt["HeaderRowSummaryTotal"]=11]="HeaderRowSummaryTotal",dt[dt["Cell"]=12]="Cell",dt[dt["CellTotal"]=13]="CellTotal",dt[dt["LeftTopLine"]=14]="LeftTopLine",dt[dt["LeftTopLineMain"]=15]="LeftTopLineMain",dt[dt["RightTopLine"]=16]="RightTopLine",dt[dt["RightTopLineMain"]=17]="RightTopLineMain",dt[dt["CornerCol"]=18]="CornerCol",dt[dt["CornerColMain"]=19]="CornerColMain",dt[dt["CornerRow"]=20]="CornerRow",dt[dt["CornerRowMain"]=21]="CornerRowMain",Ae.ap.StiFilter=class{constructor(t=null,e="",r=Ae.ap.StiFilterCondition.EqualTo,i="",n="",a=Ae.ap.StiFilterDataType.String,s=""){this.condition=Ae.ap.StiFilterCondition.EqualTo,this.dataType=Ae.ap.StiFilterDataType.String,this.column="",this.item=Ae.ap.StiFilterItem.Value,this.valueObj1="",this.valueObj2="",this.expression="",
this.item=null==t?Ae.ap.StiFilterItem.Value:t,this.column=e,this.condition=r,this.valueObj1=i,this.valueObj2=n,this.dataType=a,this.expression=s}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Gi("Condition","",Ae.ap.StiFilterCondition,Ae.ap.StiFilterCondition.EqualTo),new Gi("DataType","",Ae.ap.StiFilterDataType,Ae.ap.StiFilterDataType.String),new Ui("Column"),new Gi("Item","",Ae.ap.StiFilterItem,Ae.ap.StiFilterItem.Value),new Ui("Value1"),new Ui("Value2"),new Ga("Expression")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}memberwiseClone(){let t=new(this.stimulsoft().getType());return t.item=this.item,t.column=this.column,t.condition=this.condition,t.valueObj1=this.valueObj1,t.valueObj2=this.valueObj1,t.dataType=this.dataType,t.expression=this.expression,t}get value1(){return this.valueObj1}set value1(t){this.valueObj1=t}get value2(){return this.valueObj2}set value2(t){this.valueObj2=t}};let lu=Ae.ar.StiCrossTabStyle,uu=Ae.am.StiBusinessObjectHelper,hu=Ae.ap.StiFilter,cu=Ae.ap.StiFilterItem,du=Ae.ap.StiComponentPriority,mu=Ae.aY.StiSummaryDirection,pu=Ae.ap.StiFilterMode,gu=Ae.ap.StiFilterEngine,fu=Ae.ap.IStiDataSource,Su=Ae.ap.IStiFilter,bu=Ae.ap.IStiCrossTab,yu=Ae.ap.IStiSort,vu=Ae.ap.IStiDataRelation,wu=Ae.ap.IStiPrintIfEmpty,Cu=Ae.ap.IStiBusinessObject,Tu=Ae.aq.StiSubReportsHelper;{let e=class extends Ql{constructor(t=os.empty){super(t),this.printIfEmpty=!0,this.dataRelationName="",this._dataSourceName="",this._businessObjectGuid="",this._sort=[],this.crossTabInfo=new Ae.at.StiCrossTabInfo,this.filterEngine=gu.ReportEngine,this.filterMode=pu.And,this._filters=new Ae.ap.StiFiltersCollection,this.filterOn=!0,this.defaultClientRectangle=new os(0,0,300,100),this._crossTabStyleIndex=0,this.crossTabStyleColor=null,this.horAlignment=Ae.at.StiCrossHorAlignment.None,this.printTitleOnAllPages=!0,this.summaryDirection=mu.UpToDown,this.keepCrossTabTogether=!1,this.emptyValue="",this.wrap=!1,this.wrapGap=0,this._rightToLeft=!1,this.placeOnToolbox=!1,this.canGrow=!0}implements(){return e.ImplementsStiCrossTab||(e.ImplementsStiCrossTab=super.implements().concat([fu,Su,bu,yu,vu,wu,Cu,Yt])),e.ImplementsStiCrossTab}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanGrow","",!0),new Wi("PrintIfEmpty","",!0),new Ui("DataRelationName"),new Ui("DataSourceName"),new Ui("BusinessObjectGuid"),new Ma("Sort").get(()=>ci.Serialize.stringArray(this.sort)).set(t=>this._sort=ci.Deserialize.stringArray(t.value)).setXml(t=>this._sort=Ae.ap.StiDataBand.loadXmlSort(t)),new Gi("FilterEngine","",gu,gu.ReportEngine),new Gi("FilterMode","",pu,pu.And),new Ma("Filters"),new Wi("FilterOn","",!0),new ji("CrossTabStyleIndex"),new Gi("HorAlignment","",Ae.at.StiCrossHorAlignment,Ae.at.StiCrossHorAlignment.None),new Wi("PrintTitleOnAllPages","",!0),new Gi("SummaryDirection","",mu,mu.UpToDown),new Wi("KeepCrossTabTogether"),new Ui("EmptyValue"),new Wi("Wrap"),new ji("WrapGap","",0),new Wi("RightToLeft")])}get componentId(){return Ae.c.StiComponentId.StiCrossTab}get helpUrl(){return"user-manual/report_internals_crosstable.htm"}convert(t,e,r=!1){super.convert(t,e,r),this.wrapGap=e.convertFromHInches(t.convertToHInches(this.wrapGap))}get dataRelation(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)}get dataSource(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)}get dataSourceName(){return this._dataSourceName}set dataSourceName(t){this._dataSourceName!=t&&(this._dataSourceName=t)}get isDataSourceEmpty(){return De.isNullOrEmpty(this.dataSourceName)||null==this.dataSource}get isBusinessObjectEmpty(){return De.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject}get businessObject(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return uu.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)}get businessObjectGuid(){return this._businessObjectGuid}set businessObjectGuid(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,De.isNullOrEmpty(t)||(this.dataSourceName=null))}get sort(){return this._sort}set sort(t){this._sort=t}get canBreak(){var t;return null!=Tu.getParentBand(this)||this.properties.getBool(Ql.propertyCanBreak,!1)}set canBreak(t){this.properties.setBool(Ql.propertyCanBreak,t,!1)}first(){null!=this.dataSource?this.dataSource.first():null!=this.businessObject&&this.businessObject.first()}prior(){null!=this.dataSource?this.dataSource.prior():null!=this.businessObject&&this.businessObject.prior()}next(){null!=this.dataSource?this.dataSource.next():null!=this.businessObject&&this.businessObject.next()}last(){null!=this.dataSource?this.dataSource.last():null!=this.businessObject&&this.businessObject.last()}get isEof(){return null!=this.dataSource?this.dataSource.isEof:null==this.businessObject||this.businessObject.isEof}set isEof(t){null!=this.dataSource?this.dataSource.isEof=t:null!=this.businessObject&&(this.businessObject.isEof=t)}get isBof(){return null!=this.dataSource?this.dataSource.isBof:null==this.businessObject||this.businessObject.isBof}set isBof(t){null!=this.dataSource?this.dataSource.isBof=t:null!=this.businessObject&&(this.businessObject.isBof=t)}get isEmpty(){return null!=this.dataSource?this.dataSource.isEmpty:null==this.businessObject||this.businessObject.isEmpty}get position(){return null!=this.dataSource?this.dataSource.position:null!=this.businessObject?this.businessObject.position:0}set position(t){null!=this.dataSource?this.dataSource.position=t:null!=this.businessObject&&(this.businessObject.position=t)}get count(){return null!=this.dataSource?this.dataSource.count:null!=this.businessObject?this.businessObject.count:0}clone(){let t=super.clone();return t.crossTabInfo=this.crossTabInfo.clone().stimulsoft().as(Ae.at.StiCrossTabInfo),null!=this._filters?t._filters=this._filters.clone().stimulsoft().as(Ae.ap.StiFiltersCollection):t._filters=null,t}packService(){this._filters=null}get filters(){return this._filters}set filters(t){this._filters=t}get filter(){return 0==this.filters.count&&this.filters.add(new hu),this.filters.getByIndex(0).item=cu.Expression,this.filters.getByIndex(0).expression}set filter(t){0==this.filters.count&&this.filters.add(new hu),this.filters.getByIndex(0).item=cu.Expression,this.filters.getByIndex(0).expression=t}canContainIn(t){if(t.is(e))return!1;if(t.is(Ql))return!0;return!1}get localizedCategory(){return ne.get("Report","Components")}get priority(){return du.CrossTab}get componentType(){if(null!=this.report)return Xl.Simple;if(this.parent.is(xs))return Xl.Simple;return Xl.Master}get localizedName(){return ne.get("Components","StiCrossTab")}get crossTabStyleIndex(){return this._crossTabStyleIndex}set crossTabStyleIndex(t){t!=this._crossTabStyleIndex&&(-1!=t&&(super.setComponentStyle(""),this.crossTabStyleColor=null),t>=Hd.Designer.CrossTab.styleColors.length?this._crossTabStyleIndex=Hd.Designer.CrossTab.styleColors.length-1:this._crossTabStyleIndex=t,this.isDesigning&&null!=this.report&&!this.report.isSerializing&&this.updateStyles())}get crossTabStyle(){return this.componentStyle}set crossTabStyle(t){this.componentStyle=t}setComponentStyle(t){if(null==t&&(t=""),super.getComponentStyle()!=t){super.setComponentStyle(t),this.crossTabStyleColor=null,this._crossTabStyleIndex=-1,this.updateStyles();for(var e of this.components.list)e.componentStyle=this.componentStyle}}updateStyles(){for(var t of this.components.toCast())this.applyFieldStyle(t)}getCellColor(){if(this.crossTabStyleColor instanceof Fe)return this.crossTabStyleColor;if(!De.isNullOrEmpty(this.crossTabStyle)&&null!=this.report){var t=this.report.styles.getByName(this.crossTabStyle).stimulsoft().as(lu);if(null!=t)return t.color}if(-1!=this.crossTabStyleIndex)return Hd.Designer.CrossTab.styleColors[this.crossTabStyleIndex];return Fe.white}applyFieldStyle(t){if(null==t)return;var e;!De.isNullOrEmpty(this.crossTabStyle)&&null!=this.report&&null!=this.report.styles.getByName(this.crossTabStyle)&&this.report.styles.getByName(this.crossTabStyle).is(lu)?""!=t.componentStyle&&(e=this.report.styles.getByName(this.crossTabStyle).as(lu),t.is(Ae.at.StiCrossColumn)||t.is(Ae.at.StiCrossTitle)||t.is(Ae.at.StiCrossColumnTotal)||t.is(Ae.at.StiCrossSummaryHeader)&&this.summaryDirection==mu.LeftToRight?(t.textBrush=new si(e.columnHeaderForeColor),t.brush=new si(e.columnHeaderBackColor)):t.is(Ae.at.StiCrossRow)||t.is(Ae.at.StiCrossRowTotal)||t.is(Ae.at.StiCrossSummaryHeader)&&this.summaryDirection==mu.UpToDown?(t.textBrush=new si(e.rowHeaderForeColor),t.brush=new si(e.rowHeaderBackColor)):(t.textBrush=new si(e.cellForeColor),t.brush=new si(e.cellBackColor))):"CrossTab"==t.componentStyle||De.isNullOrEmpty(t.componentStyle)||null==this.report||null==this.report.styles.getByName(t.componentStyle)?(t.brush=new si(Fe.white),t.border.color=jl.dark(this.getCellColor(),100),t.textBrush=new si(Fe.black),(t.is(Ae.at.StiCrossTitle)||t.is(Ae.at.StiCrossRow)||t.is(Ae.at.StiCrossColumn)||t.is(Ae.at.StiCrossSummaryHeader))&&(t.brush=new si(this.getCellColor()),t.textBrush=new si(jl.dark(this.getCellColor(),150))),t.is(Ae.at.StiCrossTotal)&&(t.brush=new si(jl.light(this.getCellColor(),50))),t.is(Ae.at.StiCrossSummary)&&(t.brush=new si(jl.light(this.getCellColor(),100)))):this.report.styles.getByName(t.componentStyle).setStyleToComponent(t)}get rightToLeft(){return this._rightToLeft}set rightToLeft(t){this._rightToLeft!=t&&(this._rightToLeft=t)}createNew(){return new e}};Ae.at.StiCrossTab=e}Ae.an.StiGetSummaryExpressionEvent=class extends Ae.an.StiEvent{toString(){return"GetSummaryExpression"}},Ae.an.StiGetGroupConditionEvent=class extends Ae.an.StiEvent{toString(){return"GetValue"}};let Pu=Ae.an.StiGetSummaryExpressionEvent,Iu=Ae.an.StiGetGroupConditionEvent;{let r=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepGroupHeaderTogether=!0,this.keepGroupTogether=!1,this._startNewPage=!1,this.sortDirection=Ae.ap.StiGroupSortDirection.Ascending,this.summarySortDirection=Ae.ap.StiGroupSortDirection.None,this.summaryType=Ae.ap.StiGroupSummaryType.Sum,this._printOnAllPages=!1,this.line=0,this._condition="",this._summaryExpression="",this._collapsed=""}implements(){return super.implements().concat([Ae.ap.IStiGroup,Ae.ap.IStiPrintOnAllPages,Ae.ap.IStiKeepGroupTogether,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("KeepGroupHeaderTogether","",!0),new Wi("KeepGroupTogether"),new Wi("StartNewPage","_"),new ji("StartNewPageIfLessThan","",100),new Gi("SortDirection","",Ae.ap.StiGroupSortDirection,Ae.ap.StiGroupSortDirection.Ascending),new Gi("SummarySortDirection","",Ae.ap.StiGroupSortDirection,Ae.ap.StiGroupSortDirection.None),new Gi("SummaryType","",Ae.ap.StiGroupSummaryType,Ae.ap.StiGroupSummaryType.Sum),new Wi("PrintOnAllPages","_"),new Ga("Condition"),new Ga("SummaryExpression"),new Ua("GetSummaryExpressionEvent",Pu),new Ua("GetValueEvent",Iu),new Ua("GetCollapsedEvent",Ss),new Ua("BeginRenderEvent",vs),new Ua("RenderingEvent",ys),new Ua("EndRenderEvent",bs),new Ga("Collapsed").check(t=>t==as.Report)])}clone(t,e){let r=super.clone(t,e);return r._groupHeaderBandInfo=this.groupHeaderBandInfo.clone(),r}get startNewPage(){return this._startNewPage}set startNewPage(t){this._startNewPage=t}get startNewPageIfLessThan(){if(null==this.breakIfLessThan)return 100;return this.breakIfLessThan}set startNewPageIfLessThan(t){this.breakIfLessThan=t}saveState(t){super.saveState(t),super.getStates().pushInt(t,this,"line",this.line)}restoreState(t){this.states.isExist(t,this)&&(this.line=this.states.popInt(t,this,"line")),super.restoreState(t)}get headerStartColor(){return Fe.fromArgb(239,155,52)}get headerEndColor(){return Fe.fromArgb(239,155,52)}get printOnAllPages(){return this._printOnAllPages}set printOnAllPages(t){this._printOnAllPages=t}get groupHeaderBandInfo(){return null==this._groupHeaderBandInfo&&(this._groupHeaderBandInfo=new Ae.ap.StiGroupHeaderBandInfo),this._groupHeaderBandInfo}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.GroupHeaderBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}getComponentType(){return Ae.ap.StiComponentType.Detail}get priority(){return Ae.ap.StiComponentPriority.GroupHeaderBand}getDataBand(){var t,e;if(null==this.parent)return null;for(let t=this.parent.components.indexOf(this)+1;t<this.parent.components.count;t++)if(this.parent.components.getByIndex(t).is(Ae.ap.StiDataBand))return this.parent.components.getByIndex(t);return null}onGetSummaryExpression(t){}invokeGetSummaryExpression(e){try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){this.onGetSummaryExpression(e);let t=this.events.get(r.eventGetSummaryExpression);null!=t&&t(this,e)}else{this.onGetSummaryExpression(e),e.value=Ae.bb.StiParser.parseTextValue(this.summaryExpression,this);let t=this.events.get(r.eventGetSummaryExpression);null!=t&&t(this,e)}ja.invokeBlockly(this.report,this,this.getSummaryExpressionEvent,e)}catch(t){Ae.b.StiError.showError(t.message,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoGetSummaryExpression...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getSummaryExpressionEvent(){return new Pu(this)}set getSummaryExpressionEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventGetSummaryExpression,za.create(t.script,this.report))}onGetValue(t){}invokeGetValue(e){try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){this.onGetValue(e);let t=this.events.get(r.eventGetValue);null!=t&&t(this,e)}else{this.onGetValue(e),e.value=Ae.bb.StiParser.parseTextValue(this.condition,this);let t=this.events.get(r.eventGetValue);null!=t&&t(this,e)}ja.invokeBlockly(this.report,this,this.getValueEvent,e)}catch(t){Ae.b.StiError.showError(t.message,!1)}}get getValueEvent(){return new Iu(this)}set getValueEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventGetValue,za.create(t.script,this.report))}onGetCollapsed(t){}invokeGetCollapsed(e){try{this.onGetCollapsed(e),null!=this.report&&this.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&0<this.collapsed.length&&(e.value=Ae.bb.StiParser.parseTextValue(this.collapsed,this));let t=this.events.get(r.eventGetCollapsed);null!=t&&t(this,e),ja.invokeBlockly(this.report,this,this.getCollapsedEvent,e)}catch(e){Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoGetCollapsed...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),e)}}get getCollapsedEvent(){return new Ss(this)}set getCollapsedEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventGetCollapsed,za.create(t.script,this.report))}onBeginRender(){}invokeBeginRender(){this.onBeginRender();let t=this.events.get(r.eventBeginRender);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.renderingEvent)}get beginRenderEvent(){return new vs(this)}set beginRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventBeginRender,Ha.create(t.script,this.report))}onRendering(){}invokeRendering(){this.onRendering();let t=this.events.get(r.eventRendering);null!=t&&t(this)}get renderingEvent(){return new ys(this)}set renderingEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventRendering,Ha.create(t.script,this.report))}onEndRender(){}invokeEndRender(){this.onEndRender();let t=this.events.get(r.eventEndRender);null!=t&&t(this),ja.invokeBlockly(this.report,this,this.endRenderEvent)}get endRenderEvent(){return new bs(this)}set endRenderEvent(t){null!=t&&t.set(this,t.script),this.events.set(r.eventEndRender,Ha.create(t.script,this.report))}get condition(){return this._condition}set condition(t){null!=t&&(this._condition=t)}get summaryExpression(){return this._summaryExpression}set summaryExpression(t){null!=t&&(this._summaryExpression=t)}get collapsed(){return this._collapsed}set collapsed(t){null!=t&&(this._collapsed=t)}getHeaderText(){let t=null;return t=De.isNullOrEmpty(this.alias)?this.name:Hd.Dictionary.showOnlyAliasForComponents?this.alias:this.name+" ["+this.alias+"]",t+"; "+ne.get("PropertyMain","Condition")+": "+this.condition}createNew(){return new r}getCurrentConditionValue(){return Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(this)}};r.eventGetSummaryExpression={},r.eventGetValue={},r.eventGetCollapsed={},r.eventBeginRender={},r.eventRendering={},r.eventEndRender={},Ae.ap.StiGroupHeaderBand=r}let Au=Ae.ap.StiGroupHeaderBand,xu=Ae.ap.IStiComponentsOwnerRenderer,Du=Ae.ap.StiPanel;{let l=class extends Ae.aq.StiComponentBuilder{static getRenderContainer(t,e=null){let r=null;null!=e?(r=Ae.b.Activator.createInstance(e),r.clientRectangle=t.clientRectangle.clone()):t.is(Du)?(r=new Du(t.clientRectangle.clone()),r.columns=t.columns):r=new Ql(t.clientRectangle.clone()),r.minSize=t.minSize,r.maxSize=t.maxSize,r.dockStyle=t.dockStyle,r.name=t.name,r.parentComponentIsBand=t.is(xs),r.parentComponentIsCrossBand=t.is(Ae.ap.StiCrossDataBand),r.canBreak=t.canBreak,r.canGrow=t.canGrow,r.canShrink=t.canShrink,r.growToHeight=t.growToHeight,r.shiftMode=t.shiftMode,r.printable=t.printable,r.printOn=t.printOn,r.componentStyle=t.componentStyle,r.currentBookmark=t.currentBookmark,r.parentBookmark=t.parentBookmark,r.currentPointer=t.currentPointer,r.parentPointer=t.parentPointer,r.guid=t.guid,r.interaction=t.interaction,r.drillDownParameters=t.drillDownParameters,t.is(Au)&&(r.collapsingIndex=t.collapsingIndex,r.collapsedValue=t.collapsedValue),t.is(Ae.ap.StiDataBand)&&(r.collapsingIndex=t.collapsingIndex,r.collapsedValue=t.collapsedValue,r.collapsingTreePath=t.collapsingTreePath);var e=t.as(xs);null!=e&&(e.bandInfo.forceCanBreak&&(r.canBreak=!0),e.bandInfo.forceCanGrow&&(r.canGrow=!0));let i=t.as(Ql);return null!=i&&(r.brush=i.brush.clone(),r.border=i.border.clone()),Hd.Export.optimizeDataOnlyMode&&(r.componentPlacement=t.componentPlacement),r}internalRenderAsync(o){return Y.tsfb(this,void 0,void 0,function*(){let r=o,t=!1,i=l.getRenderContainer(r);if(r.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(i.pointer=r.pointer,i.bookmark=r.bookmark,i.hyperlink=r.hyperlink,i.tag=r.tag),!r.is2(xu))for(var e of r.components.list)if(null==e.parentBookmark&&(e.parentBookmark=r.currentBookmark),null==e.parentPointer&&(e.parentPointer=r.currentPointer),e.componentType==Ae.ap.StiComponentType.Simple){e.parentBookmark=r.currentBookmark,e.parentPointer=r.currentPointer;let t=yield e.renderAsync();if(null!=t){var e=t.as(Ql);if(null!=e&&-1!=e.containerInfo.setSegmentPerWidth&&(i.containerInfo.setSegmentPerWidth=e.containerInfo.setSegmentPerWidth),i.components.add(t),Hd.Engine.allowInteractionInChartWithComponents){var e=t.as(Ae.as.IStiChart);if(null!=e&&null!=e.chartInfo.interactiveComps)for(var n of e.chartInfo.interactiveComps)n.left+=t.left,n.top+=t.top,i.components.add(n)}}}if(!r.report.engine.denyRenderMasterComponentsInContainer&&!r.is2(xu))for(var a of r.components.list)a.parentBookmark=r.currentBookmark,a.parentPointer=r.parentPointer,a.componentType==Ae.ap.StiComponentType.Master&&(yield a.renderAsync(),a.is(Ae.ap.StiDataBand)&&(t=!0));if(t){let t=!1,e=r;while(1){if(e.is(Ae.ap.StiPageHeaderBand)||e.is(Ae.ap.StiPageFooterBand)||e.is(Ae.ap.StiReportTitleBand)||e.is(Ae.ap.StiReportSummaryBand)){t=!0;break}if(null==e||e.is(Ae.ap.StiPage))break;e=e.parent}yield Ae.aq.StiSubReportsHelper.renderDataBandsInContainerAsync(i,r,t)}var s=i.width;return Wl.checkSize(i),i.parentComponentIsCrossBand||(i.width=s),i})}internalRender(t){let r=t,e=!1,i=l.getRenderContainer(r);if(r.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(i.bookmark=r.bookmark,i.hyperlink=r.hyperlink,i.tag=r.tag),!r.is2(xu))for(var n of r.components.list)if(null==n.parentBookmark&&(n.parentBookmark=r.currentBookmark),null==n.parentPointer&&(n.parentPointer=r.currentPointer),n.componentType==Ae.ap.StiComponentType.Simple){n.parentBookmark=r.currentBookmark,n.parentPointer=r.currentPointer;let t=n.render();if(null!=t){var n=t.as(Ql);if(null!=n&&-1!=n.containerInfo.setSegmentPerWidth&&(i.containerInfo.setSegmentPerWidth=n.containerInfo.setSegmentPerWidth),i.components.add(t),Hd.Engine.allowInteractionInChartWithComponents){var n=t.as(Ae.as.IStiChart);if(null!=n&&null!=n.chartInfo.interactiveComps)for(var a of n.chartInfo.interactiveComps)a.left+=t.left,a.top+=t.top,i.components.add(a)}}}if(!r.report.engine.denyRenderMasterComponentsInContainer&&!r.is2(xu))for(var s of r.components.list)s.parentBookmark=r.currentBookmark,s.parentPointer=r.currentPointer,s.componentType==Ae.ap.StiComponentType.Master&&(s.render(),s.is(Ae.ap.StiDataBand)&&(e=!0));if(e){let t=!1,e=r;while(1){if(e.is(Ae.ap.StiPageHeaderBand)||e.is(Ae.ap.StiPageFooterBand)||e.is(Ae.ap.StiReportTitleBand)||e.is(Ae.ap.StiReportSummaryBand)){t=!0;break}if(null==e||e.is(Ae.ap.StiPage))break;e=e.parent}Ae.aq.StiSubReportsHelper.renderDataBandsInContainer(i,r,t)}var t=i.width;return Wl.checkSize(i),i.parentComponentIsCrossBand||(i.width=t),i}};Ae.aq.StiContainerBuilder=l}let Bu=Ae.at.StiCrossTab,Eu=Ae.ap.StiComponentsCollection;Ae.aq.StiBandBuilder=class extends Ae.aq.StiContainerBuilder{static getChildBands(t){let e=new Eu,r=t.parent.components.indexOf(t)+1;while(r<t.parent.components.count){if(!t.parent.components.getByIndex(r).is(Yl))break;e.add(t.parent.components.getByIndex(r)),r++}return e}static getSubReports(t){let e=new Eu;for(var r of t.components.list)r.is(yl)&&e.add(r);return e}prepare(t){super.prepare(t);let e=t;var r,i;for(i of e.getComponents().list){var n=i.as(yl);if(null!=n){n.keepSubReportTogether||(e.bandInfo.forceCanBreak=!0),e.bandInfo.forceCanGrow=!0;break}var n=i.as(Bu);if(null!=n){n.keepCrossTabTogether||(e.bandInfo.forceCanBreak=!0),e.bandInfo.forceCanGrow=!0;break}}}},Ae.aq.StiGroupHeaderBandBuilder=class extends Ae.aq.StiBandBuilder{static getMaster(t){let e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){if(t.parent.components.getByIndex(e).is(Jl))return t.parent.components.getByIndex(e);e++}return null}static getCurrentConditionValue(t){var e=new ns(null);return t.invokeGetValue(e),e.value}static getCurrentSummaryExpressionValue(t){var e=new ns(null);return t.invokeGetSummaryExpression(e),e.value}setReportVariables(t){let e=t;e.report.groupLine=e.line}prepare(t){let e=t;super.prepare(e),e.line=1}};{let t=class extends Ae.ap.StiDataBand{constructor(t=os.empty){super(t),this.keyDataColumn="",this.masterKeyDataColumn="",this.parentValue="",this.indent=20,this.headers="",this.footers=""}implements(){return super.implements().concat([Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("KeyDataColumn"),new Ui("MasterKeyDataColumn"),new Ui("ParentValue"),new ji("Indent","",20),new Ui("Headers"),new Ui("Footers")])}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.HierarchicalBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get headerStartColor(){return Fe.fromArgb(118,167,151)}get headerEndColor(){return Fe.fromArgb(118,167,151)}get hierarchicalBandInfo(){return null==this._hierarchicalBandInfo&&(this._hierarchicalBandInfo=new Ae.ap.StiHierarchicalBandInfo),this._hierarchicalBandInfo}createNew(){return new t}};Ae.ap.StiHierarchicalBand=t}let ku=Ae.d.IStiAppCell,Nu=Ae.C.StiDataPicker,Fu=Ae.bi.IEnumerator,Ru=Ae.ap.StiHierarchicalBand,Lu=Ae.aq.StiGroupHeaderBandBuilder,Mu=Ae.ap.StiGroupSummaryType,Ou=Ae.d.IStiAppDataSource;Ae.am.StiDataSource=class{constructor(t,e,r=""){this.inherited=!1,this.positionValue=0,this.isBofValue=!1,this.isEofValue=!1,this._states=null,this.nameOfDataBandWhichInitDataSource=null,this.isInited=!1,this.initForSubreport=!1,this.xmlRefAttrValue=null,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null,this.calcColumns=new Dt,this.detailRows=null,this.rowToLevel=null,this._isCloud=!1,this.connectionOrder=Ae.am.StiConnectionOrder.Standard,this.connectOnStart=!0,this.key=null,this.name=t,this.alias=e,De.isNullOrEmpty(this.alias)&&(this.alias=t),this.rows=new Ae.am.StiRowsCollection(this),this.columns=new Ae.am.StiDataColumnsCollection(this),this.parameters=new Ae.am.StiDataParametersCollection(this),this.key=r}implements(){return[Jt,ku,Ou,Ae.c.IStiStateSaveRestore,Ae.am.IStiEnumerator,Fu,Ae.c.IStiName,Ae.c.IStiAlias,Ae.c.IStiInherited,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("Inherited"),new Ui("Name","_"),new Wi("IsCloud","_"),new Ui("Alias"),new Ui("Key"),new Ma("Columns","_")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}getNameInSource(){var t=this.stimulsoft().as(Ae.am.StiDataStoreSource);return null==t||De.isNullOrEmpty(t.nameInSource)?"":t.nameInSource}getName(){return this.name}getDataTable2(n){var a;return Y.tsfb(this,void 0,void 0,function*(){if(!n)return this.dataTable;let e=this.stimulsoft().as(Ae.am.StiSqlSource),t=this.stimulsoft().as(Ae.am.StiVirtualSource),r="";try{if(null!=e){r=e.sqlCommand;let t=new Ae.ap.StiText;t.name="**DataSourceParameter**",t.page=this.dictionary.report.pages.getByIndex(0);for(var i of this.parameters.list)i.parameterValue=Ae.bb.StiParser.parseTextValue(null!==(a="{"+i.value)&&1?a:"}",t);e.sqlCommand=Qt.toString(Ae.bb.StiParser.parseTextValue(e.sqlCommand,t)),Ae.am.StiDataSourceParserHelper.connectSqlSource(e),yield Ae.am.StiDataLeader.connectAsync2(this,null)}else null!=t?yield t.connectToDataAsync2(!0):yield Ae.am.StiDataLeader.connectAsync2(this,null)}catch(t){this.dataTable=null}return null!=e&&(e.sqlCommand=r),this.dataTable})}getDictionary(){return this.dictionary}fetchColumns(){return this.columns.toList().cast()}getConnection(){return Ae.am.StiDataSourceHelper.getDatabaseFromDataSource(this)}fetchParentRelations(t){return this.parentRelationList(t)}fetchChildRelations(t){return this.childRelationList(t)}fetchColumnValues(t){let r=new Ee;if(null==t||0==t.length)return r;let i=t.select(t=>this.columns.getByName(t));if(i.all(t=>null==t))return r;if(null==this.dataTable||0==this.dataTable.rows.count)return r;this.first();for(var n of this.dataTable.rows.list){let e=[];for(var a of i)if(a.is(Ae.am.StiCalcDataColumn)){var s="{"+a.value+"}",s=Ae.aA.StiReportParser.parse(s,this.dictionary.report.pages.getByIndex(0),!1);try{e.push(Ra.changeType(s,a.type))}catch(t){e.push(null)}}else{var a=this.dataTable.columns.getIndexByName(a.nameInSource),a=n.gett(a);e.push(a)}r.add(e),this.next()}return this.first(),r}getKey(){return this.key=_i.getOrGeneratedKey(this.key),this.key}setKey(t){this.key=t}get current(){return this}moveNext(){return this.next(),!this.isEof}reset(){this.first()}getEnumerator(){return this}get name(){return this._name}set name(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&Hd.Designer.autoCorrectDataSourceName&&(t=Ae.c.StiNameValidator.correctName(t)),this._name=t}get position(){return this.positionValue}set position(t){this.positionValue=t}get realCount(){if(null!=this.detailRows)return this.detailRows.length;return null==this.dataTable?0:this.dataTable.rows.count}get count(){if(0==this.realCount&&Hd.Engine.emulateData){if(null==this.dataTable)return 1;if(null!=this.dataTable&&0==this.dataTable.rows.count)return 1}return this.realCount}get isBof(){if(this.isEmpty)return!0;return this.isBofValue}set isBof(t){this.isBofValue=t}get isEof(){if(this.isEmpty)return!0;return this.isEofValue}set isEof(t){this.isEofValue=t}get isEmpty(){return 0==this.count}first(){this.positionValue=0,this.isEofValue=!1,this.isBofValue=!0}prior(){this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--}next(){if(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this.count-1)return void(this.isEofValue=!0);this.positionValue++}last(){this.positionValue=this.count-1,this.isEofValue=!0,this.isBofValue=!1}clone(){let e=this.stimulsoft().memberwiseClone();e.columns=new Ae.am.StiDataColumnsCollection(e);for(var r of this.columns.list){let t=r.stimulsoft().memberwiseClone(!0);t.key=Ts.newGuid(),t.dataSource=e,e.columns.add(t)}return e}memberwiseClone(){var t;return new(this.stimulsoft().getType())}get states(){return null==this._states&&(this._states=new Ae.c.StiStatesManager),this._states}saveState(t){this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),this.states.push(t,this,"detailRows",this.detailRows),this.states.push(t,this,"resFilterMethod",this.resFilterMethod),this.states.pushBool(t,this,"IsInited",this.isInited)}restoreState(t){if(!this.states.isExist(t,this))return;this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this.positionValue=this.states.popInt(t,this,"positionValue"),this.detailRows=this.states.pop(t,this,"detailRows"),this.resFilterMethod=this.states.pop(t,this,"resFilterMethod"),this.isInited=this.states.popBool(t,this,"IsInited"),this.states.clearState(t)}clearAllStates(){this._states=null}isEqualSort(t,e){if(null==t&&null==e)return!0;if(null!=t&&null==e)return!1;if(null==t&&null!=e)return!1;if(t.length!=e.length)return!1;let r=0;for(var i of t){if(i!=e[r])return!1;r++}return!0}setData(e,t,r,i,n,a){var s=!1;if(this.resFilterMethod!=r&&(this.isInited=!1),this.isEqualSort(i,this.resSortColumns)||(this.isInited=!1),null!=e&&(e.name!=this.nameOfDataBandWhichInitDataSource&&(this.isInited=!1),this.nameOfDataBandWhichInitDataSource=e.name),!s&&this.isInited&&!n&&!this.initForSubreport&&t==this.relationNameStored)return;if(null!=e){let t=e.report;null==t&&null!=a&&(t=a.report),null!=t&&t.cacheTotals&&null!=t.cachedTotals&&!t.cachedTotalsLocked&&t.cachedTotals.set(e,null)}let o=null;null!=e&&(o=e.dataBandInfo.groupHeaders,e.dataBandInfo.groupHeaderCachedResults=null,e.dataBandInfo.groupFooterCachedResults=null),this.detailRows=null,this.setDetails(t),Hd.Engine.filterDataInDataSourceBeforeSorting&&this.setFilter(r);var n=this.getConditions(e);this.setSort(n,i,a,e,o),Hd.Engine.filterDataInDataSourceBeforeSorting||this.setFilter(r),this.isInited=!0,t=this.relationNameStored}getConditions(r){let i=null;if(null==r)return i;let n=null;if(n=r.dataBandInfo.groupHeaders,null!=n&&0<n.count){var e=r.isEof,a=r.isBof,s;let t=0;for(s of n.toCast())s.sortDirection!=Ae.ap.StiGroupSortDirection.None&&t++;if(0==t)return i;i=[];for(let e=0;e<r.count;e++){r.position=e;let t=[];for(var o of n.toCast())o.sortDirection!=Ae.ap.StiGroupSortDirection.None?t.push([Lu.getCurrentConditionValue(o),o.sortDirection]):t.push([null,null]);i.push(t)}r.isEof=e,r.isBof=a}return i}setDetails(r){let t=this.stimulsoft().as(Ae.am.StiSqlSource);if(null!=t&&t.reconnectOnEachRow&&t.updateParameters(),!De.isNullOrEmpty(r)){var i=this.dictionary.relations.getByName(r);if(null!=i){let e=i.parentSource;if(null!=e){let t=e.dataTable;null!=t&&(null!=e.detailRows?0!=e.detailRows.length?e.position<e.detailRows.length?this.detailRows=e.detailRows[e.position].getChildRows(r):this.detailRows=[]:this.detailRows=e.detailRows:e.position<t.rows.count&&(this.detailRows=t.rows.getByIndex(e.position).getChildRows(r)))}}}}setFilter(t){if(null!=t&&0<this.realCount){var r=this.position,i=this.dictionary.report.line;let e=new Array;if(t.stimulsoft().is(Ae.bb.StiFilterParserData)){var n=t;for(let t=0;t<this.count;t++){this.position=t,this.dictionary.report.line=t+1;try{var a=Ae.bb.StiParser.parseTextValue(n.expression,n.component);"boolean"==typeof a&&a&&(null==this.detailRows?e.push(this.dataTable.rows.getByIndex(t)):e.push(this.detailRows[t]))}catch(t){Ae.b.StiError.showError(t,!1)}}}this.detailRows=e,this.position=r,this.dictionary.report.line=i}}setSort(s,o,i,l,u){try{if(null!=i&&i.is(Ru)){if(0==this.realCount)return;null==this.detailRows&&null!=this.dataTable&&(this.detailRows=ke.create(Sn,this.dataTable.rows.count),this.dataTable.rows.copyTo(this.detailRows,0));let t=new Dt,e=0;for(var n of this.detailRows)t.set(n.recordIndex,e++);let r=new Ae.am.StiHierarchicalDataSort(this,i.stimulsoft().as(Ru),o);return void r.process(t)}if((null!=s||null!=o)&&0<this.realCount){let r=[];if(null==this.detailRows&&null!=this.dataTable)for(var h of this.dataTable.rows.list)r.push(h);if(null!=this.detailRows)for(var c of this.detailRows)r.push(c);let t=new Dt,e=0;for(var d of r)t.set(d.recordIndex,e++);let i=new Ae.am.StiDataSort(t,s,o,this);r.stimulsoft().sort2(i);let n=0;this.detailRows=[];for(var m of r)this.detailRows[n++]=m;let a=!1;if(null!=u)for(var p of u.toCast())if(p.summarySortDirection!=Ae.ap.StiGroupSortDirection.None){a=!0;break}if(a){let a=new Dt,s=new Dt,o=ke.create(Number,u.count),e=new Dt,t=0;for(var g of r){l.position=t,e.set(g.recordIndex,t),Ae.aq.StiDataBandBuilder.prepareGroupResults(l);let n=0;for(var f of u.toCast()){if(f.guid=n.toString(),l.dataBandInfo.groupHeaderResults[n]&&null!=f.report){let t=f.report;t.cacheTotals&&null!=t.cachedTotals&&t.cachedTotals.set(f,null)}let t=null,e=f;if(f.summaryType!=Mu.Count)if(f.report.calculationMode==Ae.c.StiCalculationMode.Compilation){if(t=f.name+"__GetSummaryExpression",null==Ae.c.Totals.getMethod(f.report,t))continue}else{if(De.isNullOrEmpty(f.summaryExpression))continue;var S=!1,b=new Ae.bb.StiParser,y={ref:S},v=Ae.bb.StiParser.parseTextValue(f.summaryExpression,f,f,y,!1,!0,b);e=new Ae.bb.StiParserData(f,v,b)}let r=null;switch(f.summaryType){case Mu.Avg:try{r=Qt.changeType(Ae.c.Totals.avg(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.AvgDate:try{r=Ae.b.Convert.changeType(Ae.c.Totals.avgDate(e,f.report,t),z)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.AvgTime:try{r=Ae.b.Convert.changeType(Ae.c.Totals.avgTime(e,f.report,t),lt)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Count:try{r=Ae.c.Totals.count(f)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.CountDistinct:try{r=Ae.c.Totals.countDistinct(f,f.report,t)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Max:try{r=Ae.b.Convert.changeType(Ae.c.Totals.max(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.MaxDate:try{r=Ae.b.Convert.changeType(Ae.c.Totals.maxDate(e,f.report,t),z)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.MaxTime:try{r=Ae.b.Convert.changeType(Ae.c.Totals.maxTime(e,f.report,t),lt)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Median:try{r=Ae.b.Convert.changeType(Ae.c.Totals.median(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Min:try{r=Ae.b.Convert.changeType(Ae.c.Totals.min(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.MinDate:try{r=Ae.b.Convert.changeType(Ae.c.Totals.minDate(e,f.report,t),z)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.MinTime:try{r=Ae.b.Convert.changeType(Ae.c.Totals.minTime(e,f.report,t),lt)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Mode:try{r=Ae.b.Convert.changeType(Ae.c.Totals.mode(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.Sum:try{r=Ae.b.Convert.changeType(Ae.c.Totals.sum(e,f.report,t),Number)}catch(t){Ae.b.StiError.showError(t,!1)}break;case Mu.SumTime:try{r=Ae.b.Convert.changeType(Ae.c.Totals.sumTime(e,f.report,t),lt)}catch(t){Ae.b.StiError.showError(t,!1)}break}l.dataBandInfo.groupHeaderResults[n]&&o[n]++;let i=a.get(f.guid);null==i&&(i=new Dt,a.set(f.guid,i)),i.set(g.recordIndex,r),i=s.get(f.guid),null==i&&(i=new Dt,s.set(f.guid,i)),i.set(g.recordIndex,o[n]),n++}t++}if(null!=a&&0<a.count){l.dataBandInfo.groupHeaderCachedResults=null,l.dataBandInfo.groupFooterCachedResults=null;let t=new Ae.am.StiGroupSummaryDataSort(a,s,u,e);r.stimulsoft().sort2(t),n=0,this.detailRows=[];for(var w of r)this.detailRows[n++]=w;t.clear()}}i.clear()}}catch(t){if(Ae.b.StiError.showError("SetSort...ERROR:"+t.message,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"SetSort...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}resetDetailsRows(){this.detailRows=null}resetData(){this.isInited=!1,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null}getDataRow(t){if(null==this.detailRows){if(null!=this.dataTable&&t<this.dataTable.rows.count)return this.dataTable.rows.getByIndex(t);return null}if(t<this.detailRows.length)return this.detailRows[t];return null}getParentData(t){var t,e,e;let r=this.getDataRow(this.position);return null!=r&&(null!=(e=this.dictionary.relations.getByName(t))&&(t=e.nameInSource),e=r.getParentRows(t),r=null!=e&&0<e.length?e[0]:null),new Ae.am.StiDataRow(null===(t=this.dictionary.relations.getByName(t))||void 0===t?void 0:t.parentSource,r)}getParentRelations(){let t=new Ae.am.StiDataRelationsCollection(this.dictionary);if(null==this.dictionary)return t;for(var e of this.dictionary.relations.list)e.childSource==this&&t.add(e);return t}getChildRelations(){let t=new Ae.am.StiDataRelationsCollection(this.dictionary);for(var e of t.list)e.parentSource==this&&t.add(e);return t}getParentDataSource(t,e=!1){for(var r of this.dictionary.relations.list){if(r.childSource==this&&r.nameInSource==t)return r.parentSource;if(r.childSource==this&&e&&r.name==t)return r.parentSource}for(var i of this.dictionary.relations.list)if(i.childSource==this&&Ae.c.StiNameValidator.correctName(i.nameInSource)==t)return i.parentSource;return null}getChildDataSource(t){for(var e of this.dictionary.relations.list)if(e.parentSource==this&&e.nameInSource==t)return e.childSource;return null}parseSqlQuery(r,i){let n=new Ae.ap.StiText;n.name="**DataSourceSqlCommand**",n.page=this.dictionary.report.pages.getByIndex(0);let a="";while(0<=r.indexOf("{")){a+=r.substr(0,r.indexOf("{"));var s=(r=r.substr(r.indexOf("{"))).substr(0,r.indexOf("}")+1);let t=null;try{t=Ae.bb.StiParser.parseTextValue(s,n)}catch(t){}let e=Ae.b.Convert.toString(t);i.is(Ae.am.StiODataSource)&&t instanceof z&&(e=t.toString("YYYY-MM-DDThh:mm:ss")),null!=t?!0===Hd.Engine.escapeQueryParameters?a+=e.replace(/\\/gi,"\\\\").replace(/\'/gi,"\\'").replace(/\"/gi,'\\"'):a+=e:a+=s,r=r.substr(r.indexOf("}")+1)}return a+r}invokeConnecting(){var i;try{let t=!0;if(null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(t=!1),!t){let e=new Ae.ap.StiText;e.name="**DataSourceParameter**",e.page=this.dictionary.report.pages.getByIndex(0);for(var n of this.parameters.list)n.parameterValue=Ae.bb.StiParser.parseTextValue("{"+(null!==(i=n.value)&&void 0!==i?i:"")+"}",e);let r=this.as(Ae.am.StiSqlSource);if(null!=r){let t=null;null!=this.dictionary.report.variables&&null!=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+r.name)&&(t=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+r.name)),"string"==typeof t&&(r.sqlCommand=Ae.bb.StiParser.parseTextValue(t,e))}}}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Datasource '"+this.name+"' connecting...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}invokeDisconnecting(){try{}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Datasource '"+this.name+"' disconnecting...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}connectAsync(t,e){let r=new _r;try{null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var i=this.getDataAdapter();if(null==i){var n=Ae.am.StiDataSourceHelper.getDatabaseFromDataSource(this);return r.callCatch("Database '"+n.serviceName+"' not supported!"),r}Ae.am.StiDataLeader.connectDataSourceToDataAsync(i,this.dictionary,this,e).try(()=>{r.callTry()}).catch(t=>{r.callCatch(t)}).abort(r)}catch(t){r.callCatch(t.message)}return r}connect(t,e){null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var r=this.getDataAdapter();if(Ae.am.StiDataLeader.connectDataSourceToData(r,this.dictionary,this,e),(null==this.dataTable||0==this.realCount)&&Hd.Engine.emulateData&&this.dictionary.report.isRendering){let r=this.dataTable;if(null==r){r=new ze;for(var i of this.columns.list){var i=new it(i.nameInSource,i.type);r.columns.add(i)}}try{let e=r.newRow();for(var n of this.columns.list){var a=n.type;let t=No.value;a==String?t=null!=this.dataTable&&null!=this.dataTable.columns.getByName(n.nameInSource)&&this.dataTable.columns.getByName(n.nameInSource).stimulsoft().getType()==String?"Test":"":a==Boolean?t=!0:a==z?t=z.now:a==Ae.b.Char&&(t=" "),t=0,e.setValue(n.nameInSource,t)}r.rows.add(e)}catch(t){Ae.b.StiError.showError(t,!1),this.dataTable=null,this.dataTable=r}}}getDataAdapterType(){return null}fillColumns(){try{var t;if(null==Ae.am.StiDataAdapterService.getDataAdapter(this))return}catch(t){if(Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}getDataAdapter(){let e=this.getDataAdapterType();var t;return Hd.Services.dataAdapters.firstOrDefault(t=>t.serviceEnabled&&t.stimulsoft().getType()==e)}getDataTable(a=null){try{if(null==a){if(null!=this.dataTable)return this.getDataTable(this.dataTable);return new ze(this.name)}let i=a.clone(),n=new Array(i.columns.count);for(let t=0;t<i.columns.count;t++){var e=i.columns.getByIndex(t);n[t]=a.columns.getIndexByName(e.columnName)}for(let r=0;r<a.rows.count;r++){let e=i.addNewRow();for(let t=0;t<i.columns.count;t++)try{e.sett(t,a.rows.getByIndex(r).gett(n[t]))}catch(t){Ae.b.StiError.showError(t,!1)}}return i}catch(t){if(!Hd.Engine.hideExceptions)throw t}return new ze(this.name)}getByName(t){return this.getData(t)}GetData(t,e=this.position){return this.getData(t,e)}getData(e,r=this.position){try{if(this.isConnected){var i=this.calcColumns.get(e);if(null!=i){let t=new Ae.ap.StiText;return t.page=this.dictionary.report.pages.getByIndex(0),t.name=this.dictionary.report.reportGuid,Ae.bb.StiParser.parseTextValue("{"+i.expression+"}",t)}{var n=this.getColumnIndex(e);if(n<0)return null;let t=this.getDataRow(r);if(null==t)return null;return t.getValue(n)}}{let t=Nu.getFromCache(this);if(null==t&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any(t=>t.isPage)&&(Ae.am.StiDataLeader.connect(this,null),t=this.getDataTable(),t=t.copy(),t=Nu.processCalculatedColumns(t,this),Nu.addToCache(this,{ref:t}),Ae.am.StiDataLeader.disconnect(this)),null!=t)return t.columns.contains(e)&&0<=r&&r<t.rows.count?t.rows.getByIndex(r).gett(e):No.value;return Ae.bk.DBNull}}catch(t){if(Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}return null}getDataAsync(e,r=this.position){let i=new _r;try{if(this.isConnected)return i.callTry(this.getData(e,r));{let t=Nu.getFromCache(this);null==t&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any(t=>t.isPage)&&Ae.am.StiDataLeader.connectAsync(this,null).try(()=>{if(t=this.getDataTable(),t=t.copy(),t=Nu.processCalculatedColumns(t,this),Nu.addToCache(this,{ref:t}),Ae.am.StiDataLeader.disconnect(this),null!=t)return i.callTry(t.columns.contains(e)&&0<=r&&r<t.rows.count?t.rows.getByIndex(r).gett(e):No.value);return i.callTry(No)}),i.callTry(No)}}catch(t){if(Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}return i}getColumnIndex(e){if(null!=this.columnsIndexs){let t=this.columnsIndexs.get(e);if(null==t&&(t=this.columnsIndexs.get(e.toLowerCase())),null==t)return-1;return t,+t}{let t=0;for(var r of this.columns.list){if(r.nameInSource==e)return t;t++}t=0;for(var i of this.columns.list){if(i.name==e||i.alias==e)return t;t++}return-1}}synchronizeColumns(){let t=this.stimulsoft().as(Ae.am.StiDataStoreSource);if(null==t)return;let e=null;for(var r of this.dictionary.dataStore.list)if(r.name.toLowerCase()==t.nameInSource.toLowerCase()){e=r;break}if(null==e)return;this.dictionary.synchronizeColumns(e,this)}checkColumnsIndexs(){if((null==this.columnsIndexs||0==this.columnsIndexs.keys.length)&&null!=this.dataTable&&0<this.dataTable.columns.count){this.columnsIndexs=new Dt;let r=new Dt;for(let t=0;t<this.dataTable.columns.count;t++)r.set(this.dataTable.columns.getByIndex(t).columnName.toLowerCase(),t);for(var i of this.columns.list){if(i.is(Ae.am.StiCalcDataColumn)){this.calcColumns.set(i.nameInSource.toLowerCase(),i),this.calcColumns.set(i.nameInSource,i),this.calcColumns.set(i.name,i),this.calcColumns.set(i.alias,i),this.calcColumns.set(Ae.c.StiNameValidator.correctName(i.name),i);continue}let t=-1,e=r.get(i.nameInSource.toLowerCase());null!=e&&(t=Ne.trunc(e.stimulsoft().toNumber())),this.columnsIndexs.set(i.nameInSource.toLowerCase(),t),this.columnsIndexs.set(i.nameInSource,t),this.columnsIndexs.set(i.name,t),this.columnsIndexs.set(i.alias,t),this.columnsIndexs.set(Ae.c.StiNameValidator.correctName(i.name),t)}}}toString(){if(Hd.Dictionary.showOnlyAliasForDataSource)return this.alias;return this.name==this.alias||De.isNullOrEmpty(this.alias)?this.name:De.format("{0} [{1}]",this.name,this.alias)}getLevel(){if(null==this.rowToLevel)return 0;let t=null;if(null!=this.detailRows){if(this.detailRows.length<=this.position)return 0;t=this.detailRows[this.position]}else{if(null==this.dataTable||this.dataTable.rows.count<=this.position)return 0;t=this.dataTable.rows.getByIndex(this.position)}var e=this.rowToLevel.get(t);if("number"==typeof e)return e;return 0}getCategoryName(){var t=Ae.am.StiDataAdapterService.getDataAdapter(this);if(null!=t)return t.serviceName;return""}createNew(){return null}get isCloud(){return!1}get dataTable(){return this._dataTable}set dataTable(t){if(this._dataTable=t,this.detailRows=null,null!=t&&(this.checkColumnsIndexs(),(this.is(Ae.am.StiDataTableSource)&&this.dictionary.report.cacheAllData||null==this._dataTable.dataSet)&&null!=this.dictionary.cacheDataSet)){let t=0,e=this._dataTable.tableName;while(null!=this.dictionary.cacheDataSet.tables.getByName(e))t++,e=De.format("{0}{1}",this.dataTable.tableName,t);this.dataTable.tableName!=e&&(this.dataTable.tableName=e),this.dictionary.cacheDataSet.tables.add(this.dataTable)}this.first()}get isConnected(){return null!=this._dataTable}get columns(){return this._columns}set columns(t){null!=(this._columns=t)&&(t.dataSource=this,t.toList().forEach(t=>t.dataSource=this))}disconnect(){if(null!=this.dataTable&&null!=this.dictionary&&null!=this.dictionary.cacheDataSet&&-1!=this.dictionary.cacheDataSet.tables.indexOf(this.dataTable)){let t=0;while(t<this.dictionary.cacheDataSet.relations.count){var e=this.dictionary.cacheDataSet.relations.getByIndex(t);e.parentTable==this.dataTable||e.childTable==this.dataTable?this.dictionary.cacheDataSet.relations.removeAt(t):t++}this.dictionary.cacheDataSet.tables.remove(this.dataTable),this.dataTable=null}this.rowToLevel=null,this.detailRows=null}getByColumnName(t){return this.getData(t)}parentRelationList(t=!1){let e=this.getParentRelations().toList().cast();return t&&e.any(t=>t.active)?e.where(t=>t.active):e}childRelationList(t=!1){let e=this.getChildRelations().toList().cast();return t&&e.any(t=>t.active)?e.where(t=>t.active):e}};let Hu=Ae.am.StiBusinessObject,_u=Ae.am.StiDataSource,Vu=Ae.b.ResourceManager;{(pt=ou=Ae.av.Gender||(Ae.av.Gender={}))[pt["Masculine"]=0]="Masculine",pt[pt["Feminine"]=1]="Feminine",pt[pt["Neutral"]=2]="Neutral";var yt=class{get gender(){return null}get centsGender(){return null}},Gu;Ae.av.BaseCurrency=yt,Ae.av.Currency=class extends yt{get dollars(){return null}get cents(){return null}get dollarOne(){return this.dollars[0]}get dollarTwo(){return this.dollars[1]}get dollarFive(){return this.dollars[2]}get centOne(){return this.cents[0]}get centTwo(){return this.cents[1]}get centFive(){return this.cents[2]}};var wt=class{static addWord(t,e,r){let i=t.ref;De.isNullOrEmpty(e)||(i=i+r+e),t.ref=i}static addWords(t,e,r,i,n){var a="",s={ref:a};return this.addWord(s,t," "),this.addWord(s,r," "),this.addWord(s,n," "),this.addWord(s,e," "),this.addWord(s,i," "),a=s.ref}static determinateCurrencies(t,e,r,i,n,a){let s=n.ref,o=a.ref;s=0<r/1e6&&r%1e6==0?l.resourceManager.getString(e+"BigSeparator",t):1<r?l.resourceManager.getString(e+"Plural",t):l.resourceManager.getString(e+"Single",t),o=1<i?l.resourceManager.getString(e+"CentPlural",t):l.resourceManager.getString(e+"CentSingle",t),n.ref=s,a.ref=o}};function Uu(t,e){return t+" : "+e.toString()}wt.maxValue=1e15,Ae.av.NumToWordHelper=wt,Ae.av.NumToWordException=Uu;let l=class{static get resourceManager(){return null==this.resourceMan&&(this.resourceMan=new Vu),this.resourceMan}static get culture(){return this.resourceCulture}static set culture(t){this.resourceCulture=t}static get eurBigSeparator(){return this.resourceManager.getString("EURBigSeparator",this.resourceCulture)}static get eurCentGender(){return this.resourceManager.getString("EURCentGender",this.resourceCulture)}static get eurCentPlural(){return this.resourceManager.getString("EURCentPlural",this.resourceCulture)}static get EURCentSingle(){return this.resourceManager.getString("EURCentSingle",this.resourceCulture)}static get EURGender(){return this.resourceManager.getString("EURGender",this.resourceCulture)}static get EURPlural(){return this.resourceManager.getString("EURPlural",this.resourceCulture)}static get EURSingle(){return this.resourceManager.getString("EURSingle",this.resourceCulture)}static get GBPBigSeparator(){return this.resourceManager.getString("GBPBigSeparator",this.resourceCulture)}static get GBPCentGender(){return this.resourceManager.getString("GBPCentGender",this.resourceCulture)}static get GBPCentPlural(){return this.resourceManager.getString("GBPCentPlural",this.resourceCulture)}static get GBPCentSingle(){return this.resourceManager.getString("GBPCentSingle",this.resourceCulture)}static get GBPGender(){return this.resourceManager.getString("GBPGender",this.resourceCulture)}static get GBPPlural(){return this.resourceManager.getString("GBPPlural",this.resourceCulture)}static get GBPSingle(){return this.resourceManager.getString("GBPSingle",this.resourceCulture)}static get TooLongError(){return this.resourceManager.getString("TooLongError",this.resourceCulture)}};Ae.av.Resource=l;var u=class{static toRoman(t){return Ae.I.Funcs.toRoman(t)}static toABC(t){return Ae.I.Funcs.toABC(t)}static toABCNumeric(t){return Ae.I.Funcs.toABCNumeric(t)}static toABCRu(t){return Ae.I.Funcs.toABCRu(t)}static toArabic(t,e){return Ae.I.Funcs.toArabic(t,e)}};Ae.av.Convert=u;var m=class{static joinColumnContent(t,o,l,u=!1){if(t.is(_u)){let e=t,r=new Array,i=new Dt;if(!e.isEmpty){e.saveState("JoinColumnContent"),e.first();while(!e.isEof){var a=e.getByName(o).toString();let t=!0;u&&(i.containsKey(a)?t=!1:i.set(a,null)),t&&r.push(a),e.next()}e.restoreState("JoinColumnContent")}let n=new Mt;for(let t=0;t<r.length;t++)n.append(r[t]),t<r.length-1&&n.append(l);return n.toString()}if(t.is(Hu)){let n=t,a=new Array,s=new Dt;if(!n.isEmpty&&0<n.count){n.saveState("JoinColumnContent"),n.first();var h=o.split(".");while(!n.isEof){let t=n;var c=null;let e=0;while(e<h.length-1){if(c=h[e],t.columns.contains(c))break;t=t.businessObjects.getByName(c),e++}let r=t.getByName(h[e]);var d=r.toString();let i=!0;u&&(s.containsKey(d)?i=!1:s.set(d,null)),i&&a.push(d),n.next()}n.restoreState("JoinColumnContent")}let e=new Mt;for(let t=0;t<a.length;t++)e.append(a[t]),t<a.length-1&&e.append(l);return e.toString()}return""}static toQueryString(t,e,r){let i="",n=0;for(var a of t){0<n&&(i+=", ");let t;t=De.isNullOrEmpty(r)?a.toString():De.format(r,Ae.b.Convert.toDateTime(a).toString()),De.isNullOrEmpty(e)||(t=t.stimulsoft().replaceAll(e,e+e)),i+=e+t+e,n++}return i}};Ae.av.EngineHelper=m;var p=class{static monthName(i,t=null,n=null){if(null==t)return this.monthName(i,xt.currentCulture.name.toString());if("boolean"==typeof t){var e;if(t)switch(i.month){case 1:return Ae.R.StiLocalization.get("A_WebViewer","MonthJanuary");case 2:return Ae.R.StiLocalization.get("A_WebViewer","MonthFebruary");case 3:return Ae.R.StiLocalization.get("A_WebViewer","MonthMarch");case 4:return Ae.R.StiLocalization.get("A_WebViewer","MonthApril");case 5:return Ae.R.StiLocalization.get("A_WebViewer","MonthMay");case 6:return Ae.R.StiLocalization.get("A_WebViewer","MonthJune");case 7:return Ae.R.StiLocalization.get("A_WebViewer","MonthJuly");case 8:return Ae.R.StiLocalization.get("A_WebViewer","MonthAugust");case 9:return Ae.R.StiLocalization.get("A_WebViewer","MonthSeptember");case 10:return Ae.R.StiLocalization.get("A_WebViewer","MonthOctober");case 11:return Ae.R.StiLocalization.get("A_WebViewer","MonthNovember");case 12:return Ae.R.StiLocalization.get("A_WebViewer","MonthDecember")}return this.monthName(i)}if("string"==typeof t){let e=t.toString();var i=i.month;let r="";try{var a=xt.cultures[e];r=a.dateTimeFormat.monthNames[i-1]}catch(t){Ae.b.StiError.showError(t,!1);var a=e.toLowerCase(),a=+this.cultureIndexes.get(a);i<this.months[a].length&&(r=this.months[a][i-1]),this.defaultUpperCaseList[a]&&(r=r.substr(0,1).toUpperCase()+r.substr(1))}if(null!=n){if(n)return r.substr(0,1).toUpperCase()+r.substr(1);return r.substr(0,1).toLowerCase()+r.substr(1)}return r}return""}static addCulture(t,e,r){var i=this.months.length,n;this.months.push(t),this.defaultUpperCaseList.push(r);for(n of e)this.cultureIndexes.set(n.toLowerCase(),i)}static MonthToStr(){this.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),this.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),this.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),this.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),this.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),this.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),this.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),this.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),this.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),this.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),this.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),this.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),this.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),this.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),this.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),this.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),this.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),this.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),this.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),this.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),this.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),this.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),this.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),this.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),this.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),this.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),this.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)}};p.months=null,p.defaultUpperCaseList=null,p.cultureIndexes=null,Ae.av.MonthToStr=p;var P=class{static dayOfWeek(i,t=null,n=null){if(null==t)return this.dayOfWeek(i,xt.currentCulture.name.toString());if("boolean"==typeof t){var e;if(t)switch(i.dayOfWeek){case Ae.b.DayOfWeek.Sunday:return Ae.R.StiLocalization.get("A_WebViewer","DaySunday");case Ae.b.DayOfWeek.Monday:return Ae.R.StiLocalization.get("A_WebViewer","DayMonday");case Ae.b.DayOfWeek.Tuesday:return Ae.R.StiLocalization.get("A_WebViewer","DayTuesday");case Ae.b.DayOfWeek.Wednesday:return Ae.R.StiLocalization.get("A_WebViewer","DayWednesday");case Ae.b.DayOfWeek.Thursday:return Ae.R.StiLocalization.get("A_WebViewer","DayThursday");case Ae.b.DayOfWeek.Friday:return Ae.R.StiLocalization.get("A_WebViewer","DayFriday");case Ae.b.DayOfWeek.Saturday:return Ae.R.StiLocalization.get("A_WebViewer","DaySaturday")}return this.dayOfWeek(i,xt.currentCulture.name.toString())}if("string"==typeof t){let e=t.toString(),r="";try{var a=xt.cultures[e];r=a.dateTimeFormat.dayNames[i.dayOfWeek]}catch(t){Ae.b.StiError.showError(t,!1);var a=+i.dayOfWeek,i=e.toLowerCase(),i=+this.cultureIndexes.get(i);a<this.days[i].length&&(r=this.days[i][a]),this.defaultUpperCaseList[i]&&(r=r.substr(0,1).toUpperCase()+r.substr(1))}if(null!=n){if(n)return r.substr(0,1).toUpperCase()+r.substr(1);return r.substr(0,1).toLowerCase()+r.substr(1)}return r}return""}static addCulture(t,e,r){var i=this.days.length,n;this.days.push(t),this.defaultUpperCaseList.push(r);for(n of e)this.cultureIndexes.set(n.toLowerCase(),i)}static DayOfWeekToStr(){this.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),this.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),this.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),this.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),this.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),this.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),this.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),this.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),this.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),this.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),this.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),this.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),this.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),this.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),this.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),this.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),this.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),this.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),this.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),this.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),this.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),this.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),this.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),this.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),this.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),this.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)}};P.days=null,P.defaultUpperCaseList=null,P.cultureIndexes=null,Ae.av.DayOfWeekToStr=P}Ae.c.IStiAlias=new Ae.b.Interface("IStiAlias"),Ae.c.IStiIgnoryStyle=new Ae.b.Interface("IStiIgnoryStyle"),Ae.c.IStiInherited=new Ae.b.Interface("IStiInherited"),Ae.c.IStiName=new Ae.b.Interface("IStiName"),Ae.c.IStiStateSaveRestore=new Ae.b.Interface("IStiStateSaveRestore"),Ae.c.StiCells=class{constructor(t){this.rows=new Dt,this.distX=0,this.distY=0,this.report=t}clear(){this.rows.clear()}getRow(t){let e=this.rows.get(t);return null==e&&(e=new Dt,this.rows.set(t,e)),e}gett(t,e){let r=this.getRow(e+this.distY);return r.containsKey(t+this.distX)?r.get(t+this.distX):0}setCell(t,e,r){let i=this.getRow(e);i.set(t,r)}},Ae.ap.StiBaseCondition=class extends Ae.ap.StiFilter{constructor(t=Ae.ap.StiFilterItem.Value,e="",r=Ae.ap.StiFilterCondition.EqualTo,i="",n="",a=Ae.ap.StiFilterDataType.String,s=""){super(t,e,r,i,n,a,s),this.tag=null}implements(){return super.implements()}},Ae.c.StiConditionsHelper=class{static getConditions(t,e={ref:Dt}){let r=e.ref,i=new ss;for(var n of t.list){var a=n.conditions;if(0<a.count){for(var s of a.list){var o=Ae.b.Guid.newGuidString();s.tag=o,r.add(o,n)}i.addRange(a)}}return i}static setConditions(t,e,r){for(var i of t.list)i.conditions.clear();for(var n of e.list)if(null!=n.tag&&r.contains(n.tag)){let t=n.clone();t.tag=null,r.get(n.tag).conditions.add(t)}else this.setConditionAllComponents(n,t)}static setConditionAllComponents(e,t){for(var r of t.list){let t=e.clone();t.tag=null,r.conditions.add(t)}}};var x=class{static get deviceCapsDpi(){return 0==this._deviceCapsDpi&&(Hd.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._deviceCapsDpi}static get graphicsDpi(){return 0==this._graphicsDpi&&(Hd.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsDpi}static get graphicsRichTextDpi(){return 0==this._graphicsRichTextDpi&&(Hd.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsRichTextDpi}static getDpi(){try{}catch(t){Ae.b.StiError.showError(t,!1),this._deviceCapsDpi=96,this._graphicsDpi=96}finally{(this._deviceCapsDpi<70||600<this._deviceCapsDpi)&&(this._deviceCapsDpi=96),(this._graphicsDpi<70||600<this._graphicsDpi)&&(this._graphicsDpi=96),this._graphicsRichTextDpi=this._graphicsDpi}var t;96!=this._deviceCapsDpi||96!=this._graphicsDpi||96!=(t=this.getRegistryValue())&&32<t&&t<300&&(this._graphicsRichTextDpi=t)}static getRegistryValue(){try{}catch(t){Ae.b.StiError.showError(t,!1)}return 0}static get deviceCapsScale(){if(Hd.Engine.dpiAware){var t=this.deviceCapsDpi;if(96!=t)return 96/t}return 1}static get graphicsScale(){if(Hd.Engine.dpiAware){var t=this._graphicsDpi;if(96!=t)return 96/t}return 1}static get graphicsRichTextScale(){if(Hd.Engine.dpiAware){var t=this._graphicsRichTextDpi;if(96!=t)return 96/t}return 1}static get needDeviceCapsScale(){return 96!=this.deviceCapsDpi}static get needGraphicsScale(){return 96!=this.graphicsDpi}static get needGraphicsRichTextScale(){return 96!=this.graphicsRichTextDpi}},ju,Wu,qu,zu,Xu,Ju,Yu,Qu,Ku,Zu,$u,th,eh,rh,ih,nh,ah,sh,oh,ot,rt,tt,Z,ft,V,H,M,W,F,k,l,e,L,B,D,v,b,lh,ht,wt;x.LOGPIXELSX=88,x.LOGPIXELSY=90,x._deviceCapsDpi=0,x._graphicsDpi=0,x._graphicsRichTextDpi=0,Ae.c.StiDpiHelper=x,Ae.c.StiEditableItem=class{constructor(t,e,r,i){this.pageIndex=-1,this.position=-1,this.componentName=null,this.textValue=null,this.pageIndex=t,this.position=e,this.componentName=r,this.textValue=i}},Ae.c.StiEditableItemsContainer=class{constructor(){this._items=[]}get items(){return this._items}};{let r=class{static createNewCache(){return"StimulsoftImageCache"}static getImageCacheName(t,e){return We.Combine(t,De.format("{0}.ich",e))}static saveImage(t,e){null==r.imageCache&&(r.imageCache=new Dt),r.imageCache.set(e,t)}static loadImage(t){if(null==r.imageCache)return null;return r.imageCache.get(t)}static exist(t){return null!=r.imageCache&&r.imageCache.contains(t)}static clear(){r.imageCache&&r.imageCache.clear()}static remove(t){if(null==r.imageCache)return null;r.imageCache.remove(t)}};Ae.c.StiFileImageCache=r}{let s=class{constructor(t,e=!1,r=Ae.c.ImageFormat.Bmp,i=1,n=!1){this.imageStore=null,this.imagePackedStore=null,this.imageMaskStore=null,this.imageIndex=null,this.imageFormatStore=null,this.imageHashTable=null,this._useImageComparer=!0,this._useImageCompression=!1,this._useImageTransparency=!1,this._imageSaveFormat=Ae.c.ImageFormat.Bmp,this._imageQuality=1,this.imageStore=new Array,this.imagePackedStore=new Array,this.imageMaskStore=new Array,this.imageIndex=new Array,this.imageFormatStore=new Array,this.imageHashTable=new Dt,this._useImageComparer=t,this._useImageCompression=e,this._useImageTransparency=n,this._imageSaveFormat=r,this._imageQuality=i}clear(){this.imageStore.stimulsoft().clear(),this.imageStore=null,this.imagePackedStore.stimulsoft().clear(),this.imagePackedStore=null,this.imageMaskStore.stimulsoft().clear(),this.imageMaskStore=null,this.imageIndex.stimulsoft().clear(),this.imageIndex=null,this.imageFormatStore.stimulsoft().clear(),this.imageFormatStore=null,this.imageHashTable.clear(),this.imageHashTable=null}addImageIntRaw(t,e){let r=Ae.c.ImageFormat.Jpeg;switch(e){case Ae.bp.ImageFormat.Gif:r=Ae.c.ImageFormat.Gif;break;case Ae.bp.ImageFormat.Png:r=Ae.c.ImageFormat.Png;break;case Ae.bp.ImageFormat.Bmp:r=Ae.c.ImageFormat.Bmp;break}return this.addImageInt(t,r)}addImageInt(t,e=null){null==e&&(e=this._imageSaveFormat);let r=this.imageStore.length,i=null,n=null;if((this._useImageComparer||this._useImageCompression)&&(i=t.bytes),this._useImageComparer&&null!=i){r=s.crcSeed;let t=0,e=i.length;while(0<=--e)r=s.crcTable[255&(r^i[t++])]^r>>8;r^=s.crcSeed}this._useImageCompression?t=null:i=null;let a=-1;return this.imageHashTable.containsKey(r)?a=this.imageHashTable.get(r):(a=this.imageStore.length,this.imageStore.push(t),this.imagePackedStore.push(i),this.imageMaskStore.push(n),this.imageHashTable.add(r,a),this.imageFormatStore.push(e)),this.imageIndex.push(a),i=null,n=null,a}};s.crcSeed=4294967295,s.crcTable=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],Ae.c.StiImageCache=s}Ae.am.StiDatabaseCollection=class extends J{constructor(t){super(),this.dictionary=t}implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value,r=Hd.Services.databases.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);null==r&&(r=new Ae.am.StiUndefinedDatabase);let i=r.createNew();i.loadFromJsonObject(n.value),this.list.push(i)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let i=e.childNodes[t];if(null==i.attributes)continue;let n=i.attributes.getNamedItem("type");if(null!=n){let e=n.value.split(".").pop(),t=Hd.Services.databases.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);null==t&&(t=new Ae.am.StiUndefinedDatabase);let r=t.createNew();r.loadFromXml(i),this.list.push(r)}}}indexOf(t){if("string"!=typeof t)return this.list.indexOf(t);let e=0;for(var r of this.list){if(t==r.name)return e;e++}return-1}remove(t){if("string"!=typeof t)this.list.stimulsoft().remove(t);else{var e=this.indexOf(t);if(-1==e)throw new Error("Database '"+t+"' is not found");this.list.splice(e,1)}}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}clone(){return this.stimulsoft().memberwiseClone()}memberwiseClone(){var t;return new(this.stimulsoft().getType())}},(b=Wu=Ae.am.StiVariableInitBy||(Ae.am.StiVariableInitBy={}))[b["Value"]=0]="Value",b[b["Expression"]=1]="Expression",(v=qu=Ae.am.StiVariableSortField||(Ae.am.StiVariableSortField={}))[v["Key"]=0]="Key",v[v["Label"]=1]="Label",(D=zu=Ae.am.StiVariableSortDirection||(Ae.am.StiVariableSortDirection={}))[D["None"]=0]="None",D[D["Asc"]=1]="Asc",D[D["Desc"]=2]="Desc",(B=Xu=Ae.am.StiDateTimeType||(Ae.am.StiDateTimeType={}))[B["Date"]=0]="Date",B[B["DateAndTime"]=1]="DateAndTime",B[B["Time"]=2]="Time",(L=Ju=Ae.am.StiItemsInitializationType||(Ae.am.StiItemsInitializationType={}))[L["Items"]=0]="Items",L[L["Columns"]=1]="Columns",(e=Yu=Ae.am.StiTypeMode||(Ae.am.StiTypeMode={}))[e["Value"]=0]="Value",e[e["NullableValue"]=1]="NullableValue",e[e["List"]=2]="List",e[e["Range"]=3]="Range",(l=Qu=Ae.am.StiSortOrder||(Ae.am.StiSortOrder={}))[l["Asc"]=0]="Asc",l[l["Desc"]=1]="Desc",(k=Ku=Ae.am.StiAutoSynchronizeMode||(Ae.am.StiAutoSynchronizeMode={}))[k["None"]=0]="None",k[k["IfDictionaryEmpty"]=1]="IfDictionaryEmpty",k[k["Always"]=2]="Always",(F=Zu=Ae.am.StiRestrictionTypes||(Ae.am.StiRestrictionTypes={}))[F["None"]=0]="None",F[F["DenyEdit"]=1]="DenyEdit",F[F["DenyDelete"]=2]="DenyDelete",F[F["DenyMove"]=4]="DenyMove",F[F["DenyShow"]=8]="DenyShow",(W=$u=Ae.am.StiDataType||(Ae.am.StiDataType={}))[W["BusinessObject"]=0]="BusinessObject",W[W["DataSource"]=1]="DataSource",W[W["DataRelation"]=2]="DataRelation",W[W["DataColumn"]=3]="DataColumn",W[W["Database"]=4]="Database",W[W["Resource"]=5]="Resource",W[W["Variable"]=6]="Variable",W[W["Total"]=7]="Total",(M=th=Ae.am.StiTotalEvent||(Ae.am.StiTotalEvent={}))[M["Never"]=0]="Never",M[M["OnEachRecord"]=1]="OnEachRecord",M[M["OnGroupChanged"]=2]="OnGroupChanged",M[M["OnPageChanged"]=3]="OnPageChanged",M[M["OnColumnChanged"]=4]="OnColumnChanged",M[M["OnEachNewBand"]=5]="OnEachNewBand",M[M["OnExpressionChanged"]=6]="OnExpressionChanged",(H=eh=Ae.am.StiResourceType||(Ae.am.StiResourceType={}))[H["Image"]=0]="Image",H[H["Csv"]=1]="Csv",H[H["Dbf"]=2]="Dbf",H[H["Json"]=3]="Json",H[H["Xml"]=4]="Xml",H[H["Xsd"]=5]="Xsd",H[H["Excel"]=6]="Excel",H[H["Rtf"]=7]="Rtf",H[H["Txt"]=8]="Txt",H[H["Report"]=9]="Report",H[H["ReportSnapshot"]=10]="ReportSnapshot",H[H["FontTtc"]=11]="FontTtc",H[H["FontTtf"]=12]="FontTtf",H[H["FontOtf"]=13]="FontOtf",H[H["FontEot"]=14]="FontEot",H[H["FontWoff"]=15]="FontWoff",H[H["Pdf"]=16]="Pdf",H[H["Word"]=17]="Word",H[H["Map"]=18]="Map",H[H["Gis"]=19]="Gis",(V=rh=Ae.am.StiPropertiesProcessingType||(Ae.am.StiPropertiesProcessingType={}))[V["All"]=0]="All",V[V["Browsable"]=1]="Browsable",(ft=ih=Ae.am.StiFieldsProcessingType||(Ae.am.StiFieldsProcessingType={}))[ft["All"]=0]="All",ft[ft["Browsable"]=1]="Browsable",(Z=nh=Ae.am.StiConnectionOrder||(Ae.am.StiConnectionOrder={}))[Z["None"]=0]="None",Z[Z["Standard"]=1]="Standard",Z[Z["Sql"]=2]="Sql",(tt=ah=Ae.am.StiSqlSourceType||(Ae.am.StiSqlSourceType={}))[tt["Table"]=0]="Table",tt[tt["StoredProcedure"]=1]="StoredProcedure",(rt=sh=Ae.am.StiColumnsSynchronizationMode||(Ae.am.StiColumnsSynchronizationMode={}))[rt["KeepAbsentColumns"]=0]="KeepAbsentColumns",rt[rt["RemoveAbsentColumns"]=1]="RemoveAbsentColumns",(ot=oh=Ae.am.StiSelectionMode||(Ae.am.StiSelectionMode={}))[ot["FromVariable"]=0]="FromVariable",ot[ot["Nothing"]=1]="Nothing",ot[ot["First"]=2]="First";{let t=class extends K{constructor(){super(...arguments),this.isObjectAdapter=!1}get serviceCategory(){return ne.get("Services","categoryDictionary")}get serviceType(){return t.stimulsoft().getType()}get name(){return""}getDatabaseSpecificName(t){return t}getDataCategoryName(t){return null}static getDataAdapter(e){let t=Hd.Services.dataAdapters.where(t=>t.serviceEnabled);var r=null;if(null!=r)return r;return t.firstOrDefault(t=>t.getDataSourceType()==e.stimulsoft().getType())}static getDataAdapter2(t){if(null==t||null==t.data)return null;var e=t.data.stimulsoft().getType(),r;for(r of Hd.Services.dataAdapters.where(function(t){return t.serviceEnabled}))if(null!=r&&r.isAdapterDataType(e))return r;return null}create(t,e=!0){return null}getDataSourceType(){return null}getDataTypes(){return null}isAdapterDataType(t){if(null==t)return!1;var e=this.getDataTypes(),r;if(null==e)return!1;for(r of e)if(r==t)return!0;return!1}getColumnsFromDataAsync(t,e,r){return null}getColumnsFromData(t,e,r){return null}getParametersFromData(t,e){return}setDataSourceNames(t,e){}connectDataSourceToDataAsync(t,e,r){return null}connectDataSourceToData(t,e,r){}toString(){return this.serviceName}};Ae.am.StiDataAdapterService=t}Ae.am.StiDataStoreSource=class extends Ae.am.StiDataSource{constructor(t="",e="",r=e,i=""){super(e,r,i),this.nameInSource=t}meta(){return this._hash||(this._hash=[...super.meta(),new Ui(["NameInSource","DataName"])])}getCategoryName(){let t=Ae.am.StiDataAdapterService.getDataAdapter(this);var e=this.dictionary.dataStore.getByName(this.nameInSource);if(null!=e&&null!=t)return t.getDataCategoryName(e);if(this.nameInSource.stimulsoft().endsWith("."+this.name)&&this.nameInSource.length>this.name.length+1)return this.nameInSource.substr(0,this.nameInSource.length-(this.name.length+1));var e=this.nameInSource.lastIndexOf(".");if(-1!=e)return this.nameInSource.substr(0,e);if(!De.isNullOrEmpty(this.nameInSource))return this.nameInSource;return super.getCategoryName()}get dataName(){return this.nameInSource}set dataName(t){this.nameInSource=t}};{let t=class extends Ae.am.StiDataStoreSource{meta(){return this._hash||(this._hash=[...super.meta(),new Ui("NameInSource")])}getCategoryName(){let e=this.nameInSource;if(De.isNullOrEmpty(e))return super.getCategoryName();if(e=e.toLowerCase(),null!=this.dictionary){var t=this.dictionary.databases.toList().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=t)return t.name}let r=Ae.am.StiDataAdapterService.getDataAdapter(this);if(null!=r&&null!=r.stimulsoft().as(Ae.am.StiDataTableAdapterService)){var t=r.getDataFromDataSource(this.dictionary,this);if(null==t)return super.getCategoryName();return r.getDataCategoryName(t)}return super.getCategoryName()}getDataAdapterType(){return Ae.am.StiDataTableAdapterService}get componentId(){return Ae.c.StiComponentId.StiDataTableSource}createNew(){return new t}constructor(t="",e="",r=e,i=""){super(t,e,r,i)}};Ae.am.StiDataTableSource=t}{let t=class extends Ae.am.StiDataTableSource{createNew(){return new t}};Ae.am.StiUndefinedDataSource=t}let uh=Ae.am.StiUndefinedDataSource;{let r=class extends J{constructor(t){super(),this.directionFactor=1,this.dictionary=t}implements(){return[Yt,Jt,La]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value,r=Hd.Services.dataSource.firstOrDefault(function(t){return t.stimulsoft().getType().stimulsoft().getTypeName()==e});"StiCustomSource"==e&&(r=new Ae.am.StiCustomSource),null==r&&(r=new uh);let i=r.createNew();i.dictionary=this.dictionary,i.loadFromJsonObject(t),this.list.push(i)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let i=e.childNodes[t];if(null==i.attributes)continue;var r;if(null!=i.attributes.getNamedItem("type")){var n=i.attributes.getNamedItem("Ref").value;let e=i.attributes.getNamedItem("type").value.split(".").pop();0!=e.indexOf("Sti")&&(e="Sti"+e);let t=Hd.Services.dataSource.firstOrDefault(function(t){return t.stimulsoft().getType().stimulsoft().getTypeName()==e});"StiCustomSource"==e&&(t=new Ae.am.StiCustomSource),null==t&&(t=new uh);let r=t.createNew();r.xmlRefAttrValue=n,r.dictionary=this.dictionary,r.loadFromXml(i),this.list.push(r)}}}compare(t,e){let r=t.stimulsoft().as(Ae.am.StiDataSource);var e=e.stimulsoft().as(Ae.am.StiDataSource);return r.name.stimulsoft().compareTo(e.name)*this.directionFactor}get cachedDataSources(){return null==this._cachedDataSources&&(this._cachedDataSources=new Dt),this._cachedDataSources}fetchAllDataTransformations(){return this.toList().where(t=>t.is(Ae.am.StiDataTransformation)).cast()}fetchAllVirtualDataSources(){return this.toList().where(t=>t.is(Ae.am.StiVirtualSource)).cast()}add(t){null!=this.dictionary&&(t.dictionary=this.dictionary),super.add(t)}contains(t){return"string"==typeof t?null!=this.getByName(t):this.list.stimulsoft().contains(t);return!1}remove(e){if(this.list.stimulsoft().remove(e),null!=this.dictionary){let t=0;while(t<this.dictionary.relations.length){var r=this.dictionary.relations.getByIndex(t);r.parentSource==e||r.childSource==e?this.dictionary.relations.remove(r):t++}}var t=e.name.toLowerCase();null!=this.cachedDataSources.get(t)&&this.cachedDataSources.remove(t)}getByName(t){t=t.toLowerCase();var e=this.cachedDataSources.get(t),r;if(null!=e)return e;for(r of this.list){if(r.name.toLowerCase()==t)return this.cachedDataSources.set(t,r),r;if(Ae.c.StiNameValidator.correctName(r.name.toLowerCase())==Ae.c.StiNameValidator.correctName(t))return this.cachedDataSources.set(t,r),r}return null}getByXmlRef(t){for(var e of this.list)if(e.xmlRefAttrValue==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e).stimulsoft().as(Ae.am.StiDataSource);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}clone(){let t=new r(this.dictionary);for(var e of this.list)t.add(e.clone().stimulsoft().as(Ae.am.StiDataSource));return t}sort(t=Ae.am.StiSortOrder.Asc,e=!0){if(t==Ae.am.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),e)for(var r of this.list)r.columns.sort(t)}clearParametersExpression(){for(var t of this.list){var t=t.as(Ae.am.StiSqlSource);if(null!=t)for(var e of t.parameters.list)e.expression=""}}connectAsync(t,e=null){let r=new _r,i=[];this.list.stimulsoft().copyTo(i),i.stimulsoft().sort2(new l);let n=[],a=0;for(var s of i){if(s.connectionOrder==Ae.am.StiConnectionOrder.None)continue;s.connectOnStart&&(t||s.is(Ae.am.StiDataTableSource))&&a++}for(var o of i){if(o.connectionOrder==Ae.am.StiConnectionOrder.None)continue;o.connectOnStart&&(t||o.is(Ae.am.StiDataTableSource))&&Ae.am.StiDataLeader.connectAsync(o,e,t).try(()=>{a--,0==a&&(0<n.length&&Is.showError(n.join("</br>"),!0),r.callTry())}).catch(t=>{n.push(t),a--,0==a&&(0<n.length&&Is.showError(n.join("</br>"),!0),r.callTry())}).abort(r)}return 0==a&&r.callTry(),r}connect(t,e=null){let r=[];this.list.stimulsoft().copyTo(r),r.stimulsoft().sort2(new l);for(var i of r){if(i.connectionOrder==Ae.am.StiConnectionOrder.None)continue;i.connectOnStart&&(t||i.is(Ae.am.StiDataTableSource))&&Ae.am.StiDataLeader.connect(i,e,t)}}disconnect(){for(var t of this.list)Ae.am.StiDataLeader.disconnect(t)}};Ae.am.StiDataSourcesCollection=r;let l=class{compare(t,e){return t.connectionOrder.stimulsoft().compareTo(e.connectionOrder)}}}{let r=class extends J{constructor(t){super(),this.cachedDataRelations=new Dt,this.dictionary=t}implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.am.StiDataRelation;t.dictionary=this.dictionary,t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i;if(null!=e.attributes.getNamedItem("type"))switch(e.attributes.getNamedItem("type").value){case"DataRelation":{let t=new Ae.am.StiDataRelation;t.dictionary=this.dictionary,t.loadFromXml(e),this.list.push(t);break}}}}clone(){let t=new r(this.dictionary);for(var e of this.list)t.add(e.clone());return t}add(t){null!=this.dictionary&&(t.dictionary=this.dictionary),super.add(t)}contains(t){if("string"==typeof t){for(var e of this.list)if(e.name==t)return!0}else if(t.is(Ae.am.StiDataRelation))return this.list.stimulsoft().contains(t);return!1}remove(t){super.remove(t),this.cachedDataRelations.clear()}setByIndex(t,e){this.list[t]=e,this.cachedDataRelations.clear()}getByName(t){var e=this.cachedDataRelations.get(t),r;if(null!=e)return e;for(r of this.list){if(r.nameInSource==t)return this.cachedDataRelations.set(t,r),r;if(Ae.c.StiNameValidator.correctName(r.nameInSource)==t)return this.cachedDataRelations.set(t,r),r}return null}setByName(e,r){for(let t=0;t<this.list.length;t++){var i;if(this.getByIndex(t).name==e)return this.list[t]=r,void this.cachedDataRelations.clear()}this.add(r)}};Ae.am.StiDataRelationsCollection=r}{let r=class extends J{constructor(){super(...arguments),this.directionFactor=1}implements(){return[La,Jt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t,e){for(var r of t.properties()){let t=new Ae.am.StiVariable;t.loadFromJsonObject(r.value,e),this.list.push(t)}}loadFromXml(e,r){for(let t=0;t<e.childNodes.length;t++){var i=e.childNodes[t],i;"value"==i.nodeName&&(i=Ae.am.StiVariable.loadFromXml(i,r),this.list.push(i))}}compare(t,e){let r=t;var t=e,e=r.category.stimulsoft().compareTo(t.category)*this.directionFactor;return 0==e?r.name.stimulsoft().compareTo(t.name)*this.directionFactor:e}sort(t=Ae.am.StiSortOrder.Asc){t==Ae.am.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()}add(t){0<t.name.length&&this.contains(t.name)&&this.remove(t.name),this.list.push(t)}addRange(t){for(var e of t.list)this.add(e)}contains(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return!0;return!1}containsCategory(t){t=t.toLowerCase();for(var e of this.list)if(e.category.toLowerCase()==t)return!0;return!1}indexOf(r){if("string"==typeof r){let t=r;t=t.toLowerCase();let e=0;for(var i of this.list){if(i.name.toLowerCase()==t)return e;e++}return-1}return this.list.indexOf(r)}remove(i){if("string"==typeof i){let e=i;e=e.toLowerCase();let r=0;while(r<this.list.length){let t=this.getByIndex(r);t.name.toLowerCase()==e?this.list.stimulsoft().removeAt(r):r++}}else{let t=i;0<t.category.length&&1==this.getVariablesCount(t.category)?t.name="":this.list.stimulsoft().remove(t)}}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}moveCategoryTo(t,e){if(t==e)return;var r=this.getFirstCategoryIndex(t),i=this.getFirstCategoryIndex(e),n,a;if(r==i)return;let s=new Array;for(n of this.list)n.category==t&&s.push(n);this.removeCategory(t);let o=i<r?this.getFirstCategoryIndex(e):this.getLastCategoryIndex(e)+1;for(a of s)this.insert(o,a),o++}getFirstCategoryIndex(t){let e=0;for(var r of this.list){if(t==r.category)return e;e++}return-1}getLastCategoryIndex(t){let e=-1,r=0,i=!1;for(var n of this.list){if(t==n.category)e=r,i=!0;else if(i)break;r++}return e}renameCategory(t,e){t=t.toLowerCase();for(var r of this.list)r.category.toLowerCase()==t&&(r.category=e)}removeCategory(t){let e=0;while(e<this.length)this.list[e].category==t?this.removeAt(e):e++}getVariablesCount(t){let e=0;for(var r of this.list)r.category==t&&e++;return e}};Ae.am.StiVariablesCollection=r}let hh=Ae.am.StiDatabaseCollection,ch=Ae.am.StiDataRelationsCollection,dh=Ae.am.StiDataSourcesCollection,mh=Ae.am.StiVariablesCollection;Ae.c.StiInheritedReportComparer=class{static compare(t,e){this.compareComponents(t,e),this.compareVariables(t,e),this.compareDataSources(t,e),this.compareRelations(t,e),this.compareBusinessObjects(t,e),this.compareDatabases(t,e),this.compareEvents(t,e)}static compareComponents(i,t){var e=i.getComponents(),t=t.getComponents(),r,n,a,s,o,l,u,h,h,c;let d=new Dt,m=new Dt;for(r of t.list)m.set(r.name,r);for(n of e.list)if(n.inherited||n.is(Kl)){let r=m.get(n.name);if(null==r)n.is(Kl)?0==n.components.count&&i.pages.remove(n):n.parent.components.remove(n);else{let t=null,e=r.as(Ql);t=null!=e?e.clone(!0,!1):r.clone(!0),d.set(n.name,t),n.is(Kl)?(a=i.pages.indexOf(n),i.pages.removeAt(a),i.pages.insert(a,t)):(s=n.parent.components.indexOf(n),n.parent.components.removeAt(s),n.parent.components.insert(s,t));var s=n.as(Ql);if(null!=s)for(var p of s.components.list)t.components.add(p)}}for(o of t.list)if(null==d.get(o.name)){let e=null,t=o.as(Ql);if(e=null!=t?t.clone(!0,!1):o.clone(!0),o.is(Kl))i.pages.add(e);else{let t=d.get(o.parent.name);var g=this.getPositionForComponent(o,t);0<=g&&g<t.components.count?t.components.insert(g,e):t.components.add(e)}d.set(e.name,e)}for(l of(e=i.getComponents()).list)d.set(l.name,l);for(u of e.list){let t=u.as(Ae.ap.IStiMasterComponent);null!=t&&null!=t.masterComponent&&(h=t.masterComponent.name,null!=(h=d.get(h).as(gl))&&(t.masterComponent=h))}for(c of i.pages.list)c.report=i,this.setParent(c,c,c),c.sortByPriority()}static getPositionForComponent(t,e){let r=t.parent,i=r.components.indexOf(t);while(0<i){var n=r.components.getByIndex(i-1),n=e.components.indexOf(n.name);if(-1!=n)return n+1;i--}i=r.components.indexOf(t);while(i<r.components.count-1){var a=r.components.getByIndex(i+1),a=e.components.indexOf(a.name);if(-1!=a)return a;i++}return 0}static setParent(t,e,r){if(t.page=e,null!=(r=t.as(Ql)))for(var i of r.components.list)this.setParent(i,e,r)}static compareVariables(e,t){let r=new mh;for(var i of e.dictionary.variables.list)r.add(i);let n=new Dt,a=new Dt;for(var s of t.dictionary.variables.list)a.set(s.name,s);for(var o of r.list)if(o.inherited){let t=a.get(o.name);var l,o;null==t?e.dictionary.variables.remove(o):(n.set(o.name,o),l=t.clone(),o=e.dictionary.variables.indexOf(o),e.dictionary.variables.removeAt(o),e.dictionary.variables.insert(o,l))}for(var u of t.dictionary.variables.list){var h,u;null==n.get(u.name)&&(h=u.clone(),0<=(u=t.dictionary.variables.indexOf(u))&&u<e.dictionary.variables.count?e.dictionary.variables.insert(0,h):e.dictionary.variables.add(h),n.set(h.name,h))}}static compareDataSources(r,e){let t=new dh(null);for(var i of r.dictionary.dataSources.list)t.add(i);let n=new Dt,a=new Dt;for(var s of e.dictionary.dataSources.list)a.set(s.name,s);for(var o of t.list)if(o.inherited){let e=a.get(o.name);if(null==e)r.dictionary.dataSources.remove(o);else{n.set(o.name,o);let t=e.clone();t.dictionary=r.dictionary;var o=r.dictionary.dataSources.indexOf(o);r.dictionary.dataSources.removeAt(o),r.dictionary.dataSources.insert(o,t)}}for(var l of e.dictionary.dataSources.list)if(null==n.get(l.name)){let t=l.clone();t.dictionary=r.dictionary;var l=e.dictionary.dataSources.indexOf(l);0<=l&&l<r.dictionary.dataSources.count?r.dictionary.dataSources.insert(0,t):r.dictionary.dataSources.add(t),n.set(t.name,t)}}static compareRelations(r,e){let i=new Dt;for(var t of r.dictionary.dataSources.list)i.set(t.name,t);let n=new ch(null);for(var a of r.dictionary.relations.list)n.add(a);let s=new Dt,o=new Dt;for(var l of e.dictionary.relations.list)o.set(l.name,l);for(var u of n.list)if(u.inherited){let e=o.get(u.name);if(null==e)r.dictionary.relations.remove(u);else{s.set(u.name,u);let t=e.clone();t.dictionary=r.dictionary,null!=t.parentSource&&(t.parentSource=i.get(t.parentSource.name)),null!=t.childSource&&(t.childSource=i.get(t.childSource.name));var u=r.dictionary.relations.indexOf(u);r.dictionary.relations.removeAt(u),r.dictionary.relations.insert(u,t)}}for(var h of e.dictionary.relations.list)if(null==s.get(h.name)){let t=h.clone();t.dictionary=r.dictionary,t.parentSource=i.get(t.parentSource.name),t.childSource=i.get(t.childSource.name);var h=e.dictionary.relations.indexOf(h);0<=h&&h<r.dictionary.relations.count?r.dictionary.relations.insert(0,t):r.dictionary.relations.add(t),s.set(t.name,t)}}static compareDatabases(e,t){let r=new hh(null);for(var i of e.dictionary.databases.list)r.add(i);let n=new Dt,a=new Dt;for(var s of t.dictionary.databases.list)a.set(s.name,s);for(var o of r.list)if(o.inherited){let t=a.get(o.name);var l,o;null==t?e.dictionary.databases.remove(o):(l=t.clone(),n.set(l.name,o),o=e.dictionary.databases.indexOf(o),e.dictionary.databases.removeAt(o),e.dictionary.databases.insert(o,l))}for(var u of t.dictionary.databases.list){var h,u;null==n.get(u.name)&&(h=u.clone(),0<=(u=t.dictionary.databases.indexOf(u))&&u<e.dictionary.databases.count?e.dictionary.databases.insert(0,h):e.dictionary.databases.add(h),n.set(h.name,h))}}static compareBusinessObjects(r,e){let t=new Oa(null,null);for(var i of r.dictionary.businessObjects.list)t.add(i);let n=new Dt,a=new Dt;for(var s of e.dictionary.businessObjects.list)a.set(s.name,s);for(var o of t.list)if(o.inherited){let e=a.get(o.name);if(null==e)r.dictionary.businessObjects.remove(o);else{n.set(o.name,o);let t=e.clone();t.dictionary=r.dictionary;var o=r.dictionary.businessObjects.indexOf(o);r.dictionary.businessObjects.removeAt(o),r.dictionary.businessObjects.insert(o,t)}}for(var l of e.dictionary.businessObjects.list)if(null==n.get(l.name)){let t=l.clone();t.dictionary=r.dictionary;var l=e.dictionary.businessObjects.indexOf(l);0<=l&&l<r.dictionary.businessObjects.count?r.dictionary.businessObjects.insert(0,t):r.dictionary.businessObjects.add(t),n.set(t.name,t)}}static compareEvents(t,e){0<e.beginRenderEvent.script.length&&(t.beginRenderEvent.script=e.beginRenderEvent.script),0<e.endRenderEvent.script.length&&(t.endRenderEvent.script=e.endRenderEvent.script),0<e.renderingEvent.script.length&&(t.renderingEvent.script=e.renderingEvent.script),0<e.exportingEvent.script.length&&(t.exportingEvent.script=e.exportingEvent.script),0<e.exportedEvent.script.length&&(t.exportedEvent.script=e.exportedEvent.script),0<e.printingEvent.script.length&&(t.printingEvent.script=e.printingEvent.script),0<e.printedEvent.script.length&&(t.printedEvent.script=e.printedEvent.script)}},Ae.c.StiLogService=class{constructor(){this.clearLogOnStart=!0,this.first=!0}writeLogString(t){}static write1(t){t=z.today.toString("yyyy:MM:dd")+", "+z.now.toString("HH:mm")+": "+t}static write(t,e){}closeWriter(){}openWriter(){}};{let t=class{constructor(t,e){this.name=t,this.tag=e}implements(){return t.implementsStiMetaTag||(t.implementsStiMetaTag=[Yt,Jt]),t.implementsStiMetaTag}saveToJsonObject(t){let e=new te;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Tag",this.tag),e}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Name":this.name=e.value;break;case"Tag":this.tag=e.value;break}}loadFromXml(e){if("value"==e.nodeName){let t=e.textContent;var e=t.split(",");this.name=nt.decodeName(e[0]),this.tag=nt.decodeName(e[1])}}clone(){return new t(this.name,this.tag)}};Ae.c.StiMetaTag=t}{let r=class extends J{implements(){return r.implementsStiMetaTagCollection||(r.implementsStiMetaTagCollection=[Yt,Jt]),r.implementsStiMetaTagCollection}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.c.StiMetaTag(null,null);t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){var i=r.childNodes[e];let t=new Ae.c.StiMetaTag(null,null);t.loadFromXml(i),this.list.push(t)}}add2(t,e){this.list.push(new Ae.c.StiMetaTag(t,e))}add(t){this.list.push(t)}addRange(t){for(var e of t)this.add(e)}addRange2(t){for(var e of t.list)this.add(e)}contains(t){return this.list.stimulsoft().contains(t)}indexOf(t){return this.list.indexOf(t)}insert(t,e){this.list.stimulsoft().insert(t,e)}remove(t){this.list.stimulsoft().remove(t)}getByIndex(t){return this.list[t]}setByIndex(t,e){this.list[t]=e}getByName(t){for(var e of this.list)if(e.name==t)return e;return null}setByName(e,r){for(let t=0;t<this.list.length;t++){var i;if(this.list[t].name==e)return void(this.list[t]=r)}this.list.push(r)}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}};Ae.am.StiMetaTagCollection=r}Ae.an.StiDisconnectedEvent=class extends Ae.an.StiEvent{toString(){return"Disconnected"}},Ae.an.StiDisconnectingEvent=class extends Ae.an.StiEvent{toString(){return"Disconnecting"}},Ae.an.StiConnectedEvent=class extends Ae.an.StiEvent{toString(){return"Connected"}},Ae.an.StiConnectingEvent=class extends Ae.an.StiEvent{toString(){return"Connecting"}};let ph=Ae.an.StiDisconnectedEvent,gh=Ae.an.StiDisconnectingEvent,fh=Ae.an.StiConnectedEvent,Sh=Ae.an.StiConnectingEvent,bh=Ae.d.IStiAppConnection;{(ht=lh=Ae.am.Order||(Ae.am.Order={}))[ht["Name"]=100]="Name",ht[ht["Alias"]=200]="Alias",ht[ht["ConnectionString"]=300]="ConnectionString",ht[ht["FirstRowIsHeader"]=350]="FirstRowIsHeader",ht[ht["PathSchema"]=400]="PathSchema",ht[ht["PathData"]=500]="PathData",ht[ht["XmlType"]=600]="XmlType",ht[ht["PromptUserNameAndPassword"]=700]="PromptUserNameAndPassword",ht[ht["SaveDataInReportResources"]=800]="SaveDataInReportResources";let t=class extends K{constructor(t="",e=null,r=null){super(),this.inherited=!1,this.connectingEvent=new Sh,this.connectedEvent=new fh,this.disconnectingEvent=new gh,this.disconnectedEvent=new ph,this.key=null,this.name=t,this.alias=e||t,this.key=r}implements(){return[Ae.c.IStiInherited,bh,Yt,Ae.c.IStiName,Ae.c.IStiAlias,Jt,ku]}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("Inherited"),new Ua("ConnectingEvent",Sh),new Ua("ConnectedEvent",fh),new Ua("DisconnectingEvent",gh),new Ua("DisconnectedEvent",ph),new Ui("Name"),new Ui("Alias"),new Ui("Key")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}getName(){return this.name}getKey(){return this.key=_i.getOrGeneratedKey(this.key),this.key}setKey(t){this.key=t}get serviceCategory(){return ne.get("PropertyMain","CategoryConnections")}get serviceType(){return t.stimulsoft().getType()}onConnecting(t){}invokeConnecting(){this.onConnecting(Un.empty),ja.invokeBlockly(null,this,this.connectingEvent)}onConnected(t){}invokeConnected(){this.onConnected(Un.empty),ja.invokeBlockly(null,this,this.connectedEvent)}onDisconnecting(t){}invokeDisconnecting(){this.onDisconnecting(Un.empty),ja.invokeBlockly(null,this,this.disconnectingEvent)}onDisconnected(t){}invokeDisconnected(){this.onDisconnected(Un.empty),ja.invokeBlockly(null,this,this.disconnectedEvent)}get serviceName(){return this.name}set serviceName(t){}get connectionType(){return Ae.am.StiConnectionType.Other}applyDatabaseInformation(t,e,r=null){for(var i of t.tables){let t=new Ae.am.StiDataTableSource(this.name+"."+i.tableName,Ae.c.StiNameCreation.createName(e,i.tableName,!1,!1,!0));i.tableName=t.name;for(var n of i.columns.list){var n=new Ae.am.StiDataColumn(n.columnName,n.columnName,n.columnName,n.dataType);t.columns.add(n)}e.dictionary.dataSources.add(t)}}getDatabaseInformationAsync(e){let r=new _r,i=this;return setTimeout(()=>{try{var t=i.getDatabaseInformation(e);r.callTry(t)}catch(t){r.callCatch(t.message)}}),r}getDatabaseInformation(t){return null}getDataAdapterType(){return null}getDataAdapter(){let e=this.getDataAdapterType();var t;return Hd.Services.dataAdapters.firstOrDefault(t=>t.serviceEnabled&&t.stimulsoft().getType()==e)}toString(){if(!Hd.Dictionary.showOnlyAliasForDatabase){if(this.name==this.alias||0==this.alias.length)return De.format("{0} [{1}] ",this.name,this.serviceName);return De.format("{0} [{1}] ",this.name,this.alias)}if(!De.isNullOrEmpty(this.alias))return this.alias;return this.name}regData(t,e){}regDataAsync(t,e){let r=new _r,i=this;return setTimeout(()=>{try{i.regData(t,e),r.callTry()}catch(t){r.callTry()}}),r}createNew(){return null}};Ae.am.StiDatabase=t}let yh=Ae.d.StiPacker;{let e=class{constructor(t="",e="",r=!1,i=Ae.am.StiResourceType.Image,n=null,a=!1){this.availableInTheViewer=!1,this.name=t,this.alias=e,this.inherited=r,this.type=i,this.content=n,this.availableInTheViewer=a}implements(){return[Ae.c.IStiName,Ae.c.IStiAlias,Jt,ku,Ae.c.IStiInherited,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}clone(){let t=new e;return t._name=this._name,t.alias=this.alias,t.availableInTheViewer=this.availableInTheViewer,t.key=this.key,t.inherited=this.inherited,t.type=this.type,null!=this._packAndEncryptContent?t._packAndEncryptContent=this._packAndEncryptContent:t._content=this._content,t.dataSet=this.dataSet,t}getKey(){return this.key}setKey(t){this.key=t}meta(){return this._hash||(this._hash=[new Ui("Name"),new Ui("Alias"),new Ui("Key"),new Wi("Inherited"),new Gi("Type","",Ae.am.StiResourceType,Ae.am.StiResourceType.Image),new In("Image","packAndEncryptContent").get(()=>(null==this.packAndEncryptContent&&(this.packAndEncryptContent=yh.packAndEncryptToString(this.content)),this.packAndEncryptContent)),new Wi("AvailableInTheViewer")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){var t=t.textContent.split(","),e;this.type=Ae.am.StiResourceType.Image;for(e of t){let t=nt.decodeName(e).trim();var r=t.split("=")[0];switch(t=t.substr(r.length+1),r){case"Name":this.name=t;break;case"Alias":this.alias=t;break;case"Inherited":this.inherited=t.stimulsoft().toBoolean();break;case"Type":this.type=Zt.parse(Ae.am.StiResourceType,t);break;case"Content":this.packAndEncryptContent=t;break;case"AvailableInTheViewer":this.availableInTheViewer=t.stimulsoft().toBoolean();break}}}get componentId(){return Ae.c.StiComponentId.StiResource}get propName(){return this.name}get name(){return this._name}set name(t){this._name!=t&&(this._name==this.alias&&(this.alias=t),this._name=t)}get content(){if(null==this._content&&!De.isNullOrEmpty(this._packAndEncryptContent)&&(this._content=yh.unpackAndDecrypt2(this._packAndEncryptContent),Qt.isUTF16LE(this._content)))return Qt.fromUTF16LE(this._content);return this._content}set content(t){this._content!=t&&(this._content=t,this._packAndEncryptContent=null,this.dataSet=null)}get packAndEncryptContent(){return De.isNullOrEmpty(this._packAndEncryptContent)&&null!=this._content&&(this._packAndEncryptContent=yh.packAndEncryptToString(this._content)),this._packAndEncryptContent}set packAndEncryptContent(t){this._packAndEncryptContent!=t&&(this._packAndEncryptContent=t,this.content=null)}getResourceAsImage(){if(null==this.content||this.type!=Ae.am.StiResourceType.Image)return null;try{return ie.fromBytes(this.content)}catch(t){}return null}toString(){if(Hd.Dictionary.showOnlyAliasForResource)return this.alias;return this.alias==this.name?this.name:this.name+" ["+this.alias+"]"}getContentType(){switch(this.type){case Ae.am.StiResourceType.ReportSnapshot:case Ae.am.StiResourceType.Report:return"application/octet-stream";case Ae.am.StiResourceType.Pdf:return"application/pdf";case Ae.am.StiResourceType.Txt:return"text/plain";case Ae.am.StiResourceType.Json:return"text/plain";case Ae.am.StiResourceType.Rtf:return"application/rtf";case Ae.am.StiResourceType.Word:return"application/vnd.openxmlformats-officedocument.wordprocessingml.document";case Ae.am.StiResourceType.Excel:return"application/vnd.ms-excel";case Ae.am.StiResourceType.Csv:return"text/csv";case Ae.am.StiResourceType.Dbf:return"application/dbf";case Ae.am.StiResourceType.Image:if(Ae.ap.StiImageHelper.isPng(this.content))return"image/png";if(Ae.ap.StiImageHelper.isBmp(this.content))return"image/bmp";if(Ae.ap.StiImageHelper.isJpeg(this.content))return"image/jpeg";if(Ae.ap.StiImageHelper.isGif(this.content))return"image/gif";if(Ae.ap.StiImageHelper.isTiff(this.content))return"image/tiff";if(Ae.ap.StiImageHelper.isEmf(this.content))return"image/x-emf";return"image/png"}return"text/plain"}getFileExt(){switch(this.type){case Ae.am.StiResourceType.ReportSnapshot:return".mdc";case Ae.am.StiResourceType.Report:return".mrt";case Ae.am.StiResourceType.Pdf:return".pdf";case Ae.am.StiResourceType.Txt:return".txt";case Ae.am.StiResourceType.Rtf:return".rtf";case Ae.am.StiResourceType.Word:return".docx";case Ae.am.StiResourceType.Excel:return".xlsx";case Ae.am.StiResourceType.Csv:return".csv";case Ae.am.StiResourceType.Dbf:return".dbf";case Ae.am.StiResourceType.Json:return".json";case Ae.am.StiResourceType.Image:if(Ae.ap.StiImageHelper.isPng(this.content))return".png";if(Ae.ap.StiImageHelper.isBmp(this.content))return".bmp";if(Ae.ap.StiImageHelper.isJpeg(this.content))return".jpg";if(Ae.ap.StiImageHelper.isGif(this.content))return".gif";if(Ae.ap.StiImageHelper.isTiff(this.content))return".tiff";if(Ae.ap.StiImageHelper.isEmf(this.content))return".emf";return".png"}return""}createFileDatabase(){switch(this.type){case Ae.am.StiResourceType.Csv:return new Ae.am.StiCsvDatabase(this.name,`resource://${this.name}`);case Ae.am.StiResourceType.Dbf:return new Ae.am.StiDBaseDatabase(this.name,`resource://${this.name}`);case Ae.am.StiResourceType.Excel:return new Ae.am.StiExcelDatabase(this.name,`resource://${this.name}`);case Ae.am.StiResourceType.Json:return new Ae.am.StiJsonDatabase(this.name,`resource://${this.name}`);case Ae.am.StiResourceType.Gis:return new Ae.am.StiGisDatabase(this.name,`resource://${this.name}`);case Ae.am.StiResourceType.Xml:return new Ae.am.StiXmlDatabase(this.name,"",`resource://${this.name}`);case Ae.am.StiResourceType.Xsd:return new Ae.am.StiXmlDatabase(this.name,`resource://${this.name}`);default:return null}}};Ae.am.StiResource=e}{var dt=class{constructor(){this.dateTimeType=Ae.am.StiDateTimeType.Date,this.sortDirection=Ae.am.StiVariableSortDirection.Asc,this.sortField=Ae.am.StiVariableSortField.Label,this.itemsInitializationType=Ae.am.StiItemsInitializationType.Items,this.keysColumn="",this.valuesColumn="",this.checkedColumn="",this.bindingVariable=null,this.bindingValuesColumn="",this.mask="",this.allowUserValues=!0,this.bindingValue=!1,this.keys=[],this.values=[],this.checkedStates=[],this.valuesBindingList=[]}meta(){return this._hash||(this._hash=[new Gi("DateTimeType","",Ae.am.StiDateTimeType,Ae.am.StiDateTimeType.Date),new Gi("SortDirection","",Ae.am.StiVariableSortDirection,Ae.am.StiVariableSortDirection.Asc),new Gi("SortField","",Ae.am.StiVariableSortField,Ae.am.StiVariableSortField.Label),new Gi("ItemsInitializationType","",Ae.am.StiItemsInitializationType,Ae.am.StiItemsInitializationType.Items),new Ui("KeysColumn"),new Ui("ValuesColumn"),new Ui("CheckedColumn"),new Ui("BindingValuesColumn"),new Ui("Mask"),new Wi("AllowUserValues","",!0),new Wi("BindingValue"),new Ma("Keys").check(()=>null!=this.keys).get(()=>ci.Serialize.stringArray(this.keys)).set(t=>this.keys=ci.Deserialize.stringArray(t.value)),new Ma("Values").check(()=>null!=this.values).get(()=>ci.Serialize.stringArray(this.values)).set(t=>this.values=ci.Deserialize.stringArray(t.value)),new Ma("CheckedStates").check(()=>null!=this.checkedStates).get(()=>ci.Serialize.boolArray(this.checkedStates)).set(t=>this.checkedStates=ci.Deserialize.boolArray(t.value)),new Ui("BindingVariable").check(()=>null!=this.bindingVariable).get(()=>this.bindingVariable.name).set(t=>{this.jsonLoadedBindingVariableName=t.value,this.report.jsonLoaderHelper.dialogInfo.push(this)})])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t,e){this.report=e,Ii.loadFromJsonObject(t,this)}loadFromXml(t,e){this.report=e,Ii.loadFromXml(t,this)}isDefault(){return this.allowUserValues&&this.dateTimeType==Ae.am.StiDateTimeType.Date&&this.sortDirection==Ae.am.StiVariableSortDirection.Asc&&this.sortField==Ae.am.StiVariableSortField.Label&&null==this.bindingVariable&&(null==this.keys||0==this.keys.length)&&(null==this.values||0==this.values.length)&&(null==this.checkedStates||0==this.checkedStates.length)&&De.isNullOrEmpty(this.mask)&&De.isNullOrEmpty(this.keysColumn)&&De.isNullOrEmpty(this.valuesColumn)&&De.isNullOrEmpty(this.checkedColumn)&&De.isNullOrEmpty(this.bindingValuesColumn)}static convert(t){return t.toString()}getDialogInfoItems(a){try{let t=new Ee;if(null==this.keys)return t;let n=0;for(var s of this.keys){let e=null,r=null,i=null;try{if(null!=s&&s.stimulsoft().startsWith("{")&&s.stimulsoft().endsWith("}"))if(ll.findType(a,Ae.c.Range)){if(s.stimulsoft().contains("<<|>>")){let t=s.substr(1,s.length-2);var o=t.split("<<|>>");2==o.length?(r=o[0],i=o[0]):r=s.substr(1,s.length-2)}else r=s.substr(1,s.length-2);e=new R}else r=s.substr(1,s.length-2),e=new I;else if(a==Ae.b.SByte||a==Ae.b.Byte||a==Ae.b.Short||a==Ae.b.Int16||a==Ae.b.UInt16||a==Ae.b.Int||a==Ae.b.Int32||a==Ae.b.UInt||a==Ae.b.UInt32||a==Ae.b.Long||a==Ae.b.Int64||a==Ae.b.ULong||a==Ae.b.UInt64||a==Ae.b.NullableSByte||a==Ae.b.NullableByte||a==Ae.b.NullableShort||a==Ae.b.NullableInt16||a==Ae.b.NullableUInt16||a==Ae.b.NullableInt||a==Ae.b.NullableInt32||a==Ae.b.NullableUInt32||a==Ae.b.NullableLong||a==Ae.b.NullableInt64||a==Ae.b.NullableULong||a==Ae.b.NullableUInt64||a==Ae.b.StimulsoftByteList||a==Ae.b.StimulsoftShortList||a==Ae.b.StimulsoftIntList||a==Ae.b.StimulsoftLongList)r=null!=s?s.stimulsoft().toNumber(!1):null,isNaN(r)&&(r=null),e=new P;else if(a==String||a==Ae.b.StimulsoftStringList)r=s,e=new g;else if(a==Ae.b.Double||a==Ae.b.Single||a==Ae.b.NullableDouble||a==Ae.b.NullableSingle||a==Ae.b.StimulsoftDoubleList||a==Ae.b.StimulsoftFloatList)r=null!=s?s.stimulsoft().toNumber():null,isNaN(r)&&(r=null),e=new C;else if(a==Ae.b.Decimal||a==Ae.b.NullableDecimal||a==Ae.b.StimulsoftDecimalList)r=null!=s?s.stimulsoft().toNumber():null,isNaN(r)&&(r=null),e=new T;else if(a==Ae.b.DateTime||a==Ae.b.NullableDateTime||a==Ae.b.StimulsoftDateTimeList)r=Ae.b.DateTime.fromString(s),e=new v;else if(a==Ae.b.TimeSpan||a==Ae.b.NullableTimeSpan||a==Ae.b.StimulsoftTimeSpanList)r=Ae.b.TimeSpan.fromString(s),e=new w;else if(a==Boolean||a==Ae.b.NullableBoolean||a==Ae.b.StimulsoftBoolList)r=null!=s&&"true"==s.toLowerCase(),e=new b;else if(a==Ae.b.Char||a==Ae.b.NullableChar||a==Ae.b.StimulsoftCharList)r=""==s?" ":null!=s?s.toString():null,e=new S;else if(a==Ae.b.Guid||a==Ae.b.NullableGuid||a==Ae.b.StimulsoftGuidList)r=new Ae.b.Guid(s),e=new f;else if(a==Ae.bn.Image)r=xl.stringToImage(s),e=new y;else if(a==Ae.b.StimulsoftByteRange||a==Ae.b.StimulsoftShortRange||a==Ae.b.StimulsoftIntRange||a==Ae.b.StimulsoftLongRange){var l=Ae.c.RangeConverter.stringToRange(s);e=new F,r=l.fromObject,i=l.toObject}else if(a==Ae.b.StimulsoftStringRange){let t=Ae.c.RangeConverter.stringToRange(s);e=new A,r=t.fromObject.toString(),i=t.toObject.toString()}else{var u,h,c,d,m,p;a==Ae.b.StimulsoftDoubleRange||a==Ae.b.StimulsoftFloatRange?(u=Ae.c.RangeConverter.stringToRange(s),e=new k,r=u.fromObject,i=u.toObject):a==Ae.b.StimulsoftDecimalRange?(h=Ae.c.RangeConverter.stringToRange(s),e=new N,r=h.fromObject,i=h.toObject):a==Ae.b.StimulsoftDateTimeRange?(c=Ae.c.RangeConverter.stringToRange(s),e=new B,r=c.fromObject,i=c.toObject):a==Ae.b.StimulsoftTimeSpanRange?(d=Ae.c.RangeConverter.stringToRange(s),e=new E,r=d.fromObject,i=d.toObject):a==Ae.b.StimulsoftCharRange?(m=Ae.c.RangeConverter.stringToRange(s),e=new D,r=m.fromObject,i=m.toObject):a==Ae.b.StimulsoftGuidRange&&(p=Ae.c.RangeConverter.stringToRange(s),e=new x,r=p.fromObject,i=p.toObject)}e.keyObject=r,e.keyObjectTo=i}catch(t){Ae.b.StiError.showError(t,!1)}e.value=this.values.length>n&&!De.isNullOrEmpty(this.values[n])?this.values[n]:"",e.checked=!(null!=this.checkedStates&&this.checkedStates.length>n)||this.checkedStates[n],e.valueBinding=this.valuesBindingList.length>n?this.valuesBindingList[n]:null,t.push(e),n++}return this.orderBy(t)}finally{}}orderBy(t){if(null==t)return null;switch(this.sortField){case Ae.am.StiVariableSortField.Key:return this.sortDirection==Ae.am.StiVariableSortDirection.None?t:(this.sortDirection==Ae.am.StiVariableSortDirection.Asc?t.orderBy(t=>t.keyObject):t.orderByDescending(t=>t.keyObject)).toList();case Ae.am.StiVariableSortField.Label:return this.sortDirection==Ae.am.StiVariableSortDirection.None?t:(this.sortDirection==Ae.am.StiVariableSortDirection.Asc?t.orderBy(t=>t.value):t.orderByDescending(t=>t.value)).toList();default:return t}}setDialogInfoItems(t,e){if(null==t||0==t.length)return this.keys=null,this.checkedStates=null,void(this.values=[]);try{this.keys=[],this.values=[],this.checkedStates=[],this.valuesBindingList=[];for(var r of t){let t=null;try{r.stimulsoft().is(I)?t=De.format("{{{0}}}",r.keyObject):r.stimulsoft().is(R)?t=De.format("{{{0}<<|>>{1}}}",r.keyObject,r.keyObjectTo):r.stimulsoft().is(P)||r.stimulsoft().is(C)||r.stimulsoft().is(T)||r.stimulsoft().is(v)||r.stimulsoft().is(w)||r.stimulsoft().is(b)||r.stimulsoft().is(S)||r.stimulsoft().is(f)||r.stimulsoft().is(g)?t=r.keyObject.toString():r.stimulsoft().is(y)?t=xl.imageToString(r.keyObject):r.stimulsoft().is(F)||r.stimulsoft().is(k)||r.stimulsoft().is(N)||r.stimulsoft().is(B)||r.stimulsoft().is(E)||r.stimulsoft().is(D)||r.stimulsoft().is(x)||r.stimulsoft().is(A)}catch(t){Ae.b.StiError.showError(t,!1)}this.keys.push(null==t?"":t.toString()),this.values.push(r.value),this.checkedStates.push(r.checked),this.valuesBindingList.push(r.valueBinding)}}finally{}}};Ae.am.StiDialogInfo=dt;var pt=class{constructor(){this.keyObject=null,this.keyObjectTo=null,this.valueBinding=new Ee,this.value="",this.checked=!0}get componentId(){return Ae.c.StiComponentId.StiDialogInfoItem}get propName(){return""}toString(i){if(this.stimulsoft().is(A)||this.stimulsoft().is(x)||this.stimulsoft().is(D)||this.stimulsoft().is(E)||this.stimulsoft().is(k)||this.stimulsoft().is(N)||this.stimulsoft().is(F)||this.stimulsoft().is(R)){var t=null==this.keyObject?ne.get("Report","NotAssigned"):this.keyObject.toString(),n=null==this.keyObjectTo?ne.get("Report","NotAssigned"):this.keyObjectTo.toString(),n=De.isNullOrEmpty(t)&&De.isNullOrEmpty(n)?"":De.format("{0}-{1}",t,n);return this.stimulsoft().is(R)?De.format("{{{0}}}",De.isNullOrEmpty(this.value)?n:this.value):De.isNullOrEmpty(this.value)?n:this.value}if(this.stimulsoft().is(B)){let t=this.stimulsoft().as(B),e=null,r=null;i==Ae.am.StiDateTimeType.DateAndTime?(e=t.from.toString(),r=t.to.toString()):i==Ae.am.StiDateTimeType.Date?(e=t.from.toShortDateString(),r=t.to.toShortDateString()):i==Ae.am.StiDateTimeType.Time&&(e=t.from.toShortTimeString(),r=t.to.toShortTimeString());var n=De.format("{0}-{1}",e,r);return De.isNullOrEmpty(this.value)?n:this.value}var e;if(this.stimulsoft().is(y))return null==this.stimulsoft().as(y).key?ne.get("Report","NotAssigned"):ne.get("Components","StiImage");if(this.stimulsoft().is(v)){let t=this.stimulsoft().as(v),e=null;return i==Ae.am.StiDateTimeType.DateAndTime?e=t.key.toString():i==Ae.am.StiDateTimeType.Date?e=t.key.toShortDateString():i==Ae.am.StiDateTimeType.Time&&(e=t.key.toShortTimeString()),De.isNullOrEmpty(this.value)?e:this.value}var i=null==this.keyObject?ne.get("Report","NotAssigned"):this.keyObject.toString();return this.stimulsoft().is(I)?De.format("{{{0}}}",De.isNullOrEmpty(this.value)?i:this.value):De.isNullOrEmpty(this.value)?i:this.value}};Ae.am.StiDialogInfoItem=pt;var yt=class extends pt{},vh;Ae.am.StiRangeDialogInfoItem=yt;let g=class extends pt{get componentId(){return Ae.c.StiComponentId.StiStringDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}};Ae.am.StiStringDialogInfoItem=g;let f=class extends pt{get componentId(){return Ae.c.StiComponentId.StiGuidDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=Ae.b.Guid.newGuid()}};Ae.am.StiGuidDialogInfoItem=f;let S=class extends pt{get componentId(){return Ae.c.StiComponentId.StiCharDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=" "}};Ae.am.StiCharDialogInfoItem=S;let b=class extends pt{get componentId(){return Ae.c.StiComponentId.StiBoolDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=!1}};Ae.am.StiBoolDialogInfoItem=b;let y=class extends pt{get componentId(){return Ae.c.StiComponentId.StiImageDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=null}};Ae.am.StiImageDialogInfoItem=y;let v=class extends pt{get componentId(){return Ae.c.StiComponentId.StiDateTimeDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=Ae.b.DateTime.now}};Ae.am.StiDateTimeDialogInfoItem=v;let w=class extends pt{get componentId(){return Ae.c.StiComponentId.StiTimeSpanDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=0}};Ae.am.StiTimeSpanDialogInfoItem=w;let C=class extends pt{get componentId(){return Ae.c.StiComponentId.StiDoubleDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=0}};Ae.am.StiDoubleDialogInfoItem=C;let T=class extends pt{get componentId(){return Ae.c.StiComponentId.StiDecimalDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=0}};Ae.am.StiDecimalDialogInfoItem=T;let P=class extends pt{get componentId(){return Ae.c.StiComponentId.StiLongDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=0}};Ae.am.StiLongDialogInfoItem=P;let I=class extends pt{get componentId(){return Ae.c.StiComponentId.StiExpressionDialogInfoItem}get key(){return this.keyObject}set key(t){this.keyObject=t}constructor(){super(),this.keyObject=""}};Ae.am.StiExpressionDialogInfoItem=I;let A=class extends yt{get componentId(){return Ae.c.StiComponentId.StiStringRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject="",this.keyObjectTo=""}};Ae.am.StiStringRangeDialogInfoItem=A;let x=class extends yt{get componentId(){return Ae.c.StiComponentId.StiGuidRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=Ae.b.Guid.newGuid(),this.keyObjectTo=Ae.b.Guid.newGuid()}};Ae.am.StiGuidRangeDialogInfoItem=x,Ae.am.StiByteArrayRangeDialogInfoItem=class extends yt{get componentId(){return Ae.c.StiComponentId.StiByteArrayRangeDialogInfoItem}get from(){return this.keyObject}set form(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}};let D=class extends yt{get componentId(){return Ae.c.StiComponentId.StiCharRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject="A",this.keyObjectTo="Z"}};Ae.am.StiCharRangeDialogInfoItem=D;let B=class extends yt{get componentId(){return Ae.c.StiComponentId.StiDateTimeRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=Ae.b.DateTime.now,this.keyObjectTo=Ae.b.DateTime.now}};Ae.am.StiDateTimeRangeDialogInfoItem=B;let E=class extends yt{get componentId(){return Ae.c.StiComponentId.StiTimeSpanRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=0,this.keyObjectTo=0}};Ae.am.StiTimeSpanRangeDialogInfoItem=E;let k=class extends yt{get componentId(){return Ae.c.StiComponentId.StiDoubleRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=0,this.keyObjectTo=0}};Ae.am.StiDoubleRangeDialogInfoItem=k;let N=class extends yt{get componentId(){return Ae.c.StiComponentId.StiDecimalRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=0,this.keyObjectTo=0}};Ae.am.StiDecimalRangeDialogInfoItem=N;let F=class extends yt{get componentId(){return Ae.c.StiComponentId.StiLongRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject=0,this.keyObjectTo=0}};Ae.am.StiLongRangeDialogInfoItem=F;let R=class extends yt{get componentId(){return Ae.c.StiComponentId.StiExpressionRangeDialogInfoItem}get from(){return this.keyObject}set from(t){this.keyObject=t}get to(){return this.keyObjectTo}set to(t){this.keyObjectTo=t}constructor(){super(),this.keyObject="",this.keyObjectTo=""}};Ae.am.StiExpressionRangeDialogInfoItem=R}{let r=class{get getPropertiesSupported(){return!1}static rangeToString(t){let e=new r;return e.convertTo(null,null,t,String)}static stringToRange(t){let e=new r;return e.convertFrom(null,null,t)}convertTo(t,e,h,c){if(c==String){let t=h.stimulsoft().as(Ae.c.CharRange);if(null!=t)return De.format("Char,{0},{1}",nt.encodeName(t.from.toString()),nt.encodeName(t.to.toString()));let e=null,r=null,i=h.stimulsoft().as(Ae.c.DateTimeRange);if(null!=i){try{e=i.from?i.from.toString():"",r=i.to?i.to.toString():""}finally{}return De.format("DateTime,{0},{1}",nt.encodeName(e),nt.encodeName(r))}let n=h.stimulsoft().as(Ae.c.TimeSpanRange);if(null!=n){try{e=n.from?n.from.toString():"",r=n.to?n.to.toString():""}finally{}return De.format("TimeSpan,{0},{1}",nt.encodeName(e),nt.encodeName(r))}let a=h.stimulsoft().as(Ae.c.DecimalRange);if(null!=a)return De.format("Decimal,{0},{1}",nt.encodeName(a.from.toString().stimulsoft().replaceAll(",",".")),nt.encodeName(a.to.toString().stimulsoft().replaceAll(",",".")));let s=h.stimulsoft().as(Ae.c.FloatRange);if(null!=s)return De.format("Float,{0},{1}",nt.encodeName(s.from.toString().stimulsoft().replaceAll(",",".")),nt.encodeName(s.to.toString().stimulsoft().replaceAll(",",".")));let o=h.stimulsoft().as(Ae.c.DoubleRange);if(null!=o)return De.format("Double,{0},{1}",nt.encodeName(o.from.toString().stimulsoft().replaceAll(",",".")),nt.encodeName(o.to.toString().stimulsoft().replaceAll(",",".")));var c=h.stimulsoft().as(Ae.c.ByteRange);if(null!=c)return De.format("Byte,{0},{1}",c.from,c.to);var c=h.stimulsoft().as(Ae.c.ShortRange);if(null!=c)return De.format("Short,{0},{1}",c.from,c.to);var c=h.stimulsoft().as(Ae.c.IntRange);if(null!=c)return De.format("Int,{0},{1}",c.from,c.to);var c=h.stimulsoft().as(Ae.c.LongRange);if(null!=c)return De.format("Long,{0},{1}",c.from,c.to);let l=h.stimulsoft().as(Ae.c.GuidRange);if(null!=l)return De.format("Guid,{0},{1}",nt.encodeName(l.from.toString()),nt.encodeName(l.to.toString()));let u=h.stimulsoft().as(Ae.c.StringRange);if(null!=u)return De.format("String,{0},{1}",nt.encodeName(u.from.toString()),nt.encodeName(u.to.toString()))}return!1}canConvertFrom(t,e){if("string"==typeof e)return!0;return!1}canConvertTo(t,e){if("object"==typeof e)return!0;if("string"==typeof e)return!0;return!1}convertFrom(t,e,r){if("string"==typeof r){let t=r.stimulsoft().as(String),n=t.split(",");if("Char"==n[0])return new Ae.c.CharRange(nt.decodeName(n[1])[0],nt.decodeName(n[2])[0]);if("DateTime"==n[0]){let r,i;try{let t=nt.decodeName(n[1]),e=nt.decodeName(n[2]);r=De.isNullOrEmpty(t.trim())?null:Ae.b.DateTime.fromString(t),i=De.isNullOrEmpty(e.trim())?null:Ae.b.DateTime.fromString(e)}finally{}return new Ae.c.DateTimeRange(r,i)}if("TimeSpan"==n[0]){let r,i;try{let t=nt.decodeName(n[1]),e=nt.decodeName(n[2]);r=De.isNullOrEmpty(t.trim())?null:Ae.b.TimeSpan.fromString(t),i=De.isNullOrEmpty(e.trim())?null:Ae.b.TimeSpan.fromString(e)}finally{}return new Ae.c.TimeSpanRange(r,i)}if("Decimal"==n[0]){var i=nt.decodeName(n[1]).stimulsoft().toNumber(),r=nt.decodeName(n[2]).stimulsoft().toNumber();return new Ae.c.DecimalRange(i,r)}if("Float"==n[0]){var a=nt.decodeName(n[1]).stimulsoft().toNumber(),s=nt.decodeName(n[2]).stimulsoft().toNumber();return new Ae.c.FloatRange(a,s)}if("Double"==n[0]){var a=nt.decodeName(n[1]).stimulsoft().toNumber(),s=nt.decodeName(n[2]).stimulsoft().toNumber();return new Ae.c.DoubleRange(a,s)}if("Byte"==n[0]){var o=n[1].stimulsoft().toNumber(!1),l=n[2].stimulsoft().toNumber(!1);return new Ae.c.ByteRange(o,l)}if("Short"==n[0]){var o=n[1].stimulsoft().toNumber(!1),l=n[2].stimulsoft().toNumber(!1);return new Ae.c.ShortRange(o,l)}if("Int"==n[0]){var u=n[1].stimulsoft().toNumber(!1),h=n[2].stimulsoft().toNumber(!1);return new Ae.c.IntRange(u,h)}if("Long"==n[0]){var u=n[1].stimulsoft().toNumber(!1),h=n[2].stimulsoft().toNumber(!1);return new Ae.c.LongRange(u,h)}if("Guid"==n[0]){var c=nt.decodeName(n[1]),d=nt.decodeName(n[2]);let t,e;return t=De.isNullOrEmpty(c)?Ae.b.Guid.empty:new Ae.b.Guid(c),e=De.isNullOrEmpty(d)?Ae.b.Guid.empty:new Ae.b.Guid(d),new Ae.c.GuidRange(t,e)}if("String"==n[0]){var c=nt.decodeName(n[1]),d=nt.decodeName(n[2]);return new Ae.c.StringRange(c,d)}}return!1}};Ae.c.RangeConverter=r}let wh=Ae.c.IStiName,Ch=Ae.ao.StiExpression,Th=Ae.am.StiDialogInfo,Ph=Ae.c.Range,Ih=Ae.c.RangeConverter,Ah=Ae.d.IStiAppVariable;{let a=class extends Ch{constructor(t="",e="",r="",i="",n=String.stimulsoft().getType(),a="",s=!1,o=Ae.am.StiVariableInitBy.Value,l=!1,u=new Th,h=null,c=!1,d=Ae.am.StiSelectionMode.FromVariable){super(),this.inherited=!1,this._name="",this.dialogInfo=new Th,this.alias="",this._readOnly=!1,this.requestFromUser=!1,this.category="",this.description="",this.initBy=Ae.am.StiVariableInitBy.Value,this.selection=Ae.am.StiSelectionMode.First,this.key=null,this.category=t,this.name=e,this.alias=r,this.description=i,this.type=null!=n?n:String.stimulsoft().getType(),this._readOnly=s,this.initBy=o,this.value=a,this.requestFromUser=l,this.dialogInfo=u,this.key=h,this.allowUseAsSqlParameter=c,this.selection=d}implements(){return[wh,Ae.c.IStiAlias,Ae.c.IStiInherited,Jt,ku,Ah,cl]}convertTypeToJsonString(t){let e=t.stimulsoft().getNetTypeName();var t;return!e.stimulsoft().startsWith("System.Nullable`1")||-1!=(t=e.indexOf(","))&&(e=e.substr(0,t).stimulsoft().replaceAll("[[","[")+"]"),e}convertJsonStringToType(t){return t.stimulsoft().startsWith("System.Nullable`1")&&!t.stimulsoft().contains(", mscorlib,")&&(t=(t=t.substr(0,t.length-1)+", mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]").stimulsoft().replaceAll("[","[[")),ll.getStiType(t)}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Name","_"),new Ma("DialogInfo").set(t=>this.dialogInfo.loadFromJsonObject(t.value,this.report)),new Ui("Alias"),new Ui("Type").get(()=>this.convertTypeToJsonString(this.type)).set(t=>this.type=this.convertJsonStringToType(t.value)),new Wi("ReadOnly","_"),new Wi("RequestFromUser"),new Ui("Category"),new Ui("Description"),new Gi("InitBy","",Ae.am.StiVariableInitBy,Ae.am.StiVariableInitBy.Value),new Ui("Key"),new Wi("AllowUseAsSqlParameter"),new Gi("SelectionMode","_selection",Ae.am.StiSelectionMode,Ae.am.StiSelectionMode.FromVariable)])}loadFromJsonObject(t,e){this.report=e,super.loadFromJsonObject(t)}static loadFromXml(r,e){var r=r.textContent.split(",");if(1==r.length)return new a(r[0]);if(2==r.length){let t=new a(r[0]);return t.inherited=!0,t}if(5==r.length){let e=Ae.am.StiVariableInitBy.Expression;var t=nt.decodeName(r[3]),i="null"==r[2]?null:ll.getStiType(r[2]);try{a.getValue(t,i),e=Ae.am.StiVariableInitBy.Value}catch(t){Ae.b.StiError.showError(t,!1),e=Ae.am.StiVariableInitBy.Expression}return new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[1]),"",i,t,"True"==r[4],e)}if(6==r.length){let e=Ae.am.StiVariableInitBy.Value;var i=nt.decodeName(r[4]),t=ll.getStiType(r[3]);try{a.getValue(i,t),e=Ae.am.StiVariableInitBy.Value}catch(t){Ae.b.StiError.showError(t,!1),e=Ae.am.StiVariableInitBy.Expression}return new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),"",t,i,"True"==r[5],e)}if(7==r.length)return new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),"",ll.getStiType(r[3]),nt.decodeName(r[4]),"True"==r[5],"True"==r[6]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value);if(8==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),"",ll.getStiType(r[3]),nt.decodeName(r[4]),"True"==r[5],"True"==r[6]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value);return t.inherited=!0,t}if(9==r.length)return new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8]);if(10==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8]);return t.inherited="True"==r[9],t}if(11==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8],this.convertFromStringToDialogInfo(nt.decodeName(r[10]),e));return t.inherited="True"==r[9],t}if(12==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8],this.convertFromStringToDialogInfo(nt.decodeName(r[10]),e),r[11]);return t.inherited="True"==r[9],t}if(13==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8],this.convertFromStringToDialogInfo(nt.decodeName(r[10]),e),De.isNullOrWhiteSpace(r[11])?null:nt.decodeName(r[11]),"True"==r[12]);return t.inherited="True"==r[9],t}if(14==r.length){let t=new a(nt.decodeName(r[0]),nt.decodeName(r[1]),nt.decodeName(r[2]),nt.decodeName(r[3]),ll.getStiType(r[4]),nt.decodeName(r[5]),"True"==r[6],"True"==r[7]?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value,"True"==r[8],this.convertFromStringToDialogInfo(nt.decodeName(r[10]),e),De.isNullOrWhiteSpace(r[11])?null:nt.decodeName(r[11]),"True"==r[12],Zt.parse(Ae.am.StiSelectionMode,r[13]));return t.inherited="True"==r[9],t}return null}static convertFromStringToDialogInfo(t,i){if(""==t||"null"==t)return new Th;{let r=new Th;var n=Ae.bm.XmlConverter.toXml(t).childNodes[0];for(let e=0;e<n.childNodes.length;e++){let t=n.childNodes[e];switch(t.nodeName){case"DateTimeType":r.dateTimeType=Zt.parse(Ae.am.StiDateTimeType,t.textContent);break;case"SortDirection":r.sortDirection=Zt.parse(Ae.am.StiVariableSortDirection,t.textContent);break;case"SortField":r.sortField=Zt.parse(Ae.am.StiVariableSortField,t.textContent);break;case"ItemsInitializationType":r.itemsInitializationType=Zt.parse(Ae.am.StiItemsInitializationType,t.textContent);break;case"KeysColumn":r.keysColumn=t.textContent;break;case"ValuesColumn":r.valuesColumn=t.textContent;break;case"CheckedColumn":r.checkedColumn=t.textContent;break;case"BindingValuesColumn":r.bindingValuesColumn=t.textContent;break;case"Mask":r.mask=t.textContent;break;case"AllowUserValues":r.allowUserValues=t.textContent.stimulsoft().toBoolean();break;case"BindingValue":r.bindingValue=t.textContent.stimulsoft().toBoolean();break;case"Keys":r.keys=a.parseStringArray(t);break;case"Values":r.values=a.parseStringArray(t);break;case"BindingVariable":r.xmlLoadedBindingVariable=""!=t.textContent?t:null,i.jsonLoaderHelper.dialogInfo.push(r);break;case"CheckedStates":r.checkedStates=a.parseBoolArray(t);break}}return r}}static parseStringArray(e){let r=[];for(let t=0;t<e.childNodes.length;t++){var i=e.childNodes[t];"value"==i.nodeName&&(r[t]=i.textContent)}return r}static parseBoolArray(e){var r;let i=[];for(let t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];"value"==r.nodeName&&(i[t]=null===(r=r.textContent)||void 0===r?void 0:r.stimulsoft().toBoolean())}return i}getValue(){return this.valueObject}getName(){return this.name}getKey(){return this.key=_i.getOrGeneratedKey(this.key),this.key}setKey(t){this.key=t}getAlias(){return this.alias}get name(){return this._name}set name(t){this._name=t.stimulsoft().replaceAll(" ","_")}get applyFormat(){return!1}get readOnly(){return this._readOnly}set readOnly(t){(this._readOnly=t)&&(this.requestFromUser=!1)}get isCategory(){return De.isNullOrEmpty(this.name)}get valueObject(){var t=this.value;if(this.initBy==Ae.am.StiVariableInitBy.Expression)return this.value;return a.getValue(t,this.type)}set valueObject(t){this.initBy==Ae.am.StiVariableInitBy.Expression&&(this.value=t),null==t?this.value="":this.setValue(t)}get initByExpressionFrom(){if(!ll.findType(this.type,Ph.stimulsoft().getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[0]}set initByExpressionFrom(t){if(!ll.findType(this.type,Ph.stimulsoft().getType()))return;var e=this.getRangeValues();let r="";null!=e&&(r=e[1]),this.value=De.format("{0}<<|>>{1}",t,r)}get initByExpressionTo(){if(!ll.findType(this.type,Ph.stimulsoft().getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[1]}set initByExpressionTo(t){if(!ll.findType(this.type,Ph.stimulsoft().getType()))return;var e=this.getRangeValues();let r="";null!=e&&(r=e[0]),this.value=De.format("{0}<<|>>{1}",r,t)}getValueProp(){if(this.initBy==Ae.am.StiVariableInitBy.Expression)return super.getValueProp();if(!De.isNullOrEmpty(super.getValueProp())&&(this.type==Ae.b.DateTime||this.type==Ae.b.NullableDateTime)){let t=a.getDateTimeFromValue(super.getValueProp());this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.getCultureInfo("en-US"),t.toString()}finally{xt.currentCulture=this.currentCulture}}if(this.type==Ae.b.DateTime||this.type==Ae.b.NullableDateTime)return null;return super.getValueProp()}setValueProp(e){if(e=null!=e?e.toString():"",this.initBy==Ae.am.StiVariableInitBy.Expression)super.setValueProp(e);else{if(null!=e&&"null"!=e&&0<e.length&&(this.type==Ae.b.DateTime||this.type==Ae.b.NullableDateTime))try{this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.getCultureInfo("en-US");let t=Ae.b.DateTime.fromString(e,!1);null==t&&(t=new z(Date.parse(e))),null==t&&Ae.b.StiError.showError("Parse DateTime Error ("+e+")",!1),null==t&&(t=z.now),e=a.getValueFromDateTime(t)}finally{xt.currentCulture=this.currentCulture}}catch(t){throw Ae.b.StiError.showError(t,!1),new Error(De.format("Variable value '{0}' is wrong DateTime value",e))}super.setValueProp(e)}}get function(){return this.initBy==Ae.am.StiVariableInitBy.Expression}set function(t){this.initBy=t?Ae.am.StiVariableInitBy.Expression:Ae.am.StiVariableInitBy.Value}getRangeValues(){let t=this.value;if(De.isNullOrEmpty(t))return null;if(-1==t.indexOf("<<|>>"))return null;var e=t.split("<<|>>");if(2!=e.length)return null;return e}static getValue(t,e){if(De.isNullOrEmpty(t)){if(e==Ae.b.Int32||e==Ae.b.UInt32||e==Ae.b.Int64||e==Ae.b.UInt64||e==Ae.b.Byte||e==Ae.b.SByte||e==Ae.b.Int16||e==Ae.b.UInt16)return 0;if(e==String)return"";if(e==Boolean)return!1;if(e==Ae.b.Char)return" ";if(e==Ae.b.Double)return 0;if(e==Ae.b.Single)return 0;if(e==Ae.b.Decimal)return 0;if(e==Ae.b.DateTime)return null;if(e==Ae.b.TimeSpan)return null;if(ll.findType(e,Ph))return Ae.b.Activator.createInstance(e);if(ll.findType(e,Ae.bn.Image))return null;if(e==Ae.b.NullableInt32||e==Ae.b.NullableUInt32||e==Ae.b.NullableInt64||e==Ae.b.NullableUInt64||e==Ae.b.NullableByte||e==Ae.b.NullableSByte||e==Ae.b.NullableInt16||e==Ae.b.NullableUInt16)return 0;if(e==Ae.b.NullableBoolean)return!1;if(e==Ae.b.NullableChar)return" ";if(e==Ae.b.NullableDouble)return 0;if(e==Ae.b.NullableSingle)return 0;if(e==Ae.b.NullableDecimal)return 0;if(e==Ae.b.NullableDateTime)return null;if(e==Ae.b.NullableTimeSpan)return null}if(e==Ae.b.Int32||e==Ae.b.UInt32||e==Ae.b.Int64||e==Ae.b.UInt64||e==Ae.b.Byte||e==Ae.b.SByte||e==Ae.b.Int16||e==Ae.b.UInt16)return t.stimulsoft().toNumber(!1);if(e==String)return t;if(e==Boolean)return"true"==t.toLowerCase();if(e==Ae.b.Char)return t.substring(0,1);if(e==Ae.b.Double||e==Ae.b.Single||e==Ae.b.Decimal)return t.stimulsoft().toNumber();if(e==Ae.b.Guid)return De.isNullOrEmpty(t)?Ae.b.Guid.empty:new Ae.b.Guid(t);if(e==Ae.b.DateTime){this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.cultures["en-US"],z.fromString(t)}finally{xt.currentCulture=this.currentCulture}}else if(e==Ae.b.TimeSpan){this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.cultures["en-US"],Ae.b.TimeSpan.fromString(t)}finally{xt.currentCulture=this.currentCulture}}else{if(e==Ae.b.NullableInt32||e==Ae.b.NullableUInt32||e==Ae.b.NullableInt64||e==Ae.b.NullableUInt64||e==Ae.b.NullableByte||e==Ae.b.NullableSByte||e==Ae.b.NullableInt16||e==Ae.b.NullableUInt16)return t.stimulsoft().toNumber(!1);if(e==Ae.b.NullableBoolean)return"true"==t.toLowerCase();if(e==Ae.b.NullableChar)return t.substring(0,1);if(e==Ae.b.NullableDouble||e==Ae.b.NullableSingle||e==Ae.b.NullableDecimal)return t.stimulsoft().toNumber();if(e==Ae.b.NullableDateTime){this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.getCultureInfo("en-US"),z.fromString(t)}finally{xt.currentCulture=this.currentCulture}}else if(e==Ae.b.NullableTimeSpan){this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.getCultureInfo("en-US"),Ae.b.TimeSpan.fromString(t)}finally{xt.currentCulture=this.currentCulture}}else{if(ll.findType(e,Ae.bn.Image))return xl.stringToImage(t);if(ll.findType(e,Ph))return Ih.stringToRange(t)}}return null}setValue(t){if(null==t)this.value=null;else if("string"==typeof t)this.value=t;else if(t.stimulsoft().is(Ae.b.Char))this.value=t.toString();else if(t.stimulsoft().is(Ae.b.Guid))this.value=t.toString();else if(t.stimulsoft().is(Ae.b.NullableChar))this.value=t.toString();else if("boolean"==typeof t)this.value=t.toString().toLowerCase();else if(t.stimulsoft().is(Ae.b.NullableBoolean))this.value=t.toString().toLowerCase();else if(t.stimulsoft().is(Ae.bn.Image))this.value=xl.imageToString(t);else if(t.stimulsoft().is(Ae.c.Range))this.value=Ih.rangeToString(t);else if(ke.isArray(t))this.value=Qt.toBase64String(t);else if(t instanceof Ae.b.TimeSpan){this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.value=t.toString()}finally{xt.currentCulture=this.currentCulture}}else if(t instanceof Ae.b.DateTime){this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.value=t.toString()}finally{xt.currentCulture=this.currentCulture}}else if(t.stimulsoft().is(Ae.b.NullableTimeSpan)){this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.value=t.toString()}finally{xt.currentCulture=this.currentCulture}}else if(t.stimulsoft().is(Ae.b.NullableDateTime)){this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.value=t.toString()}finally{xt.currentCulture=this.currentCulture}}else if(this.type==Ae.b.Int||this.type==Ae.b.Int32||this.type==Ae.b.UInt32||this.type==Ae.b.Long||this.type==Ae.b.Int64||this.type==Ae.b.ULong||this.type==Ae.b.UInt64||this.type==Ae.b.Byte||this.type==Ae.b.SByte||this.type==Ae.b.Short||this.type==Ae.b.Int16||this.type==Ae.b.UShort||this.type==Ae.b.UInt16||this.type==Ae.b.Double||this.type==Ae.b.Single||this.type==Ae.b.Decimal||this.type==Ae.b.NullableInt||this.type==Ae.b.NullableInt32||this.type==Ae.b.NullableUInt||this.type==Ae.b.NullableUInt32||this.type==Ae.b.NullableLong||this.type==Ae.b.NullableInt64||this.type==Ae.b.NullableULong||this.type==Ae.b.NullableUInt64||this.type==Ae.b.NullableByte||this.type==Ae.b.NullableSByte||this.type==Ae.b.NullableShort||this.type==Ae.b.NullableInt16||this.type==Ae.b.NullableUShort||this.type==Ae.b.NullableUInt16||this.type==Ae.b.NullableDouble||this.type==Ae.b.NullableSingle||this.type==Ae.b.NullableDecimal){this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.value=t.toString().replace(".",xt.currentCulture.numberFormat.numberDecimalSeparator)}finally{xt.currentCulture=this.currentCulture}}}getNativeValue(){return super.getValueProp()}static getDateTimeFromValue(e){if("null"==e)return z.now;this.currentCulture=xt.currentCulture;try{xt.currentCulture=xt.getCultureInfo("en-US");let t=z.fromString(e);if(null==t&&(t=new z(Date.parse(e))),null!=t)return t;return z.now}catch(t){Ae.b.StiError.showError(t,!1)}finally{xt.currentCulture=this.currentCulture}return z.now}static getValueFromDateTime(t){this.currentCulture=xt.currentCulture;try{return xt.currentCulture=xt.getCultureInfo("en-US"),t.toString()}finally{xt.currentCulture=this.currentCulture}}eval(t){return Ae.bb.StiParser.prepareVariableValue(this,t,null,!0)}toString(){return this.isCategory?this.category:this.alias==this.name?this.name:this.name+" ["+this.alias+"]"}};Ae.am.StiVariable=a}{let l;(wt=l=Ae.c.StiNamingRule||(Ae.c.StiNamingRule={}))[wt["Simple"]=0]="Simple",wt[wt["Advanced"]=1]="Advanced";let u=class{static get namingRule(){return Hd.Engine.namingRule}static set namingRule(t){Hd.Engine.namingRule=t}static removeSpacesFromName(i,t,n=null){if(t){let e=i,r=0;var a=i.length;for(let t=0;t<a;t++)" "==i.charAt(t)?(e.stimulsoft().remove(r,1),r<e.length&&Be.isLetter(e.charAt(r))&&e.stimulsoft().insert(r,Be.toUpper(e.charAt(r)),1)):r++;return i=e.toString(),Ae.c.StiNameValidator.correctName(i,!0,n)}return i}static createSimpleName(t,e){return(e=this.removeSpacesFromName(e,!0))+(t.indexName++).toString()}static createName(e,r,i=!0,t=!0,n=!1){if(r=u.removeSpacesFromName(r,t),!(n||e.isDesigning&&u.namingRule!=l.Simple))return r+(e.indexName++).toString();var a=e.getComponents();let s=1;if(0==a.count&&0==e.dataSources.count&&0==e.dictionary.dataSources.count&&0==e.dictionary.relations.count&&0==e.dictionary.variables.count){if(i)return r+"1";return r}while(1){var o=r+s.toString();let t;if(t=i||1!=s?o:r,null==u.getObjectWithName(null,e,a,t)){if(!i&&1==s)return r;return o}s++}}static createResourceName(t,e){e=this.removeSpacesFromName(e,!1);let r=1;while(1){var i=1==r?e:e+r.toString();if(!this.isResourceNameExists(t,i))return i;r++}}static createConnectionName(t,e){e=this.removeSpacesFromName(e,!1);let r=1;while(1){var i=1==r?e:e+r.toString();if(!this.isConnectionNameExists(t,i))return i;r++}}static createDataSourcesName(t,e){e=this.removeSpacesFromName(e,!1);let r=1;while(1){var i=1==r?e:e+r.toString();if(!this.isTableDataSourcesExists(t,i))return i;r++}}static createRelationName(t,e,r){r=this.removeSpacesFromName(r,!1,t);let i=1;while(1){var n=1==i?r:r+i;if(!this.isRelationExists(t,e,n))return n;i++}}static isRelationExists(t,e,r){if(null==t)return!1;return r=r.toLowerCase().trim(),t.dictionary.relations.toList().any(t=>t.name.toLowerCase().trim()==r&&t.childSource.name==e.childSource.name)}static isTableDataSourcesExists(t,e){if(null==t)return!1;return e=e.toLowerCase().trim(),t.dictionary.dataSources.toList().any(t=>t.name.toLowerCase().trim()==e)}static isResourceNameExists(t,e){if(null==t)return!1;return e=e.toLowerCase().trim(),t.dictionary.resources.toList().any(t=>t.name.toLowerCase().trim()==e)}static isConnectionNameExists(t,e){return e=e.toLowerCase().trim(),t.dictionary.databases.toList().any(t=>t.name.toLowerCase().trim()==e)}static createColumnName(t,e){var r=null!=t&&null!=t.dictionary?t.dictionary.report:null;e=this.removeSpacesFromName(e,!1,r);let i=1;while(1){var n=1==i?e:e+i.toString();if(!this.isColumnNameExists(t,n))return n;i++}}static isColumnNameExists(t,e){return e=e.toLowerCase().trim(),t.columns.toList().any(t=>t.name.toLowerCase().trim()==e)}static isValidName(t,e){if(De.isNullOrEmpty(e)||!Be.isLetter(e.charAt(0))&&"_"!=e.charAt(0))return!1;for(let t=0;t<e.length;t++)if(!Be.isLetterOrDigit(e.charAt(t))&&"_"!=e.charAt(t))return!1;var r,i;for(i of t.getComponents().list)if(e==i.name)return!1;return!0}static exists(t,e,r){if(null==e)return null;return null!=u.getObjectWithName(t,e,e.getComponents(),r)}static checkName(t,e,r,i,n=!0){if(null!=e&&e.isDesigning){if(u.exists(t,e,r))return!1;if(n&&!u.isValidName(e,r))return!1}return!0}static getObjectWithName(e,r,i,n){if(null==r)return null;for(let t=0;t<i.count;t++){var a=i.getByIndex(t);if(n==a.name&&e!=a)return a}for(let t=0;t<r.dictionary.dataSources.count;t++){var s=r.dictionary.dataSources.getByIndex(t);if(n==s.name&&e!=s)return s}for(let t=0;t<r.dictionary.businessObjects.count;t++){var o=r.dictionary.businessObjects.getByIndex(t);if(n==o.name&&e!=o)return o}for(let t=0;t<r.dictionary.variables.count;t++){var l=r.dictionary.variables.getByIndex(t);if(n==l.name&&e!=l)return l}return null}static generateName1(t,e,r){let i=r;return 1<i.length&&"Sti"==i.substr(0,3)&&(i=i.substr(3)),i}static generateName2(t,e,r){return u.generateName1(t,e,r.stimulsoft().getType().stimulsoft().getTypeName())}static generateName(t){return u.generateName2(t.report,t.localizedName,t.stimulsoft().getType())}static generateName4(t){return u.generateName2(t.dictionary.report,ne.get("PropertyMain","DataRelation"),t.stimulsoft().getType())}static generateName5(t){return u.generateName2(t.dictionary.report,ne.get("PropertyMain","DataSource"),t.stimulsoft().getType())}};Ae.c.StiNameCreation=u}var u=class{static isReservedWordExist(t){return null!=this.reservedWordsHashtable.get(t)}static isKeywordExist(t){return null!=this.keywordsHashtable.get(t)}quoteSnippetString(t){return""}static init(){for(var t of this.keywords)this.keywordsHashtable.add(t,t);for(var e of this.reservedWords)this.reservedWordsHashtable.add(e,e)}},xh,Dh,Bh,Eh,kh,Nh,Fh,Rh,Lh,Mh,Oh,Hh,_h,Vh,Gh,Uh,jh,Wh,qh,zh,Xh,Jh,Yh,Qh,Kh,Zh,$h,tc,ec,m,u,wt,yt,pt,dt,ht,ot,rt,tt,Z,ft,V,H,M,W,F,k,l,e,L,B,D,v,b,x,P,p,m,rc,ic,nc,ac,sc,oc,D,v,b,x,P,p,lc,uc,hc,cc,l,e,L,B,dc,mc,pc,k;u.keywordsHashtable=new Dt,u.keywords=["as","do","if","in","is","for","int","new","out","ref","try","base","bool","byte","case","char","else","enum","goto","lock","long","null","this","true","uint","void","break","catch","class","const","event","false","fixed","float","sbyte","short","throw","ulong","using","while","double","extern","object","params","public","return","sealed","sizeof","static","string","struct","switch","typeof","unsafe","ushort","checked","decimal","default","exfloat","finally","foreach","private","virtual","abstract","continue","delegate","exdouble","explicit","implicit","internal","operator","override","readonly","interface","namespace","protected","unchecked"],u.reservedWordsHashtable=new Dt,u.reservedWords=["this","date","time","line","today","column"],(Ae.aw.StiCodeGenerator=u).init();let gc=Ae.aw.StiCodeGenerator;{let s=class{static correctName(t,e=!0,r=null){if(null==t||0==t.length)return"";var i="_"+t;if(s.cache.contains(i)){var n=s.cache.get(i);if("boolean"==typeof n)return t;return n}let a=t;for(let t=0;t<a.length;t++)Be.isLetterOrDigit(a.charAt(t))||(a=a.substr(0,t)+"_"+a.substr(t+1));return 0<a.length&&Be.isDigit(a.charAt(0))&&(a="n"+a),(t=e?this.checkKeyword(t,r):t)==a?s.cache.add(i,!0):s.cache.add(i,a),a}static checkKeyword(t,e){if(gc.isKeywordExist(t)){if("date"==t)return t;return t+"_"}return t}static correctBusinessObjectName(e){if(De.isNullOrEmpty(e))return"";var r=e.split(".");for(let t=0;t<r.length;t++)e+=s.correctName(r[t]),t<r.length-1&&(e+=".");return e}};s.cache=new Dt,Ae.c.StiNameValidator=s}Ae.c.IStiGlobalizationManager=new Ae.b.Interface("IStiGlobalizationManager"),Ae.c.StiNullGlobalizationManager=class{constructor(){this.culture=xt.currentCulture}getString(t){return t}getObject(t){return null}};let fc=Ae.bk.DBNull;Ae.c.StiNullValuesHelper=class{static isNull(t,e){var e=ml.getDataFromDataColumn(t.dictionary,e);return null==e||e==fc.value}},Ae.bd.IStiScaleBase=new Ae.b.Interface("IStiScaleBase"),Ae.bd.IStiRangeBase=new Ae.b.Interface("IStiRangeBase"),Ae.bd.IStiGaugeElement=new Ae.b.Interface("IStiGaugeElement"),Ae.bd.IStiCustomValueBase=new Ae.b.Interface("IStiCustomValueBase");let Sc=Ae.b.Activator;Ae.am.StiDataStoreAdapterService=class extends Ae.am.StiDataAdapterService{setDataSourceNames(t,e){e.stimulsoft().as(Ae.am.StiDataStoreSource).nameInSource=t.name}create(t,e=!0){let r=Sc.createInstance(this.getDataSourceType());return null!=r&&e&&(r.name=r.alias=Ae.c.StiNameCreation.createName(t.report,ne.get("PropertyMain","DataSource")),t.dataSources.add(r)),r}};let bc=Ae.d.StiBIDataCacheHelper;Ae.am.StiDataLeader=class{static fetchAll(e,t){return t.dataSources.toList().where(t=>t.getCategoryName().toLowerCase()==e.name.toLowerCase()).toList()}static regData(t,e,r){if(this.existsInCache(t,e))return;t&&t.regData(e,r),this.regDataAfter(t,e,r)}static regDataAsync(t,e,r){let i=new _r;if(this.existsInCache(t,e))return i.callTry();return t?t.regDataAsync(e,r).try(()=>{this.regDataAfterAsync(t,e,r).try(()=>{i.callTry()})}):this.regDataAfterAsync(t,e,r).try(()=>{i.callTry()}),i}static regDataAfter(t,e,r){if(!wn.enabled)return;if(!(r=t&&t.is(Ae.am.StiFileDatabase)?!0:r))return;var i,n;for(n of this.fetchAll(t,e)){if(bc.exists(n.key))continue;n.connect(null,r),null!=n.dataTable&&0<n.dataTable.columns.count&&bc.add(e.report,n.key,n.dataTable),n.disconnect()}}static regDataAfterAsync(e,r,i){let n=new _r;if(!wn.enabled)return n.callTry();if(!(i=e&&e.is(Ae.am.StiFileDatabase)?!0:i))return n.callTry();var e=this.fetchAll(e,r);let a=e.length;for(let t of e){if(bc.exists(t.key))continue;t.connectAsync(null,i).try(()=>{null!=t.dataTable&&0<t.dataTable.columns.count&&bc.add(r.report,t.key,t.dataTable),t.disconnect(),0==a&&n.callTry()})}return 0==a&&n.callTry(),n}static existsInCache(t,e){if(!wn.enabled)return!1;let r=this.fetchAll(t,e);if(null==r)return!1;return r.all(t=>bc.exists(t.key))}static getColumnsFromData(t,e,r){return t.getColumnsFromData(e,r,"")}static getColumnsFromDataAsync(t,e,r){return t.getColumnsFromDataAsync(e,r,"")}static connectDataSourceToData(t,e,r,i){if(wn.enabled&&bc.exists(r.key))return void(r.dataTable=bc.get(r.key,i));t.connectDataSourceToData(e,r,i),wn.enabled&&null!=r.dataTable&&0<r.dataTable.columns.count&&i&&bc.add(e.report,r.key,r.dataTable)}static connectDataSourceToDataAsync(t,e,r,i){let n=new _r;if(wn.enabled&&bc.exists(r.key))return r.dataTable=bc.get(r.key,i),n.callTry();let a=()=>{wn.enabled&&null!=r.dataTable&&0<r.dataTable.columns.count&&i&&bc.add(e.report,r.key,r.dataTable)};return t.connectDataSourceToDataAsync(e,r,i).try(()=>{a(),n.callTry()}).catch(t=>{a(),n.callCatch(t)}),n}static retrieveDataAsync(t,e=!1){return t.retrieveDataAsync(e)}static connect(t,e,r=!0){t.connect(e,r)}static connectAsync(t,e,r=!0){return t.connectAsync(e,r)}static connectAsync2(r,i,n=!0){return Y.tsfb(this,void 0,void 0,function*(){return new Promise((t,e)=>{r.connectAsync(i,n).try(()=>t()).catch(t=>e(t))})})}static disconnect(t){t.disconnect()}};let yc=Ae.am.StiDataLeader,vc=Ae.d.StiDataColumnSchema,wc=Ae.d.StiDataTableSchema,Cc=Ae.d.StiDataSchema;{let o=class extends Ae.am.StiDataStoreAdapterService{constructor(){super()}get url(){return Hd.WebServer.url}get serviceName(){return De.format(ne.get("Adapters","AdapterConnection"),this.name)}get name(){return"MS SQL"}getDatabaseSpecificName(t){return De.format("{0}",t)}getDataCategoryName(t){return t.name}getColumnsFromDataAsync(t,e,r){let i=new _r,n=new Ae.am.StiDataColumnsCollection;var e=e,a;try{De.isNullOrEmpty(e.sqlCommand)?i.callCatch():(a=e.type==Ae.am.StiSqlSourceType.StoredProcedure)||1&&(this.applyParametersToSqlSourse(e.dictionary,e),this.retrieveDataAsync(e.dictionary.report,e,r,e.sqlCommand).try(t=>{for(var e of t.columns.list){var r=e.dataType;n.add(new Ae.am.StiDataColumn(e.columnName,e.columnName,e.columnName,r))}i.callTry(n)}).catch(t=>{i.callCatch(t)}).abort(i))}catch(t){Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return i}getParametersFromData(t,e){var r=new Ae.am.StiDataParametersCollection,e=e;if(e.type==Ae.am.StiSqlSourceType.StoredProcedure)try{De.isNullOrEmpty(e.sqlCommand)}catch(t){}return r}getDataSourceType(){return Ae.am.StiSqlSource}applyParametersToSqlSourse(r,e){this.parameters=new Dt;for(var i of e.parameters.list){let t="";i.isStringType(e)&&(t="string"),i.isDateTimeType(e)&&(t="datetime"),i.isNumberType(e)&&(t="number");var i={name:i.name,value:i.value,type:i.type,typeName:e.getParameterTypesEnum()[i.type],typeGroup:t,size:i.size};this.parameters.add(i.name,i)}var t=Ae.am.StiVariableAsParameterHelper.fetchAll(e.sqlCommand,e.parameters.toList(),r.report);if(null!=t&&0<t.length)for(var n of t)try{let t=r.report.getVariable(n.name);null==t&&(t=n.eval(r.report));let e="string";"number"==typeof t?e="number":t=t instanceof z?(e="datetime",t.toString("yyyy-MM-dd hh:mm:ss")):null==t?"":t.toString();var a={name:n.name,value:t,type:null,typeName:n.type.stimulsoft().getTypeName(),typeGroup:e};this.parameters.add(a.name,a)}catch(t){}}connectDataSourceToDataAsync(t,e,r){let i=new _r;if(yc.disconnect(e),!r)return e.dataTable=new ze,i.callTry(),i;var e=e;try{this.applyParametersToSqlSourse(t,e),yc.retrieveDataAsync(e,!r).try(()=>{i.callTry()}).catch(t=>{i.callCatch(t)}).abort(i)}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(t),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return i}static getStringCommand(t){var t=JSON.stringify(t);if(!Hd.WebServer.encryptData)return t;return Ae.b.Convert.toBase64String(t).replace(/[A-Za-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)+(t.toUpperCase()<="M"?13:-13))})}callRemoteApi(t,e){let r=new _r;t.rnd=Math.random();try{if(De.isNullOrEmpty(this.url))r.callCatch('An URL to the data adapter should be specified to get data from SQL database.</br>Please, read the <a target="_blank" href="https://github.com/stimulsoft/DataAdapters.JS">manual</a> for additional information.');else{var i=new XMLHttpRequest;if(i.open("POST",this.url,!0),i.timeout=e,t.headers)for(var n of t.headers)i.setRequestHeader(n.key,n.value);delete t.headers,i.onload=function(){var t;200==i.status&&(t=i.responseText,i.abort(),r.callTry(t))},i.onerror=function(t){r.callCatch(ne.get("DesignerFx","ConnectionError"))};var a=o.getStringCommand(t);i.send(a)}}catch(t){Ae.b.StiError.showError(t,!1),r.callCatch(t.message)}return r.catch(t=>{i&&i.abort()}),r.onAbort(function(){i&&i.abort()}),r}process(a,t){let r=new _r;o.callTurn.stimulsoft().insert(0,{command:t,timeout:t.timeout,promise:r,adapter:this});let s=function(){if(0<o.callTurn.length){let n=o.callTurn.stimulsoft().peek(),e=function(t){let e=t;try{if("string"==typeof t&&(e=JSON.parse(t)),1!=Hd.WebServer.checkDataAdaptersVersion||0==e.checkVersion||e.adapterVersion==e.handlerVersion&&e.adapterVersion==Y.StiVersion.version||Ae.b.StiError.showError(`The data adapter version is ${e.adapterVersion}.\r\n`+`The handler version is ${e.handlerVersion}.\r\n`+`The engine version is ${Y.StiVersion.version}.\r\n`+`For correct work, please update the data adapter to match the same engine version.`,!1),Object.prototype.hasOwnProperty.call(e,"types")&&null!=e.types&&ke.isArray(e.types))for(var r in e.types)if("array"==e.types[r])for(var i of e.rows)i[r]=Ae.b.Convert.fromBase64String(i[r])}catch(t){e={success:!1,notice:"Server response error"+(t&&t.message?": "+t.message:".")}}var t={command:n.command.command,database:n.command.database,connection:n.command.connection,dataSource:n.command.dataSource,result:e};a.invokeEndProcessData(t),t.result.success?n.promise.callTry(t.result):n.promise.callCatch(t.result),o.callTurn.pop(),s()};n.command.preventDefault=!1,a.invokeBeginProcessData(n.command,e),0==n.command.preventDefault&&(delete n.command.preventDefault,delete n.command.event,delete n.command.report,n.adapter.callRemoteApi(n.command,n.timeout).timeout(n.timeout).try(t=>{try{e(t)}catch(t){Ae.b.StiError.showError(t,!1),n.promise.callCatch({success:!1,notice:t.message}),o.callTurn.pop(),s()}}).catch(t=>{n.promise.callCatch({success:!1,notice:t}),o.callTurn.pop(),s()}).abort(r))}};return 1==o.callTurn.length&&s(),r.onAbort(()=>{for(let t=0;t<o.callTurn.length;t++)if(o.callTurn[t].promise==r)return void o.callTurn.splice(t,1)}),r}testConnectionAsync(t,e){let r=new _r;if(De.isNullOrEmpty(e))return r.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),r;var e={command:"TestConnection",connectionString:e,database:this.name,headers:[],timeout:1e4};return this.process(t,e).try(t=>{r.callTry(ne.get("DesignerFx","ConnectionSuccessfull"))}).catch(t=>{r.callCatch(ne.get("DesignerFx","ConnectionError")+": "+t.notice)}).abort(r),r}createConnectionInDataStore(e,r){try{if(null==r.name)return;let t=e.dataStore.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase()==r.name.toLowerCase()});null!=t&&e.dataStore.remove(t),t=new Ae.am.StiData(r.name,null),t.isReportData=!0,e.dataStore.add(t)}catch(t){Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}retrieveSchemaAsync(s,e,t,r=null){let o=new _r;if(De.isNullOrEmpty(t))return o.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),o;let l={command:"ExecuteQuery",connectionString:t,queryString:(r=r||"SELECT TABLE_NAME, TABLE_TYPE, TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES").stimulsoft().replaceAll("\t"," ").stimulsoft().replaceAll("\\t"," ").stimulsoft().replaceAll("\r"," ").stimulsoft().replaceAll("\n"," "),database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var r=e.nameInSource.substring(0,t);l.dataSource=e.name,l.connection=r}let u=this,h=new Cc;u.process(s,l).try(t=>{let a=new Dt,e="";for(var r of t.rows){var i=r[t.columns.indexOf("TABLE_NAME")],n=r[t.columns.indexOf("TABLE_TYPE")],r=r[t.columns.indexOf("TABLE_SCHEMA")],r=wc.newTableOrView("dbo"==r?i:r+"."+i);a.set(i,r),De.isNullOrEmpty(e)?e=" WHERE ":e+=" OR ",e+="TABLE_NAME='"+i+"'","BASE TABLE"==n&&h.tables.add(r),"VIEW"==n&&h.views.add(r)}if(e.length<=0)return void c(h);l.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+e,u.process(s,l).try(e=>{for(var r of e.rows){var i=r[e.columns.indexOf("TABLE_NAME")],n=r[e.columns.indexOf("COLUMN_NAME")],r=r[e.columns.indexOf("DATA_TYPE")],r=this.getNetType(r),r=new vc(n,r);let t=a.get(i).stimulsoft().as(wc);null!=t&&t.columns.push(r)}}).catch(t=>{Ae.b.StiError.showError(t.notice)}).finally(t=>{c(h)}).abort(o)}).catch(t=>{o.callCatch(t.notice)}).abort(o);let c=function(r){l.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'",u.process(s,l).try(t=>{for(var e of t.rows){var e=e[t.columns.indexOf("ROUTINE_NAME")],e=wc.newProcedure(e);r.storedProcedures.add(e)}o.callTry(r)}).catch(t=>{o.callCatch(t.notice)}).abort(o)};return o}getNetType(t){switch(t.toLowerCase()){case"uniqueidentifier":case"bigint":case"timestamp":return Ae.b.Int64;case"int":return Ae.b.Int32;case"smallint":return Ae.b.Int16;case"tinyint":return Ae.b.Byte;case"decimal":case"money":case"smallmoney":return Ae.b.Decimal;case"float":return Ae.b.Float;case"real":return Ae.b.Double;case"datetime":case"date":case"datetime2":case"smalldatetime":return Ae.b.DateTime;case"time":return Ae.b.TimeSpan;case"datetimeoffset":return Ae.b.DateTime;case"bit":return Boolean;case"binary":case"image":return Ae.b.ByteArray;default:return String}}retrieveDataAsync(t,e,r,i){let h=new _r,c={command:"ExecuteQuery",connectionString:r=De.isNullOrEmpty(r)?"":r,queryString:(i=De.isNullOrEmpty(i)?"":i).stimulsoft().replaceAll("\t"," ").stimulsoft().replaceAll("\\t"," ").stimulsoft().replaceAll("\r"," ").stimulsoft().replaceAll("\n"," "),database:this.name,headers:[],parameters:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var i=e.nameInSource.substring(0,t);c.dataSource=e.name,c.connection=i}for(var n of this.parameters.values)c.parameters.push(n);0<c.parameters.length&&(c.escapeQueryParameters=Hd.Engine.escapeQueryParameters);let d;return this.process(t,c).try(i=>{try{d=new ze(De.isNullOrEmpty(c.dataSource)?"table1":c.dataSource);let r=1;for(var n in i.columns){let t=i.columns[n];if(""==t){var a=ne.get("PropertyMain","Column");t=`${a}${r++}`;while(i.columns[t])t=`${a}${r++}`}let e=String;if(Object.prototype.hasOwnProperty.call(i,"types")&&null!=i.types)switch(i.types[n]){case"boolean":e=Boolean;break;case"int":e=Ae.b.Int32;break;case"number":e=Ae.b.Decimal;break;case"string":e=String;break;case"array":e=Ae.b.ByteArray;break;case"datetime":e=Ae.b.DateTime;break;case"datetimeoffset":e=Ae.b.DateTime;break;case"time":e=Ae.b.TimeSpan;break}var s=new it(t,e);d.columns.add(s)}for(var o of i.rows){let t=d.addNewRow();for(var l in o){var u=d.columns.getByIndex(l.stimulsoft().toNumber());let e=o[l];if(u.dataType==z&&!De.isNullOrEmpty(e)){let t="";"datetimeoffset"==i.types[l]&&-1!=e.indexOf("+")&&(t=" "+e.substr(e.indexOf("+")),e=e.substr(0,e.indexOf("+"))),e=0<e.indexOf("Z")?z.fromString2("YYYY-MM-DDTHH:mm:ss.SSSZ",e,!1):z.fromString2("YYYY-MM-DDTHH:mm:ss.SSS",e,!1),e.DateTimeOffset=t}u.dataType==Ae.b.TimeSpan&&(e=Ae.b.TimeSpan.fromString(e,"hh:mm:ss")),t.setValue(u,e)}}h.callTry(d)}catch(t){Ae.b.StiError.showError(t,!1),h.callCatch(t.message)}}).catch(t=>{h.callCatch(t.notice)}).abort(h),h}};o.callTurn=[],Ae.am.StiSqlAdapterService=o}Ae.am.StiMySqlAdapterService=class extends Ae.am.StiSqlAdapterService{get name(){return"MySQL"}getDatabaseSpecificName(t){return De.format("`{0}`",t)}getDataSourceType(){return Ae.am.StiMySqlSource}retrieveSchemaAsync(o,e,t,r=null){let l=new _r;if(De.isNullOrEmpty(t))return l.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),l;let u={command:"ExecuteQuery",connectionString:t,queryString:r,database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var r=e.nameInSource.substring(0,t);u.dataSource=e.name,u.connection=r}let i="";for(var n of t.split(";"))if(n){let t=n.split("=");if(t&&2<=t.length)switch(t[0]=t[0].trim().toLowerCase(),t[1]=t[1].trim(),t[0]){case"database":case"data source":case"dbname":i=t[1];break}}null==u.queryString&&(u.queryString="SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+i+"'");let h=this;h.process(o,u).try(t=>{let e=new Cc,s=new Dt,r="";for(var i of t.rows){var n=i[t.columns.indexOf("TABLE_NAME")],a=i[t.columns.indexOf("TABLE_TYPE")],i=wc.newTableOrView(n);s.set(n,i),De.isNullOrEmpty(r)?r=" WHERE ":r+=" OR ",r+="TABLE_NAME='"+n+"'","BASE TABLE"==a&&e.tables.add(i),"VIEW"==a&&e.views.add(i)}if(r.length<=0)return void c(e);u.queryString="SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+r,h.process(o,u).try(e=>{for(var i of e.rows){var n=i[e.columns.indexOf("TABLE_NAME")],a=i[e.columns.indexOf("COLUMN_NAME")];let r=i[e.columns.indexOf("COLUMN_TYPE")];var i=String;if(ke.isArray(r)){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r[t]);r=e}r=r.toLowerCase(),"tinyint(1)"==r&&(r="boolean"),0<r.indexOf("(")&&(r=r.substr(0,r.indexOf("("))),0<r.indexOf(" ")&&(r=r.substr(0,r.indexOf(" ")));var i=this.getNetType(r),i=new vc(a,i);let t=s.get(n);null!=t&&t.columns.push(i)}}).catch(t=>{Ae.b.StiError.showError(t.notice)}).finally(t=>{c(e)}).abort(l)}).catch(t=>{l.callCatch(t.notice)}).abort(l);let c=function(r){u.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE' AND ROUTINE_SCHEMA = '"+i+"'",h.process(o,u).try(t=>{for(var e of t.rows){var e=e[t.columns.indexOf("ROUTINE_NAME")],e=wc.newProcedure(e);r.storedProcedures.add(e)}l.callTry(r)}).catch(t=>{l.callCatch(t.notice)}).abort(l)};return l}getNetType(t){switch(t.toLowerCase()){case"uniqueidentifier":case"bigint":case"int64":case"year":return Ae.b.Int64;case"int32":case"int24":case"int":return Ae.b.Int32;case"int16":case"smallint":return Ae.b.Int16;case"byte":case"ubyte":return Ae.b.Byte;case"uint32":case"uint24":return Ae.b.UInt32;case"uint16":return Ae.b.UInt16;case"tinyint":return Ae.b.SByte;case"uint64":return Ae.b.UInt64;case"decimal":case"newdecimal":case"money":case"smallmoney":return Ae.b.Decimal;case"float":case"real":return Ae.b.Float;case"double":return Ae.b.Double;case"bit":return Boolean;case"newdatetime":case"smalldatetime":case"datetime":case"date":case"timestamp":return Ae.b.DateTime;case"time":return Ae.b.TimeSpan;default:return String}}},Ae.ap.IStiTextFormat=new Ae.b.Interface("IStiTextFormat"),Ae.ap.ImplementsIStiTextFormat=[];let Tc=Ae.ap.IStiTextFormat;{let u=class extends Ae.ar.StiBaseStyle{constructor(){super(...arguments),this._horAlignment=Bs.Left,this._vertAlignment=Go.Top,this._font=new Ar("Arial",8),this._border=new Zr,this._brush=new si(Fe.transparent),this._textBrush=new si(Fe.black),this.textFormat=new Ae.bc.StiGeneralFormatService,this._allowUseHorAlignment=!1,this._allowUseVertAlignment=!1,this._allowUseImage=!1,this._allowUseFont=!0,this._allowUseBorderFormatting=!0,this._allowUseBorderSides=!0,this._allowUseBorderSidesFromLocation=!1,this._allowUseBrush=!0,this._allowUseTextBrush=!0,this.allowUseNegativeTextBrush=!1,this.allowUseTextFormat=!1,this._allowUseTextOptions=!0,this._lineSpacing=1,this.negativeTextBrush=new si(Fe.red)}implements(){return u.ImplementsStiStyle||(u.ImplementsStiStyle=super.implements().concat([Tc,Yt])),u.ImplementsStiStyle}meta(){return this._hash||(this._hash=[...super.meta(),new Gi(["HorAlignment","ha"],"_",Bs,Bs.Left),new Gi(["VertAlignment","va"],"_",Go,Go.Top),new Ui(["Font","fn"],"_").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Ui(["Border","br"],"_").get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds(["Brush","bh"],"_"),new ds(["TextBrush","tb"],"_"),new ds("NegativeTextBrush"),new Ma("TextFormat").check(()=>!(this.textFormat.is(Ae.bc.StiGeneralFormatService)||null==this.textFormat)).set(t=>this.textFormat=Ae.bc.StiFormatService.createFromJsonObject(t.value)).setXml(t=>this.textFormat=Ae.bc.StiFormatService.loadFormatFromXml(t,this.report)),new Wi("AllowUseHorAlignment"),new Wi("AllowUseVertAlignment"),new Wi("AllowUseImage"),new Wi("AllowUseFont","",!0),new Wi("AllowUseBorderFormatting","",!0),new Wi("AllowUseBorderSides","",!0),new Wi("AllowUseBorderSidesFromLocation"),new Wi("AllowUseBrush","",!0),new Wi("AllowUseTextBrush","",!0),new Wi("AllowUseTextOptions","",!0),new Wi("AllowUseNegativeTextBrush"),new Wi("AllowUseTextFormat"),new Ui("Image").get(()=>xl.imageToString(this.image)).set(t=>this.image=xl.stringToImage(t.value.toString())).setXml(t=>this.image=xl.stringToImage(t.textContent)),new ji("LineSpacing","",1)])}clone(){let t=super.clone();return t._border=this._border.clone(),t._brush=this._brush.clone(),t._font=this._font.clone(),t._textBrush=this._textBrush.clone(),t}get horAlignment(){return this._horAlignment}set horAlignment(t){this._horAlignment=t}get vertAlignment(){return this._vertAlignment}set vertAlignment(t){this._vertAlignment=t}get font(){return this._font}set font(t){this._font=t}get border(){return this._border}set border(t){this._border=t}get brush(){return this._brush}set brush(t){this._brush=t}get textBrush(){return this._textBrush}set textBrush(t){this._textBrush=t}get allowUseHorAlignment(){return this._allowUseHorAlignment}set allowUseHorAlignment(t){this._allowUseHorAlignment=t}get allowUseVertAlignment(){return this._allowUseVertAlignment}set allowUseVertAlignment(t){this._allowUseVertAlignment=t}get allowUseImage(){return this._allowUseImage}set allowUseImage(t){this._allowUseImage=t}get allowUseFont(){return this._allowUseFont}set allowUseFont(t){this._allowUseFont=t}get allowUseBorder(){return this.allowUseBorderFormatting&&this.allowUseBorderSides}set allowUseBorder(t){this.allowUseBorderFormatting=t,this.allowUseBorderSides=t}get allowUseBorderFormatting(){return this._allowUseBorderFormatting}set allowUseBorderFormatting(t){this._allowUseBorderFormatting=t}get allowUseBorderSides(){return this._allowUseBorderSides}set allowUseBorderSides(t){this._allowUseBorderSides=t}get allowUseBorderSidesFromLocation(){return this._allowUseBorderSidesFromLocation}set allowUseBorderSidesFromLocation(t){this._allowUseBorderSidesFromLocation=t}get allowUseBrush(){return this._allowUseBrush}set allowUseBrush(t){this._allowUseBrush=t}get allowUseTextBrush(){return this._allowUseTextBrush}set allowUseTextBrush(t){this._allowUseTextBrush=t}get allowUseTextOptions(){return this._allowUseTextOptions}set allowUseTextOptions(t){this._allowUseTextOptions=t}getStyleFromComponent(e,t,r=null){let i=null==r?null:r.stimulsoft().as(u);this.allowUseBorderFormatting=!1,this.allowUseBorderSides=!1,this.allowUseBorderSidesFromLocation=!1,this.allowUseBrush=!1,this.allowUseTextBrush=!1,this.allowUseFont=!1,this.allowUseHorAlignment=!1,this.allowUseVertAlignment=!1,this.allowUseTextFormat=!1;let n=!Hd.Engine.useParentStylesOldMode;if(null==i&&(n=!1),0<(t&Ae.c.StiStyleElements.Font))if(e.is(il)){let t=e;this.font=t.font.clone(),this.allowUseFont=!0}else n&&(this.font=i.font.clone(),this.allowUseFont=!0);if(0<(t&Ae.c.StiStyleElements.Border))if(e.is(el)){let t=e;this.border=t.border.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0}else n&&(this.border=i.border.clone(),this.allowUseFont=!0);if(0<(t&Ae.c.StiStyleElements.Brush))if(e.is(rl)){let t=e;this.brush=t.brush.clone(),this.allowUseBrush=!0}else n&&(this.brush=i.brush.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0);if(0<(t&Ae.c.StiStyleElements.TextBrush))if(e.is(nl)){let t=e;this.textBrush=t.textBrush.clone(),this.allowUseTextBrush=!0}else n&&(this.textBrush=i.textBrush.clone(),this.allowUseTextBrush=!0);var a,a,s,o,l;if(e.is(Ae.ap.IStiBackColor)&&0<(t&Ae.c.StiStyleElements.Brush)&&(a=e,this.brush=new si(a.backColor),this.allowUseBrush=!0),e.is(Ae.ap.IStiForeColor)&&0<(t&Ae.c.StiStyleElements.TextBrush)&&(a=e,this.textBrush=new si(a.foreColor),this.allowUseTextBrush=!0),0<(t&Ae.c.StiStyleElements.HorAlignment)&&(e.is(Ae.ap.IStiTextHorAlignment)?(this.horAlignment=e.horAlignment,this.allowUseHorAlignment=!0):n&&(this.horAlignment=i.horAlignment,this.allowUseHorAlignment=!0)),e.is(Ae.ap.IStiHorAlignment)&&0<(t&Ae.c.StiStyleElements.HorAlignment)){switch(e.horAlignment){case Ds.Center:this.horAlignment=Bs.Center;break;case Ds.Left:this.horAlignment=Bs.Left;break;case Ds.Right:this.horAlignment=Bs.Right;break}this.allowUseHorAlignment=!0}0<(t&Ae.c.StiStyleElements.VertAlignment)&&(e.is(Ae.ap.IStiVertAlignment)?(this.vertAlignment=e.vertAlignment,this.allowUseVertAlignment=!0):n&&(this.vertAlignment=i.vertAlignment,this.allowUseVertAlignment=!0));var e=e.as(Ae.ap.StiLinePrimitive);null!=e&&(this.border=new Zr(this.border.side,e.color,e.size,e.style),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0)}setStyleToComponent(e){if(e.is(Ae.as.IStiChart))return;let t=e.as(Ae.ap.StiLinePrimitive);if(e.is(il)&&this.allowUseFont){let t=e;t.font=this.font.clone()}if(e.is(el)&&(this.allowUseBorderFormatting||this.allowUseBorderSides)&&null==t){let t=e;var r=t.border.side;this.allowUseBorderFormatting&&(t.border=this.border.clone(),t.border.side=r),this.allowUseBorderSides&&(this.allowUseBorderSidesFromLocation&&null!=e.parent?t.border.side=Ae.ar.StiStylesHelper.getBorderSidesFromLocation(e):t.border.side=this.border.side)}if(e.is(rl)&&this.allowUseBrush){let t=e;t.brush=this.brush.clone()}if(e.is(nl)&&this.allowUseTextBrush){let t=e;t.textBrush=this.textBrush.clone()}if(e.is(Ae.ap.IStiBackColor)&&this.allowUseBrush){let t=e;t.backColor=hi.toColor(this.brush)}if(e.is(Ae.ap.IStiForeColor)&&this.allowUseTextBrush){let t=e;t.foreColor=hi.toColor(this.textBrush)}if(e.is(Ae.ap.IStiTextHorAlignment)&&this.allowUseHorAlignment){let t=e;t.horAlignment=this.horAlignment}if(e.is(Ae.ap.IStiTextOptions)&&this.allowUseTextOptions,e.is(Ae.ap.IStiHorAlignment)&&this.allowUseHorAlignment){let t=e;switch(this.horAlignment){case Bs.Center:t.horAlignment=Ds.Center;break;case Bs.Left:t.horAlignment=Ds.Left;break;case Bs.Right:t.horAlignment=Ds.Right;break}}if(e.is(Ae.ap.IStiVertAlignment)&&this.allowUseVertAlignment){let t=e;t.vertAlignment=this.vertAlignment}if(e.is(Tc)&&this.allowUseTextFormat){let t=e;t.textFormat=this.textFormat.clone()}if(e.is(Ae.ap.StiImage)&&this.allowUseImage){let t=e;t.image=this.image}null!=t&&this.allowUseBorderFormatting&&(t.color=this.border.color,t.size=this.border.size,t.style=this.border.style)}get image(){return this._image}set image(t){this._image!=t&&(this._image=t)}get lineSpacing(){return this._lineSpacing}set lineSpacing(t){this._lineSpacing=Math.max(.2,Math.min(10,t))}};Ae.ar.StiStyle=u}Ae.bd.IStiIndicatorRangeInfo=new Ae.b.Interface("IStiIndicatorRangeInfo");{let n=class{static convertDigitsToArabic(r,i){let n=new Mt;for(let e=0;e<r.length;e++){let t=r.charCodeAt(e);48<=t&&t<=57?(t+=1632-48,i==Ae.c.StiArabicDigitsType.Eastern&&(t+=1776-1632),n.append(String.fromCharCode(t))):n.append(r.charAt(e))}return n.toString()}static getReportVersion(){return null==this.reportVersion&&(this.reportVersion="Stimulsoft Report.JS "+Y.StiVersion.version),this.reportVersion}static saveComponentToString(t,e=Ae.c.ImageFormat.Png,r=.75,i=100){var n;if(null==null)return"";return""}static trimEndWhiteSpace(t){return this.trimEndWhiteSpace2(t,!0)}static trimEndWhiteSpace2(r,i){{let t="",e=r.length;while(0<e&&Be.isWhitespace(r[e-1])&&(i||32<=r.charCodeAt(e-1)))e--;return e==r.length?t=r:0<e&&(t=r.substring(0,e)),t}}static splitString(e,r){let i=new Array,n="";for(let t=0;t<e.length;t++){var a=e.charCodeAt(t);10==a?(i.push(this.trimEndWhiteSpace2(n,r)),n=""):r&&Be.isControl(e,t)&&9!=a||(n+=e.charAt(t))}return 0<n.length&&i.push(this.trimEndWhiteSpace2(n,r)),0==i.length&&i.push(""),i}static stringToUrl(t){var e,r;let i="";for(r of Ae.bl.Encoding.UTF8.getBytes(t))r<32||127<r||-1!=n.wrongUrlSymbols.indexOf(String.fromCharCode(r))?i+=De.format("%{0:x2}",r):i+=String.fromCharCode(r);return i}static getAdditionalData2(t){if(null==this.cachedAdditionalData2){let t=new ie;t.base64=this.additionalData2,this.cachedAdditionalData2=t}return this.cachedAdditionalData2}static getPositivePattern(t){return this.positivePatterns[t]}static getNegativePattern(t){return this.negativePatterns[t]}static makePdfDeflateStream(t){var t=Ae.a.JSZip.compressions.DEFLATE.compress(t,{level:5});let e=new Ae.bo.MemoryStream;return e.writeByte(120),e.writeByte(156),e.writeBytes(t),e}static toHex(t){var e="0123456789ABCDEF".charAt(t>>4&15);return e+="0123456789ABCDEF".charAt(15&t)}};n.reportVersion=null,n.wrongUrlSymbols=" \"'*,;<>[^`{|}",n.additionalData="iVBORw0KGgoAAAANSUhEUgAAAd8AAAGNCAYAAABQRnukAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAxNzowMjowNSAwMjoyODo0OXhS4H0AABHRSURBVHhe7d0LktvIsYbRkZcy+1/TbEVuWA1Pq0USIFC"+"PzKxzIhzWDYct4hH/10Xp2j9+fvgLABjmP5//DAAMIr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBg4gsAg4k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foKRTr37Odd2BgbOTq7fb4G+85ih73ZqZCi3N/cXO/xJ5DSz9//WmZQX9ijGgyTHnxXoZTVC0okEwib4J"+"BQxOU84xZ2ILSDgDZa/G+VStF1qGxF1DrFhtXbLhtmjxXqdkwP/DUc9Xjb36kXL/0SY1xKaV1NHv1e8vPjr7wKkodPe3oeoymQ3NEzzHyiKQF6BM2Dg3ZzCMr/whbAMPo4m2LCigGyCyZwF7BqhRdJgwqtcoK3M9KAxGQKWNnJtRoT5/625cfhjEw7CQS7cG7CLWnT7"+"/t2kPv6OxC5a3iPGc+5tHjkr0TfYk4NKM3bxDZl3HzyHrLQSABYrQ1Gy3PxpbJqGnCsDE9IpPhlCYFgVp5x3+rqrTv2Blp6PDz2sKfPyF9bOcaNFgwKOKpMZQaP6UdOPkainS5u9Ya6ezK6gBRLOiQTJ7ZYAXmhlRjD4fRdOhEX8b5I9S5jULFJnVeFbWZwFeP8qtWM"+"ZLYWgveBFXe6vRkn8faUlVwxXxr8sLZWdCad1UskFpwSEh0A5WPm6AYuQAIAKQlItawh/eXe7EJymZ/ubkgoUePTVAZAKSV1EqsZ8in/eWUlHVwLIPWACCtpFYJQXB4Q63wJiigVgCQgIrYj2wGZBOUHj2KoDJvBX4f5HH0wMDAvVb27TMbj3bp0UNz/SZK65rgJii8"+"Ur4CWvNeoMzrFEgffDOAmvuCOTdkHqIHUKwggmNHAMDxCMABAAmqDPt8ffglKABIYKMHbgXv8vk2nGyCAgGAtJRaDfh8G6z95SAAkMBQKz/nym5/OQgAxLfo0RMAapUFagUACSI4wgFIzPH+8jXQBgAkiDIUAGoF7SQ+yv8CDAAQoXsgf0PrrgAAAABJRU5ErkJggg==",n.cachedAdditionalData2=null,n.positivePatterns=["$n","n$","$ n","n $"],n.negativePatterns=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"],Ae.ax.StiExportUtils=n}(m=xh=Ae.ax.StiTiffCompressionScheme||(Ae.ax.StiTiffCompressionScheme={}))[m["Default"]=20]="Default",m[m["LZW"]=2]="LZW",m[m["CCITT3"]=3]="CCITT3",m[m["CCITT4"]=4]="CCITT4",m[m["Rle"]=5]="Rle",m[m["None"]=6]="None",(p=Dh=Ae.ax.StiHtmlExportMode||(Ae.ax.StiHtmlExportMode={}))[p["Span"]=1]="Span",p[p["Div"]=2]="Div",p[p["Table"]=3]="Table",(P=Bh=Ae.ax.StiHtmlExportQuality||(Ae.ax.StiHtmlExportQuality={}))[P["High"]=1]="High",P[P["Low"]=2]="Low",(x=Eh=Ae.ax.StiUserAccessPrivileges||(Ae.ax.StiUserAccessPrivileges={}))[x["None"]=0]="None",x[x["PrintDocument"]=1]="PrintDocument",x[x["ModifyContents"]=2]="ModifyContents",x[x["CopyTextAndGraphics"]=4]="CopyTextAndGraphics",x[x["AddOrModifyTextAnnotations"]=8]="AddOrModifyTextAnnotations",x[x["All"]=15]="All",(b=kh=Ae.ax.StiPdfEncryptionKeyLength||(Ae.ax.StiPdfEncryptionKeyLength={}))[b["Bit40"]=1]="Bit40",b[b["Bit128"]=2]="Bit128",b[b["Bit128_r4"]=3]="Bit128_r4",b[b["Bit256_r5"]=4]="Bit256_r5",b[b["Bit256_r6"]=5]="Bit256_r6",(v=Nh=Ae.ax.StiPdfImageCompressionMethod||(Ae.ax.StiPdfImageCompressionMethod={}))[v["Jpeg"]=1]="Jpeg",v[v["Flate"]=2]="Flate",v[v["Indexed"]=3]="Indexed",(D=Fh=Ae.ax.StiPdfAutoPrintMode||(Ae.ax.StiPdfAutoPrintMode={}))[D["None"]=1]="None",D[D["Dialog"]=2]="Dialog",D[D["Silent"]=3]="Silent",(B=Rh=Ae.ax.StiTxtBorderType||(Ae.ax.StiTxtBorderType={}))[B["Simple"]=1]="Simple",B[B["UnicodeSingle"]=2]="UnicodeSingle",B[B["UnicodeDouble"]=3]="UnicodeDouble",(L=Lh=Ae.ax.StiPcxPaletteType||(Ae.ax.StiPcxPaletteType={}))[L["Monochrome"]=1]="Monochrome",L[L["Color"]=2]="Color",(e=Mh=Ae.ax.StiMonochromeDitheringType||(Ae.ax.StiMonochromeDitheringType={}))[e["None"]=1]="None",e[e["FloydSteinberg"]=2]="FloydSteinberg",e[e["Ordered"]=3]="Ordered",(l=Oh=Ae.ax.StiImageType||(Ae.ax.StiImageType={}))[l["Bmp"]=1]="Bmp",l[l["Gif"]=2]="Gif",l[l["Jpeg"]=3]="Jpeg",l[l["Pcx"]=4]="Pcx",l[l["Png"]=5]="Png",l[l["Tiff"]=6]="Tiff",l[l["Emf"]=7]="Emf",l[l["Svg"]=8]="Svg",l[l["Svgz"]=9]="Svgz",(k=Hh=Ae.ax.StiHtmlType||(Ae.ax.StiHtmlType={}))[k["Html"]=1]="Html",k[k["Html5"]=2]="Html5",k[k["Mht"]=3]="Mht",(F=_h=Ae.ax.StiHtmlChartType||(Ae.ax.StiHtmlChartType={}))[F["Image"]=1]="Image",F[F["Vector"]=2]="Vector",F[F["AnimatedVector"]=3]="AnimatedVector",(W=Vh=Ae.ax.StiExcelType||(Ae.ax.StiExcelType={}))[W["ExcelBinary"]=1]="ExcelBinary",W[W["ExcelXml"]=2]="ExcelXml",W[W["Excel2007"]=3]="Excel2007",(M=Gh=Ae.ax.StiDataType||(Ae.ax.StiDataType={}))[M["Csv"]=1]="Csv",M[M["Dbf"]=2]="Dbf",M[M["Dif"]=3]="Dif",M[M["Sylk"]=4]="Sylk",M[M["Xml"]=5]="Xml",M[M["Json"]=6]="Json",(H=Uh=Ae.ax.StiExportPosition||(Ae.ax.StiExportPosition={}))[H["Pdf"]=0]="Pdf",H[H["Xps"]=1]="Xps",H[H["Ppt2007"]=2]="Ppt2007",H[H["Html"]=10]="Html",H[H["Html5"]=11]="Html5",H[H["Mht"]=12]="Mht",H[H["Txt"]=20]="Txt",H[H["Rtf"]=21]="Rtf",H[H["Word2007"]=22]="Word2007",H[H["Odt"]=23]="Odt",H[H["Excel"]=30]="Excel",H[H["ExcelXml"]=31]="ExcelXml",H[H["Excel2007"]=32]="Excel2007",H[H["Ods"]=33]="Ods",H[H["Data"]=40]="Data",H[H["Dbf"]=41]="Dbf",H[H["Xml"]=42]="Xml",H[H["Dif"]=43]="Dif",H[H["Sylk"]=44]="Sylk",H[H["Image"]=50]="Image",H[H["Bmp"]=50]="Bmp",H[H["Gif"]=51]="Gif",H[H["Jpeg"]=52]="Jpeg",H[H["Pcx"]=53]="Pcx",H[H["Png"]=54]="Png",H[H["Tiff"]=55]="Tiff",H[H["Emf"]=60]="Emf",H[H["Svg"]=61]="Svg",H[H["Svgz"]=62]="Svgz",(V=jh=Ae.ax.StiHtmlExportBookmarksMode||(Ae.ax.StiHtmlExportBookmarksMode={}))[V["BookmarksOnly"]=1]="BookmarksOnly",V[V["ReportOnly"]=2]="ReportOnly",V[V["All"]=3]="All",(ft=Wh=Ae.ax.StiDbfCodePages||(Ae.ax.StiDbfCodePages={}))[ft["Default"]=0]="Default",ft[ft["USDOS"]=437]="USDOS",ft[ft["MazoviaDOS"]=620]="MazoviaDOS",ft[ft["GreekDOS"]=737]="GreekDOS",ft[ft["InternationalDOS"]=850]="InternationalDOS",ft[ft["EasternEuropeanDOS"]=852]="EasternEuropeanDOS",ft[ft["IcelandicDOS"]=861]="IcelandicDOS",ft[ft["NordicDOS"]=865]="NordicDOS",ft[ft["RussianDOS"]=866]="RussianDOS",ft[ft["KamenickyDOS"]=895]="KamenickyDOS",ft[ft["TurkishDOS"]=857]="TurkishDOS",ft[ft["EasternEuropeanWindows"]=1250]="EasternEuropeanWindows",ft[ft["RussianWindows"]=1251]="RussianWindows",ft[ft["WindowsANSI"]=1252]="WindowsANSI",ft[ft["GreekWindows"]=1253]="GreekWindows",ft[ft["TurkishWindows"]=1254]="TurkishWindows",ft[ft["StandardMacintosh"]=1e4]="StandardMacintosh",ft[ft["GreekMacintosh"]=10006]="GreekMacintosh",ft[ft["RussianMacintosh"]=10007]="RussianMacintosh",ft[ft["EasternEuropeanMacintosh"]=10029]="EasternEuropeanMacintosh",(Z=qh=Ae.ax.StiExportDataType||(Ae.ax.StiExportDataType={}))[Z["String"]=0]="String",Z[Z["Int"]=1]="Int",Z[Z["Long"]=2]="Long",Z[Z["Float"]=3]="Float",Z[Z["Double"]=4]="Double",Z[Z["Date"]=5]="Date",Z[Z["Bool"]=6]="Bool",(tt=zh=Ae.ax.StiImageFormat||(Ae.ax.StiImageFormat={}))[tt["Color"]=1]="Color",tt[tt["Grayscale"]=2]="Grayscale",tt[tt["Monochrome"]=3]="Monochrome",(rt=Xh=Ae.ax.StiRtfExportMode||(Ae.ax.StiRtfExportMode={}))[rt["Table"]=4]="Table",rt[rt["Frame"]=1]="Frame",rt[rt["WinWord"]=2]="WinWord",rt[rt["TabbedText"]=3]="TabbedText",(ot=Jh=Ae.ax.StiDataExportMode||(Ae.ax.StiDataExportMode={}))[ot["Data"]=1]="Data",ot[ot["Headers"]=2]="Headers",ot[ot["DataAndHeaders"]=3]="DataAndHeaders",ot[ot["Footers"]=4]="Footers",ot[ot["HeadersFooters"]=6]="HeadersFooters",ot[ot["DataAndHeadersFooters"]=7]="DataAndHeadersFooters",ot[ot["AllBands"]=15]="AllBands",(ht=Yh=Ae.ax.StiWord2007RestrictEditing||(Ae.ax.StiWord2007RestrictEditing={}))[ht["No"]=1]="No",ht[ht["ExceptEditableFields"]=2]="ExceptEditableFields",ht[ht["Yes"]=3]="Yes",(dt=Qh=Ae.ax.StiExcel2007RestrictEditing||(Ae.ax.StiExcel2007RestrictEditing={}))[dt["No"]=1]="No",dt[dt["ExceptEditableFields"]=2]="ExceptEditableFields",dt[dt["Yes"]=3]="Yes",(pt=Kh=Ae.ax.StiPdfAllowEditable||(Ae.ax.StiPdfAllowEditable={}))[pt["No"]=1]="No",pt[pt["Yes"]=2]="Yes",(yt=Zh=Ae.ax.StiImageResolutionMode||(Ae.ax.StiImageResolutionMode={}))[yt["Exactly"]=1]="Exactly",yt[yt["NoMoreThan"]=2]="NoMoreThan",yt[yt["Auto"]=3]="Auto",(wt=$h=Ae.ax.StiPdfComplianceMode||(Ae.ax.StiPdfComplianceMode={}))[wt["None"]=0]="None",wt[wt["A1"]=1]="A1",wt[wt["A2"]=2]="A2",wt[wt["A3"]=3]="A3",(u=tc=Ae.ax.StiExcelSheetViewMode||(Ae.ax.StiExcelSheetViewMode={}))[u["Normal"]=1]="Normal",u[u["PageLayout"]=2]="PageLayout",u[u["PageBreakPreview"]=3]="PageBreakPreview",(m=ec=Ae.ax.StiPdfZUGFeRDComplianceMode||(Ae.ax.StiPdfZUGFeRDComplianceMode={}))[m["None"]=0]="None",m[m["V1"]=1]="V1",m[m["V2"]=2]="V2",m[m["V2_1"]=3]="V2_1",Ae.an.StiReportCacheProcessingEvent=class extends Ae.an.StiEvent{toString(){return"ReportCacheProcessing"}},Ae.an.StiPrintedEvent=class extends Ae.an.StiEvent{toString(){return"Printed"}},Ae.an.StiPrintingEvent=class extends Ae.an.StiEvent{toString(){return"Printing"}},Ae.an.StiExportedEvent=class extends Ae.an.StiEvent{toString(){return"Exported"}},Ae.an.StiExportEventHandler=new Ha("sender: any, e: StiExportEventArgs"),Ae.an.StiExportEventArgs=class extends Un{constructor(t){super(),this.exportFormat=t}},Ae.an.StiRefreshingEvent=class extends Ae.an.StiEvent{toString(){return"Refreshing"}},(p=rc=Ae.ar.StiStyleConditionType||(Ae.ar.StiStyleConditionType={}))[p["ComponentType"]=1]="ComponentType",p[p["Placement"]=2]="Placement",p[p["PlacementNestedLevel"]=4]="PlacementNestedLevel",p[p["ComponentName"]=8]="ComponentName",p[p["Location"]=16]="Location",(P=ic=Ae.ar.StiStyleComponentPlacement||(Ae.ar.StiStyleComponentPlacement={}))[P["None"]=0]="None",P[P["ReportTitle"]=1]="ReportTitle",P[P["ReportSummary"]=2]="ReportSummary",P[P["PageHeader"]=4]="PageHeader",P[P["PageFooter"]=8]="PageFooter",P[P["GroupHeader"]=16]="GroupHeader",P[P["GroupFooter"]=32]="GroupFooter",P[P["Header"]=64]="Header",P[P["Footer"]=128]="Footer",P[P["ColumnHeader"]=256]="ColumnHeader",P[P["ColumnFooter"]=512]="ColumnFooter",P[P["Data"]=1024]="Data",P[P["DataEvenStyle"]=2048]="DataEvenStyle",P[P["DataOddStyle"]=4096]="DataOddStyle",P[P["Table"]=8192]="Table",P[P["Hierarchical"]=16384]="Hierarchical",P[P["Child"]=32768]="Child",P[P["Empty"]=65536]="Empty",P[P["Overlay"]=131072]="Overlay",P[P["Panel"]=262144]="Panel",P[P["Page"]=524288]="Page",P[P["AllExeptStyles"]=1042431]="AllExeptStyles",(x=nc=Ae.ar.StiStyleComponentType||(Ae.ar.StiStyleComponentType={}))[x["Text"]=1]="Text",x[x["Primitive"]=2]="Primitive",x[x["Image"]=4]="Image",x[x["CrossTab"]=8]="CrossTab",x[x["Chart"]=16]="Chart",x[x["CheckBox"]=32]="CheckBox",(b=ac=Ae.ar.StiStyleLocation||(Ae.ar.StiStyleLocation={}))[b["None"]=0]="None",b[b["TopLeft"]=1]="TopLeft",b[b["TopCenter"]=2]="TopCenter",b[b["TopRight"]=4]="TopRight",b[b["MiddleLeft"]=8]="MiddleLeft",b[b["MiddleCenter"]=16]="MiddleCenter",b[b["MiddleRight"]=32]="MiddleRight",b[b["BottomLeft"]=64]="BottomLeft",b[b["BottomCenter"]=128]="BottomCenter",b[b["BottomRight"]=256]="BottomRight",b[b["Left"]=512]="Left",b[b["Right"]=1024]="Right",b[b["Top"]=2048]="Top",b[b["Bottom"]=4096]="Bottom",b[b["CenterHorizontal"]=8192]="CenterHorizontal",b[b["CenterVertical"]=16384]="CenterVertical",(v=sc=Ae.ar.StiStyleConditionOperation||(Ae.ar.StiStyleConditionOperation={}))[v["EqualTo"]=0]="EqualTo",v[v["NotEqualTo"]=1]="NotEqualTo",v[v["GreaterThan"]=2]="GreaterThan",v[v["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",v[v["LessThan"]=4]="LessThan",v[v["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",v[v["Containing"]=6]="Containing",v[v["NotContaining"]=7]="NotContaining",v[v["BeginningWith"]=8]="BeginningWith",v[v["EndingWith"]=9]="EndingWith",(D=oc=Ae.ar.StiHeatmapFillMode||(Ae.ar.StiHeatmapFillMode={}))[D["Lightness"]=0]="Lightness",D[D["Darkness"]=1]="Darkness",Ae.an.StiExportingEvent=class extends Ae.an.StiEvent{toString(){return"Exporting"}};{let i=class extends J{constructor(t=null){super(),this.report=null,this.hash=new Dt,this.needUpdateHash=!0,this.lastCount=-1,this.report=t,this.needUpdateHash=!0}implements(){return[Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){this.clear();for(var r of t.properties()){let t=r.value;var r=t.properties().firstOrDefault(t=>"Ident"==t.name).value;let e=null;switch(r){case"StiChartStyle":e=new Ae.ar.StiChartStyle;break;case"StiGaugeStyle":e=new Ae.c.StiGaugeStyle;break;case"StiIndicatorStyle":e=new Ae.c.StiIndicatorStyle;break;case"StiProgressStyle":e=new Ae.c.StiProgressStyle;break;case"StiCrossTabStyle":e=new Ae.ar.StiCrossTabStyle;break;case"StiDialogStyle":e=new Ae.ar.StiDialogStyle;break;case"StiMapStyle":e=new Ae.ar.StiMapStyle;break;case"StiTableStyle":e=new Ae.c.StiTableStyle;break;case"StiStyle":e=new Ae.ar.StiStyle;break}e.loadFromJsonObject(t),this.list.push(e)}}loadFromXml(r){this.clear();for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i;if(null!=e.attributes.getNamedItem("type"))switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.StiStyle":{let t=new Ae.ar.StiStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiChartStyle":{let t=new Ae.ar.StiChartStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiGaugeStyle":{let t=new Ae.c.StiGaugeStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiMapStyle":{let t=new Ae.ar.StiMapStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiCrossTabStyle":{let t=new Ae.ar.StiCrossTabStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiDialogStyle":{let t=new Ae.ar.StiDialogStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiIndicatorStyle":{let t=new Ae.c.StiIndicatorStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiProgressStyle":{let t=new Ae.c.StiProgressStyle;t.loadFromXml(e),this.list.push(t);break}case"Stimulsoft.Report.StiTableStyle":{let t=new Ae.c.StiTableStyle;t.loadFromXml(e),this.list.push(t);break}}}}load(e){try{if(void 0===e||null==e)return;if("string"==typeof(e=ke.isArray(e)?Ae.bl.Encoding.UTF8.getString(e):e)&&e.trim().stimulsoft().startsWith("<?xml")&&(e=at.toXml(e)),this.clear(),e.stimulsoft().is(fr)){if("StiSerializer"!=e.firstChild.nodeName&&"Styles"!=e.firstChild.firstChild.nodeName)throw new Error("Not correct file");this.loadFromXml(e.firstChild.firstChild)}else try{let t=new te;t.deserialize(e),this.loadFromJsonObject(t)}catch(t){throw new Error("Not correct file")}this.needUpdateHash=!0,null!=this.report&&this.report.applyStyles()}catch(t){Ae.b.StiError.showError(t,!1)}}loadFile(t){var t=Ae.bo.File.getFile(t);t&&this.load(t)}saveToJsonString(){try{let t=this.saveToJsonObject(as.Report);if(t)return t.serialize()}catch(t){Ae.b.StiError.showError(t,!1)}return""}add(t){this.list.push(t),this.hash.set(t.name.toLowerCase(),t),t.report=this.report}clear(){super.clear(),this.hash.clear(),this.needUpdateHash=!0}addRange(t){var e,r;for(r of t.stimulsoft().is(i)?t.list:t)this.add(r)}contains(t){if(this.updateHash(),null==t)return!1;return this.hash.contains((t.stimulsoft().is(Ae.ar.StiBaseStyle)?t.name:t).toLowerCase())}insert(t,e){super.insert(t,e),this.hash.set(e.name.toLowerCase(),e)}remove(t){super.remove(t),this.hash.remove(t.name.toLowerCase())}setByIndex(t,e){this.setByIndex(t,e),this.needUpdateHash=!0}getByName(t){if(this.updateHash(),this.hash.contains(t.toLowerCase()))return this.hash.get(t.toLowerCase());for(var e of this.list)if(e.name.toLowerCase()==t.toLowerCase())return e;return null}setByName(e,r){for(let t=0;t<this.list.length;t++)if(this.getByIndex(t).name.toLowerCase()==e.toLowerCase())return this.list[t]=r,void(this.needUpdateHash=!0);this.list.push(r)}updateHash(){if(this.lastCount!=this.length&&(this.lastCount=this.length,this.needUpdateHash=!0),this.needUpdateHash){this.hash.clear();for(var t of this.list)this.hash.set(t.name.toLowerCase(),t);this.needUpdateHash=!1}}getCustomChartStyle(t){var e;return null!=(De.isNullOrWhiteSpace(t)?null:this.getByName(t))?new Ae.c["Chart"].StiCustomStyle(t):null}getCustomGaugeStyle(e){var t=De.isNullOrWhiteSpace(e)?null:this.toList().firstOrDefault(t=>t.name==e);return null!=t?new Ae.c["Gauge"].StiCustomGaugeStyle(t):null}};Ae.ar.StiStylesCollection=i}(B=lc=Ae.be.StiTableStyle||(Ae.be.StiTableStyle={}))[B["StyleNone"]=0]="StyleNone",B[B["Style11"]=11]="Style11",B[B["Style12"]=12]="Style12",B[B["Style13"]=13]="Style13",B[B["Style14"]=14]="Style14",B[B["Style15"]=15]="Style15",B[B["Style16"]=16]="Style16",B[B["Style17"]=17]="Style17",B[B["Style18"]=18]="Style18",B[B["Style19"]=19]="Style19",B[B["Style31"]=31]="Style31",B[B["Style32"]=32]="Style32",B[B["Style33"]=33]="Style33",B[B["Style34"]=34]="Style34",B[B["Style35"]=35]="Style35",B[B["Style36"]=36]="Style36",B[B["Style37"]=37]="Style37",B[B["Style38"]=38]="Style38",B[B["Style39"]=39]="Style39",B[B["Style41"]=41]="Style41",B[B["Style42"]=42]="Style42",B[B["Style43"]=43]="Style43",B[B["Style44"]=44]="Style44",B[B["Style45"]=45]="Style45",B[B["Style46"]=46]="Style46",B[B["Style47"]=47]="Style47",B[B["Style48"]=48]="Style48",B[B["Style49"]=49]="Style49",B[B["Style51"]=51]="Style51",B[B["Style52"]=52]="Style52",B[B["Style53"]=53]="Style53",B[B["Style54"]=54]="Style54",B[B["Style55"]=55]="Style55",B[B["Style56"]=56]="Style56",B[B["Style57"]=57]="Style57",B[B["Style58"]=58]="Style58",B[B["Style59"]=59]="Style59",(L=uc=Ae.be.StiTablceCellType||(Ae.be.StiTablceCellType={}))[L["Text"]=0]="Text",L[L["Image"]=1]="Image",L[L["CheckBox"]=2]="CheckBox",L[L["RichText"]=3]="RichText",(e=hc=Ae.be.StiTableAutoWidth||(Ae.be.StiTableAutoWidth={}))[e["None"]=0]="None",e[e["Page"]=1]="Page",e[e["Table"]=2]="Table",(l=cc=Ae.be.StiTableAutoWidthType||(Ae.be.StiTableAutoWidthType={}))[l["None"]=0]="None",l[l["LastColumns"]=1]="LastColumns",l[l["FullTable"]=2]="FullTable",Ae.be.IStiTableCell=new Ae.b.Interface("IStiTableCell"),Ae.an.StiGetImageDataEventHandler=new Ha("sender: any, e: StiGetImageDataEventArgs"),Ae.an.StiGetImageDataEventArgs=class extends Un{constructor(t=null){super(),this.value=t}},Ae.al.StiExpressionHelper=class{static parseText(r,i){if(De.isNullOrEmpty(i)||null==r)return i;if(i.stimulsoft().contains("{")&&i.stimulsoft().contains("}")&&!i.stimulsoft().contains("{{")&&!i.stimulsoft().contains("}}"))try{let t=new Ae.ap.StiText;t.page=r;let e=Ae.bb.StiParser.parseTextValue(i,t);if(null!=e)return e.toString()}catch(t){}return i}static parseBool(r,i){if(De.isNullOrEmpty(i))return!1;try{let t=new Ae.ap.StiText;t.page=r,(i=!(i=i.trim()).stimulsoft().startsWith("{")?"{"+i:i).stimulsoft().endsWith("}")||(i+="}");let e=Ae.bb.StiParser.parseTextValue(i,t);return e.stimulsoft().toBoolean()}catch(t){}return!1}},Ae.an.StiGetImageDataEvent=class extends Ae.an.StiEvent{toString(){return"GetImageData"}},Ae.an.StiGetImageURLEvent=class extends Ae.an.StiEvent{toString(){return"GetImageURL"}};{let b=class{static toInt16(t,e){return(255&t[e+1])<<8|255&t[e]}static toUInt16(t,e){return(255&t[e+1])<<8|255&t[e]}static toInt32(t,e){return(255&t[e+3])<<24|(255&t[e+2])<<16|(255&t[e+1])<<8|255&t[e]}static toUInt32(t,e){return(255&t[e+3])<<24|(255&t[e+2])<<16|(255&t[e+1])<<8|255&t[e]}static toUInt64(t,e){return(255&t[e+6])<<56|(255&t[e+6])<<48|(255&t[e+5])<<40|(255&t[e+4])<<32|(255&t[e+3])<<24|(255&t[e+2])<<16|(255&t[e+1])<<8|255&t[e]}static toChar(t,e){return""}};Ae.ay.BitConverter=b;let y=class{};Ae.ay.OleContainer=class{constructor(t){if(this.data=null,this.dir=null,this.bigSectorSize=512,this.shortSectorSize=64,this.minimumStreamSize=4096,this.bSAT=null,this.sSAT=null,this.headerSize=512,this.sIDFree=4294967295,this.sIDEoC=4294967294,this.sIDSAT=4294967293,this.sIDMSAT=4294967292,this.data=t,null==this.data)return;this.bigSectorSize=1<<this.getUInt16(30),this.shortSectorSize=1<<this.getUInt16(32),this.minimumStreamSize=this.getUInt32(56);var r=this.getUInt32(44),e=this.getUInt32(68),i=this.getUInt32(60),n=this.getUInt32(48);let a=ke.create(Number,r),s=109,o=76,l=r;while(0<l)a[r-l]=this.getUInt32(o),o+=4,s--,l--,0==s&&(o=this.getBigSectorOffset(o==this.headerSize?e:this.getUInt32(o)),s=(this.bigSectorSize>>2)-1);var t=r*(this.bigSectorSize>>2);this.bSAT=ke.create(Number,t);for(let e=0;e<r;e++){var u=this.getBigSectorOffset(a[e]);for(let t=0;t<this.bigSectorSize>>2;t++)this.bSAT[e*(this.bigSectorSize>>2)+t]=this.getUInt32(u+4*t)}if(i!=this.sIDEoC){var h=this.getBSatChain(i),i=h.length*(this.bigSectorSize>>2);this.sSAT=ke.create(Number,i);for(let e=0;e<h.length;e++){var c=this.getBigSectorOffset(h[e]);for(let t=0;t<this.bigSectorSize>>2;t++)this.sSAT[e*(this.bigSectorSize>>2)+t]=this.getUInt32(c+4*t)}}var d=this.getBSatChain(n),m=this.bigSectorSize>>7,p=d.length*m;this.dir=ke.create(y,p,!0);for(let t=0;t<p;t++){var g=Ne.trunc(t/m),f=t-g*m,S=this.getBigSectorOffset(d[g])+128*f;this.dir[t]=new y;let r="";for(let e=0;e<31;e++){let t=b.toChar(this.data,S+2*e);if(0==t.charCodeAt(0))break;r+=t}this.dir[t].name=r,this.dir[t].type=Ae.e[S+66],this.dir[t].dIDLeft=this.getUInt32(S+68),this.dir[t].dIDRight=this.getUInt32(S+72),this.dir[t].dIDRoot=this.getUInt32(S+76),this.dir[t].sIDFirstSector=this.getUInt32(S+116),this.dir[t].size=this.getUInt32(S+120)}}getUInt16(t){return b.toUInt16(this.data,t)}getUInt32(t){return b.toUInt32(this.data,t)}getBigSectorOffset(t){return this.headerSize+t*this.bigSectorSize}getShortSectorOffset(t){var e=this.getBSatChain(this.dir[0].sIDFirstSector),r=this.bigSectorSize/this.shortSectorSize,i=t/r,r=t-i*r;return this.getBigSectorOffset(e[i])+r*this.shortSectorSize}getBSatChain(t){let e=[],r=t;do{e.push(r),r=this.bSAT[r]}while(r!=this.sIDEoC);var t=[];return ke.copy3(e,t),t}getSSatChain(t){let e=[],r=t;do{e.push(r),r=this.sSAT[r]}while(r!=this.sIDEoC);var t=[];return ke.copy3(e,t),t}getBigStreamData(e){var r=[];for(let t=0;t<e.length;t++){var i=this.getBigSectorOffset(e[t]),n=t*this.bigSectorSize;ke.copy2(this.data,i,r,n,this.bigSectorSize)}return r}getShortStreamData(e){var r=[];for(let t=0;t<e.length;t++){var i=this.getShortSectorOffset(e[t]),n=t*this.shortSectorSize;ke.copy2(this.data,i,r,n,this.shortSectorSize)}return r}getStreamData(t){if(0==this.dir[t].type||0==this.dir[t].size||0==t)return null;var e=this.dir[t].size,r=e<this.minimumStreamSize?this.getShortStreamData(this.getSSatChain(this.dir[t].sIDFirstSector)):this.getBigStreamData(this.getBSatChain(this.dir[t].sIDFirstSector));if(r.length>e){var t=[];return ke.copy2(r,0,t,0,e),t}return r}clear(){this.data=null,this.dir=null,this.bSAT=null,this.sSAT=null}},Ae.ay.ObjectHeader=class{constructor(t){if(this.headerLen=0,null==t||t.length<=64||b.toUInt16(t,0)!=e.oleLinkIdentifier)return;this.signature=b.toInt16(t,0),this.headerSize=b.toInt16(t,2),this.objectType=b.toInt32(t,4),this.nameLen=b.toInt16(t,8),this.classLen=b.toInt16(t,10),this.nameOffset=b.toInt16(t,12),this.classOffset=b.toInt16(t,14),this.objectSizeWidth=b.toInt16(t,16),this.objectSizeHeight=b.toInt16(t,18),this.oleVersion=b.toInt32(t,this.headerSize),this.format=b.toInt32(t,this.headerSize+4),this.oleInfoLen=b.toInt32(t,this.headerSize+8),this.name=this.getString(t,this.nameOffset),this.class=this.getString(t,this.classOffset),this.oleInfo=this.getString(t,this.headerSize+12),this.headerLen=this.headerSize+12+this.oleInfoLen+12}getString(t,e){let r="";while(0!=t[e])r+=String.fromCharCode(t[e]),e++;return r}};let e=class{static isOleContainer(t){return null!=t&&64<t.length&&b.toUInt64(t,0)==this.oleContainerIdentifier}static isOleHeader(t){return null!=t&&64<t.length&&b.toUInt16(t,0)==this.oleLinkIdentifier}static checkForOlePres(t){return null!=t&&64<t.length&&4294967295==b.toUInt32(t,0)&&3==b.toUInt32(t,4)&&4==b.toUInt32(t,8)}};e.oleContainerIdentifier=0xe11ab1a1e011d000,e.oleLinkIdentifier=7189,e.olePresHeaderLength=40,Ae.ay.OleUnit=e}let Pc=Ae.ay.BitConverter,Ic=Ae.ay.OleContainer,Ac=Ae.ay.ObjectHeader,xc=Ae.ay.OleUnit;{let a=class{static getImageFromObject(t,e=200,r=200,i=!0,n=!1){return xl.bytesToImage(a.getImageBytesFromObject(t),e,r,i,n)}static getImageBytesFromObject(t){if(null!=t&&t.stimulsoft().is(ie))return xl.imageToBytes(t);if("string"==typeof t&&0<t.length)try{return xl.stringToByteArray(t)}catch(t){}let a=t;if(null!=a&&0<a.length){var e,t;if(xc.isOleHeader(a)&&(e=new Ac(a),t=ke.create(Number,a.length-e.headerLen),ke.copy2(a,e.headerLen,t,0,a.length-e.headerLen),a=t),xc.isOleContainer(a)){let e=new Ic(a),r=0;for(let t=1;t<e.dir.length;t++)if(-1!=e.dir[t].name.indexOf("OlePres")){r=t;break}if(a=e.getStreamData(r),e.clear(),null==a||0==a.length)return null;var s=6+20,o=6+22;let i=0,n=!1;if(xc.checkForOlePres(a)){if(i=xc.olePresHeaderLength,1==Pc.toUInt16(a,i+0)&&9==Pc.toUInt16(a,i+2)){i+=9*2;let t=0,e=0;do{if(e=Pc.toInt32(a,i),t=Pc.toInt16(a,i+4),2881==t){i+=s,n=!0;break}if(3907==t){i+=o,n=!0;break}if(e<1)break;i+=2*e}while((0!=t||3!=e)&&i<a.length-6)}n||(i=xc.olePresHeaderLength)}}return a}return null}static getImageName(e){if(this.isTiff(e))return"Tiff";if(this.isPng(e))return"Png";if(this.isGif(e))return"Gif";if(this.isJpeg(e))return"Jpeg";if(this.isBmp(e))return"Bmp";if(this.isEmf(e))return"Emf";if(this.isWmf(e))return"Wmf";if(this.isIcon(e))return"Icon";if(this.isSvg(e))return"Svg";if(this.isXml(e))for(let t=5;t<e.length-4;t++){if(60!=e[t])continue;if(33==e[t+1])continue;if(115==e[t+1]&&118==e[t+2]&&103==e[t+3])return"Svg";break}return null}static isXml(t){return 60==t[0]&&63==t[1]&&120==t[2]&&109==t[3]&&108==t[4]}static isSvg(t){return 60==t[0]&&(115==t[1]&&118==t[2]&&103==t[3]||63==t[1]&&120==t[2]&&109==t[3]&&108==t[4])}static isIcon(t){return 0==t[0]&&0==t[1]&&(1==t[2]||2==t[2])&&0==t[3]&&0!=t[4]}static isWmf(t){return 215==t[0]&&205==t[1]&&198==t[2]&&154==t[3]||1==t[0]&&0==t[1]&&9==t[2]&&0==t[3]}static isEmf(t){return 32==t[40]&&69==t[41]&&77==t[42]&&70==t[43]}static isBmp(t){return 66==t[0]&&77==t[1]}static isJpeg(t){return 255==t[0]&&216==t[1]}static isGif(t){return 71==t[0]&&73==t[1]&&70==t[2]}static isPng(t){return 137==t[0]&&80==t[1]&&78==t[2]&&71==t[3]}static isTiff(t){return 73==t[0]&&73==t[1]&&42==t[2]&&0==t[3]||77==t[0]&&77==t[1]&&0==t[2]&&42==t[3]}static isImage(t){if(null==t)return!1;if(ke.isArray(t))return this.isImage2(t);if("string"==typeof t)return this.isImage3(t);return t.stimulsoft().is(ie)}static isImage2(t){if(t.length<128)return!1;var e,r;return xc.isOleHeader(t)&&(e=new Ac(t),r=[t.length-e.headerLen],ke.copy2(t,e.headerLen,r,0,t.length-e.headerLen),t=r),null!=this.getImageName(t)}static isImage3(t){if(t.length<128)return!1;try{var e=t.match(",");if(!(t=null!=e?t.substr(e.index+1):t).stimulsoft().isBase64String())return!1;var r=Ae.b.Convert.fromBase64String(t.substring(0,128));return null!=this.getImageName(r)}catch(t){}return!1}};Ae.ap.StiImageHelper=a}let Dc=Ae.c.StiFileImageCache;{let t=class extends Ae.ap.StiComponent{constructor(){super(...arguments),this._horAlignment=Ds.Left,this._vertAlignment=Go.Top,this._border=new Zr,this._brush=new si(Fe.transparent),this._smoothing=!0,this.isCachedImage=!1,this._objectToDraw=null,this._imageToDraw=null,this._stretch=!1,this._multipleFactor=1,this._aspectRatio=!1}implements(){return t.ImplementsStiView||(t.ImplementsStiView=super.implements().concat([Ae.ap.IStiHorAlignment,Ae.ap.IStiVertAlignment,Ae.ap.IStiBorder,Ae.ap.IStiExportImage,Ae.ap.IStiExportImageExtended,Ae.ap.IStiBrush,Yt])),t.ImplementsStiView}meta(){return this._hash||(this._hash=[...super.meta(),new Gi(["HorAlignment","ha"],"_",Ds,Ds.Left),new Gi(["VertAlignment","va"],"_",Go,Go.Top),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds(["Brush","bh"],"_"),new Wi("Smoothing","",!0),new Wi("Stretch"),new ji("MultipleFactor","",1),new Wi("AspectRatio"),new Ui(["ImageToDraw","ImageBytesToDraw"]).check(t=>t==as.Document).get(()=>xl.imageToString(this.imageToDraw)).set(t=>this.imageToDraw=xl.stringToImage(t.value)).setXml(t=>this.imageToDraw=xl.stringToImage(t.textContent))])}clone(t){let e=super.clone(t);return null!=this._border?e._border=this._border.clone():e._border=null,null!=this._brush?e._brush=this._brush.clone():e._brush=null,e._horAlignment=this._horAlignment,e._vertAlignment=this._vertAlignment,e}get horAlignment(){return this._horAlignment}set horAlignment(t){this._horAlignment=t}get vertAlignment(){return this._vertAlignment}set vertAlignment(t){this._vertAlignment=t}getImage(e,r=Ae.c.StiExportFormat.None){if(null!=this.objectToDraw){let t=Ae.aF.StiPainter.getPainter(this.stimulsoft().getType());return t.getImage(this,e,r)}{let t=Ae.aF.StiPainter.getPainter(this.stimulsoft().getType());return t.getImage(this,e,r)}}isExportAsImage(t){return!0}get border(){return this._border}set border(t){this._border=t}get brush(){return this._brush}set brush(t){this._brush=t}getActualSize(){let e=new ls(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return ls.empty;{let t=this.page.unit;var r=t.convertToHInches(this.width),i=t.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(e.width=t.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>i&&(e.height=t.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.canShrink&&(this.imageToDraw.width*this.multipleFactor<r&&(e.width=t.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<i&&(e.height=t.convertFromHInches(this.imageToDraw.height*this.multipleFactor)))}}return e}getRealSize(){let e=new ls(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return ls.empty;{let t=this.page.unit;var r=t.convertToHInches(this.width),i=t.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(e.width=t.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>i&&(e.height=t.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.imageToDraw.width*this.multipleFactor<r&&(e.width=t.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<i&&(e.height=t.convertFromHInches(this.imageToDraw.height*this.multipleFactor))}}return e}setPage(t){var e=this.imageToDraw;super.setPage(t),this.imageToDraw=e}get smoothing(){return this._smoothing}set smoothing(t){this._smoothing=t}get objectToDraw(){return this._objectToDraw}set objectToDraw(t){this._objectToDraw=t}get imageToDraw(){if(null!=this._imageToDraw)return this._imageToDraw;if(null==this.guid)return null;if(null!=this.report&&null!=this.report.imageCachePath){var t=Dc.getImageCacheName(this.report.imageCachePath,this.guid);if(Dc.exist(t))return Dc.loadImage(t)}return null}set imageToDraw(t){var e;this.isCachedImage=!1,null==this.report||this.isDesigning?this._imageToDraw=t:null!=t?(De.isNullOrEmpty(this.report.imageCachePath)&&(this.report.imageCachePath=Dc.createNewCache()),null==this.guid&&this.newGuid(),e=Dc.getImageCacheName(this.report.imageCachePath,this.guid),Dc.saveImage(t,e),this.isCachedImage=!0):this._imageToDraw=null}get stretch(){return this._stretch}set stretch(t){this._stretch=t}get multipleFactor(){return this._multipleFactor}set multipleFactor(t){this._multipleFactor=t}get aspectRatio(){return this._aspectRatio}set aspectRatio(t){this._aspectRatio=t}getImageFromSource(){return null}};Y.tsfa([Ae.b.enumType(Ds)],t.prototype,"horAlignment",null),Y.tsfa([Ae.b.enumType(Go)],t.prototype,"vertAlignment",null),Ae.ap.StiView=t}(k=pc=Ae.al.StiImageType||(Ae.al.StiImageType={}))[k["GdiImage"]=0]="GdiImage",k[k["SvgObject"]=1]="SvgObject";let Bc=Ae.S.StiImageFromURL,Ec=Ae.an.StiGetImageDataEventHandler,kc=Ae.an.StiGetImageDataEventArgs,Nc=Ae.an.StiGetImageDataEvent,Fc=Ae.an.StiGetImageURLEvent,Rc=Ae.ap.StiImageHelper;{let r=Ae.al.StiExpressionHelper,n=class extends Ae.ap.StiView{constructor(){super(...arguments),this.defaultClientRectangle=new os(0,0,100,100),this._imageRotation=Ae.ap.StiImageRotation.None,this._image=null,this._file="",this._dataColumn="",this._imageURL="",this._imageData="",this.icon=null,this.iconColor=Fe.fromArgb(68,114,196)}implements(){return n.ImplementsStiImage||(n.ImplementsStiImage=super.implements().concat([Dl,Yt])),n.ImplementsStiImage}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanBreak"),new Ua("GetImageURLEvent",Fc),new Ua("GetImageDataEvent",Nc),new Gi("ProcessingDuplicates","",Ae.ap.StiImageProcessingDuplicatesType,Ae.ap.StiImageProcessingDuplicatesType.None),new Gi("ImageRotation","_",Ae.ap.StiImageRotation,Ae.ap.StiImageRotation.None),new Ui("File","_"),new Ui("DataColumn","_"),new Gi("Icon","",Dr).check(()=>null!=this.icon),new dl("IconColor","",Fe.fromArgb(68,114,196)),new Ui("ImageURLValue","_").check(t=>t==as.Document),new Ga("ImageURL").check(t=>t!=as.Document),new Ga("ImageData").check(t=>t!=as.Document),new In(["Image","ImageBytes"]).check(t=>t!=as.Document).get(()=>xl.imageToString(this.image)).set(t=>this.image=xl.stringToImage(t.value)).setXml(t=>this.image=xl.stringToImage(t.textContent))])}getImage(t,e=Ae.c.StiExportFormat.None){if(null!=this.report&&null!=this.report.preparedExportImages){var r=this.report.preparedExportImages.get(this);if(null!=r)return r}return this.imageToDraw}isExportAsImage(t){if(t==Ae.c.StiExportFormat.Html&&null!=this.icon)return!1;return super.isExportAsImage(t)}getImageFromFile(){if(!De.isNullOrEmpty(this.file)){var t=r.parseText(this.page,this.file),e;return ie.fromFile(t)}return null}getImageFromUrl(){var e=this.imageURLValue,t,r;try{if(!De.isNullOrEmpty(e)){if(null!=Ps.getResourceNameFromHyperlink(e))return Ps.getImage(this.report,e);if(null!=Ps.getVariableNameFromHyperlink(e))return Ps.getImage(this.report,e);return Bc.loadBitmap(e)}}catch(t){Ae.b.StiError.showError(t.message,!1);var e=De.format("Image can't be loaded from URL '{0}' in image component {1}!",this.imageURLValue,this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return null}getImageFromDataColumn(){try{var e=Ae.am.StiDataColumn.getDataFromDataColumn(this.report.dictionary,this.dataColumn);return Rc.getImageFromObject(e)}catch(t){Ae.b.StiError.showError(t.message,!1);var e=De.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return null}getImageFromIcon(){try{if(null==this.icon)return null;var e=this.getPaintRectangle(!0,!1);return Ae.c.StiFontIconsHelper.convertFontIconToImage(this.icon,this.iconColor,e.width,e.height)}catch(t){Ae.b.StiError.showError(t.message,!1);var e=De.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return null}getImageFromSource(){let t=this.getImageFromFile();if(null!=t)return t;if(t=this.getImageFromDataColumn(),null!=t)return t;if(t=this.getImageFromIcon(),null!=t)return t;return null}get canBreak(){return this.properties.getBool(n.propertyCanBreak,!1)}set canBreak(t){this.properties.setBool(n.propertyCanBreak,t,!1)}break(t,e,r){var i;return r.ref=0,this.imageToDraw,!0}get imageURLValue(){return this._imageURLValue}set imageURLValue(t){this._imageURLValue!=t&&(this._imageURLValue=t,null==this._image&&(this.isDesigning||null!=this.report&&this.report.isRendering)&&null!=t&&(this.imageToDraw=this.getImageFromUrl()))}invokeEvents(){try{var t,e,r,i;super.invokeEvents(),this.report.calculationMode==Ae.c.StiCalculationMode.Compilation?null!=this.events.get(n.eventGetImageURL)&&(null==this.imageURLValue||"string"==typeof this.imageURLValue&&0==this.imageURLValue.length)&&(t=new ns,this.invokeGetImageURL(this,t),this.imageURLValue=t.value):null!=this.imageURLValue&&(this.imageURLValue,!1||0!=this.imageURLValue.length)||(e=new ns,this.invokeGetImageURL(this,e),this.imageURLValue=e.value),this.report.calculationMode==Ae.c.StiCalculationMode.Compilation?null!=this.events.get(n.eventGetImageData)&&(r=new kc,this.invokeGetImageData(this,r),null!=r.value&&(this.image=r.value)):De.isNullOrEmpty(this.imageData)||(i=new kc,this.invokeGetImageData(this,i),null!=i.value&&(this.image=i.value))}catch(t){Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoEvents...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}onGetImageURL(t){}invokeGetImageURL(r,i){try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){this.onGetImageURL(i);let t=this.events.get(n.eventGetImageURL);if(null!=t)try{t(r,i)}catch(i){}}else{this.onGetImageURL(i);let t=Ae.bb.StiParser.parseTextValue(this.imageURL,this,r);null!=t&&(i.value=t.toString());let e=this.events.get(n.eventGetImageURL);if(null!=e)try{e(r,i)}catch(i){}}ja.invokeBlockly(this.report,r,this.getImageURLEvent,i)}catch(t){var r=De.format("Expression in ImageURL property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getImageURLEvent(){return new Fc(this)}set getImageURLEvent(t){null!=t&&t.set(this,t.script),this.events.set(n.eventGetImageURL,za.create(t.script,this.report))}onGetImageData(t){}invokeGetImageData(r,i){try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){this.onGetImageData(i);let t=this.events.get(n.eventGetImageData);if(null!=t)try{t(r,i)}catch(i){}}else{this.onGetImageData(i);let t=Ae.bb.StiParser.parseTextValue(this.imageData,this,r);null!==t&&void 0!==t&&t.stimulsoft().is(ie)&&(i.value=t);let e=this.events.get(n.eventGetImageData);if(null!=e)try{e(r,i)}catch(i){}}ja.invokeBlockly(this.report,r,this.getImageDataEvent,i)}catch(t){var r=De.format("Expression in ImageData property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getImageDataEvent(){return new Nc(this)}set getImageDataEvent(t){null!=t&&t.set(this,t.script),this.events.set(n.eventGetImageData,Ec.create(t.script,this.report))}get processingDuplicates(){return this.properties.get(n.propertyProcessingDuplicates,Ae.ap.StiImageProcessingDuplicatesType.None)}set processingDuplicates(t){this.properties.set(n.propertyProcessingDuplicates,t,Ae.ap.StiImageProcessingDuplicatesType.None)}get imageRotation(){return this._imageRotation}set imageRotation(t){this._imageRotation=t}get image(){return this._image}set image(t){this._image!=t&&(this._image=t,this.imageToDraw=this._image)}get margins(){return this.properties.get(n.propertyMargins,Ae.ap.StiMargins.empty)}set margins(t){this.properties.set(n.propertyMargins,t,Ae.ap.StiMargins.empty)}get file(){return this._file}set file(t){if(this._file!=t&&(this._file=t,null==this.image))try{var e=this.getImageFromFile();this.imageToDraw=e}catch(t){Ae.b.StiError.showError(t)}}get dataColumn(){return this._dataColumn}set dataColumn(t){this._dataColumn=t,this.imageToDraw=null}get imageURL(){return this._imageURL}set imageURL(t){this._imageURL=t,this.imageToDraw=null}get imageData(){return this._imageData}set imageData(t){this._imageData=t,this.imageToDraw=null}convertImageMargins(t,e){var r=this.margins;if(r.isEmpty)return t;let i=this.page.zoom;e||(i=1);var n=r.left,a=r.right,e=r.top,r=r.bottom;return 0!=n&&(t.x+=n*i,t.width-=n*i),0!=e&&(t.y+=e*i,t.height-=e*i),0!=a&&(t.width-=a*i),0!=r&&(t.height-=r*i),t}};n.propertyCanBreak=Math.random().toString().substr(2),n.eventGetImageURL={},n.eventGetImageData={},n.propertyProcessingDuplicates=Math.random().toString().substr(2),n.propertyMargins=Math.random().toString().substr(2),Y.tsfa([Ae.b.enumType(Ae.ap.StiImageRotation)],n.prototype,"imageRotation",null),Ae.ap.StiImage=n}{let t=class extends Ae.ap.StiImage{constructor(){super(...arguments),this.cellDockStyle=Ae.ap.StiDockStyle.None,this.parentJoinCell=null,this._joinCells=new Array(0),this._parentJoin=-1,this._join=!1,this.id=-1,this.joinWidth=0,this.joinHeight=0,this.tableTag=null,this._cellType=Ae.be.StiTablceCellType.Image,this.fixedWidth=!1,this.column=0}implements(){return t.ImplementsStiTableCellImage||(t.ImplementsStiTableCellImage=super.implements().concat([Ae.be.IStiTableCell,Ae.be.IStiTableComponent,Yt])),t.ImplementsStiTableCellImage}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Locked"),new gs("Linked"),new Gi("CellDockStyle","",Ae.ap.StiDockStyle,Ae.ap.StiDockStyle.None),new Ma("JoinCells","_").get(()=>ci.Serialize.numberArray(this.joinCells)).set(t=>this._joinCells=ci.Deserialize.numberArray(t.value)).setXml(t=>this._joinCells=this.loadJoinCellsFromXml(t)),new ji("ParentJoin","_",-1),new Wi("Join","_"),new ji("ID","id",-1),new ji("JoinWidth"),new ji("JoinHeight"),new Gi("CellType","_",Ae.be.StiTablceCellType,Ae.be.StiTablceCellType.Image),new Wi("FixedWidth")])}loadJoinCellsFromXml(r){let i=[],n=0;for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];"value"==t.nodeName&&(i[n]=t.textContent.stimulsoft().toNumber(),n++)}return i}get componentId(){return Ae.c.StiComponentId.StiTableCellImage}clone(t){let e=super.clone(t);return e._join=this._join,e.minSize=new ls(0,0),e.maxSize=new ls(0,0),e.cellDockStyle=this.cellDockStyle,e.joinWidth=this.joinWidth,e.joinHeight=this.joinHeight,e._cellType=this._cellType,e.column=this.column,e.fixedWidth=this.fixedWidth,e.id=this.id,e._joinCells=this._joinCells.stimulsoft().clone(),-1!=this._parentJoin?e._parentJoin=this._parentJoin:e._parentJoin=-1,e}get locked(){return this.isDesigning&&!this.report.isPageDesigner}get linked(){return this.isDesigning&&!this.report.isPageDesigner}get canShrink(){return!1}set canShrink(t){}get canGrow(){return super.getCanGrow()}set canGrow(t){super.getCanGrow()!=t&&(super.setCanGrow(t),this.parent.is(Ae.be.StiTable)&&this.parent.changeGrowToHeightAtCell(this))}get joinCells(){return this._joinCells}set joinCells(t){this._joinCells=t}get parentJoin(){return this._parentJoin}set parentJoin(t){this._parentJoin=t}get join(){return this._join}set join(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))}get merged(){return-1!=this._parentJoin}get changeTopPosition(){var t;if(this.parent.is(Ae.be.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1}get changeLeftPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=0;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}return!0}return!1}get changeRightPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=this.parent.columnCount-1;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}}return!0}get cellType(){return this._cellType}set cellType(t){this._cellType=t;let e=this.parent.stimulsoft().as(Ae.be.StiTable);if(null!=e)switch(t){case Ae.be.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case Ae.be.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case Ae.be.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}}getJoinComponentByGuid(t){if(null==this.parent&&0==this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==t)return e;return null}getJoinComponentByIndex(t){if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==this._joinCells[t])return e;return null}containsGuid(e){if(0==this._joinCells.length)return!1;for(let t=0;t<this._joinCells.length;t++)if(this._joinCells[t]==e)return!0;return!1}createJoin(){let t=this.parent.stimulsoft().as(Ae.be.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},n={ref:r},a={ref:this.joinWidth},s={ref:this.joinHeight};if(this._joinCells=t.createJoin(i,n,a,s),0==this._joinCells.length)return;e=i.ref,r=n.ref,this.joinWidth=a.ref,this.joinHeight=s.ref;let o=0,l=0;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);0==e&&(o=t.left,l=t.top),t.enabled=!1,t.as(Ae.be.IStiTableCell).parentJoin=this.id}this._parentJoin=this.id,this.clientRectangle=new os(o,l,e,r)}deleteJoin(){if(null==this.page&&0==this._joinCells.length)return;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);t.enabled=!0,t.as(Ae.be.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this.joinWidth=0,this.joinHeight=0}getNewClientRectangle(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new os(t.right,t.top,this.right-t.right,t.height):new os(t.left,t.bottom,t.width,this.bottom-t.bottom)}setJoinSize(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new os(e,t,this.right-e,this.bottom-t)}getRealHeightAfterInsertRows(){if(this._join){if(1==this.joinHeight)return super.getHeight();let e=0;var r=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),i=+(this.parent.components.indexOf(this)/this.parent.columnCount);for(let t=r;t<i;t++){var n=t*this.parent.columnCount;e+=this.parent.components.getByIndex(n).height}return super.getHeight()-e}return super.getHeight()}getRealHeight(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:super.getBottom()-t.bottom}return super.getHeight()}getRealTop(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return super.getTop()}getRealWidth(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return super.getWidth()}getRealLeft(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left}createNew(){return new t}};Ae.be.StiTableCellImage=t}Ae.be.StiColumnSize=class{constructor(e){this._widths=new Array(e),this._fixedColumn=new Array(e);for(let t=0;t<e;t++)this._widths[t]=0,this._fixedColumn[t]=!1}setFixedColumn(t,e){this._fixedColumn[t]=!0,this._widths[t]<e&&(this._widths[t]=e)}add(t,e){this._fixedColumn[t]||(this._widths[t]+=e)}addLastNotFixed(e){for(let t=this._fixedColumn.length-1;0!=t;t--)if(!this._fixedColumn[t])return void(this._widths[t]+=e)}subtract(t,e){this._fixedColumn[t]||(this._widths[t]-=e)}setWidth(t,e){this._fixedColumn[t]||(this._widths[t]=e)}getFixed(t){return this._fixedColumn[t]}get length(){return this._widths.length}getCountNotFixedColumn(){let e=0;for(let t=0;t<this._fixedColumn.length;t++)this._fixedColumn[t]||e++;return e}getWidth(t){return this._widths[t]}normalize(){let e=0,r=0;for(let t=0;t<this._widths.length;t++){e+=+this._widths[t];var i=Ne.round2(e-r,2);this._widths[t]=+i,r+=i}}};{let t=class extends Ae.ap.StiDataBand{constructor(t=os.empty){super(t),this.isConverted=!1,this.dockableTable=!0,this.autoWidth=Ae.be.StiTableAutoWidth.None,this.autoWidthType=Ae.be.StiTableAutoWidthType.None,this._rowCount=5,this._columnCount=5,this._footerRowsCount=0,this._headerRowsCount=0,this.headerPrintOn=Ae.ap.StiPrintOnType.AllPages,this.headerCanGrow=!0,this.headerCanShrink=!1,this.headerCanBreak=!1,this.headerPrintAtBottom=!1,this.headerPrintIfEmpty=!0,this.headerPrintOnAllPages=!0,this.headerPrintOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore,this.footerPrintOn=Ae.ap.StiPrintOnType.AllPages,this.footerCanGrow=!0,this.footerCanShrink=!1,this.footerCanBreak=!1,this.footerPrintAtBottom=!1,this.footerPrintIfEmpty=!0,this.footerPrintOnAllPages=!1,this.footerPrintOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore,this.numberID=0,this.columns=0,this.columnWidth=0,this.columnGaps=0,this.minRowsInColumn=0,this.defaultClientRectangle=new os(0,0,300,120),this._tableStyle=Ae.be.StiTableStyle.StyleNone,this._rowCount=this._columnCount=5,this.placeOnToolbox=!1}implements(){return t.ImplementsStiTable||(t.ImplementsStiTable=super.implements().concat([Ae.be.IStiTableComponent,Yt])),t.ImplementsStiTable}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Columns"),new gs("ColumnWidth"),new gs("ColumnGaps"),new gs("MinRowsInColumn"),new Wi("DockableTable","",!0),new Gi("AutoWidth","",Ae.be.StiTableAutoWidth,Ae.be.StiTableAutoWidth.None),new Gi("AutoWidthType","",Ae.be.StiTableAutoWidthType,Ae.be.StiTableAutoWidthType.None),new ji("RowCount","_",5),new ji("ColumnCount","_",5),new ji("FooterRowsCount","_"),new ji("HeaderRowsCount","_"),new Gi("HeaderPrintOn","",Ae.ap.StiPrintOnType,Ae.ap.StiPrintOnType.AllPages),new Wi("HeaderCanGrow","",!0),new Wi("HeaderCanShrink"),new Wi("HeaderCanBreak"),new Wi("HeaderPrintAtBottom"),new Wi("HeaderPrintIfEmpty","",!0),new Wi("HeaderPrintOnAllPages","",!0),new Gi("HeaderPrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore),new Gi("FooterPrintOn","",Ae.ap.StiPrintOnType,Ae.ap.StiPrintOnType.AllPages),new Wi("FooterCanGrow","",!0),new Wi("FooterCanShrink"),new Wi("FooterCanBreak"),new Wi("FooterPrintAtBottom"),new Wi("FooterPrintIfEmpty","",!0),new Wi("FooterPrintOnAllPages"),new Gi("FooterPrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore),new ji("NumberID"),new Gi("TableStyle","_",Ae.be.StiTableStyle,Ae.be.StiTableStyle.StyleNone)])}get componentId(){return Ae.c.StiComponentId.StiTable}clone(t,e){let r=super.clone(t,!1);if(r.numberID=this.numberID,r._rowCount=this._rowCount,r._columnCount=this._columnCount,r._footerRowsCount=this._footerRowsCount,r._headerRowsCount=this._headerRowsCount,r._tableStyle=this._tableStyle,r.dockableTable=this.dockableTable,r.headerPrintOn=this.headerPrintOn,r.headerCanGrow=this.headerCanGrow,r.headerCanShrink=this.headerCanShrink,r.headerCanBreak=this.headerCanBreak,r.headerPrintAtBottom=this.headerPrintAtBottom,r.headerPrintIfEmpty=this.headerPrintIfEmpty,r.headerPrintOnAllPages=this.headerPrintOnAllPages,r.headerPrintOnEvenOddPages=this.headerPrintOnEvenOddPages,r.footerPrintOn=this.footerPrintOn,r.footerCanGrow=this.footerCanGrow,r.footerCanShrink=this.footerCanShrink,r.footerCanBreak=this.footerCanBreak,r.footerPrintAtBottom=this.footerPrintAtBottom,r.footerPrintIfEmpty=this.footerPrintIfEmpty,r.footerPrintOnAllPages=this.footerPrintOnAllPages,r.footerPrintOnEvenOddPages=this.footerPrintOnEvenOddPages,r.autoWidth=this.autoWidth,r.autoWidthType=this.autoWidthType,r.components=new Ae.ap.StiComponentsCollection(r),e)for(var i of this.components.list)switch(i.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:{let t=i.clone(!0);t.parent=r,r.components.add(t);break}case Ae.be.StiTablceCellType.Image:{let t=i.clone(!0);t.parent=r,r.components.add(t);break}case Ae.be.StiTablceCellType.CheckBox:{let t=i.clone(!0);t.parent=r,r.components.add(t);break}case Ae.be.StiTablceCellType.RichText:{let t=i.clone(!0);t.parent=r,r.components.add(t);break}}return r}convert(t,e,r=!1){super.convert(t,e,r),this.distributeRows(),this.distributeColumns()}get canGrow(){return super.getCanGrow()}set canGrow(t){super.setCanGrow(t)}get localizedName(){return ne.get("Components","StiTable")}get localizedCategory(){return ne.get("Report","Bands")}get rowCount(){return this._rowCount}set rowCount(t){var e;0<t&&(e=this._rowCount,this._rowCount=t,this.changeRowCount(e,t))}get columnCount(){return this._columnCount}set columnCount(t){var e;0<t&&(e=this._columnCount,this._columnCount=t,this.changeColumnCount(e,t))}get footerRowsCount(){return this._footerRowsCount}set footerRowsCount(t){(!this.isDesigning||t<=this._rowCount-this._headerRowsCount)&&(this._footerRowsCount=t,this.refreshTableStyle())}get headerRowsCount(){return this._headerRowsCount}set headerRowsCount(t){(!this.isDesigning||t<=this._rowCount-this._footerRowsCount)&&(this._headerRowsCount=t,this.refreshTableStyle())}get defaultHeightCell(){if(null!=this.page&&null!=this.page.report)switch(this.page.report.reportUnit){case Ae.c.StiReportUnitType.Centimeters:return.8;case Ae.c.StiReportUnitType.HundredthsOfInch:return 30;case Ae.c.StiReportUnitType.Inches:return.3;case Ae.c.StiReportUnitType.Millimeters:return 8}return 1}get minHeight(){return super.getMinHeight()}set minHeight(t){super.setMinHeight(t)}get maxHeight(){return super.getMaxHeight()}set maxHeight(t){super.setMaxHeight(t)}get minSize(){return new ls(0,0)}set minSize(t){super.setMinSize(t)}get rightToLeft(){return super.getRightToLeft()}set rightToLeft(t){super.setRightToLeft(t)}get width(){return super.getWidth()}set width(t){var e=super.getWidth();if(t==super.getWidth())return;super.setWidth(t),0<t&&t!=e&&this.resizeWidthCell(e)}get height(){return super.getHeight()}set height(t){if(super.setHeight(t),0==this.components.count&&null!=this.page)return this.selectAll(),void this.createCell()}get dockable(){return this.dockableTable}set dockable(t){}get headerStartColor(){return Fe.fromArgb(144,192,241)}get headerEndColor(){return Fe.fromArgb(144,192,241)}changeGrowToHeightAtCell(t){var t=this.components.indexOf(t);if(-1==t)return;var e,r=Ne.trunc(t/this.columnCount)*this.columnCount,i;let n=!1;for(let t=r;t<r+this.columnCount;t++){if(this.components.getByIndex(t).canGrow){n=n||!0;break}}for(let e=r;e<r+this.columnCount;e++){let t=this.components.getByIndex(e);t.growToHeight=n}}get tableStyle(){return this._tableStyle}set tableStyle(t){this._tableStyle!=t&&(this._tableStyle=t,0!=+this._tableStyle&&this.refreshTableStyle())}refreshTableStyle(){switch(this._tableStyle){case Ae.be.StiTableStyle.StyleNone:break;case Ae.be.StiTableStyle.Style11:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style11));break;case Ae.be.StiTableStyle.Style12:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style12));break;case Ae.be.StiTableStyle.Style13:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style13));break;case Ae.be.StiTableStyle.Style14:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style14));break;case Ae.be.StiTableStyle.Style15:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style15));break;case Ae.be.StiTableStyle.Style16:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style16));break;case Ae.be.StiTableStyle.Style17:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style17));break;case Ae.be.StiTableStyle.Style18:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style18));break;case Ae.be.StiTableStyle.Style19:this.applyStyle1(r.getStyle(Ae.be.StiTableStyle.Style19));break;case Ae.be.StiTableStyle.Style31:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style31));break;case Ae.be.StiTableStyle.Style32:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style32));break;case Ae.be.StiTableStyle.Style33:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style33));break;case Ae.be.StiTableStyle.Style34:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style34));break;case Ae.be.StiTableStyle.Style35:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style35));break;case Ae.be.StiTableStyle.Style36:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style36));break;case Ae.be.StiTableStyle.Style37:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style37));break;case Ae.be.StiTableStyle.Style38:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style38));break;case Ae.be.StiTableStyle.Style39:this.applyStyle3(r.getStyle(Ae.be.StiTableStyle.Style39));break;case Ae.be.StiTableStyle.Style41:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style41));break;case Ae.be.StiTableStyle.Style42:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style42));break;case Ae.be.StiTableStyle.Style43:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style43));break;case Ae.be.StiTableStyle.Style44:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style44));break;case Ae.be.StiTableStyle.Style45:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style45));break;case Ae.be.StiTableStyle.Style46:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style46));break;case Ae.be.StiTableStyle.Style47:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style47));break;case Ae.be.StiTableStyle.Style48:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style48));break;case Ae.be.StiTableStyle.Style49:this.applyStyle4(r.getStyle(Ae.be.StiTableStyle.Style49));break;case Ae.be.StiTableStyle.Style51:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style51));break;case Ae.be.StiTableStyle.Style52:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style52));break;case Ae.be.StiTableStyle.Style53:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style53));break;case Ae.be.StiTableStyle.Style54:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style54));break;case Ae.be.StiTableStyle.Style55:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style55));break;case Ae.be.StiTableStyle.Style56:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style56));break;case Ae.be.StiTableStyle.Style57:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style57));break;case Ae.be.StiTableStyle.Style58:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style58));break;case Ae.be.StiTableStyle.Style59:this.applyStyle5(r.getStyle(Ae.be.StiTableStyle.Style59));break}}applyStyleNone(){if(0==this.components.count)return;var t=r.getStyle(Ae.be.StiTableStyle.StyleNone),e;for(e of this.components.list)switch(e.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent),e.textBrush=new si(t.dataTextColor);break;case Ae.be.StiTablceCellType.Image:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.CheckBox:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.RichText:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.backColor=si.toColor(new si(Ae.bn.Color.transparent));break}}applyStyleNoneForCell(t){var e=r.getStyle(Ae.be.StiTableStyle.StyleNone);switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:t.border=new Zr(Xr.All,e.gridColor,1,Jr.Solid,!1,4,new si(e.gridColor)),t.brush=new si(Ae.bn.Color.transparent),t.textBrush=new si(e.dataTextColor);break;case Ae.be.StiTablceCellType.Image:t.border=new Zr(Xr.All,e.gridColor,1,Jr.Solid,!1,4,new si(e.gridColor)),t.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.CheckBox:t.border=new Zr(Xr.All,e.gridColor,1,Jr.Solid,!1,4,new si(e.gridColor)),t.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.RichText:t.border=new Zr(Xr.All,e.gridColor,1,Jr.Solid,!1,4,new si(e.gridColor)),t.backColor=si.toColor(new si(Ae.bn.Color.transparent));break}}applyStyle1(t){if(0==this.components.count)return;for(var e of this.components.list)switch(e.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent),e.textBrush=new si(t.dataTextColor);break;case Ae.be.StiTablceCellType.Image:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.CheckBox:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.brush=new si(Ae.bn.Color.transparent);break;case Ae.be.StiTablceCellType.RichText:e.border=new Zr(Xr.All,t.gridColor,1,Jr.Solid,!1,4,new si(t.gridColor)),e.backColor=si.toColor(new si(Ae.bn.Color.transparent));break}}applyStyle3(t){if(0==this.components.count)return;let r=new Zr(Xr.All,t.headerColor,1,Jr.Solid,!1,4,new si(t.headerColor)),i=new si(t.headerColor),n=new si(t.headerFooterTextColor),a=new Zr(Xr.None|Xr.Top|Xr.Bottom,t.headerColor,1,Jr.Solid,!1,4,new si(t.headerColor)),s=new Zr(Xr.None|Xr.Top|Xr.Left|Xr.Bottom,t.headerColor,1,Jr.Solid,!1,4,new si(t.headerColor)),o=new Zr(Xr.None|Xr.Top|Xr.Right|Xr.Bottom,t.headerColor,1,Jr.Solid,!1,4,new si(t.headerColor)),l=new si(t.dataColor),u=new si(t.dataTextColor),h=0;if(0<this._headerRowsCount){let e=0;for(let t=0;t<this._headerRowsCount;t++)for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(e);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:t.border=r.clone(),t.brush=i.clone(),t.textBrush=n.clone();break;case Ae.be.StiTablceCellType.Image:t.border=r.clone(),t.brush=i.clone();break;case Ae.be.StiTablceCellType.CheckBox:t.border=r.clone(),t.brush=i.clone();break;case Ae.be.StiTablceCellType.RichText:t.border=r.clone(),t.backColor=si.toColor(i.clone());break}e++}h=this._headerRowsCount}let c=h*this._columnCount;for(let t=h;t<this._rowCount;t++)for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(c);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:0==e?t.border=s.clone():e==this._columnCount-1?t.border=o.clone():t.border=a.clone(),t.brush=l.clone(),t.textBrush=u.clone();break;case Ae.be.StiTablceCellType.Image:0==e?t.border=s.clone():e==this._columnCount-1?t.border=o.clone():t.border=a.clone(),t.brush=l.clone();break;case Ae.be.StiTablceCellType.CheckBox:0==e?t.border=s.clone():e==this._columnCount-1?t.border=o.clone():t.border=a.clone(),t.brush=l.clone();break;case Ae.be.StiTablceCellType.RichText:0==e?t.border=s.clone():e==this._columnCount-1?t.border=o.clone():t.border=a.clone(),t.backColor=hi.toColor(l.clone());break}c++}}applyStyle4(r){if(0==this.components.count)return;let i=new Zr(Xr.All,r.footerColor,1,Jr.Solid,!1,4,new si(r.footerColor)),n=new si(r.footerColor),a=new si(r.headerFooterTextColor),s=new Zr(Xr.None|Xr.Top|Xr.Bottom,r.footerColor,1,Jr.Solid,!1,4,new si(r.footerColor)),o=new Zr(Xr.None|Xr.Top|Xr.Left|Xr.Bottom,r.footerColor,1,Jr.Solid,!1,4,new si(r.footerColor)),l=new Zr(Xr.None|Xr.Top|Xr.Right|Xr.Bottom,r.footerColor,1,Jr.Solid,!1,4,new si(r.footerColor)),u=new si(r.dataColor),h=new si(r.dataTextColor);if(0<this._footerRowsCount){var r=this._rowCount-this._footerRowsCount;let e=r*this._columnCount;for(let t=r;t<this._rowCount;t++)for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(e);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:t.border=i.clone(),t.brush=n.clone(),t.textBrush=a.clone();break;case Ae.be.StiTablceCellType.Image:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.CheckBox:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.RichText:t.border=i.clone(),t.backColor=hi.toColor(n.clone());break}e++}}let c=0;for(let t=0;t<this._rowCount-this._footerRowsCount;t++)for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(c);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone(),t.textBrush=h.clone();break;case Ae.be.StiTablceCellType.Image:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone();break;case Ae.be.StiTablceCellType.CheckBox:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone();break;case Ae.be.StiTablceCellType.RichText:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.backColor=hi.toColor(u.clone());break}c++}}applyStyle5(r){if(0==this.components.count)return;let i=new Zr(Xr.All,r.headerColor,1,Jr.Solid,!1,4,new si(r.headerColor)),n=new si(r.headerColor),a=new si(r.headerFooterTextColor),s=new Zr(Xr.None|Xr.Top|Xr.Bottom,r.headerColor,1,Jr.Solid,!1,4,new si(r.headerColor)),o=new Zr(Xr.None|Xr.Top|Xr.Left|Xr.Bottom,r.headerColor,1,Jr.Solid,!1,4,new si(r.headerColor)),l=new Zr(Xr.None|Xr.Top|Xr.Right|Xr.Bottom,r.headerColor,1,Jr.Solid,!1,4,new si(r.headerColor)),u=new si(r.dataColor),h=new si(r.dataTextColor),c=0;if(0<this._headerRowsCount){let e=0;for(let t=0;t<this._headerRowsCount;t++)for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(e);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:t.border=i.clone(),t.brush=n.clone(),t.textBrush=a.clone();break;case Ae.be.StiTablceCellType.Image:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.CheckBox:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.RichText:t.border=i.clone(),t.backColor=hi.toColor(n.clone());break}e++}c=this._headerRowsCount}if(0<this.footerRowsCount){var r=this._rowCount-this._footerRowsCount;let e=r*this._columnCount;for(let t=r;t<this._rowCount;t++)for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(e);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:t.border=i.clone(),t.brush=n.clone(),t.textBrush=a.clone();break;case Ae.be.StiTablceCellType.Image:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.CheckBox:t.border=i.clone(),t.brush=n.clone();break;case Ae.be.StiTablceCellType.RichText:t.border=i.clone(),t.backColor=hi.toColor(n.clone());break}e++}}let d=c*this._columnCount;for(let t=c;t<this._rowCount-this._footerRowsCount;t++)for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(d);if(null!=t)switch(t.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Text:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone(),t.textBrush=h.clone();break;case Ae.be.StiTablceCellType.Image:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone();break;case Ae.be.StiTablceCellType.CheckBox:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.brush=u.clone();break;case Ae.be.StiTablceCellType.RichText:0==e?t.border=o.clone():e==this._columnCount-1?t.border=l.clone():t.border=s.clone(),t.backColor=hi.toColor(u.clone());break}d++}}changeRowCount(t,e){if(null==this.page||null==this.report)return;var e;0<e&&e!=t&&(e<this._headerRowsCount+this._footerRowsCount&&(this._headerRowsCount=0,this._footerRowsCount=0),super.setMinHeight(this.page.gridSize*e),0<(e=e-t)?this.addNewRows(e):this.deleteLastRows(Math.abs(e),t))}changeColumnCount(t,e){if(null==this.page||null==this.report)return;var e;0<e&&e!=t&&(0<(e=e-t)?this.addTableNewColumns(e,t):this.deleteTableColumns(Math.abs(e),t))}createJoin(t,e,r,i){let n=t.ref,a=e.ref;var s=r.ref,o=i.ref,l=this.getCountSelectedCells(),u,h,c,d,m;if(l<=1||null==this.page)return new Array;let p=new Array(l),g=new Array(l),f=0,S=0,b=0;for(u of this.components.list)u.isSelected&&(p[b]=S,g[b]=f,b++,u.isSelected=!1),S++,S==this._columnCount&&(S=0,f++);var y={ref:h},v={ref:c},w={ref:d},l={ref:m};this.findLeftSelectedElement(p,y,w),this.findRightSelectedElement(g,v,l),s=(d=w.ref)-(h=y.ref)+1,o=(m=l.ref)-(c=v.ref)+1;let C=new Array((m-c+1)*(d-h+1)),T=0;for(let r=c;r<=m;r++){let e=null;for(let t=h;t<=d;t++){var P=r*this._columnCount+t;if(e=this.components.getByIndex(P),e.as(Ae.be.IStiTableCell).merged){let t=e.as(Ae.be.IStiTableCell).getJoinComponentByGuid(e.as(Ae.be.IStiTableCell).parentJoin);t.as(Ae.be.IStiTableCell).join=!1}C[T]=e.as(Ae.be.IStiTableCell).id,r==c&&(n+=e.width),T++}a+=e.height}return t.ref=n,e.ref=a,r.ref=s,i.ref=o,C}getCountSelectedCells(){let t=0;for(var e of this.components.list)e.isSelected&&t++;return t}getCountJoinSelectedCells(t){let e=t.ref,r=0;e=0;for(var i of this.components.list)i.isSelected&&(r++,i.as(Ae.be.IStiTableCell).merged&&e++);return t.ref=e,r}findLeftSelectedElement(e,t,r){let i=t.ref,n=r.ref;i=e[0],n=e[0];for(let t=1;t<e.length;t++)i>e[t]&&(i=e[t]),n<e[t]&&(n=e[t]);t.ref=i,r.ref=n}findRightSelectedElement(e,t,r){let i=t.ref,n=r.ref;i=e[0],n=e[0];for(let t=1;t<e.length;t++)i>e[t]&&(i=e[t]),n<e[t]&&(n=e[t]);t.ref=i,r.ref=n}changeTableCellContentInImage(r){if(r.is(Ae.be.StiTableCell)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellImage;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canBreak=t.canBreak,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.text.length&&(e.dataColumn=t.text.substring(1,t.text.length-2)),t.join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellCheckBox)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellImage;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,null!=t.checkedValue&&0!=t.checkedValue.toString().length&&(e.dataColumn=t.checkedValue.toString().substring(1,t.checkedValue.toString().length-2)),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellRichText)){let t=r;var r=this.components.indexOf(t);if(-1==r)return;let e=new Ae.be.StiTableCellImage;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=new si(t.backColor),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.dataColumn=t.dataColumn),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,e),e.select(),t=null}return}changeTableCellContentInText(r){if(r.is(Ae.be.StiTableCellImage)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCell;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canBreak=t.canBreak,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.text="{"+t.dataColumn+"}"),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellCheckBox)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCell;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.checked.toString().length&&(e.text=t.checked.toString()),t.join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellRichText)){let t=r;var r=this.components.indexOf(t);if(-1==r)return;let e=new Ae.be.StiTableCell;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=new si(t.backColor),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.text=t.dataColumn),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,e),e.select(),t=null}}changeTableCellContentInCheckBox(r){if(r.is(Ae.be.StiTableCellImage)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellCheckBox;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.checkedValue="{"+t.dataColumn+"}"),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellRichText)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellCheckBox;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=new si(t.backColor),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.checkedValue="{"+t.dataColumn+"}"),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCell)){let t=r;var r=this.components.indexOf(t);if(-1==r)return;let e=new Ae.be.StiTableCellCheckBox;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.brush=t.brush,e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.text.length&&(e.checkedValue=t.text),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,e),e.select(),t=null}}changeTableCellContentInRichText(r){if(r.is(Ae.be.StiTableCellImage)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellRichText;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.backColor=hi.toColor(t.brush),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canBreak=t.canBreak,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.dataColumn.length&&(e.dataColumn=t.dataColumn),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCellCheckBox)){let t=r;var i=this.components.indexOf(t);if(-1==i)return;let e=new Ae.be.StiTableCellRichText;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.backColor=hi.toColor(t.brush),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.checkedValue.toString().length&&(e.dataColumn=t.checkedValue.toString().substring(1,t.checkedValue.toString().length-2)),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(i),this.components.insert(i,e),e.select(),t=null}else if(r.is(Ae.be.StiTableCell)){let t=r;var r=this.components.indexOf(t);if(-1==r)return;let e=new Ae.be.StiTableCellRichText;e.clientRectangle=t.clientRectangle,e.name=t.name,e.border=t.border,e.backColor=hi.toColor(t.brush),e.id=t.id,e.restrictions=t.restrictions,e.page=t.page,e.parent=t.parent,e.canBreak=t.canBreak,e.canGrow=t.canGrow,e.canShrink=t.canShrink,e.enabled=t.enabled,e.growToHeight=t.growToHeight,e.printable=t.printable,0!=t.text.length&&(e.dataColumn=t.text.substring(1,t.text.length-2)),t._join&&(e._join=t._join,e._parentJoin=t._parentJoin,e._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,e),e.select(),t=null}}getColumnForCell(t){return 0}setCellID(t){t.id=this.numberID,this.numberID++}createCell(){if(null==this.page||null==this.parent||null==this.page.report)return;var t=this.clientRectangle;if(t.width<0)return;super.setHeight(this._rowCount*this.defaultHeightCell),t=this.clientRectangle,0!=this.components.count&&this.components.clear();var e,r=+(t.width/this._columnCount/this.page.gridSize),i,n=+(t.height/this._rowCount/this.page.gridSize),a=r*this.page.gridSize,s=t.width-a*(this._columnCount-1),o=n*this.page.gridSize,l=t.height-o*(this._rowCount-1);let u=0,h=1;for(let r=0;r<this._rowCount;r++){for(let e=0;e<this._columnCount;e++){let t=new Ae.be.StiTableCell;this.setCellID(t),t.name=De.format("{0}_Cell{1}",this.name,h);var c=e==this._columnCount-1?s:a,d=r==this._rowCount-1?l:o;t.clientRectangle=new os(u,o*r,c,d),this.setStyleForCell(t,!1),u=t.right,this.components.add(t),h++}u=0}this.resizeHeightCell(),this.applyStyleNone()}setStyleForCell(e,r){if(e.is2(Ae.ap.StiComponent)){let t=e;t.restrictions=Ae.ap.StiRestrictions.None|Ae.ap.StiRestrictions.AllowMove|Ae.ap.StiRestrictions.AllowSelect|Ae.ap.StiRestrictions.AllowChange,t.isSelected=r,t.canGrow=!1,t.growToHeight=!1,t.page=this.page,t.parent=this}else if(e.is(Ae.be.StiTableCell)){let t=e;t.restrictions=Ae.ap.StiRestrictions.None|Ae.ap.StiRestrictions.AllowMove|Ae.ap.StiRestrictions.AllowSelect|Ae.ap.StiRestrictions.AllowChange,t.brush=new si(Fe.white),t.font=new Ar("Arial",9),t.isSelected=r,t.canGrow=!1,t.growToHeight=!1,t.page=this.page,t.parent=this}}addNewRows(e){if(0==this.components.count)return;let r=this.components.count+1,t=this.clientRectangle;t.height+=this.defaultHeightCell*e,super.setClientRectangle(t);for(let t=0;t<e;t++)for(let t=0;t<this._columnCount;t++){let t=new Ae.be.StiTableCell,e=this.components.getByIndex(this.components.count-this._columnCount).as(Ae.ap.StiComponent);t.name=De.format("{0}_Cell{1}",this.name,r),this.setCellID(t);var i=e.as(Ae.be.IStiTableCell).getRealLeft(),n=e.as(Ae.be.IStiTableCell).getRealWidth();t.clientRectangle=new os(i,e.bottom,n,this.defaultHeightCell),this.setStyleForCell(t,!0),this.tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(t),this.components.add(t),r++}this.refreshTableStyle()}deleteLastRows(t,e){if(0==this.components.count)return;let i=0;for(let r=e-t;r<e;r++){if(r*this._columnCount>=this.components.count)break;for(let t=0;t<this._columnCount;t++){let e=this.components.getByIndex(r*this._columnCount+t).as(Ae.ap.StiComponent);if(e.as(Ae.be.IStiTableCell).merged){let t=e.as(Ae.be.IStiTableCell).getJoinComponentByGuid(e.as(Ae.be.IStiTableCell).parentJoin);t.as(Ae.be.IStiTableCell).join=!1}}i+=this.components.getByIndex(r*this._columnCount).height}var r=(e-t)*this._columnCount;while(this.components.count>r)this.components.removeAt(this.components.count-1);super.setHeight(super.getHeight()-i),this.refreshTableStyle()}addTableNewColumns(r,i){if(0==this.components.count)return;var t=this.clientRectangle,e=+(t.width/this.page.gridSize),n=this._columnCount,a=Ne.trunc(e/n),s=e-a*n;let o=new Array(n);for(let t=0;t<n;t++)o[t]=a*this.page.gridSize,t<s&&(o[t]+=this.page.gridSize);o[n-1]+=t.width-e*this.page.gridSize;let l=0,u=0,h=0;for(let t=0;t<this._rowCount;t++){for(let e=0;e<i;e++){let t=this.components.getByIndex(l).as(Ae.ap.StiComponent);if(t.name=De.format("{0}_Cell{1}",this.name,l+1),t.clientRectangle=new os(h,t.top,o[u],t.height),h+=o[u],l++,u++,e==i-1){var c=t.as(Ae.be.IStiTableCell).getRealHeight(),d=t.as(Ae.be.IStiTableCell).getRealTop();for(let t=0;t<r;t++){let t=new Ae.be.StiTableCell;t.name=De.format("{0}_Cell{1}",this.name,l+1),this.setCellID(t.as(Ae.be.IStiTableCell)),t.clientRectangle=new os(h,d,o[u],c),this.setStyleForCell(t,!0),this._tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(t),this.components.insert(l,t),h+=o[u],l++,u++}}}h=0,u=0}for(let e=0;e<this.components.count;e++){let t=this.components.getByIndex(e).as(Ae.ap.StiComponent);null!=t&&t.as(Ae.be.IStiTableCell).join&&t.as(Ae.be.IStiTableCell).setJoinSize()}this.refreshTableStyle()}deleteTableColumns(e,t){if(0==this.components.count)return;var r=t-e;let i=0;for(let t=0;t<this._rowCount;t++){i+=r;for(let t=0;t<e;t++)this.components.removeAt(i)}var n,t=+(this.clientRectangle.width/this.page.gridSize),a=Ne.trunc(t/r),s=t-a*r;let o=new Array(r);for(let t=0;t<r;t++)o[t]=a*this.page.gridSize,t<s&&(o[t]+=this.page.gridSize);let l=0;for(let t=i=0;t<this._rowCount;t++){for(let e=0;e<r;e++){let t=this.components.getByIndex(i).as(Ae.ap.StiComponent);t.name=De.format("{0}_Cell{1}",this.name,i+1),t.left=l,t.width=o[e],l+=o[e],i++}l=0}for(let e=0;e<this.components.count;e++){let t=this.components.getByIndex(e).as(Ae.ap.StiComponent);null!=t&&t.as(Ae.be.IStiTableCell).join&&t.as(Ae.be.IStiTableCell).setJoinSize()}this.refreshTableStyle()}insertColumnToLeft(t){if(t<0)return;if(0!=t){let i=t;for(let t=0;t<this._rowCount;t++){let e=this.components.getByIndex(i),r=this.components.getByIndex(i-1);if(e.as(Ae.be.IStiTableCell).merged&&r.as(Ae.be.IStiTableCell).merged){let t=e.as(Ae.be.IStiTableCell).getJoinComponentByGuid(e.as(Ae.be.IStiTableCell).parentJoin);t.as(Ae.be.IStiTableCell).containsGuid(r.as(Ae.be.IStiTableCell).id)&&(t.as(Ae.be.IStiTableCell).join=!1)}i+=this.columnCount}}let r=t;for(let t=0;t<this._rowCount;t++){let t=this.components.getByIndex(r),e=new Ae.be.StiTableCell;this.setCellID(e.as(Ae.be.IStiTableCell)),e.top=t.as(Ae.be.IStiTableCell).getRealTop(),e.height=t.as(Ae.be.IStiTableCell).getRealHeight(),this.setStyleForCell(e,!1),this._tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(e),this.components.insert(r,e),r++,r+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()}insertColumnToRight(t){if(t<0)return;if(t!=this._columnCount-1){let r=t;for(let t=0;t<this._rowCount;t++){let e=this.components.getByIndex(r).as(Ae.be.IStiTableCell);var i=this.components.getByIndex(r+1).as(Ae.be.IStiTableCell);if(e.merged&&i.merged){let t=e.getJoinComponentByGuid(e.parentJoin).as(Ae.be.IStiTableCell);t.containsGuid(i.id)&&(t.join=!1)}r+=this.columnCount}}let r=t;for(let t=0;t<this._rowCount;t++){let t=this.components.getByIndex(r),e=new Ae.be.StiTableCell;this.setCellID(e.as(Ae.be.IStiTableCell)),e.top=t.as(Ae.be.IStiTableCell).getRealTop(),e.height=t.as(Ae.be.IStiTableCell).getRealHeight(),this.setStyleForCell(e,!1),this._tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(e),this.components.insert(r+1,e),r++,r+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()}insertRowAbove(t){if(t<0)return;if(0!=t){let i=t*this._columnCount;for(let t=0;t<this._columnCount;t++){let e=this.components.getByIndex(i),r=this.components.getByIndex(i-this._columnCount);if(e.as(Ae.be.IStiTableCell).merged&&r.as(Ae.be.IStiTableCell).merged){let t=e.as(Ae.be.IStiTableCell).getJoinComponentByGuid(e.as(Ae.be.IStiTableCell).parentJoin);t.as(Ae.be.IStiTableCell).containsGuid(r.as(Ae.be.IStiTableCell).id)&&(t.as(Ae.be.IStiTableCell).join=!1)}i++}}let i=t*this._columnCount;for(let r=0;r<this._columnCount;r++){let t=this.components.getByIndex(i+r),e=new Ae.be.StiTableCell;this.setCellID(e.as(Ae.be.IStiTableCell)),e.left=t.as(Ae.be.IStiTableCell).getRealLeft(),e.width=t.as(Ae.be.IStiTableCell).getRealWidth(),e.height=this.defaultHeightCell,this.setStyleForCell(e,!1),this._tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(e),this.components.insert(i,e),i++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()}insertRowBelow(n){if(n<0)return;if(n!=this._rowCount){let i=n*this._columnCount;for(let t=0;t<this._columnCount;t++){let e=this.components.getByIndex(i),r=this.components.getByIndex(i-this._columnCount);if(e.as(Ae.be.IStiTableCell).merged&&r.as(Ae.be.IStiTableCell).merged){let t=e.as(Ae.be.IStiTableCell).getJoinComponentByGuid(e.as(Ae.be.IStiTableCell).parentJoin);t.as(Ae.be.IStiTableCell).containsGuid(r.as(Ae.be.IStiTableCell).id)&&(t.as(Ae.be.IStiTableCell).join=!1)}i++}}let i=n*this._columnCount;for(let r=0;r<this._columnCount;r++){let t;t=n==this._rowCount?this.components.getByIndex(i-this._columnCount):this.components.getByIndex(i+r);let e=new Ae.be.StiTableCell;this.setCellID(e.as(Ae.be.IStiTableCell)),e.left=t.as(Ae.be.IStiTableCell).getRealLeft(),e.width=t.as(Ae.be.IStiTableCell).getRealWidth(),e.height=this.defaultHeightCell,this.setStyleForCell(e,!1),this._tableStyle==Ae.be.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(e),this.components.insert(i,e),i++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()}deleteRows(e,r){var t=r-e+1;if(t==this._rowCount)return null;let i=new Array;var n=e*this._columnCount;let a=0;for(let t=e;t<=r;t++)for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(n);null!=t&&(t.as(Ae.be.IStiTableCell).merged&&(t.as(Ae.be.IStiTableCell).getJoinComponentByGuid(t.as(Ae.be.IStiTableCell).parentJoin).as(Ae.be.IStiTableCell).join=!1),0==e&&(a+=t.as(Ae.be.IStiTableCell).getRealHeight()),this.components.removeAt(n),i.push(t))}return this._rowCount-=t,this.resizeHeightCellsAfterChanges(-1*a),this.refreshTableStyle(),i}deleteColumns(e,r){var i=r-e+1;if(i==this._columnCount)return null;let n=new Array,a=e;for(let t=0;t<this._rowCount;t++){for(let t=e;t<=r;t++){let t=this.components.getByIndex(a);null!=t&&(t.as(Ae.be.IStiTableCell).merged&&(t.as(Ae.be.IStiTableCell).getJoinComponentByGuid(t.as(Ae.be.IStiTableCell).parentJoin).as(Ae.be.IStiTableCell).join=!1),this.components.removeAt(a),n.push(t))}a+=this._columnCount-i}return this._columnCount-=i,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle(),n}distributeRows(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;if(this._rowCount*this._columnCount!=this.components.count)return;var t=this.clientRectangle,e=+(t.height/this.page.gridSize),r=e/this._rowCount,i=e-r*this._rowCount;let n=new Array(this._rowCount);for(let t=0;t<this._rowCount;t++)n[t]=r*this.page.gridSize,t<i&&(n[t]+=this.page.gridSize);n[n.length-1]+=t.height-e*this.page.gridSize;let a=0,s=0;for(let e=0;e<this._rowCount;e++){for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(s).as(Ae.ap.StiComponent);null!=t&&(t.clientRectangle=new os(t.as(Ae.be.IStiTableCell).getRealLeft(),a,t.as(Ae.be.IStiTableCell).getRealWidth(),n[e]),t.as(Ae.be.IStiTableCell).join&&t.as(Ae.be.IStiTableCell).setJoinSize(),s++)}a+=n[e]}}distributeColumns(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;var t=this.clientRectangle,e=+(t.width/this.page.gridSize),r=e/this._columnCount,i=e-r*this._columnCount;let n=new Array(this._columnCount);for(let t=0;t<this._columnCount;t++)n[t]=r*this.page.gridSize,t<i&&(n[t]+=this.page.gridSize);n[n.length-1]+=t.width-e*this.page.gridSize;let a=0,s=0;for(let t=0;t<this._rowCount;t++){for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(s).as(Ae.ap.StiComponent);null!=t&&(t.clientRectangle=new os(a,t.as(Ae.be.IStiTableCell).getRealTop(),n[e],t.as(Ae.be.IStiTableCell).getRealHeight()),a+=n[e],s++)}a=0}}autoSizeCells(){if(this.isConverted||0==this.components.count||null==this.page)return;var t=this.clientRectangle,e=+(t.width/this.page.gridSize);let r=Ne.trunc(e/this._columnCount);var i=e-r*this._columnCount;let n=new Array(this._columnCount);for(let t=0;t<this._columnCount;t++)n[t]=r*this.page.gridSize,t<i&&(n[t]+=this.page.gridSize);n[n.length-1]+=t.width-e*this.page.gridSize;var e=+(t.height/this.page.gridSize);r=Ne.trunc(e/this._rowCount);var a=e-r*this._rowCount;let s=new Array(this._rowCount);for(let t=0;t<this._rowCount;t++)s[t]=r*this.page.gridSize,t<a&&(s[t]+=this.page.gridSize);s[s.length-1]+=t.height-e*this.page.gridSize;let o=0,l=0,u=0;for(let r=0;r<this._rowCount;r++){for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(u);t.clientRectangle=new os(o,l,n[e],s[r]),o+=n[e],u++}o=0,l+=s[r]}}resizeWidthCellsAfterChanges(){if(this.isConverted)return;var t=this.clientRectangle,e=+(t.width/this.page.gridSize),r=Ne.trunc(e/this._columnCount),i=e-r*this._columnCount;let n=new Array(this._columnCount);for(let t=0;t<this._columnCount;t++)n[t]=r*this.page.gridSize,t<i&&(n[t]+=this.page.gridSize);n[this._columnCount-1]+=t.width-e*this.page.gridSize;let a=0,s=0,o=0;for(let t=0;t<this._rowCount;t++){for(let t=0;t<this._columnCount;t++){let t=this.components.getByIndex(a);t.name=De.format("{0}_Cell{1}",this.name,a+1),t.as(Ae.be.IStiTableCell).join?(t.left=o,t.width=n[s],t.as(Ae.be.IStiTableCell).setJoinSize()):t.clientRectangle=new os(o,t.top,n[s],t.height),o+=n[s],a++,s++}s=0,o=0}}resizeHeightCellsAfterChanges(t){if(this.isConverted)return;let e=this.clientRectangle;e.height+=t;let r=0,i=0,n=null;for(let t=0;t<this._rowCount;t++){for(let t=0;t<this._columnCount;t++)n=this.components.getByIndex(i),n.name=De.format("{0}_Cell{1}",this.name,i+1),n.as(Ae.be.IStiTableCell).join?(n.height=n.as(Ae.be.IStiTableCell).getRealHeightAfterInsertRows(),n.top=r,n.as(Ae.be.IStiTableCell).setJoinSize()):n.top=r,i++;null!=n&&(r+=n.as(Ae.be.IStiTableCell).getRealHeight())}super.setClientRectangle(e)}resizeWidthCell(t){if(this.isConverted||0==this.components.count||null==this.page)return;if(this._columnCount*this._rowCount!=this.components.count)return;var e=super.getWidth()-t,r,t=+(e/this._columnCount/this.page.gridSize),i=this.page.gridSize*t,n=e-i*(this._columnCount-1);for(let r=0;r<this._columnCount;r++)for(let e=0;e<this._rowCount;e++){let t=this.components.getByIndex(e*this._columnCount+r).as(Ae.ap.StiComponent);r==this._columnCount-1?(t.left+=r*i,t.width+=n):(t.left+=r*i,t.width+=i)}}resizeHeightCell(){if(this.isConverted||null==this.page&&0==this.components.count)return;var r=this.clientRectangle;if(1==this._rowCount)for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(e).as(Ae.ap.StiComponent);t.top=0,t.height=r.height}else{let i=new Array(this._rowCount);var t=+(r.height/this.page.gridSize),e=Ne.trunc(t/this._rowCount),a=t-e*this._rowCount,s=e*this.page.gridSize,o;for(let t=0;t<this._rowCount;t++)i[t]=s,t<a&&(i[t]+=this.page.gridSize);i[this._rowCount-1]+=r.height-this.page.gridSize*t;let n=0;for(let r=0;r<this._rowCount;r++){for(let e=0;e<this._columnCount;e++){let t=this.components.getByIndex(r*this._columnCount+e).as(Ae.ap.StiComponent);t.as(Ae.be.IStiTableCell).join?(o=t.as(Ae.be.IStiTableCell).getJoinComponentByIndex(0),t.left=o.left,t.top=o.top,t.height=n+i[r]-o.top):(t.top=n,t.height=i[r])}n+=i[r]}}}startRenderTableBand(r){if(!this.report.isInteractionRendering&&!this.enabled)return null;var t=this.parent.as(Ae.ap.StiPage);let e=this.parent.as(Ae.ap.StiDataBand),i=this.parent.as(Ae.ap.StiPanel);if(this.dockableTable){if(null!=e){let t=new Ae.ap.StiPanel;t.name=this.name+"_Panel",t.canBreak=!0,t.clientRectangle=e.clientRectangle,t.dockStyle=Ae.ap.StiDockStyle.Fill;var n=e.components.indexOf(this);return e.components.insert(n,t),this.startRenderTable(t,0,r)}if(null!=t){var n=this.page.components.indexOf(this);return this.startRenderTable(t,n,r)}if(null!=i){var a=i.components.indexOf(this);return this.startRenderTable(i,a,r)}}else{if(null!=e){let t=new Ae.ap.StiPanel;t.name=this.name+"_Panel",t.canBreak=!0,t.canGrow=!0,t.clientRectangle=this.clientRectangle;var a=e.components.indexOf(this);return e.components.insert(a,t),this.startRenderTable(t,0,r)}if(null!=t){var s=this.page.components.indexOf(this);let t=new Ae.ap.StiDataBand;t.name=this.name+"_Band",t.left=this.left,t.top=this.top,this.page.components.insert(s,t);let e=new Ae.ap.StiPanel;return e.name=this.name+"_Panel",e.canBreak=!0,e.canGrow=!0,e.clientRectangle=this.clientRectangle,e.top=0,t.components.add(e),this.startRenderTable(e,0,r)}if(null!=i){var s=i.parent.components.indexOf(i);return this.startRenderTable(i,s,r)}}return null}startRenderTable(n,a,t){let e=t.ref;var t=this.page;let l=null;e.containsKey(t)?l=e.get(t).stimulsoft().as(Array):(l=[],e.add(t,l)),super.setEnabled(!1);let i=0,u=null;var h=this.clientRectangle;let c=this.dockableTable?h.y:0,d=0,m=0,p=0;var g=+this.components.count/this._columnCount;this.reverseCells(this.rightToLeft);for(let e=0;e<this._rowCount;e++)for(let t=0;t<this._columnCount;t++)this.components.getByIndex(this._columnCount*e+t).as(Ae.be.IStiTableCell).column=t,this.components.getByIndex(this._columnCount*e+t).as(Ae.be.IStiTableCell).tableTag=this;let f=!1,r=this.parent.components.indexOf(this)-1;while(0<=r){let t=this.parent.components.getByIndex(r);if(!t.is(Ae.ap.StiHeaderBand)&&!t.is(Ae.ap.StiChildBand)&&!t.is(Ae.ap.StiEmptyBand)){if(t.is(Ae.ap.StiGroupHeaderBand)){f=!0;break}break}r--}if(0<this._headerRowsCount){for(let t=0;t<this._headerRowsCount;t++)d+=this.components.getByIndex(t*this._columnCount).as(Ae.be.IStiTableCell).getRealHeight();let s=new Dt,o=new Dt,e=null;f?(e=new Ae.ap.StiGroupHeaderBand,e.as(Ae.ap.StiGroupHeaderBand).groupHeaderBandInfo.isTableGroupHeader=!0,e.name=this.name+"_GrHd",e.as(Ae.ap.StiGroupHeaderBand).printOnAllPages=this.headerPrintOnAllPages):(e=new Ae.ap.StiHeaderBand,e.name=this.name+"_Hd",e.as(Ae.ap.StiHeaderBand).headerBandInfo.isTableHeader=!0,e.as(Ae.ap.StiHeaderBand).printOnAllPages=this.headerPrintOnAllPages,e.as(Ae.ap.StiHeaderBand).printIfEmpty=this.headerPrintIfEmpty,e.as(Ae.ap.StiHeaderBand).printOnEvenOddPages=this.headerPrintOnEvenOddPages),e.height=d,e.clientRectangle=new os(h.x,c,h.width,d),e.border=this.border,e.brush=this.brush,e.page=this.page,e.parent=this.page,e.canGrow=this.headerCanGrow,e.canShrink=this.headerCanShrink,e.canBreak=this.headerCanBreak,e.printAtBottom=this.headerPrintAtBottom,e.printOn=this.headerPrintOn;let r=0;for(let t=0;t<this._headerRowsCount;t++){var S=this.components.getByIndex(i).as(Ae.be.IStiTableCell).getRealHeight();let a=new Ae.ap.StiPanel;a.clientRectangle=new os(h.x,r,h.width,S),a.name=e.name+"_HPnl"+t.toString(),a.canGrow=!0,a.canShrink=!0,a.dockStyle=Ae.ap.StiDockStyle.Top,e.components.add(a),r+=S,i+=this._columnCount;for(let n=this._columnCount*t;n<i;n++){let e=this.components.getByIndex(n),r=!1,i=null;if(-1!=e.as(Ae.be.IStiTableCell).parentJoin){var b,y={ref:b=0};if(i=this.getParentJoin(e.as(Ae.be.IStiTableCell).parentJoin,y),b=y.ref,s.containsKey(i)){if(t==+s.get(i))continue;{let t=new Ae.ap.StiText;t.page=e.page,t.conditions=e.conditions,t.setPaintRectangle(e.getPaintRectangle()),t.clientRectangle=new os(e.as(Ae.be.IStiTableCell).getRealLeft(),0,e.as(Ae.be.IStiTableCell).getRealHeight()),t.name=e.name+"_Emp",t.growToHeight=!0,t.brush=new ei,t.dockStyle=e.as(Ae.be.IStiTableCell).cellDockStyle,a.components.add(t),l.push(t),e==i&&(o.get(i).as(Ae.be.IStiTableCell).parentJoinCell=t);continue}}s.add(i,t),e=i,r=!0}switch(e.top=0,e.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Image:{let t=e.as(Ae.be.StiTableCellImage).clone(!0).as(Ae.ap.StiImage);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellImage).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.Text:{let t=e.as(Ae.be.StiTableCell).clone(!0).as(Ae.ap.StiText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCell).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.CheckBox:{let t=e.as(Ae.be.StiTableCellCheckBox).clone(!0).as(Ae.ap.StiCheckBox);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellCheckBox).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.RichText:{let t=e.as(Ae.be.StiTableCellRichText).clone(!0).as(Ae.ap.StiRichText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellRichText).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}}}}n.components.insert(a,e),l.push(e),a++,c+=d+1}else if(f&&0<this._footerRowsCount){let t=new Ae.ap.StiGroupHeaderBand;t.height=0,t.clientRectangle=new os(h.x,c,h.width,0),t.name=this.name+"_GrHdEmp",t.page=this.page,t.parent=this.page,t.printAtBottom=this.headerPrintAtBottom,n.components.insert(a,t),l.push(t),a++,c+=1}if(0<this._rowCount-this._headerRowsCount-this._footerRowsCount){this.isConverted=!0,u=this.clone(!0,!1),this.isConverted=!1,u.components.clear(),this.setFilter(u);for(let t=this._headerRowsCount;t<g-this._footerRowsCount;t++)p+=this.components.getByIndex(t*this._columnCount).as(Ae.be.IStiTableCell).getRealHeight();u.parent=this.parent,u.page=this.page,u.enabled=!0,u.clientRectangle=new os(h.x,c,h.width,p),u.name=this.name+"_DB",u.masterComponent=this.masterComponent;let s=new Dt,o=new Dt,e=this._headerRowsCount*this._columnCount,r=0;for(let t=0;t<this._rowCount-this._headerRowsCount-this._footerRowsCount;t++){var v=this.components.getByIndex(e).as(Ae.be.IStiTableCell).getRealHeight();let a=new Ae.ap.StiPanel;a.clientRectangle=new os(h.x,r,h.width,v),a.name=u.name+"_DPnl"+t.toString(),a.canGrow=!0,a.canBreak=!0,a.canShrink=!0,a.dockStyle=Ae.ap.StiDockStyle.Top,u.components.add(a),r+=v;for(let n=e;n<e+this._columnCount;n++){let e=this.components.getByIndex(n),r=!1,i=null;if(-1!=e.as(Ae.be.IStiTableCell).parentJoin){var w,C={ref:w=0};if(i=this.getParentJoin(e.as(Ae.be.IStiTableCell).parentJoin,C),w=C.ref,s.containsKey(i)){if(t==+s.get(i))continue;{let t=new Ae.ap.StiText;t.page=e.page,t.conditions=e.conditions,t.setPaintRectangle(e.getPaintRectangle()),t.clientRectangle=new os(e.as(Ae.be.IStiTableCell).getRealLeft(),0,e.as(Ae.be.IStiTableCell).getRealHeight()),t.name=e.name+"_Emp",t.growToHeight=!0,t.brush=new ei,t.dockStyle=e.as(Ae.be.IStiTableCell).cellDockStyle,a.components.add(t),l.push(t),e==i&&(o.get(i).as(Ae.be.IStiTableCell).parentJoinCell=t);continue}}s.add(i,t),e=i,r=!0}switch(e.top=0,e.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Image:{let t=e.as(Ae.be.StiTableCellImage).as(Ae.ap.StiImage).clone(!0);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellImage).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.Text:{let t=e.as(Ae.be.StiTableCell).clone(!0).as(Ae.ap.StiText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCell).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(a.canGrow=!1),o.add(i,t));break}case Ae.be.StiTablceCellType.CheckBox:{let t=e.as(Ae.be.StiTableCellCheckBox).clone(!0).as(Ae.ap.StiCheckBox);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellCheckBox).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.RichText:{let t=e.as(Ae.be.StiTableCellRichText).clone(!0).as(Ae.ap.StiRichText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellRichText).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}}}e+=this._columnCount}n.components.insert(a,u),l.push(u),c+=p+.8,a++}if(0<this._footerRowsCount){let s=new Dt,o=new Dt,e=this.components.count-this._footerRowsCount*this._columnCount;for(let t=g-this._footerRowsCount;t<g;t++)m+=this.components.getByIndex(t*this._columnCount).as(Ae.be.IStiTableCell).getRealHeight();let r=null;f?(r=new Ae.ap.StiGroupFooterBand,r.as(Ae.ap.StiGroupFooterBand).groupFooterBandInfo.isTableGroupFooter=!0,r.name=this.name+"_GrFt"):(r=new Ae.ap.StiFooterBand,r.name=this.name+"_Ft",r.as(Ae.ap.StiFooterBand).footerBandInfo.isTableFooter=!0,r.as(Ae.ap.StiFooterBand).printOnAllPages=this.footerPrintOnAllPages,r.as(Ae.ap.StiFooterBand).printIfEmpty=this.footerPrintIfEmpty,r.as(Ae.ap.StiFooterBand).printOnEvenOddPages=this.footerPrintOnEvenOddPages),r.clientRectangle=new os(h.x,c,h.width,m),r.border=this.border,r.brush=this.brush,r.interaction=null,r.page=this.page,r.parent=this.page,r.canGrow=this.footerCanGrow,r.canShrink=this.footerCanShrink,r.canBreak=this.footerCanBreak,r.printAtBottom=this.footerPrintAtBottom,r.printOn=this.footerPrintOn;let i=0;for(let t=0;t<this._footerRowsCount;t++){var T=this.components.getByIndex(e).as(Ae.be.IStiTableCell).getRealHeight();let a=new Ae.ap.StiPanel;a.clientRectangle=new os(h.x,i,h.width,T),a.name=r.name+"_FPnl"+t.toString(),a.canGrow=!0,a.canShrink=!0,a.dockStyle=Ae.ap.StiDockStyle.Top,r.components.add(a),i+=T;for(let n=e;n<e+this._columnCount;n++){let e=this.components.getByIndex(n),r=!1,i=null;if(-1!=e.as(Ae.be.IStiTableCell).parentJoin){var P,I={ref:P=0};if(i=this.getParentJoin(e.as(Ae.be.IStiTableCell).parentJoin,I),P=I.ref,s.containsKey(i)){if(t==+s.get(i))continue;{let t=new Ae.ap.StiText;t.page=e.page,t.conditions=e.conditions,t.setPaintRectangle(e.getPaintRectangle()),t.clientRectangle=new os(e.as(Ae.be.IStiTableCell).getRealLeft(),0,e.as(Ae.be.IStiTableCell).getRealHeight()),t.name=e.name+"_Emp",t.growToHeight=!0,t.brush=new ei,t.dockStyle=e.as(Ae.be.IStiTableCell).cellDockStyle,a.components.add(t),l.push(t),e==i&&(o.get(i).as(Ae.be.IStiTableCell).parentJoinCell=t);continue}}s.add(i,t),e=i,r=!0}switch(e.top=0,e.as(Ae.be.IStiTableCell).cellType){case Ae.be.StiTablceCellType.Image:{let t=e.as(Ae.be.StiTableCellImage).clone(!0).as(Ae.ap.StiImage);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellImage).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.Text:{let t=e.as(Ae.be.StiTableCell).clone(!0).as(Ae.ap.StiText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCell).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.CheckBox:{let t=e.as(Ae.be.StiTableCellCheckBox).clone(!0).as(Ae.ap.StiCheckBox);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellCheckBox).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}case Ae.be.StiTablceCellType.RichText:{let t=e.as(Ae.be.StiTableCellRichText).clone(!0).as(Ae.ap.StiRichText);t.restrictions=t.restrictions^Ae.ap.StiRestrictions.AllowDelete,t.dockStyle=e.as(Ae.be.StiTableCellRichText).cellDockStyle,this.setInteraction(e),a.components.add(t),l.push(t),r&&(t.canGrow=!0,this.isEqualRows(e,this.components.getByIndex(n))||(t.height=e.as(Ae.be.IStiTableCell).getRealHeight()),o.add(i,t));break}}}e+=this._columnCount}n.components.insert(a,r),a++,l.push(r)}else if(f&&0<this._headerRowsCount){let t=new Ae.ap.StiGroupFooterBand;t.height=0,t.clientRectangle=new os(h.x,c,h.width,0),t.name=this.name+"_GrFtEmp",t.page=this.page,t.parent=this.page,t.printAtBottom=this.footerPrintAtBottom,n.components.insert(a,t),l.push(t),a++}return this.reverseCells(this.rightToLeft),u}reverseCells(t){if(!t)return;for(let t=0;t<this.rowCount;t++){var e=t*this.columnCount,r=this.columnCount/2;for(let t=0;t<r;t++){var i=this.components.getByIndex(e+t);this.components.setByIndex(e+t,this.components.getByIndex(e+this.columnCount-1-t)),this.components.setByIndex(e+this.columnCount-1-t,i)}}for(let e=0;e<this.components.count;e++){let t=this.components.getByIndex(e);t.left=this.width-t.right}}setFilter(t){}setInteraction(t){if(null==t.interaction)return}getParentJoin(t,e){let r=e.ref,i=0;for(var n of this.components.list){if(n.as(Ae.be.IStiTableCell).id==t)return r=+(i/this._columnCount),n.as(Ae.ap.StiComponent);i++}return e.ref=r,null}isEqualRows(t,e){var r,i;return Math.floor(this.components.indexOf(t)/this._columnCount)==Math.floor(this.components.indexOf(e)/this._columnCount)}createNew(){return new t}};Ae.be.StiTable=t;let r=class{constructor(t,e,r=null,i=null,n=null){null!=n?"boolean"==typeof n?(this.dataColor=t,this.dataTextColor=r,this.headerFooterTextColor=i,n?this.headerColor=e:this.footerColor=e):(this.dataColor=t,this.dataTextColor=i,this.headerFooterTextColor=n.stimulsoft().as(Fe),this.headerColor=e,this.footerColor=r):(this.gridColor=t,this.dataTextColor=e)}static getStyle(t){switch(t){case Ae.be.StiTableStyle.StyleNone:return new r(Fe.fromArgb(105,105,105),Fe.black);case Ae.be.StiTableStyle.Style11:return new r(Fe.fromArgb(0,0,0),Fe.black);case Ae.be.StiTableStyle.Style12:return new r(Fe.fromArgb(79,129,189),Fe.black);case Ae.be.StiTableStyle.Style13:return new r(Fe.fromArgb(192,80,77),Fe.black);case Ae.be.StiTableStyle.Style14:return new r(Fe.fromArgb(155,187,89),Fe.black);case Ae.be.StiTableStyle.Style15:return new r(Fe.fromArgb(128,100,162),Fe.black);case Ae.be.StiTableStyle.Style16:return new r(Fe.fromArgb(75,172,198),Fe.black);case Ae.be.StiTableStyle.Style17:return new r(Fe.fromArgb(247,150,70),Fe.black);case Ae.be.StiTableStyle.Style18:return new r(Fe.fromArgb(221,160,221),Fe.black);case Ae.be.StiTableStyle.Style19:return new r(Fe.fromArgb(32,178,170),Fe.black);case Ae.be.StiTableStyle.Style31:return new r(Fe.white,Fe.fromArgb(0,0,0),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style32:return new r(Fe.white,Fe.fromArgb(79,129,189),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style33:return new r(Fe.white,Fe.fromArgb(192,80,77),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style34:return new r(Fe.white,Fe.fromArgb(155,187,89),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style35:return new r(Fe.white,Fe.fromArgb(128,100,162),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style36:return new r(Fe.white,Fe.fromArgb(75,172,198),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style37:return new r(Fe.white,Fe.fromArgb(247,150,70),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style38:return new r(Fe.white,Fe.fromArgb(221,160,221),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style39:return new r(Fe.white,Fe.fromArgb(32,178,170),Fe.black,Fe.white,!0);case Ae.be.StiTableStyle.Style41:return new r(Fe.white,Fe.fromArgb(0,0,0),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style42:return new r(Fe.white,Fe.fromArgb(79,129,189),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style43:return new r(Fe.white,Fe.fromArgb(192,80,77),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style44:return new r(Fe.white,Fe.fromArgb(155,187,89),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style45:return new r(Fe.white,Fe.fromArgb(128,100,162),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style46:return new r(Fe.white,Fe.fromArgb(75,172,198),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style47:return new r(Fe.white,Fe.fromArgb(247,150,70),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style48:return new r(Fe.white,Fe.fromArgb(221,160,221),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style49:return new r(Fe.white,Fe.fromArgb(32,178,170),Fe.black,Fe.white,!1);case Ae.be.StiTableStyle.Style51:return new r(Fe.white,Fe.fromArgb(0,0,0),Fe.fromArgb(0,0,0),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style52:return new r(Fe.white,Fe.fromArgb(79,129,189),Fe.fromArgb(79,129,189),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style53:return new r(Fe.white,Fe.fromArgb(192,80,77),Fe.fromArgb(192,80,77),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style54:return new r(Fe.white,Fe.fromArgb(155,187,89),Fe.fromArgb(155,187,89),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style55:return new r(Fe.white,Fe.fromArgb(128,100,162),Fe.fromArgb(128,100,162),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style56:return new r(Fe.white,Fe.fromArgb(75,172,198),Fe.fromArgb(75,172,198),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style57:return new r(Fe.white,Fe.fromArgb(247,150,70),Fe.fromArgb(247,150,70),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style58:return new r(Fe.white,Fe.fromArgb(221,160,221),Fe.fromArgb(221,160,221),Fe.black,Fe.white);case Ae.be.StiTableStyle.Style59:return new r(Fe.white,Fe.fromArgb(32,178,170),Fe.fromArgb(32,178,170),Fe.black,Fe.white)}return null}}}{let n=class extends Ae.ap.StiDataBand{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,300,100),this.helpUrl=()=>"user-manual/index.html?report_internals_tableofcontents.htm",this.createNew=()=>new n,this.styles=new Ae.ar.StiStylesCollection,this.indent=15,this.reportPointer="",this.margins=new Ae.ap.StiMargins(10),this.placeOnToolbox=!1,this.styles=new Ae.ar.StiStylesCollection;let e=new Ae.ar.StiStyle(`${nn.get("PropertyMain","Heading")}1`);e.font=new Ar("Arial",10,se.Bold),this.styles.add(e);let r=new Ae.ar.StiStyle(`${nn.get("PropertyMain","Heading")}2`);r.font=new Ar("Arial",8,se.Bold),this.styles.add(r);let i=new Ae.ar.StiStyle(`${nn.get("PropertyMain","Heading")}3`);i.font=new Ar("Arial",8,se.Bold),i.textBrush=new si(Fe.dimGray),this.styles.add(i)}implements(){return super.implements().concat([Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanBreak"),new gs("CanGrow"),new gs("CanShrink"),new gs("CountData"),new gs("DataSource"),new gs("DataRelation"),new gs("MasterComponent"),new gs("BusinessObject"),new gs("Filters"),new gs("FilterOn"),new gs("FilterEngine"),new gs("FilterMode"),new gs("SkipFirst"),new gs("Sort"),new gs("NewColumnAfter"),new gs("NewColumnBefore"),new gs("BreakIfLessThan"),new gs("LimitRows"),new gs("Columns"),new gs("ColumnWidth"),new gs("ColumnGaps"),new gs("ColumnDirection"),new gs("MinRowsInColumn"),new gs("EvenStyle"),new gs("OddStyle"),new gs("CalcInvisible"),new gs("KeepDetails"),new gs("PrintAtBottom"),new gs("PrintIfDetailEmpty"),new gs("PrintOnAllPages"),new gs("PrintOn"),new gs("ResetPageNumber"),new gs("Interaction"),new gs("BeginRenderEvent"),new gs("RenderingEvent"),new gs("EndRenderEvent"),new gs("GetCollapsedEvent"),new gs("GetBookmarkEvent"),new gs("GetHyperlinkEvent"),new gs("GetTagEvent"),new gs("GetBookmarkEvent"),new gs("GetHyperlinkEvent"),new gs("GetTagEvent"),new gs("GetToolTipEvent"),new gs("BeforePrintEvent"),new gs("AfterPrintEvent"),new gs("GetDrillDownReportEvent"),new gs("GetPointerEvent"),new gs("ClickEvent"),new gs("DoubleClickEvent"),new gs("MouseEnterEvent"),new gs("MouseLeaveEvent"),new Ui("ReportPointer"),new ji("Indent","",10),new Ma("Styles"),new Ma("Margins").get(t=>this.margins.saveToJsonObject(t,10,10,10,10)).set(t=>this.margins.loadFromJsonObject(t.value)).setXml(t=>this.margins=Ae.ap.StiMargins.loadFromXml(t))])}get componentId(){return Ae.c.StiComponentId.StiTableOfContents}clone(t){var t,t;let e=super.clone(t,!1);return e.border=null===(t=this.border)||void 0===t?void 0:t.clone(),e.brush=null===(t=this.brush)||void 0===t?void 0:t.clone(),e}get priority(){return Ae.ap.StiComponentPriority.TableOfContents}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.TableOfContents}get localizedName(){return ne.get("Components","StiTableOfContents")}get countData(){return 1}set countData(t){}get canBreak(){return!0}set canBreak(t){}get canGrow(){return!0}set canGrow(t){}get canShrink(){return!0}set canShrink(t){}get headerStartColor(){return qr.get("edc87e")}get headerEndColor(){return qr.get("77edc87e")}getHeaderText(){return this.toString()}getStylesList(){return this.styles.toList().where(t=>t.is2(Ae.ar.StiStyle))}get isFirstInReport(){if(null==this.report)return!1;return 0==this.report.getComponents().toList().where(t=>t.is(n)&&t.enabled).indexOf(this)}shouldSerializeMargins(){return null==this.margins||10!=this.margins.left||10!=this.margins.right||10!=this.margins.top||10!=this.margins.bottom}};Ae.ap.StiTableOfContents=n}{let e=class{constructor(t="",e=null){this._bookmarks=null,this.text="",this.bookmarkText="",this.parentComponent=null,this.pageIndex=-1,this.text=t}add(t){-1==this.bookmarks.indexOf(t)&&this.bookmarks.add(new e(t))}get bookmarks(){return null==this._bookmarks&&(this._bookmarks=new Ae.ap.StiBookmarksCollection),this._bookmarks}set bookmarks(t){this._bookmarks=t}};Ae.ap.StiBookmark=e}Ae.ap.StiCondition=class extends Ae.ap.StiBaseCondition{constructor(t=Ae.ap.StiFilterItem.Value,e="",r=Ae.ap.StiFilterCondition.EqualTo,i="",n="",a=Ae.ap.StiFilterDataType.String,s="",o=Fe.red,l=Fe.transparent,u=new Ar("Arial",8),h=!0,c=!1,d="",m="",p=Ae.ap.StiConditionBorderSides.NotAssigned,g=Ae.ap.StiConditionPermissions.All,f=null,S=xr.MiddleRight,b=null){super(t,e,r,i,n,a,s),this.enabled=!0,this.textColor=Fe.red,this.backColor=Fe.transparent,this.font=new Ar("Arial",8),this.canAssignExpression=!1,this.breakIfTrue=!1,this.assignExpression="",this.style="",this._borderSides=Ae.ap.StiConditionBorderSides.NotAssigned,this.permissions=Ae.ap.StiConditionPermissions.All,this.iconAlignment=xr.MiddleRight,this.textColor=o,this.backColor=l,null!=u&&(this.font=u),this.enabled=h,this.canAssignExpression=c,this.assignExpression=d,this.style=m,this.borderSides=p,this.permissions=g,this.icon=f,this.iconAlignment=S,this.iconSize=b}implements(){return super.implements().concat([Yt,qa])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("Enabled","",!0),new dl("TextColor","",Fe.red),new dl("BackColor","",Fe.transparent),new Ui(["Font","fn"]).get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Wi("CanAssignExpression"),new Ui("AssignExpression"),new Ui("Style"),new Gi("BorderSides","",Ae.ap.StiConditionBorderSides,Ae.ap.StiConditionBorderSides.NotAssigned),new Gi("Permissions","",Ae.ap.StiConditionPermissions,Ae.ap.StiConditionPermissions.All),new Wi("BreakIfTrue")])}clone(){return super.clone()}memberwiseClone(){let t=super.memberwiseClone();return t.enabled=this.enabled,t.textColor=this.textColor,t.backColor=this.backColor,t.font=this.font,t.canAssignExpression=this.canAssignExpression,t.assignExpression=this.assignExpression,t.style=this.style,t._borderSides=this._borderSides,t.permissions=this.permissions,t.breakIfTrue=this.breakIfTrue,t}getFonts(){return[this.font]}get borderSides(){return this._borderSides}set borderSides(t){(this._borderSides=t)==Ae.ap.StiConditionBorderSides.NotAssigned&&(this._borderSides=Ae.ap.StiConditionBorderSides.None,0<(this.permissions&Ae.ap.StiConditionPermissions.Borders)&&(this.permissions-=Ae.ap.StiConditionPermissions.Borders))}equals(t){let e=t;if(null==e)return!1;return this.backColor.equals(e.backColor)&&this.textColor.equals(e.textColor)&&this.column==e.column&&this.condition==e.condition&&this.dataType==e.dataType&&this.enabled==e.enabled&&this.font.stimulsoft().equals(e.font)&&this.item==e.item&&this.value1==e.value1&&this.value2==e.value2&&this.expression.trim()==e.expression.trim()&&this.canAssignExpression==e.canAssignExpression&&this.assignExpression==e.assignExpression&&this.icon==e.icon&&this.iconAlignment==e.iconAlignment&&this.iconSize==e.iconSize}},Ae.ap.StiMultiCondition=class extends Ae.ap.StiCondition{constructor(t=Fe.red,e=Fe.transparent,r=null,i=!0,n=Ae.ap.StiFilterMode.And,a=null,s=!1,o="",l="",u=Ae.ap.StiConditionBorderSides.NotAssigned){if(super(),this.filterMode=Ae.ap.StiFilterMode.And,this.filters=new Ae.ap.StiFiltersCollection,this.style=l,this.borderSides=u,this.filterMode=n,null!=a)for(var h of a)this.filters.add(h)}implements(){return super.implements().concat([
Ae.ap.IStiFilter,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("Enabled","",!0),new dl("TextColor","",Fe.red),new dl("BackColor","",Fe.transparent),new Ui("Font").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Wi("CanAssignExpression"),new Ui("Style"),new Gi("BorderSides","",Ae.ap.StiConditionBorderSides,Ae.ap.StiConditionBorderSides.NotAssigned),new Gi("Permissions","",Ae.ap.StiConditionPermissions,Ae.ap.StiConditionPermissions.All),new Gi("FilterMode","",Ae.ap.StiFilterMode,Ae.ap.StiFilterMode.And),new Ma("Filters").set(t=>this.filters.loadFromJsonObject(t.value)).setXml(t=>this.filters.loadFromXml(t))])}loadfromXmlDoc(r){try{if("StiSerializer"!=r.firstChild.nodeName)return;for(let e=0;e<r.firstChild.childNodes.length;e++){let t=r.firstChild.childNodes[e];switch(t.nodeName){case"Enabled":this.enabled=t.textContent.stimulsoft().toBoolean();break;case"TextColor":this.textColor=Cr.convertStringToColor(t.textContent);break;case"BackColor":this.backColor=Cr.convertStringToColor(t.textContent);break;case"Font":case"fn":this.font=Ae.b.Convert.toFont(t.textContent);break;case"CanAssignExpression":this.canAssignExpression=t.textContent.stimulsoft().toBoolean();break;case"Style":this.style=t.textContent;break;case"BorderSides":this.borderSides=Zt.parse(Ae.ap.StiConditionBorderSides,t.textContent);break;case"Permissions":this.permissions=Zt.parse(Ae.ap.StiConditionPermissions,t.textContent);break;case"FilterMode":this.filterMode=Zt.parse(Ae.ap.StiFilterMode,t.textContent);break;case"AssignExpression":this.assignExpression=t.textContent;break;case"Filters":this.filters.loadFromXml(t);break}}}catch(t){Ae.b.StiError.showError(t,!1)}}clone(){var t;return super.clone()}get filterMethodHandler(){return null}set filterMethodHandler(t){}get filterOn(){return!0}equals(t){var t=t;if(null==t)return!1;return this.backColor.equals(t.backColor)&&this.textColor.equals(t.textColor)&&this.enabled==t.enabled&&this.font.stimulsoft().equals(t.font)&&this.filterMode==t.filterMode&&this.filters.stimulsoft().equals(t.filters)&&this.canAssignExpression==t.canAssignExpression&&this.assignExpression==t.assignExpression}},Ae.am.IStiEnumerator=new Ae.b.Interface("IStiEnumerator");let Lc=Ae.am.IStiEnumerator;{let l=class{static setData(r,i,n=null){let a=r.as(fu);if(null!=a&&null!=a.dataSource){var s=r.as(Ae.ap.IStiDataRelation),o;let t=null;null!=s&&null!=s.dataRelation&&(t=s.dataRelationName),null==n&&(null!=(o=r.as(Ae.ap.IStiMasterComponent))&&null!=o.masterComponent||(t=null));var n=l.getFilterEventHandler(r,a),o=r.as(Ae.ap.IStiSort);let e=null;null!=o&&null!=o.sort&&0<o.sort.length&&(e=o.sort),a.dataSource.setData(r.as(Ae.ap.StiDataBand),t,n,e,i,r)}let t=r.as(Lc);null!=t&&t.first();var r=r.as(Ae.ap.IStiBusinessObject);let e=null!=r?r.businessObject:null;null!=e&&e.setDetails()}static needGroupSort(t){if(null==t||null==t.report)return!1;var e=null,e,r;if(null==(e=t.dataBandInfo.groupHeaders)||0==e.count)return!1;let i=0;for(r of e.list)r.sortDirection!=Ae.ap.StiGroupSortDirection.None&&i++;return 0<i}static getFilterEventHandler(t,r){let i=t.as(Ae.ap.IStiFilter),n=null;null!=i&&null!=i.filterMethodHandler&&(n=i.filterMethodHandler);let a=null;if(null!=t&&null!=t.report&&(a=t.report),null==a&&null!=r&&r.is(Hu)&&null!=r.dictionary&&(a=r.dictionary.report),null!=a&&(a.calculationMode==Ae.c.StiCalculationMode.Interpretation||a.isDesigning)&&null!=i&&i.filterOn&&0<i.filters.count){let e="{";for(let t=0;t<i.filters.count;t++){var s=i.filters.getByIndex(t);e+="(",r.is(fu)?e+=l.getFilterExpression(s,Ae.c.StiNameValidator.correctName(r.dataSourceName)+"."+s.column,a):e+=l.getFilterExpression(s,r.name+"."+s.column,a),e+=")",t<i.filters.count-1&&(e+=i.filterMode==Ae.ap.StiFilterMode.And?" && ":" || ")}e+="}",n=new Ae.bb.StiFilterParserData(t,e);var o=Ae.bb.StiParser.checkExpression(e,t);null!=o&&a.writeToReportRenderingMessages(t.name+".Filters "+o.message)}return n}static getFilterExpression(r,i,t){let n="";if(r.item==Ae.ap.StiFilterItem.Expression){let t=r.expression;null!=t&&(t.stimulsoft().startsWith("{")&&t.stimulsoft().endsWith("}")?n+=t.substr(1,t.length-2):n+=t)}else if(r.item==Ae.ap.StiFilterItem.Value)if(r.condition==Ae.ap.StiFilterCondition.IsNull||r.condition==Ae.ap.StiFilterCondition.IsNotNull){let t=null;var e=i.lastIndexOf("."),a,e;t=e<0?i:(a=i.substr(0,e),e=i.substr(e+1),De.format('{0}["{1}"]',a,e)),r.condition==Ae.ap.StiFilterCondition.IsNull?n+=De.format("{0} == null || {0} == DBNull.Value",t):n+=De.format("{0} != null && {0} != DBNull.Value",t)}else if(r.dataType==Ae.ap.StiFilterDataType.String)r.condition==Ae.ap.StiFilterCondition.EqualTo?n+=De.format('{0}.ToString().ToLower() == ToString("{1}").ToLower()',i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotEqualTo?n+=De.format('{0}.ToString().ToLower() != ToString("{1}").ToLower()',i,r.value1):r.condition==Ae.ap.StiFilterCondition.Containing?n+=De.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) != -1',i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotContaining?n+=De.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) == -1',i,r.value1):r.condition==Ae.ap.StiFilterCondition.BeginningWith?n+=De.format('ToString({0}).ToLower().StartsWith(ToString("{1}").ToLower())',i,r.value1):r.condition==Ae.ap.StiFilterCondition.EndingWith&&(n+=De.format('ToString({0}).ToLower().EndsWith(ToString("{1}").ToLower())',i,r.value1));else if(r.dataType==Ae.ap.StiFilterDataType.Numeric)r.condition==Ae.ap.StiFilterCondition.EqualTo?n+=De.format("(decimal){0} == (decimal){1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotEqualTo?n+=De.format("(decimal){0} != (decimal){1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.Between?n+=De.format("(decimal){0} >= (decimal){1} && (decimal){0} <= (decimal){2}",i,r.value1,r.value2):r.condition==Ae.ap.StiFilterCondition.NotBetween?n+=De.format("(decimal){0} < (decimal){1} || (decimal){0} > (decimal){2}",i,r.value1,r.value2):r.condition==Ae.ap.StiFilterCondition.GreaterThan?n+=De.format("(decimal){0} > (decimal){1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.GreaterThanOrEqualTo?n+=De.format("(decimal){0} >= (decimal){1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.LessThan?n+=De.format("(decimal){0} < (decimal){1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.LessThanOrEqualTo&&(n+=De.format("(decimal){0} <= (decimal){1}",i,r.value1));else if(r.dataType==Ae.ap.StiFilterDataType.DateTime){let t="";var s,s;De.isNullOrEmpty(r.value1)||(s=r.value1.split("/"),t=De.format("DateSerial({0},{1},{2})",s[2],s[0],s[1]));let e="";De.isNullOrEmpty(r.value2)||(s=r.value2.split("/"),e=De.format("DateSerial({0},{1},{2})",s[2],s[0],s[1])),r.condition==Ae.ap.StiFilterCondition.EqualTo?n+=De.format("(DateTime){0} == {1}",i,t):r.condition==Ae.ap.StiFilterCondition.NotEqualTo?n+=De.format("(DateTime){0} != {1}",i,t):r.condition==Ae.ap.StiFilterCondition.Between?n+=De.format("(DateTime){0} >= {1} && (DateTime){0} <= {2}",i,t,e):r.condition==Ae.ap.StiFilterCondition.NotBetween?n+=De.format("(DateTime){0} < {1} || (DateTime){0} > {2}",i,t,e):r.condition==Ae.ap.StiFilterCondition.GreaterThan?n+=De.format("(DateTime){0} > {1}",i,t):r.condition==Ae.ap.StiFilterCondition.GreaterThanOrEqualTo?n+=De.format("(DateTime){0} >= {1}",i,t):r.condition==Ae.ap.StiFilterCondition.LessThan?n+=De.format("(DateTime){0} < {1}",i,t):r.condition==Ae.ap.StiFilterCondition.LessThanOrEqualTo&&(n+=De.format("(DateTime){0} <= {1}",i,t))}else r.dataType==Ae.ap.StiFilterDataType.Boolean?r.condition==Ae.ap.StiFilterCondition.EqualTo?n+=De.format("(bool){0} == {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotEqualTo&&(n+=De.format("(bool){0} != {1}",i,r.value1)):r.dataType==Ae.ap.StiFilterDataType.Expression&&(r.condition==Ae.ap.StiFilterCondition.EqualTo?n+=De.format("{0} == {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotEqualTo?n+=De.format("{0} != {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.Between?n+=De.format("{0} >= {1} && {0} <= {2}",i,r.value1,r.value2):r.condition==Ae.ap.StiFilterCondition.NotBetween?n+=De.format("{0} < {1} || {0} > {2}",i,r.value1,r.value2):r.condition==Ae.ap.StiFilterCondition.GreaterThan?n+=De.format("{0} > {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.GreaterThanOrEqualTo?n+=De.format("{0} >= {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.LessThan?n+=De.format("{0} < {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.LessThanOrEqualTo?n+=De.format("{0} <= {1}",i,r.value1):r.condition==Ae.ap.StiFilterCondition.Containing?n+=De.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) != -1",i,r.value1):r.condition==Ae.ap.StiFilterCondition.NotContaining?n+=De.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) == -1",i,r.value1):r.condition==Ae.ap.StiFilterCondition.BeginningWith?n+=De.format("ToString({0}).ToLower().StartsWith(ToString({1}).ToLower())",i,r.value1):r.condition==Ae.ap.StiFilterCondition.EndingWith&&(n+=De.format("ToString({0}).ToLower().EndsWith(ToString({1}).ToLower())",i,r.value1)));return n}};Ae.ap.StiDataHelper=l}{let r=class extends J{constructor(t,e=null){super(),this.canUseCacheMode=!1,this.cacheMode=!1,this.quickCachedPages=null,this.notCachedPages=null,this.report=t}implements(){return[Ae.c.IStiStateSaveRestore,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var r of t.properties()){let t=null,e=r.value;var i;switch(e.properties().firstOrDefault(t=>"Ident"==t.name).value){case"StiPage":t=new Ae.ap.StiPage;break;case"StiDashboard":if(t=Ae.aA.StiDashboardCreator.createDashboard(this.report),null==t)return;break;case"StiForm":break}this.add(t),t.loadFromJsonObject(e)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i=e.attributes.getNamedItem("type");if(null!=i)switch(i.value){case"Page":{let t=new Ae.ap.StiPage;t.report=this.report,this.list.push(t),t.loadFromXml(e);break}case"Stimulsoft.Dashboard.Components.StiDashboard":{let t=Ae.aA.StiDashboardCreator.createDashboard(this.report);if(null==t)return;t.report=this.report,this.list.push(t),t.loadFromXml(e);break}case"Form":break}}}add(t){null!=this.report&&(t.displayRectangle=t.convertFromHInchesRect(t.unit,t.displayRectangle)),null!=this.report&&this.report.isDesigning&&De.isNullOrEmpty(t.name)&&(t.name=Ae.c.StiNameCreation.createName(this.report,Ae.c.StiNameCreation.generateName(t))),De.isNullOrEmpty(t.name)&&(null!=this.report&&this.report.isDesigning?t.name=Ae.c.StiNameCreation.createName(this.report,Ae.c.StiNameCreation.generateName(t)):t.name=Ae.c.StiNameCreation.createSimpleName(this.report,Ae.c.StiNameCreation.generateName(t))),this.addV2Internal(t)}addV2Internal(t){null==t.report&&(t.report=this.report),this.list.push(t)}remove(t,e){if(t.stimulsoft().is(Ae.ap.StiPage))return void this.list.stimulsoft().remove(t);while(0<e)this.removeAt(this.length-1),e--;while(0<t)this.removeAt(0),t--}getPageWithoutCache(t){return this.getByIndex(t)}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}getComponentByName(t){for(var e of this.list){var e=e.components.getComponentByName(t,e);if(null!=e)return e}return null}static setParent(t){for(var e of t.components.list){e.parent=t;var e=e.as(Ae.ap.StiContainer);null!=e&&r.setParent(e)}}saveState(t){for(var e of this.list)e.saveState(t)}restoreState(t){for(var e of this.list)e.restoreState(t)}clearAllStates(){for(var t of this.list)t.clearAllStates()}get containsDashboards(){for(var t of this.list)if(t.is(Ae.aA.IStiDashboard))return!0;return!1}isNotSavedPage(t){return!1}markPageAsNotSaved(t){}getPage(t){return t}savePage(t){}};Ae.ap.StiPagesCollection=r;var Mc=class{constructor(t,e){this.page=t,this.savePage=e}get isNotSaved(){return this.savePage}}}Ae.ap.IStiConditions=new Ae.b.Interface("IStiConditions");var F=class{static removeFunction(t){null!=Ki.functionsToCompile.get(t)&&Ki.functionsToCompile.remove(t),null!=Ki.functionsToCompileLower.get(t.toLowerCase())&&Ki.functionsToCompileLower.remove(t.toLowerCase()),null!=Ki.functions.get(t)&&Ki.functions.remove(t),null!=Ki.functionsLower.get(t.toLowerCase())&&Ki.functionsLower.remove(t.toLowerCase())}static getFunctionsList(t){return null!=Ki.functions.get(t)?Ki.functions.get(t):null}static getFunctionsGrouppedInCategories(){let e=new Dt;var t,r;for(r of this.getFunctions(!1)){let t=e.get(r.category);null==t&&(t=[],e.set(r.category,t)),t.push(r)}return e}static getFunctions(e){if("boolean"==typeof e){var r=e.stimulsoft().as(Boolean),i,n,a,s;let t=[];for(n of(r?Ki.functionsToCompile:Ki.functions).keys){for(s of this.getFunctionsEx(null,n,r))t.push(s)}return t.stimulsoft().toArray()}if("string"==typeof e){var o=e,e=this.getFunctions(!1),l;let t=[];for(l of e)l.category==o&&t.push(l);return t.stimulsoft().toArray()}return null}static getFunctionsEx(t,e,r){if(r){let t=Ki.functionsToCompile.get(e);if(null==t&&(t=Ki.functionsToCompile.get(e),null==t))return null;return t.stimulsoft().toArray()}{let t=Ki.functions.get(e);if(null==t&&(t=Ki.functions.get(e),null==t))return null;return t.stimulsoft().toArray()}}static getCategories(){let t=new Dt;var e=this.getFunctions(!1),r;let i=new Array;for(r of e)null==t.get(r.category)&&(i.push(r.category),t.set(r.category,r.category));return i}static getAssebliesOfFunctions(){var t=new Dt,e;return ke.create(String,t.count)}static addFunction(t,e,r,i,n,a,s="",o=null,l=null,u=null,h=null){De.isNullOrEmpty(e)&&(e=r);let c=new Ae.am.StiFunction(t,e,r,i,n,a,s,o,l,u),d=Ki.functions.get(e);return null==d&&(d=[],Ki.functions.set(e,d),Ki.functionsLower.set(e.toLowerCase(),d)),d.push(c),d=Ki.functionsToCompile.get(r),null==d&&(d=[],Ki.functionsToCompile.set(r,d),Ki.functionsToCompileLower.set(r.toLowerCase(),d)),d.push(c),c.jsFunction=h,c}static StiFunctions(){}},Oc,Hc,_c,Vc,Gc,Uc,jc,tt,Z,ft,V,H,M,W,ot,Wc,qc,zc,Xc;Ae.am.StiFunctions=F,(W=Oc=Ae.aq.StiTokenType||(Ae.aq.StiTokenType={}))[W["Empty"]=0]="Empty",W[W["Delimiter"]=1]="Delimiter",W[W["Variable"]=2]="Variable",W[W["SystemVariable"]=3]="SystemVariable",W[W["DataSourceField"]=4]="DataSourceField",W[W["BusinessObjectField"]=5]="BusinessObjectField",W[W["Number"]=6]="Number",W[W["Function"]=7]="Function",W[W["Method"]=8]="Method",W[W["Property"]=9]="Property",W[W["Component"]=10]="Component",W[W["Cast"]=11]="Cast",W[W["String"]=12]="String",W[W["Char"]=13]="Char",W[W["Dot"]=14]="Dot",W[W["Comma"]=15]="Comma",W[W["Colon"]=16]="Colon",W[W["SemiColon"]=17]="SemiColon",W[W["Shl"]=18]="Shl",W[W["Shr"]=19]="Shr",W[W["Assign"]=20]="Assign",W[W["Equal"]=21]="Equal",W[W["NotEqual"]=22]="NotEqual",W[W["LeftEqual"]=23]="LeftEqual",W[W["Left"]=24]="Left",W[W["RightEqual"]=25]="RightEqual",W[W["Right"]=26]="Right",W[W["Not"]=27]="Not",W[W["Or"]=28]="Or",W[W["And"]=29]="And",W[W["Xor"]=30]="Xor",W[W["DoubleOr"]=31]="DoubleOr",W[W["DoubleAnd"]=32]="DoubleAnd",W[W["Question"]=33]="Question",W[W["Plus"]=34]="Plus",W[W["Minus"]=35]="Minus",W[W["Mult"]=36]="Mult",W[W["Div"]=37]="Div",W[W["Percent"]=38]="Percent",W[W["LParenthesis"]=39]="LParenthesis",W[W["RParenthesis"]=40]="RParenthesis",W[W["LBracket"]=41]="LBracket",W[W["RBracket"]=42]="RBracket",W[W["Identifier"]=43]="Identifier",W[W["Unknown"]=44]="Unknown",(M=Hc=Ae.aq.StiAsmCommandType||(Ae.aq.StiAsmCommandType={}))[M["PushValue"]=2e3]="PushValue",M[M["PushVariable"]=2001]="PushVariable",M[M["PushSystemVariable"]=2002]="PushSystemVariable",M[M["PushDataSourceField"]=2003]="PushDataSourceField",M[M["PushBusinessObjectField"]=2004]="PushBusinessObjectField",M[M["PushFunction"]=2005]="PushFunction",M[M["PushMethod"]=2006]="PushMethod",M[M["PushProperty"]=2007]="PushProperty",M[M["PushComponent"]=2008]="PushComponent",M[M["PushArrayElement"]=2009]="PushArrayElement",M[M["CopyToVariable"]=2010]="CopyToVariable",M[M["Add"]=2020]="Add",M[M["Sub"]=2021]="Sub",M[M["Mult"]=2022]="Mult",M[M["Div"]=2023]="Div",M[M["Mod"]=2024]="Mod",M[M["Power"]=2025]="Power",M[M["Neg"]=2026]="Neg",M[M["Cast"]=2027]="Cast",M[M["Not"]=2028]="Not",M[M["CompareLeft"]=2029]="CompareLeft",M[M["CompareLeftEqual"]=2030]="CompareLeftEqual",M[M["CompareRight"]=2031]="CompareRight",M[M["CompareRightEqual"]=2032]="CompareRightEqual",M[M["CompareEqual"]=2033]="CompareEqual",M[M["CompareNotEqual"]=2034]="CompareNotEqual",M[M["Shl"]=2035]="Shl",M[M["Shr"]=2036]="Shr",M[M["And"]=2037]="And",M[M["And2"]=2038]="And2",M[M["Or"]=2039]="Or",M[M["Or2"]=2040]="Or2",M[M["Xor"]=2041]="Xor",M[M["Jump"]=2042]="Jump",M[M["JumpTrue"]=2043]="JumpTrue",M[M["JumpFalse"]=2044]="JumpFalse",(H=_c=Ae.aq.StiSystemVariableType||(Ae.aq.StiSystemVariableType={}))[H["Column"]=0]="Column",H[H["Line"]=1]="Line",H[H["LineThrough"]=2]="LineThrough",H[H["LineABC"]=3]="LineABC",H[H["LineRoman"]=4]="LineRoman",H[H["GroupLine"]=5]="GroupLine",H[H["PageNumber"]=6]="PageNumber",H[H["PageNumberThrough"]=7]="PageNumberThrough",H[H["PageNofM"]=8]="PageNofM",H[H["PageNofMThrough"]=9]="PageNofMThrough",H[H["TotalPageCount"]=10]="TotalPageCount",H[H["TotalPageCountThrough"]=11]="TotalPageCountThrough",H[H["IsFirstPage"]=12]="IsFirstPage",H[H["IsFirstPageThrough"]=13]="IsFirstPageThrough",H[H["IsLastPage"]=14]="IsLastPage",H[H["IsLastPageThrough"]=15]="IsLastPageThrough",H[H["PageCopyNumber"]=16]="PageCopyNumber",H[H["ReportAlias"]=17]="ReportAlias",H[H["ReportAuthor"]=18]="ReportAuthor",H[H["ReportChanged"]=19]="ReportChanged",H[H["ReportCreated"]=20]="ReportCreated",H[H["ReportDescription"]=21]="ReportDescription",H[H["ReportName"]=22]="ReportName",H[H["Time"]=23]="Time",H[H["Today"]=24]="Today",H[H["ConditionValue"]=25]="ConditionValue",H[H["ConditionValue2"]=26]="ConditionValue2",H[H["ConditionTag"]=27]="ConditionTag",H[H["Sender"]=28]="Sender",H[H["DateTimeNow"]=29]="DateTimeNow",H[H["DateTimeToday"]=30]="DateTimeToday",(V=Vc=Ae.aq.StiPropertyType||(Ae.aq.StiPropertyType={}))[V["Year"]=0]="Year",V[V["Month"]=1]="Month",V[V["Day"]=2]="Day",V[V["Hour"]=3]="Hour",V[V["Minute"]=4]="Minute",V[V["Second"]=5]="Second",V[V["Date"]=6]="Date",V[V["DayOfWeek"]=7]="DayOfWeek",V[V["Length"]=8]="Length",V[V["From"]=9]="From",V[V["To"]=10]="To",V[V["FromDate"]=11]="FromDate",V[V["ToDate"]=12]="ToDate",V[V["FromTime"]=13]="FromTime",V[V["ToTime"]=14]="ToTime",V[V["SelectedLine"]=15]="SelectedLine",V[V["Name"]=16]="Name",V[V["TagValue"]=17]="TagValue",V[V["Days"]=18]="Days",V[V["Hours"]=19]="Hours",V[V["Milliseconds"]=20]="Milliseconds",V[V["Minutes"]=21]="Minutes",V[V["Seconds"]=22]="Seconds",V[V["Ticks"]=23]="Ticks",V[V["TotalDays"]=24]="TotalDays",V[V["TotalHours"]=25]="TotalHours",V[V["TotalMinutes"]=26]="TotalMinutes",V[V["TotalSeconds"]=27]="TotalSeconds",V[V["TotalMilliseconds"]=28]="TotalMilliseconds",V[V["Count"]=29]="Count",V[V["BusinessObjectValue"]=30]="BusinessObjectValue",V[V["Position"]=31]="Position",V[V["Line"]=32]="Line",V[V["Rows"]=33]="Rows",V[V["Enabled"]=34]="Enabled",V[V["Skip"]=35]="Skip",(ft=Gc=Ae.aq.StiFunctionType||(Ae.aq.StiFunctionType={}))[ft["NameSpace"]=0]="NameSpace",ft[ft["Count"]=1]="Count",ft[ft["CountDistinct"]=2]="CountDistinct",ft[ft["Avg"]=3]="Avg",ft[ft["AvgD"]=4]="AvgD",ft[ft["AvgDate"]=5]="AvgDate",ft[ft["AvgI"]=6]="AvgI",ft[ft["AvgTime"]=7]="AvgTime",ft[ft["Max"]=8]="Max",ft[ft["MaxD"]=9]="MaxD",ft[ft["MaxDate"]=10]="MaxDate",ft[ft["MaxI"]=11]="MaxI",ft[ft["MaxStr"]=12]="MaxStr",ft[ft["MaxTime"]=13]="MaxTime",ft[ft["Median"]=14]="Median",ft[ft["MedianD"]=15]="MedianD",ft[ft["MedianI"]=16]="MedianI",ft[ft["Min"]=17]="Min",ft[ft["MinD"]=18]="MinD",ft[ft["MinDate"]=19]="MinDate",ft[ft["MinI"]=20]="MinI",ft[ft["MinStr"]=21]="MinStr",ft[ft["MinTime"]=22]="MinTime",ft[ft["Mode"]=23]="Mode",ft[ft["ModeD"]=24]="ModeD",ft[ft["ModeI"]=25]="ModeI",ft[ft["Sum"]=26]="Sum",ft[ft["SumD"]=27]="SumD",ft[ft["SumDistinct"]=28]="SumDistinct",ft[ft["SumI"]=29]="SumI",ft[ft["SumTime"]=30]="SumTime",ft[ft["First"]=31]="First",ft[ft["Last"]=32]="Last",ft[ft["rCount"]=33]="rCount",ft[ft["rCountDistinct"]=34]="rCountDistinct",ft[ft["rAvg"]=35]="rAvg",ft[ft["rAvgD"]=36]="rAvgD",ft[ft["rAvgDate"]=37]="rAvgDate",ft[ft["rAvgI"]=38]="rAvgI",ft[ft["rAvgTime"]=39]="rAvgTime",ft[ft["rMax"]=40]="rMax",ft[ft["rMaxD"]=41]="rMaxD",ft[ft["rMaxDate"]=42]="rMaxDate",ft[ft["rMaxI"]=43]="rMaxI",ft[ft["rMaxStr"]=44]="rMaxStr",ft[ft["rMaxTime"]=45]="rMaxTime",ft[ft["rMedian"]=46]="rMedian",ft[ft["rMedianD"]=47]="rMedianD",ft[ft["rMedianI"]=48]="rMedianI",ft[ft["rMin"]=49]="rMin",ft[ft["rMinD"]=50]="rMinD",ft[ft["rMinDate"]=51]="rMinDate",ft[ft["rMinI"]=52]="rMinI",ft[ft["rMinStr"]=53]="rMinStr",ft[ft["rMinTime"]=54]="rMinTime",ft[ft["rMode"]=55]="rMode",ft[ft["rModeD"]=56]="rModeD",ft[ft["rModeI"]=57]="rModeI",ft[ft["rSum"]=58]="rSum",ft[ft["rSumD"]=59]="rSumD",ft[ft["rSumDistinct"]=60]="rSumDistinct",ft[ft["rSumI"]=61]="rSumI",ft[ft["rSumTime"]=62]="rSumTime",ft[ft["rFirst"]=63]="rFirst",ft[ft["rLast"]=64]="rLast",ft[ft["iCount"]=65]="iCount",ft[ft["iCountDistinct"]=66]="iCountDistinct",ft[ft["iAvg"]=67]="iAvg",ft[ft["iAvgD"]=68]="iAvgD",ft[ft["iAvgDate"]=69]="iAvgDate",ft[ft["iAvgI"]=70]="iAvgI",ft[ft["iAvgTime"]=71]="iAvgTime",ft[ft["iMax"]=72]="iMax",ft[ft["iMaxD"]=73]="iMaxD",ft[ft["iMaxDate"]=74]="iMaxDate",ft[ft["iMaxI"]=75]="iMaxI",ft[ft["iMaxStr"]=76]="iMaxStr",ft[ft["iMaxTime"]=77]="iMaxTime",ft[ft["iMedian"]=78]="iMedian",ft[ft["iMedianD"]=79]="iMedianD",ft[ft["iMedianI"]=80]="iMedianI",ft[ft["iMin"]=81]="iMin",ft[ft["iMinD"]=82]="iMinD",ft[ft["iMinDate"]=83]="iMinDate",ft[ft["iMinI"]=84]="iMinI",ft[ft["iMinStr"]=85]="iMinStr",ft[ft["iMinTime"]=86]="iMinTime",ft[ft["iMode"]=87]="iMode",ft[ft["iModeD"]=88]="iModeD",ft[ft["iModeI"]=89]="iModeI",ft[ft["iSum"]=90]="iSum",ft[ft["iSumD"]=91]="iSumD",ft[ft["iSumDistinct"]=92]="iSumDistinct",ft[ft["iSumI"]=93]="iSumI",ft[ft["iSumTime"]=94]="iSumTime",ft[ft["iFirst"]=95]="iFirst",ft[ft["iLast"]=96]="iLast",ft[ft["riCount"]=97]="riCount",ft[ft["riCountDistinct"]=98]="riCountDistinct",ft[ft["riAvg"]=99]="riAvg",ft[ft["riAvgD"]=100]="riAvgD",ft[ft["riAvgDate"]=101]="riAvgDate",ft[ft["riAvgI"]=102]="riAvgI",ft[ft["riAvgTime"]=103]="riAvgTime",ft[ft["riMax"]=104]="riMax",ft[ft["riMaxD"]=105]="riMaxD",ft[ft["riMaxDate"]=106]="riMaxDate",ft[ft["riMaxI"]=107]="riMaxI",ft[ft["riMaxStr"]=108]="riMaxStr",ft[ft["riMaxTime"]=109]="riMaxTime",ft[ft["riMedian"]=110]="riMedian",ft[ft["riMedianD"]=111]="riMedianD",ft[ft["riMedianI"]=112]="riMedianI",ft[ft["riMin"]=113]="riMin",ft[ft["riMinD"]=114]="riMinD",ft[ft["riMinDate"]=115]="riMinDate",ft[ft["riMinI"]=116]="riMinI",ft[ft["riMinStr"]=117]="riMinStr",ft[ft["riMinTime"]=118]="riMinTime",ft[ft["riMode"]=119]="riMode",ft[ft["riModeD"]=120]="riModeD",ft[ft["riModeI"]=121]="riModeI",ft[ft["riSum"]=122]="riSum",ft[ft["riSumD"]=123]="riSumD",ft[ft["riSumDistinct"]=124]="riSumDistinct",ft[ft["riSumI"]=125]="riSumI",ft[ft["riSumTime"]=126]="riSumTime",ft[ft["riFirst"]=127]="riFirst",ft[ft["riLast"]=128]="riLast",ft[ft["cCount"]=129]="cCount",ft[ft["cCountDistinct"]=130]="cCountDistinct",ft[ft["cAvg"]=131]="cAvg",ft[ft["cAvgD"]=132]="cAvgD",ft[ft["cAvgDate"]=133]="cAvgDate",ft[ft["cAvgI"]=134]="cAvgI",ft[ft["cAvgTime"]=135]="cAvgTime",ft[ft["cMax"]=136]="cMax",ft[ft["cMaxD"]=137]="cMaxD",ft[ft["cMaxDate"]=138]="cMaxDate",ft[ft["cMaxI"]=139]="cMaxI",ft[ft["cMaxStr"]=140]="cMaxStr",ft[ft["cMaxTime"]=141]="cMaxTime",ft[ft["cMedian"]=142]="cMedian",ft[ft["cMedianD"]=143]="cMedianD",ft[ft["cMedianI"]=144]="cMedianI",ft[ft["cMin"]=145]="cMin",ft[ft["cMinD"]=146]="cMinD",ft[ft["cMinDate"]=147]="cMinDate",ft[ft["cMinI"]=148]="cMinI",ft[ft["cMinStr"]=149]="cMinStr",ft[ft["cMinTime"]=150]="cMinTime",ft[ft["cMode"]=151]="cMode",ft[ft["cModeD"]=152]="cModeD",ft[ft["cModeI"]=153]="cModeI",ft[ft["cSum"]=154]="cSum",ft[ft["cSumD"]=155]="cSumD",ft[ft["cSumDistinct"]=156]="cSumDistinct",ft[ft["cSumI"]=157]="cSumI",ft[ft["cSumTime"]=158]="cSumTime",ft[ft["cFirst"]=159]="cFirst",ft[ft["cLast"]=160]="cLast",ft[ft["crCount"]=161]="crCount",ft[ft["crCountDistinct"]=162]="crCountDistinct",ft[ft["crAvg"]=163]="crAvg",ft[ft["crAvgD"]=164]="crAvgD",ft[ft["crAvgDate"]=165]="crAvgDate",ft[ft["crAvgI"]=166]="crAvgI",ft[ft["crAvgTime"]=167]="crAvgTime",ft[ft["crMax"]=168]="crMax",ft[ft["crMaxD"]=169]="crMaxD",ft[ft["crMaxDate"]=170]="crMaxDate",ft[ft["crMaxI"]=171]="crMaxI",ft[ft["crMaxStr"]=172]="crMaxStr",ft[ft["crMaxTime"]=173]="crMaxTime",ft[ft["crMedian"]=174]="crMedian",ft[ft["crMedianD"]=175]="crMedianD",ft[ft["crMedianI"]=176]="crMedianI",ft[ft["crMin"]=177]="crMin",ft[ft["crMinD"]=178]="crMinD",ft[ft["crMinDate"]=179]="crMinDate",ft[ft["crMinI"]=180]="crMinI",ft[ft["crMinStr"]=181]="crMinStr",ft[ft["crMinTime"]=182]="crMinTime",ft[ft["crMode"]=183]="crMode",ft[ft["crModeD"]=184]="crModeD",ft[ft["crModeI"]=185]="crModeI",ft[ft["crSum"]=186]="crSum",ft[ft["crSumD"]=187]="crSumD",ft[ft["crSumDistinct"]=188]="crSumDistinct",ft[ft["crSumI"]=189]="crSumI",ft[ft["crSumTime"]=190]="crSumTime",ft[ft["crFirst"]=191]="crFirst",ft[ft["crLast"]=192]="crLast",ft[ft["ciCount"]=193]="ciCount",ft[ft["ciCountDistinct"]=194]="ciCountDistinct",ft[ft["ciAvg"]=195]="ciAvg",ft[ft["ciAvgD"]=196]="ciAvgD",ft[ft["ciAvgDate"]=197]="ciAvgDate",ft[ft["ciAvgI"]=198]="ciAvgI",ft[ft["ciAvgTime"]=199]="ciAvgTime",ft[ft["ciMax"]=200]="ciMax",ft[ft["ciMaxD"]=201]="ciMaxD",ft[ft["ciMaxDate"]=202]="ciMaxDate",ft[ft["ciMaxI"]=203]="ciMaxI",ft[ft["ciMaxStr"]=204]="ciMaxStr",ft[ft["ciMaxTime"]=205]="ciMaxTime",ft[ft["ciMedian"]=206]="ciMedian",ft[ft["ciMedianD"]=207]="ciMedianD",ft[ft["ciMedianI"]=208]="ciMedianI",ft[ft["ciMin"]=209]="ciMin",ft[ft["ciMinD"]=210]="ciMinD",ft[ft["ciMinDate"]=211]="ciMinDate",ft[ft["ciMinI"]=212]="ciMinI",ft[ft["ciMinStr"]=213]="ciMinStr",ft[ft["ciMinTime"]=214]="ciMinTime",ft[ft["ciMode"]=215]="ciMode",ft[ft["ciModeD"]=216]="ciModeD",ft[ft["ciModeI"]=217]="ciModeI",ft[ft["ciSum"]=218]="ciSum",ft[ft["ciSumD"]=219]="ciSumD",ft[ft["ciSumDistinct"]=220]="ciSumDistinct",ft[ft["ciSumI"]=221]="ciSumI",ft[ft["ciSumTime"]=222]="ciSumTime",ft[ft["ciFirst"]=223]="ciFirst",ft[ft["ciLast"]=224]="ciLast",ft[ft["criCount"]=225]="criCount",ft[ft["criCountDistinct"]=226]="criCountDistinct",ft[ft["criAvg"]=227]="criAvg",ft[ft["criAvgD"]=228]="criAvgD",ft[ft["criAvgDate"]=229]="criAvgDate",ft[ft["criAvgI"]=230]="criAvgI",ft[ft["criAvgTime"]=231]="criAvgTime",ft[ft["criMax"]=232]="criMax",ft[ft["criMaxD"]=233]="criMaxD",ft[ft["criMaxDate"]=234]="criMaxDate",ft[ft["criMaxI"]=235]="criMaxI",ft[ft["criMaxStr"]=236]="criMaxStr",ft[ft["criMaxTime"]=237]="criMaxTime",ft[ft["criMedian"]=238]="criMedian",ft[ft["criMedianD"]=239]="criMedianD",ft[ft["criMedianI"]=240]="criMedianI",ft[ft["criMin"]=241]="criMin",ft[ft["criMinD"]=242]="criMinD",ft[ft["criMinDate"]=243]="criMinDate",ft[ft["criMinI"]=244]="criMinI",ft[ft["criMinStr"]=245]="criMinStr",ft[ft["criMinTime"]=246]="criMinTime",ft[ft["criMode"]=247]="criMode",ft[ft["criModeD"]=248]="criModeD",ft[ft["criModeI"]=249]="criModeI",ft[ft["criSum"]=250]="criSum",ft[ft["criSumD"]=251]="criSumD",ft[ft["criSumDistinct"]=252]="criSumDistinct",ft[ft["criSumI"]=253]="criSumI",ft[ft["criSumTime"]=254]="criSumTime",ft[ft["criFirst"]=255]="criFirst",ft[ft["criLast"]=256]="criLast",ft[ft["pCount"]=257]="pCount",ft[ft["pCountDistinct"]=258]="pCountDistinct",ft[ft["pAvg"]=259]="pAvg",ft[ft["pAvgD"]=260]="pAvgD",ft[ft["pAvgDate"]=261]="pAvgDate",ft[ft["pAvgI"]=262]="pAvgI",ft[ft["pAvgTime"]=263]="pAvgTime",ft[ft["pMax"]=264]="pMax",ft[ft["pMaxD"]=265]="pMaxD",ft[ft["pMaxDate"]=266]="pMaxDate",ft[ft["pMaxI"]=267]="pMaxI",ft[ft["pMaxStr"]=268]="pMaxStr",ft[ft["pMaxTime"]=269]="pMaxTime",ft[ft["pMedian"]=270]="pMedian",ft[ft["pMedianD"]=271]="pMedianD",ft[ft["pMedianI"]=272]="pMedianI",ft[ft["pMin"]=273]="pMin",ft[ft["pMinD"]=274]="pMinD",ft[ft["pMinDate"]=275]="pMinDate",ft[ft["pMinI"]=276]="pMinI",ft[ft["pMinStr"]=277]="pMinStr",ft[ft["pMinTime"]=278]="pMinTime",ft[ft["pMode"]=279]="pMode",ft[ft["pModeD"]=280]="pModeD",ft[ft["pModeI"]=281]="pModeI",ft[ft["pSum"]=282]="pSum",ft[ft["pSumD"]=283]="pSumD",ft[ft["pSumDistinct"]=284]="pSumDistinct",ft[ft["pSumI"]=285]="pSumI",ft[ft["pSumTime"]=286]="pSumTime",ft[ft["pFirst"]=287]="pFirst",ft[ft["pLast"]=288]="pLast",ft[ft["prCount"]=289]="prCount",ft[ft["prCountDistinct"]=290]="prCountDistinct",ft[ft["prAvg"]=291]="prAvg",ft[ft["prAvgD"]=292]="prAvgD",ft[ft["prAvgDate"]=293]="prAvgDate",ft[ft["prAvgI"]=294]="prAvgI",ft[ft["prAvgTime"]=295]="prAvgTime",ft[ft["prMax"]=296]="prMax",ft[ft["prMaxD"]=297]="prMaxD",ft[ft["prMaxDate"]=298]="prMaxDate",ft[ft["prMaxI"]=299]="prMaxI",ft[ft["prMaxStr"]=300]="prMaxStr",ft[ft["prMaxTime"]=301]="prMaxTime",ft[ft["prMedian"]=302]="prMedian",ft[ft["prMedianD"]=303]="prMedianD",ft[ft["prMedianI"]=304]="prMedianI",ft[ft["prMin"]=305]="prMin",ft[ft["prMinD"]=306]="prMinD",ft[ft["prMinDate"]=307]="prMinDate",ft[ft["prMinI"]=308]="prMinI",ft[ft["prMinStr"]=309]="prMinStr",ft[ft["prMinTime"]=310]="prMinTime",ft[ft["prMode"]=311]="prMode",ft[ft["prModeD"]=312]="prModeD",ft[ft["prModeI"]=313]="prModeI",ft[ft["prSum"]=314]="prSum",ft[ft["prSumD"]=315]="prSumD",ft[ft["prSumDistinct"]=316]="prSumDistinct",ft[ft["prSumI"]=317]="prSumI",ft[ft["prSumTime"]=318]="prSumTime",ft[ft["prFirst"]=319]="prFirst",ft[ft["prLast"]=320]="prLast",ft[ft["piCount"]=321]="piCount",ft[ft["piCountDistinct"]=322]="piCountDistinct",ft[ft["piAvg"]=323]="piAvg",ft[ft["piAvgD"]=324]="piAvgD",ft[ft["piAvgDate"]=325]="piAvgDate",ft[ft["piAvgI"]=326]="piAvgI",ft[ft["piAvgTime"]=327]="piAvgTime",ft[ft["piMax"]=328]="piMax",ft[ft["piMaxD"]=329]="piMaxD",ft[ft["piMaxDate"]=330]="piMaxDate",ft[ft["piMaxI"]=331]="piMaxI",ft[ft["piMaxStr"]=332]="piMaxStr",ft[ft["piMaxTime"]=333]="piMaxTime",ft[ft["piMedian"]=334]="piMedian",ft[ft["piMedianD"]=335]="piMedianD",ft[ft["piMedianI"]=336]="piMedianI",ft[ft["piMin"]=337]="piMin",ft[ft["piMinD"]=338]="piMinD",ft[ft["piMinDate"]=339]="piMinDate",ft[ft["piMinI"]=340]="piMinI",ft[ft["piMinStr"]=341]="piMinStr",ft[ft["piMinTime"]=342]="piMinTime",ft[ft["piMode"]=343]="piMode",ft[ft["piModeD"]=344]="piModeD",ft[ft["piModeI"]=345]="piModeI",ft[ft["piSum"]=346]="piSum",ft[ft["piSumD"]=347]="piSumD",ft[ft["piSumDistinct"]=348]="piSumDistinct",ft[ft["piSumI"]=349]="piSumI",ft[ft["piSumTime"]=350]="piSumTime",ft[ft["piFirst"]=351]="piFirst",ft[ft["piLast"]=352]="piLast",ft[ft["priCount"]=353]="priCount",ft[ft["priCountDistinct"]=354]="priCountDistinct",ft[ft["priAvg"]=355]="priAvg",ft[ft["priAvgD"]=356]="priAvgD",ft[ft["priAvgDate"]=357]="priAvgDate",ft[ft["priAvgI"]=358]="priAvgI",ft[ft["priAvgTime"]=359]="priAvgTime",ft[ft["priMax"]=360]="priMax",ft[ft["priMaxD"]=361]="priMaxD",ft[ft["priMaxDate"]=362]="priMaxDate",ft[ft["priMaxI"]=363]="priMaxI",ft[ft["priMaxStr"]=364]="priMaxStr",ft[ft["priMaxTime"]=365]="priMaxTime",ft[ft["priMedian"]=366]="priMedian",ft[ft["priMedianD"]=367]="priMedianD",ft[ft["priMedianI"]=368]="priMedianI",ft[ft["priMin"]=369]="priMin",ft[ft["priMinD"]=370]="priMinD",ft[ft["priMinDate"]=371]="priMinDate",ft[ft["priMinI"]=372]="priMinI",ft[ft["priMinStr"]=373]="priMinStr",ft[ft["priMinTime"]=374]="priMinTime",ft[ft["priMode"]=375]="priMode",ft[ft["priModeD"]=376]="priModeD",ft[ft["priModeI"]=377]="priModeI",ft[ft["priSum"]=378]="priSum",ft[ft["priSumD"]=379]="priSumD",ft[ft["priSumDistinct"]=380]="priSumDistinct",ft[ft["priSumI"]=381]="priSumI",ft[ft["priSumTime"]=382]="priSumTime",ft[ft["priFirst"]=383]="priFirst",ft[ft["priLast"]=384]="priLast",ft[ft["CountAllLevels"]=385]="CountAllLevels",ft[ft["CountAllLevelsOnlyChilds"]=386]="CountAllLevelsOnlyChilds",ft[ft["CountOnlyChilds"]=387]="CountOnlyChilds",ft[ft["Rank"]=388]="Rank",ft[ft["Abs"]=389]="Abs",ft[ft["Acos"]=390]="Acos",ft[ft["Asin"]=391]="Asin",ft[ft["Atan"]=392]="Atan",ft[ft["Ceiling"]=393]="Ceiling",ft[ft["Cos"]=394]="Cos",ft[ft["Div"]=395]="Div",ft[ft["Exp"]=396]="Exp",ft[ft["Floor"]=397]="Floor",ft[ft["Log"]=398]="Log",ft[ft["Maximum"]=399]="Maximum",ft[ft["Minimum"]=400]="Minimum",ft[ft["Round"]=401]="Round",ft[ft["Sign"]=402]="Sign",ft[ft["Sin"]=403]="Sin",ft[ft["Sqrt"]=404]="Sqrt",ft[ft["Tan"]=405]="Tan",ft[ft["Truncate"]=406]="Truncate",ft[ft["DateDiff"]=407]="DateDiff",ft[ft["DateSerial"]=408]="DateSerial",ft[ft["Day"]=409]="Day",ft[ft["DayOfWeek"]=410]="DayOfWeek",ft[ft["DayOfYear"]=411]="DayOfYear",ft[ft["DaysInMonth"]=412]="DaysInMonth",ft[ft["DaysInYear"]=413]="DaysInYear",ft[ft["Hour"]=414]="Hour",ft[ft["Minute"]=415]="Minute",ft[ft["Month"]=416]="Month",ft[ft["Second"]=417]="Second",ft[ft["TimeSerial"]=418]="TimeSerial",ft[ft["Year"]=419]="Year",ft[ft["MonthName"]=420]="MonthName",ft[ft["WeekOfYear"]=421]="WeekOfYear",ft[ft["WeekOfMonth"]=422]="WeekOfMonth",ft[ft["DateToStr"]=423]="DateToStr",ft[ft["DateToStrPl"]=424]="DateToStrPl",ft[ft["DateToStrRu"]=425]="DateToStrRu",ft[ft["DateToStrUa"]=426]="DateToStrUa",ft[ft["DateToStrPt"]=427]="DateToStrPt",ft[ft["DateToStrPtBr"]=428]="DateToStrPtBr",ft[ft["Insert"]=429]="Insert",ft[ft["Length"]=430]="Length",ft[ft["Remove"]=431]="Remove",ft[ft["Replace"]=432]="Replace",ft[ft["Roman"]=433]="Roman",ft[ft["Substring"]=434]="Substring",ft[ft["ToCurrencyWords"]=435]="ToCurrencyWords",ft[ft["ToCurrencyWordsAr"]=436]="ToCurrencyWordsAr",ft[ft["ToCurrencyWordsEnGb"]=437]="ToCurrencyWordsEnGb",ft[ft["ToCurrencyWordsEnIn"]=438]="ToCurrencyWordsEnIn",ft[ft["ToCurrencyWordsEs"]=439]="ToCurrencyWordsEs",ft[ft["ToCurrencyWordsFr"]=440]="ToCurrencyWordsFr",ft[ft["ToCurrencyWordsNl"]=441]="ToCurrencyWordsNl",ft[ft["ToCurrencyWordsPl"]=442]="ToCurrencyWordsPl",ft[ft["ToCurrencyWordsPt"]=443]="ToCurrencyWordsPt",ft[ft["ToCurrencyWordsPtBr"]=444]="ToCurrencyWordsPtBr",ft[ft["ToCurrencyWordsRu"]=445]="ToCurrencyWordsRu",ft[ft["ToCurrencyWordsThai"]=446]="ToCurrencyWordsThai",ft[ft["ToCurrencyWordsTr"]=447]="ToCurrencyWordsTr",ft[ft["ToCurrencyWordsUa"]=448]="ToCurrencyWordsUa",ft[ft["ToCurrencyWordsZh"]=449]="ToCurrencyWordsZh",ft[ft["ToLowerCase"]=450]="ToLowerCase",ft[ft["ToProperCase"]=451]="ToProperCase",ft[ft["ToUpperCase"]=452]="ToUpperCase",ft[ft["ToWords"]=453]="ToWords",ft[ft["ToWordsAr"]=454]="ToWordsAr",ft[ft["ToWordsEs"]=455]="ToWordsEs",ft[ft["ToWordsEnIn"]=456]="ToWordsEnIn",ft[ft["ToWordsFa"]=457]="ToWordsFa",ft[ft["ToWordsPl"]=458]="ToWordsPl",ft[ft["ToWordsPt"]=459]="ToWordsPt",ft[ft["ToWordsRu"]=460]="ToWordsRu",ft[ft["ToWordsTr"]=461]="ToWordsTr",ft[ft["ToWordsUa"]=462]="ToWordsUa",ft[ft["Trim"]=463]="Trim",ft[ft["TryParseDecimal"]=464]="TryParseDecimal",ft[ft["TryParseDouble"]=465]="TryParseDouble",ft[ft["TryParseLong"]=466]="TryParseLong",ft[ft["Arabic"]=467]="Arabic",ft[ft["Persian"]=468]="Persian",ft[ft["ToOrdinal"]=469]="ToOrdinal",ft[ft["Left"]=470]="Left",ft[ft["Mid"]=471]="Mid",ft[ft["Right"]=472]="Right",ft[ft["StrToDateTime"]=473]="StrToDateTime",ft[ft["StrToNullableDateTime"]=474]="StrToNullableDateTime",ft[ft["IsNull"]=475]="IsNull",ft[ft["Next"]=476]="Next",ft[ft["NextIsNull"]=477]="NextIsNull",ft[ft["Previous"]=478]="Previous",ft[ft["PreviousIsNull"]=479]="PreviousIsNull",ft[ft["IIF"]=480]="IIF",ft[ft["Choose"]=481]="Choose",ft[ft["Switch"]=482]="Switch",ft[ft["ToString"]=483]="ToString",ft[ft["Format"]=484]="Format",ft[ft["SystemConvertToBoolean"]=485]="SystemConvertToBoolean",ft[ft["SystemConvertToByte"]=486]="SystemConvertToByte",ft[ft["SystemConvertToChar"]=487]="SystemConvertToChar",ft[ft["SystemConvertToDateTime"]=488]="SystemConvertToDateTime",ft[ft["SystemConvertToDecimal"]=489]="SystemConvertToDecimal",ft[ft["SystemConvertToDouble"]=490]="SystemConvertToDouble",ft[ft["SystemConvertToInt16"]=491]="SystemConvertToInt16",ft[ft["SystemConvertToInt32"]=492]="SystemConvertToInt32",ft[ft["SystemConvertToInt64"]=493]="SystemConvertToInt64",ft[ft["SystemConvertToSByte"]=494]="SystemConvertToSByte",ft[ft["SystemConvertToSingle"]=495]="SystemConvertToSingle",ft[ft["SystemConvertToString"]=496]="SystemConvertToString",ft[ft["SystemConvertToUInt16"]=497]="SystemConvertToUInt16",ft[ft["SystemConvertToUInt32"]=498]="SystemConvertToUInt32",ft[ft["SystemConvertToUInt64"]=499]="SystemConvertToUInt64",ft[ft["MathRound"]=500]="MathRound",ft[ft["MathPow"]=501]="MathPow",ft[ft["AddAnchor"]=502]="AddAnchor",ft[ft["GetAnchorPageNumber"]=503]="GetAnchorPageNumber",ft[ft["GetAnchorPageNumberThrough"]=504]="GetAnchorPageNumberThrough",ft[ft["ConvertRtf"]=505]="ConvertRtf",ft[ft["GetLabel"]=506]="GetLabel",ft[ft["GetParam"]=507]="GetParam",ft[ft["ParseInt"]=508]="ParseInt",ft[ft["ParseDouble"]=509]="ParseDouble",ft[ft["ParseDecimal"]=510]="ParseDecimal",ft[ft["ParseDateTime"]=511]="ParseDateTime",ft[ft["ParseTimeSpan"]=512]="ParseTimeSpan",ft[ft["StringIsNullOrEmpty"]=513]="StringIsNullOrEmpty",ft[ft["StringIsNullOrWhiteSpace"]=514]="StringIsNullOrWhiteSpace",ft[ft["EngineHelperJoinColumnContent"]=515]="EngineHelperJoinColumnContent",ft[ft["EngineHelperToQueryString"]=516]="EngineHelperToQueryString",ft[ft["m_Substring"]=1e3]="m_Substring",ft[ft["m_ToString"]=1001]="m_ToString",ft[ft["m_ToLower"]=1002]="m_ToLower",ft[ft["m_ToUpper"]=1003]="m_ToUpper",ft[ft["m_IndexOf"]=1004]="m_IndexOf",ft[ft["m_StartsWith"]=1005]="m_StartsWith",ft[ft["m_EndsWith"]=1006]="m_EndsWith",ft[ft["m_Replace"]=1007]="m_Replace",ft[ft["m_PadLeft"]=1008]="m_PadLeft",ft[ft["m_PadRight"]=1009]="m_PadRight",ft[ft["m_TrimStart"]=1010]="m_TrimStart",ft[ft["m_TrimEnd"]=1011]="m_TrimEnd",ft[ft["m_Parse"]=1012]="m_Parse",ft[ft["m_Contains"]=1013]="m_Contains",ft[ft["m_GetData"]=1014]="m_GetData",ft[ft["m_ToQueryString"]=1015]="m_ToQueryString",ft[ft["m_AddYears"]=1016]="m_AddYears",ft[ft["m_AddMonths"]=1017]="m_AddMonths",ft[ft["m_AddDays"]=1018]="m_AddDays",ft[ft["m_AddHours"]=1019]="m_AddHours",ft[ft["m_AddMinutes"]=1020]="m_AddMinutes",ft[ft["m_AddSeconds"]=1021]="m_AddSeconds",ft[ft["m_AddMilliseconds"]=1022]="m_AddMilliseconds",ft[ft["m_ToShortDateString"]=1023]="m_ToShortDateString",ft[ft["m_ToShortTimeString"]=1024]="m_ToShortTimeString",ft[ft["m_ToLongDateString"]=1025]="m_ToLongDateString",ft[ft["m_ToLongTimeString"]=1026]="m_ToLongTimeString",ft[ft["m_GetCurrentConditionValue"]=1027]="m_GetCurrentConditionValue",ft[ft["m_Add"]=1028]="m_Add",ft[ft["m_Subtract"]=1029]="m_Subtract",ft[ft["m_MethodNameSpace"]=1030]="m_MethodNameSpace",ft[ft["op_Add"]=2020]="op_Add",ft[ft["op_Sub"]=2021]="op_Sub",ft[ft["op_Mult"]=2022]="op_Mult",ft[ft["op_Div"]=2023]="op_Div",ft[ft["op_Mod"]=2024]="op_Mod",ft[ft["op_Power"]=2025]="op_Power",ft[ft["op_Neg"]=2026]="op_Neg",ft[ft["op_Cast"]=2027]="op_Cast",ft[ft["op_Not"]=2028]="op_Not",ft[ft["op_CompareLeft"]=2029]="op_CompareLeft",ft[ft["op_CompareLeftEqual"]=2030]="op_CompareLeftEqual",ft[ft["op_CompareRight"]=2031]="op_CompareRight",ft[ft["op_CompareRightEqual"]=2032]="op_CompareRightEqual",ft[ft["op_CompareEqual"]=2033]="op_CompareEqual",ft[ft["op_CompareNotEqual"]=2034]="op_CompareNotEqual",ft[ft["op_Shl"]=2035]="op_Shl",ft[ft["op_Shr"]=2036]="op_Shr",ft[ft["op_And"]=2037]="op_And",ft[ft["op_And2"]=2038]="op_And2",ft[ft["op_Or"]=2039]="op_Or",ft[ft["op_Or2"]=2040]="op_Or2",ft[ft["op_Xor"]=2041]="op_Xor",ft[ft["UserFunction"]=3e3]="UserFunction",(Z=Uc=Ae.aq.StiMethodType||(Ae.aq.StiMethodType={}))[Z["Substring"]=1e3]="Substring",Z[Z["ToString"]=1001]="ToString",Z[Z["ToLower"]=1002]="ToLower",Z[Z["ToUpper"]=1003]="ToUpper",Z[Z["IndexOf"]=1004]="IndexOf",Z[Z["StartsWith"]=1005]="StartsWith",Z[Z["EndsWith"]=1006]="EndsWith",Z[Z["Replace"]=1007]="Replace",Z[Z["PadLeft"]=1008]="PadLeft",Z[Z["PadRight"]=1009]="PadRight",Z[Z["TrimStart"]=1010]="TrimStart",Z[Z["TrimEnd"]=1011]="TrimEnd",Z[Z["Parse"]=1012]="Parse",Z[Z["Contains"]=1013]="Contains",Z[Z["GetData"]=1014]="GetData",Z[Z["ToQueryString"]=1015]="ToQueryString",Z[Z["AddYears"]=1016]="AddYears",Z[Z["AddMonths"]=1017]="AddMonths",Z[Z["AddDays"]=1018]="AddDays",Z[Z["AddHours"]=1019]="AddHours",Z[Z["AddMinutes"]=1020]="AddMinutes",Z[Z["AddSeconds"]=1021]="AddSeconds",Z[Z["AddMilliseconds"]=1022]="AddMilliseconds",Z[Z["ToShortDateString"]=1023]="ToShortDateString",Z[Z["ToShortTimeString"]=1024]="ToShortTimeString",Z[Z["ToLongDateString"]=1025]="ToLongDateString",Z[Z["ToLongTimeString"]=1026]="ToLongTimeString",Z[Z["GetCurrentConditionValue"]=1027]="GetCurrentConditionValue",Z[Z["Add"]=1028]="Add",Z[Z["Subtract"]=1029]="Subtract",Z[Z["MethodNameSpace"]=1030]="MethodNameSpace",(tt=jc=Ae.aq.StiParameterNumber||(Ae.aq.StiParameterNumber={}))[tt["Param1"]=1]="Param1",tt[tt["Param2"]=2]="Param2",tt[tt["Param3"]=4]="Param3",tt[tt["Param4"]=8]="Param4";let Jc=Ae.am.StiFunctions;{let r=class{constructor(t,e,r,i=String){this.name=t,this.number=e,this.arguments=r,this.returnType=i}};Ae.bb.StiParserMethodInfo=r;var rt=class{constructor(){this.report=null,this.expressionPosition=0,this._componentsList=null,this.lockUserFunctionsList={},this._userFunctionsList=null}get_category(t){if(null==t)return-1;var t=t.stimulsoft().getType();let e=0;return t==String?e=1:t==Number?e=4:t==Ae.b.DateTime?e=8:t==Boolean&&(e=9),e}static get typesList(){return null==this._typesList&&(this._typesList=new Dt,this._typesList.set("bool",gt.Boolean),this._typesList.set("Boolean",gt.Boolean),this._typesList.set("byte",gt.Byte),this._typesList.set("Byte",gt.Byte),this._typesList.set("sbyte",gt.SByte),this._typesList.set("Sbyte",gt.SByte),this._typesList.set("char",gt.Char),this._typesList.set("Char",gt.Char),this._typesList.set("decimal",gt.Decimal),this._typesList.set("Decimal",gt.Decimal),this._typesList.set("double",gt.Double),this._typesList.set("Double",gt.Double),this._typesList.set("float",gt.Single),this._typesList.set("Single",gt.Single),this._typesList.set("int",gt.Int32),this._typesList.set("uint",gt.UInt32),this._typesList.set("long",gt.Int64),this._typesList.set("ulong",gt.UInt64),this._typesList.set("short",gt.Int16),this._typesList.set("Int16",gt.Int16),this._typesList.set("Int32",gt.Int32),this._typesList.set("Int64",gt.Int64),this._typesList.set("ushort",gt.UInt16),this._typesList.set("UInt16",gt.UInt16),this._typesList.set("UInt32",gt.UInt32),this._typesList.set("UInt64",gt.UInt64),this._typesList.set("object",gt.Object),this._typesList.set("string",gt.String),this._typesList.set("String",gt.String),this._typesList.set("DateTime",gt.DateTime),this._typesList.set("TimeSpan",lt)),this._typesList}static get systemVariablesList(){return null==this._systemVariablesList&&(this._systemVariablesList=new Dt,this._systemVariablesList.set("Column",Ae.aq.StiSystemVariableType.Column),this._systemVariablesList.set("Line",Ae.aq.StiSystemVariableType.Line),this._systemVariablesList.set("LineThrough",Ae.aq.StiSystemVariableType.LineThrough),this._systemVariablesList.set("LineABC",Ae.aq.StiSystemVariableType.LineABC),this._systemVariablesList.set("LineRoman",Ae.aq.StiSystemVariableType.LineRoman),this._systemVariablesList.set("GroupLine",Ae.aq.StiSystemVariableType.GroupLine),this._systemVariablesList.set("PageNumber",Ae.aq.StiSystemVariableType.PageNumber),this._systemVariablesList.set("PageNumberThrough",Ae.aq.StiSystemVariableType.PageNumberThrough),this._systemVariablesList.set("PageNofM",Ae.aq.StiSystemVariableType.PageNofM),this._systemVariablesList.set("PageNofMThrough",Ae.aq.StiSystemVariableType.PageNofMThrough),this._systemVariablesList.set("TotalPageCount",Ae.aq.StiSystemVariableType.TotalPageCount),this._systemVariablesList.set("TotalPageCountThrough",Ae.aq.StiSystemVariableType.TotalPageCountThrough),this._systemVariablesList.set("IsFirstPage",Ae.aq.StiSystemVariableType.IsFirstPage),this._systemVariablesList.set("IsFirstPageThrough",Ae.aq.StiSystemVariableType.IsFirstPageThrough),this._systemVariablesList.set("IsLastPage",Ae.aq.StiSystemVariableType.IsLastPage),this._systemVariablesList.set("IsLastPageThrough",Ae.aq.StiSystemVariableType.IsLastPageThrough),this._systemVariablesList.set("PageCopyNumber",Ae.aq.StiSystemVariableType.PageCopyNumber),this._systemVariablesList.set("ReportAlias",Ae.aq.StiSystemVariableType.ReportAlias),this._systemVariablesList.set("ReportAuthor",Ae.aq.StiSystemVariableType.ReportAuthor),this._systemVariablesList.set("ReportChanged",Ae.aq.StiSystemVariableType.ReportChanged),this._systemVariablesList.set("ReportCreated",Ae.aq.StiSystemVariableType.ReportCreated),this._systemVariablesList.set("ReportDescription",Ae.aq.StiSystemVariableType.ReportDescription),this._systemVariablesList.set("ReportName",Ae.aq.StiSystemVariableType.ReportName),this._systemVariablesList.set("Time",Ae.aq.StiSystemVariableType.Time),this._systemVariablesList.set("Today",Ae.aq.StiSystemVariableType.Today),this._systemVariablesList.set("value",Ae.aq.StiSystemVariableType.ConditionValue),this._systemVariablesList.set("value2",Ae.aq.StiSystemVariableType.ConditionValue2),this._systemVariablesList.set("tag",Ae.aq.StiSystemVariableType.ConditionTag),this._systemVariablesList.set("sender",Ae.aq.StiSystemVariableType.Sender),this._systemVariablesList.set("DateTime.Now",Ae.aq.StiSystemVariableType.DateTimeNow),this._systemVariablesList.set("DateTime.Today",Ae.aq.StiSystemVariableType.DateTimeToday)),this._systemVariablesList}static get propertiesList(){return null==this._propertiesList&&(this._propertiesList=new Dt,this._propertiesList.set("Year",Ae.aq.StiPropertyType.Year),this._propertiesList.set("Month",Ae.aq.StiPropertyType.Month),this._propertiesList.set("Day",Ae.aq.StiPropertyType.Day),this._propertiesList.set("Hour",Ae.aq.StiPropertyType.Hour),this._propertiesList.set("Minute",Ae.aq.StiPropertyType.Minute),this._propertiesList.set("Second",Ae.aq.StiPropertyType.Second),this._propertiesList.set("Date",Ae.aq.StiPropertyType.Date),this._propertiesList.set("DayOfWeek",Ae.aq.StiPropertyType.DayOfWeek),this._propertiesList.set("Length",Ae.aq.StiPropertyType.Length),this._propertiesList.set("From",Ae.aq.StiPropertyType.From),this._propertiesList.set("To",Ae.aq.StiPropertyType.To),this._propertiesList.set("FromDate",Ae.aq.StiPropertyType.FromDate),this._propertiesList.set("ToDate",Ae.aq.StiPropertyType.ToDate),this._propertiesList.set("FromTime",Ae.aq.StiPropertyType.FromTime),this._propertiesList.set("ToTime",Ae.aq.StiPropertyType.ToTime),this._propertiesList.set("SelectedLine",Ae.aq.StiPropertyType.SelectedLine),this._propertiesList.set("Name",Ae.aq.StiPropertyType.Name),this._propertiesList.set("TagValue",Ae.aq.StiPropertyType.TagValue),this._propertiesList.set("Days",Ae.aq.StiPropertyType.Days),this._propertiesList.set("Hours",Ae.aq.StiPropertyType.Hours),this._propertiesList.set("Milliseconds",Ae.aq.StiPropertyType.Milliseconds),this._propertiesList.set("Minutes",Ae.aq.StiPropertyType.Minutes),this._propertiesList.set("Seconds",Ae.aq.StiPropertyType.Seconds),this._propertiesList.set("Ticks",Ae.aq.StiPropertyType.Ticks),this._propertiesList.set("TotalDays",Ae.aq.StiPropertyType.TotalDays),this._propertiesList.set("TotalHours",Ae.aq.StiPropertyType.TotalHours),this._propertiesList.set("TotalMinutes",Ae.aq.StiPropertyType.TotalMinutes),this._propertiesList.set("TotalSeconds",Ae.aq.StiPropertyType.TotalSeconds),this._propertiesList.set("TotalMilliseconds",Ae.aq.StiPropertyType.TotalMilliseconds),this._propertiesList.set("Count",Ae.aq.StiPropertyType.Count),this._propertiesList.set("BusinessObjectValue",Ae.aq.StiPropertyType.BusinessObjectValue),this._propertiesList.set("Position",Ae.aq.StiPropertyType.Position),this._propertiesList.set("Line",Ae.aq.StiPropertyType.Line),this._propertiesList.set("Rows",Ae.aq.StiPropertyType.Rows),this._propertiesList.set("Enabled",Ae.aq.StiPropertyType.Enabled),this._propertiesList.set("Skip",Ae.aq.StiPropertyType.Skip)),this._propertiesList}static get functionsList(){return null==this._functionsList&&(this._functionsList=new Dt,this._functionsList.set("Count",Ae.aq.StiFunctionType.Count),this._functionsList.set("CountDistinct",Ae.aq.StiFunctionType.CountDistinct),this._functionsList.set("Avg",Ae.aq.StiFunctionType.Avg),this._functionsList.set("AvgD",Ae.aq.StiFunctionType.AvgD),this._functionsList.set("AvgDate",Ae.aq.StiFunctionType.AvgDate),this._functionsList.set("AvgI",Ae.aq.StiFunctionType.AvgI),this._functionsList.set("AvgTime",Ae.aq.StiFunctionType.AvgTime),this._functionsList.set("Max",Ae.aq.StiFunctionType.Max),this._functionsList.set("MaxD",Ae.aq.StiFunctionType.MaxD),this._functionsList.set("MaxDate",Ae.aq.StiFunctionType.MaxDate),this._functionsList.set("MaxI",Ae.aq.StiFunctionType.MaxI),this._functionsList.set("MaxStr",Ae.aq.StiFunctionType.MaxStr),this._functionsList.set("MaxTime",Ae.aq.StiFunctionType.MaxTime),this._functionsList.set("Median",Ae.aq.StiFunctionType.Median),this._functionsList.set("MedianD",Ae.aq.StiFunctionType.MedianD),this._functionsList.set("MedianI",Ae.aq.StiFunctionType.MedianI),this._functionsList.set("Min",Ae.aq.StiFunctionType.Min),this._functionsList.set("MinD",Ae.aq.StiFunctionType.MinD),this._functionsList.set("MinDate",Ae.aq.StiFunctionType.MinDate),this._functionsList.set("MinI",Ae.aq.StiFunctionType.MinI),this._functionsList.set("MinStr",Ae.aq.StiFunctionType.MinStr),this._functionsList.set("MinTime",Ae.aq.StiFunctionType.MinTime),this._functionsList.set("Mode",Ae.aq.StiFunctionType.Mode),this._functionsList.set("ModeD",Ae.aq.StiFunctionType.ModeD),this._functionsList.set("ModeI",Ae.aq.StiFunctionType.ModeI),this._functionsList.set("Sum",Ae.aq.StiFunctionType.Sum),this._functionsList.set("SumD",Ae.aq.StiFunctionType.SumD),this._functionsList.set("SumDistinct",Ae.aq.StiFunctionType.SumDistinct),this._functionsList.set("SumI",Ae.aq.StiFunctionType.SumI),this._functionsList.set("SumTime",Ae.aq.StiFunctionType.SumTime),this._functionsList.set("First",Ae.aq.StiFunctionType.First),this._functionsList.set("Last",Ae.aq.StiFunctionType.Last),this._functionsList.set("CountRunning",Ae.aq.StiFunctionType.rCount),this._functionsList.set("CountDistinctRunning",Ae.aq.StiFunctionType.rCountDistinct),this._functionsList.set("AvgRunning",Ae.aq.StiFunctionType.rAvg),this._functionsList.set("AvgDRunning",Ae.aq.StiFunctionType.rAvgD),this._functionsList.set("AvgDateRunning",Ae.aq.StiFunctionType.rAvgDate),this._functionsList.set("AvgIRunning",Ae.aq.StiFunctionType.rAvgI),this._functionsList.set("AvgTimeRunning",Ae.aq.StiFunctionType.rAvgTime),this._functionsList.set("MaxRunning",Ae.aq.StiFunctionType.rMax),this._functionsList.set("MaxDRunning",Ae.aq.StiFunctionType.rMaxD),this._functionsList.set("MaxDateRunning",Ae.aq.StiFunctionType.rMaxDate),this._functionsList.set("MaxIRunning",Ae.aq.StiFunctionType.rMaxI),this._functionsList.set("MaxStrRunning",Ae.aq.StiFunctionType.rMaxStr),this._functionsList.set("MaxTimeRunning",Ae.aq.StiFunctionType.rMaxTime),this._functionsList.set("MedianRunning",Ae.aq.StiFunctionType.rMedian),this._functionsList.set("MedianDRunning",Ae.aq.StiFunctionType.rMedianD),this._functionsList.set("MedianIRunning",Ae.aq.StiFunctionType.rMedianI),this._functionsList.set("MinRunning",Ae.aq.StiFunctionType.rMin),this._functionsList.set("MinDRunning",Ae.aq.StiFunctionType.rMinD),this._functionsList.set("MinDateRunning",Ae.aq.StiFunctionType.rMinDate),this._functionsList.set("MinIRunning",Ae.aq.StiFunctionType.rMinI),this._functionsList.set("MinStrRunning",Ae.aq.StiFunctionType.rMinStr),this._functionsList.set("MinTimeRunning",Ae.aq.StiFunctionType.rMinTime),this._functionsList.set("ModeRunning",Ae.aq.StiFunctionType.rMode),this._functionsList.set("ModeDRunning",Ae.aq.StiFunctionType.rModeD),this._functionsList.set("ModeIRunning",Ae.aq.StiFunctionType.rModeI),this._functionsList.set("SumRunning",Ae.aq.StiFunctionType.rSum),this._functionsList.set("SumDRunning",Ae.aq.StiFunctionType.rSumD),this._functionsList.set("SumDistinctRunning",Ae.aq.StiFunctionType.rSumDistinct),this._functionsList.set("SumIRunning",Ae.aq.StiFunctionType.rSumI),this._functionsList.set("SumTimeRunning",Ae.aq.StiFunctionType.rSumTime),this._functionsList.set("FirstRunning",Ae.aq.StiFunctionType.rFirst),this._functionsList.set("LastRunning",Ae.aq.StiFunctionType.rLast),this._functionsList.set("CountIf",Ae.aq.StiFunctionType.iCount),this._functionsList.set("CountDistinctIf",Ae.aq.StiFunctionType.iCountDistinct),this._functionsList.set("AvgIf",Ae.aq.StiFunctionType.iAvg),this._functionsList.set("AvgDIf",Ae.aq.StiFunctionType.iAvgD),this._functionsList.set("AvgDateIf",Ae.aq.StiFunctionType.iAvgDate),this._functionsList.set("AvgIIf",Ae.aq.StiFunctionType.iAvgI),this._functionsList.set("AvgTimeIf",Ae.aq.StiFunctionType.iAvgTime),this._functionsList.set("MaxIf",Ae.aq.StiFunctionType.iMax),this._functionsList.set("MaxDIf",Ae.aq.StiFunctionType.iMaxD),this._functionsList.set("MaxDateIf",Ae.aq.StiFunctionType.iMaxDate),this._functionsList.set("MaxIIf",Ae.aq.StiFunctionType.iMaxI),this._functionsList.set("MaxStrIf",Ae.aq.StiFunctionType.iMaxStr),this._functionsList.set("MaxTimeIf",Ae.aq.StiFunctionType.iMaxTime),this._functionsList.set("MedianIf",Ae.aq.StiFunctionType.iMedian),this._functionsList.set("MedianDIf",Ae.aq.StiFunctionType.iMedianD),this._functionsList.set("MedianIIf",Ae.aq.StiFunctionType.iMedianI),this._functionsList.set("MinIf",Ae.aq.StiFunctionType.iMin),this._functionsList.set("MinDIf",Ae.aq.StiFunctionType.iMinD),this._functionsList.set("MinDateIf",Ae.aq.StiFunctionType.iMinDate),this._functionsList.set("MinIIf",Ae.aq.StiFunctionType.iMinI),this._functionsList.set("MinStrIf",Ae.aq.StiFunctionType.iMinStr),this._functionsList.set("MinTimeIf",Ae.aq.StiFunctionType.iMinTime),this._functionsList.set("ModeIf",Ae.aq.StiFunctionType.iMode),this._functionsList.set("ModeDIf",Ae.aq.StiFunctionType.iModeD),this._functionsList.set("ModeIIf",Ae.aq.StiFunctionType.iModeI),this._functionsList.set("SumIf",Ae.aq.StiFunctionType.iSum),this._functionsList.set("SumDIf",Ae.aq.StiFunctionType.iSumD),this._functionsList.set("SumDistinctIf",Ae.aq.StiFunctionType.iSumDistinct),this._functionsList.set("SumIIf",Ae.aq.StiFunctionType.iSumI),this._functionsList.set("SumTimeIf",Ae.aq.StiFunctionType.iSumTime),this._functionsList.set("FirstIf",Ae.aq.StiFunctionType.iFirst),this._functionsList.set("LastIf",Ae.aq.StiFunctionType.iLast),this._functionsList.set("CountIfRunning",Ae.aq.StiFunctionType.riCount),this._functionsList.set("CountDistinctIfRunning",Ae.aq.StiFunctionType.riCountDistinct),this._functionsList.set("AvgIfRunning",Ae.aq.StiFunctionType.riAvg),this._functionsList.set("AvgDIfRunning",Ae.aq.StiFunctionType.riAvgD),this._functionsList.set("AvgDateIfRunning",Ae.aq.StiFunctionType.riAvgDate),this._functionsList.set("AvgIIfRunning",Ae.aq.StiFunctionType.riAvgI),this._functionsList.set("AvgTimeIfRunning",Ae.aq.StiFunctionType.riAvgTime),this._functionsList.set("MaxIfRunning",Ae.aq.StiFunctionType.riMax),this._functionsList.set("MaxDIfRunning",Ae.aq.StiFunctionType.riMaxD),this._functionsList.set("MaxDateIfRunning",Ae.aq.StiFunctionType.riMaxDate),this._functionsList.set("MaxIIfRunning",Ae.aq.StiFunctionType.riMaxI),this._functionsList.set("MaxStrIfRunning",Ae.aq.StiFunctionType.riMaxStr),this._functionsList.set("MaxTimeIfRunning",Ae.aq.StiFunctionType.riMaxTime),this._functionsList.set("MedianIfRunning",Ae.aq.StiFunctionType.riMedian),this._functionsList.set("MedianDIfRunning",Ae.aq.StiFunctionType.riMedianD),this._functionsList.set("MedianIIfRunning",Ae.aq.StiFunctionType.riMedianI),this._functionsList.set("MinIfRunning",Ae.aq.StiFunctionType.riMin),this._functionsList.set("MinDIfRunning",Ae.aq.StiFunctionType.riMinD),this._functionsList.set("MinDateIfRunning",Ae.aq.StiFunctionType.riMinDate),this._functionsList.set("MinIIfRunning",Ae.aq.StiFunctionType.riMinI),this._functionsList.set("MinStrIfRunning",Ae.aq.StiFunctionType.riMinStr),this._functionsList.set("MinTimeIfRunning",Ae.aq.StiFunctionType.riMinTime),this._functionsList.set("ModeIfRunning",Ae.aq.StiFunctionType.riMode),this._functionsList.set("ModeDIfRunning",Ae.aq.StiFunctionType.riModeD),this._functionsList.set("ModeIIfRunning",Ae.aq.StiFunctionType.riModeI),this._functionsList.set("SumIfRunning",Ae.aq.StiFunctionType.riSum),this._functionsList.set("SumDIfRunning",Ae.aq.StiFunctionType.riSumD),this._functionsList.set("SumDistinctIfRunning",Ae.aq.StiFunctionType.riSumDistinct),this._functionsList.set("SumIIfRunning",Ae.aq.StiFunctionType.riSumI),this._functionsList.set("SumTimeIfRunning",Ae.aq.StiFunctionType.riSumTime),this._functionsList.set("FirstIfRunning",Ae.aq.StiFunctionType.riFirst),this._functionsList.set("LastIfRunning",Ae.aq.StiFunctionType.riLast),this._functionsList.set("colCount",Ae.aq.StiFunctionType.cCount),this._functionsList.set("colCountDistinct",Ae.aq.StiFunctionType.cCountDistinct),this._functionsList.set("colAvg",Ae.aq.StiFunctionType.cAvg),this._functionsList.set("colAvgD",Ae.aq.StiFunctionType.cAvgD),this._functionsList.set("colAvgDate",Ae.aq.StiFunctionType.cAvgDate),this._functionsList.set("colAvgI",Ae.aq.StiFunctionType.cAvgI),this._functionsList.set("colAvgTime",Ae.aq.StiFunctionType.cAvgTime),this._functionsList.set("colMax",Ae.aq.StiFunctionType.cMax),this._functionsList.set("colMaxD",Ae.aq.StiFunctionType.cMaxD),this._functionsList.set("colMaxDate",Ae.aq.StiFunctionType.cMaxDate),this._functionsList.set("colMaxI",Ae.aq.StiFunctionType.cMaxI),this._functionsList.set("colMaxStr",Ae.aq.StiFunctionType.cMaxStr),this._functionsList.set("colMaxTime",Ae.aq.StiFunctionType.cMaxTime),this._functionsList.set("colMedian",Ae.aq.StiFunctionType.cMedian),this._functionsList.set("colMedianD",Ae.aq.StiFunctionType.cMedianD),this._functionsList.set("colMedianI",Ae.aq.StiFunctionType.cMedianI),this._functionsList.set("colMin",Ae.aq.StiFunctionType.cMin),this._functionsList.set("colMinD",Ae.aq.StiFunctionType.cMinD),this._functionsList.set("colMinDate",Ae.aq.StiFunctionType.cMinDate),this._functionsList.set("colMinI",Ae.aq.StiFunctionType.cMinI),this._functionsList.set("colMinStr",Ae.aq.StiFunctionType.cMinStr),this._functionsList.set("colMinTime",Ae.aq.StiFunctionType.cMinTime),this._functionsList.set("colMode",Ae.aq.StiFunctionType.cMode),this._functionsList.set("colModeD",Ae.aq.StiFunctionType.cModeD),this._functionsList.set("colModeI",Ae.aq.StiFunctionType.cModeI),this._functionsList.set("colSum",Ae.aq.StiFunctionType.cSum),this._functionsList.set("colSumD",Ae.aq.StiFunctionType.cSumD),this._functionsList.set("colSumDistinct",Ae.aq.StiFunctionType.cSumDistinct),this._functionsList.set("colSumI",Ae.aq.StiFunctionType.cSumI),this._functionsList.set("colSumTime",Ae.aq.StiFunctionType.cSumTime),this._functionsList.set("colFirst",Ae.aq.StiFunctionType.cFirst),this._functionsList.set("colLast",Ae.aq.StiFunctionType.cLast),this._functionsList.set("colCountRunning",Ae.aq.StiFunctionType.crCount),this._functionsList.set("colCountDistinctRunning",Ae.aq.StiFunctionType.crCountDistinct),this._functionsList.set("colAvgRunning",Ae.aq.StiFunctionType.crAvg),this._functionsList.set("colAvgDRunning",Ae.aq.StiFunctionType.crAvgD),this._functionsList.set("colAvgDateRunning",Ae.aq.StiFunctionType.crAvgDate),this._functionsList.set("colAvgIRunning",Ae.aq.StiFunctionType.crAvgI),this._functionsList.set("colAvgTimeRunning",Ae.aq.StiFunctionType.crAvgTime),this._functionsList.set("colMaxRunning",Ae.aq.StiFunctionType.crMax),this._functionsList.set("colMaxDRunning",Ae.aq.StiFunctionType.crMaxD),this._functionsList.set("colMaxDateRunning",Ae.aq.StiFunctionType.crMaxDate),this._functionsList.set("colMaxIRunning",Ae.aq.StiFunctionType.crMaxI),this._functionsList.set("colMaxStrRunning",Ae.aq.StiFunctionType.crMaxStr),this._functionsList.set("colMaxTimeRunning",Ae.aq.StiFunctionType.crMaxTime),this._functionsList.set("colMedianRunning",Ae.aq.StiFunctionType.crMedian),this._functionsList.set("colMedianDRunning",Ae.aq.StiFunctionType.crMedianD),this._functionsList.set("colMedianIRunning",Ae.aq.StiFunctionType.crMedianI),this._functionsList.set("colMinRunning",Ae.aq.StiFunctionType.crMin),this._functionsList.set("colMinDRunning",Ae.aq.StiFunctionType.crMinD),this._functionsList.set("colMinDateRunning",Ae.aq.StiFunctionType.crMinDate),this._functionsList.set("colMinIRunning",Ae.aq.StiFunctionType.crMinI),this._functionsList.set("colMinStrRunning",Ae.aq.StiFunctionType.crMinStr),this._functionsList.set("colMinTimeRunning",Ae.aq.StiFunctionType.crMinTime),this._functionsList.set("colModeRunning",Ae.aq.StiFunctionType.crMode),this._functionsList.set("colModeDRunning",Ae.aq.StiFunctionType.crModeD),this._functionsList.set("colModeIRunning",Ae.aq.StiFunctionType.crModeI),this._functionsList.set("colSumRunning",Ae.aq.StiFunctionType.crSum),this._functionsList.set("colSumDRunning",Ae.aq.StiFunctionType.crSumD),this._functionsList.set("colSumDistinctRunning",Ae.aq.StiFunctionType.crSumDistinct),this._functionsList.set("colSumIRunning",Ae.aq.StiFunctionType.crSumI),this._functionsList.set("colSumTimeRunning",Ae.aq.StiFunctionType.crSumTime),this._functionsList.set("colFirstRunning",Ae.aq.StiFunctionType.crFirst),this._functionsList.set("colLastRunning",Ae.aq.StiFunctionType.crLast),this._functionsList.set("colCountIf",Ae.aq.StiFunctionType.ciCount),this._functionsList.set("colCountDistinctIf",Ae.aq.StiFunctionType.ciCountDistinct),this._functionsList.set("colAvgIf",Ae.aq.StiFunctionType.ciAvg),this._functionsList.set("colAvgDIf",Ae.aq.StiFunctionType.ciAvgD),this._functionsList.set("colAvgDateIf",Ae.aq.StiFunctionType.ciAvgDate),this._functionsList.set("colAvgIIf",Ae.aq.StiFunctionType.ciAvgI),this._functionsList.set("colAvgTimeIf",Ae.aq.StiFunctionType.ciAvgTime),this._functionsList.set("colMaxIf",Ae.aq.StiFunctionType.ciMax),this._functionsList.set("colMaxDIf",Ae.aq.StiFunctionType.ciMaxD),this._functionsList.set("colMaxDateIf",Ae.aq.StiFunctionType.ciMaxDate),this._functionsList.set("colMaxIIf",Ae.aq.StiFunctionType.ciMaxI),this._functionsList.set("colMaxStrIf",Ae.aq.StiFunctionType.ciMaxStr),this._functionsList.set("colMaxTimeIf",Ae.aq.StiFunctionType.ciMaxTime),this._functionsList.set("colMedianIf",Ae.aq.StiFunctionType.ciMedian),this._functionsList.set("colMedianDIf",Ae.aq.StiFunctionType.ciMedianD),this._functionsList.set("colMedianIIf",Ae.aq.StiFunctionType.ciMedianI),this._functionsList.set("colMinIf",Ae.aq.StiFunctionType.ciMin),this._functionsList.set("colMinDIf",Ae.aq.StiFunctionType.ciMinD),this._functionsList.set("colMinDateIf",Ae.aq.StiFunctionType.ciMinDate),this._functionsList.set("colMinIIf",Ae.aq.StiFunctionType.ciMinI),this._functionsList.set("colMinStrIf",Ae.aq.StiFunctionType.ciMinStr),this._functionsList.set("colMinTimeIf",Ae.aq.StiFunctionType.ciMinTime),this._functionsList.set("colModeIf",Ae.aq.StiFunctionType.ciMode),this._functionsList.set("colModeDIf",Ae.aq.StiFunctionType.ciModeD),this._functionsList.set("colModeIIf",Ae.aq.StiFunctionType.ciModeI),this._functionsList.set("colSumIf",Ae.aq.StiFunctionType.ciSum),this._functionsList.set("colSumDIf",Ae.aq.StiFunctionType.ciSumD),this._functionsList.set("colSumDistinctIf",Ae.aq.StiFunctionType.ciSumDistinct),this._functionsList.set("colSumIIf",Ae.aq.StiFunctionType.ciSumI),this._functionsList.set("colSumTimeIf",Ae.aq.StiFunctionType.ciSumTime),this._functionsList.set("colFirstIf",Ae.aq.StiFunctionType.ciFirst),this._functionsList.set("colLastIf",Ae.aq.StiFunctionType.ciLast),this._functionsList.set("colCountIfRunning",Ae.aq.StiFunctionType.criCount),this._functionsList.set("colCountDistinctIfRunning",Ae.aq.StiFunctionType.criCountDistinct),this._functionsList.set("colAvgIfRunning",Ae.aq.StiFunctionType.criAvg),this._functionsList.set("colAvgDIfRunning",Ae.aq.StiFunctionType.criAvgD),this._functionsList.set("colAvgDateIfRunning",Ae.aq.StiFunctionType.criAvgDate),this._functionsList.set("colAvgIIfRunning",Ae.aq.StiFunctionType.criAvgI),this._functionsList.set("colAvgTimeIfRunning",Ae.aq.StiFunctionType.criAvgTime),this._functionsList.set("colMaxIfRunning",Ae.aq.StiFunctionType.criMax),this._functionsList.set("colMaxDIfRunning",Ae.aq.StiFunctionType.criMaxD),this._functionsList.set("colMaxDateIfRunning",Ae.aq.StiFunctionType.criMaxDate),this._functionsList.set("colMaxIIfRunning",Ae.aq.StiFunctionType.criMaxI),this._functionsList.set("colMaxStrIfRunning",Ae.aq.StiFunctionType.criMaxStr),this._functionsList.set("colMaxTimeIfRunning",Ae.aq.StiFunctionType.criMaxTime),this._functionsList.set("colMedianIfRunning",Ae.aq.StiFunctionType.criMedian),this._functionsList.set("colMedianDIfRunning",Ae.aq.StiFunctionType.criMedianD),this._functionsList.set("colMedianIIfRunning",Ae.aq.StiFunctionType.criMedianI),this._functionsList.set("colMinIfRunning",Ae.aq.StiFunctionType.criMin),this._functionsList.set("colMinDIfRunning",Ae.aq.StiFunctionType.criMinD),this._functionsList.set("colMinDateIfRunning",Ae.aq.StiFunctionType.criMinDate),this._functionsList.set("colMinIIfRunning",Ae.aq.StiFunctionType.criMinI),this._functionsList.set("colMinStrIfRunning",Ae.aq.StiFunctionType.criMinStr),this._functionsList.set("colMinTimeIfRunning",Ae.aq.StiFunctionType.criMinTime),this._functionsList.set("colModeIfRunning",Ae.aq.StiFunctionType.criMode),this._functionsList.set("colModeDIfRunning",Ae.aq.StiFunctionType.criModeD),this._functionsList.set("colModeIIfRunning",Ae.aq.StiFunctionType.criModeI),this._functionsList.set("colSumIfRunning",Ae.aq.StiFunctionType.criSum),this._functionsList.set("colSumDIfRunning",Ae.aq.StiFunctionType.criSumD),this._functionsList.set("colSumDistinctIfRunning",Ae.aq.StiFunctionType.criSumDistinct),this._functionsList.set("colSumIIfRunning",Ae.aq.StiFunctionType.criSumI),this._functionsList.set("colSumTimeIfRunning",Ae.aq.StiFunctionType.criSumTime),this._functionsList.set("colFirstIfRunning",Ae.aq.StiFunctionType.criFirst),this._functionsList.set("colLastIfRunning",Ae.aq.StiFunctionType.criLast),this._functionsList.set("cCount",Ae.aq.StiFunctionType.pCount),this._functionsList.set("cCountDistinct",Ae.aq.StiFunctionType.pCountDistinct),this._functionsList.set("cAvg",Ae.aq.StiFunctionType.pAvg),this._functionsList.set("cAvgD",Ae.aq.StiFunctionType.pAvgD),this._functionsList.set("cAvgDate",Ae.aq.StiFunctionType.pAvgDate),this._functionsList.set("cAvgI",Ae.aq.StiFunctionType.pAvgI),this._functionsList.set("cAvgTime",Ae.aq.StiFunctionType.pAvgTime),this._functionsList.set("cMax",Ae.aq.StiFunctionType.pMax),this._functionsList.set("cMaxD",Ae.aq.StiFunctionType.pMaxD),this._functionsList.set("cMaxDate",Ae.aq.StiFunctionType.pMaxDate),this._functionsList.set("cMaxI",Ae.aq.StiFunctionType.pMaxI),this._functionsList.set("cMaxStr",Ae.aq.StiFunctionType.pMaxStr),this._functionsList.set("cMaxTime",Ae.aq.StiFunctionType.pMaxTime),this._functionsList.set("cMedian",Ae.aq.StiFunctionType.pMedian),this._functionsList.set("cMedianD",Ae.aq.StiFunctionType.pMedianD),this._functionsList.set("cMedianI",Ae.aq.StiFunctionType.pMedianI),this._functionsList.set("cMin",Ae.aq.StiFunctionType.pMin),this._functionsList.set("cMinD",Ae.aq.StiFunctionType.pMinD),this._functionsList.set("cMinDate",Ae.aq.StiFunctionType.pMinDate),this._functionsList.set("cMinI",Ae.aq.StiFunctionType.pMinI),this._functionsList.set("cMinStr",Ae.aq.StiFunctionType.pMinStr),this._functionsList.set("cMinTime",Ae.aq.StiFunctionType.pMinTime),this._functionsList.set("cMode",Ae.aq.StiFunctionType.pMode),this._functionsList.set("cModeD",Ae.aq.StiFunctionType.pModeD),this._functionsList.set("cModeI",Ae.aq.StiFunctionType.pModeI),this._functionsList.set("cSum",Ae.aq.StiFunctionType.pSum),this._functionsList.set("cSumD",Ae.aq.StiFunctionType.pSumD),this._functionsList.set("cSumDistinct",Ae.aq.StiFunctionType.pSumDistinct),this._functionsList.set("cSumI",Ae.aq.StiFunctionType.pSumI),this._functionsList.set("cSumTime",Ae.aq.StiFunctionType.pSumTime),this._functionsList.set("cFirst",Ae.aq.StiFunctionType.pFirst),this._functionsList.set("cLast",Ae.aq.StiFunctionType.pLast),this._functionsList.set("cCountRunning",Ae.aq.StiFunctionType.prCount),this._functionsList.set("cCountDistinctRunning",Ae.aq.StiFunctionType.prCountDistinct),this._functionsList.set("cAvgRunning",Ae.aq.StiFunctionType.prAvg),this._functionsList.set("cAvgDRunning",Ae.aq.StiFunctionType.prAvgD),this._functionsList.set("cAvgDateRunning",Ae.aq.StiFunctionType.prAvgDate),this._functionsList.set("cAvgIRunning",Ae.aq.StiFunctionType.prAvgI),this._functionsList.set("cAvgTimeRunning",Ae.aq.StiFunctionType.prAvgTime),this._functionsList.set("cMaxRunning",Ae.aq.StiFunctionType.prMax),this._functionsList.set("cMaxDRunning",Ae.aq.StiFunctionType.prMaxD),this._functionsList.set("cMaxDateRunning",Ae.aq.StiFunctionType.prMaxDate),this._functionsList.set("cMaxIRunning",Ae.aq.StiFunctionType.prMaxI),this._functionsList.set("cMaxStrRunning",Ae.aq.StiFunctionType.prMaxStr),this._functionsList.set("cMaxTimeRunning",Ae.aq.StiFunctionType.prMaxTime),this._functionsList.set("cMedianRunning",Ae.aq.StiFunctionType.prMedian),this._functionsList.set("cMedianDRunning",Ae.aq.StiFunctionType.prMedianD),this._functionsList.set("cMedianIRunning",Ae.aq.StiFunctionType.prMedianI),this._functionsList.set("cMinRunning",Ae.aq.StiFunctionType.prMin),this._functionsList.set("cMinDRunning",Ae.aq.StiFunctionType.prMinD),this._functionsList.set("cMinDateRunning",Ae.aq.StiFunctionType.prMinDate),this._functionsList.set("cMinIRunning",Ae.aq.StiFunctionType.prMinI),this._functionsList.set("cMinStrRunning",Ae.aq.StiFunctionType.prMinStr),this._functionsList.set("cMinTimeRunning",Ae.aq.StiFunctionType.prMinTime),this._functionsList.set("cModeRunning",Ae.aq.StiFunctionType.prMode),this._functionsList.set("cModeDRunning",Ae.aq.StiFunctionType.prModeD),this._functionsList.set("cModeIRunning",Ae.aq.StiFunctionType.prModeI),this._functionsList.set("cSumRunning",Ae.aq.StiFunctionType.prSum),this._functionsList.set("cSumDRunning",Ae.aq.StiFunctionType.prSumD),this._functionsList.set("cSumDistinctRunning",Ae.aq.StiFunctionType.prSumDistinct),this._functionsList.set("cSumIRunning",Ae.aq.StiFunctionType.prSumI),this._functionsList.set("cSumTimeRunning",Ae.aq.StiFunctionType.prSumTime),this._functionsList.set("cFirstRunning",Ae.aq.StiFunctionType.prFirst),this._functionsList.set("cLastRunning",Ae.aq.StiFunctionType.prLast),this._functionsList.set("cCountIf",Ae.aq.StiFunctionType.piCount),this._functionsList.set("cCountDistinctIf",Ae.aq.StiFunctionType.piCountDistinct),this._functionsList.set("cAvgIf",Ae.aq.StiFunctionType.piAvg),this._functionsList.set("cAvgDIf",Ae.aq.StiFunctionType.piAvgD),this._functionsList.set("cAvgDateIf",Ae.aq.StiFunctionType.piAvgDate),this._functionsList.set("cAvgIIf",Ae.aq.StiFunctionType.piAvgI),this._functionsList.set("cAvgTimeIf",Ae.aq.StiFunctionType.piAvgTime),this._functionsList.set("cMaxIf",Ae.aq.StiFunctionType.piMax),this._functionsList.set("cMaxDIf",Ae.aq.StiFunctionType.piMaxD),this._functionsList.set("cMaxDateIf",Ae.aq.StiFunctionType.piMaxDate),this._functionsList.set("cMaxIIf",Ae.aq.StiFunctionType.piMaxI),this._functionsList.set("cMaxStrIf",Ae.aq.StiFunctionType.piMaxStr),this._functionsList.set("cMaxTimeIf",Ae.aq.StiFunctionType.piMaxTime),this._functionsList.set("cMedianIf",Ae.aq.StiFunctionType.piMedian),this._functionsList.set("cMedianDIf",Ae.aq.StiFunctionType.piMedianD),this._functionsList.set("cMedianIIf",Ae.aq.StiFunctionType.piMedianI),this._functionsList.set("cMinIf",Ae.aq.StiFunctionType.piMin),this._functionsList.set("cMinDIf",Ae.aq.StiFunctionType.piMinD),this._functionsList.set("cMinDateIf",Ae.aq.StiFunctionType.piMinDate),this._functionsList.set("cMinIIf",Ae.aq.StiFunctionType.piMinI),this._functionsList.set("cMinStrIf",Ae.aq.StiFunctionType.piMinStr),this._functionsList.set("cMinTimeIf",Ae.aq.StiFunctionType.piMinTime),this._functionsList.set("cModeIf",Ae.aq.StiFunctionType.piMode),this._functionsList.set("cModeDIf",Ae.aq.StiFunctionType.piModeD),this._functionsList.set("cModeIIf",Ae.aq.StiFunctionType.piModeI),this._functionsList.set("cSumIf",Ae.aq.StiFunctionType.piSum),this._functionsList.set("cSumDIf",Ae.aq.StiFunctionType.piSumD),this._functionsList.set("cSumDistinctIf",Ae.aq.StiFunctionType.piSumDistinct),this._functionsList.set("cSumIIf",Ae.aq.StiFunctionType.piSumI),this._functionsList.set("cSumTimeIf",Ae.aq.StiFunctionType.piSumTime),this._functionsList.set("cFirstIf",Ae.aq.StiFunctionType.piFirst),this._functionsList.set("cLastIf",Ae.aq.StiFunctionType.piLast),this._functionsList.set("cCountIfRunning",Ae.aq.StiFunctionType.priCount),this._functionsList.set("cCountDistinctIfRunning",Ae.aq.StiFunctionType.priCountDistinct),this._functionsList.set("cAvgIfRunning",Ae.aq.StiFunctionType.priAvg),this._functionsList.set("cAvgDIfRunning",Ae.aq.StiFunctionType.priAvgD),this._functionsList.set("cAvgDateIfRunning",Ae.aq.StiFunctionType.priAvgDate),this._functionsList.set("cAvgIIfRunning",Ae.aq.StiFunctionType.priAvgI),this._functionsList.set("cAvgTimeIfRunning",Ae.aq.StiFunctionType.priAvgTime),this._functionsList.set("cMaxIfRunning",Ae.aq.StiFunctionType.priMax),this._functionsList.set("cMaxDIfRunning",Ae.aq.StiFunctionType.priMaxD),this._functionsList.set("cMaxDateIfRunning",Ae.aq.StiFunctionType.priMaxDate),this._functionsList.set("cMaxIIfRunning",Ae.aq.StiFunctionType.priMaxI),this._functionsList.set("cMaxStrIfRunning",Ae.aq.StiFunctionType.priMaxStr),this._functionsList.set("cMaxTimeIfRunning",Ae.aq.StiFunctionType.priMaxTime),this._functionsList.set("cMedianIfRunning",Ae.aq.StiFunctionType.priMedian),this._functionsList.set("cMedianDIfRunning",Ae.aq.StiFunctionType.priMedianD),this._functionsList.set("cMedianIIfRunning",Ae.aq.StiFunctionType.priMedianI),this._functionsList.set("cMinIfRunning",Ae.aq.StiFunctionType.priMin),this._functionsList.set("cMinDIfRunning",Ae.aq.StiFunctionType.priMinD),this._functionsList.set("cMinDateIfRunning",Ae.aq.StiFunctionType.priMinDate),this._functionsList.set("cMinIIfRunning",Ae.aq.StiFunctionType.priMinI),this._functionsList.set("cMinStrIfRunning",Ae.aq.StiFunctionType.priMinStr),this._functionsList.set("cMinTimeIfRunning",Ae.aq.StiFunctionType.priMinTime),this._functionsList.set("cModeIfRunning",Ae.aq.StiFunctionType.priMode),this._functionsList.set("cModeDIfRunning",Ae.aq.StiFunctionType.priModeD),this._functionsList.set("cModeIIfRunning",Ae.aq.StiFunctionType.priModeI),this._functionsList.set("cSumIfRunning",Ae.aq.StiFunctionType.priSum),this._functionsList.set("cSumDIfRunning",Ae.aq.StiFunctionType.priSumD),this._functionsList.set("cSumDistinctIfRunning",Ae.aq.StiFunctionType.priSumDistinct),this._functionsList.set("cSumIIfRunning",Ae.aq.StiFunctionType.priSumI),this._functionsList.set("cSumTimeIfRunning",Ae.aq.StiFunctionType.priSumTime),this._functionsList.set("cFirstIfRunning",Ae.aq.StiFunctionType.priFirst),this._functionsList.set("cLastIfRunning",Ae.aq.StiFunctionType.priLast),this._functionsList.set("Totals.Count",Ae.aq.StiFunctionType.Count),this._functionsList.set("Totals.CountDistinct",Ae.aq.StiFunctionType.CountDistinct),this._functionsList.set("Totals.Avg",Ae.aq.StiFunctionType.Avg),this._functionsList.set("Totals.AvgD",Ae.aq.StiFunctionType.AvgD),this._functionsList.set("Totals.AvgDate",Ae.aq.StiFunctionType.AvgDate),this._functionsList.set("Totals.AvgI",Ae.aq.StiFunctionType.AvgI),this._functionsList.set("Totals.AvgTime",Ae.aq.StiFunctionType.AvgTime),this._functionsList.set("Totals.Max",Ae.aq.StiFunctionType.Max),this._functionsList.set("Totals.MaxD",Ae.aq.StiFunctionType.MaxD),this._functionsList.set("Totals.MaxDate",Ae.aq.StiFunctionType.MaxDate),this._functionsList.set("Totals.MaxI",Ae.aq.StiFunctionType.MaxI),this._functionsList.set("Totals.MaxStr",Ae.aq.StiFunctionType.MaxStr),this._functionsList.set("Totals.MaxTime",Ae.aq.StiFunctionType.MaxTime),this._functionsList.set("Totals.Median",Ae.aq.StiFunctionType.Median),this._functionsList.set("Totals.MedianD",Ae.aq.StiFunctionType.MedianD),this._functionsList.set("Totals.MedianI",Ae.aq.StiFunctionType.MedianI),this._functionsList.set("Totals.Min",Ae.aq.StiFunctionType.Min),this._functionsList.set("Totals.MinD",Ae.aq.StiFunctionType.MinD),this._functionsList.set("Totals.MinDate",Ae.aq.StiFunctionType.MinDate),this._functionsList.set("Totals.MinI",Ae.aq.StiFunctionType.MinI),this._functionsList.set("Totals.MinStr",Ae.aq.StiFunctionType.MinStr),this._functionsList.set("Totals.MinTime",Ae.aq.StiFunctionType.MinTime),this._functionsList.set("Totals.Mode",Ae.aq.StiFunctionType.Mode),this._functionsList.set("Totals.ModeD",Ae.aq.StiFunctionType.ModeD),this._functionsList.set("Totals.ModeI",Ae.aq.StiFunctionType.ModeI),this._functionsList.set("Totals.Sum",Ae.aq.StiFunctionType.Sum),this._functionsList.set("Totals.SumD",Ae.aq.StiFunctionType.SumD),this._functionsList.set("Totals.SumDistinct",Ae.aq.StiFunctionType.SumDistinct),this._functionsList.set("Totals.SumI",Ae.aq.StiFunctionType.SumI),this._functionsList.set("Totals.SumTime",Ae.aq.StiFunctionType.SumTime),this._functionsList.set("Totals.First",Ae.aq.StiFunctionType.First),this._functionsList.set("Totals.Last",Ae.aq.StiFunctionType.Last),this._functionsList.set("Totals.cCount",Ae.aq.StiFunctionType.pCount),this._functionsList.set("Totals.cCountDistinct",Ae.aq.StiFunctionType.pCountDistinct),this._functionsList.set("Totals.cAvg",Ae.aq.StiFunctionType.pAvg),this._functionsList.set("Totals.cAvgD",Ae.aq.StiFunctionType.pAvgD),this._functionsList.set("Totals.cAvgDate",Ae.aq.StiFunctionType.pAvgDate),this._functionsList.set("Totals.cAvgI",Ae.aq.StiFunctionType.pAvgI),this._functionsList.set("Totals.cAvgTime",Ae.aq.StiFunctionType.pAvgTime),this._functionsList.set("Totals.cMax",Ae.aq.StiFunctionType.pMax),this._functionsList.set("Totals.cMaxD",Ae.aq.StiFunctionType.pMaxD),this._functionsList.set("Totals.cMaxDate",Ae.aq.StiFunctionType.pMaxDate),this._functionsList.set("Totals.cMaxI",Ae.aq.StiFunctionType.pMaxI),this._functionsList.set("Totals.cMaxStr",Ae.aq.StiFunctionType.pMaxStr),this._functionsList.set("Totals.cMaxTime",Ae.aq.StiFunctionType.pMaxTime),this._functionsList.set("Totals.cMedian",Ae.aq.StiFunctionType.pMedian),this._functionsList.set("Totals.cMedianD",Ae.aq.StiFunctionType.pMedianD),this._functionsList.set("Totals.cMedianI",Ae.aq.StiFunctionType.pMedianI),this._functionsList.set("Totals.cMin",Ae.aq.StiFunctionType.pMin),this._functionsList.set("Totals.cMinD",Ae.aq.StiFunctionType.pMinD),this._functionsList.set("Totals.cMinDate",Ae.aq.StiFunctionType.pMinDate),this._functionsList.set("Totals.cMinI",Ae.aq.StiFunctionType.pMinI),this._functionsList.set("Totals.cMinStr",Ae.aq.StiFunctionType.pMinStr),this._functionsList.set("Totals.cMinTime",Ae.aq.StiFunctionType.pMinTime),this._functionsList.set("Totals.cMode",Ae.aq.StiFunctionType.pMode),this._functionsList.set("Totals.cModeD",Ae.aq.StiFunctionType.pModeD),this._functionsList.set("Totals.cModeI",Ae.aq.StiFunctionType.pModeI),this._functionsList.set("Totals.cSum",Ae.aq.StiFunctionType.pSum),this._functionsList.set("Totals.cSumD",Ae.aq.StiFunctionType.pSumD),this._functionsList.set("Totals.cSumDistinct",Ae.aq.StiFunctionType.pSumDistinct),this._functionsList.set("Totals.cSumI",Ae.aq.StiFunctionType.pSumI),this._functionsList.set("Totals.cSumTime",Ae.aq.StiFunctionType.pSumTime),this._functionsList.set("Totals.cFirst",Ae.aq.StiFunctionType.pFirst),this._functionsList.set("Totals.cLast",Ae.aq.StiFunctionType.pLast),this._functionsList.set("Totals.cCountRunning",Ae.aq.StiFunctionType.prCount),this._functionsList.set("Totals.cCountDistinctRunning",Ae.aq.StiFunctionType.prCountDistinct),this._functionsList.set("Totals.cAvgRunning",Ae.aq.StiFunctionType.prAvg),this._functionsList.set("Totals.cAvgDRunning",Ae.aq.StiFunctionType.prAvgD),this._functionsList.set("Totals.cAvgDateRunning",Ae.aq.StiFunctionType.prAvgDate),this._functionsList.set("Totals.cAvgIRunning",Ae.aq.StiFunctionType.prAvgI),this._functionsList.set("Totals.cAvgTimeRunning",Ae.aq.StiFunctionType.prAvgTime),this._functionsList.set("Totals.cMaxRunning",Ae.aq.StiFunctionType.prMax),this._functionsList.set("Totals.cMaxDRunning",Ae.aq.StiFunctionType.prMaxD),this._functionsList.set("Totals.cMaxDateRunning",Ae.aq.StiFunctionType.prMaxDate),this._functionsList.set("Totals.cMaxIRunning",Ae.aq.StiFunctionType.prMaxI),this._functionsList.set("Totals.cMaxStrRunning",Ae.aq.StiFunctionType.prMaxStr),this._functionsList.set("Totals.cMaxTimeRunning",Ae.aq.StiFunctionType.prMaxTime),this._functionsList.set("Totals.cMedianRunning",Ae.aq.StiFunctionType.prMedian),this._functionsList.set("Totals.cMedianDRunning",Ae.aq.StiFunctionType.prMedianD),this._functionsList.set("Totals.cMedianIRunning",Ae.aq.StiFunctionType.prMedianI),this._functionsList.set("Totals.cMinRunning",Ae.aq.StiFunctionType.prMin),this._functionsList.set("Totals.cMinDRunning",Ae.aq.StiFunctionType.prMinD),this._functionsList.set("Totals.cMinDateRunning",Ae.aq.StiFunctionType.prMinDate),this._functionsList.set("Totals.cMinIRunning",Ae.aq.StiFunctionType.prMinI),this._functionsList.set("Totals.cMinStrRunning",Ae.aq.StiFunctionType.prMinStr),this._functionsList.set("Totals.cMinTimeRunning",Ae.aq.StiFunctionType.prMinTime),this._functionsList.set("Totals.cModeRunning",Ae.aq.StiFunctionType.prMode),this._functionsList.set("Totals.cModeDRunning",Ae.aq.StiFunctionType.prModeD),this._functionsList.set("Totals.cModeIRunning",Ae.aq.StiFunctionType.prModeI),this._functionsList.set("Totals.cSumRunning",Ae.aq.StiFunctionType.prSum),this._functionsList.set("Totals.cSumDRunning",Ae.aq.StiFunctionType.prSumD),this._functionsList.set("Totals.cSumDistinctRunning",Ae.aq.StiFunctionType.prSumDistinct),this._functionsList.set("Totals.cSumIRunning",Ae.aq.StiFunctionType.prSumI),this._functionsList.set("Totals.cSumTimeRunning",Ae.aq.StiFunctionType.prSumTime),this._functionsList.set("Totals.cFirstRunning",Ae.aq.StiFunctionType.prFirst),this._functionsList.set("Totals.cLastRunning",Ae.aq.StiFunctionType.prLast),this._functionsList.set("Totals.CountAllLevels",Ae.aq.StiFunctionType.CountAllLevels),this._functionsList.set("Totals.CountAllLevelsOnlyChilds",Ae.aq.StiFunctionType.CountAllLevelsOnlyChilds),this._functionsList.set("Totals.CountOnlyChilds",Ae.aq.StiFunctionType.CountOnlyChilds),this._functionsList.set("Totals.Rank",Ae.aq.StiFunctionType.Rank),this._functionsList.set("Abs",Ae.aq.StiFunctionType.Abs),this._functionsList.set("Acos",Ae.aq.StiFunctionType.Acos),this._functionsList.set("Asin",Ae.aq.StiFunctionType.Asin),this._functionsList.set("Atan",Ae.aq.StiFunctionType.Atan),this._functionsList.set("Ceiling",Ae.aq.StiFunctionType.Ceiling),this._functionsList.set("Cos",Ae.aq.StiFunctionType.Cos),this._functionsList.set("Div",Ae.aq.StiFunctionType.Div),this._functionsList.set("Exp",Ae.aq.StiFunctionType.Exp),this._functionsList.set("Floor",Ae.aq.StiFunctionType.Floor),this._functionsList.set("Log",Ae.aq.StiFunctionType.Log),this._functionsList.set("Maximum",Ae.aq.StiFunctionType.Maximum),this._functionsList.set("Minimum",Ae.aq.StiFunctionType.Minimum),this._functionsList.set("Round",Ae.aq.StiFunctionType.Round),this._functionsList.set("Sign",Ae.aq.StiFunctionType.Sign),this._functionsList.set("Sin",Ae.aq.StiFunctionType.Sin),this._functionsList.set("Sqrt",Ae.aq.StiFunctionType.Sqrt),this._functionsList.set("Tan",Ae.aq.StiFunctionType.Tan),this._functionsList.set("Truncate",Ae.aq.StiFunctionType.Truncate),this._functionsList.set("DateDiff",Ae.aq.StiFunctionType.DateDiff),this._functionsList.set("DateSerial",Ae.aq.StiFunctionType.DateSerial),this._functionsList.set("Day",Ae.aq.StiFunctionType.Day),this._functionsList.set("DayOfWeek",Ae.aq.StiFunctionType.DayOfWeek),this._functionsList.set("DayOfYear",Ae.aq.StiFunctionType.DayOfYear),this._functionsList.set("DaysInMonth",Ae.aq.StiFunctionType.DaysInMonth),this._functionsList.set("DaysInYear",Ae.aq.StiFunctionType.DaysInYear),this._functionsList.set("Hour",Ae.aq.StiFunctionType.Hour),this._functionsList.set("Minute",Ae.aq.StiFunctionType.Minute),this._functionsList.set("Month",Ae.aq.StiFunctionType.Month),this._functionsList.set("Second",Ae.aq.StiFunctionType.Second),this._functionsList.set("TimeSerial",Ae.aq.StiFunctionType.TimeSerial),this._functionsList.set("Year",Ae.aq.StiFunctionType.Year),this._functionsList.set("MonthName",Ae.aq.StiFunctionType.MonthName),this._functionsList.set("WeekOfYear",Ae.aq.StiFunctionType.WeekOfYear),this._functionsList.set("WeekOfMonth",Ae.aq.StiFunctionType.WeekOfMonth),this._functionsList.set("DateToStr",Ae.aq.StiFunctionType.DateToStr),this._functionsList.set("DateToStrPl",Ae.aq.StiFunctionType.DateToStrPl),this._functionsList.set("DateToStrRu",Ae.aq.StiFunctionType.DateToStrRu),this._functionsList.set("DateToStrUa",Ae.aq.StiFunctionType.DateToStrUa),this._functionsList.set("DateToStrPt",Ae.aq.StiFunctionType.DateToStrPt),this._functionsList.set("DateToStrPtBr",Ae.aq.StiFunctionType.DateToStrPtBr),this._functionsList.set("Insert",Ae.aq.StiFunctionType.Insert),this._functionsList.set("Length",Ae.aq.StiFunctionType.Length),this._functionsList.set("Remove",Ae.aq.StiFunctionType.Remove),this._functionsList.set("Replace",Ae.aq.StiFunctionType.Replace),this._functionsList.set("Roman",Ae.aq.StiFunctionType.Roman),this._functionsList.set("Substring",Ae.aq.StiFunctionType.Substring),this._functionsList.set("ToCurrencyWords",Ae.aq.StiFunctionType.ToCurrencyWords),this._functionsList.set("ToCurrencyWordsAr",Ae.aq.StiFunctionType.ToCurrencyWordsAr),this._functionsList.set("ToCurrencyWordsEnGb",Ae.aq.StiFunctionType.ToCurrencyWordsEnGb),this._functionsList.set("ToCurrencyWordsEnIn",Ae.aq.StiFunctionType.ToCurrencyWordsEnIn),this._functionsList.set("ToCurrencyWordsEs",Ae.aq.StiFunctionType.ToCurrencyWordsEs),this._functionsList.set("ToCurrencyWordsFr",Ae.aq.StiFunctionType.ToCurrencyWordsFr),this._functionsList.set("ToCurrencyWordsNl",Ae.aq.StiFunctionType.ToCurrencyWordsNl),this._functionsList.set("ToCurrencyWordsPl",Ae.aq.StiFunctionType.ToCurrencyWordsPl),this._functionsList.set("ToCurrencyWordsPt",Ae.aq.StiFunctionType.ToCurrencyWordsPt),this._functionsList.set("ToCurrencyWordsPtBr",Ae.aq.StiFunctionType.ToCurrencyWordsPtBr),this._functionsList.set("ToCurrencyWordsRu",Ae.aq.StiFunctionType.ToCurrencyWordsRu),this._functionsList.set("ToCurrencyWordsThai",Ae.aq.StiFunctionType.ToCurrencyWordsThai),this._functionsList.set("ToCurrencyWordsTr",Ae.aq.StiFunctionType.ToCurrencyWordsTr),this._functionsList.set("ToCurrencyWordsUa",Ae.aq.StiFunctionType.ToCurrencyWordsUa),this._functionsList.set("ToCurrencyWordsZh",Ae.aq.StiFunctionType.ToCurrencyWordsZh),this._functionsList.set("ToLowerCase",Ae.aq.StiFunctionType.ToLowerCase),this._functionsList.set("ToProperCase",Ae.aq.StiFunctionType.ToProperCase),this._functionsList.set("ToUpperCase",Ae.aq.StiFunctionType.ToUpperCase),this._functionsList.set("ToWords",Ae.aq.StiFunctionType.ToWords),this._functionsList.set("ToWordsAr",Ae.aq.StiFunctionType.ToWordsAr),this._functionsList.set("ToWordsEs",Ae.aq.StiFunctionType.ToWordsEs),this._functionsList.set("ToWordsEnIn",Ae.aq.StiFunctionType.ToWordsEnIn),this._functionsList.set("ToWordsFa",Ae.aq.StiFunctionType.ToWordsFa),this._functionsList.set("ToWordsPl",Ae.aq.StiFunctionType.ToWordsPl),this._functionsList.set("ToWordsPt",Ae.aq.StiFunctionType.ToWordsPt),this._functionsList.set("ToWordsRu",Ae.aq.StiFunctionType.ToWordsRu),this._functionsList.set("ToWordsTr",Ae.aq.StiFunctionType.ToWordsTr),this._functionsList.set("ToWordsUa",Ae.aq.StiFunctionType.ToWordsUa),this._functionsList.set("Trim",Ae.aq.StiFunctionType.Trim),this._functionsList.set("TryParseDecimal",Ae.aq.StiFunctionType.TryParseDecimal),this._functionsList.set("TryParseDouble",Ae.aq.StiFunctionType.TryParseDouble),this._functionsList.set("TryParseLong",Ae.aq.StiFunctionType.TryParseLong),this._functionsList.set("Arabic",Ae.aq.StiFunctionType.Arabic),this._functionsList.set("Persian",Ae.aq.StiFunctionType.Persian),this._functionsList.set("ToOrdinal",Ae.aq.StiFunctionType.ToOrdinal),this._functionsList.set("Left",Ae.aq.StiFunctionType.Left),this._functionsList.set("Mid",Ae.aq.StiFunctionType.Mid),this._functionsList.set("Right",Ae.aq.StiFunctionType.Right),this._functionsList.set("StrToDateTime",Ae.aq.StiFunctionType.StrToDateTime),this._functionsList.set("StrToNullableDateTime",Ae.aq.StiFunctionType.StrToNullableDateTime),this._functionsList.set("IsNull",Ae.aq.StiFunctionType.IsNull),this._functionsList.set("Next",Ae.aq.StiFunctionType.Next),this._functionsList.set("NextIsNull",Ae.aq.StiFunctionType.NextIsNull),this._functionsList.set("Previous",Ae.aq.StiFunctionType.Previous),this._functionsList.set("PreviousIsNull",Ae.aq.StiFunctionType.PreviousIsNull),this._functionsList.set("IIF",Ae.aq.StiFunctionType.IIF),this._functionsList.set("Choose",Ae.aq.StiFunctionType.Choose),this._functionsList.set("Switch",Ae.aq.StiFunctionType.Switch),this._functionsList.set("ToString",Ae.aq.StiFunctionType.ToString),this._functionsList.set("Format",Ae.aq.StiFunctionType.Format),this._functionsList.set("System.Convert.ToBoolean",Ae.aq.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("System.Convert.ToByte",Ae.aq.StiFunctionType.SystemConvertToByte),this._functionsList.set("System.Convert.ToChar",Ae.aq.StiFunctionType.SystemConvertToChar),this._functionsList.set("System.Convert.ToDateTime",Ae.aq.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("System.Convert.ToDecimal",Ae.aq.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("System.Convert.ToDouble",Ae.aq.StiFunctionType.SystemConvertToDouble),this._functionsList.set("System.Convert.ToInt16",Ae.aq.StiFunctionType.SystemConvertToInt16),this._functionsList.set("System.Convert.ToInt32",Ae.aq.StiFunctionType.SystemConvertToInt32),this._functionsList.set("System.Convert.ToInt64",Ae.aq.StiFunctionType.SystemConvertToInt64),this._functionsList.set("System.Convert.ToSByte",Ae.aq.StiFunctionType.SystemConvertToSByte),this._functionsList.set("System.Convert.ToSingle",Ae.aq.StiFunctionType.SystemConvertToSingle),this._functionsList.set("System.Convert.ToString",Ae.aq.StiFunctionType.SystemConvertToString),this._functionsList.set("System.Convert.ToUInt16",Ae.aq.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("System.Convert.ToUInt32",Ae.aq.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("System.Convert.ToUInt64",Ae.aq.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Convert.ToBoolean",Ae.aq.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("Convert.ToByte",Ae.aq.StiFunctionType.SystemConvertToByte),this._functionsList.set("Convert.ToChar",Ae.aq.StiFunctionType.SystemConvertToChar),this._functionsList.set("Convert.ToDateTime",Ae.aq.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("Convert.ToDecimal",Ae.aq.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("Convert.ToDouble",Ae.aq.StiFunctionType.SystemConvertToDouble),this._functionsList.set("Convert.ToInt16",Ae.aq.StiFunctionType.SystemConvertToInt16),this._functionsList.set("Convert.ToInt32",Ae.aq.StiFunctionType.SystemConvertToInt32),this._functionsList.set("Convert.ToInt64",Ae.aq.StiFunctionType.SystemConvertToInt64),this._functionsList.set("Convert.ToSByte",Ae.aq.StiFunctionType.SystemConvertToSByte),this._functionsList.set("Convert.ToSingle",Ae.aq.StiFunctionType.SystemConvertToSingle),this._functionsList.set("Convert.ToString",Ae.aq.StiFunctionType.SystemConvertToString),this._functionsList.set("Convert.ToUInt16",Ae.aq.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("Convert.ToUInt32",Ae.aq.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("Convert.ToUInt64",Ae.aq.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Math.Round",Ae.aq.StiFunctionType.MathRound),this._functionsList.set("Math.Pow",Ae.aq.StiFunctionType.MathPow),this._functionsList.set("AddAnchor",Ae.aq.StiFunctionType.AddAnchor),this._functionsList.set("GetAnchorPageNumber",Ae.aq.StiFunctionType.GetAnchorPageNumber),this._functionsList.set("GetAnchorPageNumberThrough",Ae.aq.StiFunctionType.GetAnchorPageNumberThrough),this._functionsList.set("ConvertRtf",Ae.aq.StiFunctionType.ConvertRtf),this._functionsList.set("GetLabel",Ae.aq.StiFunctionType.GetLabel),this._functionsList.set("GetParam",Ae.aq.StiFunctionType.GetParam),this._functionsList.set("int.Parse",Ae.aq.StiFunctionType.ParseInt),this._functionsList.set("double.Parse",Ae.aq.StiFunctionType.ParseDouble),this._functionsList.set("Double.Parse",Ae.aq.StiFunctionType.ParseDouble),this._functionsList.set("decimal.Parse",Ae.aq.StiFunctionType.ParseDecimal),this._functionsList.set("Decimal.Parse",Ae.aq.StiFunctionType.ParseDecimal),this._functionsList.set("DateTime.Parse",Ae.aq.StiFunctionType.ParseDateTime),this._functionsList.set("TimeSpan.Parse",Ae.aq.StiFunctionType.ParseTimeSpan),this._functionsList.set("string.IsNullOrEmpty",Ae.aq.StiFunctionType.StringIsNullOrEmpty),this._functionsList.set("String.IsNullOrEmpty",Ae.aq.StiFunctionType.StringIsNullOrEmpty),this._functionsList.set("string.IsNullOrWhiteSpace",Ae.aq.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("String.IsNullOrWhiteSpace",Ae.aq.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("string.Format",Ae.aq.StiFunctionType.Format),this._functionsList.set("String.Format",Ae.aq.StiFunctionType.Format),this._functionsList.set("Func.EngineHelper.JoinColumnContent",Ae.aq.StiFunctionType.EngineHelperJoinColumnContent),this._functionsList.set("Func.EngineHelper.ToQueryString",Ae.aq.StiFunctionType.EngineHelperToQueryString)),this._functionsList}static get methodsList(){return null==this._methodsList&&(this._methodsList=new Dt,this._methodsList.set("Substring",Ae.aq.StiMethodType.Substring),this._methodsList.set("ToString",Ae.aq.StiMethodType.ToString),this._methodsList.set("ToLower",Ae.aq.StiMethodType.ToLower),this._methodsList.set("ToUpper",Ae.aq.StiMethodType.ToUpper),this._methodsList.set("IndexOf",Ae.aq.StiMethodType.IndexOf),this._methodsList.set("StartsWith",Ae.aq.StiMethodType.StartsWith),this._methodsList.set("EndsWith",Ae.aq.StiMethodType.EndsWith),this._methodsList.set("Replace",Ae.aq.StiMethodType.Replace),this._methodsList.set("PadLeft",Ae.aq.StiMethodType.PadLeft),this._methodsList.set("PadRight",Ae.aq.StiMethodType.PadRight),this._methodsList.set("TrimStart",Ae.aq.StiMethodType.TrimStart),this._methodsList.set("TrimEnd",Ae.aq.StiMethodType.TrimEnd),this._methodsList.set("Parse",Ae.aq.StiMethodType.Parse),this._methodsList.set("Contains",Ae.aq.StiMethodType.Contains),this._methodsList.set("GetData",Ae.aq.StiMethodType.GetData),this._methodsList.set("ToQueryString",Ae.aq.StiMethodType.ToQueryString),this._methodsList.set("AddYears",Ae.aq.StiMethodType.AddYears),this._methodsList.set("AddMonths",Ae.aq.StiMethodType.AddMonths),this._methodsList.set("AddDays",Ae.aq.StiMethodType.AddDays),this._methodsList.set("AddHours",Ae.aq.StiMethodType.AddHours),this._methodsList.set("AddMinutes",Ae.aq.StiMethodType.AddMinutes),this._methodsList.set("AddSeconds",Ae.aq.StiMethodType.AddSeconds),this._methodsList.set("AddMilliseconds",Ae.aq.StiMethodType.AddMilliseconds),this._methodsList.set("ToShortDateString",Ae.aq.StiMethodType.ToShortDateString),this._methodsList.set("ToShortTimeString",Ae.aq.StiMethodType.ToShortTimeString),this._methodsList.set("ToLongDateString",Ae.aq.StiMethodType.ToLongDateString),this._methodsList.set("ToLongTimeString",Ae.aq.StiMethodType.ToLongTimeString),this._methodsList.set("GetCurrentConditionValue",Ae.aq.StiMethodType.GetCurrentConditionValue),this._methodsList.set("Add",Ae.aq.StiMethodType.Add),this._methodsList.set("Subtract",Ae.aq.StiMethodType.Subtract)),this._methodsList}static get parametersList(){return null==this._parametersList&&(this._parametersList=new Dt,this._parametersList.set(Ae.aq.StiFunctionType.CountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Avg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.AvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.AvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.AvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.AvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Max,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Median,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Min,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.MinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Mode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.ModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.ModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Sum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.SumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.SumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.SumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.SumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.First,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.Last,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rCountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rAvg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rAvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rAvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rAvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rAvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMax,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMedian,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMin,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rMode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rSum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rSumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.rSumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rSumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rFirst,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.rLast,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.iCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.iCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.iSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.iLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.riCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.riSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.riLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.cCountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cAvg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cAvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cAvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cAvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cAvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMax,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMedian,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMin,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cMode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cSum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cSumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.cSumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cSumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cFirst,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.cLast,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crCountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crAvg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crAvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crAvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crAvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crAvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMax,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMedian,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMin,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crMode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crSum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crSumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.crSumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crSumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crFirst,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.crLast,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.ciCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.ciCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.ciSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.ciLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.criCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.criSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.criLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.pCountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pAvg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pAvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pAvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pAvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pAvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMax,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMedian,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMin,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pMode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pSum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pSumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.pSumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pSumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pFirst,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.pLast,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prCountDistinct,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prAvg,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prAvgD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prAvgDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prAvgI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prAvgTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMax,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMaxD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMaxDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMaxI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMaxStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMaxTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMedian,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMedianD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMedianI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMin,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMinD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMinDate,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMinI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMinStr,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMinTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prMode,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prModeD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prModeI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prSum,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prSumD,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.prSumI,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prSumTime,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prFirst,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.prLast,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.piCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.piCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.piSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.piLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priCount,Ae.aq.StiParameterNumber.Param2),this._parametersList.set(Ae.aq.StiFunctionType.priCountDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priAvg,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priAvgD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priAvgDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priAvgI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priAvgTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMax,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMaxD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMaxDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMaxI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMaxStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMaxTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMedian,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMedianD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMedianI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMin,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMinD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMinDate,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMinI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMinStr,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMinTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priMode,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priModeD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priModeI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priSum,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priSumD,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priSumDistinct,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3|Ae.aq.StiParameterNumber.Param4),this._parametersList.set(Ae.aq.StiFunctionType.priSumI,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priSumTime,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priFirst,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.priLast,Ae.aq.StiParameterNumber.Param2|Ae.aq.StiParameterNumber.Param3),this._parametersList.set(Ae.aq.StiFunctionType.Rank,Ae.aq.StiParameterNumber.Param2)),this._parametersList}get componentsList(){if(null==this._componentsList){var t,e;this._componentsList=new Dt;for(e of this.report.getComponents().list)this._componentsList.set(e.name,e);this._componentsList.set("this",this.report)}return this._componentsList}static get methodsHash(){if(null==this._methodsHash){var t=[new r(Ae.aq.StiFunctionType.DateDiff,1,[z.stimulsoft().getType(),z.stimulsoft().getType()],lt.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DateSerial,1,[Number.stimulsoft().getType()],z.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DateSerial,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],z.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.TimeSerial,1,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],lt.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Year,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Month,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Day,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Hour,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Minute,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Second,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DayOfWeek,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DayOfWeek,3,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DayOfWeek,5,[z.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DayOfWeek,7,[z.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DayOfYear,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DaysInMonth,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DaysInMonth,3,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DaysInYear,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DaysInYear,3,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.MonthName,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.MonthName,3,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.MonthName,5,[z.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.MonthName,7,[z.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.WeekOfYear,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.WeekOfYear,3,[z.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.WeekOfYear,5,[z.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.WeekOfMonth,1,[z.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.WeekOfMonth,3,[z.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.WeekOfMonth,5,[z.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Abs,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Abs,2,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Abs,3,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Acos,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Asin,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Atan,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Cos,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Sin,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Tan,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Ceiling,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Ceiling,2,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,1,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,3,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,4,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,5,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Div,6,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Exp,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Floor,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Floor,2,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Log,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Maximum,1,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Maximum,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Maximum,3,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Minimum,1,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Minimum,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Minimum,3,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Round,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Round,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Round,3,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Sign,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Sign,2,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Sign,3,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Truncate,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Truncate,2,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.IsNull,1,[Object.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Next,1,[Object.stimulsoft().getType(),String.stimulsoft().getType()],Object.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.NextIsNull,1,[Object.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Previous,1,[Object.stimulsoft().getType(),String.stimulsoft().getType()],Object.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.PreviousIsNull,1,[Object.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.DateToStr,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStr,3,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrPl,1,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrRu,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrRu,2,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrUa,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrUa,2,[z.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrPt,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.DateToStrPtBr,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Insert,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Left,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Right,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Mid,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Length,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Remove,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Remove,2,[Object.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Replace,1,[Object.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Substring,1,[Object.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Trim,1,[Object.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Roman,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToOrdinal,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToLowerCase,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToUpperCase,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToProperCase,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWords,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWords,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWords,7,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWords,10,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),Boolean.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsAr,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsEnGb,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsEnIn,1,[String.stimulsoft().getType(),String.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsEs,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsFr,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsNl,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsPl,1,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsPt,1,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsPtBr,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsRu,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsRu,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsRu,7,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsRu,10,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsThai,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsTr,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsTr,2,[Number.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsUa,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsUa,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsUa,7,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToCurrencyWordsZh,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWords,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWords,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsAr,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsEs,1,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsEs,2,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsEnIn,1,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsFa,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsPl,1,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsPt,1,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsRu,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsRu,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsTr,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsUa,1,[Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.ToWordsUa,4,[Number.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.StrToDateTime,1,[String.stimulsoft().getType()],z.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.StrToNullableDateTime,1,[String.stimulsoft().getType()],z.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.CountAllLevels,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.CountAllLevelsOnlyChilds,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.CountOnlyChilds,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.Rank,1,[Object.stimulsoft().getType(),Object.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.Rank,2,[Object.stimulsoft().getType(),Object.stimulsoft().getType(),Boolean.stimulsoft().getType(),Object.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.MathRound,1,[Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.MathRound,2,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.MathRound,4,[Number.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.MathPow,1,[Number.stimulsoft().getType(),Number.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.GetAnchorPageNumber,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.GetAnchorPageNumberThrough,1,[Object.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ParseTimeSpan,1,[String.stimulsoft().getType()],lt.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ParseDateTime,1,[String.stimulsoft().getType()],z.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ParseDecimal,1,[String.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ParseDouble,1,[String.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ParseInt,1,[String.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.ToString,1,[Object.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.StringIsNullOrEmpty,1,[String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.StringIsNullOrWhiteSpace,1,[String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.EngineHelperJoinColumnContent,1,[_u.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.EngineHelperJoinColumnContent,2,[Ae.am.StiBusinessObject.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.EngineHelperJoinColumnContent,3,[Ae.am.StiDataSource.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.EngineHelperJoinColumnContent,4,[Ae.am.StiBusinessObject.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType(),Boolean.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.EngineHelperToQueryString,1,[Object.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToShortDateString,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToShortTimeString,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToLongDateString,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToLongTimeString,1,[z.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_Substring,1,[String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_Substring,2,[String.stimulsoft().getType(),Number.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToLower,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToUpper,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_IndexOf,1,[String.stimulsoft().getType(),String.stimulsoft().getType()],Number.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.m_StartsWith,1,[String.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.m_EndsWith,1,[String.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.m_Replace,1,[String.stimulsoft().getType(),String.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_PadLeft,1,[String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_PadLeft,2,[String.stimulsoft().getType(),Number.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_PadRight,1,[String.stimulsoft().getType(),Number.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_PadRight,2,[String.stimulsoft().getType(),Number.stimulsoft().getType(),String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_TrimStart,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_TrimEnd,1,[String.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_Contains,1,[String.stimulsoft().getType(),String.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.m_Contains,21,[Object.stimulsoft().getType(),Object.stimulsoft().getType()],Boolean.stimulsoft().getType()),new r(Ae.aq.StiFunctionType.m_ToString,1,[Object.stimulsoft().getType()]),new r(Ae.aq.StiFunctionType.m_ToString,2,[Object.stimulsoft().getType(),String.stimulsoft().getType()])],e;this._methodsHash=new Dt;for(e of t){let t=this._methodsHash.get(e.name);null==t&&(t=[],this._methodsHash.set(e.name,t)),t.push(e)}}return this._methodsHash}static get constantsList(){return null==this._constantsList&&(this._constantsList=new Dt,this._constantsList.set("true",!0),this._constantsList.set("True",!0),this._constantsList.set("false",!1),this._constantsList.set("False",!1),this._constantsList.set("null",null),this._constantsList.set("DBNull",this.namespaceObj),this._constantsList.set("DBNull.Value",null),this._constantsList.set("MidpointRounding",this.namespaceObj),this._constantsList.set("MidpointRounding.ToEven",Ae.b.MidpointRounding.ToEven),this._constantsList.set("MidpointRounding.AwayFromZero",Ae.b.MidpointRounding.AwayFromZero),this._constantsList.set("StiRankOrder",this.namespaceObj),this._constantsList.set("StiRankOrder.Asc",Ae.c.StiRankOrder.Asc),this._constantsList.set("StiRankOrder.Desc",Ae.c.StiRankOrder.Desc),this._constantsList.set("DayOfWeek",this.namespaceObj),this._constantsList.set("DayOfWeek.Sunday",Ae.b.DayOfWeek.Sunday),this._constantsList.set("DayOfWeek.Monday",Ae.b.DayOfWeek.Monday),this._constantsList.set("DayOfWeek.Tuesday",Ae.b.DayOfWeek.Tuesday),this._constantsList.set("DayOfWeek.Wednesday",Ae.b.DayOfWeek.Wednesday),this._constantsList.set("DayOfWeek.Thursday",Ae.b.DayOfWeek.Thursday),this._constantsList.set("DayOfWeek.Friday",Ae.b.DayOfWeek.Friday),this._constantsList.set("DayOfWeek.Saturday",Ae.b.DayOfWeek.Saturday),this._constantsList.set("CalendarWeekRule",this.namespaceObj),this._constantsList.set("CalendarWeekRule.FirstDay",Ae.bh.CalendarWeekRule.FirstDay),this._constantsList.set("CalendarWeekRule.FirstFullWeek",Ae.bh.CalendarWeekRule.FirstFullWeek),this._constantsList.set("CalendarWeekRule.FirstFourDayWeek",Ae.bh.CalendarWeekRule.FirstFourDayWeek),this._constantsList.set("System.Globalization.CalendarWeekRule",this.namespaceObj),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstDay",Ae.bh.CalendarWeekRule.FirstDay),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFullWeek",Ae.bh.CalendarWeekRule.FirstFullWeek),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFourDayWeek",Ae.bh.CalendarWeekRule.FirstFourDayWeek)),this._constantsList}static get namespacesList(){return null==this._namespacesList&&(this._namespacesList=new Dt,this._namespacesList.set("Totals",this.namespaceObj),this._namespacesList.set("System",this.namespaceObj),this._namespacesList.set("System.Convert",this.namespaceObj),this._namespacesList.set("System.Globalization",this.namespaceObj),this._namespacesList.set("Convert",this.namespaceObj),this._namespacesList.set("Math",this.namespaceObj),this._namespacesList.set("Func",this.namespaceObj),this._namespacesList.set("Func.EngineHelper",this.namespaceObj)),this._namespacesList}get userFunctionsList(){if(null==this._userFunctionsList){this._userFunctionsList=new Dt;let e=new Dt;var t,r;for(r of Jc.getFunctions(!1)){let t=e.get(r.functionName);null==t&&(t=[],e.set(r.functionName,t),this._userFunctionsList.set(r.functionName,Ae.aq.StiFunctionType.UserFunction+this._userFunctionsList.count)),t.push(r)}}return this._userFunctionsList}};rt._typesList=null,rt._systemVariablesList=null,rt._propertiesList=null,rt._functionsList=null,rt._methodsList=null,rt._parametersList=null,rt._methodsHash=null,rt._constantsList=null,rt.namespaceObj={},rt._namespacesList=null,Ae.bb.StiParser_Properties=rt}{let l;(ot=l=Ae.bb.ParserErrorCode||(Ae.bb.ParserErrorCode={}))[ot["SyntaxError"]=0]="SyntaxError",ot[ot["IntegralConstantIsTooLarge"]=1]="IntegralConstantIsTooLarge",ot[ot["ExpressionIsEmpty"]=2]="ExpressionIsEmpty",ot[ot["DivisionByZero"]=3]="DivisionByZero",ot[ot["UnexpectedEndOfExpression"]=4]="UnexpectedEndOfExpression",ot[ot["NameDoesNotExistInCurrentContext"]=5]="NameDoesNotExistInCurrentContext",ot[ot["UnprocessedLexemesRemain"]=6]="UnprocessedLexemesRemain",ot[ot["LeftParenthesisExpected"]=7]="LeftParenthesisExpected",ot[ot["RightParenthesisExpected"]=8]="RightParenthesisExpected",ot[ot["FieldMethodOrPropertyNotFound"]=9]="FieldMethodOrPropertyNotFound",ot[ot["OperatorCannotBeAppliedToOperands"]=10]="OperatorCannotBeAppliedToOperands",ot[ot["FunctionNotFound"]=11]="FunctionNotFound",ot[ot["NoOverloadForMethodTakesNArguments"]=12]="NoOverloadForMethodTakesNArguments",ot[ot["FunctionHasInvalidArgument"]=13]="FunctionHasInvalidArgument",ot[ot["FunctionNotYetImplemented"]=14]="FunctionNotYetImplemented",ot[ot["MethodHasInvalidArgument"]=15]="MethodHasInvalidArgument",ot[ot["ItemDoesNotContainDefinition"]=16]="ItemDoesNotContainDefinition",ot[ot["NoMatchingOverloadedMethod"]=17]="NoMatchingOverloadedMethod",ot[ot["TheTypeOrNamespaceNotExistInTheNamespace"]=18]="TheTypeOrNamespaceNotExistInTheNamespace";let p=class{constructor(t,e,r){this.position=-1,this.length=-1,this.typeCode=t,this.position=e,this.length=r}toString(){return De.format("{0}",this.typeCode)}},u=class{constructor(t){this.message=null,this.baseMessage=null,this.position=-1,this.length=-1,this.message=t}toString(){return De.isNullOrWhiteSpace(this.baseMessage)?this.message:this.baseMessage}};Ae.bb.StiParserException=u;let h=class extends Ae.bb.StiParser_Properties{constructor(){super(...arguments),this.report=null}throwError(t,e=null,r="",i="",n="",a=""){let s="Unknown error";var t=t;t<h.errorsList.length&&(s=De.format(h.errorsList[t],r,i,n,a));var a="Parser error: "+s;let o=new u(a);throw o.baseMessage=s,null!=e&&(o.position=this.expressionPosition+e.position,o.length=e.length),o}checkTypes(t){if(null==t||0==t.length)return;let n=new Array,e=null,r=null,a,s;for(var o of t){let i=Object.stimulsoft().getType();switch(o.type){case Ae.aq.StiAsmCommandType.PushValue:n.push(new p((null==o.parameter1?Object:o.parameter1).stimulsoft().getType(),o.position,o.length));break;case Ae.aq.StiAsmCommandType.PushVariable:var l=o.parameter1,u=this.report.dictionary.variables.getByName(l);if(null!=u)i=u.type;else if(null!=this.report.variables&&this.report.variables.containsKey(l)){let t=this.report.variables.get(l);null!=t&&(i=t.stimulsoft().getType())}n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.PushSystemVariable:{let t=this.get_systemVariable(o.parameter1);null!=t&&(i=t.stimulsoft().getType()),n.push(new p(i,o.position,o.length));break}case Ae.aq.StiAsmCommandType.PushComponent:n.push(new p((null==o.parameter1?Object:o.parameter1).stimulsoft().getType(),o.position,o.length));break;case Ae.aq.StiAsmCommandType.CopyToVariable:break;case Ae.aq.StiAsmCommandType.PushFunction:e=new Array;for(let t=0;t<o.parameter2.stimulsoft().toNumber();t++)e.push(n.pop());e.reverse(),r=new Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t].typeCode;var l=this.getParserMethodInfo(o.parameter1,r);i=null!=l?l.returnType:Object.stimulsoft().getType(),n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.PushMethod:e=new Array;for(let t=0;t<o.parameter2.stimulsoft().toNumber();t++)e.push(n.pop());e.reverse(),r=new Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t].typeCode;i=this.getMethodResultType(o.parameter1,r),n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.PushProperty:i=this.getPropertyType(o.parameter1,n.pop().typeCode),n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.PushDataSourceField:{let e=o.parameter1.split("."),r=this.report.dictionary.dataSources.getByName(e[0]);if(r.is(Ae.am.StiVirtualSource)&&2<e.length&&!r.columns.contains(e[1])){let t=e[1]+"."+e[2];r.columns.contains(t)?(e[1]=t,e.stimulsoft().removeAt(2)):3<e.length&&(t+="."+e[3],r.columns.contains(t)&&(e[1]=t,e.stimulsoft().removeAt(2),e.stimulsoft().removeAt(2)))}if(1<e.length)if(2==e.length){var h=r.columns.getByName(e[1]);null!=h&&(i=h.type)}else{var c=e[1];r=r.getParentDataSource(c);let t=2;while(t<e.length-1)c=e[t],r=r.getParentDataSource(c),t++;var h=r.columns.getByName(e[t]);null!=h&&(i=h.type)}else i=r.stimulsoft().getType();n.push(new p(i,o.position,o.length));break}case Ae.aq.StiAsmCommandType.PushBusinessObjectField:{var d=o.parameter1.split(".");let e=this.report.dictionary.businessObjects.getByName(d[0]);if(1<d.length){var m=null;let t=1;while(t<d.length-1){if(m=d[t],e.columns.contains(m))break;e=e.businessObjects.getByName(m),t++}i=e.columns.contains(d[t])?e.columns.getByName(d[t]).type:e.businessObjects.getByName(d[t]).stimulsoft().getType()}else i=e.stimulsoft().getType();n.push(new p(i,o.position,o.length));break}case Ae.aq.StiAsmCommandType.PushArrayElement:e=new Array;for(let t=0;t<o.parameter1.stimulsoft().toNumber();t++)e.push(n.pop());e.reverse(),r=new Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t].typeCode;i=this.getArrayElementType(r),n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.Add:case Ae.aq.StiAsmCommandType.Sub:case Ae.aq.StiAsmCommandType.Mult:case Ae.aq.StiAsmCommandType.Div:case Ae.aq.StiAsmCommandType.Mod:case Ae.aq.StiAsmCommandType.Shl:case Ae.aq.StiAsmCommandType.Shr:case Ae.aq.StiAsmCommandType.And:case Ae.aq.StiAsmCommandType.Or:case Ae.aq.StiAsmCommandType.Xor:case Ae.aq.StiAsmCommandType.And2:case Ae.aq.StiAsmCommandType.Or2:s=n.pop(),a=n.pop(),r=[a.typeCode,s.typeCode],n.push(new p(a.typeCode,o.position,o.length));break;case Ae.aq.StiAsmCommandType.Neg:case Ae.aq.StiAsmCommandType.Not:a=n.pop(),r=[a.typeCode];break;case Ae.aq.StiAsmCommandType.CompareLeft:case Ae.aq.StiAsmCommandType.CompareLeftEqual:case Ae.aq.StiAsmCommandType.CompareRight:case Ae.aq.StiAsmCommandType.CompareRightEqual:case Ae.aq.StiAsmCommandType.CompareEqual:case Ae.aq.StiAsmCommandType.CompareNotEqual:s=n.pop(),a=n.pop(),i=Boolean.stimulsoft().getType(),n.push(new p(i,o.position,o.length));break;case Ae.aq.StiAsmCommandType.Cast:a=n.pop(),n.push(new p(i,o.position,o.length));break}}}getMethodResultType(t,e){var e=this.getParserMethodInfo(t,e);if(null!=e)return e.returnType;return null}getPropertyType(t,e){return null}getArrayElementType(t){return null}get_systemVariable(t){return null}static isImplicitlyCastableTo(t,e){if(e==String&&null==t)return!0;if(null==t||null==e)return!1;if(e==Object.stimulsoft().getType())return!0;if(t==Number)return Wr.isNumericType(e);if(e==Number)return Wr.isNumericType(t);if(t.stimulsoft().is(e))return!0;return e==t}getTypeName(t){return null==t?"null":t.stimulsoft().getType().stimulsoft().getTypeName()}checkParserMethodInfo(t,e){var r=e.length;let i=[];for(let t=0;t<r;t++)null==e[t]?i.push(Object):i.push(e[t].stimulsoft().getType());var t=this.getParserMethodInfo(t,i);if(null!=t)return t.number;return 0}getParserMethodInfo(t,r){var e=Ae.bb.StiParser_AsmFunctions.methodsHash.get(t),i,n;if(null==e)return null;let a=r.length,s=!1;for(n of e){if(n.arguments.length!=a)continue;let e=s=!0;for(let t=0;t<a;t++){if(h.isImplicitlyCastableTo(r[t],n.arguments[t]))continue;e=!1;break}if(e)return n}s||this.throwError(l.NoOverloadForMethodTakesNArguments,null,Zt.getName(Ae.aq.StiFunctionType,t.stimulsoft().toNumber()),a.toString());let o=new Mt;for(let e=0;e<a;e++){let t=null==r[e]?"null":r[e].stimulsoft().getType().stimulsoft().getTypeName();"Decimal"==t&&(t="Number"),o.append(t),e<a-1&&o.append(",")}return this.throwError(l.NoMatchingOverloadedMethod,null,Zt.getName(Ae.aq.StiFunctionType,t.stimulsoft().toNumber()),o.toString()),null}};h.errorsList=["Syntax error","Integral constant is too large","The expression is empty","Division by zero","Unexpected end of expression","The name '{0}' does not exist in the current context","Syntax error - unprocessed lexemes remain","( expected",") expected","Field, method, or property is not found: '{0}'","Operator '{0}' cannot be applied to operands of type '{1}' and type '{2}'","The function is not found: '{0}'","No overload for method '{0}' takes '{1}' arguments","The '{0}' function has invalid argument '{1}': cannot convert from '{2}' to '{3}'","The '{0}' function is not yet implemented","The '{0}' method has invalid argument '{1}': cannot convert from '{2}' to '{3}'","'{0}' does not contain a definition for '{1}'","There is no matching overloaded method for '{0}({1})'","The type or namespace name '{0}' does not exist in the namespace '{1}'"],Ae.bb.StiParser_Check=h}{let d=class extends Ae.bb.StiParser_Check{constructor(){super(...arguments),this.position=0,this.useAliases=!1,this.inputExpression="",this.hashAliases=null,this.tokenPos=0,this.tokensList=null,this.component=null,this.runtimeConstants=null,this.runtimeConstantsHash=null}getNextLexem(){while(this.position<this.inputExpression.length&&d.isWhiteSpace(this.inputExpression[this.position]))this.position++;if(this.position>=this.inputExpression.length)return null;let r=null;var i=this.inputExpression[this.position];if(Be.isLetter(i)||"_"==i){let t=this.position+1;while(t<this.inputExpression.length&&(Be.isLetterOrDigit(this.inputExpression[t])||"_"==this.inputExpression[t]))t++;if(r=new Ae.bb.StiToken,r.value=this.inputExpression.substr(this.position,t-this.position),r.type=Ae.aq.StiTokenType.Identifier,r.position=this.position,r.length=t-this.position,this.position=t,this.useAliases){let t=r.value;0<r.position&&"."==this.inputExpression[r.position-1]&&(t="."+t),this.hashAliases.containsKey(t)&&(r.value=this.hashAliases.get(t))}return r}if(Be.isDigit(i))return r=new Ae.bb.StiToken,r.type=Ae.aq.StiTokenType.Number,r.position=this.position,r.valueObject=this.scanNumber(),r.length=this.position-r.position,r;if('"'==i||"@"==i&&this.position<this.inputExpression.length-1&&'"'==this.inputExpression[this.position+1]){let t=!0;"@"==i&&(t=!1,this.position++),this.position++;let e=this.position;while(e<this.inputExpression.length){if('"'==this.inputExpression[e])break;"\\"==this.inputExpression[e]&&e++,e++}r=new Ae.bb.StiToken,r.type=Ae.aq.StiTokenType.String;var n=this.inputExpression.substr(this.position,e-this.position);return t?r.valueObject=d.replaceBackslash(n):r.valueObject=n,r.position=this.position-1,this.position=e+1,r.length=this.position-r.position,r}if("'"==i&&this.position<this.inputExpression.length-2&&"'"==this.inputExpression[this.position+2])return this.position++,r=new Ae.bb.StiToken,r.type=Ae.aq.StiTokenType.Char,r.valueObject=this.inputExpression[this.position],r.position=this.position,this.position+=2,r.length=1,r;{if("["==i){let e=this.inputExpression.indexOf("]",this.position);if(-1!=e){e++;let t=this.inputExpression.substr(this.position,e-this.position);if(0<this.position&&"."==this.inputExpression[this.position-1]&&(t="."+t),this.hashAliases.containsKey(t))return r=new Ae.bb.StiToken,r.value=this.hashAliases.get(t),r.type=Ae.aq.StiTokenType.Identifier,r.position=this.position,r.length=e-this.position,this.position=e,r}}var e=this.position;this.position++;let t=" ";switch(this.position<this.inputExpression.length&&(t=this.inputExpression[this.position]),i){case".":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Dot,e,1);case"(":return new Ae.bb.StiToken(Ae.aq.StiTokenType.LParenthesis,e,1);case")":return new Ae.bb.StiToken(Ae.aq.StiTokenType.RParenthesis,e,1);case"[":return new Ae.bb.StiToken(Ae.aq.StiTokenType.LBracket,e,1);case"]":return new Ae.bb.StiToken(Ae.aq.StiTokenType.RBracket,e,1);case"+":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Plus,e,1);case"-":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Minus,e,1);case"*":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Mult,e,1);case"/":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Div,e,1);case"%":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Percent,e,1);case"^":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Xor,e,1);case",":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Comma,e,1);case":":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Colon,e,1);case";":return new Ae.bb.StiToken(Ae.aq.StiTokenType.SemiColon,e,1);case"?":return new Ae.bb.StiToken(Ae.aq.StiTokenType.Question,e,1);case"|":return"|"==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.DoubleOr,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.Or,e,1);case"&":return"&"==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.DoubleAnd,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.And,e,1);case"!":return"="==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.NotEqual,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.Not,e,1);case"=":return"="==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.Equal,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.Assign,e,1);case"<":return"<"==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.Shl,e,2)):"="==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.LeftEqual,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.Left,e,1);case">":return">"==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.Shr,e,2)):"="==t?(this.position++,new Ae.bb.StiToken(Ae.aq.StiTokenType.RightEqual,e,2)):new Ae.bb.StiToken(Ae.aq.StiTokenType.Right,e,1);default:return r=new Ae.bb.StiToken(Ae.aq.StiTokenType.Unknown),r.valueObject=i,r.position=e,r.length=1,r}}}static isWhiteSpace(t){return Be.isWhitespace(t)||t.charCodeAt(0)<32}buildAliases(){if(null!=this.hashAliases)return;this.hashAliases=new Dt;for(var t of this.report.dictionary.dataSources.list){var e=t.name,r=d.getCorrectedAlias(t.alias),i;r!=e&&this.hashAliases.set(r,e);for(i of t.columns.list){var n=i.name,a=d.getCorrectedAlias(i.alias);a!=n&&this.hashAliases.set("."+a,n)}}for(var s of this.report.dictionary.dataSources.list){var s=s.name;this.hashAliases.containsKey(s)&&this.hashAliases.remove(s)}for(var o of this.report.dictionary.businessObjects.list)this.buildBusinessObject(this.report,o);for(var l of this.report.dictionary.relations.list){var u=l.name,l=d.getCorrectedAlias(l.alias);l!=u&&this.hashAliases.set("."+l,u)}for(var h of this.report.dictionary.variables.list){var c=h.name,h=d.getCorrectedAlias(h.alias);h!=c&&this.hashAliases.set(h,c)}}buildBusinessObject(t,e){var r=e.name,i=d.getCorrectedAlias(e.alias),n,a;i!=r&&(this.hashAliases.set(i,r),this.hashAliases.set("."+i,r));for(n of e.columns.list){var s=n.name,o=d.getCorrectedAlias(n.alias);o!=s&&this.hashAliases.set("."+o,s)}for(a of e.businessObjects.list)this.buildBusinessObject(t,a)}static isValidName(e){if(De.isNullOrEmpty(e)||!Be.isLetter(e[0])&&"_"!=e[0])return!1;for(let t=0;t<e.length;t++)if(!Be.isLetterOrDigit(e[t])&&"_"!=e[t])return!1;return!0}static getCorrectedAlias(t){if(this.isValidName(t))return t;return De.format("[{0}]",t)}static replaceBackslash(i){let n="";for(let r=0;r<i.length;r++)if("\\"==i[r]&&r<i.length-1){r++;var t=i[r];switch(t){case"\\":n+="\\";break;case"'":n+="'";break;case'"':n+='"';break;case"0":n+="\0";break;case"n":n+="\n";break;case"r":n+="\r";break;case"t":n+="\t";break;case"x":{let t="",e=0;while(r<i.length-1&&e<4&&-1!="0123456789abcdefABCDEF".indexOf(i[r+1]))t+=i[r+1],r++,e++;var a=parseFloat(t);n+=String.fromCharCode(a);break}default:n+="\\"+t;break}}else n+=i[r];return n}scanNumber(){let e=gt.Int32;var t=this.position,r=this.position;while(this.position!=this.inputExpression.length&&Be.isDigit(this.inputExpression[this.position]))this.position++;if(this.position!=this.inputExpression.length&&"."==this.inputExpression[this.position]&&this.position+1!=this.inputExpression.length&&Be.isDigit(this.inputExpression[this.position+1])){this.position++;while(this.position!=this.inputExpression.length&&Be.isDigit(this.inputExpression[this.position]))this.position++;e=gt.Double}let i=this.inputExpression.substr(t,this.position-t);if(i=i.replace(",","."),this.position!=this.inputExpression.length&&Be.isLetter(this.inputExpression[this.position])){t=this.position;while(this.position!=this.inputExpression.length&&Be.isLetter(this.inputExpression[this.position]))this.position++;var t=this.inputExpression.substr(t,this.position-t).toLowerCase();"f"==t&&(e=gt.Single),"d"==t&&(e=gt.Double),"m"==t&&(e=gt.Decimal),"l"==t&&(e=gt.Int64),"u"!=t&&"ul"!=t&&"lu"!=t||(e=gt.UInt64)}e==gt.Int32&&9<i.length&&(e=gt.Int64);let n=+i;try{n=Ae.b.Convert.changeType2(i,e)}catch(t){e!=gt.Int32&&e!=gt.Int64&&e!=gt.UInt32&&e!=gt.UInt64||this.throwError(Ae.bb.ParserErrorCode.IntegralConstantIsTooLarge,new Ae.bb.StiToken(Ae.aq.StiTokenType.Number,r,this.position-r))}return n}postProcessTokensList(n){let a=new Array;this.tokenPos=0;while(this.tokenPos<n.length){let i=n[this.tokenPos];if(this.tokenPos++,i.type==Ae.aq.StiTokenType.Identifier){let r=this.report.dictionary.dataSources.getByName(i.value),e=this.report.dictionary.businessObjects.getByName(i.value),t="";if(Ae.bb.StiParser_Properties.namespacesList.contains(i.value)){this.tokenPos+1>=n.length&&this.throwError(Ae.bb.ParserErrorCode.UnexpectedEndOfExpression),n[this.tokenPos].type!=Ae.aq.StiTokenType.Dot&&this.throwError(Ae.bb.ParserErrorCode.SyntaxError,i,i.value),t=i.value+".",i=n[this.tokenPos+1],this.tokenPos+=2;while(Ae.bb.StiParser_Properties.namespacesList.contains(t+n[this.tokenPos-1].value))this.tokenPos+1>=n.length&&this.throwError(Ae.bb.ParserErrorCode.UnexpectedEndOfExpression),n[this.tokenPos].type!=Ae.aq.StiTokenType.Dot&&this.throwError(Ae.bb.ParserErrorCode.SyntaxError,i,i.value),t+=i.value+".",i=n[this.tokenPos+1],this.tokenPos+=2}if(null!=r){let t=Ae.c.StiNameValidator.correctName(i.value),e=[];e.push(Ae.c.StiNameValidator.correctName(i.value));while(this.tokenPos+1<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.Dot){i=n[this.tokenPos+1];var s=Ae.c.StiNameValidator.correctName(i.value),o=this.getDataRelationByName(s,r);if(null!=o){r=o.parentSource,this.tokenPos+=2,t+=".",t+=o.nameInSource,e.push(o.nameInSource);continue}var o=this.getDataColumnByName(s,r);if(null!=o){this.tokenPos+=2,t+=".",t+=s,e.push(o.name);break}i=n[this.tokenPos-1];break}i.type=Ae.aq.StiTokenType.DataSourceField,i.value=t,i.valueObject=e}else if(null!=e){let t=i.value;while(this.tokenPos+1<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.Dot){i=n[this.tokenPos+1];var l=i.value;if(e.columns.contains(l)){this.tokenPos+=2,t+=".",t+=l;break}if(e=e.businessObjects.getByName(l),null!=e){this.tokenPos+=2,t+=".",t+=e.name;continue}i=n[this.tokenPos-1];break}i.type=Ae.aq.StiTokenType.BusinessObjectField,i.value=t}else if(0<a.length&&a[a.length-1].type==Ae.aq.StiTokenType.Dot&&0==t.length){var u;Ae.bb.StiParser_Properties.methodsList.contains(i.value)?i.type=Ae.aq.StiTokenType.Method:Ae.bb.StiParser_Properties.propertiesList.contains(i.value)?i.type=Ae.aq.StiTokenType.Property:(this.tokenPos<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.LParenthesis||1<a.length&&a[a.length-2].type==Ae.aq.StiTokenType.DataSourceField&&(i.type=Ae.aq.StiTokenType.Property),i.type==Ae.aq.StiTokenType.Identifier&&this.throwError(Ae.bb.ParserErrorCode.FieldMethodOrPropertyNotFound,i,i.value))}else if(Ae.bb.StiParser_Properties.typesList.contains(i.value)){var h=Ae.bb.StiParser_Properties.typesList.get(i.value),h;i.type=Ae.aq.StiTokenType.Cast,i.valueObject=h,this.tokenPos+1<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.Dot&&(h=i.value+"."+n[this.tokenPos+1].value,Ae.bb.StiParser_Properties.functionsList.contains(h)&&(i.type=Ae.aq.StiTokenType.Function,i.value=h,this.tokenPos+=2),Ae.bb.StiParser_Properties.systemVariablesList.contains(h)&&(i.type=Ae.aq.StiTokenType.SystemVariable,i.value=h,this.tokenPos+=2))}else if(!this.componentsList.contains(i.value)||this.tokenPos<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.LParenthesis)if(Ae.bb.StiParser_Properties.functionsList.contains(t+i.value)&&this.tokenPos<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.LParenthesis)i.value=t+i.value,i.type=Ae.aq.StiTokenType.Function;else if(null!=this.runtimeConstants&&0<this.runtimeConstants.count&&this.runtimeConstantsHash.contains(i.value)){while(this.runtimeConstantsHash.get(i.value)==Ae.bb.StiParser_Properties.namespaceObj){this.tokenPos+1>=n.length&&this.throwError(Ae.bb.ParserErrorCode.UnexpectedEndOfExpression);var c=i.value;i.value+="."+n[this.tokenPos+1].value,this.runtimeConstantsHash.contains(i.value)||this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,i,c,n[this.tokenPos+1].value),this.tokenPos+=2}i.type=Ae.aq.StiTokenType.Variable}else if(Ae.bb.StiParser_Properties.constantsList.contains(t+i.value)){while(Ae.bb.StiParser_Properties.constantsList.get(t+i.value)==Ae.bb.StiParser_Properties.namespaceObj){this.tokenPos+1>=n.length&&this.throwError(Ae.bb.ParserErrorCode.UnexpectedEndOfExpression);var d=i.value;i.value+="."+n[this.tokenPos+1].value,this.tokenPos+=2,Ae.bb.StiParser_Properties.constantsList.contains(t+i.value)||this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,i,d,n[this.tokenPos+1].value)}i.value=t+i.value,i.valueObject=Ae.bb.StiParser_Properties.constantsList.get(i.value),i.type=Ae.aq.StiTokenType.Number}else if(this.report.dictionary.variables.contains(i.value)||null!=this.report.variables&&this.report.variables.containsKey(i.value)){if(this.tokenPos+1<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.Dot&&"Label"==n[this.tokenPos+1].value){i.type=Ae.aq.StiTokenType.String,i.valueObject=i.value;let t=new Ae.bb.StiToken(Ae.aq.StiTokenType.Function,i.position,i.length+6);t.value="GetLabel",a.push(t),a.push(new Ae.bb.StiToken(Ae.aq.StiTokenType.LParenthesis,i.position,i.length)),a.push(i),a.push(new Ae.bb.StiToken(Ae.aq.StiTokenType.RParenthesis,i.position,i.length)),this.tokenPos+=2;continue}i.type=Ae.aq.StiTokenType.Variable}else Ae.bb.StiParser_Properties.systemVariablesList.contains(i.value)&&("value"!=i.value||this.component.is(Ae.at.StiCrossCell))?i.type=Ae.aq.StiTokenType.SystemVariable:this.userFunctionsList.contains(i.value)?i.type=Ae.aq.StiTokenType.Function:"Color"==i.value&&this.tokenPos+1<n.length&&!De.isNullOrEmpty(n[this.tokenPos+1].value)?(i.type=Ae.aq.StiTokenType.String,i.value="",i.valueObject=n[this.tokenPos+1].value,this.tokenPos+=2):De.isNullOrEmpty(t)?this.throwError(Ae.bb.ParserErrorCode.NameDoesNotExistInCurrentContext,i,i.value):this.throwError(Ae.bb.ParserErrorCode.TheTypeOrNamespaceNotExistInTheNamespace,i,i.value,t.substring(0,t.length-1));else if(i.type=Ae.aq.StiTokenType.Component,this.tokenPos+1<n.length&&n[this.tokenPos].type==Ae.aq.StiTokenType.Colon&&this.componentsList.contains(n[this.tokenPos+1].value)){let t=this.componentsList.get(n[this.tokenPos+1].value).stimulsoft().as(gl);null!=t&&t.is(Ae.ap.StiDataBand)&&(i.value=t.dataSourceName,i.type=Ae.aq.StiTokenType.DataSourceField,this.tokenPos+=2)}}a.push(i)}return a}createRuntimeConstantsHash(){null!=this.runtimeConstantsHash?this.runtimeConstantsHash.clear():this.runtimeConstantsHash=new Dt;for(var t of this.runtimeConstants.keys){let r=t.toString();if(r.stimulsoft().contains(".")){var i=r.split(".");let t=0,e=i[0];while(t<i.length-1)this.runtimeConstantsHash.set(e,Ae.bb.StiParser_Properties.namespaceObj),t++,e+="."+i[t]}this.runtimeConstantsHash.set(r,this.runtimeConstants.get(t))}}getDataRelationByName(t,e){for(var r of this.report.dictionary.relations.list)if(r.childSource==e&&(r.name==t||r.nameInSource==t))return r;for(var i of this.report.dictionary.relations.list)if(i.childSource==e&&(Ae.c.StiNameValidator.correctName(i.name)==t||Ae.c.StiNameValidator.correctName(i.nameInSource)==t))return i;return null}getDataColumnByName(t,e){if(null!=e.dataTable){var r=e.getColumnIndex(t);if(0<=r){var r=e.dataTable.columns.getByIndex(r),i=r?r.columnName:"",n;for(n of e.columns.list)if(n.nameInSource==i)return n}}return e.columns.getByName(t)}makeTokensList(){this.buildAliases(),this.tokensList=new Array,this.position=0;while(1){var t=this.getNextLexem();if(null==t)break;this.tokensList.push(t)}this.tokensList=this.postProcessTokensList(this.tokensList)}};Ae.bb.StiParser_Lexer=d}let Yc=Ae.b.IComparable;Ae.bb.StiParser_AsmOperations=class extends Ae.bb.StiParser_Lexer{op_Add(t,e){var r=this.get_category(t),i=this.get_category(e);if(r<=1||i<=1)return Qt.toString(t)+Qt.toString(e);if(4==r||4==i)return t.stimulsoft().toNumber()+e.stimulsoft().toNumber();if(8==r&&e.stimulsoft().getType()==Ae.b.TimeSpan)return new z(Qt.toDateTime(t).ticks+e.ticks);if(8==i&&t.stimulsoft().getType()==Ae.b.TimeSpan)return new z(Qt.toDateTime(e).ticks+t.ticks);return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"+",this.getTypeName(t),this.getTypeName(e)),null}op_Sub(t,e){var r=this.get_category(t),i=this.get_category(e);if(r<=1||i<=1)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==i)return t.stimulsoft().toNumber()-e.stimulsoft().toNumber();if(8==r&&(8==i||e.stimulsoft().getType()==Ae.b.TimeSpan))return 8==i?Qt.toDateTime(t).subtract(Qt.toDateTime(e)):new z(Qt.toDateTime(t).ticks-e.ticks);this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(t),this.getTypeName(e))}return null}op_Mult(t,e){var r=this.get_category(t),i=this.get_category(e);if(r<=1||i<=1)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==i)return t.stimulsoft().toNumber()*e.stimulsoft().toNumber();this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(e))}return null}op_Div(t,e){var r=this.get_category(t),i=this.get_category(e);if(r<=1||i<=1)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==i)return 0==(null==e?void 0:e.stimulsoft().toNumber())&&this.throwError(Ae.bb.ParserErrorCode.DivisionByZero),t.stimulsoft().toNumber()/e.stimulsoft().toNumber();this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(e))}return null}op_Mod(t,e){var r=this.get_category(t),i=this.get_category(e);if(r<=1||i<=1)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==i)return t.stimulsoft().toNumber()%e.stimulsoft().toNumber();this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(e))}return null}op_Pow(t,e){var r=this.get_category(t),i=this.get_category(e);if(2<=r&&2<=i&&r<=7&&i<=7)return Math.pow(t.stimulsoft().toNumber(),e.stimulsoft().toNumber());return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(e)),null}op_Neg(t){var e=this.get_category(t);return(e<=1||8<=e)&&this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Negative",this.getTypeName(t)),this.op_Mult(t,-1)}op_Not(t){var e;return 9!=this.get_category(t)&&this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Not",this.getTypeName(t)),!t}op_Cast(e,t){var r=t.stimulsoft().as(Wr);if(null!=r)try{return Qt.changeType(e,r)}catch(t){return e}var i;switch(t){case Ae.b.TypeCode.Boolean:return Qt.toBoolean(e);case Ae.b.TypeCode.Char:return String.fromCharCode(Qt.toNumber(e));case Ae.b.TypeCode.DateTime:return Ae.b.Convert.toDateTime(e);case Ae.b.TypeCode.Decimal:return Qt.toNumber(e);case Ae.b.TypeCode.Double:return Qt.toNumber(e);case Ae.b.TypeCode.UInt16:case Ae.b.TypeCode.UInt32:case Ae.b.TypeCode.UInt64:case Ae.b.TypeCode.Int16:case Ae.b.TypeCode.Int32:case Ae.b.TypeCode.Int64:case Ae.b.TypeCode.SByte:case Ae.b.TypeCode.Byte:return this.toIntegerCheckChar(e);case Ae.b.TypeCode.Single:return Qt.toNumber(e);case Ae.b.TypeCode.String:return Qt.toString(e)}return e}toIntegerCheckChar(t){if("string"==typeof t&&1==t.length)return t.charCodeAt(0);return 0|Qt.toNumber(t)}op_CompareLeft(e,r){var t=this.get_category(e),i=this.get_category(r);if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);if(null!=t&&null!=n)return t.compareTo(n)<0;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(e),this.getTypeName(r))}if(1==t||1==i)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(e),this.getTypeName(r));else{if(4==t||4==i)return(null==e?void 0:e.stimulsoft().toNumber())<(null==r?void 0:r.stimulsoft().toNumber());if(8==t||8==i)return Qt.toDateTime(e).ticks<Qt.toDateTime(r).ticks;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(e),this.getTypeName(r))}return null}op_CompareLeftEqual(e,r){var t=this.get_category(e),i=this.get_category(r);if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);if(null!=t&&null!=n)return t.compareTo(n)<=0;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(e),this.getTypeName(r))}if(1==t||1==i)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(e),this.getTypeName(r));else{if(4==t||4==i)return(null==e?void 0:e.stimulsoft().toNumber())<=(null==r?void 0:r.stimulsoft().toNumber());if(8==t||8==i)return Qt.toDateTime(e).ticks<=Qt.toDateTime(r).ticks;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(e),this.getTypeName(r))}return null}op_CompareRight(e,r){var t=this.get_category(e),i=this.get_category(r);if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);if(null!=t&&null!=n)return 0<t.compareTo(n);this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(e),this.getTypeName(r))}if(1==t||1==i)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(e),this.getTypeName(r));else{if(4==t||4==i)return e.stimulsoft().toNumber()>r.stimulsoft().toNumber();if(8==t||8==i)return Qt.toDateTime(e).ticks>Qt.toDateTime(r).ticks;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(e),this.getTypeName(r))}return null}op_CompareRightEqual(e,r){var t=this.get_category(e),i=this.get_category(r);if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);if(null!=t&&null!=n)return 0<=t.compareTo(n);this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(e),this.getTypeName(r))}if(1==t||1==i)this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(e),this.getTypeName(r));else{if(4==t||4==i)return e.stimulsoft().toNumber()>=r.stimulsoft().toNumber();if(8==t||8==i)return Qt.toDateTime(e).ticks>=Qt.toDateTime(r).ticks;this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(e),this.getTypeName(r))}return null}op_CompareEqual(e,r){var t=this.get_category(e),i=this.get_category(r);if(-1==t||-1==i)return t==i;if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);return null!=t&&null!=n?0==t.compareTo(n):e.stimulsoft().equals(r)}if(1==t||1==i)return e==r;if(4==t||4==i)return e.stimulsoft().toNumber()==r.stimulsoft().toNumber();if(8==t||8==i)return Qt.toDateTime(e).ticks==Qt.toDateTime(r).ticks;return e==r}op_CompareNotEqual(e,r){var t=this.get_category(e),i=this.get_category(r);if(-1==t||-1==i)return t!=i;if(0==t||0==i){let t=e.stimulsoft().as(Yc);var n=r.stimulsoft().as(Yc);return null!=t&&null!=n?0!=t.compareTo(n):!e.stimulsoft().equals(r)}if(1==t||1==i)return e!=r;if(4==t||4==i)return e.stimulsoft().toNumber()!=r.stimulsoft().toNumber();if(8==t||8==i)return Qt.toDateTime(e).ticks!=Qt.toDateTime(r).ticks;return e!=r}op_Shl(t,e){var r=this.get_category(t),i=this.get_category(e);if(!(r<4||8<=r||4!=i))return t.stimulsoft().toNumber()<<e.stimulsoft().toNumber();return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<<",this.getTypeName(t),this.getTypeName(e)),null}op_Shr(t,e){var r=this.get_category(t),i=this.get_category(e);if(!(r<4||8<=r||4!=i))return t.stimulsoft().toNumber()>>e.stimulsoft().toNumber();return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">>",this.getTypeName(t),this.getTypeName(e)),null}op_And(t,e){var r=this.get_category(t),i=this.get_category(e);if(!(r<4||8==r||i<4||8==i))return 9==r||9==i?t.stimulsoft().toBoolean()&&e.stimulsoft().toBoolean():t.stimulsoft().toNumber()&e.stimulsoft().toNumber();return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&",this.getTypeName(t),this.getTypeName(e)),null}op_Or(t,e){var r=this.get_category(t),i=this.get_category(e);if(!(r<4||8==r||i<4||8==i))return 9==r||9==i?t.stimulsoft().toBoolean()||e.stimulsoft().toBoolean():t.stimulsoft().toNumber()|e.stimulsoft().toNumber();return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"|",this.getTypeName(t),this.getTypeName(e)),null}op_Xor(t,e){var r=this.get_category(t),i=this.get_category(e);if(!(r<4||8==r||i<4||8==i))return 9==r||9==i?t.stimulsoft().toBoolean()!==e.stimulsoft().toBoolean():t.stimulsoft().toNumber()^e.stimulsoft().toNumber();return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(e)),null}op_And2(t,e){var r=this.get_category(t),i=this.get_category(e);if(9==r&&9==i)return t&&e;return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&&",this.getTypeName(t),this.getTypeName(e)),null}op_Or2(t,e){var r=this.get_category(t),i=this.get_category(e);if(9==r&&9==i)return t||e;return this.throwError(Ae.bb.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"||",this.getTypeName(t),this.getTypeName(e)),null}},Ae.bb.StiParser_AsmProperties=class extends Ae.bb.StiParser_AsmOperations{call_property(t,e){let r=e[0];if("string"==typeof t)return r[t];if(r instanceof z){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Year:return r.year;case Ae.aq.StiPropertyType.Month:return r.month;case Ae.aq.StiPropertyType.Day:return r.day;case Ae.aq.StiPropertyType.Hour:return r.hour;case Ae.aq.StiPropertyType.Minute:return r.minute;case Ae.aq.StiPropertyType.Second:return r.second;case Ae.aq.StiPropertyType.Date:return new z(r.year,r.month,r.day,0,0,0,0);case Ae.aq.StiPropertyType.DayOfWeek:return r.dayOfWeek}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(r instanceof lt){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Days:return r.days;case Ae.aq.StiPropertyType.Hours:return r.hours;case Ae.aq.StiPropertyType.Milliseconds:return r.milliseconds;case Ae.aq.StiPropertyType.Minutes:return r.minutes;case Ae.aq.StiPropertyType.Seconds:return r.seconds;case Ae.aq.StiPropertyType.Ticks:return r.ticks;case Ae.aq.StiPropertyType.TotalDays:return r.totalDays;case Ae.aq.StiPropertyType.TotalHours:return r.totalHours;case Ae.aq.StiPropertyType.TotalMinutes:return r.totalMinutes;case Ae.aq.StiPropertyType.TotalSeconds:return r.totalSeconds;case Ae.aq.StiPropertyType.TotalMilliseconds:return r.totalMilliseconds}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if("string"==typeof r){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Length:return Qt.toString(r).length}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(null==r)switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Length:return 0}if(r.stimulsoft().is(Ae.c.Range)){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.From:return r.fromObject;case Ae.aq.StiPropertyType.To:return r.toObject;case Ae.aq.StiPropertyType.FromDate:return r.fromObject;case Ae.aq.StiPropertyType.ToDate:return r.toObject;case Ae.aq.StiPropertyType.FromTime:return r.fromObject;case Ae.aq.StiPropertyType.ToTime:return r.toObject}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(ke.isArray(r)){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Count:return r.length}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(r.stimulsoft().is(Ae.ap.StiDataBand)){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Count:return r.count;case Ae.aq.StiPropertyType.SelectedLine:return r.selectedLine;case Ae.aq.StiPropertyType.Position:return r.position;case Ae.aq.StiPropertyType.Line:return r.line;case Ae.aq.StiPropertyType.Rows:return r.rows}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(r.stimulsoft().is(Ae.am.StiDataSource)){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Count:return r.count;case Ae.aq.StiPropertyType.Position:return r.position}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(r.stimulsoft().is(Ae.am.StiBusinessObject)){switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.BusinessObjectValue:return r.businessObjectValue;case Ae.aq.StiPropertyType.Position:return r.position}this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),Zt.getName(Ae.aq.StiPropertyType,t.stimulsoft().toNumber()))}if(r.stimulsoft().is(Kl))switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Skip:return r.skip}if(r.stimulsoft().is(Ae.ap.StiComponent))switch(t.stimulsoft().toNumber()){case Ae.aq.StiPropertyType.Name:return r.name;case Ae.aq.StiPropertyType.TagValue:return r.tagValue;case Ae.aq.StiPropertyType.Enabled:return r.enabled}return null}},Ae.bb.StiParser_AsmMethods=class extends Ae.bb.StiParser_AsmProperties{call_method(t,e){let r,i=e[0];var n=this.checkParserMethodInfo(t,e),a=t,s,o,l;switch(a){case Ae.aq.StiMethodType.ToString:if(r=this.get_category(e[0]),1==r)return Qt.toString(e[0]);if(4==r||6==r){let t=Qt.toNumber(e[0]);return 1==e.length?t.toString():De.customFormat(t,Qt.toString(e[1]))}if(8==r){let t=Qt.toDateTime(e[0]);return 1==e.length?t.toString():t.toString(Qt.toString(e[1]))}return 9==r?Qt.toBoolean(e[0]).toString():null==i?"":e[0].toString()}if("string"==typeof i)switch(a){case Ae.aq.StiMethodType.Substring:if(1==n)return(""+e[0]).substr(+e[1]);if(2==n)return(""+e[0]).substr(+e[1],+e[2]);break;case Ae.aq.StiMethodType.ToLower:if(1==n)return(""+e[0]).toLowerCase();break;case Ae.aq.StiMethodType.ToUpper:if(1==n)return(""+e[0]).toUpperCase();break;case Ae.aq.StiMethodType.IndexOf:if(1==n)return(""+e[0]).indexOf(""+e[1]);break;case Ae.aq.StiMethodType.StartsWith:if(1==n)return(""+e[0]).stimulsoft().startsWith(""+e[1]);break;case Ae.aq.StiMethodType.EndsWith:if(1==n)return(""+e[0]).stimulsoft().endsWith(""+e[1]);break;case Ae.aq.StiMethodType.Replace:if(1==n)return(""+e[0]).stimulsoft().replaceAll(""+e[1],""+e[2]);break;case Ae.aq.StiMethodType.Contains:if(1==n)return(""+e[0]).stimulsoft().contains(""+e[1]);break;case Ae.aq.StiMethodType.PadLeft:if(1==n)return(""+e[0]).stimulsoft().padLeft(+e[1]);if(2==n)return(""+e[0]).stimulsoft().padLeft(+e[1],""+e[2]);break;case Ae.aq.StiMethodType.PadRight:if(1==n)return(""+e[0]).stimulsoft().padRight(+e[1]);if(2==n)return(""+e[0]).stimulsoft().padRight(+e[1],""+e[2]);break;case Ae.aq.StiMethodType.TrimStart:if(1==n)return(""+e[0]).stimulsoft().trimStart();break;case Ae.aq.StiMethodType.TrimEnd:if(1==n)return(""+e[0]).stimulsoft().trimEnd();break}if(1&&ke.isArray(i))switch(a){case Ae.aq.StiMethodType.Contains:if(2==e.length)return e[0].stimulsoft().contains(e[1]);break;case Ae.aq.StiMethodType.ToQueryString:if(1==e.length){if(ke.isArray(i))return Ae.av.EngineHelper.toQueryString(e[0],"","")}else if(2==e.length){if(ke.isArray(i))return Ae.av.EngineHelper.toQueryString(e[0],Qt.toString(e[1]),"")}else if(3==e.length){if(ke.isArray(i))return Ae.av.EngineHelper.toQueryString(e[0],Qt.toString(e[1]),Qt.toString(e[2]))}else this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToQueryString",(e.length-1).toString());break}if(null!=i&&i.stimulsoft().is(Ae.am.StiDataSource))switch(Zt.parse(Ae.aq.StiMethodType,t.toString())){case Ae.aq.StiMethodType.GetData:if(r=this.get_category(e[1]),1!=r&&this.throwError(Ae.bb.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","1",this.getTypeName(e[0]),"string"),3==e.length)return r=this.get_category(e[2]),(r<4||7<r)&&this.throwError(Ae.bb.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","2",this.getTypeName(e[0]),"int"),e[0].getData(Qt.toString(e[1]),Qt.toNumber(e[2]));if(2==e.length)return e[0].getData(Qt.toString(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"GetData",(e.length-1).toString());break}if(null!=i&&i instanceof z)switch(Zt.parse(Ae.aq.StiMethodType,t.toString())){case Ae.aq.StiMethodType.AddDays:if(r=this.get_category(e[1]),(r<2||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddDays","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addDays(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddDays",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddHours:if(r=this.get_category(e[1]),(r<2||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddHours","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addHours(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddHours",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddMilliseconds:if(r=this.get_category(e[1]),(r<2||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMilliseconds","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addMilliseconds(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMilliseconds",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddMinutes:if(r=this.get_category(e[1]),(r<2||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMinutes","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addMinutes(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMinutes",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddMonths:if(r=this.get_category(e[1]),(r<4||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMonths","1",this.getTypeName(e[1]),"int"),2==e.length)return e[0].addMonths(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMonths",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddSeconds:if(r=this.get_category(e[1]),(r<2||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddSeconds","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addSeconds(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddSeconds",(e.length-1).toString());break;case Ae.aq.StiMethodType.AddYears:if(r=this.get_category(e[1]),(r<4||7<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"AddYears","1",this.getTypeName(e[1]),"int"),2==e.length)return e[0].addYears(Qt.toNumber(e[1]));this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddYears",(e.length-1).toString());break;case Ae.aq.StiMethodType.ToShortDateString:if(1==n)return e[0].toShortDateString();break}if(i instanceof lt)switch(a){case Ae.aq.StiMethodType.Add:if(e[1]instanceof lt||this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Add","1",this.getTypeName(e[1]),"TimeSpan"),2==e.length)return e[0].add2(e[1]);this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Add",(e.length-1).toString());break}if(null!=i&&i.stimulsoft().is(Au))switch(Zt.parse(Ae.aq.StiMethodType,t.toString())){case Ae.aq.StiMethodType.GetCurrentConditionValue:return e[0].getCurrentConditionValue()}var a=null==i?"null":e[0].stimulsoft().getType().fullName;return this.throwError(Ae.bb.ParserErrorCode.ItemDoesNotContainDefinition,null,a,Zt.getName(Ae.aq.StiMethodType,t.stimulsoft().toNumber())),null}};{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Date","","DateDiff","Returns a number of time intervals between two specified dates.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.TimeSpan,"A TimeSpan value.",[Ae.b.DateTime,Ae.b.DateTime],["date1","date2"],["date1 is the first DateTime value used in calculating the difference.","date2 is the first DateTime value used in calculating the difference."],t.dateDiff),Ae.am.StiFunctions.addFunction("Date","","Year","Returns a year from a date and returns it as a integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"An integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.year),Ae.am.StiFunctions.addFunction("Date","","Month","Returns a month from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"An integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.month),Ae.am.StiFunctions.addFunction("Date","","Day","Returns a day from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"An integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.day),Ae.am.StiFunctions.addFunction("Date","","Hour","Returns an hour portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"An integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.hour),Ae.am.StiFunctions.addFunction("Date","","Minute","Returns the minutes portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"An integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.minute),Ae.am.StiFunctions.addFunction("Date","","Second","Returns a seconds portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"A integer value.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.second),Ae.am.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.dayOfWeek),Ae.am.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[Ae.b.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of day."],t.dayOfWeek),Ae.am.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[Ae.b.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the day name."],t.dayOfWeek),Ae.am.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[Ae.b.DateTime,String,Boolean],["date","culture","upperCase"],["date is a DateTime value.","culture of the day name.","if true then return the name of the day with the first letter in uppercase."],t.dayOfWeek),Ae.am.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.monthName),Ae.am.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[Ae.b.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of month."],t.monthName),Ae.am.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[Ae.b.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the month name."],t.monthName),Ae.am.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[Ae.b.DateTime,String,Boolean],["date","culture","upperCase"],["date is a DateTime value.","culture of the month name.","if true then return the name of the month with the first letter in uppercase."],t.monthName),Ae.am.StiFunctions.addFunction("Date","","DayOfYear","Returns a day of the year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"A day of the year.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.dayOfYear),Ae.am.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The number of days in the specified month and year.",[Ae.b.Int64,Ae.b.Int64],["year","month"],["Year (1 through 9999).","Month (1 through 12)."],t.daysInMonth),Ae.am.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The number of days in the specified month.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.daysInMonth),Ae.am.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The number of days in the specified year.",[Ae.b.Int64],["year"],["Year (1 through 9999)."],t.daysInYear),Ae.am.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The number of days in the specified year.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.daysInYear),Ae.am.StiFunctions.addFunction("Date","","DateSerial","Returns the DateTime value for the specified year, month, and day.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.DateTime,"DateTime value.",[Ae.b.Int64,Ae.b.Int64,Ae.b.Int64],["year","month","day"],["Year (1 through 9999).","Month (1 through 12).","Day (1 through the number of days in a month."],t.dateSerial),Ae.am.StiFunctions.addFunction("Date","","TimeSerial","Returns the TimeValue value for a specified number of hours, minutes, and seconds.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.TimeSpan,"TimeSpan value.",[Ae.b.Int64,Ae.b.Int64,Ae.b.Int64],["year","month","day"],["Number of hours.","Number of minutes.","Number of seconds."],t.timeSerial),Ae.am.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the year.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.weekOfYear),Ae.am.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the year.",[Ae.b.DateTime,Ae.b.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."],t.weekOfYear),Ae.am.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the year.",[Ae.b.DateTime,Ae.b.Int,Ae.b.Int],["date","firstDayOfWeek","calendarWeekRule"],["date is a DateTime value.","an enumeration value that represents the first day of the week.","an enumeration value that define the rules for determining the first week of the year."],t.weekOfYear),Ae.am.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the month.",[Ae.b.DateTime],["date"],["date is a DateTime value."],t.weekOfMonth),Ae.am.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the month.",[Ae.b.DateTime,Ae.b.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."],t.weekOfMonth),Ae.am.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",Ae.b.Int64,"The week of the month.",[Ae.b.DateTime,Ae.b.Int,Ae.b.Int],["date","firstDayOfWeek","calendarWeekRule"],["date is a DateTime value.","an enumeration value that represents the first day of the week.","an enumeration value that define the rules for determining the first week of the year."]),t.weekOfMonth,t.isCreated=!0)}static dateDiff(t,e){return t.subtract(e)}static year(t){return null!=t?t.year:0}static month(t){return null!=t?t.month:0}static hour(t){return null!=t?t.hour:0}static minute(t){return null!=t?t.minute:0}static second(t){return null!=t?t.second:0}static day(t){return null!=t?t.day:0}static dayOfWeek(t,e=null,r=null){return"boolean"==typeof e?Ae.av.DayOfWeekToStr.dayOfWeek(t,e):Ae.av.DayOfWeekToStr.dayOfWeek(t,e,r)}static monthName(t,e=null,r=null){return"boolean"==typeof e?Ae.av.MonthToStr.monthName(t,e):Ae.av.MonthToStr.monthName(t,e,r)}static dayOfYear(t){return+t.dayOfYear}static dateSerial(t,e,r){return new z(new Date(t,e,r))}static timeSerial(t,e,r){return new lt(t,e,r)}static daysInMonth(t,e){if(t instanceof z){var r=t;return+z.daysInMonth(r.year,r.month)}return+z.daysInMonth(+t,e)}static daysInYear(t){let e;var r;return e=t instanceof z?t.year:+t,+(z.isLeapYear(e)?366:365)}static weekOfYear(t,e,r){var i=Ae.bh.CultureInfo.currentCulture.dateTimeFormat;return null!=e||(e=i.firstDayOfWeek),null!=r||(r=i.calendarWeekRule),Ae.bh.Calendar.getWeekOfYear(t,r,e)}static weekOfMonth(t,e,r){var i=Ae.bh.CultureInfo.currentCulture.dateTimeFormat;return null!=e||(e=i.firstDayOfWeek),null!=r||(r=i.calendarWeekRule),Ae.bh.Calendar.getWeekOfMonth(t,r,e)}};t.isCreated=!1,Ae.am.StiFunctionsDate=t}let Qc=Ae.am.StiFunctionsDate;Ae.bb.StiParser_AsmFunctions=class extends Ae.bb.StiParser_AsmMethods{call_func(t,e){var a;let r,i;var s=t,n=this.checkParserMethodInfo(s,e),o,l;switch(s){case Ae.aq.StiFunctionType.Count:return Ae.c.Totals.count(e[0],this.report,null);case Ae.aq.StiFunctionType.CountDistinct:return Ae.c.Totals.countDistinct(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Avg:case Ae.aq.StiFunctionType.AvgD:case Ae.aq.StiFunctionType.AvgI:return Ae.c.Totals.avg(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.AvgDate:return Ae.c.Totals.avgDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.AvgTime:return Ae.c.Totals.avgTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Max:case Ae.aq.StiFunctionType.MaxD:case Ae.aq.StiFunctionType.MaxI:return Ae.c.Totals.max(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MaxDate:return Ae.c.Totals.maxDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MaxStr:return Ae.c.Totals.maxStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MaxTime:return Ae.c.Totals.maxTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Median:case Ae.aq.StiFunctionType.MedianD:return Ae.c.Totals.median(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Min:case Ae.aq.StiFunctionType.MinD:case Ae.aq.StiFunctionType.MinI:return Ae.c.Totals.min(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MinDate:return Ae.c.Totals.minDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MinStr:return Ae.c.Totals.minStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.MinTime:return Ae.c.Totals.minTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Mode:case Ae.aq.StiFunctionType.ModeD:case Ae.aq.StiFunctionType.ModeI:return Ae.c.Totals.mode(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Sum:case Ae.aq.StiFunctionType.SumD:case Ae.aq.StiFunctionType.SumI:return Ae.c.Totals.sum(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.SumDistinct:{let t=new Ae.bb.StiParserData(e[0],e[1],this);return t.asmList2=e[2],Ae.c.Totals.sumDistinct(t,this.report,null)}case Ae.aq.StiFunctionType.SumTime:return Ae.c.Totals.sumTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.First:return Ae.c.Totals.first(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.Last:return Ae.c.Totals.last(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pCount:return Ae.c.Totals.cCount(e[0],this.report,null);case Ae.aq.StiFunctionType.pCountDistinct:return Ae.c.Totals.cCountDistinct(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pAvg:case Ae.aq.StiFunctionType.pAvgD:case Ae.aq.StiFunctionType.pAvgI:return Ae.c.Totals.cAvg(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pAvgDate:return Ae.c.Totals.cAvgDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pAvgTime:return Ae.c.Totals.cAvgTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMax:case Ae.aq.StiFunctionType.pMaxD:case Ae.aq.StiFunctionType.pMaxI:return Ae.c.Totals.cMax(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMaxDate:return Ae.c.Totals.cMaxDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMaxStr:return Ae.c.Totals.cMaxStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMaxTime:return Ae.c.Totals.cMaxTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMedian:case Ae.aq.StiFunctionType.pMedianD:case Ae.aq.StiFunctionType.pMedianI:return Ae.c.Totals.cMedian(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMin:case Ae.aq.StiFunctionType.pMinD:case Ae.aq.StiFunctionType.pMinI:return Ae.c.Totals.cMin(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMinDate:return Ae.c.Totals.cMinDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMinStr:return Ae.c.Totals.cMinStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMinTime:return Ae.c.Totals.cMinTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pMode:case Ae.aq.StiFunctionType.pModeD:case Ae.aq.StiFunctionType.pModeI:return Ae.c.Totals.cMode(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pSum:case Ae.aq.StiFunctionType.pSumD:case Ae.aq.StiFunctionType.pSumI:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pSumDistinct:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pSumTime:return Ae.c.Totals.cSumTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pFirst:return Ae.c.Totals.cFirst(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.pLast:return Ae.c.Totals.cLast(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prCount:return Ae.c.Totals.cCountRunning(e[0],this.report,null);case Ae.aq.StiFunctionType.prCountDistinct:return Ae.c.Totals.cCountDistinctRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prAvg:case Ae.aq.StiFunctionType.prAvgD:case Ae.aq.StiFunctionType.prAvgI:return Ae.c.Totals.cAvgRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prAvgDate:return Ae.c.Totals.cAvgDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prAvgTime:return Ae.c.Totals.cAvgTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMax:case Ae.aq.StiFunctionType.prMaxD:case Ae.aq.StiFunctionType.prMaxI:return Ae.c.Totals.cMaxRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMaxDate:return Ae.c.Totals.cMaxDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMaxStr:return Ae.c.Totals.cMaxStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMaxTime:return Ae.c.Totals.cMaxTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMedian:case Ae.aq.StiFunctionType.prMedianD:case Ae.aq.StiFunctionType.prMedianI:return Ae.c.Totals.cMedianRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMin:case Ae.aq.StiFunctionType.prMinD:case Ae.aq.StiFunctionType.prMinI:return Ae.c.Totals.cMinRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMinDate:return Ae.c.Totals.cMinDate(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMinStr:return Ae.c.Totals.cMinStr(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMinTime:return Ae.c.Totals.cMinTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prMode:case Ae.aq.StiFunctionType.prModeD:case Ae.aq.StiFunctionType.prModeI:return Ae.c.Totals.cModeRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prSum:case Ae.aq.StiFunctionType.prSumD:case Ae.aq.StiFunctionType.prSumI:return Ae.c.Totals.cSumRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prSumDistinct:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prSumTime:return Ae.c.Totals.cSumTime(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prFirst:return Ae.c.Totals.cFirstRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.prLast:return Ae.c.Totals.cLastRunning(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case Ae.aq.StiFunctionType.iCount:return Ae.c.Totals.count(new Ae.bb.StiParserData(e[0],null,this,e[1]),this.report,null);case Ae.aq.StiFunctionType.iCountDistinct:return Ae.c.Totals.countDistinct(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iAvg:case Ae.aq.StiFunctionType.iAvgD:case Ae.aq.StiFunctionType.iAvgI:return Ae.c.Totals.avg(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iAvgDate:return Ae.c.Totals.avgDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iAvgTime:return Ae.c.Totals.avgTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMax:case Ae.aq.StiFunctionType.iMaxD:case Ae.aq.StiFunctionType.iMaxI:return Ae.c.Totals.max(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMaxDate:return Ae.c.Totals.maxDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMaxStr:return Ae.c.Totals.maxStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMaxTime:return Ae.c.Totals.maxTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMedian:case Ae.aq.StiFunctionType.iMedianD:case Ae.aq.StiFunctionType.iMedianI:return Ae.c.Totals.median(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMin:case Ae.aq.StiFunctionType.iMinD:case Ae.aq.StiFunctionType.iMinI:return Ae.c.Totals.min(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMinDate:return Ae.c.Totals.minDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMinStr:return Ae.c.Totals.minStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMinTime:return Ae.c.Totals.minTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iMode:case Ae.aq.StiFunctionType.iModeD:case Ae.aq.StiFunctionType.iModeI:return Ae.c.Totals.mode(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iSum:case Ae.aq.StiFunctionType.iSumD:case Ae.aq.StiFunctionType.iSumI:return Ae.c.Totals.sum(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iSumDistinct:return Ae.c.Totals.sumDistinct(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iSumTime:return Ae.c.Totals.sumTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iFirst:return Ae.c.Totals.first(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.iLast:return Ae.c.Totals.last(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piCount:return Ae.c.Totals.cCount(new Ae.bb.StiParserData(e[0],null,this,e[1]),this.report,null);case Ae.aq.StiFunctionType.piCountDistinct:return Ae.c.Totals.cCountDistinct(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piAvg:case Ae.aq.StiFunctionType.piAvgD:case Ae.aq.StiFunctionType.piAvgI:return Ae.c.Totals.cAvg(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piAvgDate:return Ae.c.Totals.cAvgDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piAvgTime:return Ae.c.Totals.cAvgTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMax:case Ae.aq.StiFunctionType.piMaxD:case Ae.aq.StiFunctionType.piMaxI:return Ae.c.Totals.cMax(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMaxDate:return Ae.c.Totals.cMaxDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMaxStr:return Ae.c.Totals.cMaxStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMaxTime:return Ae.c.Totals.cMaxTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMedian:case Ae.aq.StiFunctionType.piMedianD:case Ae.aq.StiFunctionType.piMedianI:return Ae.c.Totals.cMedian(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMin:case Ae.aq.StiFunctionType.piMinD:case Ae.aq.StiFunctionType.piMinI:return Ae.c.Totals.cMin(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMinDate:return Ae.c.Totals.cMinDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMinStr:return Ae.c.Totals.cMinStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMinTime:return Ae.c.Totals.cMinTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piMode:case Ae.aq.StiFunctionType.piModeD:case Ae.aq.StiFunctionType.piModeI:return Ae.c.Totals.cMode(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piSum:case Ae.aq.StiFunctionType.piSumD:case Ae.aq.StiFunctionType.piSumI:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piSumDistinct:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piSumTime:return Ae.c.Totals.cSumTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piFirst:return Ae.c.Totals.cFirst(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.piLast:return Ae.c.Totals.cLast(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priCount:return Ae.c.Totals.cCountRunning(new Ae.bb.StiParserData(e[0],null,this,e[1]),this.report,null);case Ae.aq.StiFunctionType.priCountDistinct:return Ae.c.Totals.cCountDistinctRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priAvg:case Ae.aq.StiFunctionType.priAvgD:case Ae.aq.StiFunctionType.priAvgI:return Ae.c.Totals.cAvgRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priAvgDate:return Ae.c.Totals.cAvgDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priAvgTime:return Ae.c.Totals.cAvgTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMax:case Ae.aq.StiFunctionType.priMaxD:case Ae.aq.StiFunctionType.priMaxI:return Ae.c.Totals.cMaxRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMaxDate:return Ae.c.Totals.cMaxDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMaxStr:return Ae.c.Totals.cMaxStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMaxTime:return Ae.c.Totals.cMaxTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMedian:case Ae.aq.StiFunctionType.priMedianD:case Ae.aq.StiFunctionType.priMedianI:return Ae.c.Totals.cMedianRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMin:case Ae.aq.StiFunctionType.priMinD:case Ae.aq.StiFunctionType.priMinI:return Ae.c.Totals.cMinRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMinDate:return Ae.c.Totals.cMinDate(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMinStr:return Ae.c.Totals.cMinStr(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMinTime:return Ae.c.Totals.cMinTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priMode:case Ae.aq.StiFunctionType.priModeD:case Ae.aq.StiFunctionType.priModeI:return Ae.c.Totals.cModeRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priSum:case Ae.aq.StiFunctionType.priSumD:case Ae.aq.StiFunctionType.priSumI:return Ae.c.Totals.cSumRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priSumDistinct:return Ae.c.Totals.cSum(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priSumTime:return Ae.c.Totals.cSumTime(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priFirst:return Ae.c.Totals.cFirstRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.priLast:return Ae.c.Totals.cLastRunning(new Ae.bb.StiParserData(e[0],e[1],this,e[2]),this.report,null);case Ae.aq.StiFunctionType.Rank:switch(n){case 1:return Ae.c.Totals.rank(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null);case 2:return Ae.c.Totals.rank(new Ae.bb.StiParserData(e[0],e[1],this),this.report,null,!!e[2],+e[3])}break;case Ae.aq.StiFunctionType.CountAllLevels:return Ae.c.Totals.countAllLevels(e[0]);case Ae.aq.StiFunctionType.CountAllLevelsOnlyChilds:return Ae.c.Totals.countAllLevelsOnlyChilds(e[0]);case Ae.aq.StiFunctionType.CountOnlyChilds:return Ae.c.Totals.countOnlyChilds(e[0]);case Ae.aq.StiFunctionType.Abs:if(r=this.get_category(e[0]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Abs","1",this.getTypeName(e[0]),"double");else if(2==r||3==r)return Math.abs(+e[0]);return Math.abs(+e[0]);case Ae.aq.StiFunctionType.Acos:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Acos","1",this.getTypeName(e[0]),"double"),Math.acos(+e[0]);case Ae.aq.StiFunctionType.Asin:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Asin","1",this.getTypeName(e[0]),"double"),Math.asin(+e[0]);case Ae.aq.StiFunctionType.Atan:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Atan","1",this.getTypeName(e[0]),"double"),Math.atan(+e[0]);case Ae.aq.StiFunctionType.Ceiling:if(r=this.get_category(e[0]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Ceiling","1",this.getTypeName(e[0]),"double");else if(2==r)return Math.ceil(+e[0]);return Math.ceil(+e[0]);case Ae.aq.StiFunctionType.Cos:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Cos","1",this.getTypeName(e[0]),"double"),Math.cos(+e[0]);case Ae.aq.StiFunctionType.Div:if(r=this.get_category(e[0]),i=this.get_category(e[1]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","1",this.getTypeName(e[0]),"double");else if(i<=1||8<=i)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","2",this.getTypeName(e[1]),"double");else{if(3==e.length){if(2==r){if(0==+e[1])return+e[2];return+e[0]/+e[1]}if(0==+e[1])return+e[2];return+e[0]/+e[1]}if(2==e.length){if(0==e[1].stimulsoft().toNumber())throw new Error("DivideByZeroException: Attempt to divide by zero.");return+e[0]/+e[1]}}this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Div",e.length.toString());break;case Ae.aq.StiFunctionType.Exp:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Exp","1",this.getTypeName(e[0]),"double"),Math.exp(+e[0]);case Ae.aq.StiFunctionType.Floor:if(r=this.get_category(e[0]),(r<=1||4<r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Floor","1",this.getTypeName(e[0]),"double"),2==r)return Math.floor(+e[0]);return Math.floor(+e[0]);case Ae.aq.StiFunctionType.Log:return r=this.get_category(e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Log","1",this.getTypeName(e[0]),"double"),Math.log(+e[0]);case Ae.aq.StiFunctionType.Maximum:if(2!=e.length&&this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Maximum",e.length.toString()),r=this.get_category(e[0]),i=this.get_category(e[1]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","1",this.getTypeName(e[0]),"double");else if(i<=1||8<=i)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","2",this.getTypeName(e[1]),"double");else{if(2==r)return Math.max(+e[0],+e[1]);if(3==r)return Math.max(+e[0],+e[1])}return Math.max(+e[0],+e[1]);case Ae.aq.StiFunctionType.Minimum:if(2!=e.length&&this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Minimum",e.length.toString()),r=this.get_category(e[0]),i=this.get_category(e[1]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","1",this.getTypeName(e[0]),"double");else if(i<=1||8<=i)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","2",this.getTypeName(e[1]),"double");else{if(2==r)return Math.min(+e[0],+e[1]);if(3==r)return Math.min(+e[0],+e[1])}return Math.min(+e[0],+e[1]);case Ae.aq.StiFunctionType.Round:switch(n){case 1:return Ne.round2(+e[0]);case 2:return Ne.round2(+e[0],+e[1]);case 3:return Ne.roundToEven(Qt.toNumber(e[0]),Qt.toNumber(e[1]),Qt.toNumber(e[2])==Ji.ToEven)}break;case Ae.aq.StiFunctionType.Sign:if(r=this.get_category(e[0]),r<=1||8<=r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Sign","1",this.getTypeName(e[0]),"double");else{if(2==r)return Math.sign(+e[0]);if(3==r)return Math.sign(+e[0])}return Math.sign(e[0]);case Ae.aq.StiFunctionType.Sin:return r=this.get_category(+e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Sin","1",this.getTypeName(e[0]),"double"),Math.sin(+e[0]);case Ae.aq.StiFunctionType.Sqrt:return r=this.get_category(+e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Sqrt","1",this.getTypeName(e[0]),"double"),Math.sqrt(+e[0]);case Ae.aq.StiFunctionType.Tan:return r=this.get_category(+e[0]),(r<=1||8<=r)&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Tan","1",this.getTypeName(e[0]),"double"),Math.tan(+e[0]);case Ae.aq.StiFunctionType.Truncate:if(r=this.get_category(+e[0]),r<=1||4<r)this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"Truncate","1",this.getTypeName(e[0]),"double");else if(2==r)return Ne.trunc(+e[0]);return Ne.trunc(+e[0]);case Ae.aq.StiFunctionType.DateDiff:if(1==n||2==n)return Qt.toDateTime(e[0]).subtract(Qt.toDateTime(e[1]));break;case Ae.aq.StiFunctionType.DateSerial:if(1==n)return new z(z.ticksNetToTicksJs(e[0].stimulsoft().toNumber()));if(2==n)return new z(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber(),e[2].stimulsoft().toNumber(),0,0,0,0);break;case Ae.aq.StiFunctionType.TimeSerial:if(1==n)return new lt(Qt.toInt32(e[0]),Qt.toInt32(e[1]),Qt.toInt32(e[2]));break;case Ae.aq.StiFunctionType.Year:if(1==n||2==n)return Qt.toDateTime(e[0]).year;break;case Ae.aq.StiFunctionType.Month:if(1==n||2==n)return Qt.toDateTime(e[0]).month;break;case Ae.aq.StiFunctionType.Day:if(1==n||2==n)return Qt.toDateTime(e[0]).day;break;case Ae.aq.StiFunctionType.Hour:if(1==n||2==n)return Qt.toDateTime(e[0]).hour;break;case Ae.aq.StiFunctionType.Minute:if(1==n||2==n)return Qt.toDateTime(e[0]).minute;break;case Ae.aq.StiFunctionType.Second:if(1==n||2==n)return Qt.toDateTime(e[0]).second;break;case Ae.aq.StiFunctionType.DayOfWeek:switch(n){case 1:return Qc.dayOfWeek(Qt.toDateTime(e[0]));case 3:return Qc.dayOfWeek(Qt.toDateTime(e[0]),e[1].stimulsoft().toBoolean());case 5:return Qc.dayOfWeek(Qt.toDateTime(e[0]),e[1]);case 7:return Qc.dayOfWeek(Qt.toDateTime(e[0]),e[1],e[2].stimulsoft().toBoolean())}break;case Ae.aq.StiFunctionType.DayOfYear:if(1==n||2==n)return Qt.toDateTime(e[0]).dayOfYear;break;case Ae.aq.StiFunctionType.DaysInMonth:switch(n){case 1:return z.daysInMonth(Qt.toDateTime(e[0]).year,Qt.toDateTime(e[0]).month);case 3:return z.daysInMonth(Qt.toInt32(e[0]),Qt.toInt32(e[1]))}break;case Ae.aq.StiFunctionType.DaysInYear:switch(n){case 1:return z.isLeapYear(Qt.toDateTime(e[0]).year)?366:365;case 3:return z.isLeapYear(Qt.toInt32(e[0]))?366:365}break;case Ae.aq.StiFunctionType.MonthName:switch(n){case 1:return Qc.monthName(Qt.toDateTime(e[0]));case 3:return Qc.monthName(Qt.toDateTime(e[0]),e[1]);case 5:return Qc.monthName(Qt.toDateTime(e[0]),e[1]);case 7:return Qc.monthName(Qt.toDateTime(e[0]),e[1],e[2])}break;case Ae.aq.StiFunctionType.WeekOfYear:switch(n){case 1:return Qc.weekOfYear(Qt.toDateTime(e[0]));case 3:return Qc.weekOfYear(Qt.toDateTime(e[0]),e[1]);case 5:return Qc.weekOfYear(Qt.toDateTime(e[0]),e[1],e[2])}break;case Ae.aq.StiFunctionType.WeekOfMonth:switch(n){case 1:return Qc.weekOfMonth(Qt.toDateTime(e[0]));case 3:return Qc.weekOfMonth(Qt.toDateTime(e[0]),e[1]);case 5:return Qc.weekOfMonth(Qt.toDateTime(e[0]),e[1],e[2])}break;case Ae.aq.StiFunctionType.Insert:return Qt.toString(e[0]).stimulsoft().insert(Qt.toNumber(e[1]),Qt.toString(e[2]),0);case Ae.aq.StiFunctionType.Length:return Qt.toString(e[0]).length;case Ae.aq.StiFunctionType.Remove:return Qt.toString(e[0]).stimulsoft().remove(Qt.toNumber(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.Replace:return Qt.toString(e[0]).stimulsoft().replaceAll(Qt.toString(e[1]),Qt.toString(e[2]));case Ae.aq.StiFunctionType.Roman:if(r=this.get_category(e[0]),4<=r&&r<=7)return Ae.am.StiFunctionsStrings.roman(Qt.toNumber(e[0]));break;case Ae.aq.StiFunctionType.Substring:return Qt.toString(e[0]).substr(Qt.toNumber(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.ToLowerCase:return Qt.toString(e[0]).toLowerCase();case Ae.aq.StiFunctionType.ToProperCase:return 1!=e.length&&this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToProperCase",e.length.toString()),r=this.get_category(e[0]),1!=r&&this.throwError(Ae.bb.ParserErrorCode.FunctionHasInvalidArgument,null,"ToProperCase","1",this.getTypeName(e[0]),"string"),Ae.bh.CultureInfo.InvariantCulture.textInfo.toTitleCase(Qt.toString(e[0]).toLowerCase());case Ae.aq.StiFunctionType.ToUpperCase:return Qt.toString(e[0]).toUpperCase();case Ae.aq.StiFunctionType.Trim:return Qt.toString(e[0]).trim();case Ae.aq.StiFunctionType.TryParseDecimal:return!isNaN(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.TryParseDouble:return!isNaN(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.TryParseLong:return!isNaN(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.Arabic:if(r=this.get_category(e[0]),1==r)return Ae.am.StiFunctionsStrings.arabic(Qt.toString(e[0]));if(4<=r&&r<=7)return Ae.am.StiFunctionsStrings.arabic(Qt.toNumber(e[0]));break;case Ae.aq.StiFunctionType.Persian:if(r=this.get_category(e[0]),1==r)return Ae.am.StiFunctionsStrings.persian(Qt.toString(e[0]));if(4<=r&&r<=7)return Ae.am.StiFunctionsStrings.persian(Qt.toNumber(e[0]));break;case Ae.aq.StiFunctionType.ToOrdinal:if(r=this.get_category(e[0]),4<=r&&r<=7)return Ae.am.StiFunctionsStrings.toOrdinal(Qt.toNumber(e[0]));break;case Ae.aq.StiFunctionType.Left:if(1==n)return Ae.am.StiFunctionsStrings.left(Qt.toString(e[0]),Qt.toNumber(e[1]));break;case Ae.aq.StiFunctionType.Right:if(1==n)return Ae.am.StiFunctionsStrings.right(Qt.toString(e[0]),Qt.toNumber(e[1]));break;case Ae.aq.StiFunctionType.Mid:if(1==n)return Ae.am.StiFunctionsStrings.mid(Qt.toString(e[0]),Qt.toNumber(e[1]),Qt.toNumber(e[2]));break;case Ae.aq.StiFunctionType.ToWords:switch(n){case 1:return Ae.am.StiFunctionsStrings.toWords(Qt.toNumber(e[0]));case 4:return Ae.am.StiFunctionsStrings.toWords(Qt.toNumber(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.ToWordsAr:switch(n){case 1:return Ae.am.StiFunctionsStrings.toWordsAr(Qt.toNumber(e[0]))}break;case Ae.aq.StiFunctionType.ToWordsEs:switch(n){case 1:return Ae.am.StiFunctionsStrings.toWordsEs(Qt.toNumber(e[0]),Qt.toBoolean(e[1]));case 2:return Ae.am.StiFunctionsStrings.toWordsEs2(Qt.toNumber(e[0]),Qt.toBoolean(e[1]),Qt.toBoolean(e[2]))}break;case Ae.aq.StiFunctionType.ToWordsEnIn:return Ae.am.StiFunctionsStrings.toWordsEnIn(Qt.toNumber(e[0]),Qt.toBoolean(e[1]));case Ae.aq.StiFunctionType.ToWordsFa:return Ae.am.StiFunctionsStrings.toWordsFa(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.ToWordsPl:return Ae.am.StiFunctionsStrings.toWordsPl(Qt.toNumber(e[0]),Qt.toBoolean(e[1]));case Ae.aq.StiFunctionType.ToWordsPt:return Ae.am.StiFunctionsStrings.toWordsPt(Qt.toNumber(e[0]),Qt.toBoolean(e[1]));case Ae.aq.StiFunctionType.ToWordsRu:switch(n){case 1:return Ae.am.StiFunctionsStrings.toWordsRu(Qt.toNumber(e[0]));case 4:return Ae.am.StiFunctionsStrings.toWordsRu(Qt.toNumber(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.ToWordsTr:return Ae.am.StiFunctionsStrings.toWordsTr(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.ToWordsUa:switch(n){case 1:return Ae.am.StiFunctionsStrings.toWordsUa(Qt.toNumber(e[0]));case 4:return Ae.am.StiFunctionsStrings.toWordsUa(Qt.toNumber(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.ToCurrencyWords:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWords(Qt.toNumber(e[0]),!0,!0);case 4:return Ae.am.StiFunctionsStrings.toCurrencyWords(Qt.toNumber(e[0]),!0,Qt.toBoolean(e[1]));case 7:return Ae.am.StiFunctionsStrings.toCurrencyWords(Qt.toNumber(e[0]),Qt.toBoolean(e[1]),Qt.toBoolean(e[2]));case 10:return Ae.am.StiFunctionsStrings.toCurrencyWords(Qt.toNumber(e[0]),Qt.toBoolean(e[1]),Qt.toBoolean(e[2]),Qt.toString(e[3]),Qt.toString(e[4]))}break;case Ae.aq.StiFunctionType.ToCurrencyWordsAr:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsAr(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toString(e[2]))}break;case Ae.aq.StiFunctionType.ToCurrencyWordsEnGb:return Ae.am.StiFunctionsStrings.toCurrencyWordsEnGb(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.ToCurrencyWordsEnIn:return Ae.am.StiFunctionsStrings.toCurrencyWordsEnIn(Qt.toString(e[0]),Qt.toString(e[1]),Qt.toNumber(e[2]),Qt.toNumber(e[3]),Qt.toBoolean(e[4]));case Ae.aq.StiFunctionType.ToCurrencyWordsEs:return Ae.am.StiFunctionsStrings.toCurrencyWordsEs(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.ToCurrencyWordsFr:return Ae.am.StiFunctionsStrings.toCurrencyWordsFr(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.ToCurrencyWordsNl:return Ae.am.StiFunctionsStrings.toCurrencyWordsNl(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toNumber(e[2]));case Ae.aq.StiFunctionType.ToCurrencyWordsPl:return Ae.am.StiFunctionsStrings.toCurrencyWordsPl(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toBoolean(e[2]),Qt.toBoolean(e[3]));case Ae.aq.StiFunctionType.ToCurrencyWordsPt:return Ae.am.StiFunctionsStrings.toCurrencyWordsPt(Qt.toNumber(e[0]),Qt.toBoolean(e[1]),Qt.toBoolean(e[2]));case Ae.aq.StiFunctionType.ToCurrencyWordsPtBr:return Ae.am.StiFunctionsStrings.toCurrencyWordsPtBr(Qt.toNumber(e[0]));case Ae.aq.StiFunctionType.ToCurrencyWordsRu:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsRu(Qt.toNumber(e[0]));case 4:return Ae.am.StiFunctionsStrings.toCurrencyWordsRu(Qt.toNumber(e[0]),!0,"RUR",Qt.toBoolean(e[1]));case 7:return Ae.am.StiFunctionsStrings.toCurrencyWordsRu(Qt.toNumber(e[0]),!0,Qt.toString(e[2]),Qt.toBoolean(e[1]));case 10:return Ae.am.StiFunctionsStrings.toCurrencyWordsRu(Qt.toNumber(e[0]),Qt.toBoolean(e[2]),Qt.toString(e[1]),!0)}break;case Ae.aq.StiFunctionType.ToCurrencyWordsThai:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsThai(Qt.toNumber(e[0]))}break;case Ae.aq.StiFunctionType.ToCurrencyWordsTr:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsTr(Qt.toNumber(e[0]));case 2:return Ae.am.StiFunctionsStrings.toCurrencyWordsTr2(Qt.toNumber(e[0]),Qt.toString(e[1]),Qt.toBoolean(e[2]))}break;case Ae.aq.StiFunctionType.ToCurrencyWordsUa:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsUa(Qt.toNumber(e[0]));case 4:return Ae.am.StiFunctionsStrings.toCurrencyWordsUa(Qt.toNumber(e[0]),!0,"UAH",Qt.toBoolean(e[1]));case 7:return Ae.am.StiFunctionsStrings.toCurrencyWordsUa(Qt.toNumber(e[0]),!0,Qt.toString(e[2]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.ToCurrencyWordsZh:switch(n){case 1:return Ae.am.StiFunctionsStrings.toCurrencyWordsZh(Qt.toNumber(e[0]))}break;case Ae.aq.StiFunctionType.DateToStr:switch(n){case 1:return Ae.am.StiFunctionsStrings.dateToStr(Qt.toDateTime(e[0]));case 3:return Ae.am.StiFunctionsStrings.dateToStr(Qt.toDateTime(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.DateToStrPl:return Ae.am.StiFunctionsStrings.dateToStrPl(Qt.toDateTime(e[0]),Qt.toBoolean(e[1]));case Ae.aq.StiFunctionType.DateToStrRu:switch(n){case 1:return Ae.am.StiFunctionsStrings.dateToStrRu(Qt.toDateTime(e[0]));case 2:return Ae.am.StiFunctionsStrings.dateToStrRu(Qt.toDateTime(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.DateToStrUa:switch(n){case 1:return Ae.am.StiFunctionsStrings.dateToStrUa(Qt.toDateTime(e[0]));case 2:return Ae.am.StiFunctionsStrings.dateToStrUa(Qt.toDateTime(e[0]),Qt.toBoolean(e[1]))}break;case Ae.aq.StiFunctionType.DateToStrPt:return Ae.am.StiFunctionsStrings.DateToStrPt(Qt.toDateTime(e[0]));case Ae.aq.StiFunctionType.DateToStrPtBr:return Ae.am.StiFunctionsStrings.dateToStrPtBr(Qt.toDateTime(e[0]));case Ae.aq.StiFunctionType.StringIsNullOrEmpty:if(1==n)return De.isNullOrEmpty(Qt.toString(e[0]));break;case Ae.aq.StiFunctionType.StringIsNullOrWhiteSpace:if(1==n)return De.isNullOrWhiteSpace(Qt.toString(e[0]));break;case Ae.aq.StiFunctionType.StrToDateTime:if(1==n){var u={ref:null};return Ae.d.StringExt.tryParseDateTime(Qt.toString(e[0]),u),u.ref}break;case Ae.aq.StiFunctionType.StrToNullableDateTime:if(1==n){var u={ref:null};return Ae.d.StringExt.tryParseDateTime(Qt.toString(e[0]),u)?u.ref:null}break;case Ae.aq.StiFunctionType.IsNull:if(1==n)return Ae.am.StiFunctionsPrintState.isNull(e[0],Qt.toString(e[1]));break;case Ae.aq.StiFunctionType.Next:if(1==n)return Ae.am.StiFunctionsPrintState.next(e[0],Qt.toString(e[1]));break;case Ae.aq.StiFunctionType.NextIsNull:if(1==n)return Ae.am.StiFunctionsPrintState.nextIsNull(e[0],Qt.toString(e[1]));break;case Ae.aq.StiFunctionType.Previous:if(1==n)return Ae.am.StiFunctionsPrintState.previous(e[0],Qt.toString(e[1]));break;case Ae.aq.StiFunctionType.PreviousIsNull:if(1==n)return Ae.am.StiFunctionsPrintState.previousIsNull(e[0],Qt.toString(e[1]));break;case Ae.aq.StiFunctionType.IIF:return Qt.toBoolean(e[0])?e[1]:e[2];case Ae.aq.StiFunctionType.Choose:r=this.get_category(e[0]);var h=Qt.toNumber(e[0]);if(0<h&&h<e.length)return e[h];return null;case Ae.aq.StiFunctionType.Switch:{let t=0;while(t+1<e.length){if(Qt.toBoolean(e[t]))return e[t+1];t+=2}return null}case Ae.aq.StiFunctionType.ToString:if(null==e[0]||e[0]==No.value)return"";if(r=this.get_category(e[0]),1==r)return Qt.toString(e[0]);if(2==r||3==r){let t=Qt.toNumber(e[0]);return 1==e.length?t.toString():De.customFormat(t,Qt.toString(e[1]))}if(4==r||6==r){let t=Qt.toNumber(e[0]);return 1==e.length?t.toString():De.customFormat(t,Qt.toString(e[1]))}if(5==r||7==r){let t=Qt.toNumber(e[0]);return 1==e.length?t.toString():De.customFormat(t,Qt.toString(e[1]))}if(8==r){let t=Qt.toDateTime(e[0]);return 1==e.length?t.toString():De.format(Qt.toString(e[1]),t.toString)}return(9==r?Qt.toBoolean(e[0]):e[0]).toString();case Ae.aq.StiFunctionType.Format:return r=this.get_category(e[0]),r,De.format(Qt.toString(e[0]),e[1]);case Ae.aq.StiFunctionType.SystemConvertToBoolean:return Ae.b.Convert.toBoolean(e[0]);case Ae.aq.StiFunctionType.SystemConvertToByte:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToChar:return Ae.b.Convert.toString(e[0]);case Ae.aq.StiFunctionType.SystemConvertToDateTime:return Ae.b.Convert.toDateTime(e[0]);case Ae.aq.StiFunctionType.SystemConvertToDecimal:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToDouble:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToInt16:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToInt32:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToInt64:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToSByte:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToSingle:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToString:return Ae.b.Convert.toString(e[0]);case Ae.aq.StiFunctionType.SystemConvertToUInt16:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToUInt32:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.SystemConvertToUInt64:return Ae.b.Convert.toNumber(e[0]);case Ae.aq.StiFunctionType.MathRound:switch(n){case 1:return Ne.round2(Qt.toNumber(e[0]));case 2:return Qt.toNumber(e[1])==Ji.ToEven||Qt.toNumber(e[1])==Ji.AwayFromZero?Ne.roundToEven(Qt.toNumber(e[0]),0,Qt.toNumber(e[1])==Ji.ToEven):Ne.round2(Qt.toNumber(e[0]),Qt.toNumber(e[1]));case 4:return Ne.roundToEven(Qt.toNumber(e[0]),Qt.toNumber(e[1]),Qt.toNumber(e[2])==Ji.ToEven)}break;case Ae.aq.StiFunctionType.MathPow:switch(n){case 1:return Math.pow(Qt.toNumber(e[0]),Qt.toNumber(e[1]))}break;case Ae.aq.StiFunctionType.ConvertRtf:var h=ke.create(Object,e.length);return e.stimulsoft().copyTo(h),null;case Ae.aq.StiFunctionType.GetAnchorPageNumber:switch(n){case 1:return this.report.getAnchorPageNumber(e[0])}break;case Ae.aq.StiFunctionType.GetAnchorPageNumberThrough:switch(n){case 1:return this.report.getAnchorPageNumberThrough(e[0])}break;case Ae.aq.StiFunctionType.ParseTimeSpan:switch(n){case 1:return lt.fromString(Qt.toString(e[0]))}break;case Ae.aq.StiFunctionType.ParseDateTime:switch(n){case 1:return Qt.toDateTime(Qt.toString(e[0]))}break;case Ae.aq.StiFunctionType.ParseDecimal:switch(n){case 1:return Qt.toNumber(Qt.toString(e[0]))}break;case Ae.aq.StiFunctionType.ParseDouble:switch(n){case 1:return Qt.toNumber(Qt.toString(e[0]))}break;case Ae.aq.StiFunctionType.ParseInt:switch(n){case 1:return Qt.toNumber(Qt.toString(e[0]))}break;case Ae.aq.StiFunctionType.EngineHelperJoinColumnContent:switch(n){case 1:return Ae.av.EngineHelper.joinColumnContent(e[0],Qt.toString(e[1]),Qt.toString(e[2]));case 2:return Ae.av.EngineHelper.joinColumnContent(e[0],Qt.toString(e[1]),Qt.toString(e[2]));case 3:return Ae.av.EngineHelper.joinColumnContent(e[0],Qt.toString(e[1]),Qt.toString(e[2]),Qt.toBoolean(e[3]));case 4:return Ae.av.EngineHelper.joinColumnContent(e[0],Qt.toString(e[1]),Qt.toString(e[2]),Qt.toBoolean(e[3]))}break;case Ae.aq.StiFunctionType.EngineHelperToQueryString:switch(n){case 1:if(ke.isArray(e[0]))try{let t=[];for(l of e[0])t.push(l);return Ae.av.EngineHelper.toQueryString(t,Qt.toString(e[1]),Qt.toString(e[2]))}catch(t){Ae.b.StiError.showError(t,!1)}break}break;case Ae.aq.StiFunctionType.GetLabel:return this.report.getLabel(Qt.toString(e[0]));case Ae.aq.StiFunctionType.GetParam:return this.report.getParam(Qt.toString(e[0]))}if(s>=Ae.aq.StiFunctionType.rCount&&s<=Ae.aq.StiFunctionType.rLast||s>=Ae.aq.StiFunctionType.riCount&&s<=Ae.aq.StiFunctionType.riLast||s>=Ae.aq.StiFunctionType.cCount&&s<=Ae.aq.StiFunctionType.cLast||s>=Ae.aq.StiFunctionType.crCount&&s<=Ae.aq.StiFunctionType.crLast||s>=Ae.aq.StiFunctionType.ciCount&&s<=Ae.aq.StiFunctionType.ciLast||s>=Ae.aq.StiFunctionType.criCount&&Ae.aq.StiFunctionType.criLast,s>=Ae.aq.StiFunctionType.UserFunction){let n=null;for(var c of this.userFunctionsList.keys)if(this.userFunctionsList.get(c)==s){n=c;break}if(null!=n){var d=e.length,m,p;let r=[],i=[];for(let t=0;t<e.length;t++)null==e[t]?r.push(Object):r.push(e[t].stimulsoft().getType()),i.push(e[t]);for(p of Jc.getFunctions(!1)){if(p.functionName!=n)continue;if((null!=p.argumentTypes?p.argumentTypes.length:0)!=d)continue;let e=!0;for(let t=0;t<d;t++){if(Ae.bb.StiParser_Check.isImplicitlyCastableTo(r[t],p.argumentTypes[t]))continue;e=!1;break}if(e){if(null!=p.jsFunction)return p.jsFunction.apply(null,i);if(!De.isNullOrEmpty(p.typeOfFunction)){let t=null===(a=Ae.d.StiActivator.createObject2(p.typeOfFunction))||void 0===a?void 0:a.constructor;var a=n.charAt(0).toLowerCase()+n.slice(1);if(a in t)return t[a](...i)}}}}}return null}},Ae.bb.StiParser_Parser=class extends Ae.bb.StiParser_AsmFunctions{constructor(){super(...arguments),this.currentToken=null,this.asmList=null}eval_exp(){if(this.tokenPos=0,0==this.tokensList.length)return void this.throwError(Ae.bb.ParserErrorCode.ExpressionIsEmpty);this.eval_exp0(),this.tokenPos<=this.tokensList.length&&this.throwError(Ae.bb.ParserErrorCode.UnprocessedLexemesRemain)}eval_exp0(){this.get_token(),this.eval_exp01()}eval_exp01(){if(this.currentToken.type==Ae.aq.StiTokenType.Variable){var t=this.currentToken;if(this.get_token(),this.currentToken.type==Ae.aq.StiTokenType.Assign)return this.get_token(),this.eval_exp1(),void this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CopyToVariable,t.value));this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1]}this.eval_exp1()}eval_exp1(){if(this.eval_exp10(),this.currentToken.type==Ae.aq.StiTokenType.Question){this.get_token();let t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.JumpFalse,0,null);this.asmList.push(t);var r=this.asmList.length;this.eval_exp10(),this.currentToken.type!=Ae.aq.StiTokenType.Colon&&this.throwError(Ae.bb.ParserErrorCode.SyntaxError,this.currentToken);let e=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Jump,0,null);this.asmList.push(e);var i=this.asmList.length;this.get_token(),this.eval_exp10(),t.parameter1=i-r,e.parameter1=this.asmList.length-i}}eval_exp10(){this.eval_exp11();while(this.currentToken.type==Ae.aq.StiTokenType.DoubleOr)this.get_token(),this.eval_exp11(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Or2))}eval_exp11(){this.eval_exp12();while(this.currentToken.type==Ae.aq.StiTokenType.DoubleAnd)this.get_token(),this.eval_exp12(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.And2))}eval_exp12(){this.eval_exp14();while(this.currentToken.type==Ae.aq.StiTokenType.Or)this.get_token(),this.eval_exp14(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Or))}eval_exp14(){this.eval_exp15(),this.currentToken.type==Ae.aq.StiTokenType.Xor&&(this.get_token(),this.eval_exp15(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Xor)))}eval_exp15(){this.eval_exp16();while(this.currentToken.type==Ae.aq.StiTokenType.And)this.get_token(),this.eval_exp16(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.And))}eval_exp16(){if(this.eval_exp17(),this.currentToken.type==Ae.aq.StiTokenType.Equal||this.currentToken.type==Ae.aq.StiTokenType.NotEqual){let t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CompareEqual);this.currentToken.type==Ae.aq.StiTokenType.NotEqual&&(t.type=Ae.aq.StiAsmCommandType.CompareNotEqual),this.get_token(),this.eval_exp17(),this.asmList.push(t)}}eval_exp17(){if(this.eval_exp18(),this.currentToken.type==Ae.aq.StiTokenType.Left||this.currentToken.type==Ae.aq.StiTokenType.LeftEqual||this.currentToken.type==Ae.aq.StiTokenType.Right||this.currentToken.type==Ae.aq.StiTokenType.RightEqual){let t=null;this.currentToken.type==Ae.aq.StiTokenType.Left&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CompareLeft)),this.currentToken.type==Ae.aq.StiTokenType.LeftEqual&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CompareLeftEqual)),this.currentToken.type==Ae.aq.StiTokenType.Right&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CompareRight)),this.currentToken.type==Ae.aq.StiTokenType.RightEqual&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.CompareRightEqual)),this.get_token(),this.eval_exp18(),this.asmList.push(t)}}eval_exp18(){if(this.eval_exp2(),this.currentToken.type==Ae.aq.StiTokenType.Shl||this.currentToken.type==Ae.aq.StiTokenType.Shr){let t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Shl);this.currentToken.type==Ae.aq.StiTokenType.Shr&&(t.type=Ae.aq.StiAsmCommandType.Shr),this.get_token(),this.eval_exp2(),this.asmList.push(t)}}eval_exp2(){this.eval_exp3();while(this.currentToken.type==Ae.aq.StiTokenType.Plus||this.currentToken.type==Ae.aq.StiTokenType.Minus){var t=this.currentToken;this.get_token(),this.eval_exp3(),t.type==Ae.aq.StiTokenType.Minus?this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Sub)):t.type==Ae.aq.StiTokenType.Plus&&this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Add))}}eval_exp3(){this.eval_exp4();while(this.currentToken.type==Ae.aq.StiTokenType.Mult||this.currentToken.type==Ae.aq.StiTokenType.Div||this.currentToken.type==Ae.aq.StiTokenType.Percent){var t=this.currentToken;this.get_token(),this.eval_exp4(),t.type==Ae.aq.StiTokenType.Mult?this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Mult)):t.type==Ae.aq.StiTokenType.Div&&this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Div)),t.type==Ae.aq.StiTokenType.Percent&&this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Mod))}}eval_exp4(){this.eval_exp5()}eval_exp5(){let t=null;this.currentToken.type!=Ae.aq.StiTokenType.Plus&&this.currentToken.type!=Ae.aq.StiTokenType.Minus&&this.currentToken.type!=Ae.aq.StiTokenType.Not||(this.currentToken.type==Ae.aq.StiTokenType.Minus&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Neg)),this.currentToken.type==Ae.aq.StiTokenType.Not&&(t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Not)),this.get_token()),this.eval_exp6(),null!=t&&this.asmList.push(t)}eval_exp6(){var t;this.currentToken.type==Ae.aq.StiTokenType.LParenthesis?(this.get_token(),this.currentToken.type==Ae.aq.StiTokenType.Cast?(t=this.currentToken.valueObject,this.get_token(),this.currentToken.type!=Ae.aq.StiTokenType.RParenthesis&&this.throwError(Ae.bb.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.eval_exp5(),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.Cast,t))):(this.eval_exp1(),this.currentToken.type!=Ae.aq.StiTokenType.RParenthesis&&this.throwError(Ae.bb.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.currentToken.type==Ae.aq.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==Ae.aq.StiTokenType.LBracket&&this.eval_exp62())):this.eval_exp62()}eval_exp62(){if(this.currentToken.type==Ae.aq.StiTokenType.LBracket){let t=0;while(0==t||this.currentToken.type==Ae.aq.StiTokenType.Comma)this.get_token(),this.eval_exp1(),t++;this.currentToken.type!=Ae.aq.StiTokenType.RBracket&&this.throwError(Ae.bb.ParserErrorCode.SyntaxError,this.currentToken),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushArrayElement,t+1)),this.get_token(),this.currentToken.type==Ae.aq.StiTokenType.LBracket&&this.eval_exp62(),this.currentToken.type==Ae.aq.StiTokenType.Dot&&(this.get_token(),this.eval_exp7())}else this.eval_exp7()}eval_exp7(){this.atom(),this.currentToken.type==Ae.aq.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==Ae.aq.StiTokenType.LBracket&&this.eval_exp62()}atom(){if(this.currentToken.type==Ae.aq.StiTokenType.Variable)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushVariable,this.currentToken.value)),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.SystemVariable)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushSystemVariable,Ae.bb.StiParser_Properties.systemVariablesList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.Function){var r=this.currentToken;let t;var i=Ae.bb.StiParser_Properties.functionsList.get(r.value);t=null!=i?i:this.userFunctionsList.get(r.value);let e=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushFunction,t,this.get_args_count(t));return e.position=this.expressionPosition+r.position,e.length=r.length,this.asmList.push(e),void this.get_token()}if(this.currentToken.type==Ae.aq.StiTokenType.Method){var e=this.currentToken,e=Ae.bb.StiParser_Properties.methodsList.get(e.value);return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushMethod,e,this.get_args_count(e)+1)),void this.get_token()}if(this.currentToken.type==Ae.aq.StiTokenType.Property){var e=this.currentToken;let t=Ae.bb.StiParser_Properties.propertiesList.get(e.value);return null==t&&(t=e.value),this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushProperty,t)),void this.get_token()}if(this.currentToken.type==Ae.aq.StiTokenType.DataSourceField)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushDataSourceField,this.currentToken.value,this.currentToken.valueObject)),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.BusinessObjectField){let t=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushBusinessObjectField,this.currentToken.value);return t.position=this.expressionPosition+this.currentToken.position,t.length=this.currentToken.length,this.asmList.push(t),void this.get_token()}if(this.currentToken.type==Ae.aq.StiTokenType.Component)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushComponent,this.componentsList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.Number)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.String)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();if(this.currentToken.type==Ae.aq.StiTokenType.Char)return this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();this.currentToken.type==Ae.aq.StiTokenType.Empty&&this.throwError(Ae.bb.ParserErrorCode.UnexpectedEndOfExpression),this.throwError(Ae.bb.ParserErrorCode.SyntaxError,this.currentToken)}get_args_count(t){let i=-1,e=!1;null!=this.currentToken&&(i=this.currentToken.position,e=this.currentToken.value.stimulsoft().startsWith("Totals."));let n=this.get_args();var r=t,a,s;if((r==Ae.aq.StiFunctionType.Count||r==Ae.aq.StiFunctionType.rCount||r==Ae.aq.StiFunctionType.cCount||r==Ae.aq.StiFunctionType.crCount||r==Ae.aq.StiFunctionType.pCount||r==Ae.aq.StiFunctionType.prCount)&&0==n.length||(r>=Ae.aq.StiFunctionType.CountDistinct&&r<=Ae.aq.StiFunctionType.Last||r>=Ae.aq.StiFunctionType.rCountDistinct&&r<=Ae.aq.StiFunctionType.rLast||r>=Ae.aq.StiFunctionType.cCountDistinct&&r<=Ae.aq.StiFunctionType.cLast||r>=Ae.aq.StiFunctionType.crCountDistinct&&r<=Ae.aq.StiFunctionType.crLast||r>=Ae.aq.StiFunctionType.pCountDistinct&&r<=Ae.aq.StiFunctionType.pLast||r>=Ae.aq.StiFunctionType.prCountDistinct&&r<=Ae.aq.StiFunctionType.prLast)&&1==n.length||(r==Ae.aq.StiFunctionType.iCount||r==Ae.aq.StiFunctionType.riCount||r==Ae.aq.StiFunctionType.ciCount||r==Ae.aq.StiFunctionType.criCount||r==Ae.aq.StiFunctionType.piCount||r==Ae.aq.StiFunctionType.priCount)&&1==n.length||(r>=Ae.aq.StiFunctionType.iCountDistinct&&r<=Ae.aq.StiFunctionType.iLast||r>=Ae.aq.StiFunctionType.riCountDistinct&&r<=Ae.aq.StiFunctionType.riLast||r>=Ae.aq.StiFunctionType.ciCountDistinct&&r<=Ae.aq.StiFunctionType.ciLast||r>=Ae.aq.StiFunctionType.criCountDistinct&&r<=Ae.aq.StiFunctionType.criLast||r>=Ae.aq.StiFunctionType.piCountDistinct&&r<=Ae.aq.StiFunctionType.piLast||r>=Ae.aq.StiFunctionType.priCountDistinct&&r<=Ae.aq.StiFunctionType.priLast)&&2==n.length){let t=this.component.getGroupHeaderBand();null==t&&(t=this.component.getDataBand());let e=[],r=new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushComponent,t);r.position=this.expressionPosition+i,e.push(r),n.stimulsoft().insert(0,e)}if(!(0<n.length&&0<n[0].length&&n[0][0].type==Ae.aq.StiAsmCommandType.PushComponent&&null!=n[0][0].parameter1&&n[0][0].parameter1.stimulsoft().is(Ae.ap.StiGroupHeaderBand))&&!e&&(r>=Ae.aq.StiFunctionType.Count&&r<=Ae.aq.StiFunctionType.Last||r>=Ae.aq.StiFunctionType.rCount&&r<=Ae.aq.StiFunctionType.rLast||r>=Ae.aq.StiFunctionType.iCount&&r<=Ae.aq.StiFunctionType.iLast||r>=Ae.aq.StiFunctionType.riCount&&r<=Ae.aq.StiFunctionType.riLast||r>=Ae.aq.StiFunctionType.cCount&&r<=Ae.aq.StiFunctionType.cLast||r>=Ae.aq.StiFunctionType.crCount&&r<=Ae.aq.StiFunctionType.crLast||r>=Ae.aq.StiFunctionType.ciCount&&r<=Ae.aq.StiFunctionType.ciLast||r>=Ae.aq.StiFunctionType.criCount&&r<=Ae.aq.StiFunctionType.criLast||r>=Ae.aq.StiFunctionType.pCount&&r<=Ae.aq.StiFunctionType.pLast||r>=Ae.aq.StiFunctionType.prCount&&r<=Ae.aq.StiFunctionType.prLast||r>=Ae.aq.StiFunctionType.piCount&&r<=Ae.aq.StiFunctionType.piLast||r>=Ae.aq.StiFunctionType.priCount&&r<=Ae.aq.StiFunctionType.priLast)){var o=this.component.getGroupHeaderBand();if(null!=o){let t=[];t.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushComponent,o)),n[0]=t}}if((r>=Ae.aq.StiFunctionType.pCount&&r<=Ae.aq.StiFunctionType.pLast||r>=Ae.aq.StiFunctionType.prCount&&r<=Ae.aq.StiFunctionType.prLast||r>=Ae.aq.StiFunctionType.piCount&&r<=Ae.aq.StiFunctionType.piLast||r>=Ae.aq.StiFunctionType.priCount&&r<=Ae.aq.StiFunctionType.priLast)&&0<n.length){let t=n[0];if(null!=t&&0<t.length&&t[0].type==Ae.aq.StiAsmCommandType.PushComponent&&t[0].parameter1.stimulsoft().is(Ae.ap.StiBand)){var l=t[0].parameter1.name;if(null==this.report.dataBandsUsedInPageTotals)this.report.dataBandsUsedInPageTotals=[],this.report.dataBandsUsedInPageTotals[0]=l;else{let t=!1;for(var u of this.report.dataBandsUsedInPageTotals)if(u==l){t=!0;break}if(!t){let e=[];for(let t=0;t<this.report.dataBandsUsedInPageTotals.length;t++)e[t]=this.report.dataBandsUsedInPageTotals[t];e[this.report.dataBandsUsedInPageTotals.length]=l,this.report.dataBandsUsedInPageTotals=e}}}}let h=0;Ae.bb.StiParser_Properties.parametersList.contains(t)&&(h=Ae.bb.StiParser_Properties.parametersList.get(t));let c=1;for(s of n)0<(h&c)?this.asmList.push(new Ae.bb.StiAsmCommand(Ae.aq.StiAsmCommandType.PushValue,s)):this.asmList.stimulsoft().addRange(s),c<<=1;return n.length}get_args(){let t=[];if(this.get_token(),this.currentToken.type!=Ae.aq.StiTokenType.LParenthesis&&this.throwError(Ae.bb.ParserErrorCode.LeftParenthesisExpected),this.get_token(),this.currentToken.type==Ae.aq.StiTokenType.RParenthesis)return t;this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1];var e=this.asmList;do{this.asmList=new Array,this.eval_exp0(),t.push(this.asmList)}while(this.currentToken.type==Ae.aq.StiTokenType.Comma);return this.asmList=e,this.currentToken.type!=Ae.aq.StiTokenType.RParenthesis&&this.throwError(Ae.bb.ParserErrorCode.RightParenthesisExpected),t}get_token(){this.tokenPos<this.tokensList.length?this.currentToken=this.tokensList[this.tokenPos]:this.currentToken=new Ae.bb.StiToken,this.tokenPos++}},Ae.aq.StiParserParameters=class{constructor(){this.executeIfStoreToPrint=!0,this.globalizedNameExt=""}};let Kc=Ae.ap.StiProcessAt,Zc=Ae.aq.StiParserParameters;{Ae.bb.StiParserData=class{constructor(t,e,r,i=null){this.data=null,this.asmList=null,this.asmList2=null,this.conditionAsmList=null,this.parser=null,this.data=t,this.asmList=e,this.parser=r,this.conditionAsmList=i}},Ae.bb.StiFilterParserData=class{constructor(t,e){this.component=t,this.expression=e}},Ae.bb.StiToken=class{constructor(t=Ae.aq.StiTokenType.Empty,e=-1,r=-1){this.type=Ae.aq.StiTokenType.Empty,this.position=-1,this.length=-1,this.type=t,this.position=e,this.length=r}toString(){return De.format("TokenType={0}{1}",this.type.stimulsoft().getType().stimulsoft().getNetTypeName(),null!=this.value?De.format(', value="{0}"',this.value):"")}};let l=class{constructor(t,e=null,r=null){this.position=-1,this.length=-1,this.type=t,this.parameter1=e,this.parameter2=r}toString(){return De.format("{0}({1},{2})",Ae.b.Enum.getName(Ae.aq.StiAsmCommandType,this.type),null!=this.parameter1?this.parameter1.toString():"null",null!=this.parameter2?this.parameter2.toString():"null")}};Ae.bb.StiAsmCommand=l,Ae.bb.StiParserGetDataFieldValueEventArgs=class{constructor(t,e){this.dataSourceName=t,this.dataColumnName=e}};let u=class extends Ae.bb.StiParser_Parser{constructor(){super(...arguments),this.sender=null}executeAsm(t){var r=t;if(null==r||0==r.length)return null;let s=[],i=null,n=0,a=0;for(let t=0;t<r.length;t++){let e=r[t];switch(e.type){case Ae.aq.StiAsmCommandType.PushValue:s.push(e.parameter1);break;case Ae.aq.StiAsmCommandType.PushVariable:s.push(this.getVariableValue(e.parameter1));break;case Ae.aq.StiAsmCommandType.PushSystemVariable:s.push(this.get_systemVariable(e.parameter1));break;case Ae.aq.StiAsmCommandType.PushComponent:s.push(e.parameter1);break;case Ae.aq.StiAsmCommandType.CopyToVariable:this.report.setVariable(e.parameter1,s[s.length-1]);break;case Ae.aq.StiAsmCommandType.PushFunction:i=[];for(let t=0;t<e.parameter2;t++)i.push(s.pop());i.reverse(),s.push(this.call_func(e.parameter1,i));break;case Ae.aq.StiAsmCommandType.PushMethod:i=[];for(let t=0;t<e.parameter2;t++)i.push(s.pop());i.reverse(),s.push(this.call_method(e.parameter1,i));break;case Ae.aq.StiAsmCommandType.PushProperty:i=[],i.push(s.pop()),s.push(this.call_property(e.parameter1,i));break;case Ae.aq.StiAsmCommandType.PushDataSourceField:{let n=null;n=ke.isArray(e.parameter2)?e.parameter2:e.parameter1.split(".");let a=this.report.dictionary.dataSources.getByName(n[0]);if(a.is(Ae.am.StiVirtualSource)&&2<n.length&&!a.columns.contains(n[1])){let t=n[1]+"."+n[2];a.columns.contains(t)?(n[1]=t,n.stimulsoft().removeAt(2)):3<n.length&&(t+="."+n[3],a.columns.contains(t)&&(n[1]=t,n.stimulsoft().removeAt(2),n.stimulsoft().removeAt(2)))}if(1<n.length)if(2==n.length){let t=a.columns.getByName(n[1]);null!=t&&t.is(Ae.am.StiCalcDataColumn)?s.push(u.parseTextValue("{"+t.expression+"}",this.component)):s.push(Ae.c.StiReport.changeType(a.getData(n[1]),t.type,this.report.convertNulls))}else{var o=n[1];let e=a.getParentData(o);a=a.getParentDataSource(o);let r=2;while(r<n.length-1)o=n[r],e=e.getParentData(o),a=a.getParentDataSource(o),r++;let i=a.columns.getByName(n[r]);if(null!=i&&i.is(Ae.am.StiCalcDataColumn))s.push(u.parseTextValue("{"+i.expression+"}",this.component));else{let t=null;null!=e&&(t=e.getByColumnName(n[r])),s.push(Ae.c.StiReport.changeType(t,i.type,this.report.convertNulls))}}else s.push(a);break}case Ae.aq.StiAsmCommandType.PushBusinessObjectField:break;case Ae.aq.StiAsmCommandType.PushArrayElement:i=[];for(let t=0;t<e.parameter1.stimulsoft().toNumber();t++)i.push(s.pop());i.reverse(),s.push(this.call_arrayElement(i));break;case Ae.aq.StiAsmCommandType.Jump:t+=e.parameter1.stimulsoft().toNumber();break;case Ae.aq.StiAsmCommandType.JumpTrue:s.pop()&&(t+=e.parameter1.stimulsoft().toNumber());break;case Ae.aq.StiAsmCommandType.JumpFalse:s.pop()||(t+=e.parameter1.stimulsoft().toNumber());break;case Ae.aq.StiAsmCommandType.Add:a=s.pop(),n=s.pop(),s.push(this.op_Add(n,a));break;case Ae.aq.StiAsmCommandType.Sub:a=s.pop(),n=s.pop(),s.push(this.op_Sub(n,a));break;case Ae.aq.StiAsmCommandType.Mult:a=s.pop(),n=s.pop(),s.push(this.op_Mult(n,a));break;case Ae.aq.StiAsmCommandType.Div:a=s.pop(),n=s.pop(),s.push(this.op_Div(n,a));break;case Ae.aq.StiAsmCommandType.Mod:a=s.pop(),n=s.pop(),s.push(this.op_Mod(n,a));break;case Ae.aq.StiAsmCommandType.Power:a=s.pop(),n=s.pop(),s.push(this.op_Pow(n,a));break;case Ae.aq.StiAsmCommandType.Neg:n=s.pop(),s.push(this.op_Neg(n));break;case Ae.aq.StiAsmCommandType.Cast:n=s.pop(),a=e.parameter1,s.push(this.op_Cast(n,a));break;case Ae.aq.StiAsmCommandType.Not:n=s.pop(),s.push(this.op_Not(n));break;case Ae.aq.StiAsmCommandType.CompareLeft:a=s.pop(),n=s.pop(),s.push(this.op_CompareLeft(n,a));break;case Ae.aq.StiAsmCommandType.CompareLeftEqual:a=s.pop(),n=s.pop(),s.push(this.op_CompareLeftEqual(n,a));break;case Ae.aq.StiAsmCommandType.CompareRight:a=s.pop(),n=s.pop(),s.push(this.op_CompareRight(n,a));break;case Ae.aq.StiAsmCommandType.CompareRightEqual:a=s.pop(),n=s.pop(),s.push(this.op_CompareRightEqual(n,a));break;case Ae.aq.StiAsmCommandType.CompareEqual:a=s.pop(),n=s.pop(),s.push(this.op_CompareEqual(n,a));break;case Ae.aq.StiAsmCommandType.CompareNotEqual:a=s.pop(),n=s.pop(),s.push(this.op_CompareNotEqual(n,a));break;case Ae.aq.StiAsmCommandType.Shl:a=s.pop(),n=s.pop(),s.push(this.op_Shl(n,a));break;case Ae.aq.StiAsmCommandType.Shr:a=s.pop(),n=s.pop(),s.push(this.op_Shr(n,a));break;case Ae.aq.StiAsmCommandType.And:a=s.pop(),n=s.pop(),s.push(this.op_And(n,a));break;case Ae.aq.StiAsmCommandType.Or:a=s.pop(),n=s.pop(),s.push(this.op_Or(n,a));break;case Ae.aq.StiAsmCommandType.Xor:a=s.pop(),n=s.pop(),s.push(this.op_Xor(n,a));break;case Ae.aq.StiAsmCommandType.And2:a=s.pop(),n=s.pop(),s.push(this.op_And2(n,a));break;case Ae.aq.StiAsmCommandType.Or2:a=s.pop(),n=s.pop(),s.push(this.op_Or2(n,a));break}}return s.pop()}getVariableValue(t){if(null!=this.runtimeConstants&&0<this.runtimeConstants.count&&this.runtimeConstantsHash.containsKey(t))return this.runtimeConstantsHash.get(t);let e=null==this.report.compiledReport?this.report:this.report.compiledReport;var r=e.dictionary.variables.getByName(t);if(null!=r&&r.readOnly&&r.initBy==Ae.am.StiVariableInitBy.Expression){let t=new $o;return t.name="**ReportVariables**",t.page=this.report.pages.getByIndex(0),this.op_Cast(u.parseTextValue("{"+r.value+"}",t),r.type)}if(null!=e.variables&&e.variables.containsKey(t))return e.variables.get(t);if(null!=r){if(r.initBy==Ae.am.StiVariableInitBy.Expression)return this.op_Cast(u.prepareVariableValue(r,e),r.type);return r.valueObject}return null}call_arrayElement(r){let i=r[0];if(r.length<2&&this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"get_ArrayElement",(r.length-1).toString()),"string"==typeof i){2!=r.length&&this.throwError(Ae.bb.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"string.get_Item",(r.length-1).toString());var t=r[1].stimulsoft().toNumber();return i[t]}if(i.stimulsoft().is(Ae.c.StiReport)){var e=r[1].toString();return i.getVariable(e)}if(i.stimulsoft().is(Ae.am.StiDataSource)){var e=r[1].toString();return i.getData(e)}if(ke.isArray(i)){let e=[];for(let t=0;t<r.length-1;t++)e.push(i[r[t+1].stimulsoft().toNumber()]);return e}return null}get_systemVariable(t){switch(t){case Ae.aq.StiSystemVariableType.Column:return this.report.column;case Ae.aq.StiSystemVariableType.Line:return this.report.line;case Ae.aq.StiSystemVariableType.LineThrough:return this.report.lineThrough;case Ae.aq.StiSystemVariableType.LineABC:return this.report.lineABC;case Ae.aq.StiSystemVariableType.LineRoman:return this.report.lineRoman;case Ae.aq.StiSystemVariableType.GroupLine:return this.report.groupLine;case Ae.aq.StiSystemVariableType.PageNumber:return this.report.pageNumber;case Ae.aq.StiSystemVariableType.PageNumberThrough:return this.report.pageNumberThrough;case Ae.aq.StiSystemVariableType.PageNofM:return this.report.pageNofM;case Ae.aq.StiSystemVariableType.PageNofMThrough:return this.report.pageNofMThrough;case Ae.aq.StiSystemVariableType.TotalPageCount:return this.report.totalPageCount;case Ae.aq.StiSystemVariableType.TotalPageCountThrough:return this.report.totalPageCountThrough;case Ae.aq.StiSystemVariableType.IsFirstPage:return this.report.isFirstPage;case Ae.aq.StiSystemVariableType.IsFirstPageThrough:return this.report.isFirstPageThrough;case Ae.aq.StiSystemVariableType.IsLastPage:return this.report.isLastPage;case Ae.aq.StiSystemVariableType.IsLastPageThrough:return this.report.isLastPageThrough;case Ae.aq.StiSystemVariableType.PageCopyNumber:return this.report.pageCopyNumber;case Ae.aq.StiSystemVariableType.ReportAlias:return this.report.reportAlias;case Ae.aq.StiSystemVariableType.ReportAuthor:return this.report.reportAuthor;case Ae.aq.StiSystemVariableType.ReportChanged:return this.report.reportChanged;case Ae.aq.StiSystemVariableType.ReportCreated:return this.report.reportCreated;case Ae.aq.StiSystemVariableType.ReportDescription:return this.report.reportDescription;case Ae.aq.StiSystemVariableType.ReportName:return this.report.reportName;case Ae.aq.StiSystemVariableType.Time:return this.report.time;case Ae.aq.StiSystemVariableType.Today:return this.report.today;case Ae.aq.StiSystemVariableType.ConditionValue:return"number"==typeof this.report.engine.lastInvokeTextProcessValueEventArgsValue?this.report.engine.lastInvokeTextProcessValueEventArgsValue:0;case Ae.aq.StiSystemVariableType.ConditionValue2:return this.report.engine.lastInvokeTextProcessValueEventArgsValue;case Ae.aq.StiSystemVariableType.ConditionTag:return this.component.is($o)?this.component.tagValue:null;case Ae.aq.StiSystemVariableType.Sender:return this.sender;case Ae.aq.StiSystemVariableType.DateTimeNow:return z.now;case Ae.aq.StiSystemVariableType.DateTimeToday:return z.today}return null}static parseTextValue2(n,t,e=t,a=null){var e;if(De.isNullOrEmpty(n))return null;null==a.parser&&(a.parser=new u),null!=t.report&&(a.parser.report=t.report),a.parser.component=t,a.parser.sender=e,a.parser.useAliases=a.useAliases,a.parser.runtimeConstants=a.constants,null!=a.constants&&a.parser.createRuntimeConstantsHash();let s=null;var r=n+t.name+a.globalizedNameExt;let i=a.conversionStore;if(null==i){let t=null===(e=a.parser.report)||void 0===e?void 0:e.engine;i=null!=t?(null==t.parserConversionStore&&(t.parserConversionStore=new Dt),t.parserConversionStore):new Dt}if(i.contains(r)&&(s=i.get(r)),null==s){try{}catch(t){}if(t.is($o)&&t.onlyText)s=new Ee,s.add(new l(Ae.aq.StiAsmCommandType.PushValue,n));else try{s=new Ee;let r=0,i=0;while(i<n.length){let e=i;while(i<n.length&&"{"!=n[i])i++;if(i!=e&&(1==r&&s.add(new l(Ae.aq.StiAsmCommandType.Cast,Ae.b.TypeCode.String)),s.add(new l(Ae.aq.StiAsmCommandType.PushValue,n.substr(e,i-e))),r++,1<r&&s.add(new l(Ae.aq.StiAsmCommandType.Add))),i<n.length&&"{"==n[i]){i++,e=i;let t=!1;while(i<n.length){if('"'==n[i]){i++;let t=i;while(t<n.length){if('"'==n[t])break;"\\"==n[t]&&t++,t++}i=t+1;continue}if("}"==n[i]){var o=n.substr(e,i-e);null!=o&&0<o.length&&(a.parser.expressionPosition=e,s.addRange(a.parser.parseToAsm(o)),r++,1<r&&(s.add(new l(Ae.aq.StiAsmCommandType.Cast,Ae.b.TypeCode.String)),s.add(new l(Ae.aq.StiAsmCommandType.Add)))),t=!0,i++;break}i++}t||(a.parser.expressionPosition=e,s.add(new l(Ae.aq.StiAsmCommandType.PushValue,n.substr(e-1))),r++,1<r&&s.add(new l(Ae.aq.StiAsmCommandType.Add)))}}}catch(t){throw Ae.b.StiError.showError(t,!1),i.set(r,new Ee),t}i.set(r,s)}if(a.returnAsmList)return s;if(0<s.length){if(a.storeToPrint=u.checkForStoreToPrint(s,t),a.storeToPrint&&!a.executeIfStoreToPrint)return n;return a.parser.executeAsm(s)}return null}static parseTextValue(t,e,r=null,i={ref:!1},n=!0,a=!1,s=null){let o=new Zc;o.storeToPrint=i.ref,o.executeIfStoreToPrint=n,o.returnAsmList=a,o.parser=s;var r=this.parseTextValue2(t,e,r,o);return i.ref=o.storeToPrint,r}parseToAsm(t){return this.inputExpression=t,this.makeTokensList(),this.asmList=new Array,this.eval_exp(),this.asmList}static checkForStoreToPrint(t,e){var e=null==e?void 0:e.as($o);if(null!=e&&e.processAt==Kc.EndOfReport)return!0;let r=!1;var i;if(null!=t)for(var n of t){if(n.type==Ae.aq.StiAsmCommandType.PushSystemVariable){var a=n.parameter1;if(a==Ae.aq.StiSystemVariableType.PageNumber||a==Ae.aq.StiSystemVariableType.PageNumberThrough||a==Ae.aq.StiSystemVariableType.TotalPageCount||a==Ae.aq.StiSystemVariableType.TotalPageCountThrough||a==Ae.aq.StiSystemVariableType.PageNofM||a==Ae.aq.StiSystemVariableType.PageNofMThrough||a==Ae.aq.StiSystemVariableType.IsFirstPage||a==Ae.aq.StiSystemVariableType.IsFirstPageThrough||a==Ae.aq.StiSystemVariableType.IsLastPage||a==Ae.aq.StiSystemVariableType.IsLastPageThrough){r=!0;break}}if(n.type==Ae.aq.StiAsmCommandType.PushFunction){var n=n.parameter1;if(n>=Ae.aq.StiFunctionType.pCount&&n<=Ae.aq.StiFunctionType.pLast||n>=Ae.aq.StiFunctionType.prCount&&n<=Ae.aq.StiFunctionType.prLast||n>=Ae.aq.StiFunctionType.piCount&&n<=Ae.aq.StiFunctionType.piLast||n>=Ae.aq.StiFunctionType.priCount&&n<=Ae.aq.StiFunctionType.priLast||n==Ae.aq.StiFunctionType.GetAnchorPageNumber||n==Ae.aq.StiFunctionType.GetAnchorPageNumberThrough){r=!0;break}}}return r}static checkExpression(e,r,i=!1){try{let t=new Zc;t.executeIfStoreToPrint=!1,t.returnAsmList=!0,t.checkSyntaxMode=!0,t.useAliases=i;var n,a=u.parseTextValue2(e,r,r,t);null!=a&&t.parser.checkTypes(a)}catch(t){return t}return null}static checkForDataBandsUsedInPageTotals(e,r=null){try{let t=new Zc;t.returnAsmList=!0,t.parser=new u,null==t.parser.report&&(t.parser.report=r),u.parseTextValue2(e.text,e,e,t)}catch(t){var r=De.format("Expression in Text property of '{0}' can't be evaluated! {1}",e.name,t);Ae.b.StiError.showError(r,!1),e.report.writeToReportRenderingMessages(r)}}static prepareReportVariables(t){if(t.variables=new Dt({ignoreCase:!0}),t.calculationMode==Ae.c.StiCalculationMode.Compilation)return;let e=new $o;e.name="**ReportVariables**",e.page=t.pages.getByIndex(0);for(var r of t.dictionary.variables.list)try{this.prepareVariableValue(r,t,e)}catch(t){}t.modifiedVariables.clear()}static prepareVariableValue(t,e,r=null,i=!1){null==r&&((r=new $o).name="**ReportVariables**",r.page=e.pages.getByIndex(0));let n=null;i&&(n=new Dt);let a=null;var s,s;if(Ae.b.TypeHelper.isValueType(t.type)?a=t.initBy==Ae.am.StiVariableInitBy.Value?t.valueObject:this.getExpressionValue("{"+t.value+"}",r,n,e):(a=Ge.createObject(t.type),s={ref:Ae.am.StiTypeMode.Value},Ae.am.StiType.getTypeModeFromType(t.type,s),(s=s.ref)==Ae.am.StiTypeMode.Range?t.initBy==Ae.am.StiVariableInitBy.Value?(t.valueObject["fromObject"]?a.fromObject=t.valueObject["fromObject"]:t.valueObject["from"]?a.fromObject=t.valueObject["from"]:t.valueObject["fromDate"]?a.fromObject=t.valueObject["fromDate"]:t.valueObject["fromTime"]&&(a.fromObject=t.valueObject["fromTime"]),t.valueObject["toObject"]?a.toObject=t.valueObject["toObject"]:t.valueObject["to"]?a.toObject=t.valueObject["to"]:t.valueObject["toDate"]?a.toObject=t.valueObject["toDate"]:t.valueObject["toTime"]&&(a.toObject=t.valueObject["toTime"])):(a.fromObject=this.getExpressionValue("{"+t.initByExpressionFrom+"}",r,n,e),a.toObject=this.getExpressionValue("{"+t.initByExpressionTo+"}",r,n,e)):s==Ae.am.StiTypeMode.List&&(a=e.getVariable(t.name,!0),a=a||[]),i&&Ae.aq.StiVariableHelper.fillItemsOfVariable(t,e,{ref:!1})),i)for(var o of n.keys){var o=e.dictionary.dataSources.getByName(o);Ae.am.StiDataLeader.disconnect(o)}return e.setVariable(t.name,a,!0),a}static getExpressionValue(t,e,r,i){if(null!=r){var n=new Dt,a,s,o;Ae.am.StiDataSourceHelper.checkExpression(t,e,n);for(a of n.keys){null==r.get(a)&&(r.set(a,!0),o=i.dictionary.dataSources.getByName(a),Ae.am.StiDataLeader.connect(o,null,!1))}}return u.parseTextValue(t,e)}};Ae.bb.StiParser=u}Ae.at.StiCrossCell=class extends Ae.at.StiCrossField{constructor(){super(...arguments),this.getCrossValueEvent=new Ae.at.StiGetCrossValueEvent,this.val=""}meta(){return this._hash||(this._hash=[...super.meta(),new Ua("GetCrossValueEvent",Ae.at.StiGetCrossValueEvent),new Ga("Value")])}paint(t){this.parent.is(Ae.at.StiCrossTab)&&this.setTextInternal(this.cellText)}onGetCrossValue(t){}invokeGetCrossValue(t){var e;this.report.calculationMode==Ae.c.StiCalculationMode.Compilation?this.onGetCrossValue(t):(this.onGetCrossValue(t),null!=(e=Ae.bb.StiParser.parseTextValue(this.value,this))&&(t.value=e))}get value(){return this.getValue()}set value(t){this.setValue(t)}getValue(){return this.val}setValue(t){this.val=t}};let $c=Ae.aY.StiSortType,td=Ae.aY.StiSortDirection;Ae.at.StiCrossHeader=class extends Ae.at.StiCrossCell{constructor(){super(),this.getDisplayCrossValueEvent=new Ae.at.StiGetDisplayCrossValueEvent,this.displayValue="",this.headerLevel=-1,this.headerValue=null,this.totalGuid=null,this.showTotal=!0,this.sortDirection=td.Asc,this.sortType=$c.ByDisplayValue,this.printOnAllPages=!0,this.brush=new si(Fe.lightGray)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("HideZeros"),new Ua("GetDisplayCrossValueEvent",Ae.at.StiGetDisplayCrossValueEvent),new Ga("DisplayValue"),new Ui("TotalGuid"),new Wi("ShowTotal","",!0),new Gi("SortDirection","",td,td.Asc),new Gi("SortType","",$c,$c.ByDisplayValue),new Wi("PrintOnAllPages","",!0)])}onGetDisplayCrossValue(t){}invokeGetDisplayCrossValue(t){var e;this.report.calculationMode==Ae.c.StiCalculationMode.Compilation?this.onGetDisplayCrossValue(t):(this.onGetDisplayCrossValue(t),null!=(e=Ae.bb.StiParser.parseTextValue(this.displayValue,this))&&(t.value=e))}setValue(t){super.getValue()==this.displayValue&&(this.displayValue=t),super.setValue(t)}get total(){if(null==this.totalGuid||null==this.parent)return null;for(var t of this.parent.components.list){var t=t.as(Ae.at.StiCrossTotal);if(null!=t&&t.guid==this.totalGuid)return t}return null}set total(t){this.totalGuid=null==t?null:t.guid}get isTotalVisible(){return this.showTotal&&null!=this.total&&this.total.enabled}},Ae.an.StiGetDataUrlEvent=class extends Ae.an.StiEvent{toString(){return"GetDataUrl"}};let ed=Ae.an.StiGetDataUrlEvent;{let i=class extends Ae.ap.StiSimpleText{constructor(){super(...arguments),this.border=new Zr,this.margins=new Ae.ap.StiMargins(0,0,0,0),this.defaultFont=null,this.defaultColor=Fe.empty,this.wordWrap=!0,this.detectUrls=!0,this.backColor=Fe.white,this.dataColumn="",this.wysiwyg=!1,this.rightToLeft=!1,this.dataUrl=""}implements(){return i.implementsStiRichText||(i.implementsStiRichText=super.implements().concat([Mo,Ae.ap.IStiBreakable,Ae.ap.IStiBorder,Ae.c.IStiGlobalizationProvider,Ae.ap.IStiBackColor,Yt,qa])),i.implementsStiRichText}meta(){return this._hash||(this._hash=[...super.meta(),new gs("GlobalizedName"),new gs("LinesOfUnderline"),new gs("HideZeros"),new gs("ProcessingDuplicates"),new gs("MaxNumberOfLines"),new Wi("CanBreak"),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new Ua("GetDataUrlEvent",ed),new Ma("Margins").get(t=>this.margins.saveToJsonObject(t,0,0,0,0)).set(t=>this.margins.loadFromJsonObject(t.value)).setXml(t=>this.margins=Ae.ap.StiMargins.loadFromXml(t)),new Wi("WordWrap","",!0),new Wi("DetectUrls","",!0),new dl("BackColor","",Fe.white),new Ui("DataColumn"),new Ga("DataUrl"),new Wi("Wysiwyg"),new Wi("RightToLeft")])}get canBreak(){return this.properties.getBool(i.propertyCanBreak,!1)}set canBreak(t){this.properties.setBool(i.propertyCanBreak,t,!1)}clone(t){let e=super.clone(t);return null!=this.border?e.border=this.border.clone():e.border=null,e}onGetDataUrl(t){}invokeGetDataUrl(e,r){try{this.onGetDataUrl(r);let t=this.events.get(i.eventGetDataUrl);if(null!=t)try{t(e,r)}catch(r){}ja.invokeBlockly(this.report,this,this.getDataUrlEvent,r)}catch(t){var e=De.format("Expression in DataUrl property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getDataUrlEvent(){return new ed(this)}set getDataUrlEvent(t){null!=t&&t.set(this,t.script),this.events.set(i.eventGetDataUrl,Ae.an.StiGetDataUrlEventHandler.create(t.script,this.report))}setString(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw De.format("Property with name {0}",t);this.hyperlink=e}}getString(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw De.format("Property with name {0}",t)}getAllStrings(){let t=[];return Hd.Engine.Globalization.allowUseText&&t.push("Text"),Hd.Engine.Globalization.allowUseTag&&t.push("Tag"),Hd.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),Hd.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t}getFonts(){var t=super.getFonts();return ke.distinct(t)}};i.notSupportedText="RichText is not supported in the JS component",i.propertyCanBreak=Math.random().toString().substr(2),i.eventGetDataUrl={},Ae.ap.StiRichText=i}Ae.ap.IStiEnumAngle=new Ae.b.Interface("IStiEnumAngle"),Ae.ap.IStiHorAlignment=new Ae.b.Interface("IStiHorAlignment"),Ae.ap.ImplementsIStiHorAlignment=[],Ae.ap.IStiForeColor=new Ae.b.Interface("IStiForeColor"),Ae.ap.ImplementsIStiForeColor=[],Ae.ap.IStiBackColor=new Ae.b.Interface("IStiBackColor"),Ae.ap.ImplementsIStiBackColor=[],Ae.ap.IStiExportImage=new Ae.b.Interface("IStiExportImage"),Ae.ap.IStiExportImageExtended=new Ae.b.Interface("IStiExportImageExtended");let rd=Ae.ap.StiAngle,id=Ae.ap.IStiBackColor,nd=Ae.ap.IStiForeColor,ad=Ae.ap.IStiExportImage,sd=Ae.ap.IStiExportImageExtended,od=Ae.ap.IStiHorAlignment,ld=Ae.ap.IStiEnumAngle;{let n=class extends gl{constructor(t=os.empty){super(t),this.angle=rd.Angle0,this.border=new Zr,this.foreColor=Fe.black,this.backColor=Fe.white,this.autoScale=!1,this.showLabelText=!0,this.showQuietZones=!0,this.barCodeType=new Ae.az.StiEAN13BarCodeType,this._font=null,this._horAlignment=Ds.Left,this._vertAlignment=Go.Top,this.codeValue=null,this.code=null,this.defaultClientRectangle=new os(0,0,240,110),this.code="1234567890123"}implements(){return n.implementsStiBarCode||(n.implementsStiBarCode=super.implements().concat([Ae.az.IStiBarCode,id,nd,ad,sd,sl,od,ld,el,Yt,qa])),n.implementsStiBarCode}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new Gi("Angle","",rd,rd.Angle0),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value.toString())).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new dl("ForeColor","",Fe.black),new dl("BackColor","",Fe.white),new Wi("AutoScale"),new Wi("ShowLabelText","",!0),new Wi("ShowQuietZones","",!0),new Al(["Font","fn"],"","Arial",8,se.Bold,ti.Pixel),new Gi(["HorAlignment","ha"],"",Ds,Ds.Left),new Gi(["VertAlignment","va"],"",Go,Go.Top),new Ua("GetBarCodeEvent",Ae.an.StiGetBarCodeEvent),new Ma("BarCodeType").set(t=>this.barCodeType=Ae.az.StiBarCodeTypeService.loadFromJsonObjectInternal(t.value)).setXml(e=>{let t=e.getAttribute("isRef");if(!De.isNullOrEmpty(t)&&this.report.jsonLoaderHelper)this.barCodeType=this.report.jsonLoaderHelper.barcodeTypes[t.stimulsoft().toNumber()].stimulsoft().memberwiseClone();else{this.barCodeType=Ae.az.StiBarCodeTypeService.loadFromXmlInternal(e),this.barCodeType.loadFromXml(e);let t=e.getAttribute("Ref");!De.isNullOrEmpty(t)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.barcodeTypes[t.stimulsoft().toNumber()]=this.barCodeType)}}),new Ui("CodeValue").check(t=>t==as.Document),new Ga("Code").check(t=>t!=as.Document)])}get componentId(){return Ae.c.StiComponentId.StiBarCode}get helpUrl(){return"user-manual/report_internals_barcodes.htm"}get localizedCategory(){return ne.get("Report","Components")}get localizedName(){return ne.get("Components","StiBarCode")}isExportAsImage(t){return t==Ae.c.StiExportFormat.Ods||t==Ae.c.StiExportFormat.Odt||t==Ae.c.StiExportFormat.Ppt2007||t==Ae.c.StiExportFormat.Excel2007||t==Ae.c.StiExportFormat.Word2007}getImage(t,e=Ae.c.StiExportFormat.None){if(null!=this.report&&null!=this.report.preparedExportImages){var r=this.report.preparedExportImages.get(this);if(null!=r)return r}let i=new Ae.ax.StiSvgData;return i.component=this,i.x=0,i.y=0,i.width=this.report.unit.convertToHInches(this.width),i.height=this.report.unit.convertToHInches(this.height),Ae.ax.StiBarCodeSvgHelper.getImage(i)}getBarCodeString(){if(null!=this.codeValue)return this.codeValue;return this.code}get font(){return null==this._font&&(this._font=new Ar("Arial",8,se.Bold,ti.Pixel)),this._font}set font(t){this._font=t}get horAlignment(){return this._horAlignment}set horAlignment(t){this._horAlignment=t}get vertAlignment(){return this._vertAlignment}set vertAlignment(t){this._vertAlignment=t}getFonts(){let t=super.getFonts();return t.push(this.font),ke.distinct(t)}invokeEvents(){super.invokeEvents();try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){if(null!=this.events.get(n.eventGetBarCode)&&null==this.codeValue){let t=new ns;this.invokeGetBarCode(this,t),null!=t.value&&(this.codeValue=t.value.toString())}}else if(null==this.codeValue){let t=new ns;this.invokeGetBarCode(this,t),null!=t.value&&(this.codeValue=t.value.toString())}}catch(t){Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoEvents...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}onGetBarCode(t){}invokeGetBarCode(e,r){try{if(this.onGetBarCode(r),this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){let t=this.events.get(n.eventGetBarCode);if(null!=t)try{t(e,r)}catch(r){}}else{var i=Ae.bb.StiParser.parseTextValue(this.code,this,e);null!=i&&(r.value=i);let t=this.events.get(n.eventGetBarCode);if(null!=t)try{t(e,r)}catch(r){}}}catch(t){Ae.b.StiError.showError(t.message,!1);var e=De.format("Expression in BarCode property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getBarCodeEvent(){return new Ae.an.StiGetBarCodeEvent(this)}set getBarCodeEvent(t){t.set(this,t.script),this.events.set(n.eventGetBarCode,za.create(t.script,this.report))}createNew(){return new n(os.empty)}};n.eventGetBarCode={},Y.tsfa([Ae.b.enumType(Ds)],n.prototype,"horAlignment",null),Y.tsfa([Ae.b.enumType(Go)],n.prototype,"vertAlignment",null),Ae.az.StiBarCode=n}Ae.an.StiGetCheckedEvent=class extends Ae.an.StiEvent{toString(){return"GetChecked"}};let ud=Ae.an.StiGetCheckedEvent;{let n=class extends Ae.ap.StiComponent{constructor(){super(...arguments),this.brush=new si,this.border=new Zr,this.textBrush=new si(Fe.black),this.editable=!1,this._canBreak=!1,this.contourColor=Fe.black,this.size=1,this._checkStyle=Ae.ap.StiCheckStyle.Check,this.values="true/false",this.checkStyleForTrue=Ae.ap.StiCheckStyle.Check,this.checkStyleForFalse=Ae.ap.StiCheckStyle.None,this.checked="",this.excelDataValue="",this.excelValue=""}implements(){return super.implements().concat([Ae.ap.IStiBorder,Ae.ap.IStiTextBrush,Ae.ap.IStiBrush,Ae.ap.IStiBreakable,Mo,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new ds(["Brush","bh"]),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds(["TextBrush","tb"]),new Wi("Editable"),new Ua("GetCheckedEvent",ud),new Ua("GetExcelValueEvent",Vo),new Ga("Checked"),new Ga("ExcelValue"),new Ui("ExcelDataValue"),new dl("ContourColor","",Fe.black),new ji("Size","",1),new In("Values","","true/false"),new Gi("CheckStyleForTrue","",Ae.ap.StiCheckStyle,Ae.ap.StiCheckStyle.Check),new Gi("CheckStyleForFalse","",Ae.ap.StiCheckStyle,Ae.ap.StiCheckStyle.None),new In("CheckedValue","",null).check(t=>t==as.Document)])}clone(t){let e=super.clone(t);return null!=this.textBrush?e.textBrush=this.textBrush.clone():e.textBrush=null,e}get canBreak(){return this._canBreak||this.growToHeight&&null!=this.page&&.5<this.height/this.page.pageHeight}set canBreak(t){this._canBreak=t}break(t,e,r){var i=0,n=!0,a;return.5<e||null!=this.page&&.5<this.height/this.page.pageHeight?t.checkedValue=null:this.checkedValue=null,r.ref=i,n}invokeEvents(){super.invokeEvents();try{var t,e;if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation?null!=this.events.get(n.eventGetChecked)&&null==this.checkedValue&&(t=new ns,this.invokeGetChecked(this,t),this.checkedValue=t.value):null==this.events.get(n.eventGetChecked)&&De.isNullOrEmpty(this.checked)||null!=this.checkedValue||(e=new ns,this.invokeGetChecked(this,e),this.checkedValue=e.value),null!=this.events.get(n.eventGetExcelValue)&&null==this.excelDataValue){let t=new Qo;this.invokeGetExcelValue(this,t),null!=t.value&&(this.excelDataValue=t.value.toString())}}catch(t){Ae.c.StiLogService.write(this.stimulsoft().getType(),"DoEvents...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}onGetChecked(t){}invokeGetChecked(e,r){try{if(this.report.calculationMode==Ae.c.StiCalculationMode.Compilation){this.onGetChecked(r);let t=this.events.get(n.eventGetChecked);if(null!=t)try{t(e,r)}catch(r){}}else{var i;this.onGetChecked(r),null!=this.checked&&0<this.checked.length&&(null!=(i=Ae.bb.StiParser.parseTextValue(this.checked,this,e))&&(r.value=i));let t=this.events.get(n.eventGetChecked);if(null!=t)try{t(e,r)}catch(r){}ja.invokeBlockly(this.report,this,this.getCheckedEvent,r)}}catch(t){var e=De.format("Expression in Checked property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getCheckedEvent(){return new ud(this)}set getCheckedEvent(t){null!=t&&t.set(this,t.script),this.events.set(n.eventGetChecked,za.create(t.script,this.report))}onGetExcelValue(t){}invokeGetExcelValue(e,r){try{this.onGetExcelValue(r);let t=this.events.get(n.eventGetExcelValue);if(null!=t)try{t(e,r)}catch(r){}ja.invokeBlockly(this.report,e,this.getExcelValueEvent,r)}catch(t){var e=De.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getExcelValueEvent(){return new Vo(this)}set getExcelValueEvent(t){null!=t&&t.set(this,t.script),this.events.set(n.eventGetExcelValue,_o.create(t.script,this.report))}get checkStyle(){return this.checkStyleForTrue}set checkStyle(t){this._checkStyle==t&&(this.checkStyleForTrue=t,this.checkStyleForFalse=Ae.ap.StiCheckStyle.None)}};n.eventGetChecked={},n.eventGetExcelValue={},Ae.ap.StiCheckBox=n}let hd=Ae.at.StiCrossHeader,cd=Ae.at.StiCrossCell,dd=Ae.ap.StiCondition,md=Ae.ap.StiRichText,pd=Ae.ap.StiDataHelper,gd=Ae.ap.StiMultiCondition,fd=Ae.az.StiBarCode,Sd=Ae.ap.IStiConditions,bd=Ae.ap.StiCheckBox,yd=Ae.ap.StiImage,vd=Ae.ap.StiSimpleText,wd=Ae.bb.StiParser,Cd=Ae.aq.StiAsmCommandType,
Td=Ae.bb.StiAsmCommand;{let M=class{static getDatabaseFromDataSource(t){if(null==t||null==t.dictionary)return null;let e=t.getCategoryName();if(De.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase(),t.dictionary.databases.toList().firstOrDefault(t=>null!=t.name&&t.name.toLowerCase()==e)}static getDataSourcesFromDatabase(t,e){if(null==e||null==e.name)return null;return t.dictionary.dataSources.toList().where(t=>null!=t.getCategoryName()).where(t=>e.name.toLowerCase()==t.getCategoryName().toLowerCase())}static getUsedDataSourcesNamesList(t){var t=M.getUsedDataSourcesNames(t),e;let r=new Array;for(e of t.keys)r.push(e);return r}static getUsedDataSourcesNames(i){var r=new Dt,e,n,t;let a=0<i.renderedPages.count?i.renderedPages.getByIndex(0):new Ae.ap.StiPage;a.report=i;let s=new $o;s.page=a,s.name="*GetUsedDataSourcesNames*";let o=i.getComponents();for(let t=0;t<o.count;t++){let e=o.getByIndex(t);try{var l=e.stimulsoft().as(Jl);null!=l&&null!=l.dataSourceName&&0<l.dataSourceName.length&&(this.addDataSourceName(r,l.dataSourceName),this.addRelation(r,l.dataRelation),this.addSort(r,s,l.sort,l.dataSourceName));var u=e.stimulsoft().as(Bu);null!=u&&null!=u.dataSourceName&&0<u.dataSourceName.length&&(this.addDataSourceName(r,u.dataSourceName),this.addSort(r,s,u.sort,u.dataSourceName));var h=e.stimulsoft().as(Au);null!=h&&M.checkExpression(h.condition,e,r);var c=e.stimulsoft().as(cd);null!=c&&M.checkExpression(c.value,e,r);var d=e.stimulsoft().as(hd);null!=d&&M.checkExpression(d.displayValue,e,r);var m=e.stimulsoft().as(vd);null!=m&&M.checkExpression(m.text,e,r);var p=e.stimulsoft().as($o);null!=p&&M.checkExpression(p.excelValue,e,r);var g=e.stimulsoft().as(md),f=e.stimulsoft().as(yd);null!=f&&(this.checkExpression(f.imageData,e,r),this.checkExpression("{"+f.dataColumn+"}",e,r));var S=e.stimulsoft().as(fd);null!=S&&this.checkExpression(S.code,e,r);var b=e.stimulsoft().as(bd);null!=b&&this.checkExpression(b.checked,e,r);let t=e.stimulsoft().as(Ae.as.IStiChart);if(null!=t){De.isNullOrEmpty(t.dataSourceName)||this.addDataSourceName(r,t.dataSourceName);for(var y of t.series.toCast())this.checkExpression(y.argument,e,r),this.checkExpression("{"+y.argumentDataColumn+"}",e,r)}var v=e.stimulsoft().as(Ae.ap.StiPage),w=e.stimulsoft().as(Sd);if(null!=w&&0<w.conditions.count){let t=[];for(var C of w.conditions.list){var T=C.stimulsoft().as(dd),P=null,P,I;if(C.stimulsoft().is(gd)){let r=C.stimulsoft().as(gd);if(r.filterOn&&0<r.filters.count){let e=new Mt("{");for(let t=0;t<r.filters.count;t++){var A=r.filters.getByIndex(t);e.append("("),e.append(pd.getFilterExpression(A,A.column,i)),e.append(")"),t<r.filters.count-1&&e.append(r.filterMode==pu.And?" && ":" || ")}e.append("}");var x={condition:r,expression:e.toString()};t.push(x)}}else{null!=T&&(I={condition:T,expression:"{"+pd.getFilterExpression(T,T.column,i)+"}"},t.push(I))}}if(0<t.length)for(var D of t)this.checkExpression(D.condition,e,r)}}catch(t){Ae.b.StiError.showError(t,!1)}}let B=new Array;for(e of r.keys){var E=e,k;let t=i.dictionary.dataSources.getByName(E);null!=t&&(null==(k=t.stimulsoft().as(Ae.am.StiVirtualSource))||De.isNullOrEmpty(k.nameInSource)||B.push(E))}for(n of B){var N=i.dictionary.dataSources.getByName(n).stimulsoft().as(Ae.am.StiVirtualSource),F=i.dictionary.dataSources.getByName(N.nameInSource),R;this.addDataSourceName(r,F.name);for(R of N.groupColumns)this.addDataSourceColumn(r,F.name,R);let t=0;while(t<N.results.length)this.addDataSourceColumn(r,F.name,N.results[t]),t+=3;this.addSort(r,s,N.sort,F.name)}for(t of i.dictionary.variables.list)t.initBy==Ae.am.StiVariableInitBy.Expression&&(this.checkExpression("{"+t.value+"}",s,r),t.type==Ae.c.Range&&(this.checkExpression("{"+t.initByExpressionFrom+"}",s,r),this.checkExpression("{"+t.initByExpressionTo+"}",s,r))),t.requestFromUser&&t.dialogInfo.itemsInitializationType==Ae.am.StiItemsInitializationType.Columns&&this.checkExpression("{"+t.dialogInfo.keysColumn+"}",s,r);if(null!=i.listOfUsedData)for(var L of i.listOfUsedData)this.addDataSourceName(r,L);return r}static checkExpression(e,n,a){try{var r,i={ref:r=!1};let t=wd.parseTextValue(e,n,n,i,!1,!0);if(r=i.ref,ke.isArray(t)&&0<t.length&&t[0].stimulsoft().is(Td))for(var s of t)if(s.type==Cd.PushDataSourceField){let r=s.parameter1.split("."),i=n.report.dictionary.dataSources.getByName(r[0]);if(i.is(Ae.am.StiVirtualSource)&&2<r.length){let t=r[1]+"."+r[2];i.columns.contains(t)?(r[1]=t,r.stimulsoft().removeAt(2)):3<r.length&&(t+="."+r[3],i.columns.contains(t)&&(r[1]=t,r.stimulsoft().removeAt(2),r.stimulsoft().removeAt(2)))}if(this.addDataSourceName(a,i.name),2<r.length){let e=r[1];this.addRelation(a,i.getParentRelations().toList().where(function(t){return t.nameInSource==e}).first()),i=i.getParentDataSource(e),this.addDataSourceName(a,i.name);let t=2;while(t<r.length-1)e=r[t],this.addRelation(a,i.getParentRelations().toList().where(function(t){return t.nameInSource==e}).first()),i=i.getParentDataSource(e),this.addDataSourceName(a,i.name),t++}1<r.length&&this.addDataSourceColumn(a,i.name,r[r.length-1])}}catch(t){Ae.b.StiError.showError(t,!1)}}static addDataSourceName(t,e){t.containsKey(e)||t.set(e,new Dt)}static addDataSourceColumn(t,e,r){let i=t.get(e).stimulsoft().as(Dt);null==i&&(i=new Dt,t.set(e,i)),i.set(r,r)}static addRelation(t,e){if(null!=e){if(null!=e.childSource){this.addDataSourceName(t,e.childSource.name);for(var r of e.childColumns)this.addDataSourceColumn(t,e.childSource.name,r)}if(null!=e.parentSource){this.addDataSourceName(t,e.parentSource.name);for(var i of e.parentColumns)this.addDataSourceColumn(t,e.parentSource.name,i)}}}static addSort(e,r,i,n){let a=1;while(a<i.length){let t=i[a];t.stimulsoft().startsWith("{")?this.checkExpression(t,r,e):this.addDataSourceColumn(e,n,t),a+=2}}static getDataSourcesUsedInRequestFromUsersVariables(t){var e=new Dt,r;let i=new $o;i.name="*RequestFromUserVariable*",i.page=new Ae.ap.StiPage(t);for(r of t.dictionary.variables.list)r.requestFromUser&&(r.dialogInfo.itemsInitializationType==Ae.am.StiItemsInitializationType.Columns&&this.checkExpression("{"+r.dialogInfo.keysColumn+"}",i,e),r.initBy==Ae.am.StiVariableInitBy.Expression&&(this.checkExpression("{"+r.value+"}",i,e),r.type==Ae.c.Range&&(this.checkExpression("{"+r.initByExpressionFrom+"}",i,e),this.checkExpression("{"+r.initByExpressionTo+"}",i,e))));return e}};Ae.am.StiDataSourceHelper=M}let Pd=Ae.ap.StiTableOfContents,Id=Ae.ap.StiBookmark,Ad=Ae.be.StiTableAutoWidthType,xd=Ae.be.StiTableCellImage,Dd=Ae.be.StiTablceCellType,Bd=Ae.be.StiColumnSize,Ed=Ae.be.StiTableAutoWidth,kd=Ae.be.IStiTableCell,Nd=Ae.be.StiTable,Fd=Ae.ap.StiPagesCollection,Rd=Ae.ap.StiPrintOnType,Ld=Ae.am.StiDataSourceHelper,Md=Ae.c.StiReportCacheMode;{let G=class{static renderAsync(_,V){return Y.tsfb(this,void 0,void 0,function*(){var t,e;for(e of _.getComponents().list){var r=e.as($o);if(null!=r&&r.processAt==Kc.EndOfPage){_.engine.allowEndOfPageProcessing=!0;break}}if(G.initReport(_),!G.checkDialogsInPreview(_)){let t=Ld.getDataSourcesUsedInRequestFromUsersVariables(_),e=new Dt;for(var i of _.dictionary.dataSources.list)t.containsKey(i.name)||(e.set(i.name,i.connectOnStart),i.connectOnStart=!1);yield G.connectToDataAsync(_);for(var n of _.dictionary.dataSources.list)e.containsKey(n.name)&&(n.connectOnStart=e.get(n.name));if(Ae.aq.StiVariableHelper.fillItemsOfVariables(_.compiledReport?null:_),0<_.pages.count&&1==_.renderedPages.count){var a=_.pages.getByIndex(0);let t=_.renderedPages.getByIndex(0);t.paperSize=a.paperSize,t.orientation=a.orientation,a.paperSize==Cl.Custom&&(t.width=a.width,t.height=a.height)}return}null==_.subReportsMasterReport&&_.renderedPages.clear();var a=G.getNumberOfPass(_),s;G.isDialogsOnStartExist(_)||(yield G.renderFirstPassAsync(_,a));var a=_.subReportsMasterReport,o,l,u,h;let c=new Dt,d=null;try{G.prepareSubReportsAndDrillDownPages(_),null==a&&_.renderedPages.clear(),_.invokeBeginRender(),G.clearTotals(_),yield G.connectToDataAsync(_);var m=Ae.aq.StiVariableHelper.fillItemsOfVariables(_.compiledReport||_),p;yield Ae.aq.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(_.compiledReport||_,m),_.bookmark.bookmarks.clear(),_.bookmark.text=_.reportAlias,_.isSecondPass&&(_.engine.firstPassPointer=_.pointer,_.pointer=new Id,_.pointer.text=_.reportAlias),_.reportPass!=Ae.c.StiReportPass.First&&_.reportPass!=Ae.c.StiReportPass.None||G.initCacheMode(_);let t=_.getComponents(),n=[];for(p of t.list){var g=p.as(Nd);if(null!=g&&g.enabled){n.push(g);continue}}if(_.containsTables=0!=n.length,0<n.length){let r=new Dt,i=!1;for(let e=0;e<n.length;e++){let t=n[e];t.autoWidth!=Ed.None&&(i=!0);var f={ref:c},S=t.startRenderTableBand(f);c=f.ref,null!=S&&(r.add(S.name,S),_.engine.keepFirstDetailTogetherTablesList.set(S,t))}if(0!=r.count)for(var b of r.values)null!=b.masterComponent&&b.masterComponent.is(Nd)&&(b.masterComponent=r.get(b.masterComponent.name+"_DB").as(Jl));r=null,t.clear(),t=_.getComponents(),_.containsTables=i}_.engine.parserConversionStore=new Dt,_.engine.anchorsArguments=new Dt,_.engine.hashDataSourceReferencesCounter=new Dt,d=new Dt;var y=_.calculationMode==Ae.c.StiCalculationMode.Compilation,v,w;for(v of t.list){if(v.prepare(),!y){if(!y&&0<v.conditions.count){let t=[];for(var C of v.conditions.list){var T=C.stimulsoft().as(dd),P=null;if(C.stimulsoft().is(gd)){let r=C.stimulsoft().as(gd);if(r.filterOn&&0<r.filters.count){let e="{";for(let t=0;t<r.filters.count;t++){var I=r.filters.getByIndex(t);e+="(",e+=pd.getFilterExpression(I,I.column,_),e+=")",t<r.filters.count-1&&(e+=r.filterMode==pu.And?" && ":" || ")}e+="}",t.push({key:r,value:e.toString()})}}else null!=T&&(P="{"+pd.getFilterExpression(T,T.column,_)+"}",t.push({key:T,value:P}))}0<t.length&&_.engine.parserConversionStore.set("*StiConditionExpression*"+v.name,t)}var A=v.as($o);if(null!=A&&wd.checkForDataBandsUsedInPageTotals(A,_),v.is(md)&&Hd.Engine.fullTrust)try{var x=md.notSupportedText;0<x.length&&_.engine.parserConversionStore.set("*StiRichTextExpression*"+v.name,x)}catch(t){var D=De.format("Expression in Text property of '{0}' can't be evaluated! {1}",v.name,t.message);Ae.b.StiError.showError(D,!1),Ae.c.StiLogService.write(v.stimulsoft().getType(),D),Ae.c.StiLogService.write(v.stimulsoft().getType(),t),_.writeToReportRenderingMessages(D)}if(v.is(Jl)&&null!=v.renderingEvent&&!De.isNullOrEmpty(v.renderingEvent.script)){let t=v.renderingEvent.script,e=t.indexOf("addAnchor(");if(-1!=e){var B=t.indexOf(")",e);if(-1!=B){e+=10;var E=t.substr(e,B-e);_.engine.anchorsArguments.set(v.name,E);let r=v.onRendering;v.onRendering=(t,e)=>{"function"==typeof r&&r(t,e),this.StiRenderProvider_AddAnchor_Rendering(t,e)},d.set(v,r)}}}}var k=v.as(Jl);if(null!=k){if(!k.isDataSourceEmpty){let t=_.engine.hashDataSourceReferencesCounter.get(k.dataSourceName);var N=null==t?1:Ne.trunc(t.stimulsoft().toNumber())+1;_.engine.hashDataSourceReferencesCounter.set(k.dataSourceName,N)}if(!k.isBusinessObjectEmpty){let t=_.engine.hashDataSourceReferencesCounter.get(k.businessObject.name);var F=null==t?1:Ne.trunc(t.stimulsoft().toNumber())+1;_.engine.hashDataSourceReferencesCounter.set(k.businessObject.name,F)}}}if(_.engine.newPageTime=Date.now(),yield G.renderReportAsync(_,a,V),_.isStopped||(G.renderFormsOnEnd(_),_.isRendered=!0),0<c.count)for(var R of c.keys){var L=c.get(R);for(let e=0;e<L.length;e++){let t=L[e];null!=t.parent&&t.parent.components.remove(t)}}for(w of n)w.enabled=!0}catch(t){if(_.isStopped=!0,Ae.c.StiLogService.write(G,t),!Hd.Engine.hideExceptions)throw t}finally{if(_.currentPage=0,null==a&&(_.currentPrintPage=0),null==a&&_.reportPass!=Ae.c.StiReportPass.First)if(_.renderedPages.cacheMode){if(null!=_.renderedPages.notCachedPages)for(var M of _.renderedPages.notCachedPages)Ae.aq.StiPostProcessProvider.postProcessPage(M,G.isFirstPage(_,M),G.isLastPage(_,M)),Ae.aq.StiPostProcessProvider.postProcessPrimitives(M)}else Ae.aq.StiPostProcessProvider.postProcessPages(_.renderedPages);if(G.finishAllPagesInNotCachedPagesArray(_),G.removeAllPagesLessThenFromPageAndGreaterThenToPage(_,V),G.madeCollate(_),G.madeMirrorMargins(_),Ae.aq.StiBookmarksHelper.prepareBookmark(_.bookmark),Ae.aq.StiBookmarksHelper.prepareBookmark(_.pointer),G.disconnectFromData(_),null==a&&(0==_.renderedPages.count&&_.renderedPages.add(new Kl(_)),_.engine.pageNumbers.processPageNumbers(),_.invokeEndRender(),_.engine.pageNumbers.clear(),!_.renderedPages.cacheMode))for(var O of _.renderedPages.list){for(l of O.getComponents().list){let t=l.as(Ql);null!=t&&null!=t.containerInfo&&(t.containerInfo.dataSourceRow=null,t.containerInfo.businessObjectCurrent=null)}}c=null,G.finishProgressForm(_),_.reportPass==Ae.c.StiReportPass.Second&&(_.reportPass=Ae.c.StiReportPass.None),null==a&&(G.clearTotals(_),_.reportPass!=Ae.c.StiReportPass.First&&(_.parentReport=null)),null!=_.engine.parserConversionStore&&(_.engine.parserConversionStore.clear(),_.engine.parserConversionStore=null);for(h of _.getComponents().list)h.unPrepare();if(null!=d)for(var H of d.keys)H.onRendering=d.get(H);_.engine.keepFirstDetailTogetherTablesList.clear(),Ae.aq.StiTableOfContentsBuilder.postProcessTableOfContents(_)}})}static render(a,e){var t,r;for(r of a.getComponents().list){var i=r.as($o);if(null!=i&&i.processAt==Kc.EndOfPage){a.engine.allowEndOfPageProcessing=!0;break}}if(G.initReport(a),!G.checkDialogsInPreview(a)){let t=Ld.getDataSourcesUsedInRequestFromUsersVariables(a),e=new Dt;for(var n of a.dictionary.dataSources.list)t.containsKey(n.name)||(e.set(n.name,n.connectOnStart),n.connectOnStart=!1);G.connectToData(a);for(var s of a.dictionary.dataSources.list)e.containsKey(s.name)&&(s.connectOnStart=e.get(s.name));if(Ae.aq.StiVariableHelper.fillItemsOfVariables(a.compiledReport?null:a),0<a.pages.count&&1==a.renderedPages.count){var o=a.pages.getByIndex(0);let t=a.renderedPages.getByIndex(0);t.paperSize=o.paperSize,t.orientation=o.orientation,o.paperSize==Cl.Custom&&(t.width=o.width,t.height=o.height)}return}null==a.subReportsMasterReport&&a.renderedPages.clear();var o=G.getNumberOfPass(a),l;G.isDialogsOnStartExist(a)||G.renderFirstPass(a,o);var o=a.subReportsMasterReport,u,h,c,d;let m=new Dt,p=null;try{G.prepareSubReportsAndDrillDownPages(a),null==o&&a.renderedPages.clear(),a.invokeBeginRender(),G.clearTotals(a),G.connectToData(a);var g=Ae.aq.StiVariableHelper.fillItemsOfVariables(a.compiledReport||a),f;Ae.aq.StiVariableHelper.setDefaultValueForRequestFromUserVariables(a.compiledReport||a,g),a.bookmark.bookmarks.clear(),a.bookmark.text=a.reportAlias,a.isSecondPass&&(a.engine.firstPassPointer=a.pointer,a.pointer=new Id,a.pointer.text=a.reportAlias),a.reportPass!=Ae.c.StiReportPass.First&&a.reportPass!=Ae.c.StiReportPass.None||G.initCacheMode(a);let t=a.getComponents(),n=[];for(f of t.list){var S=f.as(Nd);if(null!=S&&S.enabled){n.push(S);continue}}if(a.containsTables=0!=n.length,0<n.length){let r=new Dt,i=!1;for(let e=0;e<n.length;e++){let t=n[e];t.autoWidth!=Ed.None&&(i=!0);var b={ref:m},y=t.startRenderTableBand(b);m=b.ref,null!=y&&(r.add(y.name,y),a.engine.keepFirstDetailTogetherTablesList.set(y,t))}if(0!=r.count)for(var v of r.values)null!=v.masterComponent&&v.masterComponent.is(Nd)&&(v.masterComponent=r.get(v.masterComponent.name+"_DB").as(Jl));r=null,t.clear(),t=a.getComponents(),a.containsTables=i}a.engine.parserConversionStore=new Dt,a.engine.anchorsArguments=new Dt,a.engine.hashDataSourceReferencesCounter=new Dt,p=new Dt;var w=a.calculationMode==Ae.c.StiCalculationMode.Compilation,C,T;for(C of t.list){if(C.prepare(),!w){if(!w&&0<C.conditions.count){let t=[];for(var P of C.conditions.list){var I=P.stimulsoft().as(dd),A=null;if(P.stimulsoft().is(gd)){let r=P.stimulsoft().as(gd);if(r.filterOn&&0<r.filters.count){let e="{";for(let t=0;t<r.filters.count;t++){var x=r.filters.getByIndex(t);e+="(",e+=pd.getFilterExpression(x,x.column,a),e+=")",t<r.filters.count-1&&(e+=r.filterMode==pu.And?" && ":" || ")}e+="}",t.push({key:r,value:e.toString()})}}else null!=I&&(A="{"+pd.getFilterExpression(I,I.column,a)+"}",t.push({key:I,value:A}))}0<t.length&&a.engine.parserConversionStore.set("*StiConditionExpression*"+C.name,t)}var D=C.as($o);if(null!=D&&wd.checkForDataBandsUsedInPageTotals(D),C.is(md)&&Hd.Engine.fullTrust)try{var B=md.notSupportedText;0<B.length&&a.engine.parserConversionStore.set("*StiRichTextExpression*"+C.name,B)}catch(t){var E=De.format("Expression in Text property of '{0}' can't be evaluated! {1}",C.name,t.message);Ae.b.StiError.showError(E,!1),Ae.c.StiLogService.write(C.stimulsoft().getType(),E),Ae.c.StiLogService.write(C.stimulsoft().getType(),t),a.writeToReportRenderingMessages(E)}if(C.is(Jl)&&null!=C.renderingEvent&&!De.isNullOrEmpty(C.renderingEvent.script)){let t=C.renderingEvent.script,e=t.indexOf("addAnchor(");if(-1!=e){var k=t.indexOf(")",e);if(-1!=k){e+=10;var N=t.substr(e,k-e);a.engine.anchorsArguments.set(C.name,N);let r=C.onRendering;C.onRendering=(t,e)=>{"function"==typeof r&&r(t,e),this.StiRenderProvider_AddAnchor_Rendering(t,e)},p.set(C,r)}}}}var F=C.as(Jl);if(null!=F){if(!F.isDataSourceEmpty){let t=a.engine.hashDataSourceReferencesCounter.get(F.dataSourceName);var R=null==t?1:Ne.trunc(t.stimulsoft().toNumber())+1;a.engine.hashDataSourceReferencesCounter.set(F.dataSourceName,R)}if(!F.isBusinessObjectEmpty){let t=a.engine.hashDataSourceReferencesCounter.get(F.businessObject.name);var L=null==t?1:Ne.trunc(t.stimulsoft().toNumber())+1;a.engine.hashDataSourceReferencesCounter.set(F.businessObject.name,L)}}}if(G.renderReport(a,o,e),a.isStopped||(G.renderFormsOnEnd(a),a.isRendered=!0),0<m.count)for(var M of m.keys){var O=m.get(M);for(let e=0;e<O.length;e++){let t=O[e];null!=t.parent&&t.parent.components.remove(t)}}for(T of n)T.enabled=!0}catch(t){if(a.isStopped=!0,Ae.c.StiLogService.write(G,t),!Hd.Engine.hideExceptions)throw t}finally{if(a.currentPage=0,null==o&&(a.currentPrintPage=0),null==o&&a.reportPass!=Ae.c.StiReportPass.First)if(a.renderedPages.cacheMode){if(null!=a.renderedPages.notCachedPages)for(var H of a.renderedPages.notCachedPages)Ae.aq.StiPostProcessProvider.postProcessPage(H,G.isFirstPage(a,H),G.isLastPage(a,H)),Ae.aq.StiPostProcessProvider.postProcessPrimitives(H)}else Ae.aq.StiPostProcessProvider.postProcessPages(a.renderedPages);if(G.finishAllPagesInNotCachedPagesArray(a),G.removeAllPagesLessThenFromPageAndGreaterThenToPage(a,e),G.madeCollate(a),G.madeMirrorMargins(a),Ae.aq.StiBookmarksHelper.prepareBookmark(a.bookmark),Ae.aq.StiBookmarksHelper.prepareBookmark(a.pointer),G.disconnectFromData(a),null==o&&(0==a.renderedPages.count&&a.renderedPages.add(new Kl(a)),a.engine.pageNumbers.processPageNumbers(),a.invokeEndRender(),a.engine.pageNumbers.clear(),!a.renderedPages.cacheMode))for(var _ of a.renderedPages.list){for(h of _.getComponents().list){let t=h.as(Ql);null!=t&&null!=t.containerInfo&&(t.containerInfo.dataSourceRow=null,t.containerInfo.businessObjectCurrent=null)}}m=null,G.finishProgressForm(a),a.reportPass==Ae.c.StiReportPass.Second&&(a.reportPass=Ae.c.StiReportPass.None),null==o&&(G.clearTotals(a),a.reportPass!=Ae.c.StiReportPass.First&&(a.parentReport=null)),null!=a.engine.parserConversionStore&&(a.engine.parserConversionStore.clear(),a.engine.parserConversionStore=null);for(d of a.getComponents().list)d.unPrepare();if(null!=p)for(var V of p.keys)V.onRendering=p.get(V);a.engine.keepFirstDetailTogetherTablesList.clear(),Ae.aq.StiTableOfContentsBuilder.postProcessTableOfContents(a)}}static StiRenderProvider_AddAnchor_Rendering(t,e){try{let e=t;if(null!=e&&null!=e.report&&null!=e.report.engine&&0<e.report.engine.anchorsArguments.count){var r=e.report.engine.anchorsArguments.get(e.name);if(!De.isNullOrEmpty(r)){let t=new $o;t.name="**AddAnchor**",t.page=e.report.pages.getByIndex(0);var i=wd.parseTextValue("{"+r+"}",t);e.report.addAnchor(i)}}}catch(e){}}static connectToDataAsync(i){return Y.tsfb(this,void 0,void 0,function*(){return new Promise((t,e)=>{let r=new _r;r.try(function(){t()}).catch(function(t){e(t)}),i.dictionary.connectAsync().try(()=>{try{for(var t of i.dictionary.dataSources.list)t.resetData(),t.resetDetailsRows();i.dictionary.connectVirtualDataSourcesAsync().try(()=>{i.dictionary.connectCrossTabDataSources(),i.dictionary.connectDataTransformationsAsync().try(()=>{i.dictionary.regRelations2(!0),r.callTry()})})}catch(t){Ae.b.StiError.showError(t,!1),r.callCatch("string"==typeof t?t:t.message)}}).catch(t=>{r.callCatch(t)}).abort(r)})})}static connectToData(t){t.dictionary.connect();for(var e of t.dictionary.dataSources.list)e.resetData(),e.resetDetailsRows();t.dictionary.connectVirtualDataSourcesAsync(),t.dictionary.connectCrossTabDataSources(),t.dictionary.connectDataTransformationsAsync(),t.dictionary.regRelations2(!0)}static disconnectFromData(t){t.dictionary.disconnect()}static isDialogsOnStartExist(t){return!1}static renderFormsOnStart(t){if(t.isInteractionRendering)return!0;return!0}static renderFormsOnEnd(t){if(t.isInteractionRendering)return!0;return!0}static checkDialogsInPreview(t){for(var e of t.dictionary.variables.list)if(e.requestFromUser&&!t.isPreviewDialogs&&!t.isReportRenderingAfterSubmit&&t.requestParameters)return t.isStopped=!1,t.isRendered=!0,null!=t.parentReport&&(t.parentReport.isRendered=!0),!1;return!0}static clearPagesWhichLessThenFromPageAndGreaterThenToPage(t,e){var r;1<t.renderedPages.count&&t.reportPass!=Ae.c.StiReportPass.First&&(r=t.renderedPages.count-2,(0<e.fromPage&&e.fromPage>r||0<e.toPage&&e.toPage<r)&&t.renderedPages.getByIndex(r).components.clear(),0<e.toPage&&e.toPage<r&&e.renderOnlyPagesFromRange&&(t.isStopped=!0))}static initCacheMode(t){t.reportCacheMode!=Md.Off&&(t.reportCacheMode==Md.On&&(t.renderedPages.cacheMode=!0),t.renderedPages.canUseCacheMode=!0)}static removeAllPagesLessThenFromPageAndGreaterThenToPage(e,r){if(r.destroyPagesWhichNotInRange&&e.reportPass!=Ae.c.StiReportPass.First){if(0<r.toPage)while(r.toPage<e.renderedPages.count-1)e.renderedPages.removeAt(e.renderedPages.count-1);let t=r.fromPage;while(0<t&&0<e.renderedPages.count)e.renderedPages.removeAt(0),t--}}static finishAllPagesInNotCachedPagesArray(t){t.renderedPages.cacheMode&&null!=t.renderedPages.notCachedPages&&t.reportPass!=Ae.c.StiReportPass.First&&(t.renderedPages.notCachedPages.stimulsoft().clear(),t.renderedPages.notCachedPages=null)}static processPageToCache(t,e,r){t.renderedPages.cacheMode&&t.reportPass!=Ae.c.StiReportPass.First&&(r?null!=t.engine&&null!=t.engine.pageNumbers&&0<t.engine.pageNumbers.pageNumbers.count&&(Ae.aq.StiPostProcessProvider.postProcessPage(e,G.isFirstPage(t,e),G.isLastPage(t,e),r),Ae.aq.StiPostProcessProvider.postProcessPrimitives(e)):(null==t.renderedPages.notCachedPages&&(t.renderedPages.notCachedPages=new Array),-1==t.renderedPages.notCachedPages.indexOf(e)&&t.renderedPages.notCachedPages.push(e)))}static isFirstPage(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),r=Math.max(r,0);r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1);var i=t.engine.pageNumbers.pageNumbers.getByIndex(r);return-1==i.totalPageCount||-1==i.pageNumber?0==r||i.resetPageNumber:1==i.pageNumber}var n;return t.renderedPages.indexOf(e)<1}static isLastPage(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),r=Math.max(r,0);r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1);var i=t.engine.pageNumbers.pageNumbers.getByIndex(r);return-1==i.totalPageCount||-1==i.pageNumber?r==t.renderedPages.count-1||r+1<t.engine.pageNumbers.pageNumbers.count&&t.engine.pageNumbers.pageNumbers.getByIndex(r+1).resetPageNumber:i.pageNumber==i.totalPageCount}var n;return t.renderedPages.indexOf(e)==t.renderedPages.count-1}static renderFirstPassAsync(s,t){return Y.tsfb(this,void 0,void 0,function*(){if(t==Ae.c.StiNumberOfPass.DoublePass&&s.reportPass==Ae.c.StiReportPass.None&&s.reportPass==Ae.c.StiReportPass.None){s.reportPass=Ae.c.StiReportPass.First;let t=s.engine;s.engine=null;var i=s.renderedPages.count;let e=null;if(0<i){e=new Fd(s),e.addRange(s.renderedPages);var n=new Kl(s);for(let t=0;t<s.renderedPages.count;t++)s.renderedPages.setByIndex(t,n)}var a=s.currentPrintPage;let r=new Ae.aq.StiEngine(s);r.pageNumbers.clearPageNumbersOnFinish=!1,r.pageNumbers.pageNumbers=t.pageNumbers.pageNumbers,r.parserConversionStore=t.parserConversionStore.clone(),null!=t.hashDataSourceReferencesCounter&&(r.hashDataSourceReferencesCounter=t.hashDataSourceReferencesCounter.clone()),s.engine=r;try{yield s.renderAsync2()}catch(t){throw Ae.b.StiError.showError(t,!1),s.reportPass=Ae.c.StiReportPass.None,t}t.latestProgressValue=s.engine.latestProgressValue,s.engine=t,r.parserConversionStore=null,s.engine.pageNumbers.processPageNumbers(),s.reportPass=Ae.c.StiReportPass.Second,s.isRendering=!0,s.isRendered=!1,s.renderedPages.clear(),0<i&&(s.renderedPages.addRange(e),e.clear()),s.currentPrintPage=a}s.resetAggregateFunctions()})}static renderFirstPass(i,n){if(n==Ae.c.StiNumberOfPass.DoublePass&&i.reportPass==Ae.c.StiReportPass.None&&i.reportPass==Ae.c.StiReportPass.None){i.reportPass=Ae.c.StiReportPass.First;let t=i.engine;i.engine=null;var a=i.renderedPages.count;let e=null;if(0<a){e=new Fd(i),e.addRange(i.renderedPages);var s=new Kl(i);for(let t=0;t<i.renderedPages.count;t++)i.renderedPages.setByIndex(t,s)}var n=i.currentPrintPage;let r=new Ae.aq.StiEngine(i);r.pageNumbers.clearPageNumbersOnFinish=!1,r.pageNumbers.pageNumbers=t.pageNumbers.pageNumbers,r.parserConversionStore=t.parserConversionStore.clone(),null!=t.hashDataSourceReferencesCounter&&(r.hashDataSourceReferencesCounter=t.hashDataSourceReferencesCounter.clone()),i.engine=r;try{i.render()}catch(t){throw Ae.b.StiError.showError(t,!1),i.reportPass=Ae.c.StiReportPass.None,t}t.latestProgressValue=i.engine.latestProgressValue,i.engine=t,r.parserConversionStore=null,i.engine.pageNumbers.processPageNumbers(),i.reportPass=Ae.c.StiReportPass.Second,i.isRendering=!0,i.isRendered=!1,i.renderedPages.clear(),0<a&&(i.renderedPages.addRange(e),e.clear()),i.currentPrintPage=n}i.resetAggregateFunctions()}static clearPagesForFirstPass(t){t.reportPass==Ae.c.StiReportPass.First&&2<=t.renderedPages.count&&t.renderedPages.getByIndex(t.renderedPages.count-2).components.clear()}static getNumberOfPass(t){var e=t.numberOfPass,r,i;if(t.reportPass==Ae.c.StiReportPass.None&&e==Ae.c.StiNumberOfPass.SinglePass){if(!Hd.Engine.useAdvancedPrintOnEngine){if(t.getComponents().toList().cast().any(t=>t.is(Pd)))return Ae.c.StiNumberOfPass.DoublePass;return Ae.c.StiNumberOfPass.SinglePass}for(i of t.getComponents().list){if(i.printOn!=Rd.AllPages&&i.printOn!=Rd.OnlyFirstPage&&i.printOn!=Rd.ExceptFirstPage)return Ae.c.StiNumberOfPass.DoublePass;if(i.is(Pd))return Ae.c.StiNumberOfPass.DoublePass}}return e}static madeCollate(i){if(i.renderedPages.count<3||i.collate<2)return;let n=new Array;if(Hd.Engine.useCollateOldMode)for(let e=0;e<i.collate;e++)for(let t=e;t<i.renderedPages.count;t+=i.collate)n.push(i.renderedPages.getByIndex(t));else{let r=Ne.trunc(i.renderedPages.count/i.collate);r*i.collate<i.renderedPages.count&&r++;for(let e=0;e<r;e++)for(let t=e;t<i.renderedPages.count;t+=r)n.push(i.renderedPages.getByIndex(t))}i.renderedPages.clear();for(var t of n)i.renderedPages.addV2Internal(t)}static madeMirrorMargins(r){if(r.renderedPages.count<2)return;for(let e=1;e<r.renderedPages.count;e+=2){let t=r.renderedPages.getPageWithoutCache(e);t.mirrorMargins&&(t.margins=new Ml(t.margins.right,t.margins.left,t.margins.top,t.margins.bottom))}}static initReport(t){t.currentPage=0,null==t.subReportsMasterReport&&(t.currentPrintPage=0),t.isStopped=!1,t.resetAggregateFunctions()}static clearTotals(t){t.totals.clear(),null!=t.parentReport&&t.parentReport.totals.clear()}static prepareSubReportsAndDrillDownPages(t){let r=new Dt;var e=t.getComponents(),i,n;for(i of t.pages.list)i.skip=!1,r.set(i.guid,i);for(n of e.list){var a=n.as(yl);if(null!=a&&null!=a.subReportPageGuid){let t=r.get(a.subReportPageGuid);null!=t&&(t.skip=!0)}if(null!=n.interaction&&n.interaction.drillDownEnabled&&null!=n.interaction.drillDownPageGuid){let t=r.get(n.interaction.drillDownPageGuid),e=null!=t?t.as(Kl):null;null==e||e.drillDownActivated||(e.skip=!0)}if(n.is(Ae.as.IStiChart))for(var s of n.series.list)if(null!=s.interaction&&null!=s.interaction.drillDownPageGuid){let t=r.get(s.interaction.drillDownPageGuid),e=null!=t?t.as(Kl):null;null!=e&&(e.skip=!0);break}}return r}static renderReportAsync(o,t,e){return Y.tsfb(this,void 0,void 0,function*(){try{let e=0;for(var i of o.pages.list){var t=i.enabled;try{if(o.engine.templatePage=i,o.engine.templateContainer=i,o.currentPrintPage++,i.skip||(i.invokeBeforePrint(i,Un.empty),o.engine.skipFirstPageBeforePrintEvent=!0),o.currentPrintPage--,!i.enabled||i.skip){i.skip||(o.engine.skipFirstPageBeforePrintEvent=!1,i.invokeAfterPrint(i,Un.empty));continue}null!=o.engine.masterEngine&&(o.engine.masterEngine.templatePage=i,o.engine.masterEngine.templateContainer=i);for(let t=0;t<i.numberOfCopies;t++){if(o.pageCopyNumber=t+1,0<t&&(i.pageInfo.renderedCount=0),i.pageInfo.indexOfStartRenderedPages=o.renderedPages.count,i.parentBookmark=i.report.bookmark,i.currentBookmark=i.parentBookmark,i.parentPointer=i.report.pointer,i.currentPointer=i.parentPointer,0!=o.renderedPages.count&&i.printOnPreviousPage){if(i.printOnPreviousPage&&0!=e){let e=o.renderedPages.getByIndex(o.renderedPages.count-1),t=null;var n="TAG##"+o.engine.columnsOnPanel.currentColumn.toString(),a;for(a of e.components.list)a.name==n&&(t=a.as(Ql));if(null!=t)t.height=o.engine.positionY-t.top;else{let t=new Ql;t.name="TAG##"+o.engine.columnsOnPanel.currentColumn.toString(),t.top=0,t.height=o.engine.positionY,t.left=(o.engine.columnsOnPanel.currentColumn-1)*e.getColumnWidth(),t.width=0<e.columns?e.getColumnWidth():e.width,t.tagValue=e.tagValue,t.bookmarkValue=e.bookmarkValue,t.pointerValue=e.pointerValue,t.hyperlinkValue=e.hyperlinkValue,t.toolTipValue=e.toolTipValue,t.guid=e.guid,e.tagValue=null,e.bookmarkValue=null,e.pointerValue=null,e.hyperlinkValue=null,e.toolTipValue=null,e.guid=null,o.engine.addContainerToDestination(t)}let r=new Ql;r.name="TAG##"+o.engine.columnsOnPanel.currentColumn.toString(),r.top=o.engine.positionY,r.height=o.engine.positionBottomY-o.engine.positionY,r.left=(o.engine.columnsOnPanel.currentColumn-1)*i.getColumnWidth(),r.width=0<i.columns?i.getColumnWidth():i.width,r.tagValue=i.tagValue,r.bookmarkValue=i.bookmarkValue,r.pointerValue=i.pointerValue,r.hyperlinkValue=i.hyperlinkValue,r.toolTipValue=i.toolTipValue,r.guid=i.guid,i.tagValue=null,i.bookmarkValue=null,i.pointerValue=null,i.hyperlinkValue=null,i.toolTipValue=null,o.engine.addContainerToDestination(r)}}else o.engine.firstCallNewPage=!0,yield o.engine.newPageAsync();yield Ae.aq.StiPageHelper.renderPageAsync(i)}}finally{i.enabled=t}o.engine.processLastPageAfterRendering();var r,s={ref:r=null};o.engine.renderFootersOnAllPages(null,0,s),r=s.ref,o.engine.renderPrintAtBottom(null,0,null),yield o.engine.renderEmptyBandsAsync(o.engine.containerForRender,null),o.engine.emptyBands.clear(),e++}o.engine.invokePageAfterPrint(),G.renderTable(o),yield o.engine.finalClearAsync()}catch(t){Ae.b.StiError.showError(t,!1),o.engine.pageNumbers.pageNumbers.removeAt(o.engine.pageNumbers.pageNumbers.count-1)}})}static renderReport(i,t,e){try{let e=0;for(var n of i.pages.list){var r=n.enabled;try{if(i.engine.templatePage=n,i.engine.templateContainer=n,i.currentPrintPage++,n.skip||(n.invokeBeforePrint(n,Un.empty),i.engine.skipFirstPageBeforePrintEvent=!0),i.currentPrintPage--,!n.enabled||n.skip){n.skip||(i.engine.skipFirstPageBeforePrintEvent=!1,n.invokeAfterPrint(n,Un.empty));continue}null!=i.engine.masterEngine&&(i.engine.masterEngine.templatePage=n,i.engine.masterEngine.templateContainer=n);for(let t=0;t<n.numberOfCopies;t++){if(i.pageCopyNumber=t+1,0<t&&(n.pageInfo.renderedCount=0),n.pageInfo.indexOfStartRenderedPages=i.renderedPages.count,n.parentBookmark=n.report.bookmark,n.currentBookmark=n.parentBookmark,n.parentPointer=n.report.pointer,n.currentPointer=n.parentPointer,0!=i.renderedPages.count&&n.printOnPreviousPage){if(n.printOnPreviousPage&&0!=e){let e=i.renderedPages.getByIndex(i.renderedPages.count-1),t=null;var a="TAG##"+i.engine.columnsOnPanel.currentColumn.toString(),s;for(s of e.components.list)s.name==a&&(t=s.as(Ql));if(null!=t)t.height=i.engine.positionY-t.top;else{let t=new Ql;t.name="TAG##"+i.engine.columnsOnPanel.currentColumn.toString(),t.top=0,t.height=i.engine.positionY,t.left=(i.engine.columnsOnPanel.currentColumn-1)*e.getColumnWidth(),t.width=0<e.columns?e.getColumnWidth():e.width,t.tagValue=e.tagValue,t.bookmarkValue=e.bookmarkValue,t.pointerValue=e.pointerValue,t.hyperlinkValue=e.hyperlinkValue,t.toolTipValue=e.toolTipValue,t.guid=e.guid,e.tagValue=null,e.bookmarkValue=null,e.pointerValue=null,e.hyperlinkValue=null,e.toolTipValue=null,e.guid=null,i.engine.addContainerToDestination(t)}let r=new Ql;r.name="TAG##"+i.engine.columnsOnPanel.currentColumn.toString(),r.top=i.engine.positionY,r.height=i.engine.positionBottomY-i.engine.positionY,r.left=(i.engine.columnsOnPanel.currentColumn-1)*n.getColumnWidth(),r.width=0<n.columns?n.getColumnWidth():n.width,r.tagValue=n.tagValue,r.bookmarkValue=n.bookmarkValue,r.pointerValue=n.pointerValue,r.hyperlinkValue=n.hyperlinkValue,r.toolTipValue=n.toolTipValue,r.guid=n.guid,n.tagValue=null,n.bookmarkValue=null,n.pointerValue=null,n.hyperlinkValue=null,n.toolTipValue=null,i.engine.addContainerToDestination(r)}}else i.engine.firstCallNewPage=!0,i.engine.newPage();Ae.aq.StiPageHelper.renderPage(n)}}finally{n.enabled=r}i.engine.processLastPageAfterRendering();var o,l={ref:o=null};i.engine.renderFootersOnAllPages(null,0,l),o=l.ref,i.engine.renderPrintAtBottom(null,0,null),i.engine.renderEmptyBands(i.engine.containerForRender,null),i.engine.emptyBands.clear(),e++}i.engine.invokePageAfterPrint(),G.renderTable(i),i.engine.finalClear()}catch(t){Ae.b.StiError.showError(t,!1),i.engine.pageNumbers.pageNumbers.removeAt(i.engine.pageNumbers.pageNumbers.count-1)}}static renderTable(n){if(!n.containsTables)return;let o=new Dt,a=new Dt,l=new Dt,u=[],h=.2;for(var c of n.renderedPages.list){h=c.gridSize;let a=new Dt,s=new Dt,e=[],r=c.getComponents();for(let t=0;t<r.count;t++){var i=r.getByIndex(t).as(kd);if(null!=i){let t=null;var d=i.tableTag,m;if(null==d||d.autoWidth==Ed.None)continue;if(d.autoWidth==Ed.Table)if(o.containsKey(d)?t=o.get(d):(t=new Dt,o.add(d,t),u.push(d)),l.containsKey(d.name))l.get(d.name).stimulsoft().contains(c)||l.get(d.name).push(c);else{let t=[];t.push(c),l.add(d.name,t)}else a.containsKey(d)?t=a.get(d):(t=new Dt,a.add(d,t),e.push(d));t.containsKey(i.column)||t.add(i.column,[]),t.get(i.column).push(i)}}for(var p of a.values){let r=new Bd(p.count),i=[];p.keys.copyTo(i,0),i.sort();for(let t=0;t<p.count;t++){var g=p.get(i[t]),f;if(null==g)continue;let e=0;for(f of g){if(f.fixedWidth){r.setFixedColumn(t,f.width),e=-1;break}switch(f.cellType){case Dd.CheckBox:case Dd.RichText:f.width>e&&(e=f.width);break;case Dd.Image:{let t=f.as(xd);var S=t.canShrink;t.canShrink=!0;var b=t.getRealSize().width;t.canShrink=S,b>e&&(e=b);break}case Dd.Text:var S=f,b,S,S;S.wordWrap?S.width>e&&(e=S.width):De.isNullOrEmpty(S.text)||(b=Ae.bn.Graphics.measureString(S.text,S.font),S=S.margins.left+S.margins.right,(S=n.unit.convertFromHInches(b.width+S))>e&&(e=S));break}}-1!=e&&r.setWidth(t,e)}var t=p.get(p.keys[0]);s.add(t[0].tableTag,r)}for(let t=0;t<e.length;t++){var y=e[t].as(Nd),v;if(null==y)continue;let i=s.get(y),n=0;for(let t=0;t<i.length;t++)n+=i.getWidth(t);switch(y.autoWidthType){case Ad.None:c.width<n&&(v=Ne.trunc(n/c.width+1),c.segmentPerWidth=v);break;case Ad.FullTable:if(n<y.width){var w=y.width-n;w/=i.getCountNotFixedColumn();for(let t=0;t<i.length;t++)i.add(t,w)}if(n>y.width){var C=n-y.width;C/=i.getCountNotFixedColumn();for(let t=0;t<i.length;t++)i.subtract(t,C)}break;case Ad.LastColumns:{let t=Math.abs(y.width-n),e=i.length-1,r=!1;var T=3*h,P;if(n>y.width)while(!r){i.getFixed(e)?0==e?r=!0:e--:i.getWidth(e)-T<t?(P=i.getWidth(e)-T,i.subtract(e,P),t-=P,0==e?r=!0:e--):(i.subtract(e,t),r=!0)}else i.addLastNotFixed(t);break}}}for(var I of a.keys){let e=a.get(I),r=s.get(I);r.normalize();let i=[];e.keys.copyTo(i,0),i.sort();let n=0;for(let t=0;t<e.count;t++){var A=e.get(i[t]),x;if(null==A)return;for(x of A)x.width=r.getWidth(t),x.left=n;n+=r.getWidth(t)}}}if(0<u.length){for(var s of o.values){let r=new Bd(s.count),i=[];s.keys.copyTo(i,0),i.sort();for(let t=0;t<s.count;t++){var D=s.get(i[t]),B;if(null==D)continue;let e=0;for(B of D){if(B.fixedWidth){r.setFixedColumn(t,B.width),e=-1;break}switch(B.cellType){case Dd.CheckBox:case Dd.RichText:B.width>e&&(e=B.width);break;case Dd.Image:{let t=B.as(xd);var E=t.canShrink;t.canShrink=!0;var k=t.getRealSize().width;t.canShrink=E,k>e&&(e=k);break}case Dd.Text:var E=B,k,E,E;E.wordWrap?E.width>e&&(e=E.width):De.isNullOrEmpty(E.text)||(k=Ae.bn.Graphics.measureString(E.text,E.font),E=E.margins.left+E.margins.right,(E=n.unit.convertFromHInches(k.width+E))>e&&(e=E));break}}-1!=e&&r.setWidth(t,e)}var e=s.get(s.keys[0]);a.add(e[0].tableTag,r)}for(let t=0;t<u.length;t++){var N=u[t].as(Nd);if(null==N)continue;let i=a.get(N),n=0;for(let t=0;t<i.length;t++)n+=i.getWidth(t);switch(N.autoWidthType){case Ad.None:var r=l.get(N.name);if(null!=r&&r[0].width<n){var F=Ne.trunc(n/r[0].width)+1,R;for(R of r)R.segmentPerWidth=F}break;case Ad.FullTable:if(n<N.width){var L=N.width-n;L/=i.getCountNotFixedColumn();for(let t=0;t<i.length;t++)i.add(t,L)}if(n>N.width){var M=n-N.width;M/=i.getCountNotFixedColumn();for(let t=0;t<i.length;t++)i.subtract(t,M)}break;case Ad.LastColumns:{let t=Math.abs(N.width-n),e=i.length-1,r=!1;var O=3*h,H;if(n>N.width)while(!r){i.getFixed(e)?0==e?r=!0:e--:i.getWidth(e)-O<t?(H=i.getWidth(e)-O,i.subtract(e,H),t-=H,0==e?r=!0:e--):(i.subtract(e,t),r=!0)}else i.addLastNotFixed(t);break}}}for(var _ of o.keys){let e=o.get(_),r=a.get(_);r.normalize();let i=[];e.keys.copyTo(i,0),i.sort();let n=0;for(let t=0;t<e.count;t++){var V=e.get(i[t]),G;if(null==V)return;for(G of V)G.width=r.getWidth(t),G.left=n;n+=r.getWidth(t)}}}}static finishProgressForm(t){t.reportPass,Ae.c.StiReportPass.First}};Ae.aq.StiRenderProvider=G}Ae.aq.StiRenderState=class{constructor(t=-1,e=1,r=!0,i=!0,n=!1){this.latestProgressValue=0,this._fromPage=-1,this._toPage=-1,this.showProgress=!0,this.isSubReportMode=!1,this._destroyPagesWhichNotInRange=!0,this._renderOnlyPagesFromRange=!1,this._fromPage=t,this._toPage=e,-1==t&&-1==e&&(i=!1),this.showProgress=r,this._destroyPagesWhichNotInRange=i,this._renderOnlyPagesFromRange=n}get fromPage(){return this._fromPage}get toPage(){return this._toPage}get destroyPagesWhichNotInRange(){return this._destroyPagesWhichNotInRange}get renderOnlyPagesFromRange(){return this._renderOnlyPagesFromRange}};{let a=class{static getBookmark(t,e){let r=null;var i=t.bookmarks.indexOf(e);return-1==i?(r=a.createBookmark(e),t.bookmarks.add(r)):r=t.bookmarks.getByIndex(i),r}static prepareBookmark(r){let t=0;while(t<r.bookmarks.count-1)r.bookmarks.getByIndex(t).text==r.bookmarks.getByIndex(t+1).text?(r.bookmarks.getByIndex(t).bookmarks.addRange(r.bookmarks.getByIndex(t+1).bookmarks),r.bookmarks.remove(r.bookmarks.getByIndex(t+1))):t++;let i=0;while(i<r.bookmarks.count){let t=r.bookmarks.getByIndex(i),e=i+1;while(e<r.bookmarks.count){var n=r.bookmarks.getByIndex(e);t.text==n.text?(t.bookmarks.addRange(n.bookmarks),r.bookmarks.removeAt(e)):e++}i++}for(var e of r.bookmarks.list)a.prepareBookmark(e)}static createBookmark(t,e=null){let r=new Id;return r.text=t,r.componentGuid=e,r}};Ae.aq.StiBookmarksHelper=a}Ae.am.StiBusinessObjectData=class{constructor(t,e,r,i){this.category=t,this.name=e,this.alias=r,this.businessObjectValue=i}},Ae.ax.StiExportSettings=class{is(t){if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}getExportFormat(){return Ae.c.StiExportFormat.None}},Ae.ax.StiPageRangeExportSettings=class extends Ae.ax.StiExportSettings{constructor(){super(...arguments),this.pageRange=new Ae.c.StiPagesRange}};let Od=Ae.ax.StiTiffCompressionScheme;var ht=Ae.ax.StiPageRangeExportSettings,Hd;let _d=Ae.c.StiExportFormat,Vd=Ae.ax.StiImageFormat,Gd=Ae.ax.StiMonochromeDitheringType,Ud=Ae.ax.StiImageType;Ae.ax.StiImageExportSettings=class extends ht{constructor(t=Ud.Jpeg){super(),this.imageZoom=1,this.imageResolution=100,this.cutEdges=!1,this.imageFormat=Vd.Color,this.multipleFiles=!1,this.ditheringType=Gd.FloydSteinberg,this.tiffCompressionScheme=Od.Default,this.imageType=t,this.pageRange=new Ae.c.StiPagesRange(Ae.c.StiRangeType.CurrentPage,"",0)}getExportFormat(){switch(this.imageType){case Ud.Bmp:return _d.ImageBmp;case Ud.Emf:return _d.ImageEmf;case Ud.Gif:return _d.ImageGif;case Ud.Jpeg:return _d.ImageJpeg;case Ud.Pcx:return _d.ImagePcx;case Ud.Png:return _d.ImagePng;case Ud.Svg:return _d.ImageSvg;case Ud.Svgz:return _d.ImageSvgz;default:return _d.ImageTiff}}},Ae.ax.StiExportService=class{constructor(){this.isStopped=!1,this.multipleFiles=!1,this.renderedPagesCount=0,this.currentPassNumber=0,this.maximumPassNumber=0,this.exportServiceId=""}get exportFormat(){return null}invokeExporting(t,e,r,i){}invokeExporting2(t,e,r,i){}},Ae.ax.StiImageExportService=class extends Ae.ax.StiExportService{constructor(){super(),this.exportNameInMenu=ne.get("Export","ExportTypeImageFile"),this.position=Ae.ax.StiExportPosition.Image,this.multipleFiles=!0}get defaultExtension(){if(this.imageSettings.stimulsoft().is(Ae.ax.StiSvgExportSettings)||this.imageSettings.imageType==Ae.ax.StiImageType.Svg)return"svg";return"jpeg"}get exportFormat(){if(null!=this.imageSettings&&Wr.getType(this.imageSettings)==Ae.ax.StiImageExportSettings)return Ae.c.StiExportFormat.Image;if(this.imageSettings.stimulsoft().is(Ae.ax.StiSvgExportSettings)||this.imageSettings.imageType==Ae.ax.StiImageType.Svg)return Ae.c.StiExportFormat.ImageSvg;return Ae.c.StiExportFormat.Image}get groupCategory(){return this.stimulsoft().is(Ae.ax.StiSvgExportService)?"Meta":"Image"}getFilter(){if(this.imageSettings.stimulsoft().is(Ae.ax.StiSvgExportSettings)||this.imageSettings.imageType==Ae.ax.StiImageType.Svg)return ne.get("FileFilters","SvgFiles");return ne.get("FileFilters","JpegFiles")}exportTo(t,e,r){this.exportImage(t,e,r)}exportImage(t,e,r){if((r=null==r?this.getSettings():r).getExportFormat()==Ae.c.StiExportFormat.ImagePng&&!t.isDocument&&t.getCurrentPage().stimulsoft().is(Ae.aA.IStiDashboard))return;try{this.exportImage1(t,e,r)}finally{}}getSettings(){if(this.stimulsoft().is(Ae.ax.StiSvgExportService))return new Ae.ax.StiImageExportSettings(Ae.ax.StiImageType.Svg);return new Ae.ax.StiImageExportSettings(Ae.ax.StiImageType.Jpeg)}exportImage1(t,e,r){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),De.format("Export report to {0} format ",Zt.getName(Ae.ax.StiImageType,r.imageType))),null==r)throw new Error("The 'settings' argument cannot be equal in null.");let i=(this.imageSettings=r).pageRange;var n=r.imageFormat,a=r.tiffCompressionScheme,s;this.multipleFiles=r.multipleFiles;let o=i.getSelectedPages(t.renderedPages),l=r.imageType;l!=Ae.ax.StiImageType.Emf||Hd.Engine.fullTrust||(l=Ae.ax.StiImageType.Png);for(s of o.list){if(o.getPage(s),this.invokeExporting(s,o,0,1),this.isStopped)return;l==Ae.ax.StiImageType.Tiff&&!this.multipleFiles||l==Ae.ax.StiImageType.Emf||l==Ae.ax.StiImageType.Pcx||l==Ae.ax.StiImageType.Bmp&&n==Ae.ax.StiImageFormat.Monochrome||(l==Ae.ax.StiImageType.Svg||l==Ae.ax.StiImageType.Svgz?e.ref+=Ae.ax.StiSvgHelper.saveToString(t,s,l==Ae.ax.StiImageType.Svgz):l==Ae.ax.StiImageType.Tiff&&Ae.ax.StiTiffCompressionScheme.Default)}}},Ae.as.StiExportAssembly=class{static get isAssemblyLoaded(){return null!=Ae.ax["StiPdfExportService"]}};let jd=Ae.C.IStiQueryObject,Wd=Ae.A.StiUsedDataHelper,qd=Ae.C.StiDataSourcePicker,zd=Ae.C.StiDataRequestOption,Xd=Ae.C.StiDataSortRule,Jd=Ae.C.StiDataFilterRule,Yd=Ae.C.StiDataActionRule,Qd=Ae.C.StiDataAnalyzer,Kd=Ae.A.StiDataTableConverter;{let i=class extends Ae.am.StiDataStoreSource{constructor(t,e,r){super(t,e,e,null!=r?r:_i.generateKey()),this.sorts=new Ee,this.filters=new Ee,this.actions=new Ee,this.connectionOrder=Ae.am.StiConnectionOrder.None,this.key=_i.getOrGeneratedKey(r)}implements(){return i.ImplementsStiDataTransformation||(i.ImplementsStiDataTransformation=super.implements().concat([jd,Yt])),i.ImplementsStiDataTransformation}meta(){return this._hash||(this._hash=[...super.meta(),new Ma("Sorts").get(t=>ci.Serialize.objectArray(this.sorts,t)).set(t=>this.sorts.addRange(t.value.properties().toList().select(t=>Xd.loadFromJson(t.value)))).setXml(t=>this.sorts.addRange(t.childNodes.toList().select(t=>Xd.loadFromXml(t)))),new Ma("Filters").get(t=>ci.Serialize.objectArray(this.filters,t)).set(t=>this.filters.addRange(t.value.properties().toList().select(t=>Jd.loadFromJson(t.value)))).setXml(t=>this.filters.addRange(t.childNodes.toList().select(t=>Jd.loadFromXml(t)))),new Ma("Actions").get(t=>ci.Serialize.objectArray(this.actions,t)).set(t=>this.actions.addRange(t.value.properties().toList().select(t=>Yd.loadFromJson(t.value)))).setXml(t=>this.actions.addRange(t.childNodes.toList().select(t=>Yd.loadFromXml(t))))])}retrieveUsedDataNames(t){return Wd.getMany2(this.getMeters())}getDataSources(t){let e=this.getDictionary();if(null==e)return null;var r=e.fetchDataSources().where(t=>!t.is(i)&&(t.getKey()!=this.getKey()||null==this.getKey()),this);return qd.fetch(this,null,t,r)}getKey(){return this.key}getDataTable2(t){return Y.tsfb(this,void 0,void 0,function*(){return new Promise(e=>{this.retrieveDataTableAsync(t?zd.AllowOpenConnections:zd.None).try(t=>e(t))})})}getDataAdapterType(){return Ae.am.StiDataTransformationAdapterService}retrieveDataTableAsync(i){let n=new _r;if(0==this.columns.count)return n.callTry(new ze(this.name));return setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){var t=yield Qd.analyze(this,null,this.getMeters(),i,this.sorts,this.filters,null,this.actions),e=this.columns.toList().select(t=>t.type);let r=Kd.toNetTable(t,e);r.tableName=this.name,n.callTry(r)}),0),n}connectToDataAsync(){let e=new _r;return this.retrieveDataTableAsync(zd.None).try(t=>{this.dataTable=t,e.callTry()},this),e}getMeters(t){return this.columns.toList().where(t=>t.is(Ae.am.StiDataTransformationColumn)).cast().select(this.getMeter)}getMeter(t){switch(t.mode){case Ae.am.StiDataTransformationMode.Dimension:return new Ae.am.StiDimensionTransformationMeter(t.expression,t.name,t.key);case Ae.am.StiDataTransformationMode.Measure:return new Ae.am.StiMeasureTransformationMeter(t.expression,t.name,t.key);default:throw new fn(t.mode)}}get componentId(){return Ae.c.StiComponentId.StiDataTransformation}createNew(){return new i}};Ae.am.StiDataTransformation=i}Ae.am.StiFileDatabase=class extends Ae.am.StiDatabase{constructor(t="",e="",r=""){super(t,t,r),this.pathData=e}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("PathData")])}createDataSources(i){let t=this.getDatabaseInformation(i),n=this;t.tables.select(t=>{var e=Ae.c.StiNameCreation.createDataSourcesName(i.report,t.tableName);let r=new Ae.am.StiDataTableSource;return r.dictionary=i,r.nameInSource=De.format("{0}.{1}",n.name,t.tableName),r.name=e,r.alias=e,r.columns=new Ae.am.StiDataColumnsCollection(t.columns.toList()),i.dataSources.add(r),r})}static parsePathExpression(t,a){if(!Hd.Dictionary.allowRestConnections)return a;let s=new $o;if(s.name="**RestConnection**",s.page=t.report.pages.getByIndex(0),a.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi)){let i="",n=0;while(n<a.length){let r=n;while(n<a.length&&"{"!=a[n])n++;if(n!=r&&(i+=a.substr(r,n-r)),n<a.length&&"{"==a[n]){n++,r=n;let e=!1;while(n<a.length){if('"'==a[n]){n++;let t=n;while(t<a.length){if('"'==a[t])break;"\\"==a[t]&&t++,t++}n=t+1;continue}if("}"==a[n]){var o=a.substr(r,n-r);let t=Ae.bb.StiParser.parseTextValue("{"+o+"}",s);null!=t&&t instanceof z&&(t=t.toString("YYYY-MM-DDThh:mm:ss")),null!=t&&(i+=Ae.ax.StiExportUtils.stringToUrl(t.toString())),e=!0,n++;break}n++}e||(i+=a.substr(r))}}return i}{let t=null;try{t=Ae.bb.StiParser.parseTextValue(a,s)}catch(t){}if(null==t)return"";return t.toString()}}};let Zd=Ae.am.StiResourceType,$d=Ae.am.StiDataTransformation,tm=Ae.am.StiResource,em=Ae.am.StiFileDatabase;Ae.al.StiDataResourceHelper=class{static saveSnapshotAsync(i){return Y.tsfb(this,void 0,void 0,function*(){try{var e=i.getDictionary();if(null==e)return;let t=yield this.getListResourceSnapshot(i,e);t.forEach(e.resources.add,e.resources);var r=this.getRelationInformation(e);this.replaceDatabase(e,t),this.saveRelationSnapshot(e,r)}catch(t){}})}static getRelationInformation(t){let e=new Dt;for(var r of t.relations.list){if(null==r.parentSource||null==r.childSource||this.databaseFromRecource(r.parentSource.getConnection())||this.databaseFromRecource(r.childSource.getConnection()))continue;var i={item1:r.parentSource.name,item2:r.childSource.name};let t=r.clone();t.ParentSource=null,t.ChildSource=null,e.set(i,t)}return e}static saveRelationSnapshot(i,n){for(var a of n.keys){let e=a.item1,r=a.item2,t=n.get(a);t.parentSource=i.dataSources.toList().firstOrDefault(t=>t.name==e),t.childSource=i.dataSources.toList().firstOrDefault(t=>t.name==r),i.relations.add(t)}}static replaceDatabase(e,t){let r=new Dt,i=new Ee;for(var n of e.databases.list){if(this.databaseFromRecource(n))continue;i.push(n)}let a=new Ee;for(var s of e.dataSources.list){let e=s.getCategoryName();if(i.any(t=>t.name==e)){let t=s.fetchColumns().where(t=>t.is(Cn));0<t.count2()&&r.add(s.name,t),a.push(s)}}for(var o of i)e.databases.remove(o);for(var l of a)e.dataSources.remove(l);for(var u of t){let t=u.createFileDatabase();t.name=u.alias,e.databases.add(t);var u=t.getDatabaseInformation(e);t.applyDatabaseInformation(u,e.report)}for(var h of e.dataSources.list){var c,d;if(r.containsKey(h.name))for(d of r.get(h.name))h.columns.add(d)}}static databaseFromRecource(t){let e=null==t?void 0:t.as(em);if(null!=e)return e.pathData.startsWith("resource://");return!1}static getListResourceSnapshot(o,l){return Y.tsfb(this,void 0,void 0,function*(){return new Promise(r=>{let s=new Dt;l.connectAsync(!0).try(()=>{}).finally(()=>{setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){for(var i of l.dataSources.list){if(this.databaseFromRecource(i.getConnection())||i.is($d))continue;let t=i.getCategoryName(),e=s.get(t.toLowerCase());null==e&&(e=new Xe(t),s.set(t.toLowerCase(),e));let r=yield Nu.getDataTable2(null,i);if(null!=r){var n,a;for(a of i.fetchColumns().where(t=>t.is(Cn)).toList())r.columns.removeByName(a.name);e.tables.add(r)}}l.disconnect();let t=new Ee;for(var e of s.values)t.add(this.dataSetToResourceXml(o,e));r(t)}),0)})})})}static dataSetToResourceXml(t,e){var r=t.getDictionary(),i,t=e.writeXml(!0),t=Ot.UTF8.getBytes(t),i;return new tm(this.getNewResourceName(e.dataSetName,r.report),e.dataSetName,null,Zd.Xml,t)}static getNewResourceName(t,e){if(Ae.c.StiNameCreation.isResourceNameExists(e,t))return t=Ae.c.StiNameCreation.createResourceName(e,t),this.getNewResourceName(t,e);return t}},Ae.ap.IStiUnitConvert=new Ae.b.Interface("IStiUnitConvert");let rm=Ae.b.StiNavigatorType,im=Ae.b.StiNavigator,nm=Ae.ax.StiImageExportSettings,am=Ae.ax.StiImageExportService,sm=Ae.al.StiDataResourceHelper,om=Ae.b.StimulsoftList,lm=Ae.d.StiExportNotSupportedException,um=Ae.as.StiExportAssembly,hm=Ae.an.StiRefreshingEvent,cm=Ae.am.StiMetaTagCollection,dm=Ae.ax.StiHtmlExportBookmarksMode,mm=Ae.d.IStiApp,pm=Ae.d.StiDashboardNotSupportedException,gm=Ae.ax.StiExcelType,fm=Ae.ax.StiDataType,Sm=Ae.Z.nqVaV,bm=Ae.an.StiExportEventArgs,ym=Ae.an.StiPrintedEvent,vm=Ae.an.StiPrintingEvent,wm=Ae.an.StiExportedEvent,Cm=Ae.an.StiExportingEvent,Tm=Ae.an.StiReportCacheProcessingEvent,Pm=Ae.ax.StiHtmlExportMode,Im=Ae.ar.StiStyleComponentPlacement,Am=Ae.ap.IStiUnitConvert,xm=Ae.ar.StiStylesCollection,Dm=Ae.aq.StiRenderState,Bm=Ae.aq.StiBookmarksHelper,Em=Ae.am.StiBusinessObjectData,km=Ae.d.StiGZipHelper,Nm=Ae.d.IStiReport,Fm=Ae.d.IStiAppDictionary,Rm=Ae.am.StiVariableInitBy;{let l=class{constructor(){this.masterComponents=[],this.clones=[],this.dialogInfo=[],this.barcodeTypes=[],this.textFormatTypes=[],this.refNames=[]}clean(){this.masterComponents.stimulsoft().clear(),this.masterComponents=null,this.clones.stimulsoft().clear(),this.clones=null,this.dialogInfo.stimulsoft().clear(),this.dialogInfo=null,this.barcodeTypes.stimulsoft().clear(),this.barcodeTypes=null,this.textFormatTypes.stimulsoft().clear(),this.textFormatTypes=null,this.refNames.stimulsoft().clear(),this.refNames=null}};Ae.c.StiJsonLoaderHelper=l;let p=class{constructor(){this._pageNumber=0,this._totalPageCountValue=0,this.pageNofMLocalizationString=null,this.line=1,this.groupLine=1,this.column=1,this.lineThrough=1,this.cacheAllData=!1,this.retrieveOnlyUsedData=!1,this._reportCacheMode=Ae.c.StiReportCacheMode.Off,this.convertNulls=!0,this.currentPage=0,this.currentPrintPage=0,this.pageCopyNumber=1,this.variables=null,this._script="",this.onPrepareVariables=null,this.onBeginProcessData=null,this.onEndProcessData=null,this.events=new Dt,this.beginRenderEventScript="",this.onRendering=null,this.onEndRender=null,this.renderingEvent=new ys,this.endRenderEventScript="",this.onExporting=null,this.exportingEvent=new Cm,this.onExported=null,this.exportedEvent=new wm,this.onPrinting=null,this.printingEvent=new vm,this.printedEvent=new ym,this.refreshingEvent=new hm,this.onGetSubReport=null,this.reportCacheProcessingEvent=new Tm,this._masterReport="",this.anchors=new Dt,this.subReportsMasterReport=null,this.subReportsResetPageNumber=!1,this.subReportsPrintOnPreviousPage=!1,this.indexName=1,this.containsTables=!1,this.cachedTotals=null,this.cachedTotalsLocked=!1,this.preparedExportImages=null,this.modifiedVariables=new Dt,this.metaTags=new cm,this._reportVersion=null,this.engine=null,this._reportRenderingMessages=null,this.interactionCollapsingStates=null,this.reportGuid=null,this._imageCachePath="",this.parentReport=null,this.globalizationManager=new Ae.c.StiNullGlobalizationManager,this._manualBookmark=new Id,this._totals=new Dt,this._cells=null,this.password=null,this._listOfUsedData=null,this.renderedWith=Ae.c.StiRenderedWith.Unknown,this.reportPass=Ae.c.StiReportPass.None,this.isRendered=!1,this.isRendering=!1,this._isModified=!1,this.isStopped=!1,this.isExporting=!1,this.isSerializing=!1,this.isPageDesigner=!1,this.isPrintingValue=!1,this.isDocument=!1,this.isInteractionRendering=!1,this._reportName="",this.reportAlias="",this.reportAuthor="",this.reportDescription="",this.reportCreated=z.now,this.reportChanged=z.now,this._numberOfPass=Ae.c.StiNumberOfPass.SinglePass,this._calculationMode=Ae.c.StiCalculationMode.Interpretation,this._reportUnit=Ae.c.StiReportUnitType.Centimeters,this._stopBeforePage=0,this.previewSettings=Ae.aH.StiPreviewSettings.Default,this.dashboardViewerSettings=Ae.c.StiDashboardViewerSettings.All,this._collate=1,this.globalizationStrings=null,this.autoLocalizeReportOnRun=!1,this.scriptLanguage=Ae.c.StiReportLanguageType.JS,this.parametersOrientation=Ae.c.StiOrientation.Horizontal,this.requestParameters=!1,this.cacheTotals=!1,this.culture="",this._refreshTime=0,this.reportFile="";try{Ae.am.StiFunctionsMath.create(),Ae.am.StiFunctionsDate.create(),Ae.am.StiFunctionsDrawing.create(),Ae.am.StiFunctionsPrintState.create(),Ae.am.StiFunctionsProgramming.create(),Ae.am.StiFunctionsStrings.create(),Ae.am.StiFunctionsTotals.create(),this.key=_i.generateKey(),this.subReports=new Ae.c.StiReportsCollection(this),this.reportGuid=this.generateReportGuid(),this._info=new Ae.aD.StiDesignerInfo(this);try{}catch(t){Ae.b.StiError.showError(t,!1)}this._dictionary=new Ae.am.StiDictionary(this),this.styles=new xm(this),this.globalizationStrings=new Ae.c.StiGlobalizationContainerCollection(this);try{this.pages=new Fd(this),this._renderedPages=new Fd(this)}catch(t){Ae.b.StiError.showError(t,!1)}let t=new Kl(this);try{}catch(t){Ae.b.StiError.showError(t,!1)}this.pages.add(t),t.name=Ae.c.StiNameCreation.generateName(t)+"1",this.renderedPages.add(t);try{let t;("en"==ne.cultureName||Hd.Engine.forceGenerationNonLocalizedName)&&(t=!1),Hd.Engine.forceGenerationLocalizedName&&(t=!0),t?(this._reportName=ne.get("Components","StiReport"),this.reportAlias=ne.get("Components","StiReport")):(this._reportName="Report",this.reportAlias="Report")}catch(t){Ae.b.StiError.showError(t,!1),this._reportName="Report",this.reportAlias="Report"}this.bookmarkValue=Bm.createBookmark(this.reportAlias),this.pointerValue=Bm.createBookmark(this.reportAlias),this._manualBookmark=Bm.createBookmark(this.reportAlias)}catch(t){Ae.b.StiError.showError(t,!1)}}implements(){return[Am,Nm,Yt,mm,ku,qa]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}static assignSignature(t,e){De.isNullOrWhiteSpace(t.reportGuid)&&t.generateReportGuid(),t[["li","ce","ns","eK","ey"].join("")]=Sm.encrypt(Ae.d[["St","iL","ic","en","se"].join("")].key,t.reportGuid)}saveToJsonInternal(e){this.storedCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.updateReportVersion();let t=new te("");return t.addPropertyStringNullOrEmpty("ReportVersion",this.reportVersion),t.addPropertyStringNullOrEmpty("ReportGuid",this.reportGuid),t.addPropertyStringNullOrEmpty("ReportName",this.reportName),t.addPropertyStringNullOrEmpty("ReportAlias",this.reportAlias),t.addPropertyStringNullOrEmpty("ReportFile",this.reportFile),t.addPropertyStringNullOrEmpty("ReportAuthor",this.reportAuthor),t.addPropertyStringNullOrEmpty("ReportDescription",this.reportDescription),t.addPropertyDateTime("ReportCreated",this.reportCreated),t.addPropertyDateTime("ReportChanged",this.reportChanged),t.addPropertyString("EngineVersion","EngineV2"),t.addPropertyEnum("NumberOfPass",Ae.c.StiNumberOfPass,this.numberOfPass,Ae.c.StiNumberOfPass.SinglePass),t.addPropertyEnum("CalculationMode",Ae.c.StiCalculationMode,this._calculationMode,Ae.c.StiCalculationMode.Compilation),t.addPropertyEnum("ReportUnit",Ae.c.StiReportUnitType,this.reportUnit,null),t.addPropertyBool("CacheAllData",this.cacheAllData),t.addPropertyBool("RetrieveOnlyUsedData",this.retrieveOnlyUsedData),t.addPropertyEnum("ReportCacheMode",Ae.c.StiReportCacheMode,this.reportCacheMode,Ae.c.StiReportCacheMode.Off),t.addPropertyBool("ConvertNulls",this.convertNulls,!0),t.addPropertyNumber("StopBeforePage",this.stopBeforePage),t.addPropertyNumber("Collate",this.collate,1),t.addPropertyEnum("ScriptLanguage",Ae.c.StiReportLanguageType,this.scriptLanguage,Ae.c.StiReportLanguageType.JS),t.addPropertyBool("AutoLocalizeReportOnRun",this.autoLocalizeReportOnRun),t.addPropertyEnum("ParametersOrientation",Ae.c.StiOrientation,this.parametersOrientation,Ae.c.StiOrientation.Horizontal),t.addPropertyBool("RequestParameters",this.requestParameters),t.addPropertyBool("CacheTotals",this.cacheTotals),t.addPropertyStringNullOrEmpty("Culture",this.culture),t.addPropertyNumber("DashboardViewerSettings",this.dashboardViewerSettings,Ae.c.StiDashboardViewerSettings.All),t.addPropertyNumber("PreviewSettings",this.previewSettings),null!=this.reportIcon&&t.addPropertyString("ReportIcon",this.reportIcon),null!=this.reportImage&&t.addPropertyString("ReportImage",this.reportImage),e==as.Document?(t.addPropertyJObject("RenderedPages",this.renderedPages.saveToJsonObject(e)),t.addPropertyStringNullOrEmpty("RenderedWith",Zt.getName(Ae.c.StiRenderedWith,this.renderedWith))):(t.addPropertyNumber("RefreshTime",this.refreshTime,0),t.addPropertyJObject("MetaTags",this.metaTags.saveToJsonObject(e)),t.addPropertyJObject("Styles",this.styles.saveToJsonObject(e)),t.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(e)),t.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(e)),t.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(e)),t.addPropertyJObject("ExportingEvent",this.exportingEvent.saveToJsonObject(e)),t.addPropertyJObject("ExportedEvent",this.exportedEvent.saveToJsonObject(e)),t.addPropertyJObject("PrintingEvent",this.printingEvent.saveToJsonObject(e)),t.addPropertyJObject("PrintedEvent",this.printedEvent.saveToJsonObject(e)),t.addPropertyJObject("RefreshingEvent",this.refreshingEvent.saveToJsonObject(e)),t.addPropertyJObject("ReportCacheProcessingEvent",this.reportCacheProcessingEvent.saveToJsonObject(e)),t.addPropertyJObject("GlobalizationStrings",this.globalizationStrings.saveToJsonObject(e)),t.addPropertyJObject("Dictionary",this.dictionary.saveToJsonObject(e)),t.addPropertyJObject("Pages",this.pages.saveToJsonObject(e))),t.serialize()}finally{xt.currentCulture=this.storedCulture}}saveSnapshot(){return Y.tsfb(this,void 0,void 0,function*(){try{return yield sm.saveSnapshotAsync(this),this.saveToJsonString()}catch(t){}return null})}loadFromJsonInternal(e){var i;this.isSerializing=!0,this.storedCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.jsonLoaderHelper=new l,this.isDocument=!1,this.isRendered=!1,this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=Ae.c.StiReportUnitType.Centimeters;let t=new te;t.deserialize(e);for(var n of t.properties())switch(n.name){case"ReportVersion":this._reportVersion=n.value;break;case"ReportGuid":this.reportGuid=n.value;break;case"ReportName":this.reportName=n.value;break;case"ReportAlias":this.reportAlias=n.value;break;case"ReportFile":this.reportFile=n.value;break;case"ReportAuthor":this.reportAuthor=n.value;break;case"ReportIcon":this.reportIcon=n.value;break;case"ReportImage":this.reportImage=n.value;break;case"ReportDescription":this.reportDescription=n.value;break;case"ReportCreated":this.reportCreated=te.jsonDateFormatToDate(n.value);break;case"ReportChanged":this.reportChanged=te.jsonDateFormatToDate(n.value);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=Zt.parse(Ae.c.StiNumberOfPass,n.value);break;case"CalculationMode":this._calculationMode=Zt.parse(Ae.c.StiCalculationMode,n.value);break;case"ReportUnit":this.reportUnit=Zt.parse(Ae.c.StiReportUnitType,n.value);break;case"CacheAllData":this.cacheAllData=n.value.stimulsoft().toBoolean();break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=n.value.stimulsoft().toBoolean();break;case"ReportCacheMode":this.reportCacheMode=Zt.parse(Ae.c.StiReportCacheMode,n.value);break;case"ConvertNulls":this.convertNulls=n.value.stimulsoft().toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=n.value.stimulsoft().toBoolean();break;case"Collate":this.collate=n.value.stimulsoft().toBoolean();break;case"ReferencedAssemblies":break;case"ScriptLanguage":this.scriptLanguage=Zt.parse(Ae.c.StiReportLanguageType,n.value);break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=n.value.stimulsoft().toBoolean();break;case"ParametersOrientation":this.parametersOrientation=Zt.parse(Ae.c.StiOrientation,n.value);break;case"RequestParameters":this.requestParameters=n.value.stimulsoft().toBoolean();break;case"CacheTotals":this.cacheTotals=n.value.stimulsoft().toBoolean();break;case"Culture":this.culture=n.value;break;case"Script":break;case"BeginRenderEvent":{let t=new vs;t.loadFromJsonObject(n.value),this.beginRenderEvent=t;break}case"RenderingEvent":{let t=new ys;t.loadFromJsonObject(n.value),this.renderingEvent=t;break}case"EndRenderEvent":{let t=new bs;t.loadFromJsonObject(n.value),this.endRenderEvent=t;break}case"ExportingEvent":{let t=new Cm;t.loadFromJsonObject(n.value),this.exportingEvent=t;break}case"ExportedEvent":{let t=new wm;t.loadFromJsonObject(n.value),this.exportedEvent=t;break}case"PrintingEvent":{let t=new vm;t.loadFromJsonObject(n.value),this.printingEvent=t;break}case"PrintedEvent":{let t=new ym;t.loadFromJsonObject(n.value),this.printedEvent=t;break}case"RefreshingEvent":{let t=new hm;t.loadFromJsonObject(n.value),this.refreshingEvent=t;break}case"ReportCacheProcessingEvent":{let t=new Tm;t.loadFromJsonObject(n.value),this.reportCacheProcessingEvent=t;break}case"MetaTags":this.metaTags.loadFromJsonObject(n.value);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromJsonObject(n.value);break;case"PrinterSettings":break;case"Styles":this.styles.loadFromJsonObject(n.value);break;case"Dictionary":this.dictionary.loadFromJsonObject(n.value);break;case"Pages":this.isRendered=!1,this.isDocument=!1,this.pages.loadFromJsonObject(n.value);break;case"RenderedPages":this.isRendered=!0,this.isDocument=!0,this.renderedPages.loadFromJsonObject(n.value);break;case"RefreshTime":this.refreshTime=n.value.stimulsoft().toNumber();break;case"RenderedWith":this.renderedWith=Zt.parse(Ae.c.StiRenderedWith,n.value);break;case"DashboardViewerSettings":this.dashboardViewerSettings=n.value.stimulsoft().toNumber();break;case"PreviewSettings":this.previewSettings=n.value.stimulsoft().toNumber();break}let r=null;if(0<this.jsonLoaderHelper.masterComponents.length){r=this.getComponents();for(var a of this.jsonLoaderHelper.masterComponents){let t=a.stimulsoft().as(Ae.as.IStiChart);if(null!=t){t.masterComponent=r.getByName(t.jsonMasterComponentTemp),t.jsonMasterComponentTemp=null;continue}let e=a.stimulsoft().as(Jl);if(null!=e){e.masterComponent=r.getByName(e.jsonMasterComponentTemp),e.jsonMasterComponentTemp=null;continue}}}if(0<this.jsonLoaderHelper.clones.length){null==r&&(r=this.getComponents());for(var s of this.jsonLoaderHelper.clones)s.container=null===(i=r.getByName(s.jsonContainerValueTemp))||void 0===i?void 0:i.as(Ae.ap.StiContainer),s.jsonContainerValueTemp=null}if(0<this.jsonLoaderHelper.dialogInfo.length)for(var o of this.jsonLoaderHelper.dialogInfo)o.bindingVariable=this.dictionary.variables.getByName(o.jsonLoadedBindingVariableName),o.jsonLoadedBindingVariableName=null;this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(t){throw Ae.b.StiError.showError(t,!1),t}finally{xt.currentCulture=this.storedCulture,this.isSerializing=!1}}loadFromXmlInternal(n){if("StiSerializer"!=n.firstChild.nodeName)return;var a="StiDocument"==n.firstChild.attributes.getNamedItem("application").value;this.jsonLoaderHelper=new l,this.isSerializing=!0,this.storedCulture=xt.currentCulture;try{xt.currentCulture=xt.cultures["en-US"],this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=Ae.c.StiReportUnitType.Centimeters;let r;for(let t=0;t<n.firstChild.childNodes.length;t++){let e=n.firstChild.childNodes[t];if("#text"==e.nodeName)continue;switch(e.nodeName){case"Dictionary":this.dictionary.loadFromXml(e);break;case"Styles":this.styles.loadFromXml(e);break;case"Pages":r=e;break;case"ReportVersion":this._reportVersion=e.textContent;break;case"ReportGuid":this.reportGuid=e.textContent;break;case"ReportName":this._reportName=e.textContent;break;case"ReportAlias":this.reportAlias=e.textContent;break;case"ReportFile":this.reportFile=e.textContent;break;case"ReportAuthor":this.reportAuthor=e.textContent;break;case"ReportIcon":this.reportIcon=e.textContent;break;case"ReportImage":this.reportImage=e.textContent;break;case"ReportDescription":this.reportDescription=e.textContent;break;case"ReportCreated":this.reportCreated=te.jsonDateFormatToDate(e.textContent);break;case"ReportChanged":this.reportChanged=te.jsonDateFormatToDate(e.textContent);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=Zt.parse(Ae.c.StiNumberOfPass,e.textContent);break;case"CalculationMode":this._calculationMode=Zt.parse(Ae.c.StiCalculationMode,e.textContent);break;case"Unit":if(a)switch(e.getAttribute("type")){case"mm":this.reportUnit=Ae.c.StiReportUnitType.Millimeters;break;case"cm":this.reportUnit=Ae.c.StiReportUnitType.Centimeters;break;case"hi":this.reportUnit=Ae.c.StiReportUnitType.HundredthsOfInch;break;case"in":this.reportUnit=Ae.c.StiReportUnitType.Inches;break}break;case"ReportUnit":this.reportUnit=Zt.parse(Ae.c.StiReportUnitType,e.textContent);break;case"CacheAllData":this.cacheAllData=e.textContent.stimulsoft().toBoolean();break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=e.textContent.stimulsoft().toBoolean();break;case"ReportCacheMode":this.reportCacheMode=Zt.parse(Ae.c.StiReportCacheMode,e.textContent);break;case"ConvertNulls":this.convertNulls=e.textContent.stimulsoft().toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=e.textContent.stimulsoft().toNumber();break;case"PreviewSettings":this.previewSettings=e.textContent.stimulsoft().toNumber();break;case"DashboardViewerSettings":this.dashboardViewerSettings=0,0<=e.textContent.indexOf("ShowToolBar")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowToolBar),0<=e.textContent.indexOf("ShowRefreshButton")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowRefreshButton),0<=e.textContent.indexOf("ShowOpenButton")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowOpenButton),0<=e.textContent.indexOf("ShowFullScreenButton")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowFullScreenButton),0<=e.textContent.indexOf("ShowMenuButton")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowMenuButton),0<=e.textContent.indexOf("ShowEditButton")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowEditButton),0<=e.textContent.indexOf("ShowReportSnapshots")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowReportSnapshots),0<=e.textContent.indexOf("ShowExports")&&(this.dashboardViewerSettings|=Ae.c.StiDashboardViewerSettings.ShowExports);break;case"Collate":this.collate=e.textContent.stimulsoft().toNumber();break;case"ReferencedAssemblies":break;case"ScriptLanguage":this.scriptLanguage=Zt.parse(Ae.c.StiReportLanguageType,e.textContent);break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=e.textContent.stimulsoft().toBoolean();break;case"ParametersOrientation":this.parametersOrientation=Zt.parse(Ae.c.StiOrientation,e.textContent);break;case"RequestParameters":this.requestParameters=e.textContent.stimulsoft().toBoolean();break;case"CacheTotals":this.cacheTotals=e.textContent.stimulsoft().toBoolean();break;case"Culture":this.culture=e.textContent;break;case"Script":this.script=e.textContent;break;case"BeginRenderEvent":{let t=new vs;t.script=e.textContent,this.beginRenderEvent=t;break}case"RenderingEvent":{let t=new ys;t.script=e.textContent,this.renderingEvent=t;break}case"EndRenderEvent":{let t=new bs;t.script=e.textContent,this.endRenderEvent=t;break}case"ExportingEvent":{let t=new Cm;t.script=e.textContent,this.exportingEvent=t;break}case"ExportedEvent":{let t=new wm;t.script=e.textContent,this.exportedEvent=t;break}case"PrintingEvent":{let t=new vm;t.script=e.textContent,this.printingEvent=t;break}case"PrintedEvent":{let t=new ym;t.script=e.textContent,this.printedEvent=t;break}case"RefreshingEvent":{let t=new hm;t.script=e.textContent,this.refreshingEvent=t;break}case"ReportCacheProcessingEvent":{let t=new Tm;t.script=e.textContent,this.reportCacheProcessingEvent=t;break}case"MetaTags":this.metaTags.loadFromXml(e);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromXmlObject(e);break;case"PrinterSettings":break;case"RefreshTime":this.refreshTime=e.textContent.stimulsoft().toNumber();break;case"RenderedWith":this.renderedWith=Zt.parse(Ae.c.StiRenderedWith,e.textContent);break}}r&&(a?this.renderedPages:this.pages).loadFromXml(r);let i=null;if(0<this.jsonLoaderHelper.masterComponents.length){i=this.getComponents();for(var s of this.jsonLoaderHelper.masterComponents){let t=s.stimulsoft().as(Ae.as.IStiChart);if(null!=t){t.masterComponent=i.getByName(this.jsonLoaderHelper.refNames[t.jsonMasterComponentTemp]),t.jsonMasterComponentTemp=null;continue}let e=s.stimulsoft().as(Jl);if(null!=e){e.masterComponent=i.getByName(this.jsonLoaderHelper.refNames[e.jsonMasterComponentTemp]),e.jsonMasterComponentTemp=null;continue}}}if(0<this.jsonLoaderHelper.clones.length){null==i&&(i=this.getComponents());for(var t of this.jsonLoaderHelper.clones)t.container=i.getByName(this.jsonLoaderHelper.refNames[t.jsonContainerValueTemp]).stimulsoft().as(Ae.ap.StiContainer),t.jsonContainerValueTemp=null}if(0<this.jsonLoaderHelper.dialogInfo.length)for(var e of this.jsonLoaderHelper.dialogInfo)e.xmlLoadedBindingVariable&&(e.bindingVariable=Ae.am.StiVariable.loadFromXml(e.xmlLoadedBindingVariable,this)),e.xmlLoadedBindingVariable=null;this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(t){Ae.b.StiError.showError(t,!1)}finally{xt.currentCulture=this.storedCulture,this.isSerializing=!1}a&&(this.isDocument=!0,this.isRendered=!0)}isPackedFile(t){if(!t)return!1;return 31==t[0]&&139==t[1]&&8==t[2]||80==t[0]&&75==t[1]&&3==t[2]}load(t){try{if(void 0===t||null==t)return;if(ke.isArray(t)){if(this.isPackedFile(t))return void this.loadPacked(t);t=Ae.bl.Encoding.UTF8.getString(t)}(t="string"==typeof t&&t.trim().stimulsoft().startsWith("<?xml")?at.toXml(t):t).stimulsoft().is(fr)?this.loadFromXmlInternal(t):this.loadFromJsonInternal(t)}catch(t){Ae.b.StiError.showError(t,!1)}}loadFile(t){var e=Ae.bo.File.getFile(t);e&&(this.load(e),this.reportFile=t)}loadPacked(t){try{if(void 0===t||null==t)return;var e=km.unpack(t);this.load(e)}catch(t){Ae.b.StiError.showError(t.message,!1)}}loadPackedFile(t){var e=Ae.bo.File.getFile(t,!0);e&&(this.loadPacked(e),this.reportFile=t)}loadEncryptedReport(t,r){try{if(void 0===t||null==t)return;var i=t="string"==typeof t?Ae.b.Convert.fromBase64String(t):t;if("m"!=String.fromCharCode(i[0])||"r"!=String.fromCharCode(i[1])||"x"!=String.fromCharCode(i[2]))throw new Error("This file is a not '.mrx' format.");let e=ke.create(Number,i.length-3);for(let t=3;t<i.length;t++)e[t-3]=i[t];e=ee.decrypt2(e,r);try{e=km.unpack(e)}catch(t){throw Ae.R.StiLocalization.get("DesignerFx","DecryptionError")}var n=Ae.bl.Encoding.UTF8.getString(e);this.password=r,this.load(n)}catch(t){Ae.b.StiError.showError(t,!0)}}loadEncryptedReportFile(t,e){var r=Ae.bo.File.getFile(t,!0);r&&(this.loadEncryptedReport(r,e),this.reportFile=t)}loadDocument(t){try{if(void 0===t||null==t)return;if(ke.isArray(t)){if(this.isPackedFile(t))return this.loadPackedDocument(t),this.isDocument=!0,void(this.isRendered=!0);t=Ae.bl.Encoding.UTF8.getString(t)}(t="string"==typeof t&&t.trim().stimulsoft().startsWith("<?xml")?at.toXml(t):t).stimulsoft().is(fr)?this.loadFromXmlInternal(t):this.loadFromJsonInternal(t)}catch(t){Ae.b.StiError.showError(t.message,!1)}this.isDocument=!0,this.isRendered=!0}loadDocumentFile(t){var e=Ae.bo.File.getFile(t);e&&(this.loadDocument(e),this.reportFile=t)}loadPackedDocument(i){try{if(void 0===i||null==i)return;if((i=i instanceof Array?Ae.bl.Encoding.UTF8.getString(i):i)instanceof Uint8Array){let e=[];for(let t=0;t!=i.length;++t)e[t]=i[t];i=e}let r=km.unpack(i);if(r instanceof Uint8Array){let e="";for(var t of r)e+=String.fromCharCode(t);try{r=e.stimulsoft().fromUnicodeString()}catch(t){r=e}}this.loadDocument(r)}catch(t){if(Ae.b.StiError.showError(t.message,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"Loading packed rendered report ...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}loadPackedDocumentFile(t){var e=Ae.bo.File.getFile(t,!0);e&&(this.loadPackedDocument(e),this.reportFile=t)}loadEncryptedDocument(t,i){try{if(void 0===t||null==t)return;"string"==typeof t&&(t=Ae.b.Convert.fromBase64String(t));var n=new Uint8Array(t);let e=[];for(let t=0;t!=n.length;++t)e[t]=n[t];if("m"!=String.fromCharCode(e[0])||"d"!=String.fromCharCode(e[1])||"x"!=String.fromCharCode(e[2]))throw new Error("This file is a not '.mdx' format.");let r=ke.create(Number,e.length-3);for(let t=3;t<e.length;t++)r[t-3]=e[t];r=ee.decrypt2(r,i);try{r=km.unpack(r)}catch(t){throw Ae.R.StiLocalization.get("DesignerFx","DecryptionError")}var a=Ae.bl.Encoding.UTF8.getString(r);this.password=i,this.loadDocument(a)}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Loading encrypted rendered report ...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),Ae.b.StiError.showError(t,!0),!Hd.Engine.hideExceptions)throw t}}loadEncryptedDocumentFile(t,e){var r=Ae.bo.File.getFile(t,!0);r&&(this.loadEncryptedDocument(r,e),this.reportFile=t)}saveEncryptedReportToByteArray(t){var e=this.saveToJsonString();let r=Ae.bl.Encoding.UTF8.getBytes(e);r=km.pack(r),r=ee.encrypt2(r,t);let i=ke.create(Number,r.length+3);return i[0]="m".charCodeAt(0),i[1]="r".charCodeAt(0),i[2]="x".charCodeAt(0),r.stimulsoft().copyTo(i,3),i}saveEncryptedReportToString(t){var t=this.saveEncryptedReportToByteArray(t);return Ae.b.Convert.toBase64String(t)}saveEncryptedReportFile(t,e){var e=this.saveEncryptedReportToString(e);Ae.bo.File.saveFile(t,e)}savePackedFile(t){var e=this.savePackedToString();Ae.bo.File.saveFile(t,e)}savePackedToString(){var t=this.savePackedToByteArray();return Ae.b.Convert.toBase64String(t)}savePackedToByteArray(){var t=this.saveToJsonString(),t=Ae.bl.Encoding.UTF8.getBytes(t),t;return t=km.pack(t)}saveToJsonString(){try{return this.saveToJsonInternal(as.Report)}catch(t){Ae.b.StiError.showError(t,!1)}finally{}return""}saveFile(t){var e=this.saveToJsonString();Ae.bo.File.saveFile(t,e)}saveDocumentToJsonString(){try{return this.saveToJsonInternal(as.Document)}catch(t){Ae.b.StiError.showError(t,!1)}finally{}return""}saveDocumentFile(t){var e=this.saveDocumentToJsonString();Ae.bo.File.saveFile(t,e)}saveEncryptedDocumentToByteArray(t){var e=this.saveDocumentToJsonString();let r=Ae.bl.Encoding.UTF8.getBytes(e);r=km.pack(r),r=ee.encrypt2(r,t);let i=ke.create(Number,r.length+3);return i[0]="m".charCodeAt(0),i[1]="d".charCodeAt(0),i[2]="x".charCodeAt(0),r.stimulsoft().copyTo(i,3),i}saveEncryptedDocumentToString(t){var t=this.saveEncryptedDocumentToByteArray(t);return Ae.b.Convert.toBase64String(t)}saveEncryptedDocumentFile(t,e){var e=this.saveEncryptedDocumentToString(e);Ae.bo.File.saveFile(t,e)}savePackedDocumentFile(t){var e=this.savePackedDocumentToString();Ae.bo.File.saveFile(t,e)}savePackedDocumentToString(){var t=this.savePackedDocumentToByteArray();return Ae.b.Convert.toBase64String(t)}savePackedDocumentToByteArray(){var t=this.saveDocumentToJsonString(),t=Ae.bl.Encoding.UTF8.getBytes(t),t;return t=km.pack(t)}getDictionary(){return this.dictionary}getKey(){return this.key}setKey(t){this.key=t}fetchPages(){return this.pages.toList()}getFonts(){let t=[];for(var e of this.pages.list)e.stimulsoft().is(qa)&&t.stimulsoft().addRange(e.getFonts());return ke.distinct(t)}get pageNumber(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumber(this.currentPrintPage-1):this._pageNumber}set pageNumber(t){this._pageNumber=t}get pageNumberThrough(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumberThrough(this.currentPrintPage-1):0}get totalPageCount(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCount(this.currentPrintPage-1):0}set totalPageCount(t){this._totalPageCountValue=t}get totalPageCountThrough(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCountThrough(this.currentPrintPage-1):0}get pageNofM(){return Ae.c.StiSystemVariableLocHelper.getPageNofM(this)}get pageNofMThrough(){return Ae.c.StiSystemVariableLocHelper.getPageNofMThrough(this)}get lineRoman(){return Ae.av.Convert.toRoman(this.line)}get lineABC(){return Ae.av.Convert.toABC(this.line)}get date(){return z.today}get today(){return z.today}get time(){return z.now}get reportCacheMode(){return this._reportCacheMode}set reportCacheMode(t){}get isFirstPage(){return 1==this.pageNumber}get isLastPage(){return this.pageNumber==this.totalPageCount}get isFirstPageThrough(){return 1==this.pageNumberThrough}get isLastPageThrough(){return this.pageNumberThrough==this.totalPageCountThrough}get isFirstPass(){return this.reportPass==Ae.c.StiReportPass.First||this.reportPass==Ae.c.StiReportPass.None}get isSecondPass(){return this.reportPass==Ae.c.StiReportPass.Second}get businessObjectsStore(){return null==this._businessObjectsStore&&(this._businessObjectsStore=[]),this._businessObjectsStore}getVariable(t,e=!1){var r=t.substr(0,1).toLowerCase()+t.substr(1);if(!e){if(null!=this[t])return this[t];if(null!=this[r])return this[r]}return null==this.variables?null:this.variables.get(t)}setVariable(t,e,r=!1){let i=null==this.compiledReport?this:this.compiledReport;if(null!=this.dictionary&&this.dictionary.variables.contains(t)&&this.modifiedVariables.set(t,null),!r){var r=t.substr(0,1).toLowerCase()+t.substr(1);if(void 0!==this[r]&&!gc.isReservedWordExist(r))return void(this[r]=e)}null==i.variables&&wd.prepareReportVariables(this),i.variables.set(t,e)}get aggregateFunctions(){return this._aggregateFunctions}set aggregateFunctions(t){this._aggregateFunctions=t}get dictionary(){return this._dictionary}set dictionary(t){this._dictionary=t}get dataSources(){return this._dictionary.dataSources}get dataStore(){return this.dictionary.dataStore}regData(t,e,r,i=li.ParentToChild){this.dictionary.dataStore.regData(t,e,r,i),null!=this.compiledReport&&this.compiledReport.dictionary.dataStore.regData(t,e,r,i)}regBusinessObject2(t,e,r,i){var i=new Em(t,e,r,i);this.storeBusinessObjectWithCheckExistingData(i),null!=this.compiledReport&&this.compiledReport.storeBusinessObjectWithCheckExistingData(i)}regBusinessObject(t){for(var e of t)this.storeBusinessObjectWithCheckExistingData(e)}storeBusinessObjectWithCheckExistingData(t){this.businessObjectsStore.push(t)}get script(){return null==this._script&&this.scriptNew(),this._script}set script(t){this._script=t}scriptNew(){}prepareVariablesFromURL(){var t,e;if(Hd.WebServer.passQueryParametersToReport)for(e of Ae.bo.Http.getUrlParameters()){let t=this.dictionary.variables.getByName(e.name);null!=t?(t=t.clone(),t.initBy=Rm.Value,t.value=e.value,wd.prepareVariableValue(t,this)):this.setVariable(e.name,e.value)}}static getPrepareVariablesArgs(r){let i={event:"PrepareVariables",sender:"Report",report:r,preventDefault:!1,variables:[]};if(null!=r.variables&&0<r.variables.count)for(var t of r.variables.keys){let e=r.dictionary.variables.getByName(t);if(null!=e){let t={name:e.name,value:r.variables.get(e.name),type:e.type.stimulsoft().getTypeName()};!r.isPreviewDialogs&&om.isListType(e.type)&&(t.value=[],ke.copy3(e.dialogInfo.keys,t.value)),i.variables.push(t)}}return i}static setPrepareVariablesArgs(t,e){var r;if(null!=t)for(var i of t){let t=e.dictionary.variables.getByName(i.name);null!=t?(t=t.clone(),t.initBy=Rm.Value,om.isListType(t.type)?t.dialogInfo.keys=null!==(r=i.value)&&void 0!==r?r:[]:Ae.c.Range.isRangeType(t.type)&&ke.isArray(i.value)?t.valueObject=i.value.join(","):Ae.c.Range.isRangeType(t.type)&&"object"==typeof i.value?t.valueObject=t.type.stimulsoft().getTypeName().replace("Range","")+","+i.value.from+","+i.value.to:t.valueObject=i.value,wd.prepareVariableValue(t,e)):e.setVariable(i.name,i.value)}}invokePrepareVariablesAsync(){return Y.tsfb(this,void 0,void 0,function*(){if("function"==typeof this.onPrepareVariables){let n=this;return new Promise((r,i)=>{var t=p.getPrepareVariablesArgs(n),e=function(t){var e;if(null!=t){if("success"in t&&0==t.success)return i(null!==(e=t.notice)&&void 0!==e?e:"Error in the onPrepareVariables event handler.");"variables"in t&&ke.isArray(t.variables)?p.setPrepareVariablesArgs(t.variables,n):ke.isArray(t)&&p.setPrepareVariablesArgs(t,n)}r(null)};this.onPrepareVariables(t,e),t.preventDefault||e(t)})}})}invokeBeginProcessData(t,e){"function"==typeof this.onBeginProcessData&&(t.event="BeginProcessData",t.preventDefault=!1,(t.report=this).onBeginProcessData(t,e))}invokeEndProcessData(t){"function"==typeof this.onEndProcessData&&(t.event="EndProcessData",(t.report=this).onEndProcessData(t))}invokeRefreshPreview(){this.invokeRefreshViewer()}invokeRefreshViewer(){null!=this.compiledReport&&this.compiledReport.invokeRefreshViewer()}invokeClick(t,e){}invokeDoubleClick(t,e){}invokeGotoComp(t){}invokePaint(t,e){}invokeBeginRender(){try{let t=this.events.get(p.eventBeginRender);if(null!=t)try{t()}catch(t){}ja.invokeBlockly(this,this,this.beginRenderEvent),"function"==typeof this.onBeginRender&&this.onBeginRender()}catch(t){if(Ae.c.StiLogService.write(p,"InvokeBeginRender...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}get beginRenderEvent(){return new vs(this.beginRenderEventScript)}set beginRenderEvent(t){null!=t&&(t.set(null,t.script),this.beginRenderEventScript=t.script,this.events.set(p.eventBeginRender,Ha.create(t.script,this)))}invokeRendering(){try{"function"==typeof this.onRendering&&this.onRendering(),ja.invokeBlockly(this,this,this.renderingEvent)}catch(t){if(Ae.c.StiLogService.write(p,"InvokeRendering...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}invokeEndRender(){try{if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&null!=this.totals)for(var e of this.totals.keys){let t=e;null!=t&&t.stimulsoft().startsWith("#%#")&&this.getComponentByName(t.substr(3)).clone().setText(null,null)}let t=this.events.get(p.eventEndRender);if(null!=t)try{t()}catch(t){}ja.invokeBlockly(this,this,this.endRenderEvent),"function"==typeof this.onEndRender&&this.onEndRender()}catch(t){if(Ae.c.StiLogService.write(p,"InvokeEndRender...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}get endRenderEvent(){return new vs(this.endRenderEventScript)}set endRenderEvent(t){null!=t&&(t.set(null,t.script),this.endRenderEventScript=t.script,this.events.set(p.eventEndRender,Ha.create(t.script,this)))}invokeStatusChanged(){try{}catch(t){if(Ae.c.StiLogService.write(p,"InvokeStatusChanged...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}invokeExporting(t){this.isExporting=!0;var t=new bm(t);"function"==typeof this.onExporting&&this.onExporting(t),ja.invokeBlockly(this,this,this.exportingEvent)}invokeExported(t){this.isExporting=!1;var t=new bm(t);"function"==typeof this.onExported&&this.onExported(t),ja.invokeBlockly(this,this,this.exportedEvent)}invokePrinting(){var t=new vm;"function"==typeof this.onPrinting&&this.onPrinting(t),ja.invokeBlockly(this,this,this.printingEvent)}onPrinted(t){}invokePrinted(){this.onPrinted(Un.empty),ja.invokeBlockly(this,this,this.printedEvent)}onRefreshing(t){let e=Ha.create(this.refreshingEvent.script,this);if(null!=e)try{e()}catch(t){}}invokeRefreshing(){this.onRefreshing(Un.empty),ja.invokeBlockly(this,this,this.refreshingEvent)}invokeGetSubReport(t){"function"==typeof this.onGetSubReport&&this.onGetSubReport(t),null!=this.compiledReport&&this.compiledReport.invokeGetSubReport(t),null!=this.parentReport&&this.invokeGetSubReport(t)}invokeReportCacheProcessing(){try{}catch(t){if(Ae.c.StiLogService.write(p,"InvokeReportCacheProcessing...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}get unit(){return Rl.getUnitFromReportUnit(this.reportUnit)}set unit(t){t.stimulsoft().is(Ae.au.StiCentimetersUnit)?this.reportUnit=Ae.c.StiReportUnitType.Centimeters:t.stimulsoft().is(Ae.au.StiMillimetersUnit)?this.reportUnit=Ae.c.StiReportUnitType.Millimeters:t.stimulsoft().is(Ae.au.StiInchesUnit)?this.reportUnit=Ae.c.StiReportUnitType.Inches:t.stimulsoft().is(Ae.au.StiHundredthsOfInchUnit)&&(this.reportUnit=Ae.c.StiReportUnitType.HundredthsOfInch)}convert(t,e,r=!1){if(t.name!=e.name&&null!=this.pages)for(var i of this.pages.list)i.convert(t,e,r)}static changeType(t,e,r=!0){return Ra.changeType(t,e,r)}applyStyleCollection(t){if(De.isNullOrEmpty(t))return;t=t.toLowerCase().trim();let e=[];for(var r of this.styles.list)r.collectionName.toLowerCase().trim()==t&&e.push(r);var i,n;for(n of this.getComponents().list){if(n.is(Kl))continue;for(var a of e){if(!Ae.c.StiStyleConditionHelper.isAllowStyle(n,a))continue;if(!n.is(Ae.as.IStiChart))if(n.is(Jl)){let t=!1,e=!1;for(var s of a.conditions.list){if(0<(s.placement&Im.DataOddStyle)){t=!0;break}if(0<(s.placement&Im.DataEvenStyle)){e=!0;break}}t?n.oddStyle=a.name:e?n.evenStyle=a.name:n.componentStyle=a.name}else n.componentStyle=a.name}}this.applyStyles()}applyStyles(){var t,e;for(e of this.getComponents().list)if(e.is(Ae.as.IStiChart)&&e.allowApplyStyle&&null!=e.style){let t=e.style;e.core.applyStyle(t);var r=t.stimulsoft().as(Ae.as.IStiCustomStyle);if(null!=r){let t=r.core.reportStyle;null!=t&&t.setStyleToComponent(e)}}else if(!De.isNullOrEmpty(e.componentStyle)){let t=this.styles.getByName(e.componentStyle);null!=t&&t.setStyleToComponent(e)}}updateInheritedReport(t=null){if(null!=t)return t.setInheritedMode(!0),void Ae.c.StiInheritedReportComparer.compare(this,t);if(De.isNullOrEmpty(this.masterReport))return;(t=Ge.createObject(Hd.Engine.baseReportType)).load(this.masterReport),t.setInheritedMode(!0),Ae.c.StiInheritedReportComparer.compare(this,t)}get masterReport(){return this._masterReport}set masterReport(t){this._masterReport!=t&&(this._masterReport=t,this.updateInheritedReport())}setInheritedMode(t){for(var e of this.dictionary.variables.list)e.inherited=t;for(var r of this.dictionary.dataSources.list)r.inherited=t;for(var i of this.dictionary.businessObjects.list)i.inherited=t;for(var n of this.dictionary.databases.list)n.inherited=t;for(var a of this.dictionary.relations.list)a.inherited=t;var s,o;for(o of this.getComponents().list)o.inherited=t}getCurrentPage(){if(this.currentPage<0&&(this.currentPage=0),this.currentPage>this.pages.count-1)return null;return this.pages.getByIndex(this.currentPage)}static getReportVersion(){return Y.StiVersion.version}updateReportVersion(){this.reportVersion=p.getReportVersion()}writeToReportRenderingMessages(t){null==this.reportRenderingMessages&&(this.reportRenderingMessages=[]),this.reportRenderingMessages.push(t)}getComponentByName(t){for(var e of this.pages.list)if(e.name==t)return e;return this.pages.getComponentByName(t)}toString2(t){return null==t||t==No.value?"":t.toString()}checkExcelValue(t,e){let r=t.stimulsoft().as($o);var t=zi.tryToNullableNumber(e),t;return null!=t&&t<0&&(Ae.bc.StiNegativeColorChecker.isNegativeInRed(r.textFormat)?r.textBrush=new si(Hd.Engine.negativeColor):De.isNullOrWhiteSpace(r.componentStyle)||null!=(t=this.styles.getByName(r.componentStyle).stimulsoft().as(Ae.ar.StiStyle))&&t.allowUseNegativeTextBrush&&(r.textBrush=t.negativeTextBrush)),null!=r&&null!=r.format&&"G"!=r.format&&0!=r.format.length&&(r.excelDataValue=this.toString2(e)),e}toString3(t,e,r=!1){return r?this.toString2(this.checkExcelValue(t,e)):this.toString2(e)}generateReportGuid(){return yr.newGuidString()}addAnchor(e,r=null){if(null==r)this.anchors.set(e,new Ae.c.StiRuntimeVariables(this));else if(!this.anchors.containsKey(e)){var i={ref1:new Ae.c.StiRuntimeVariables(this),ref2:r};this.anchors.set(e,i);let t=r;null!=t&&null==t.guid&&(t.guid=e)}}getAnchorPageNumber(t){var i=null!=t?this.anchors.get(t):null;if(null!=i&&null!=i.ref2){var n=i.ref1,a=i.ref2,s,o;let e=0;null!=n&&(e=this.engine.pageNumbers.getPageNumber(n.page));let r=e-1;while(r<this.renderedPages.count){let t=this.renderedPages.getByIndex(r);for(o in this.renderedPages.getPage(t),t.getComponents())if(o==a){if(t==n.page)return e;return this.engine.pageNumbers.getPageNumber(t)}r++}return e}var t=this.getAnchor(t);if(null==t)return 0;return this.engine.pageNumbers.getPageNumber(t.page)}getAnchorPageNumberThrough(t){var i=null!=t?this.anchors.get(t):null;if(null!=i&&null!=i.ref2){var n=i.ref1,a=i.ref2,s,o;let e=0;null!=n&&(e=this.engine.pageNumbers.getPageNumberThrough(n.page));let r=e-1;while(r<this.renderedPages.count){let t=this.renderedPages.getByIndex(r);for(o in this.renderedPages.getPage(t),t.getComponents())if(o==a){if(t==n.page)return e;return this.engine.pageNumbers.getPageNumberThrough(t)}r++}return e}var t=this.getAnchor(t);if(null==t)return 0;return this.engine.pageNumbers.getPageNumberThrough(t.page)}getAnchor(t){if(null==t)return new Ae.c.StiRuntimeVariables(this);return this.anchors.get(t)}getComponents(){let t=new Eu;for(var e of this.pages.list){t.add(e);var r={ref:t};e.getComponents2(r),t=r.ref}return t}getRenderedComponents(){let t=new Eu;for(var e of this.renderedPages.list){t.add(e);var r={ref:t};e.getComponents2(r),t=r.ref}return t}getComponentsCount(){let t=0;for(var e of this.pages.list)t+=1,t+=e.getComponentsCount();return t}renameStyle(t,e){var r,i;for(i of this.getComponents().list)Ae.ar.StiStylesHelper.changeComponentStyleName(i,t,e)}localizeReport(t){this.globalizationStrings.localizeReport(t)}get reportVersion(){return null==this._reportVersion?Y.StiVersion.version:""}set reportVersion(t){this._reportVersion=t}get reportRenderingMessages(){return this._reportRenderingMessages}set reportRenderingMessages(t){this._reportRenderingMessages=t}get imageCachePath(){return this._imageCachePath}set imageCachePath(t){this._imageCachePath=t}get renderedPages(){if(null!=this.compiledReport)return this.compiledReport.renderedPages;return this._renderedPages}set renderedPages(t){null!=this.compiledReport?this.compiledReport.renderedPages=t:this._renderedPages=t}get info(){return this._info}set info(t){this._info=t}get pointer(){return null!=this.compiledReport?this.compiledReport.pointer:this.pointerValue}set pointer(t){this.pointerValue=t,null!=this.compiledReport&&(this.compiledReport.pointer=t)}get bookmark(){if(null!=this.compiledReport)return this.compiledReport.bookmark;return this.bookmarkValue}set bookmark(t){this.bookmarkValue=t,null!=this.compiledReport&&(this.compiledReport.bookmark=t)}get manualBookmark(){return this.bookmark}set manualBookmark(t){this.bookmark=t}get totals(){if(null!=this.parentReport)return this.parentReport.totals;return this._totals}set totals(t){null!=this.parentReport?this.parentReport.totals=t:this._totals=t}get cells(){return null==this._cells&&(this._cells=new Ae.c.StiCells(this)),this._cells}get dataBandsUsedInPageTotals(){return this._dataBandsUsedInPageTotals}set dataBandsUsedInPageTotals(t){this._dataBandsUsedInPageTotals=t}get listOfUsedData(){return this._listOfUsedData}set listOfUsedData(t){this._listOfUsedData=t}get isModified(){return this._isModified}set isModified(t){this._isModified!=t&&(this._isModified=t,this.reportGuid=this.generateReportGuid())}get isPrinting(){return this.isPrintingValue}set isPrinting(t){this.isPrintingValue=t}get containsDashboard(){return this.pages.toList().any(t=>t.isDashboard&&t.enabled)}get containsOnlyDashboard(){return!this.pages.toList().any(t=>!t.isDashboard&&t.enabled)}get isDesigning(){return this.info.forceDesigningMode}get reportName(){return this._reportName}set reportName(t){this._reportName==this.reportAlias&&(this.reportAlias=t),this._reportName=Hd.Designer.autoCorrectReportName?Ae.c.StiNameValidator.correctName(t):t}get numberOfPass(){return this._numberOfPass}set numberOfPass(t){this._numberOfPass!=t&&(this._numberOfPass=t)}get calculationMode(){return Ae.c.StiCalculationMode.Interpretation}get reportUnit(){return this._reportUnit}set reportUnit(t){this.isSerializing||this._reportUnit!=t&&this.convert(Rl.getUnitFromReportUnit(this._reportUnit),Rl.getUnitFromReportUnit(t)),this._reportUnit=t}get stopBeforePage(){return this._stopBeforePage}set stopBeforePage(t){0<=t&&(this._stopBeforePage=t)}get collate(){return this._collate}set collate(t){this._collate!=t&&(this._collate=Math.max(1,t))}get refreshTime(){return this._refreshTime}set refreshTime(t){this._refreshTime=0<t?t:0}resetAggregateFunctions(){if(null==this.aggregateFunctions)return;for(var t of this.aggregateFunctions){var e=t.isFirstInit;t.isFirstInit=!0,t.init(),t.isFirstInit=e}}getLabel(t){return Ae.aq.StiVariableHelper.getVariableLabel(this,t)}getParam(t){var e,e;return null===(e=null===(e=null==this?void 0:this.dictionary)||void 0===e?void 0:e.stimulsoft().as(Fm))||void 0===e?void 0:e.getVariableValueByName(t)}renderAsync(e=()=>{},t=-1,r=-1){setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){try{yield this.renderAsync2(t,r),e(null)}catch(t){e(t)}}),0)}renderAsync2(e=-1,r=-1){return Y.tsfb(this,void 0,void 0,function*(){var t=new Dm(e,r,!1);try{yield this.renderReportAsync(t)}catch(t){throw Ae.b.StiError.showError(t,!0),t}})}render(t=!1,e=-1,r=-1){Hd.Engine.useSyncRenderMode||Is.showError("The 'render' method is obsolete. Please use the 'renderAsync' method instead.");var r=new Dm(e,r,!1);try{this.renderReport(r)}catch(t){throw Ae.b.StiError.showError(t,!0),t}}processAutoLocalizeReportOnRun(){if(!this.autoLocalizeReportOnRun)return;try{this.globalizationStrings.skipException=!0;let t=xt.currentCulture;if(!De.isNullOrWhiteSpace(this.culture))try{t=xt.cultures[this.culture]}catch(t){}this.globalizationStrings.localizeReport2(t)}finally{this.globalizationStrings.skipException=!1}}renderReportAsync(u){return Y.tsfb(this,void 0,void 0,function*(){if(this.renderedWith=Ae.c.StiRenderedWith.JS,this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=xt.currentCulture,!De.isNullOrEmpty(this.culture))try{xt.currentCulture=xt.cultures[this.culture]}catch(t){}let e=new Dt;try{if(null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new Dt,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&null==this.variables&&wd.prepareReportVariables(this),this.prepareVariablesFromURL(),yield this.invokePrepareVariablesAsync(),this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.reportPass!=Ae.c.StiReportPass.First&&!u.isSubReportMode)for(var t of this.dictionary.dataSources.list){var r=t.stimulsoft().as(Ae.am.StiSqlSource);null!=r&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+t.name,r.sqlCommand)}var i,n;if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation)for(n of this.getComponents().list)null!=n.interaction&&n.interaction.isDefault()&&(e.set(n,n.interaction),n.interaction=null);null!=this.subReports&&0<this.subReports.count?yield Ae.aq.StiReportBuilder.renderSubReportsAsync(this,u):yield Ae.aq.StiReportBuilder.renderSingleReportAsync(this,u)}catch(t){throw t}finally{if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation){for(var a of e.keys){let t=a;t.interaction=e.get(a)}e.clear()}if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.reportPass!=Ae.c.StiReportPass.First&&!u.isSubReportMode)for(var s of this.dictionary.dataSources.list){let t=s.stimulsoft().as(Ae.am.StiSqlSource);var o,s;null!=t&&(o="**StoredDataSourceSqlCommandForInterpretationMode**"+s.name,this.variables.containsKey(o)&&("string"==typeof(s=this.variables.get(o))&&(t.sqlCommand=s),this.variables.remove(o)))}De.isNullOrEmpty(this.culture)||(xt.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==Ae.c.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();for(var l of this.dictionary.businessObjects.list)l.previousResetException=!1;this.isDocument=!1,Rr.clearAutoLoadFonts()}})}renderReport(t){if(this.renderedWith=Ae.c.StiRenderedWith.JS,this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=xt.currentCulture,!De.isNullOrEmpty(this.culture))try{xt.currentCulture=xt.cultures[this.culture]}catch(t){}try{if(null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new Dt,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&null==this.variables&&wd.prepareReportVariables(this),this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.reportPass!=Ae.c.StiReportPass.First&&!t.isSubReportMode)for(var r of this.dictionary.dataSources.list){var i=r.stimulsoft().as(Ae.am.StiSqlSource);null!=i&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+r.name,i.sqlCommand)}Ae.aq.StiVariableHelper.setDefaultValueForRequestFromUserVariables(this,!1);let e=new Dt;var n,a,s,o;if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation)for(a of this.getComponents().list)null!=a.interaction&&a.interaction.isDefault()&&(e.set(a,a.interaction),a.interaction=null);if(null!=this.subReports&&0<this.subReports.count?Ae.aq.StiReportBuilder.renderSubReports(this,t):Ae.aq.StiReportBuilder.renderSingleReport(this,t),this.calculationMode==Ae.c.StiCalculationMode.Interpretation){for(var l of e.keys){let t=l;t.interaction=e.get(l)}e.clear()}if(this.calculationMode==Ae.c.StiCalculationMode.Interpretation&&this.reportPass!=Ae.c.StiReportPass.First&&!t.isSubReportMode)for(var u of this.dictionary.dataSources.list){let t=u.stimulsoft().as(Ae.am.StiSqlSource);null!=t&&(s="**StoredDataSourceSqlCommandForInterpretationMode**"+u.name,this.variables.containsKey(s)&&("string"==typeof(o=this.variables.get(s))&&(t.sqlCommand=o),this.variables.remove(s)))}}catch(t){throw t}finally{De.isNullOrEmpty(this.culture)||(xt.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==Ae.c.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();for(var e of this.dictionary.businessObjects.list)e.previousResetException=!1;this.isDocument=!1,Rr.clearAutoLoadFonts()}}print(i,n=Pm.Table){this.invokePrinting(),Ae.c.StiLogService.write(this.stimulsoft().getType(),"Printing report");try{let t=new Ae.ax.StiHtmlExportSettings;t.chartType=Ae.ax.StiHtmlChartType.Vector,t.useWatermarkMargins=!1,t.removeEmptySpaceAtBottom=!1,t.exportMode=n,t.exportBookmarksMode=dm.ReportOnly,i&&(t.pageRange=i);let e=new Ae.ax.StiHtmlExportService,r=new Ht;var a=new Ae.ax.StiHtmlTextWriter(r);e.exportToAsync(()=>{try{let t=r.getStringBuilder().toString(),e=t=>{let e=document.getElementById("stiPrintReportFrame");null==e&&(e=document.createElement("iframe"),e.id="stiPrintReportFrame",e.name="stiPrintReportFrame",e.width="0",e.height="0",e.style.position="absolute",e.style.border="none",document.body.appendChild(e)),e.contentWindow.document.open(),e.contentWindow.document.write(t),e.contentWindow.document.close(),setTimeout(()=>{try{e.contentWindow.focus(),e.contentWindow.print()}catch(t){}document.body.removeChild(e)},im.type==rm.Safari?1e3:100)};document.body?e(t):Sr.addEvent(window,"load",()=>{e(t)})}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Printing report...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}this.invokePrinted()},this,a,t)}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Printing report...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}this.invokePrinted()}printToPdf(r=null,s=null){this.invokePrinting(),Ae.c.StiLogService.write(this.stimulsoft().getType(),"Printing report");try{let t=new Ae.ax.StiPdfExportSettings;t.autoPrintMode=Ae.ax.StiPdfAutoPrintMode.Dialog,r&&(t.pageRange=r);let e=new Ae.ax["StiPdfExportService"],n=new Kt,a=this;e.exportToAsync(function(){try{var t=n.toArray(),e=new Blob([new Uint8Array(t)],{type:"application/pdf"});if(im.type==rm.MSIE){var r=null==a.reportAlias||0==a.reportAlias.trim().length?a.reportName:a.reportAlias;window.navigator.msSaveOrOpenBlob(e,r+".pdf")}else{var i=URL.createObjectURL(e);let t=document.getElementById("pdfPrintFrame");null==t&&(t=document.createElement("iframe"),t.id="pdfPrintFrame",t.name="pdfPrintFrame",t.width="0px",t.height="0px",t.style.position="absolute",t.style.border="none",im.type==rm.Mozilla&&(t.width="100px",t.height="100px",t.style.visibility="hidden",t.style.zIndex="-100",t.style.pointerEvents="none"),(s||document.body).appendChild(t),im.type!=rm.Mozilla&&(t.onload=function(){t.contentWindow.focus(),t.contentWindow.print()})),t.src=i}}catch(t){if(Ae.c.StiLogService.write(a.stimulsoft().getType(),"Printing report...ERROR"),Ae.c.StiLogService.write(a.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}a.invokePrinted()},a,n,t)}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Printing report...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}exportDocumentAsync(t,e,r=null,i=null){let n=this;setTimeout(function(){n.exportDocument(e,r,i,t)})}exportDocumentAsync2(i,n=null,a=null){return Y.tsfb(this,void 0,void 0,function*(){return new Promise((t,e)=>{let r=this;setTimeout(function(){try{r.exportDocument(i,n,a,t)}catch(t){e(t)}})})})}exportDocument(r,i=null,n=null,a=null){let s=[];if(this.invokeExporting(r),this.storedCulture=xt.currentCulture,!De.isNullOrEmpty(this.culture))try{xt.currentCulture=xt.cultures[this.culture]}catch(t){}let e=!1;try{Ae.c.StiLogService.write(p,"Exporting rendered report");let e=new Kt(s);var t,o;if(!new Ae.an.StiProcessExportEventArgs(r,i,e,n).processed)switch(r){case Ae.c.StiExportFormat.Csv:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiCsvExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiCsvExportService);if(null==t&&(t=new Ae.ax["StiCsvExportService"]),!((n=null==n?new Ae.ax.StiCsvExportSettings:n).stimulsoft().is(Ae.ax.StiCsvExportSettings)||n.stimulsoft().is(Ae.ax.StiDataExportSettings)&&n.dataType==fm.Csv))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Data:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiDataExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiDataExportService);if(null==t&&(t=new Ae.ax["StiDataExportService"]),!(n=null==n?new Ae.ax.StiDataExportSettings:n).stimulsoft().is(Ae.ax.StiDataExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Dif:break;case Ae.c.StiExportFormat.Sylk:break;case Ae.c.StiExportFormat.Excel:break;case Ae.c.StiExportFormat.ExcelXml:break;case Ae.c.StiExportFormat.Excel2007:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiExcel2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiExcel2007ExportService);if(null==t&&(t=new Ae.ax["StiExcel2007ExportService"]),!((n=null==n?new Ae.ax.StiExcel2007ExportSettings:n).stimulsoft().is(Ae.ax.StiExcel2007ExportSettings)||n.stimulsoft().is(Ae.ax.StiExcelExportSettings)&&n.stimulsoft().as(Ae.ax.StiExcelExportSettings).excelType==gm.Excel2007))throw new Error("The incorrect type of the 'settings' argument is used. The StiExcel2007ExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Word2007:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiWord2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiWord2007ExportService);if(null==t&&(t=new Ae.ax["StiWord2007ExportService"]),!(n=null==n?new Ae.ax.StiWord2007ExportSettings:n).stimulsoft().is(Ae.ax.StiWord2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiWord2007ExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Dbf:break;case Ae.c.StiExportFormat.Mht:break;case Ae.c.StiExportFormat.HtmlSpan:{if(null!=i&&!i.stimulsoft().is(Ae.ax.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.StiHtmlExportService);if(null==t&&(t=new Ae.ax.StiHtmlExportService),!(n=null==n?new Ae.ax.StiHtmlExportSettings:n).stimulsoft().is(Ae.ax.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");n.exportMode=Pm.Span;let e=new Ht;var l=new Ae.ax.StiHtmlTextWriter(e);null!=a?t.exportToAsync(function(){a(e.getStringBuilder().toString()),a=null},this,l,n):(t.exportHtml(this,l,n),s=e.getStringBuilder().toString());break}case Ae.c.StiExportFormat.HtmlDiv:{if(null!=i&&!i.stimulsoft().is(Ae.ax.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.StiHtmlExportService);if(null==t&&(t=new Ae.ax.StiHtmlExportService),!(n=null==n?new Ae.ax.StiHtmlExportSettings:n).stimulsoft().is(Ae.ax.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");n.exportMode=Pm.Div;let e=new Ht;var u=new Ae.ax.StiHtmlTextWriter(e);null!=a?t.exportToAsync(function(){a(e.getStringBuilder().toString()),a=null},this,u,n):(t.exportTo(this,u,n),s=e.getStringBuilder().toString());break}case Ae.c.StiExportFormat.Html:case Ae.c.StiExportFormat.HtmlTable:{if(null!=i&&!i.stimulsoft().is(Ae.ax.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.StiHtmlExportService);if(null==t&&(t=new Ae.ax.StiHtmlExportService),!(n=null==n?new Ae.ax.StiHtmlExportSettings:n).stimulsoft().is(Ae.ax.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");r!=Ae.c.StiExportFormat.Html&&(n.exportMode=Pm.Table);let e=new Ht;var h=new Ae.ax.StiHtmlTextWriter(e);null!=a?t.exportToAsync(function(){a(e.getStringBuilder().toString()),a=null},this,h,n):(t.exportTo(this,h,n),s=e.getStringBuilder().toString());break}case Ae.c.StiExportFormat.Html5:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiHtml5ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiHtml5ExportService);if(null==t&&(t=new Ae.ax["StiHtml5ExportService"]),!(n=null==n?new Ae.ax.StiHtml5ExportSettings:n).stimulsoft().is(Ae.ax.StiHtml5ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The Stimulsoft.Report.Export.StiHtml5ExportSettings is need to be used.");let e=new Ht;var c=new Ae.ax.StiHtmlTextWriter(e);null!=a?t.exportToAsync(function(){a(e.getStringBuilder().toString()),a=null},this,c,n):(t.exportTo(this,c,n),s=e.getStringBuilder().toString());break}case Ae.c.StiExportFormat.Image:{if(null!=i&&!i.stimulsoft().is(am))throw"The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.";let t=null==i?null:i.stimulsoft().as(am);if(null==t&&(t=new am),!(n=null==n?new nm:n).stimulsoft().is(nm))throw"The incorrect type of the 'settings' argument is used. The StiImageExportSettings is need to be used.";var d={ref:""};t.exportTo(this,d,n),s=d.ref,null!=a&&(a(s),a=null);break}case Ae.c.StiExportFormat.ImageBmp:break;case Ae.c.StiExportFormat.ImageEmf:break;case Ae.c.StiExportFormat.ImageSvg:{if(null!=i&&!i.stimulsoft().is(Ae.ax.StiSvgExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.StiSvgExportService);if(null==t&&(t=new Ae.ax.StiSvgExportService),!(n=null==n?new Ae.ax.StiSvgExportSettings:n).stimulsoft().is(Ae.ax.StiImageExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiSvgExportSettings is need to be used.");var m={ref:""};t.exportImage(this,m,n),s=m.ref,null!=a&&(a(s),a=null);break}case Ae.c.StiExportFormat.ImageSvgz:break;case Ae.c.StiExportFormat.ImageGif:break;case Ae.c.StiExportFormat.ImageJpeg:break;case Ae.c.StiExportFormat.ImagePng:break;case Ae.c.StiExportFormat.ImageTiff:break;case Ae.c.StiExportFormat.ImagePcx:break;case Ae.c.StiExportFormat.Pdf:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiPdfExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiPdfExportService);if(null==t&&(t=new Ae.ax["StiPdfExportService"]),!(n=null==n?new Ae.ax.StiPdfExportSettings:n).stimulsoft().is(Ae.ax.StiPdfExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPdfExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Xps:break;case Ae.c.StiExportFormat.Rtf:case Ae.c.StiExportFormat.RtfTable:break;case Ae.c.StiExportFormat.RtfFrame:break;case Ae.c.StiExportFormat.RtfWinWord:break;case Ae.c.StiExportFormat.RtfTabbedText:break;case Ae.c.StiExportFormat.Text:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiTxtExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiTxtExportService);if(null==t&&(t=new Ae.ax["StiTxtExportService"]),!(n=null==n?new Ae.ax.StiTxtExportSettings:n).stimulsoft().is(Ae.ax.StiTxtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiTxtExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Xml:break;case Ae.c.StiExportFormat.Ods:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiOdsExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiOdsExportService);if(null==t&&(t=new Ae.ax["StiOdsExportService"]),!(n=null==n?new Ae.ax.StiOdsExportSettings:n).stimulsoft().is(Ae.ax.StiOdsExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdsExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Odt:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiOdtExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiOdtExportService);if(null==t&&(t=new Ae.ax["StiOdtExportService"]),!(n=null==n?new Ae.ax.StiOdtExportSettings:n).stimulsoft().is(Ae.ax.StiOdtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdtExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}case Ae.c.StiExportFormat.Ppt2007:{if(!um.isAssemblyLoaded){Is.showError(new lm,!0);break}if(null!=i&&!i.stimulsoft().is(Ae.ax.IStiPpt2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");let t=null==i?null:i.stimulsoft().as(Ae.ax.IStiPpt2007ExportService);if(null==t&&(t=new Ae.ax["StiPpt2007ExportService"]),!(n=null==n?new Ae.ax.StiPpt2007ExportSettings:n).stimulsoft().is(Ae.ax.StiPpt2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPpt2007ExportSettings is need to be used.");null!=a?t.exportToAsync(function(){a(e.toArray()),a=null},this,e,n):(t.exportTo(this,e,n),s=e.toArray());break}}}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),"Exporting rendered report...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),e=!0,!Hd.Engine.hideExceptions)throw t}finally{De.isNullOrEmpty(this.culture)||(xt.currentCulture=this.storedCulture),1==e&&null!=a&&a([])}return this.invokeExported(r),s}static createNewReport(){return Ge.createObject(Hd.Engine.baseReportType)}static createNewDashboard(){let t=this.createNewReport();t._calculationMode=Ae.c.StiCalculationMode.Interpretation,t.pages.clear(),t.indexName=1;let e=Ae.aA.StiDashboardCreator.createDashboard(t).stimulsoft().as(Kl);if(null==e&&(e=Ge.createObject2("Stimulsoft.Dashboard.Components.StiDashboard")),null==e)throw new pm;return e.name=Ae.c.StiNameCreation.createName(t,Ae.c.StiNameCreation.generateName(e)),t.pages.add(e),t}};p.eventBeginRender={},p.eventEndRender={},Ae.c.StiReport=p}!function(t){var e=Ae.c.StiParserType,r=Ae.b.StiString,i=Ae.bn.ColorTranslator,n=Ae.am.StiColumnsSynchronizationMode,a=Ae.ax.StiWord2007RestrictEditing,s=Ae.bn.FontStyle,o=Ae.bn.Font,l=Ae.S.StiSolidBrush,u=Ae.bn.Color,h=Ae.ar.StiStyle,c=Ae.ap.StiTextQuality,d=Ae.c.StiNamingRule,m=Ae.am.StiAutoSynchronizeMode,p=Ae.am.StiPropertiesProcessingType,g=Ae.am.StiFieldsProcessingType,f=Ae.ax.StiExcel2007RestrictEditing,S=Ae.S.StiTextHorAlignment,b=Ae.S.StiVertAlignment,y=Ae.ax.StiExportUtils,v=Ae.c.StiArabicDigitsType,w=Ae.ax.StiPdfAutoPrintMode,C=Ae.bi.Hashtable,T=Ae.bi.List;Y["StiOptions"]=t,Ae.c["StiOptions"]=t,"undefined"!=typeof window&&(window.StiOptions=t);class P{constructor(){this.styleColors=[u.white,u.darkGray,u.peachPuff,u.plum,u.lightCoral,u.skyBlue,u.lightSeaGreen,u.lightGreen,u.yellowGreen,u.wheat,u.khaki,i.fromHtml("#0bac45"),i.fromHtml("#b5a1dd"),i.fromHtml("#ffc000"),i.fromHtml("#ed7d31"),i.fromHtml("#239fd9")]}}t.CrossTab2=P;class I{static get styles(){if(null==I._styles){I._styles=new Ae.ar.StiStylesCollection;let t=new h("Normal","Normal");t.brush=new l(u.transparent),t.textBrush=new l(u.black),I._styles.add(t),t=new h("Bad","Bad"),t.brush=new l(u.fromArgb(255,255,199,206)),t.textBrush=new l(u.fromArgb(255,208,55,5)),I._styles.add(t),t=new h("Good","Good"),t.brush=new l(u.fromArgb(255,198,239,206)),t.textBrush=new l(u.fromArgb(255,0,97,94)),I._styles.add(t),t=new h("Neutral","Neutral"),t.brush=new l(u.fromArgb(255,255,235,156)),t.textBrush=new l(u.fromArgb(255,174,127,43)),I._styles.add(t),t=new h("Warning","Warning"),t.brush=new l(u.transparent),t.textBrush=new l(u.red),t.font=new o("Arial",8,s.Bold),I._styles.add(t),t=new h("Note","Note"),t.brush=new l(u.fromArgb(255,255,255,204)),t.textBrush=new l(u.black),I._styles.add(t)}return I._styles}}I.useComponentPlacementOptimization=!0,I.autoCorrectDataSourceName=!1,I.autoCorrectDataRelationName=!1,I.autoCorrectDataColumnName=!1,I.autoCorrectComponentName=!1,I.autoCorrectReportName=!1,I.autoLargeHeight=!0,I.sortDictionaryByAliases=!1,I.runWizardAfterLoad=!1,I.runSpecificWizardAfterLoad="",I.Editors={allowConnectToDataInGallery:!1},I.CrossTab=new P,t.Designer=I;class A{constructor(){this.useImageCloning=!0}}t.Image=A;class x{constructor(){this.allowExpression=!0}}t.Watemark=x;class D{constructor(){this.defaultWidth=5,this.defaultHeight=5}}t.CrossTab=D;class B{constructor(){this.allowUseText=!0,this.allowUseTag=!0,this.allowUseToolTip=!0,this.allowUseHyperlink=!0,this.allowUseVariableAlias=!0}}t.Globalization=B;class E{constructor(){this.showZoomPanel=!0}}t.Map=E;class k{}k.Map=new E,t.Viewer=k;class N{}N.Image=new A,N.Watermark=new x,N.printIfDetailEmptyDefaultValue=!1,N.baseReportType=Ae.c.StiReport,N.fullTrust=!0,N.allowUseResetMethodInBusinessObject=!0,N.allowResetValuesAtComponent=!0,N.defaultTextQualityMode=c.Standard,N.forceGenerationLocalizedName=!1,N.useAdvancedPrintOnEngine=!1,N.forceGenerationNonLocalizedName=!1,N.forceNewPageForExtraColumns=!0,N.useRoundForToCurrencyWordsFunctions=!0,N.useTemplateForPagePrintEvents=!0,N.namingRule=d.Advanced,N.useCheckSizeForContinuedContainers=!0,N.emulateData=!1,N.allowCacheForGetActualSize=!1,N.allowBreakContainerOptimization=!0,N.removeBottomBorderOfSplitContainer=!1,N.usePrintOnAllPagesPropertyOfHeadersInSubreports=!0,N.useParentStylesOldMode=!1,N.useCollateOldMode=!1,N.dpiAware=!0,N.dockPageFooterToBottom=!0,N.defaultValueOfAllowApplyStyleProperty=!0,N.allowFixPieChartMarkerAlignment=!0,N.applyStylesInAutoSeries=!0,N.allowInvokeProcessChartEventForTemplateOfChart=!1,N.allowInteractionInChartWithComponents=!1,N.dontSaveDataSourceBeforeChartRendering=!1,N.measureTrailingSpaces=!1,N.renderExternalSubReportsWithHelpOfUnlimitedHeightPages=!0,N.escapeQueryParameters=!0,N.optimizeDetailDataFiltering=!0,N.CrossTab=new D,N.printIfDetailEmptyNesting=!1,N.allowForceCanBreakForCrossTabPrintOnAllPages=!0,N.Globalization=new B,N.reportResources={maximumSize:5e6},N.filterDataInDataSourceBeforeSorting=!0,N.allowConvertingInFormatting=!0,N.negativeColor=u.red,N.barcodeQRCodeAllowUnicodeBOM=!0,N.retrieveSchemaNamePostgreSql="public",N.hideExceptions=!1,N.fixPageNumberInEvents=!0,N.dashboardTextElementExpressionParser=e.DataParser,N.useSyncRenderMode=!1,N.loadDataOnce=!1,N.useNewHtmlEngine=!0,t.Engine=N;class F{}F.customPaperSizes=null,F.allowUsePaperSizesFromPrinterSettings=!0,t.Print=F;class R{constructor(){this.columnsSynchronizationMode=n.KeepAbsentColumns}}R.allowUseDataColumn=!0,R.allowUseProperties=!0,R.propertiesProcessingType=p.Browsable,R.fieldsProcessingType=g.Browsable,t.BusinessObjects=R;class L{}L.BusinessObjects=new R,L.showOnlyAliasForDatabase=!1,L.showOnlyAliasForData=!1,L.showOnlyAliasForDataColumn=!0,L.showOnlyAliasForDataRelation=!1,L.hideRelationExceptions=!0,L.autoSynchronize=m.Always,L.useAdvancedDataSearch=!0,L.showOnlyAliasForDataSource=!0,L.allowRestConnections=!0,L.allowConnectToFirstTableForEmptyDataSource=!0,L.useNullableDateTime=!1,L.useNullableTimeSpan=!1,L.columnsSynchronizationMode=n.KeepAbsentColumns,L.showOnlyAliasForResource=!1,t.Dictionary=L;class M{get dashboardStyles(){if(null!=this._dashboardStyles)return this._dashboardStyles;return this._dashboardStyles=new T,this._dashboardStyles.add(new Ae.aR.StiBlueDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiOrangeDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiGreenDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiTurquoiseDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiSlateGrayDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiDarkBlueDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiDarkGrayDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiDarkTurquoiseDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiSilverDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiAliceBlueDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiDarkGreenDashboardStyle),this._dashboardStyles.add(new Ae.aR.StiSiennaDashboardStyle),this._dashboardStyles}get controlStyles(){if(null!=this._controlStyles)return this._controlStyles;return this._controlStyles=new T,this._controlStyles.add(new Ae.aR.StiBlueControlElementStyle),this._controlStyles.add(new Ae.aR.StiOrangeControlElementStyle),this._controlStyles.add(new Ae.aR.StiGreenControlElementStyle),this._controlStyles.add(new Ae.aR.StiTurquoiseControlElementStyle),this._controlStyles.add(new Ae.aR.StiSlateGrayControlElementStyle),this._controlStyles.add(new Ae.aR.StiDarkBlueControlElementStyle),this._controlStyles.add(new Ae.aR.StiDarkGrayControlElementStyle),this._controlStyles.add(new Ae.aR.StiDarkTurquoiseControlElementStyle),this._controlStyles.add(new Ae.aR.StiSilverControlElementStyle),this._controlStyles.add(new Ae.aR.StiAliceBlueControlElementStyle),this._controlStyles.add(new Ae.aR.StiDarkGreenControlElementStyle),this._controlStyles.add(new Ae.aR.StiSiennaControlElementStyle),this._controlStyles}get indicatorStyles(){if(null!=this._indicatorStyles)return this._indicatorStyles;return this._indicatorStyles=new T,this._indicatorStyles.add(new Ae.aR.StiBlueIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiOrangeIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiGreenIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiSlateGrayIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiDarkBlueIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiDarkGrayIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiDarkTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiSilverIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiAliceBlueIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiDarkGreenIndicatorElementStyle),this._indicatorStyles.add(new Ae.aR.StiSiennaIndicatorElementStyle),this._indicatorStyles}get pivotStyles(){if(null!=this._pivotStyles)return this._pivotStyles;return this._pivotStyles=new T,this._pivotStyles.add(new Ae.aR.StiBluePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiOrangePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiGreenPivotElementStyle),this._pivotStyles.add(new Ae.aR.StiTurquoisePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiSlateGrayPivotElementStyle),this._pivotStyles.add(new Ae.aR.StiDarkBluePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiDarkGrayPivotElementStyle),this._pivotStyles.add(new Ae.aR.StiDarkTurquoisePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiSilverPivotElementStyle),this._pivotStyles.add(new Ae.aR.StiAliceBluePivotElementStyle),this._pivotStyles.add(new Ae.aR.StiDarkGreenPivotElementStyle),this._pivotStyles.add(new Ae.aR.StiSiennaPivotElementStyle),this._pivotStyles}get progressStyles(){if(null!=this._progressStyles)return this._progressStyles;return this._progressStyles=new T,this._progressStyles.add(new Ae.aR.StiBlueProgressElementStyle),this._progressStyles.add(new Ae.aR.StiOrangeProgressElementStyle),this._progressStyles.add(new Ae.aR.StiGreenProgressElementStyle),this._progressStyles.add(new Ae.aR.StiTurquoiseProgressElementStyle),this._progressStyles.add(new Ae.aR.StiSlateGrayProgressElementStyle),this._progressStyles.add(new Ae.aR.StiDarkBlueProgressElementStyle),this._progressStyles.add(new Ae.aR.StiDarkGrayProgressElementStyle),this._progressStyles.add(new Ae.aR.StiDarkTurquoiseProgressElementStyle),this._progressStyles.add(new Ae.aR.StiSilverProgressElementStyle),this._progressStyles.add(new Ae.aR.StiAliceBlueProgressElementStyle),this._progressStyles.add(new Ae.aR.StiDarkGreenProgressElementStyle),this._progressStyles.add(new Ae.aR.StiSiennaProgressElementStyle),this._progressStyles}get tableStyles(){if(null!=this._tableStyles)return this._tableStyles;return this._tableStyles=new T,this._tableStyles.add(new Ae.aR.StiBlueTableElementStyle),this._tableStyles.add(new Ae.aR.StiOrangeTableElementStyle),this._tableStyles.add(new Ae.aR.StiGreenTableElementStyle),this._tableStyles.add(new Ae.aR.StiTurquoiseTableElementStyle),this._tableStyles.add(new Ae.aR.StiSlateGrayTableElementStyle),this._tableStyles.add(new Ae.aR.StiDarkBlueTableElementStyle),this._tableStyles.add(new Ae.aR.StiDarkGrayTableElementStyle),this._tableStyles.add(new Ae.aR.StiDarkTurquoiseTableElementStyle),this._tableStyles.add(new Ae.aR.StiSilverTableElementStyle),this._tableStyles.add(new Ae.aR.StiAliceBlueTableElementStyle),this._tableStyles.add(new Ae.aR.StiDarkGreenTableElementStyle),this._tableStyles.add(new Ae.aR.StiSiennaTableElementStyle),this._tableStyles}}t.Dashboards=M;class O{static get components(){if(null!=this._components)return this._components;return this._components=new T,this._components.add(Ae.ap.StiReportTitleBand),this._components.add(Ae.ap.StiReportSummaryBand),this._components.add(Ae.ap.StiPageHeaderBand),this._components.add(Ae.ap.StiPageFooterBand),this._components.add(Ae.ap.StiGroupHeaderBand),this._components.add(Ae.ap.StiGroupFooterBand),this._components.add(Ae.ap.StiHeaderBand),this._components.add(Ae.ap.StiFooterBand),this._components.add(Ae.ap.StiColumnHeaderBand),this._components.add(Ae.ap.StiColumnFooterBand),this._components.add(Ae.ap.StiHierarchicalBand),this._components.add(Ae.ap.StiEmptyBand),this._components.add(Ae.ap.StiOverlayBand),this._components.add(Ae.ap.StiDataBand),this._components.add(Ae.ap.StiTableOfContents),this._components.add(Ae.be.StiTable),this._components.add(Ae.be.StiTableCell),this._components.add(Ae.be.StiTableCellCheckBox),this._components.add(Ae.be.StiTableCellImage),this._components.add(Ae.be.StiTableCellRichText),this._components.add(Ae.ap.StiPage),this._components.add(Ae.ap.StiPanel),this._components.add(Ae.ap.StiContainer),this._components.add(Ae.ap.StiCheckBox),this._components.add(Ae.ap.StiChildBand),this._components.add(Ae.ap.StiClone),this._components.add(Ae.ap.StiText),this._components.add(Ae.ap.StiTextInCells),this._components.add(Ae.ap.StiImage),this._components.add(Ae.ap.StiRichText),this._components.add(Ae.ap.StiShape),this._components.add(Ae.ap.StiSubReport),this._components.add(Ae.ap.StiHorizontalLinePrimitive),this._components.add(Ae.ap.StiVerticalLinePrimitive),this._components.add(Ae.ap.StiRectanglePrimitive),this._components.add(Ae.ap.StiRoundedRectanglePrimitive),this._components.add(Ae.ap.StiStartPointPrimitive),this._components.add(Ae.ap.StiEndPointPrimitive),this._components.add(Ae.ap.StiCrossDataBand),this._components.add(Ae.ap.StiCrossFooterBand),this._components.add(Ae.ap.StiCrossGroupFooterBand),this._components.add(Ae.ap.StiCrossGroupHeaderBand),this._components.add(Ae.ap.StiCrossHeaderBand),this._components.add(Ae.az.StiBarCode),this._components.add(Ae.at.StiCrossTab),this._components.add(Ae.at.StiCrossColumn),this._components.add(Ae.at.StiCrossTotal),this._components.add(Ae.at.StiCrossRowTotal),this._components.add(Ae.at.StiCrossColumnTotal),this._components.add(Ae.at.StiCrossRow),this._components.add(Ae.at.StiCrossSummary),this._components.add(Ae.at.StiCrossTitle),this._components.add(Ae.at.StiCrossSummaryHeader),Ae.as.StiChartAssembly.isAssemblyLoaded&&this._components.add(Ae.ap["StiChart"]),Ae.aC["StiMap"]&&this._components.add(Ae.aC["StiMap"]),Ae.ap["StiGauge"]&&this._components.add(Ae.ap["StiGauge"]),this._components.add(Ae.ap.StiSparkline),this._components.add(Ae.ap.StiMathFormula),this._components}static get databases(){if(null!=this._databases)return this._databases;return this._databases=new T,this._databases.add(new Ae.am.StiAzureSqlDatabase),this._databases.add(new Ae.am.StiAzureTableStorageDatabase),this._databases.add(new Ae.am.StiAzureBlobStorageDatabase),this._databases.add(new Ae.am.StiCosmosDbDatabase),this._databases.add(new Ae.am.StiCsvDatabase),this._databases.add(new Ae.am.StiDBaseDatabase),this._databases.add(new Ae.am.StiExcelDatabase),this._databases.add(new Ae.am.StiGisDatabase),this._databases.add(new Ae.am.StiJsonDatabase),this._databases.add(new Ae.am.StiXmlDatabase),this._databases.add(new Ae.am.StiBigQueryDatabase),this._databases.add(new Ae.am.StiFirebaseDatabase),this._databases.add(new Ae.am.StiGoogleSheetsDatabase),this._databases.add(new Ae.am.StiMongoDbDatabase),this._databases.add(new Ae.am.StiDataWorldDatabase),this._databases.add(new Ae.am.StiODataDatabase),this._databases.add(new Ae.am.StiQuickBooksDatabase),this._databases.add(new Ae.am.StiDB2Database),this._databases.add(new Ae.am.StiDotConnectUniversalDatabase),this._databases.add(new Ae.am.StiFirebirdDatabase),this._databases.add(new Ae.am.StiInformixDatabase),this._databases.add(new Ae.am.StiMSAccessDatabase),this._databases.add(new Ae.am.StiMySqlDatabase),this._databases.add(new Ae.am.StiOdbcDatabase),this._databases.add(new Ae.am.StiOleDbDatabase),this._databases.add(new Ae.am.StiOracleDatabase),this._databases.add(new Ae.am.StiPostgreSQLDatabase),this._databases.add(new Ae.am.StiSqlCeDatabase),this._databases.add(new Ae.am.StiSqlDatabase),this._databases.add(new Ae.am.StiSQLiteDatabase),this._databases.add(new Ae.am.StiSybaseAdsDatabase),this._databases.add(new Ae.am.StiSybaseDatabase),this._databases.add(new Ae.am.StiTeradataDatabase),this._databases.add(new Ae.am.StiVistaDBDatabase),this._databases}static get dataAdapters(){if(null!=this._dataAdapters)return this._dataAdapters;return this._dataAdapters=new T,this._dataAdapters.add(new Ae.am.StiFirebirdAdapterService),this._dataAdapters.add(new Ae.am.StiMySqlAdapterService),this._dataAdapters.add(new Ae.am.StiOdbcAdapterService),this._dataAdapters.add(new Ae.am.StiOracleAdapterService),this._dataAdapters.add(new Ae.am.StiPostgreSQLAdapterService),this._dataAdapters.add(new Ae.am.StiSqlAdapterService),this._dataAdapters.add(new Ae.am.StiODataAdapterService),this._dataAdapters.add(new Ae.am.StiBusinessObjectAdapterService),this._dataAdapters.add(new Ae.am.StiCrossTabAdapterService),this._dataAdapters.add(new Ae.am.StiDataViewAdapterService),this._dataAdapters.add(new Ae.am.StiVirtualAdapterService),this._dataAdapters.add(new Ae.am.StiUserAdapterService),this._dataAdapters.add(new Ae.am.StiCsvAdapterService),this._dataAdapters.add(new Ae.am.StiDataTableAdapterService),this._dataAdapters.add(new Ae.am.StiDataWorldAdapterService),this._dataAdapters.add(new Ae.am.StiQuickBooksAdapterService),this._dataAdapters}static get dataSource(){if(null!=this._dataSource)return this._dataSource;return this._dataSource=new T,this._dataSource.add(new Ae.am.StiAzureTableStorageSource),this._dataSource.add(new Ae.am.StiCosmosDbSource),this._dataSource.add(new Ae.am.StiCsvSource),this._dataSource.add(new Ae.am.StiDBaseSource),this._dataSource.add(new Ae.am.StiBigQuerySource),this._dataSource.add(new Ae.am.StiFirebirdSource),this._dataSource.add(new Ae.am.StiGoogleSheetsSource),this._dataSource.add(new Ae.am.StiMongoDbSource),this._dataSource.add(new Ae.am.StiVirtualSource),this._dataSource.add(new Ae.am.StiDataWorldSource),this._dataSource.add(new Ae.am.StiODataSource),this._dataSource.add(new Ae.am.StiQuickBooksSource),this._dataSource.add(new Ae.am.StiDB2Source),this._dataSource.add(new Ae.am.StiDotConnectUniversalSource),this._dataSource.add(new Ae.am.StiFirebirdSource),this._dataSource.add(new Ae.am.StiInformixSource),this._dataSource.add(new Ae.am.StiMSAccessSource),this._dataSource.add(new Ae.am.StiMySqlSource),this._dataSource.add(new Ae.am.StiOdbcSource),this._dataSource.add(new Ae.am.StiOleDbSource),this._dataSource.add(new Ae.am.StiOracleSource),this._dataSource.add(new Ae.am.StiPostgreSQLSource),this._dataSource.add(new Ae.am.StiSqlCeSource),this._dataSource.add(new Ae.am.StiSqlSource),this._dataSource.add(new Ae.am.StiSybaseAdsSource),this._dataSource.add(new Ae.am.StiSybaseSource),this._dataSource.add(new Ae.am.StiTeradataSource),this._dataSource.add(new Ae.am.StiVistaDBSource),this._dataSource.add(new Ae.am.StiDataTableSource),this._dataSource.add(new Ae.am.StiUndefinedDataSource),this._dataSource.add(new Ae.am.StiDataTransformation),this._dataSource}static get formats(){if(null!=this._formats)return this._formats;return this._formats=new T,this._formats.add(new Ae.bc.StiBooleanFormatService),this._formats.add(new Ae.bc.StiNumberFormatService),this._formats.add(new Ae.bc.StiCurrencyFormatService),this._formats.add(new Ae.bc.StiCustomFormatService),this._formats.add(new Ae.bc.StiDateFormatService),this._formats.add(new Ae.bc.StiGeneralFormatService),this._formats.add(new Ae.bc.StiPercentageFormatService),this._formats.add(new Ae.bc.StiTimeFormatService),this._formats}static get styles(){if(null!=this._styles)return this._styles;return this._styles=new T,this._styles.add(new Ae.ar.StiStyle),this._styles.add(new Ae.ar.StiCrossTabStyle),this._styles.add(new Ae.ar.StiChartStyle),this._styles.add(new Ae.ar.StiDialogStyle),this._styles.add(new Ae.ar.StiMapStyle),this._styles.add(new Ae.c.StiGaugeStyle),this._styles.add(new Ae.c.StiTableStyle),this._styles.add(new Ae.c.StiIndicatorStyle),this._styles.add(new Ae.c.StiProgressStyle),this._styles.add(new Ae.c.StiCardsStyle),this._styles}static get chartAreas(){return null==t.Services._chartAreas&&(t.Services._chartAreas=new T([new Ae.as["StiClusteredColumnArea"],new Ae.as["StiLineArea"],new Ae.as["StiAreaArea"],new Ae.as["StiSplineArea"],new Ae.as["StiSplineAreaArea"],new Ae.as["StiStackedColumnArea"],new Ae.as["StiStackedLineArea"],new Ae.as["StiStackedAreaArea"],new Ae.as["StiStackedSplineArea"],new Ae.as["StiStackedSplineAreaArea"],new Ae.as["StiSteppedLineArea"],new Ae.as["StiSteppedAreaArea"],new Ae.as["StiFullStackedColumnArea"],new Ae.as["StiFullStackedLineArea"],new Ae.as["StiFullStackedAreaArea"],new Ae.as["StiFullStackedSplineArea"],new Ae.as["StiFullStackedSplineAreaArea"],new Ae.as["StiClusteredBarArea"],new Ae.as["StiStackedBarArea"],new Ae.as["StiFullStackedBarArea"],new Ae.as["StiPieArea"],new Ae.as["StiPie3dArea"],new Ae.as["StiDoughnutArea"],new Ae.as["StiRadarPointArea"],new Ae.as["StiRadarLineArea"],new Ae.as["StiRadarAreaArea"],new Ae.as["StiGanttArea"],new Ae.as["StiScatterArea"],new Ae.as["StiBubbleArea"],new Ae.as["StiRangeArea"],new Ae.as["StiSplineRangeArea"],new Ae.as["StiSteppedRangeArea"],new Ae.as["StiRangeBarArea"],new Ae.as["StiCandlestickArea"],new Ae.as["StiStockArea"],new Ae.as["StiFunnelArea"],new Ae.as["StiFunnelWeightedSlicesArea"],new Ae.as["StiTreemapArea"],new Ae.as["StiPictorialArea"],new Ae.as["StiParetoArea"],new Ae.as["StiWaterfallArea"],new Ae.as["StiHistogramArea"],new Ae.as["StiSunburstArea"],new Ae.as["StiBoxAndWhiskerArea"]]),t.Services._chartAreas.filter(t=>t)),t.Services._chartAreas}static get chartSeries(){return null==t.Services._chartSeries&&(t.Services._chartSeries=new T([new Ae.as["StiClusteredColumnSeries"],new Ae.as["StiLineSeries"],new Ae.as["StiAreaSeries"],new Ae.as["StiSplineSeries"],new Ae.as["StiSplineAreaSeries"],new Ae.as["StiStackedColumnSeries"],new Ae.as["StiStackedLineSeries"],new Ae.as["StiStackedAreaSeries"],new Ae.as["StiStackedSplineSeries"],new Ae.as["StiStackedSplineAreaSeries"],new Ae.as["StiSteppedLineSeries"],new Ae.as["StiSteppedAreaSeries"],new Ae.as["StiFullStackedColumnSeries"],new Ae.as["StiFullStackedLineSeries"],new Ae.as["StiFullStackedAreaSeries"],new Ae.as["StiFullStackedSplineSeries"],new Ae.as["StiFullStackedSplineAreaSeries"],new Ae.as["StiClusteredBarSeries"],new Ae.as["StiStackedBarSeries"],new Ae.as["StiFullStackedBarSeries"],new Ae.as["StiDoughnutSeries"],new Ae.as["StiGanttSeries"],new Ae.as["StiPieSeries"],new Ae.as["StiPie3dSeries"],new Ae.as["StiBubbleSeries"],new Ae.as["StiScatterSeries"],new Ae.as["StiScatterLineSeries"],new Ae.as["StiScatterSplineSeries"],new Ae.as["StiRadarPointSeries"],new Ae.as["StiRadarLineSeries"],new Ae.as["StiRadarAreaSeries"],new Ae.as["StiFunnelSeries"],new Ae.as["StiStockSeries"],new Ae.as["StiCandlestickSeries"],new Ae.as["StiFunnelWeightedSlicesSeries"],new Ae.as["StiSteppedRangeSeries"],new Ae.as["StiSplineRangeSeries"],new Ae.as["StiRangeSeries"],new Ae.as["StiRangeBarSeries"],new Ae.as["StiTreemapSeries"],new Ae.as["StiPictorialSeries"],new Ae.as["StiParetoSeries"],new Ae.as["StiWaterfallSeries"],new Ae.as["StiHistogramSeries"],new Ae.as["StiSunburstSeries"],new Ae.as["StiBoxAndWhiskerSeries"]]),t.Services._chartSeries.filter(t=>t)),t.Services._chartSeries}static get chartTrendLines(){return null==t.Services._chartTrendLines&&(t.Services._chartTrendLines=new T([new Ae.as["StiTrendLineNone"],new Ae.as["StiTrendLineLinear"],new Ae.as["StiTrendLineExponential"],new Ae.as["StiTrendLineLogarithmic"]]),t.Services._chartTrendLines.filter(t=>t)),t.Services._chartTrendLines}static get chartSerieLabels(){return null==t.Services._chartSerieLabels&&(t.Services._chartSerieLabels=new T([new Ae.as["StiNoneLabels"],new Ae.as["StiCenterAxisLabels"],new Ae.as["StiOutsideAxisLabels"],new Ae.as["StiInsideBaseAxisLabels"],new Ae.as["StiInsideEndAxisLabels"],new Ae.as["StiOutsideBaseAxisLabels"],new Ae.as["StiOutsideEndAxisLabels"],new Ae.as["StiLeftAxisLabels"],new Ae.as["StiValueAxisLabels"],new Ae.as["StiRightAxisLabels"],new Ae.as["StiInsideEndPieLabels"],new Ae.as["StiCenterPieLabels"],new Ae.as["StiOutsidePieLabels"],new Ae.as["StiTwoColumnsPieLabels"],new Ae.as["StiCenterPie3dLabels"],new Ae.as["StiCenterFunnelLabels"],new Ae.as["StiOutsideRightFunnelLabels"],new Ae.as["StiOutsideLeftFunnelLabels"],new Ae.as["StiCenterTreemapLabels"]]),t.Services._chartSerieLabels.filter(t=>t)),t.Services._chartSerieLabels}static get chartStyles(){return null==t.Services._chartStyles&&(t.Services._chartStyles=new T([new Ae.as["StiStyle01"],new Ae.as["StiStyle02"],new Ae.as["StiStyle03"],new Ae.as["StiStyle04"],new Ae.as["StiStyle05"],new Ae.as["StiStyle06"],new Ae.as["StiStyle07"],new Ae.as["StiStyle08"],new Ae.as["StiStyle09"],new Ae.as["StiStyle10"],new Ae.as["StiStyle11"],new Ae.as["StiStyle12"],new Ae.as["StiStyle13"],new Ae.as["StiStyle14"],new Ae.as["StiStyle15"],new Ae.as["StiStyle16"],new Ae.as["StiStyle17"],new Ae.as["StiStyle18"],new Ae.as["StiStyle19"],new Ae.as["StiStyle20"],new Ae.as["StiStyle21"],new Ae.as["StiStyle22"],new Ae.as["StiStyle23"],new Ae.as["StiStyle24"],new Ae.as["StiStyle25"],new Ae.as["StiStyle26"],new Ae.as["StiStyle27"],new Ae.as["StiStyle28"],new Ae.as["StiStyle29"],new Ae.as["StiStyle30"],new Ae.as["StiStyle31"],new Ae.as["StiStyle32"],new Ae.as["StiStyle33"],new Ae.as["StiStyle34"],new Ae.as["StiStyle35"]]),t.Services._chartStyles.filter(t=>t)),t.Services._chartStyles}static get shapes(){return null==t.Services._shapes&&(t.Services._shapes=new T([new Ae.ap.StiArrowShapeType,new Ae.ap.StiDiagonalDownLineShapeType,new Ae.ap.StiDiagonalUpLineShapeType,new Ae.ap.StiHorizontalLineShapeType,new Ae.ap.StiLeftAndRightLineShapeType,new Ae.ap.StiOvalShapeType,new Ae.ap.StiRectangleShapeType,new Ae.ap.StiRoundedRectangleShapeType,new Ae.ap.StiOctagonShapeType,new Ae.ap.StiTopAndBottomLineShapeType,new Ae.ap.StiTriangleShapeType,new Ae.ap.StiVerticalLineShapeType,new Ae.ap.StiComplexArrowShapeType,new Ae.ap.StiBentArrowShapeType,new Ae.ap.StiChevronShapeType,new Ae.ap.StiDivisionShapeType,new Ae.ap.StiEqualShapeType,new Ae.ap.StiFlowchartCardShapeType,new Ae.ap.StiFlowchartCollateShapeType,new Ae.ap.StiFlowchartDecisionShapeType,new Ae.ap.StiFlowchartManualInputShapeType,new Ae.ap.StiFlowchartOffPageConnectorShapeType,new Ae.ap.StiFlowchartPreparationShapeType,new Ae.ap.StiFlowchartSortShapeType,new Ae.ap.StiFrameShapeType,new Ae.ap.StiMinusShapeType,new Ae.ap.StiMultiplyShapeType,new Ae.ap.StiParallelogramShapeType,new Ae.ap.StiPlusShapeType,new Ae.ap.StiRegularPentagonShapeType,new Ae.ap.StiTrapezoidShapeType,new Ae.ap.StiSnipSameSideCornerRectangleShapeType,new Ae.ap.StiSnipDiagonalSideCornerRectangleShapeType])),t.Services._shapes}static get barCodes(){return null==t.Services._barCodes&&(t.Services._barCodes=new T([new Ae.az.StiAustraliaPost4StateBarCodeType,new Ae.az.StiCode11BarCodeType,new Ae.az.StiCode128aBarCodeType,new Ae.az.StiCode128bBarCodeType,new Ae.az.StiCode128cBarCodeType,new Ae.az.StiCode128AutoBarCodeType,new Ae.az.StiCode39BarCodeType,new Ae.az.StiCode39ExtBarCodeType,new Ae.az.StiCode93BarCodeType,new Ae.az.StiCode93ExtBarCodeType,new Ae.az.StiCodabarBarCodeType,new Ae.az.StiDataMatrixBarCodeType,new Ae.az.StiEAN128aBarCodeType,new Ae.az.StiEAN128bBarCodeType,new Ae.az.StiEAN128cBarCodeType,new Ae.az.StiEAN128AutoBarCodeType,new Ae.az.StiEAN13BarCodeType,new Ae.az.StiEAN8BarCodeType,new Ae.az.StiFIMBarCodeType,new Ae.az.StiGS1_128BarCodeType,new Ae.az.StiIsbn10BarCodeType,new Ae.az.StiIsbn13BarCodeType,new Ae.az.StiITF14BarCodeType,new Ae.az.StiJan13BarCodeType,new Ae.az.StiJan8BarCodeType,new Ae.az.StiMaxicodeBarCodeType,new Ae.az.StiMsiBarCodeType,new Ae.az.StiPdf417BarCodeType,new Ae.az.StiPharmacodeBarCodeType,new Ae.az.StiPlesseyBarCodeType,new Ae.az.StiPostnetBarCodeType,new Ae.az.StiQRCodeBarCodeType,new Ae.az.StiDutchKIXBarCodeType,new Ae.az.StiRoyalMail4StateBarCodeType,new Ae.az.StiSSCC18BarCodeType,new Ae.az.StiUpcABarCodeType,new Ae.az.StiUpcEBarCodeType,new Ae.az.StiUpcSup2BarCodeType,new Ae.az.StiUpcSup5BarCodeType,new Ae.az.StiInterleaved2of5BarCodeType,new Ae.az.StiStandard2of5BarCodeType])),t.Services._barCodes}static get indicatorRanges(){return null==t.Services._indicatorRanges&&(t.Services._indicatorRanges=new T([new Ae.bd["StiLinearIndicatorRangeInfo"],new Ae.bd["StiRadialIndicatorRangeInfo"]])),t.Services._indicatorRanges}static get customValues(){return null==t.Services._customValues&&(t.Services._customValues=new T([new Ae.bd["StiLinearTickLabelCustomValue"],new Ae.bd["StiLinearTickMarkCustomValue"],new Ae.bd["StiRadialTickLabelCustomValue"],new Ae.bd["StiRadialTickMarkCustomValue"]])),t.Services._customValues}static get gaugeElements(){return null==t.Services._gaugeElements&&(t.Services._gaugeElements=new T([new Ae.bd["StiLinearBar"],new Ae.bd["StiLinearMarker"],new Ae.bd["StiNeedle"],new Ae.bd["StiRadialBar"],new Ae.bd["StiRadialMarker"],new Ae.bd["StiStateIndicator"],new Ae.bd["StiLinearRangeList"],new Ae.bd["StiRadialRangeList"],new Ae.bd["StiLinearTickLabelCustom"],new Ae.bd["StiLinearTickLabelMajor"],new Ae.bd["StiLinearTickLabelMinor"],new Ae.bd["StiLinearTickMarkCustom"],new Ae.bd["StiLinearTickMarkMajor"],new Ae.bd["StiLinearTickMarkMinor"],new Ae.bd["StiRadialTickLabelCustom"],new Ae.bd["StiRadialTickLabelMajor"],new Ae.bd["StiRadialTickLabelMinor"],new Ae.bd["StiRadialTickMarkCustom"],new Ae.bd["StiRadialTickMarkMajor"],new Ae.bd["StiRadialTickMarkMinor"]])),t.Services._gaugeElements}static get ranges(){return null==t.Services._ranges&&(t.Services._ranges=new T([new Ae.bd["StiLinearRange"],new Ae.bd["StiRadialRange"]])),t.Services._ranges}static get gaugeScales(){return null==t.Services._gaugeScales&&(t.Services._gaugeScales=new T([new Ae.bd["StiLinearScale"],new Ae.bd["StiRadialScale"]])),t.Services._gaugeScales}static get gaugeStyles(){return null==t.Services._gaugeStyles&&(t.Services._gaugeStyles=new T([new Ae.aE["StiGaugeStyleXF24"],new Ae.aE["StiGaugeStyleXF25"],new Ae.aE["StiGaugeStyleXF26"],new Ae.aE["StiGaugeStyleXF27"],new Ae.aE["StiGaugeStyleXF28"],new Ae.aE["StiGaugeStyleXF29"],new Ae.aE["StiGaugeStyleXF30"],new Ae.aE["StiGaugeStyleXF31"],new Ae.aE["StiGaugeStyleXF32"],new Ae.aE["StiGaugeStyleXF33"],new Ae.aE["StiGaugeStyleXF34"],new Ae.aE["StiGaugeStyleXF35"]])),t.Services._gaugeStyles}static get mapStyles(){if(null!=this._mapStyles)return this._mapStyles;return this._mapStyles=new T,this._mapStyles.add(new Ae.aC.StiMap21StyleFX),this._mapStyles.add(new Ae.aC.StiMap24StyleFX),this._mapStyles.add(new Ae.aC.StiMap25StyleFX),this._mapStyles.add(new Ae.aC.StiMap26StyleFX),this._mapStyles.add(new Ae.aC.StiMap27StyleFX),this._mapStyles.add(new Ae.aC.StiMap28StyleFX),this._mapStyles.add(new Ae.aC.StiMap29StyleFX),this._mapStyles.add(new Ae.aC.StiMap30StyleFX),this._mapStyles.add(new Ae.aC.StiMap31StyleFX),this._mapStyles.add(new Ae.aC.StiMap32StyleFX),this._mapStyles.add(new Ae.aC.StiMap33StyleFX),this._mapStyles.add(new Ae.aC.StiMap34StyleFX),this._mapStyles.add(new Ae.aC.StiMap35StyleFX),this._mapStyles}}O.Dashboards=new M,t.Services=O;class H{constructor(){this.divideSegmentPages=!0,this.allowImageComparer=!0,this.removeEmptySpaceAtBottom=!0,this.spaceBetweenCharacters=-2,this.lineHeightExactly=!0,this.forceLineHeight=!0,this.rightMarginCorrection=0,this.bottomMarginCorrection=50,this.allowCorrectFontSize11Problem=!0,this.normalStyleDefaultFontSize=1,this.lineSpacing=.965,this.divideBigCells=!0,this.restrictEditing=a.No}}t.ExportWord=H;class _{constructor(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0}}t.ExportWriter=_;class V{constructor(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0,this.divideBigCells=!0,this.maximumSheetHeight=1048574}}t.ExportCalc=V;class G{constructor(){this.convertDigitsToArabic=!1,this.arabicDigitsType=Ae.c.StiArabicDigitsType.Standard,this.allowImageComparer=!0,this.forceWysiwygWordwrap=!1,this.replaceSpecialCharacters=!0,this.preserveWhiteSpaces=!0,this.useImageResolution=!1,this.useWordWrapBreakWordMode=!0,this.useStrictTableCellSize=!0,this.useStrictTableCellSizeV2=!0,this.forceIE6Compatibility=!1,this.allowStrippedImages=!0,this.removeEmptySpaceAtBottom=!0,this.useExtendedStyle=!1,this.printLayoutOptimization=!0,this.useComponentStyleName=!0,this.exportComponentsFromPageMargins=!0}}t.ExportHtml=G;class U{constructor(){this.AllowExportDateTime=!1,this.ColumnsRightToLeft=!1,this.ShowGridLines=!0,this.MaximumSheetHeight=65534,this.RemoveEmptySpaceAtBottom=!0,this.DivideBigCells=!0,this.UseImageResolution=!1,this.TrimTrailingSpaces=!0,this.AllowImageComparer=!0,this.AllowFreezePanes=!1,this.RenderHtmlTagsAsImage=!1,this.RestrictEditing=f.No,this.FitToOnePageWide=!0}}t.ExportExcel=U;class j{constructor(){this.AllowImageComparer=!0,this.StoreImagesAsPng=!0}}t.ExportPowerPoint=j;class W{constructor(){this.divideSegmentPages=!0,this.arabicDigitsType=v.Standard,this.reduceFontFileSize=!0,this.allowImageComparer=!0,this.allowImageTransparency=!0,this.allowExtGState=!0,this._creatorString="",this.keywordsString="",this.defaultCoordinatesPrecision=2,this.defaultAutoPrintMode=w.None,this.useProperCaseFontNamesFromHtml=!0,this.useAlternativeFontNames=!0}get creatorString(){return r.isNullOrEmpty(this._creatorString)&&(this._creatorString=y.getReportVersion()),this._creatorString}set creatorString(t){this._creatorString=t}get alternativeFontNames(){return null==W._alternativeFontNames&&(W._alternativeFontNames=new C,W._alternativeFontNames.add("MS Pゴシック","MS PGothic"),W._alternativeFontNames.add("MS P明朝","MS PMincho"),W._alternativeFontNames.add("MS ゴシック","MS Gothic"),W._alternativeFontNames.add("MS 明朝","MS Mincho"),W._alternativeFontNames.add("メイリオ","Meiryo"),W._alternativeFontNames.add("바탕","Batang"),W._alternativeFontNames.add("바탕체","Batangche"),W._alternativeFontNames.add("굴림","Gulim"),W._alternativeFontNames.add("굴림체","Gulimche"),W._alternativeFontNames.add("돋움","Dotum"),W._alternativeFontNames.add("돋움체","Dotumche"),W._alternativeFontNames.add("궁서","Gungsuh"),W._alternativeFontNames.add("궁서체","Gungsuhche"),W._alternativeFontNames.add("맑은 고딕","Malgun Gothic"),W._alternativeFontNames.add("宋体","SimSun"),W._alternativeFontNames.add("宋体-ExtB","SimSun-ExtB"),W._alternativeFontNames.add("黑体","SimHei"),W._alternativeFontNames.add("新宋体","NSimSun"),W._alternativeFontNames.add("微软雅黑","Microsoft YaHei"),W._alternativeFontNames.add("仿宋","FangSong"),W._alternativeFontNames.add("楷体","KaiTi"),W._alternativeFontNames.add("仿宋_GB2312","FangSong_GB2312"),W._alternativeFontNames.add("新細明體","PMingLiU"),W._alternativeFontNames.add("新細明體-ExtB","PMingLiU-ExtB"),W._alternativeFontNames.add("細明體","MingLiU"),W._alternativeFontNames.add("細明體-ExtB","MingLiU-ExtB"),W._alternativeFontNames.add("微軟正黑體","Microsoft JhengHei"),W._alternativeFontNames.add("標楷體","DFKai-SB"),W._alternativeFontNames.add("文泉驛正黑","WenQuanYi Zen Hei"),W._alternativeFontNames.add("文泉驿正黑","WenQuanYi Zen Hei"),W._alternativeFontNames.add("文鼎PL細上海宋Uni","AR PL ShanHeiSun Uni"),W._alternativeFontNames.add("文鼎PL细上海宋Uni","AR PL ShanHeiSun Uni"),W._alternativeFontNames.add("文PL中楷Uni","AR PL ZenKai Uni"),W._alternativeFontNames.add("細曠體_HKSCS","MingLiU_HKSCS"),W._alternativeFontNames.add("細曠體_HKSCS-ExtB","MingLiU_HKSCS-ExtB")),W._alternativeFontNames}set alternativeFontNames(t){W._alternativeFontNames=t}}W._alternativeFontNames=null,t.ExportPdf=W;class q{constructor(){this.useFullVerticalBorder=!0,this.useFullHorizontalBorder=!0,this.checkBoxTextForTrue="+",this.checkBoxTextForFalse="-",this.trimTrailingSpaces=!0}}t.ExportText=q;class z{constructor(){this.Font=new o("Arial",10),this.HorAlignment=S.Center,this.VertAlignment=b.Center}}t.CheckBoxReplacementForExcelValue_=z;class X{}X.Word=new H,X.OpenDocumentWriter=new _,X.OpenDocumentCalc=new V,X.Html=new G,X.Excel=new U,X.PowerPoint=new j,X.Pdf=new W,X.Text=new q,X.CheckBoxReplacementForExcelValue=new z,X.optimizeDataOnlyMode=!0,X.checkBoxTextForTrue="false",X.checkBoxTextForFalse="true",t.Export=X;class J{}J.url="",J.timeout=30,J.encryptData=!0,J.passQueryParametersToReport=!1,J.checkDataAdaptersVersion=!0,t.WebServer=J}(Hd=Hd||{}),Ae.c.StiOptionsFontHelperAttribute=class{constructor(t){this.index=t}},Ae.c.StiReportsCollection=class extends J{constructor(t){super(),this.owner=t}add(t,e=!1,r=!1){if(t==this.owner)return;t.subReportsPrintOnPreviousPage=r,t.subReportsResetPageNumber=e,t.unit=this.owner.unit,this.list.push(t)}};let Lm=Ae.c.StiResizeReportOptions;Ae.c.StiResizeReportHelper=class{static setPageParameters(t,e,r,i,n,a,s){var o=0<(s&Lm.PageOrientationChanged),l=0<(s&Lm.RescaleContent),u=0<(s&Lm.AllowPageMarginsRescaling),h=t.width,s=t.height,h,s,c;o&&(t.orientation=e),t.paperSize=r,e==t.orientation?(t.pageWidth=n,t.pageHeight=a,t.margins=i.clone()):(t.pageWidth=a,t.pageHeight=n,t.margins=new Ml(i.top,i.bottom,i.left,i.right)),t.width<=0&&(t.width=.1),t.height<=0&&(t.height=.1),l&&(h=t.width/h,s=t.height/s,t.resizePage(h,s,u));for(c of t.components.list)c.dockToContainer()}static resizeReportAsync(p,g,f,S,b,y,v,w=-1){return Y.tsfb(this,void 0,void 0,function*(){var r=0<(v&Lm.RebuildReport),i=0<(v&Lm.ProcessAllPages);let t=null;w<p.renderedPages.count&&0<=w&&(t=p.renderedPages.getByIndex(w));var n=null!=t?t.name:"";if(r){let t=new Dt;var r=p.getComponents(),a,s,o,l,u;for(a of p.pages.list)t.set(a.guid,a);let e=new Dt;for(s of r.list){var h=s.as(yl),h;null==h||null==h.subReportPageGuid||null!=(h=t.get(h.subReportPageGuid).as(Kl))&&e.set(h,s.width)}for(o of p.pages.list){if(o.name==n||i)if(null==e.get(o)&&this.setPageParameters(o,g,f,S,b,y,v),!i)break}for(u of p.pages.list){var c=e.get(u),d,c;null!=c&&(d=+c,u.width!=d&&(c=u.width+u.margins.left+u.margins.right,u.width=d,this.setPageParameters(u,g,f,S,c,y,v)))}if(null!=p.subReports&&0<p.subReports.count)for(var m of p.subReports.list){let t=m;null!=m.compiledReport&&(t=m.compiledReport),yield this.resizeReportAsync(t,g,f,S,b,y,v)}p.isRendered=!1,yield p.renderAsync2(),p.invokeRefreshViewer()}else{let t=0;for(var e of p.renderedPages.list){if((t==w||i)&&(this.setPageParameters(e,g,f,S,b,y,v),!i))return;t++}}})}};{let e=class{constructor(t){this.page=null,this.textBox=null,this.dataSourcesPosition=new Dt,this._pageIndex=0,this._currentPrintPage=0,this.page=t.engine.page,this.line=t.line,this.lineThrough=t.lineThrough,this.column=t.column,this.currentPrintPage=t.currentPrintPage;for(var e of t.dictionary.dataSources.list)this.dataSourcesPosition.set(e.name,e.position)}clone(){let t=new e(this.page.report);return t.page=this.page,t.textBox=this.textBox,t.line=this.line,t.column=this.column,t.lineThrough=this.lineThrough,t.dataSourcesPosition=this.dataSourcesPosition,t}get pageIndex(){if(null!=this.textBox&&null!=this.textBox.report){var t=this.textBox.report.renderedPages.indexOf(this.textBox.page);if(-1!=t)return t+1}return this._pageIndex}set pageIndex(t){this._pageIndex=t}get currentPrintPage(){if(null!=this.textBox&&null!=this.textBox.report){var t=this.textBox.report.renderedPages.indexOf(this.textBox.page);if(-1!=t)return t+1}return this._currentPrintPage}set currentPrintPage(t){this._currentPrintPage=t}setVariables(t){t.line=this.line,t.lineThrough=this.lineThrough,t.column=this.column,t.currentPrintPage=this.currentPrintPage;for(var e of t.dictionary.dataSources.list)e.position=this.dataSourcesPosition.get(e.name)}};Ae.c.StiRuntimeVariables=e}{let n=class{constructor(t){this.value=t}},a=class{constructor(t){this.rangeType=t.stimulsoft().getType(),this.from=t.fromObject,this.to=t.toObject}},s=class{constructor(){this.states=new Dt}push(t,e,r,i){let n=this.states.get(t);null==n&&(n=new Dt,this.states.add(t,n));let a=n.get(e);null==a&&(a=new Dt,n.add(e,a)),a.set(r,i)}pushBool(t,e,r,i){i?this.push(t,e,r,s.ValueBoolTrue):this.push(t,e,r,s.ValueBoolFalse)}pushInt(t,e,r,i){this.push(t,e,r,new n(i))}pushInt64(t,e,r,i){this.push(t,e,r,new n(i))}pushFloat(t,e,r,i){this.push(t,e,r,new n(i))}pushDouble(t,e,r,i){this.push(t,e,r,new n(i))}pushDecimal(t,e,r,i){this.push(t,e,r,new n(i))}pushRange(t,e,r,i){this.push(t,e,r,new a(i))}pop(t,e,r){let i=this.states.get(t);if(null==i)return null;let n=i.get(e);if(null==n)return null;return n.get(r)}popBool(t,e,r){var i;if(this.pop(t,e,r)==s.ValueBoolFalse)return!1;return!0}popInt(t,e,r){var r=this.pop(t,e,r);if(null==r)return 0;return r.value}popInt64(t,e,r){return this.popInt(t,e,r)}popDouble(t,e,r){return this.popInt(t,e,r)}popFloat(t,e,r){return this.popInt(t,e,r)}popDecimal(t,e,r){return this.popInt(t,e,r)}popRange(t,e,r){var r=this.pop(t,e,r);if(null==r)return null;let i=Sc.createInstance(r.rangeType);return i.fromObject=r.from,i.toObject=r.to,i}isExist(t,e){if(null==this.states.get(t))return!1;let r=this.states.get(t);if(null==r.get(e))return!1;return!0}clearState(t){this.states.remove(t)}clear(){this.states.clear()}};s.ValueBoolFalse={},s.ValueBoolTrue={},Ae.c.StiStatesManager=s}var dt=class{static getPageNofM(t){return De.format(this.getPageNofMIdent(t),t.pageNumber,t.totalPageCount)}static getPageNofMThrough(t){return De.format(this.getPageNofMIdent(t),t.pageNumberThrough,t.totalPageCountThrough)}static getPageNofMIdent(t){if(null!=t.pageNofMLocalizationString)return t.pageNofMLocalizationString;let e=null;if(De.isNullOrWhiteSpace(t.culture)||(e=this.getIdent(t.culture)),null!=e)return e;if(e=this.getIdent(ne.cultureName),null!=e)return e;return ne.get("Report","PageNofM")}static getIdent(e){e=e.toLowerCase();for(var t of this.locs)if(t.name==e)return t.value;if(e.stimulsoft().contains("-"))return e=e.substr(0,e.indexOf("-")),this.locs.where(function(t){return e.stimulsoft().startsWith(t.name)}).select(function(t){return t.value})[0];return null}},Mm,Om,Hm,_m,Vm,Gm,Um,jm,Wm,qm,zm,Xm,Jm,Ym,Qm,k,l,e,L,B,D,v,b,x,P,p,m,u,wt,yt,F,W,M,Z,ft,V,H;dt.locs=new Ee([{name:"ar",value:"صفحة {0} من {1}"},{name:"en",value:"Page {0} of {1}"},{name:"be",value:"Старонка {0} з {1}"},{name:"bg",value:"Страница {0} от {1}"},{name:"cz",value:"{0} z {1}"},{name:"de",value:"Seite {0} von {1}"},{name:"el-gr",value:"Σελίδα {0} από {1}"},{name:"es",value:"Pág.{0} de {1}"},{name:"ca-es",value:"P.{0} de {1}"},{name:"eu-es",value:"{0}. or. {1}-tik"},{name:"gl-es",value:"Páx.{0} de {1}"},{name:"fa",value:"صفحه {0} از {1}"},{name:"fr",value:"{0} sur {1}"},{name:"hr",value:"Strana {0} od {1}"},{name:"hu",value:"Oldal {0} a {1}-ból"},{name:"id",value:"Halaman {0} dari {1}"},{name:"it",value:"{0} di {1}"},{name:"ka",value:"{0}, {1}-დან"},{name:"lt",value:"{0} iš {1}"},{name:"lt-sr-sp",value:"Strana {0} od {1}"},{name:"nb-no",value:"Side {0} av {1}"},{name:"nl",value:"{0} op {1}"},{name:"pl",value:"Strona {0} z {1}"},{name:"pt",value:"{0} de {1}"},{name:"pt-br",value:"{0} de {1}"},{name:"ro",value:"{0} din {1}"},{name:"ru",value:"Страница {0} из {1}"},{name:"sk",value:"{0} z {1}"},{name:"sv",value:"{0} av {1}"},{name:"tr",value:"Sayfa {0}/{1}"},{name:"ua",value:"Сторінка {0} із {1}"}]),Ae.c.StiSystemVariableLocHelper=dt;{let e=class{constructor(){this.hashText=new Dt,this.hashComponent=new Dt,this.hashFontString=new Dt}getFontString(t){var e=this.hashFontString.get(t);if(null!=e)return e;var e=t.name+"*"+t.style.toString()+"*";return this.hashFontString.set(t,e),e}getFontSizeObject(t,e,r,i,n){let a=i.ref;var n=n.ref;let s=this.hashComponent.get(t);return null==s&&(n=r+"*"+e.width.toString()+"*"+e.height.toString()+"*"+this.getFontString(t.font)+"*"+a.toString(),s=this.hashText.get(n),null!=s&&this.hashComponent.set(t,s)),"number"==typeof s&&(a=+s),s}clear(){this.hashText.clear(),this.hashComponent.clear(),this.hashFontString.clear()}};Ae.c.StiFitTextInfo=e;var pt=class{static get enabled(){return this._enabled}static set enabled(t){this._enabled=t}static addReport(t){this.enabled&&null!=t&&(null==t.compiledReport?this.hashes.set(t,new e):this.hashes.set(t.compiledReport,new e))}static removeReport(e){if(null!=e){let t=this.hashes.get(e);null!=t&&t.clear(),this.hashes.remove(e)}}static clearReportInfo(e){if(null!=e){let t=this.hashes.get(e);null!=t&&t.clear()}}static getReportInfo(t){if(this.enabled&&null!=t){var t=this.hashes.get(t);if(null!=t)return t}return null}static clear(){this.hashes.clear()}};pt.hashes=new Dt,pt._enabled=!1,Ae.c.StiViewerFitTextHelper=pt}let Km=Ae.ap.StiInteractionSortDirection,Zm=Ae.ap.StiDrillDownMode;Ae.ap.StiInteraction=class{constructor(){this.sortingEnabled=!0,this.sortingColumn="",this.sortingIndex=0,this.sortingDirection=Km.None,this.drillDownEnabled=!1,this.drillDownReport="",this.drillDownMode=Zm.MultiPage,this._drillDownParameter1=null,this._drillDownParameter2=null,this._drillDownParameter3=null,this._drillDownParameter4=null,this._drillDownParameter5=null,this._drillDownParameter6=null,this._drillDownParameter7=null,this._drillDownParameter8=null,this._drillDownParameter9=null,this._drillDownParameter10=null,this.drillDownPageGuid=null,this.parentComponent=null,this.drillDownParameter1=new Ae.ap.StiDrillDownParameter,this.drillDownParameter2=new Ae.ap.StiDrillDownParameter,this.drillDownParameter3=new Ae.ap.StiDrillDownParameter,this.drillDownParameter4=new Ae.ap.StiDrillDownParameter,this.drillDownParameter5=new Ae.ap.StiDrillDownParameter,this.drillDownParameter6=new Ae.ap.StiDrillDownParameter,this.drillDownParameter7=new Ae.ap.StiDrillDownParameter,this.drillDownParameter8=new Ae.ap.StiDrillDownParameter,this.drillDownParameter9=new Ae.ap.StiDrillDownParameter,this.drillDownParameter10=new Ae.ap.StiDrillDownParameter}implements(){return[Jt,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("SortingEnabled","",!0),new Ui("SortingColumn"),new Wi("DrillDownEnabled"),new Ui("DrillDownReport"),new Gi("DrillDownMode","",Zm,Zm.MultiPage),new Ui("DrillDownPageGuid"),new Ma("DrillDownParameter1","_"),new Ma("DrillDownParameter2","_"),new Ma("DrillDownParameter3","_"),new Ma("DrillDownParameter4","_"),new Ma("DrillDownParameter5","_"),new Ma("DrillDownParameter6","_"),new Ma("DrillDownParameter7","_"),new Ma("DrillDownParameter8","_"),new Ma("DrillDownParameter9","_"),new Ma("DrillDownParameter10","_")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static loadInteractionFromJsonObject(t){var e=t.properties().firstOrDefault(t=>"Ident"==t.name).value;let r=new Ae.ap[e];return r.loadFromJsonObject(t),r}static loadInteractionFromXml(t){var e,e=null===(e=t.attributes.getNamedItem("type").value)||void 0===e?void 0:e.split(".").pop();if(null==e)return null;let r=new Ae.ap[e];return r.loadFromXml(t),r}getReport(){if(null==this.parentComponent)return null;return this.parentComponent.report}clone(){var t;return this.stimulsoft().memberwiseClone()}isDefault(){return this.sortingEnabled&&De.isNullOrEmpty(this.sortingColumn)&&!this.drillDownEnabled&&De.isNullOrEmpty(this.drillDownReport)&&null==this.drillDownPageGuid&&this.drillDownParameter1.isDefault()&&this.drillDownParameter2.isDefault()&&this.drillDownParameter3.isDefault()&&this.drillDownParameter4.isDefault()&&this.drillDownParameter5.isDefault()&&this.drillDownParameter6.isDefault()&&this.drillDownParameter7.isDefault()&&this.drillDownParameter8.isDefault()&&this.drillDownParameter9.isDefault()&&this.drillDownParameter10.isDefault()}get drillDownParameter1(){return this._drillDownParameter1}set drillDownParameter1(t){this._drillDownParameter1!=t&&null!=(this._drillDownParameter1=t)&&(t.interaction=this)}get drillDownParameter2(){return this._drillDownParameter2}set drillDownParameter2(t){this._drillDownParameter2!=t&&null!=(this._drillDownParameter2=t)&&(t.interaction=this)}get drillDownParameter3(){return this._drillDownParameter3}set drillDownParameter3(t){this._drillDownParameter3!=t&&null!=(this._drillDownParameter3=t)&&(t.interaction=this)}get drillDownParameter4(){return this._drillDownParameter4}set drillDownParameter4(t){this._drillDownParameter4!=t&&null!=(this._drillDownParameter4=t)&&(t.interaction=this)}get drillDownParameter5(){return this._drillDownParameter5}set drillDownParameter5(t){this._drillDownParameter5!=t&&null!=(this._drillDownParameter5=t)&&(t.interaction=this)}get drillDownParameter6(){return this._drillDownParameter6}set drillDownParameter6(t){this._drillDownParameter6!=t&&null!=(this._drillDownParameter6=t)&&(t.interaction=this)}get drillDownParameter7(){return this._drillDownParameter7}set drillDownParameter7(t){this._drillDownParameter7!=t&&null!=(this._drillDownParameter7=t)&&(t.interaction=this)}get drillDownParameter8(){return this._drillDownParameter8}set drillDownParameter8(t){this._drillDownParameter8!=t&&null!=(this._drillDownParameter8=t)&&(t.interaction=this)}get drillDownParameter9(){return this._drillDownParameter9}set drillDownParameter9(t){this._drillDownParameter9!=t&&null!=(this._drillDownParameter9=t)&&(t.interaction=this)}get drillDownParameter10(){return this._drillDownParameter10}set drillDownParameter10(t){this._drillDownParameter10!=t&&null!=(this._drillDownParameter10=t)&&(t.interaction=this)}get drillDownPage(){if(null==this.parentComponent||null==this.parentComponent.report)return null;for(var t of this.parentComponent.report.pages.list)if(t.guid==this.drillDownPageGuid)return t;return null}set drillDownPage(t){null==t?this.drillDownPageGuid=null:(null==t.guid&&(t.guid=Ts.newGuid()),this.drillDownPageGuid=t.guid)}get bookmark(){return this.parentComponent.bookmark}set bookmark(t){this.parentComponent.bookmark=t}get hyperlink(){return this.parentComponent.hyperlink}set hyperlink(t){this.parentComponent.hyperlink=t}get tag(){return this.parentComponent.tag}set tag(t){this.parentComponent.tag=t}get toolTip(){return this.parentComponent.toolTip}set toolTip(t){this.parentComponent.toolTip=t}getSortDataBandName(){if(De.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(0,t);return""}getSortColumns(){let t=this.getSortColumnsString();if(0==t.length)return null;var e;return t.split(".")}getSortColumnsString(){if(De.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(t+1);return""}},Ae.ap.StiBandInteraction=class extends Ae.ap.StiInteraction{constructor(){super(...arguments),this.collapsingEnabled=!1,this.selectionEnabled=!1,this.collapseGroupFooter=!1}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CollapsingEnabled"),new Wi("SelectionEnabled"),new Wi("CollapseGroupFooter")])}isDefault(){return super.isDefault()&&!this.collapsingEnabled&&!this.selectionEnabled}get collapsed(){return this.parentComponent.is(Ae.ap.StiGroupHeaderBand),this.parentComponent.collapsed}set collapsed(t){this.parentComponent.is(Ae.ap.StiGroupHeaderBand),this.parentComponent.collapsed=t}};{let t=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepGroupFooterTogether=!0}implements(){return super.implements().concat([Ae.ap.IStiKeepGroupFooterTogether,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("KeepGroupFooterTogether","",!0)])}clone(t,e){let r=super.clone(t,e);return r._groupFooterBandInfo=this.groupFooterBandInfo.clone(),r}get groupFooterBandInfo(){return null==this._groupFooterBandInfo&&(this._groupFooterBandInfo=new Ae.ap.StiGroupFooterBandInfo),this._groupFooterBandInfo}get line(){if(null!=this.groupFooterBandInfo.groupHeader)return this.groupFooterBandInfo.groupHeader.line;return 1}get headerStartColor(){return Fe.fromArgb(239,155,52)}get headerEndColor(){return Fe.fromArgb(239,155,52)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.GroupFooterBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}getComponentType(){return Ae.ap.StiComponentType.Detail}get priority(){return Ae.ap.StiComponentPriority.GroupFooterBand}createNew(){return new t}};Ae.ap.StiGroupFooterBand=t}Ae.ap.IStiPageBreak=new Ae.b.Interface("IStiPageBreak"),Ae.ap.IStiMasterComponent=new Ae.b.Interface("IStiMasterComponent"),Ae.ap.IStiPrintOnAllPages=new Ae.b.Interface("IStiPrintOnAllPages");{let t=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepHeaderTogether=!0,this._startNewPage=!1,this._printIfEmpty=!1,this._printOnAllPages=!0,this._printOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore}implements(){return super.implements().concat([Ae.ap.IStiPrintIfEmpty,Ae.ap.IStiPrintOnAllPages,Ae.ap.IStiPrintOnEvenOddPages,Ae.ap.IStiKeepHeaderTogether,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanBreak"),new Wi("KeepHeaderTogether","",!0),new Wi("StartNewPage","_"),new ji("StartNewPageIfLessThan","",100),new Wi("PrintIfEmpty","_"),new Wi("PrintOnAllPages","_",!0),new Gi("PrintOnEvenOddPages","_",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore)])}clone(t,e){let r=super.clone(t,e);return r._headerBandInfo=this.headerBandInfo.clone(),r}get startNewPage(){return this._startNewPage}set startNewPage(t){this._startNewPage=t}get startNewPageIfLessThan(){return this.breakIfLessThan}set startNewPageIfLessThan(t){this.breakIfLessThan=t}get printIfEmpty(){return this._printIfEmpty}set printIfEmpty(t){this._printIfEmpty=t}get printOnAllPages(){return this._printOnAllPages}set printOnAllPages(t){this._printOnAllPages=t}get printOnEvenOddPages(){return this._printOnEvenOddPages}set printOnEvenOddPages(t){this._printOnEvenOddPages=t}get headerBandInfo(){return null==this._headerBandInfo&&(this._headerBandInfo=new Ae.ap.StiHeaderBandInfo),this._headerBandInfo}get headerStartColor(){return Fe.fromArgb(178,197,223)}get headerEndColor(){return Fe.fromArgb(178,197,223)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.HeaderBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.HeaderBand}getComponentType(){return Ae.ap.StiComponentType.Detail}createNew(){return new t}};Ae.ap.StiHeaderBand=t}{let t=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepFooterTogether=!0,this._startNewPage=!1,this.printIfEmpty=!1,this.printOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore,this._printOnAllPages=!1}implements(){return super.implements().concat([Ae.ap.IStiPrintOnAllPages,Ae.ap.IStiPrintIfEmpty,Ae.ap.IStiKeepFooterTogether,Ae.ap.IStiPrintOnEvenOddPages,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CanBreak"),new Wi("KeepFooterTogether","",!0),new Wi("StartNewPage","_"),new ji("StartNewPageIfLessThan","",100),new Wi("PrintIfEmpty"),new Gi("PrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore),new Wi("PrintOnAllPages","_")])}clone(t,e){let r=super.clone(t,e);return r._footerBandInfo=this.footerBandInfo.clone(),r}get startNewPage(){return this._startNewPage}set startNewPage(t){this._startNewPage=t}get startNewPageIfLessThan(){return this.breakIfLessThan}set startNewPageIfLessThan(t){this.breakIfLessThan=t}get printOnAllPages(){return this._printOnAllPages}set printOnAllPages(t){this._printOnAllPages=t}get footerBandInfo(){return null==this._footerBandInfo&&(this._footerBandInfo=new Ae.ap.StiFooterBandInfo),this._footerBandInfo}get headerStartColor(){return Fe.fromArgb(178,197,223)}get headerEndColor(){return Fe.fromArgb(178,197,223)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.FooterBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.ColumnFooterBand}getComponentType(){return Ae.ap.StiComponentType.Detail}onMoveFooterToBottom(t){}invokeMoveFooterToBottom(){this.onMoveFooterToBottom(Un.empty)}createNew(){return new t}};t.eventMoveFooterToBottom={},Ae.ap.StiFooterBand=t}let $m=Ae.ap.StiHeaderBand,tp=Ae.ap.StiGroupFooterBand,ep=Ae.ap.StiFooterBand,rp=Ae.ap.StiKeepDetails,ip=Ae.ap.IStiMasterComponent,np=Ae.ap.IStiPrintOnAllPages,ap=Ae.ap.IStiPageBreak,sp=Ae.ap.StiBandInteraction;{let m=class extends Ae.aq.StiBandBuilder{getGroupHeaders(t){let e=new Eu,r=t.parent.components.indexOf(t)-1;if(t.is(Ae.be.StiTable)&&!t.enabled){var i=t.name+"_";while(0<=r&&t.parent.components.getByIndex(r).name.stimulsoft().startsWith(i))r--}while(0<=r){if(!t.parent.components.getByIndex(r).is($m)&&!t.parent.components.getByIndex(r).is(Yl)&&!t.parent.components.getByIndex(r).is(vl)){if(!t.parent.components.getByIndex(r).is(Au))break;e.insert(0,t.parent.components.getByIndex(r))}r--}return e}getGroupFooters(t){let e=new Eu,r=t.parent.components.indexOf(t)+1;while(r<t.parent.components.count){if(!t.parent.components.getByIndex(r).is(ep)&&!t.parent.components.getByIndex(r).is(Yl)&&!t.parent.components.getByIndex(r).is(vl)){if(!t.parent.components.getByIndex(r).is(tp))break;e.add(t.parent.components.getByIndex(r))}r++}return e}groupsComparison(e){for(var t of e.dataBandInfo.groupHeaderComponents.toCast())t.groupHeaderBandInfo.groupFooter=null;for(let t=0;t<e.dataBandInfo.groupFooterComponents.count;t++){var r=e.dataBandInfo.groupHeaderComponents.count-t-1;0<=r?(e.dataBandInfo.groupFooterComponents.getByIndex(t).groupFooterBandInfo.groupHeader=e.dataBandInfo.groupHeaderComponents.getByIndex(r),e.dataBandInfo.groupHeaderComponents.getByIndex(r).groupHeaderBandInfo.groupFooter=e.dataBandInfo.groupFooterComponents.getByIndex(t)):e.dataBandInfo.groupFooterComponents.getByIndex(t).groupFooterBandInfo.groupHeader=null}}findHeaders(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.headers=new Eu;let r=e.parent.components.indexOf(e)-1;while(0<=r){let t=e.parent.components.getByIndex(r);if(!t.is(Au)&&!t.is(Yl)&&!t.is(vl)){if(!t.is($m))break;e.dataBandInfo.headers.insert(0,t)}r--}}findHierarchicalHeaders(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;let r=e.as(Ae.ap.StiHierarchicalBand);if(null!=r&&0<r.headers.trim().length){e.dataBandInfo.hierarchicalHeaders=new Eu;var i=r.headers.split(";"),n,a,s;let t=new Dt;for(n of i){var o=n.trim();t.set(o,o)}for(a of e.dataBandInfo.headers.list)null!=t.get(a.name)&&e.dataBandInfo.hierarchicalHeaders.add(a);for(s of e.dataBandInfo.hierarchicalHeaders.list)e.dataBandInfo.headers.contains(s)&&e.dataBandInfo.headers.remove(s,!1)}}findFooters(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.footersOnAllPages=new Eu,e.dataBandInfo.footersOnLastPage=new Eu;let r=e.parent.components.indexOf(e)+1;while(r<e.parent.components.count){let t=e.parent.components.getByIndex(r);if(!t.is(Ae.ap.StiGroupFooterBand)&&!t.is(Yl)&&!t.is(vl)&&(!t.is(Ae.be.StiTable)||t.isConverted)){if(!t.is(ep))break;(t.printOnAllPages?e.dataBandInfo.footersOnAllPages:e.dataBandInfo.footersOnLastPage).add(t)}r++}}findHierarchicalFooters(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;let r=e.as(Ae.ap.StiHierarchicalBand);if(null!=r&&0<r.footers.trim().length){e.dataBandInfo.hierarchicalFooters=new Eu;var i=r.footers.split(";"),n,a,s,o;let t=new Dt;for(n of i){var l=n.trim();t.set(l,l)}for(a of e.dataBandInfo.footersOnAllPages.list)null!=t.get(a.name)&&e.dataBandInfo.hierarchicalFooters.add(a);for(s of e.dataBandInfo.footersOnLastPage.list)null!=t.get(s.name)&&e.dataBandInfo.hierarchicalFooters.add(s);for(o of e.dataBandInfo.hierarchicalFooters.list)e.dataBandInfo.footersOnAllPages.contains(o)&&e.dataBandInfo.footersOnAllPages.remove(o,!1),e.dataBandInfo.footersOnLastPage.contains(o)&&e.dataBandInfo.footersOnLastPage.remove(o,!1)}}findEmptyBands(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.emptyBands=new Eu;let r=e.parent.components.indexOf(e)+1;while(r<e.parent.components.count){let t=e.parent.components.getByIndex(r);if(t.is(vl)&&t.enabled&&e.dataBandInfo.emptyBands.add(t),(!t.is(Ae.be.StiTable)||t.isConverted)&&(t.is(ep)||t.is(Ae.ap.StiGroupFooterBand)||t.is($m)||t.is(Au)||t.is(Ae.ap.StiDataBand)))break;r++}}findGroupHeaders(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.groupHeaders=new Eu;let r=e.parent.components.indexOf(e)-1;while(0<=r){let t=e.parent.components.getByIndex(r);if(!t.is($m)&&!t.is(Yl)&&!t.is(vl)){if(!t.is(Au))break;e.dataBandInfo.groupHeaders.insert(0,t)}r--}}findGroupFooters(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.groupFooters=new Eu;let r=e.parent.components.indexOf(e)+1;while(r<e.parent.components.count){let t=e.parent.components.getByIndex(r);if(!t.is(ep)&&!t.is(Yl)&&!t.is(vl)&&(!t.is(Ae.be.StiTable)||t.isConverted)){if(!t.is(Ae.ap.StiGroupFooterBand))break;e.dataBandInfo.groupFooters.add(t)}r++}}findDetailDataBands(n){if(null==n)return;if(null==n.parent)return;if(null==n.dataBandInfo)return;n.dataBandInfo.detailDataBands=new Eu;let a=n.page.getComponents(),r=n;if(n.isBusinessObjectEmpty)for(var i of a.list){if(i.is(vl))continue;if(i==n)continue;i.is(Ae.be.StiTable)&&!i.isConverted&&n.name==i.name+"_DB"&&(r=i);let t=i.as(ip);if(null!=t&&t.is(Jl)&&(t.masterComponent==n||t.masterComponent==r)&&(t.dataSource!=r.dataSource||null==t.dataSource&&null==r.dataSource)){let t=i.parent;while(null!=t&&!t.is(Kl)){if(t==n)break;t=t.parent}t!=n&&n.dataBandInfo.detailDataBands.add(i)}let e=i.as(yl);if(null!=e&&null!=e.subReportPage)for(var s of e.subReportPage.getComponents().list){let t=s.as(ip);null==t||!t.is(Ae.ap.StiDataBand)||t.masterComponent!=n&&t.masterComponent!=r||t.dataSource==r.dataSource&&(null!=t.dataSource||null!=r.dataSource)||(null==n.dataBandInfo.detailDataBandsFromSubReports&&(n.dataBandInfo.detailDataBandsFromSubReports=new Dt),n.dataBandInfo.detailDataBandsFromSubReports.set(s,null))}}else{let e=new Eu,r=new Eu;for(var o of a.list){let t=o.as(yl);null!=t&&null!=t.subReportPage?(e.addRange(t.subReportPage.getComponents()),r.addRange(t.subReportPage.getComponents())):e.add(o)}a=e;let i=!1,t=new Dt;for(var l of a.list){if(l.is(vl))continue;if(l==n)continue;if(t.containsKey(l))continue;var u=l.as(Jl);if(null!=u&&!u.isBusinessObjectEmpty){if(n.businessObject==u.businessObject.parentBusinessObject){let t=l.parent;while(null!=t&&!t.is(Kl)){if(t==n)break;t=t.parent}t!=n&&n.dataBandInfo.detailDataBands.add(l),-1!=r.indexOf(l)&&(null==n.dataBandInfo.detailDataBandsFromSubReports&&(n.dataBandInfo.detailDataBandsFromSubReports=new Dt),n.dataBandInfo.detailDataBandsFromSubReports.set(l,!0)),i=!0}if(i&&this.isParentOrCurrentBO(u.businessObject.parentBusinessObject,n.businessObject))break;if(null!=u.dataBandInfo.detailDataBands)for(var h of u.dataBandInfo.detailDataBands.list)t.set(h,null)}}}}isParentOrCurrentBO(t,e){while(null!=t){if(t==e)return!1;t=t.parentBusinessObject}return!0}findSubReports(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;var t,r,i,n;e.dataBandInfo.subReports=new Eu;for(r of e.getComponents().list)r.is(yl)&&e.dataBandInfo.subReports.add(r);let a=e.parent.components.indexOf(e)+1;while(a<e.parent.components.count&&e.parent.components.getByIndex(a).is(Yl)){let t=e.parent.components.getByIndex(a);for(n of t.getComponents().list)n.is(yl)&&e.dataBandInfo.subReports.add(n);a++}}findDetails(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;var e,r,i,n;t.dataBandInfo.details=new Eu;for(r of t.getComponents().list){if(null!=r.as(ip)&&!r.is(yl)){if(!!(r.is(Jl)&&r.dataSource==t.dataSource&&null!=t.dataSource))continue;t.dataBandInfo.details.add(r)}}}resetHeaders(t){t.dataBandInfo.headers=null}resetHierarchicalHeaders(t){t.dataBandInfo.hierarchicalHeaders=null}resetFooters(t){t.dataBandInfo.footersOnAllPages=null,t.dataBandInfo.footersOnLastPage=null}resetHierarchicalFooters(t){t.dataBandInfo.hierarchicalFooters=null}resetEmptyBands(t){t.dataBandInfo.emptyBands=null}resetGroupHeaders(t){t.dataBandInfo.groupHeaders=null}resetGroupFooters(t){t.dataBandInfo.groupFooters=null}resetDetailDataBands(t){t.dataBandInfo.detailDataBands=null}resetDetails(t){t.dataBandInfo.details=null}addKeepLevelAtLatestDataBandAsync(t){return Y.tsfb(this,void 0,void 0,function*(){yield t.report.engine.threads.selectThreadFromContainerAsync(t),null!=t.report.engine.containerForRender&&t.report.engine.addKeepLevelAtLatestDataBand()})}addKeepLevelAtLatestDataBand(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addKeepLevelAtLatestDataBand()}addKeepLevelAsync(t){return Y.tsfb(this,void 0,void 0,function*(){yield t.report.engine.threads.selectThreadFromContainerAsync(t),null!=t.report.engine.containerForRender&&t.report.engine.addLevel()})}addKeepLevel(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addLevel()}removeKeepLevelAsync(t){return Y.tsfb(this,void 0,void 0,function*(){yield t.report.engine.threads.selectThreadFromContainerAsync(t),null!=t.report.engine.containerForRender&&t.report.engine.removeLevel()})}removeKeepLevel(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.removeLevel()}removeKeepGroupHeadersAsync(r){return Y.tsfb(this,void 0,void 0,function*(){let t=0;for(var e of r.dataBandInfo.groupHeaders.list)r.dataBandInfo.groupHeaderResults[t]&&e.keepGroupHeaderTogether&&(yield this.removeKeepLevelAsync(r)),t++})}removeKeepGroupHeaders(t){let e=0;for(var r of t.dataBandInfo.groupHeaders.list)t.dataBandInfo.groupHeaderResults[e]&&r.keepGroupHeaderTogether&&this.removeKeepLevel(t),e++}removeKeepHeadersAsync(r,i){return Y.tsfb(this,void 0,void 0,function*(){for(let t=0;t<r.dataBandInfo.headers.count;t++){var e;r.dataBandInfo.headers.getByIndex(t).as($m).keepHeaderTogether&&(0==r.position||i[t])&&(yield this.removeKeepLevelAsync(r),i[t]=!1)}})}removeKeepHeaders(e,r){for(let t=0;t<e.dataBandInfo.headers.count;t++){var i;e.dataBandInfo.headers.getByIndex(t).as($m).keepHeaderTogether&&(0==e.position||r[t])&&(this.removeKeepLevel(e),r[t]=!1)}}allowKeepDetails(t){if(!this.allowDetailDataBands(t))return!1;if(t.keepDetails==rp.None)return!1;for(var e of t.dataBandInfo.detailDataBands.list)if(e.parent.name!=t.parent.name)return!1;return!0}addKeepDetailsAsync(r){return Y.tsfb(this,void 0,void 0,function*(){if(!this.allowKeepDetails(r))return;if(r.keepDetails==rp.KeepFirstDetailTogether||r.keepDetails==rp.KeepFirstRowTogether){let t=r.report.engine.keepFirstDetailTogetherTablesList.get(r),e=null!=t?t.as(Jl):null;null==e&&(e=r),r.report.engine.keepFirstDetailTogetherList.set(e,r)}yield this.addKeepLevelAsync(r)})}addKeepDetails(r){if(!this.allowKeepDetails(r))return;if(r.keepDetails==rp.KeepFirstDetailTogether||r.keepDetails==rp.KeepFirstRowTogether){let t=r.report.engine.keepFirstDetailTogetherTablesList.get(r),e=null!=t?t.as(Jl):null;null==e&&(e=r),r.report.engine.keepFirstDetailTogetherList.set(e,r)}this.addKeepLevel(r)}removeKeepDetailsAsync(t){return Y.tsfb(this,void 0,void 0,function*(){this.allowKeepDetails(t)&&t.keepDetails==rp.KeepDetailsTogether&&(yield this.removeKeepLevelAsync(t)),null!=t.masterComponent&&null!=t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent)&&(yield this.removeKeepLevelAsync(t),t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent,null)),null!=t.report.engine.keepFirstDetailTogetherList.get(t)&&(yield this.removeKeepLevelAsync(t),t.report.engine.keepFirstDetailTogetherList.set(t,null))})}removeKeepDetails(t){this.allowKeepDetails(t)&&t.keepDetails==rp.KeepDetailsTogether&&this.removeKeepLevel(t),null!=t.masterComponent&&null!=t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent,null)),null!=t.report.engine.keepFirstDetailTogetherList.get(t)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t,null))}removeKeepDetailsRowAsync(e){return Y.tsfb(this,void 0,void 0,function*(){if(0==e.dataBandInfo.detailDataBands.count)return;let t=e;while(null!=t&&null!=t.masterComponent)t=t.masterComponent.as(Ae.ap.StiDataBand),null!=t&&t.keepDetails==rp.KeepFirstRowTogether&&null!=e.report.engine.keepFirstDetailTogetherList.get(t)&&(yield this.removeKeepLevelAsync(t),e.report.engine.keepFirstDetailTogetherList.set(t,null))})}removeKeepDetailsRow(t){if(0==t.dataBandInfo.detailDataBands.count)return;let e=t;while(null!=e&&null!=e.masterComponent)e=e.masterComponent.as(Ae.ap.StiDataBand),null!=e&&e.keepDetails==rp.KeepFirstRowTogether&&null!=t.report.engine.keepFirstDetailTogetherList.get(e)&&(this.removeKeepLevel(e),t.report.engine.keepFirstDetailTogetherList.set(e,null))}startBands(t,e){for(var r of e.list)this.startBand(t,r)}startBand(t,e){var r=e.as(np);null!=r&&r.printOnAllPages&&t.report.engine.bandsOnAllPages.add(t,e)}endBands(t){t.report.engine.bandsOnAllPages.remove(t)}getGroupHeaderResult(t,e){let r=0;for(var i of t.dataBandInfo.groupHeaders.list){if(i==e)return t.dataBandInfo.groupHeaderResults[r];r++}return!1}getGroupFooterResult(t,e){let r=0;for(var i of t.dataBandInfo.groupHeaders.list){if(i==e)return t.dataBandInfo.groupFooterResults[r];r++}return!1}linkGroupHeadersAndGroupFooters(e){for(var t of e.dataBandInfo.groupHeaders.list)t.groupHeaderBandInfo.groupFooter=null;for(let t=0;t<e.dataBandInfo.groupFooters.count;t++){var r=e.dataBandInfo.groupHeaders.count-t-1;0<=r?(e.dataBandInfo.groupFooters.getByIndex(t).groupFooterBandInfo.groupHeader=e.dataBandInfo.groupHeaders.getByIndex(r),e.dataBandInfo.groupHeaders.getByIndex(r).groupHeaderBandInfo.groupFooter=e.dataBandInfo.groupFooters.getByIndex(t)):e.dataBandInfo.groupFooters.getByIndex(t).groupFooterBandInfo.groupHeader=null}}resetLinkGroupHeadersAndGroupFooters(t){if(null!=t.dataBandInfo.groupHeaders)for(var e of t.dataBandInfo.groupHeaders.list)e.groupHeaderBandInfo.groupFooter=null;if(null!=t.dataBandInfo.groupFooters)for(var r of t.dataBandInfo.groupFooters.list)r.groupFooterBandInfo.groupHeader=null}static prepareGroupResults(r){let e=0;var t=r.position,i=r.count,n;null==r.dataBandInfo.groupHeaderCachedResults&&(r.dataBandInfo.groupHeaderCachedResults=[],r.dataBandInfo.groupFooterCachedResults=[]);let a=!1;null==r.dataBandInfo.groupHeaderCachedResults[t]&&(r.dataBandInfo.groupHeaderCachedResults[t]=[],r.dataBandInfo.groupFooterCachedResults[t]=[],a=!a);for(n of r.dataBandInfo.groupHeaders.list){if(0<t)if(a){if(r.isBusinessObjectEmpty){r.position=t-1;var s=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);r.position=t;var o=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);s&&s instanceof z&&o&&o instanceof z?r.dataBandInfo.groupHeaderResults[e]=0!=z.compare(s,o):r.dataBandInfo.groupHeaderResults[e]=s!=o}else{let t=r.businessObject;t.setPrevValue();var s=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);t.restoreCurrentValue();var o=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);s&&s instanceof z&&o&&o instanceof z?r.dataBandInfo.groupHeaderResults[e]=0!=z.compare(s,o):r.dataBandInfo.groupHeaderResults[e]=s!=o}r.dataBandInfo.groupHeaderCachedResults[t][e]=r.dataBandInfo.groupHeaderResults[e]}else r.dataBandInfo.groupHeaderResults[e]=r.dataBandInfo.groupHeaderCachedResults[t][e];else r.dataBandInfo.groupHeaderResults[e]=!0;if(t<i-1)if(a){if(r.isBusinessObjectEmpty){r.position=t+1;var l=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);r.position=t;var u=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);l&&l instanceof z&&u&&u instanceof z?r.dataBandInfo.groupFooterResults[e]=0!=z.compare(l,u):r.dataBandInfo.groupFooterResults[e]=l!=u}else{let t=r.businessObject;t.setNextValue();var l=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);t.restoreCurrentValue();var u=Ae.aq.StiGroupHeaderBandBuilder.getCurrentConditionValue(n);l&&l instanceof z&&u&&u instanceof z?r.dataBandInfo.groupFooterResults[e]=0!=z.compare(l,u):r.dataBandInfo.groupFooterResults[e]=l!=u}r.dataBandInfo.groupFooterCachedResults[t][e]=r.dataBandInfo.groupFooterResults[e]}else r.dataBandInfo.groupFooterResults[e]=r.dataBandInfo.groupFooterCachedResults[t][e];else r.dataBandInfo.groupFooterResults[e]=!0;e++}for(let e=0;e<r.dataBandInfo.groupHeaderResults.length;e++)if(r.dataBandInfo.groupHeaderResults[e]){for(let t=e+1;t<r.dataBandInfo.groupHeaderResults.length;t++)r.dataBandInfo.groupHeaderResults[t]=!0;break}for(let e=0;e<r.dataBandInfo.groupFooterResults.length;e++)if(r.dataBandInfo.groupFooterResults[e]){for(let t=e+1;t<r.dataBandInfo.groupFooterResults.length;t++)r.dataBandInfo.groupFooterResults[t]=!0;break}}renderGroupHeadersAsync(n){return Y.tsfb(this,void 0,void 0,function*(){n.parentBookmark=n.dataBandInfo.storedParentBookmark,n.parentPointer=n.dataBandInfo.storedParentPointer;let t=!1,r=0;for(var i of n.dataBandInfo.groupHeaders.toCast()){let e=i;e.parentBookmark=n.parentBookmark;var i=e.doBookmark();if(e.parentBookmark!=e.currentBookmark&&(n.parentBookmark=e.currentBookmark),e.parentPointer=n.parentPointer,e.doPointer(!i),e.parentPointer!=e.currentPointer&&(n.parentPointer=e.currentPointer),n.dataBandInfo.groupHeaderResults[r]){for(let t=r+1;t<n.dataBandInfo.groupHeaders.count;t++)n.report.engine.removeBandFromPageBreakSkipList(n.dataBandInfo.groupHeaders.getByIndex(t).as(ap));if(null!=n.report){let t=n.report;t.cacheTotals&&null!=t.cachedTotals&&t.cachedTotals.set(e,null)}e.groupHeaderBandInfo.skipKeepGroups=n.report.engine.isFirstDataBandOnPage&&n.componentType==Xl.Master&&1==e.line,!e.groupHeaderBandInfo.skipKeepGroups&&e.keepGroupTogether&&(yield this.addKeepLevelAsync(n)),e.keepGroupHeaderTogether&&(yield this.addKeepLevelAsync(n)),n.line=1,e.invokeBeginRender(),e.collapsingIndex=e.line,e.report.groupLine=e.line,m.invokeCollapsedEvent(e),yield this.renderBandAsync(n,e),t=!0,m.isCollapsed(e,!0)&&(e.groupHeaderBandInfo.oldSilentMode=n.report.engine.silentMode,n.report.engine.silentMode=!0,e.groupHeaderBandInfo.silentModeEnabled=!0)}r++}t&&(yield this.renderColumnsAsync(n))})}renderGroupHeaders(r){r.parentBookmark=r.dataBandInfo.storedParentBookmark,r.parentPointer=r.dataBandInfo.storedParentPointer;let t=!1,i=0;for(var n of r.dataBandInfo.groupHeaders.toCast()){let e=n;e.parentBookmark=r.parentBookmark;var n=e.doBookmark();if(e.parentBookmark!=e.currentBookmark&&(r.parentBookmark=e.currentBookmark),e.parentPointer=r.parentPointer,e.doPointer(!n),e.parentPointer!=e.currentPointer&&(r.parentPointer=e.currentPointer),r.dataBandInfo.groupHeaderResults[i]){for(let t=i+1;t<r.dataBandInfo.groupHeaders.count;t++)r.report.engine.removeBandFromPageBreakSkipList(r.dataBandInfo.groupHeaders.getByIndex(t).as(ap));if(null!=r.report){let t=r.report;t.cacheTotals&&null!=t.cachedTotals&&t.cachedTotals.set(e,null)}e.groupHeaderBandInfo.skipKeepGroups=r.report.engine.isFirstDataBandOnPage&&r.componentType==Xl.Master&&1==e.line,!e.groupHeaderBandInfo.skipKeepGroups&&e.keepGroupTogether&&this.addKeepLevel(r),e.keepGroupHeaderTogether&&this.addKeepLevel(r),r.line=1,e.invokeBeginRender(),e.collapsingIndex=e.line,e.report.groupLine=e.line,m.invokeCollapsedEvent(e),this.renderBand(r,e),t=!0,m.isCollapsed(e,!0)&&(e.groupHeaderBandInfo.oldSilentMode=r.report.engine.silentMode,r.report.engine.silentMode=!0,e.groupHeaderBandInfo.silentModeEnabled=!0)}i++}t&&this.renderColumns(r)}renderGroupFootersAsync(n){return Y.tsfb(this,void 0,void 0,function*(){for(let e=n.dataBandInfo.groupHeaders.count-1;0<=e;e--)if(n.dataBandInfo.groupFooterResults[e]){let t=n.dataBandInfo.groupHeaders.getByIndex(e);t.invokeEndRender();var r=t.groupHeaderBandInfo.groupFooter,i;null!=r&&((i=r.keepGroupFooterTogether)&&(yield this.addKeepLevelAtLatestDataBandAsync(n)),t.groupHeaderBandInfo.silentModeEnabled&&t.interaction.is(sp)&&!t.interaction.collapseGroupFooter&&(n.report.engine.silentMode=t.groupHeaderBandInfo.oldSilentMode,t.groupHeaderBandInfo.silentModeEnabled=!1),yield this.renderBandAsync(n,r),t.groupHeaderBandInfo.silentModeEnabled&&(n.report.engine.silentMode=t.groupHeaderBandInfo.oldSilentMode,t.groupHeaderBandInfo.silentModeEnabled=!1),i&&(yield this.removeKeepLevelAsync(n))),t.invokeEndRender(),!t.groupHeaderBandInfo.skipKeepGroups&&t.keepGroupTogether&&(yield this.removeKeepLevelAsync(n)),n.report.engine.printOnAllPagesIgnoreList.remove(t),t.line++}})}renderGroupFooters(r){for(let e=r.dataBandInfo.groupHeaders.count-1;0<=e;e--)if(r.dataBandInfo.groupFooterResults[e]){let t=r.dataBandInfo.groupHeaders.getByIndex(e);t.invokeEndRender();var i=t.groupHeaderBandInfo.groupFooter,n;null!=i&&((n=i.keepGroupFooterTogether)&&this.addKeepLevelAtLatestDataBand(r),t.groupHeaderBandInfo.silentModeEnabled&&t.interaction.is(sp)&&!t.interaction.collapseGroupFooter&&(r.report.engine.silentMode=t.groupHeaderBandInfo.oldSilentMode,t.groupHeaderBandInfo.silentModeEnabled=!1),this.renderBand(r,i),t.groupHeaderBandInfo.silentModeEnabled&&(r.report.engine.silentMode=t.groupHeaderBandInfo.oldSilentMode,t.groupHeaderBandInfo.silentModeEnabled=!1),n&&this.removeKeepLevel(r)),t.invokeEndRender(),!t.groupHeaderBandInfo.skipKeepGroups&&t.keepGroupTogether&&this.removeKeepLevel(r),r.report.engine.printOnAllPagesIgnoreList.remove(t),t.line++}}static setDetails(e){if(!e.isDataSourceEmpty||!e.isBusinessObjectEmpty){let t=new Dt;if(null!=e.dataBandInfo.detailDataBands)for(var r of e.dataBandInfo.detailDataBands.list){var r;e.report.engine.removeBandFromPageBreakSkipList(r.as(ap)),pd.setData(r,!1),r.is(Ae.ap.StiDataBand)&&!r.isBusinessObjectEmpty&&(r=r.businessObject,t.set(r,r))}var i,n,a,s;if(!e.isBusinessObjectEmpty)for(n of e.businessObject.businessObjects.list)null==t.get(n)&&n.setDetails();if(null!=e.dataBandInfo.subReports)for(var o of e.dataBandInfo.subReports.list){if(null!=o.subReportPage)for(s of o.subReportPage.getComponents().list){var l=s,u;null!=l&&l.dataSource==e.dataSource||pd.setData(s,!1)}}if(null!=e.dataBandInfo.details)for(var h of e.dataBandInfo.details.list)pd.setData(h,!1)}m.prepareGroupResults(e)}renderDetailDataBandsAsync(r){return Y.tsfb(this,void 0,void 0,function*(){if(this.allowDetailDataBands(r))for(var e of r.dataBandInfo.detailDataBands.list)if(e.enabled&&this.isAllow(r,e)){e.parentBookmark=r.currentBookmark,e.parentPointer=r.currentPointer;let t=e.as(zl);null!=t?yield t.renderMasterAsync():yield e.renderAsync()}})}renderDetailDataBands(e){if(this.allowDetailDataBands(e))for(var r of e.dataBandInfo.detailDataBands.list)if(r.enabled&&this.isAllow(e,r)){r.parentBookmark=e.currentBookmark,r.parentPointer=e.currentPointer;let t=r.as(zl);null!=t?t.renderMaster():r.render()}}getParentDataBand(t){let e=t.parent;while(null!=e&&!e.is(Kl)){if(e.is(Ae.ap.StiDataBand))return e;if(e.is(Ae.ap.StiChildBand)){let t=e.getMaster();if(t.is(Jl))return t}e=e.parent}return null}isAllow(t,e){if(null!=t.dataBandInfo.detailDataBandsFromSubReports&&null!=t.dataBandInfo.detailDataBandsFromSubReports.get(e))return!1;if(t.parent==e.parent)return!0;var t=this.getParentDataBand(t),r;return t!=this.getParentDataBand(e)||null==t}allowDetailDataBands(t){return 0<t.dataBandInfo.detailDataBands.count&&t.columns<2}isDenyDetailsOnFirstPage(t){return t.report.engine.isFirstDataBandOnPage&&t.componentType==Xl.Master&&1==t.line}static isDetailDataSourcesEmpty(t){if(null==t.dataBandInfo.detailDataBands||0==t.dataBandInfo.detailDataBands.count)return!1;for(var e of t.dataBandInfo.detailDataBands.list){if(e.is(fu)&&!e.isEmpty)return!1;if(e.is(Cu)&&!e.isEmpty)return!1}return!0}static isPrintIfDetailEmpty(t){if(t.printIfDetailEmpty)return!0;if(this.isDetailDataSourcesEmpty(t))return!1;let e=!1,r=!0;for(var i of t.dataBandInfo.detailDataBands.toCast()){if(r=!1,Hd.Engine.printIfDetailEmptyNesting){i.saveState("CheckPrintIfDetailEmpty"),i.first();while(!i.isEof){if(this.isPrintIfDetailEmpty(i)){e=!0;break}i.next()}i.restoreState("CheckPrintIfDetailEmpty")}else this.isPrintIfDetailEmpty(i)&&(e=!0);if(e)break}return r||e}renderHeadersAsync(r,i){return Y.tsfb(this,void 0,void 0,function*(){for(let t=0;t<r.dataBandInfo.headers.count;t++){var e=r.dataBandInfo.headers.getByIndex(t).as($m);r.isEmpty&&!e.printIfEmpty||(!r.isEmpty&&e.keepHeaderTogether&&(yield this.addKeepLevelAsync(r),i[t]=!0),yield this.renderBandAsync(r,e))}})}renderHeaders(e,r){for(let t=0;t<e.dataBandInfo.headers.count;t++){var i=e.dataBandInfo.headers.getByIndex(t).as($m);e.isEmpty&&!i.printIfEmpty||(!e.isEmpty&&i.keepHeaderTogether&&(this.addKeepLevel(e),r[t]=!0),this.renderBand(e,i))}}renderHierarchicalHeadersAsync(e,r,i){return Y.tsfb(this,void 0,void 0,function*(){if(null==e.dataBandInfo.hierarchicalHeaders)return;for(var t of e.dataBandInfo.hierarchicalHeaders.list)e.isEmpty&&!t.printIfEmpty||(!e.isEmpty&&t.keepHeaderTogether&&(yield this.addKeepLevelAsync(e)),r&&Ae.aq.StiHierarchicalBandBuilder.createIndention(e,t,i),yield this.renderBandAsync(e,t),r&&Ae.aq.StiHierarchicalBandBuilder.createIndention(e,t,-i))})}renderHierarchicalHeaders(t,e,r){if(null==t.dataBandInfo.hierarchicalHeaders)return;for(var i of t.dataBandInfo.hierarchicalHeaders.list)t.isEmpty&&!i.printIfEmpty||(!t.isEmpty&&i.keepHeaderTogether&&this.addKeepLevel(t),e&&Ae.aq.StiHierarchicalBandBuilder.createIndention(t,i,r),this.renderBand(t,i),e&&Ae.aq.StiHierarchicalBandBuilder.createIndention(t,i,-r))}addFooterMarkerAsync(t,e){return Y.tsfb(this,void 0,void 0,function*(){yield t.report.engine.threads.selectThreadFromContainerAsync(t),t.report.engine.addFooterMarker(e)})}addFooterMarker(t,e){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.addFooterMarker(e)}renderMarkerFootersOnAllPagesAsync(e){return Y.tsfb(this,void 0,void 0,function*(){for(var t of e.dataBandInfo.footersOnAllPages.list)e.isEmpty&&!t.printIfEmpty||(yield this.addFooterMarkerAsync(e,t))})}renderMarkerFootersOnAllPages(t){for(var e of t.dataBandInfo.footersOnAllPages.list)t.isEmpty&&!e.printIfEmpty||this.addFooterMarker(t,e)}renderFootersOnLastPageAsync(r){return Y.tsfb(this,void 0,void 0,function*(){r.is(Ae.ap.StiHierarchicalBand)&&(r.hierarchicalBandInfo.finalFooterCalculation=!0);for(var t of r.dataBandInfo.footersOnLastPage.list){var e;r.isEmpty&&!t.printIfEmpty||((e=!r.isEmpty&&t.keepFooterTogether)&&(yield this.addKeepLevelAtLatestDataBandAsync(r)),yield this.renderBandAsync(r,t),e&&(yield this.removeKeepLevelAsync(r)))}r.is(Ae.ap.StiHierarchicalBand)&&(r.hierarchicalBandInfo.finalFooterCalculation=!1)})}renderFootersOnLastPage(t){t.is(Ae.ap.StiHierarchicalBand)&&(t.hierarchicalBandInfo.finalFooterCalculation=!0);for(var e of t.dataBandInfo.footersOnLastPage.list){var r;t.isEmpty&&!e.printIfEmpty||((r=!t.isEmpty&&e.keepFooterTogether)&&this.addKeepLevelAtLatestDataBand(t),this.renderBand(t,e),r&&this.removeKeepLevel(t))}t.is(Ae.ap.StiHierarchicalBand)&&(t.hierarchicalBandInfo.finalFooterCalculation=!1)}renderFootersOnAllPagesAsync(e){return Y.tsfb(this,void 0,void 0,function*(){for(var t of e.dataBandInfo.footersOnAllPages.list)e.isEmpty&&!t.printIfEmpty||(yield this.renderBandAsync(e,t))})}renderFootersOnAllPages(t){for(var e of t.dataBandInfo.footersOnAllPages.list)t.isEmpty&&!e.printIfEmpty||this.renderBand(t,e)}renderHierarchicalFootersAsync(r,i,n){return Y.tsfb(this,void 0,void 0,function*(){if(null==r.dataBandInfo.hierarchicalFooters)return;for(var t of r.dataBandInfo.hierarchicalFooters.list){var e;r.isEmpty&&!t.printIfEmpty||((e=!r.isEmpty&&t.keepFooterTogether)&&(yield this.addKeepLevelAtLatestDataBandAsync(r)),i&&Ae.aq.StiHierarchicalBandBuilder.createIndention(r,t,n),yield this.renderBandAsync(r,t),i&&Ae.aq.StiHierarchicalBandBuilder.createIndention(r,t,-n),e&&(yield this.removeKeepLevelAsync(r)))}})}renderHierarchicalFooters(t,e,r){if(null==t.dataBandInfo.hierarchicalFooters)return;for(var i of t.dataBandInfo.hierarchicalFooters.list){var n;t.isEmpty&&!i.printIfEmpty||((n=!t.isEmpty&&i.keepFooterTogether)&&this.addKeepLevelAtLatestDataBand(t),e&&Ae.aq.StiHierarchicalBandBuilder.createIndention(t,i,r),this.renderBand(t,i),e&&Ae.aq.StiHierarchicalBandBuilder.createIndention(t,i,-r),n&&this.removeKeepLevel(t))}}renderReportTitlesAsync(e){return Y.tsfb(this,void 0,void 0,function*(){if(null==e.dataBandInfo.reportTitles)return;for(var t of e.dataBandInfo.reportTitles)e.isEmpty&&!t.printIfEmpty||(yield this.renderBandAsync(e,t))})}renderReportTitles(t){if(null==t.dataBandInfo.reportTitles)return;for(var e of t.dataBandInfo.reportTitles)t.isEmpty&&!e.printIfEmpty||this.renderBand(t,e)}renderReportSummariesAsync(r){return Y.tsfb(this,void 0,void 0,function*(){if(null==r.dataBandInfo.reportSummaries)return;for(var t of r.dataBandInfo.reportSummaries){var e;r.isEmpty&&!t.printIfEmpty||((e=!r.isEmpty&&t.keepReportSummaryTogether)&&(yield this.addKeepLevelAtLatestDataBandAsync(r)),yield this.renderBandAsync(r,t),e&&(yield this.removeKeepLevelAsync(r)))}})}renderReportSummaries(t){if(null==t.dataBandInfo.reportSummaries)return;for(var e of t.dataBandInfo.reportSummaries){var r;t.isEmpty&&!e.printIfEmpty||((r=!t.isEmpty&&e.keepReportSummaryTogether)&&this.addKeepLevelAtLatestDataBand(t),this.renderBand(t,e),r&&this.removeKeepLevel(t))}}checkKeepReportSummaryTogether(t){if(null==t.dataBandInfo.reportSummaries)return!1;let e=!1;for(var r of t.dataBandInfo.reportSummaries)!t.isEmpty&&r.keepReportSummaryTogether&&(e=!0);return e}block(t){for(var e of t.dataBandInfo.groupHeaders.list)e.blocked=!0;for(var r of t.dataBandInfo.groupFooters.list)r.blocked=!0;for(var i of t.dataBandInfo.headers.list)i.blocked=!0;for(var n of t.dataBandInfo.footersOnAllPages.list)n.blocked=!0;for(var a of t.dataBandInfo.footersOnLastPage.list)a.blocked=!0;if(null!=t.dataBandInfo.reportSummaries)for(var s of t.dataBandInfo.reportSummaries)s.blocked=!0;t.blocked=!0}unBlock(t){for(var e of t.dataBandInfo.groupHeaders.list)e.blocked=!1;for(var r of t.dataBandInfo.groupFooters.list)r.blocked=!1;for(var i of t.dataBandInfo.headers.list)i.blocked=!1;for(var n of t.dataBandInfo.footersOnAllPages.list)n.blocked=!1;for(var a of t.dataBandInfo.footersOnLastPage.list)a.blocked=!1;t.blocked=!1}checkHierarchicalHeadersAsync(i){return Y.tsfb(this,void 0,void 0,function*(){if(i.is(Ae.ap.StiHierarchicalBand)){let r=0,t=0;if(i.isDataSourceEmpty||(r=i.dataSource.getLevel(),t=i.dataSource.position),i.isBusinessObjectEmpty||(r=i.businessObject.getLevel(),t=i.businessObject.position),0==t)for(let t=0;t<=r;t++)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),yield this.renderHierarchicalHeadersAsync(i,!0,t),i.hierarchicalBandInfo.specifiedLevel=-1;else{let e=0;if(i.isDataSourceEmpty||(i.dataSource.position--,e=i.dataSource.getLevel(),i.dataSource.position++),i.isBusinessObjectEmpty||(i.businessObject.setPrevValue(),e=i.businessObject.getLevel(),i.businessObject.restoreCurrentValue()),e<r){for(let t=r;t>e;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),yield this.renderHierarchicalHeadersAsync(i,!0,t),i.hierarchicalBandInfo.specifiedLevel=-1;i.hierarchicalBandInfo.specifiedLevel=-1}}}})}checkHierarchicalHeaders(i){if(i.is(Ae.ap.StiHierarchicalBand)){let r=0,t=0;if(i.isDataSourceEmpty||(r=i.dataSource.getLevel(),t=i.dataSource.position),i.isBusinessObjectEmpty||(r=i.businessObject.getLevel(),t=i.businessObject.position),0==t)for(let t=0;t<=r;t++)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),this.renderHierarchicalHeaders(i,!0,t),i.hierarchicalBandInfo.specifiedLevel=-1;else{let e=0;if(i.isDataSourceEmpty||(i.dataSource.position--,e=i.dataSource.getLevel(),i.dataSource.position++),i.isBusinessObjectEmpty||(i.businessObject.setPrevValue(),e=i.businessObject.getLevel(),i.businessObject.restoreCurrentValue()),e<r){for(let t=r;t>e;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),this.renderHierarchicalHeaders(i,!0,t),i.hierarchicalBandInfo.specifiedLevel=-1;i.hierarchicalBandInfo.specifiedLevel=-1}}}}checkHierarchicalFootersAsync(i){return Y.tsfb(this,void 0,void 0,function*(){if(i.is(Ae.ap.StiHierarchicalBand)){let t=0,e=0,r=0;if(i.isDataSourceEmpty||(t=i.dataSource.position,e=i.dataSource.count,r=i.dataSource.getLevel()),i.isBusinessObjectEmpty||(t=i.businessObject.position,e=i.businessObject.count,r=i.businessObject.getLevel()),t==e-1){for(let t=r;0<=t;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),yield this.renderHierarchicalFootersAsync(i,!0,t);i.hierarchicalBandInfo.specifiedLevel=-1}else{let e=0;if(i.isDataSourceEmpty||(i.dataSource.position++,e=i.dataSource.getLevel(),i.dataSource.position--),i.isBusinessObjectEmpty||(i.businessObject.setNextValue(),e=i.businessObject.getLevel(),i.businessObject.restoreCurrentValue()),e<r){for(let t=r;t>e;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),yield this.renderHierarchicalFootersAsync(i,!0,t);i.hierarchicalBandInfo.specifiedLevel=-1}}}})}checkHierarchicalFooters(i){if(i.is(Ae.ap.StiHierarchicalBand)){let t=0,e=0,r=0;if(i.isDataSourceEmpty||(t=i.dataSource.position,e=i.dataSource.count,r=i.dataSource.getLevel()),i.isBusinessObjectEmpty||(t=i.businessObject.position,e=i.businessObject.count,r=i.businessObject.getLevel()),t==e-1){for(let t=r;0<=t;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),this.renderHierarchicalFooters(i,!0,t);i.hierarchicalBandInfo.specifiedLevel=-1}else{let e=0;if(i.isDataSourceEmpty||(i.dataSource.position++,e=i.dataSource.getLevel(),i.dataSource.position--),i.isBusinessObjectEmpty||(i.businessObject.setNextValue(),e=i.businessObject.getLevel(),i.businessObject.restoreCurrentValue()),e<r){for(let t=r;t>e;t--)t!=r&&(i.hierarchicalBandInfo.specifiedLevel=t),this.renderHierarchicalFooters(i,!0,t);i.hierarchicalBandInfo.specifiedLevel=-1}}}}renderBandAsync(e,r,i=!1,n=!1){return Y.tsfb(this,void 0,void 0,function*(){var t;this.registerEmptyBands(e),r.is(Au)||(r!=e&&(r.parentBookmark=e.parentBookmark,r.parentPointer=e.parentPointer),t=r.doBookmark(),r.doPointer(!t)),yield e.report.engine.threads.selectThreadFromContainerAsync(r),null!=e.report.engine.containerForRender&&(yield e.report.engine.renderBandAsync(r,i,n))})}renderBand(t,e,r=!1,i=!1){var n;this.registerEmptyBands(t),e.is(Au)||(e!=t&&(e.parentBookmark=t.parentBookmark,e.parentPointer=t.parentPointer),n=e.doBookmark(),e.doPointer(!n)),t.report.engine.threads.selectThreadFromContainer(e),null!=t.report.engine.containerForRender&&t.report.engine.renderBand(e,r,i)}renderColumnsAsync(t){return Y.tsfb(this,void 0,void 0,function*(){yield t.report.engine.threads.selectThreadFromContainerAsync(t),yield t.report.engine.columnsOnDataBand.renderColumnsAsync(t)})}renderColumns(t){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.columnsOnDataBand.renderColumns(t)}registerEmptyBands(t){t.report.engine.emptyBands.register(t.dataBandInfo.emptyBands)}static isCollapsed(t,e){if(null==t.interaction||t.interaction.is(sp)&&!t.interaction.collapsingEnabled)return!1;var r="boolean"==typeof t.collapsedValue&&t.collapsedValue;if(null==t.report.interactionCollapsingStates)return r;let i=null;if(null!=t.collapsingTreePath&&(i=t.report.interactionCollapsingStates[t.collapsingTreePath+t.name]),null==i&&(i=t.report.interactionCollapsingStates[t.name]),null==i)return r;if(null==i[t.collapsingIndex])return r;if("boolean"!=typeof i[t.collapsingIndex])return r;return i[t.collapsingIndex].stimulsoft().toBoolean()}setReportVariables(t){let e=t;e.report.line=e.line,e.report.lineThrough=e.lineThrough}prepare(t){super.prepare(t);let e=t;this.findHeaders(e),this.findHierarchicalHeaders(e),this.findFooters(e),this.findHierarchicalFooters(e),this.findEmptyBands(e),this.findDetailDataBands(e),this.findDetails(e),this.findSubReports(e),this.findGroupHeaders(e),this.findGroupFooters(e),e.dataBandInfo.groupHeaderResults=new Array(e.dataBandInfo.groupHeaders.count),e.dataBandInfo.groupFooterResults=new Array(e.dataBandInfo.groupHeaders.count)}unPrepare(t){super.unPrepare(t);let e=t;e.dataBandInfo.headers=null,e.dataBandInfo.hierarchicalHeaders=null,e.dataBandInfo.footersOnAllPages=null,e.dataBandInfo.footersOnLastPage=null,e.dataBandInfo.hierarchicalFooters=null,e.dataBandInfo.emptyBands=null,e.dataBandInfo.footersOnLastPage=null,e.dataBandInfo.detailDataBands=null,e.dataBandInfo.subReports=null,e.dataBandInfo.reportTitles=null,e.dataBandInfo.reportSummaries=null,e.dataBandInfo.headers=null,e.dataBandInfo.groupHeaders=null,e.dataBandInfo.groupFooters=null}static invokeCollapsedEvent(r){var i=new ns;if((r.is(Au)||r.is(Ae.ap.StiDataBand))&&(r.invokeGetCollapsed(i),r.collapsedValue=i.value),null!=i.value&&null==r.report.interactionCollapsingStates){r.report.interactionCollapsingStates={};let t=new Dt,e=r.name;var n=r.as(Ql);null!=n&&null!=n.collapsingTreePath&&(e=n.collapsingTreePath+r.name),r.report.interactionCollapsingStates[e]=t,t.set(r.collapsingIndex,i.value)}}renderAsync(t){return Y.tsfb(this,void 0,void 0,function*(){return null})}render(t){return null}renderMasterAsync(d){return Y.tsfb(this,void 0,void 0,function*(){var t=d.report.engine.isCrossBandsMode,e=d.is(Ae.ap.StiCrossDataBand);yield d.report.engine.threads.selectThreadFromContainerAsync(d),d.report.engine.isCrossBandsMode=e,d.dataBandInfo.storedParentBookmark=d.parentBookmark,d.dataBandInfo.storedParentPointer=d.parentPointer,d.report.engine.isDynamicBookmarksMode=!0,d.invokeBeginRender(),this.block(d),this.linkGroupHeadersAndGroupFooters(d);try{d.line=1,null==d.masterComponent&&(d.lineThrough=1);let e=null==d.masterComponent||!Hd.Engine.optimizeDetailDataFiltering;var a=null!=d.masterComponent?d.masterComponent.as(Ae.ap.StiDataBand):null;if(null!=a&&a.isDataSourceEmpty&&a.isBusinessObjectEmpty&&(e=!0),!e)if(null==d.report.engine.hashDataSourceReferencesCounter)e=!0;else{if(!d.isDataSourceEmpty){let t=d.report.engine.hashDataSourceReferencesCounter.get(d.dataSourceName);null!=t&&1<Ne.trunc(t.stimulsoft().toNumber())&&(e=!0)}if(!d.isBusinessObjectEmpty){let t=d.report.engine.hashDataSourceReferencesCounter.get(d.businessObject.name);null!=t&&1<Ne.trunc(t.stimulsoft().toNumber())&&(e=!0)}}e&&pd.setData(d,!1),d.first(),d.report.engine.columnsOnDataBand.enabled=!1,yield this.renderReportTitlesAsync(d);var s=ke.create(Boolean,d.dataBandInfo.headers.count),o,l;yield this.renderHeadersAsync(d,s),yield this.renderFootersOnAllPagesAsync(d),this.startBands(d,d.dataBandInfo.headers),this.startBands(d,d.dataBandInfo.footersOnAllPages),this.startBands(d,d.dataBandInfo.groupHeaders),this.startBand(d,d),0==d.dataBandInfo.groupHeaders.count&&(yield this.renderColumnsAsync(d)),null!=d.interaction&&d.interaction.is(sp)&&0==d.dataBandInfo.detailDataBands.count&&!d.is(Ae.ap.StiHierarchicalBand)&&(d.interaction.collapsingEnabled=!1),d.first();let r=0,i=d.report.engine.containerForRender,n=0;try{!De.isNullOrWhiteSpace(d.limitRows)&&d.columns<2&&(o={ref:!1},l=Ae.bb.StiParser.parseTextValue("{"+d.limitRows+"}",d,d,o,!0),n=Ae.b.Convert.toInt32(l))}catch(t){var u=De.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",d.name,t.message);d.report.writeToReportRenderingMessages(u)}while(!d.isEof){if(0<n&&(i!=d.report.engine.containerForRender&&(i=d.report.engine.containerForRender,r=1),r++,r>n&&(yield d.report.engine.newDestinationAsync(),r=1)),d.collapsingIndex=d.position,null!=d.interaction&&d.interaction.collapsingEnabled){let t=null,e=d;while(null!=e.masterComponent&&e.masterComponent.is(Jl))e=e.masterComponent,t=e.position.toString()+":"+t;null!=t&&(d.collapsingTreePath=t)}d.columns<2&&(d.report.engine.columnsOnDataBand.enabled=!1),yield this.renderGroupHeadersAsync(d);var h=this.isDenyDetailsOnFirstPage(d);h||(yield this.addKeepDetailsAsync(d)),d.setReportVariables();let t=!1;m.isPrintIfDetailEmpty(d)&&(m.invokeCollapsedEvent(d),yield this.checkHierarchicalHeadersAsync(d),yield this.renderBandAsync(d,d,!1,!0),t=!0),t&&(yield this.removeKeepHeadersAsync(d,s));var c=d.report.engine.silentMode;m.isCollapsed(d,!0)&&(d.report.engine.silentMode=!0),h||(yield this.removeKeepDetailsRowAsync(d)),yield this.renderDetailDataBandsAsync(d),d.report.engine.silentMode=c,t&&(yield this.checkHierarchicalFootersAsync(d)),h||(yield this.removeKeepDetailsAsync(d)),yield this.removeKeepGroupHeadersAsync(d),yield this.renderGroupFootersAsync(d),d.line++,d.lineThrough++,d.next()}yield d.report.engine.threads.selectThreadFromContainerAsync(d),yield this.renderMarkerFootersOnAllPagesAsync(d),yield this.renderFootersOnLastPageAsync(d),this.checkKeepReportSummaryTogether(d)?(yield this.renderReportSummariesAsync(d),this.endBands(d)):(this.endBands(d),yield this.renderReportSummariesAsync(d))}finally{this.resetLinkGroupHeadersAndGroupFooters(d),this.unBlock(d),d.report.engine.isCrossBandsMode=t,d.report.engine.isDynamicBookmarksMode=!1}d.invokeEndRender()})}renderMaster(a){var t=a.report.engine.isCrossBandsMode,e=a.is(Ae.ap.StiCrossDataBand);a.report.engine.threads.selectThreadFromContainer(a),a.report.engine.isCrossBandsMode=e,a.dataBandInfo.storedParentBookmark=a.parentBookmark,a.report.engine.isDynamicBookmarksMode=!0,a.invokeBeginRender(),this.block(a),this.linkGroupHeadersAndGroupFooters(a);try{a.line=1,null==a.masterComponent&&(a.lineThrough=1);let e=null==a.masterComponent||!Hd.Engine.optimizeDetailDataFiltering;var s=null!=a.masterComponent?a.masterComponent.as(Ae.ap.StiDataBand):null;if(null!=s&&s.isDataSourceEmpty&&s.isBusinessObjectEmpty&&(e=!0),!e)if(null==a.report.engine.hashDataSourceReferencesCounter)e=!0;else{if(!a.isDataSourceEmpty){let t=a.report.engine.hashDataSourceReferencesCounter.get(a.dataSourceName);null!=t&&1<Ne.trunc(t.stimulsoft().toNumber())&&(e=!0)}if(!a.isBusinessObjectEmpty){let t=a.report.engine.hashDataSourceReferencesCounter.get(a.businessObject.name);null!=t&&1<Ne.trunc(t.stimulsoft().toNumber())&&(e=!0)}}e&&pd.setData(a,!1),a.first(),a.report.engine.columnsOnDataBand.enabled=!1,this.renderReportTitles(a);var o=ke.create(Boolean,a.dataBandInfo.headers.count),l,u;this.renderHeaders(a,o),this.renderFootersOnAllPages(a),this.startBands(a,a.dataBandInfo.headers),this.startBands(a,a.dataBandInfo.footersOnAllPages),this.startBands(a,a.dataBandInfo.groupHeaders),this.startBand(a,a),0==a.dataBandInfo.groupHeaders.count&&this.renderColumns(a),null!=a.interaction&&a.interaction.is(sp)&&0==a.dataBandInfo.detailDataBands.count&&!a.is(Ae.ap.StiHierarchicalBand)&&(a.interaction.collapsingEnabled=!1),a.first();let r=0,i=a.report.engine.containerForRender,n=0;try{!De.isNullOrWhiteSpace(a.limitRows)&&a.columns<2&&(l={ref:!1},u=Ae.bb.StiParser.parseTextValue("{"+a.limitRows+"}",a,a,l,!0),n=Ae.b.Convert.toInt32(u))}catch(t){var h=De.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",a.name,t.message);a.report.writeToReportRenderingMessages(h)}while(!a.isEof){if(0<n&&(i!=a.report.engine.containerForRender&&(i=a.report.engine.containerForRender,r=1),r++,r>n&&(a.report.engine.newDestination(),r=1)),a.collapsingIndex=a.position,null!=a.interaction&&a.interaction.collapsingEnabled){let t=null,e=a;while(null!=e.masterComponent&&e.masterComponent.is(Jl))e=e.masterComponent,t=e.position.toString()+":"+t;null!=t&&(a.collapsingTreePath=t)}a.columns<2&&(a.report.engine.columnsOnDataBand.enabled=!1),this.renderGroupHeaders(a);var c=this.isDenyDetailsOnFirstPage(a);c||this.addKeepDetails(a),a.setReportVariables();let t=!1;m.isPrintIfDetailEmpty(a)&&(m.invokeCollapsedEvent(a),this.checkHierarchicalHeaders(a),this.renderBand(a,a,!1,!0),t=!0),t&&this.removeKeepHeaders(a,o);var d=a.report.engine.silentMode;m.isCollapsed(a,!0)&&(a.report.engine.silentMode=!0),c||this.removeKeepDetailsRow(a),this.renderDetailDataBands(a),a.report.engine.silentMode=d,t&&this.checkHierarchicalFooters(a),c||this.removeKeepDetails(a),this.removeKeepGroupHeaders(a),this.renderGroupFooters(a),a.line++,a.lineThrough++,a.next()}a.report.engine.threads.selectThreadFromContainer(a),this.renderMarkerFootersOnAllPages(a),this.renderFootersOnLastPage(a),this.checkKeepReportSummaryTogether(a)?(this.renderReportSummaries(a),this.endBands(a)):(this.endBands(a),this.renderReportSummaries(a))}finally{this.resetLinkGroupHeadersAndGroupFooters(a),this.unBlock(a),a.report.engine.isCrossBandsMode=t,a.report.engine.isDynamicBookmarksMode=!1}a.invokeEndRender()}};Ae.aq.StiDataBandBuilder=m}Ae.am.StiAggregateFunctionService=class{constructor(t=!1){this.isFirstInit=!1,this.runningTotal=!1,this.runningTotal=t}get serviceName(){return null}init(){}reset(){var t=this.runningTotal;this.runningTotal=!1,this.init(),this.runningTotal=t}calcItem(t){}getValue(){}setValue(t){}get recureParam(){return null}};let op=Ae.d.StiObjectConverter;Ae.am.StiSumFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Sum"}init(){this.runningTotal&&!this.isFirstInit||(this.summary=0)}calcItem(t){if(null==t)return;this.summary+=op.convertToNumber(t)}getValue(){return this.summary}setValue(t){this.summary=op.convertToNumber(t)}get recureParam(){return!0}},Ae.am.StiSumTimeFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.sumValue=0}get serviceName(){return"SumTime"}init(){this.runningTotal&&!this.isFirstInit||(this.sumValue=0)}calcItem(t){var e;t instanceof lt&&(this.sumValue+=t.ticks)}getValue(){return new lt(this.sumValue)}setValue(t){this.sumValue=t}get recureParam(){return!0}},Ae.am.StiAvgFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Avg"}init(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.count=0)}calcItem(t){if(null==t)return;this.summary+=op.convertToNumber(t),this.count++}getValue(){if(0==this.count)return 0;return this.summary/this.count}setValue(t){}get recureParam(){return!0}},Ae.am.StiAvgDateFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.avgValue=0,this.count=0}get serviceName(){return"AvgDate"}init(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)}calcItem(t){t instanceof z&&this.count++}getValue(){if(0==this.count)return null}setValue(t){}get recureParam(){return!0}},Ae.am.StiAvgTimeFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.avgValue=0,this.count=0}get serviceName(){return"AvgTime"}init(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)}calcItem(t){var e;t instanceof lt&&(this.avgValue+=t.ticks,this.count++)}getValue(){if(0==this.count)return null;return new lt(this.avgValue/this.count)}setValue(t){}get recureParam(){return!0}},Ae.am.StiMaxFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Max"}init(){this.runningTotal&&!this.isFirstInit||(this.maximum=Number.MIN_VALUE)}calcItem(t){if(null==t)return;var t=op.convertToNumber(t);this.maximum<t&&(this.maximum=t)}getValue(){return this.maximum}setValue(t){this.maximum=t}get recureParam(){return!0}},Ae.am.StiMinFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Min"}init(){this.runningTotal&&!this.isFirstInit||(this.minimum=Number.MAX_VALUE)}calcItem(t){if(null==t)return;var t=op.convertToNumber(t);this.minimum>t&&(this.minimum=t)}getValue(){return this.minimum}setValue(t){this.minimum=t}get recureParam(){return!0}},Ae.am.StiMedianFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Median"}init(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)}calcItem(t){if(null==t)return;var t=op.convertToNumber(t);this.values.push(t)}getValue(){if(null==this.values||this.values.length<1)return null;if(1==this.values.length)return this.values[0];this.values.sort((t,e)=>t-e);var t=this.values.length/2|0,e,r;if(this.values.length%2==1)return this.values[t];return(this.values[t-1]+this.values[t])/2}setValue(t){}get recureParam(){return!0}},Ae.am.StiModeFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Mode"}init(){this.runningTotal&&!this.isFirstInit||(this.values=new Dt)}calcItem(t){if(null==t)return;var t=op.convertToNumber(t);let e=this.values.get(t);null==e&&(e=0),e+=1,this.values.set(t,e)}getValue(){if(null==this.values||0==this.values.count)return null;let t=0,e=0;for(var r of this.values.keys){var i=this.values.get(r);i>e&&(e=i,t=r)}return t}setValue(t){}get recureParam(){return!0}},Ae.am.StiFirstFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.first=!0}get serviceName(){return"First"}init(){this.runningTotal&&!this.isFirstInit||(this.first=!0,this.value=null)}calcItem(t){this.first&&(this.first=!1,this.value=t)}getValue(){return this.value}setValue(t){this.value=t}get recureParam(){return!0}},Ae.am.StiLastFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Last"}init(){this.runningTotal&&!this.isFirstInit||(this.value=null)}calcItem(t){this.value=t}getValue(){return this.value}setValue(t){this.value=t}get recureParam(){return!0}},Ae.am.StiCountFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"Count"}init(){this.runningTotal&&!this.isFirstInit||(this.counter=0)}calcItem(t){this.counter++}getValue(){return this.counter}setValue(t){this.counter=t}get recureParam(){return!0}},Ae.am.StiCountDistinctFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"CountDistinct"}init(){this.runningTotal&&!this.isFirstInit||(this.counter=0,this.values=new Dt)}calcItem(t){null==this.values&&(this.values=new Dt),null==this.values.get(t)&&(this.values.set(t,t),this.counter++)}getValue(){return this.counter}setValue(t){this.counter=t}get recureParam(){return!0}},Ae.am.StiMinDateFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.valueProcessed=!1}get serviceName(){return"MinDate"}init(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)}calcItem(t){var t;t instanceof z&&(t=t,this.valueProcessed?this.minimum.ticks>t.ticks&&(this.minimum=t):(this.minimum=t,this.valueProcessed=!0))}getValue(){if(this.valueProcessed)return this.minimum;return null}setValue(t){this.minimum=t}get recureParam(){return!0}},Ae.am.StiMinTimeFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.valueProcessed=!1}get serviceName(){return"MinTime"}init(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)}calcItem(t){var t;t instanceof lt&&(t=t,this.valueProcessed?this.minimum.ticks>t.ticks&&(this.minimum=t):(this.minimum=t,this.valueProcessed=!0))}getValue(){return this.minimum}setValue(t){this.minimum=t}get recureParam(){return!0}};{let t=class extends Ae.am.StiAggregateFunctionService{static ascComparison(t,e){return t.stimulsoft().compareTo(e)}get serviceName(){return"MinStr"}init(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)}calcItem(t){var t=null!=t?t.toString():"";this.values.push(t)}getValue(){if(null==this.values||0==this.values.length)return"";return this.values.sort(t.ascComparison),this.values[0]}setValue(t){}get recureParam(){return!0}};Ae.am.StiMinStrFunctionService=t}Ae.am.StiMaxDateFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.valueProcessed=!1}get serviceName(){return"MaxDate"}init(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)}calcItem(t){var t;t instanceof z&&(t=t,this.valueProcessed?this.maximum.ticks<t.ticks&&(this.maximum=t):(this.maximum=t,this.valueProcessed=!0))}getValue(){if(this.valueProcessed)return this.maximum;return null}setValue(t){this.maximum=t}get recureParam(){return!0}},Ae.am.StiMaxTimeFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(){super(...arguments),this.valueProcessed=!1}get serviceName(){return"MaxTime"}init(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)}calcItem(t){var t;t instanceof lt&&(t=t,this.valueProcessed?this.maximum.ticks<t.ticks&&(this.maximum=t):(this.maximum=t,this.valueProcessed=!0))}getValue(){return this.maximum}setValue(t){this.maximum=t}get recureParam(){return!0}};{let t=class extends Ae.am.StiAggregateFunctionService{static ascComparison(t,e){return t.stimulsoft().compareTo(e)}get serviceName(){return"MaxStr"}init(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)}calcItem(t){var t=null!=t?t.toString():"";this.values.push(t)}getValue(){if(null==this.values||0==this.values.length)return"";return this.values.sort(t.ascComparison),this.values[this.values.length-1]}setValue(t){}get recureParam(){return!0}};Ae.am.StiMaxStrFunctionService=t}Ae.am.StiSumDistinctFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"SumDistinct"}init(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.values=new Dt)}calcItem(t,e=t){if(null==this.values&&(this.values=new Dt),null==t)return;null==this.values.get(t)&&(this.values.set(t,t),this.summary+=op.convertToNumber(e))}getValue(){return this.summary}setValue(t){this.summary=t}get recureParam(){return!0}},Ae.am.StiSumNullableFunctionService=class extends Ae.am.StiAggregateFunctionService{get serviceName(){return"SumNullable"}init(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.hasValues=!1)}calcItem(t){if(null==t)return;this.summary+=op.convertToNumber(t),this.hasValues=!0}getValue(){if(this.hasValues)return this.summary;return null}setValue(t){this.summary=t,this.hasValues=null!=t}get recureParam(){return!0}};let lp=Ae.c.StiRankOrder;Ae.am.StiRankFunctionService=class extends Ae.am.StiAggregateFunctionService{constructor(t,e=!0,r=lp.Asc){super(t),this.hash=new Dt,this.sortOrder=lp.Asc,this.dense=!0,this.dense=e,this.sortOrder=r}get serviceName(){return"Rank"}init(){this.isFirstInit&&this.hash.clear()}calcItem(t){if(null==t)return;var e;this.hash.containsKey(t)?(e=this.hash.get(t),this.hash.set(t,e+1)):this.hash.set(t,1)}getValue(){let t=new Array(this.hash.keys.length);this.hash.keys.copyTo(t),t.sort((t,e)=>t-e),this.sortOrder==lp.Desc&&t.reverse();let e=1;for(var r of t){var i=this.hash.get(r);this.hash.set(r,e),e+=this.dense?1:i}return this.hash}setValue(t){this.hash=t}get recureParam(){return!0}};let up=Ae.ap.StiFilterCondition,hp=Ae.am.StiSumFunctionService,cp=Ae.am.StiSumTimeFunctionService,dp=Ae.am.StiAvgFunctionService,mp=Ae.am.StiAvgDateFunctionService,pp=Ae.am.StiAvgTimeFunctionService,gp=Ae.am.StiMaxFunctionService,fp=Ae.am.StiMinFunctionService,Sp=Ae.am.StiMedianFunctionService,bp=Ae.am.StiModeFunctionService,yp=Ae.am.StiFirstFunctionService,vp=Ae.am.StiLastFunctionService,wp=Ae.am.StiCountFunctionService,Cp=Ae.am.StiCountDistinctFunctionService,Tp=Ae.am.StiMinDateFunctionService,Pp=Ae.am.StiMinTimeFunctionService,Ip=Ae.am.StiMinStrFunctionService,Ap=Ae.am.StiMaxDateFunctionService,xp=Ae.am.StiMaxTimeFunctionService,Dp=Ae.am.StiMaxStrFunctionService,Bp=Ae.am.StiSumDistinctFunctionService,Ep=Ae.am.StiSumNullableFunctionService,kp=Ae.aq.StiDataBandBuilder,Np=Ae.am.StiRankFunctionService;{let D=Ae.bb,B=class{constructor(){this.isCompilationMode=!0,this.asmList=null,this.asmList2=null,this.conditionAsmList=null,this.parser=null,this.method=null,this.method2=null,this.functionn=null,this.sumDistinctFunction=null,this.report=null}},E=class{static getMethod(t,e){return null}static calculate(t,e,r,i,n=!1,a=!1,s=!0){let o=r;if(null==o){let t=e;var l=e.stimulsoft().as(D.StiParserData),u;null!=l&&(t=l.data),!t.stimulsoft().is(_u)||null!=(u=t.dictionary)&&(o=u.report),t.stimulsoft().is(xs)&&(o=t.report)}var h=null!=o&&o.cacheTotals;let c=null,d=null;if(h){var m={ref:c},l={ref:d},u=this.getCachedValue(t,e,o,i,n,a,s,m,l);if(d=l.ref,u)return m.ref}return null!=o&&(o.cachedTotalsLocked=!0),c=E.calculate1(t,e,r,i,n,a,s),null!=o&&(o.cachedTotalsLocked=!1),h&&E.storeCachedValue(e,o,d,c),c}static calculate1(i,e,s,t,o,n,r){let a=!0;null!=s&&(a=s.calculationMode==Ae.c.StiCalculationMode.Compilation);let l=new B;if(!a){let t=null;null!=e&&(t=e.stimulsoft().as(D.StiParserData)),null!=t?(l.asmList=t.asmList,l.asmList2=t.asmList2,l.conditionAsmList=t.conditionAsmList,l.parser=t.parser,e=t.data):a=!0}l.isCompilationMode=a,l.report=s;let u=null;var h=(l.functionn=i).stimulsoft().getType()==Bp?i:null,c;if(null!=h&&(a?1<(c=t.split("~")).length&&(t=c[0],u=c[1],l.sumDistinctFunction=h):null!=l.asmList2&&(l.sumDistinctFunction=h)),a){if(null!=t&&(l.method=this.getMethod(s,t),null==l.method))return 0;if(null!=u&&(l.method2=this.getMethod(s,u),null==l.method2))return 0}let d=null==e?null:e.stimulsoft().as(Jl);if(null!=d&&r){if(null==s&&(s=d.report),i.init(),E.saveState(d),d.isBusinessObjectEmpty||(d.businessObject.createEnumerator(),d.businessObject.specTotalsCalculation=!0),null!=s.engine&&-1!=s.engine.indexPageForPageTotal){let t=s.engine.indexPageForPageTotal;-1!=s.engine.startIndexPageForPageTotal&&(t=s.engine.startIndexPageForPageTotal);var m="Breaked_"+d.name,p="Continued_"+d.name,g,f;for(let e=t;e<=s.engine.indexPageForPageTotal;e++){let t=s.renderedPages.getByIndex(e);for(f of t.getComponents().list){var S=f.as(Ql);if(null!=S&&(d.name==S.name||m==S.name||p==S.name)&&-1!=S.containerInfo.dataBandPosition){let t=null,e=null;d.isDataSourceEmpty||(d.position=S.containerInfo.dataBandPosition,null!=S.containerInfo.dataSourceRow&&(d.position=0,t=d.dataSource.detailRows,d.dataSource.detailRows=[S.containerInfo.dataSourceRow])),d.isBusinessObjectEmpty||null!=S.containerInfo.businessObjectCurrent&&(e=d.businessObject.currentObject,d.businessObject.currentObject=S.containerInfo.businessObjectCurrent),this.calcItem(l),d.isDataSourceEmpty||null!=S.containerInfo.dataSourceRow&&(d.dataSource.detailRows=t),d.isBusinessObjectEmpty||null!=S.containerInfo.businessObjectCurrent&&(d.businessObject.currentObject=e)}}}}return d.isBusinessObjectEmpty||(d.businessObject.specTotalsCalculation=!1),E.restoreState(d),i.getValue()}let b=null==e?null:e.stimulsoft().as(_u);if(null!=b){if(o)throw new Error("You can't use AllLevels together with DataSource! Only HierarchicalBand can be used.");i.init(),b.saveState("Totals"),b.first(),b.resetData(),b.resetDetailsRows();while(!b.isEof)this.calcItem(l),b.next();return b.restoreState("Totals"),i.getValue()}let y=null==e?null:e.stimulsoft().as(Hu);if(null!=y){if(o)throw new Error("You can't use AllLevels together with BusinessObject! Only HierarchicalBand can be used.");i.init(),y.saveState("Totals"),y.createEnumerator(),y.specTotalsCalculation=!0;while(!y.isEof)this.calcItem(l),y.next();return y.specTotalsCalculation=!1,y.restoreState("Totals"),i.getValue()}let v=null==e?null:e.stimulsoft().as(Ru);if(null!=v){let r=!1;if(!o&&n&&(o=r=!0),null==s&&(s=v.report),i.init(),!v.isDataSourceEmpty){v.saveState("Totals"),v.hierarchicalBandInfo.finalFooterCalculation&&(v.position=0);let t=v.dataSource.getLevel();-1!=v.hierarchicalBandInfo.specifiedLevel&&(t=v.hierarchicalBandInfo.specifiedLevel),0<v.dataSource.count&&(-1==v.hierarchicalBandInfo.specifiedLevel||o)&&!n&&this.calcItem(l);var w=v.position;while(0<v.position&&!n){v.position--;var C=v.dataSource.getLevel();if(C<t)break;if(!o&&C!=t)continue;this.calcItem(l)}v.position=w;while(v.position<v.count-1){v.position++;var T=v.dataSource.getLevel();if(T<t)break;if(n){if(r&&1<T-t)continue;if(T==t)break}if(!o&&T!=t)continue;this.calcItem(l)}v.position=w,v.restoreState("Totals")}if(!v.isBusinessObjectEmpty){v.saveState("Totals");let t=[];v.saveState("Totals2"),v.businessObject.createEnumerator();while(!v.businessObject.isEof)t.push(v.businessObject.enumerator.current),v.businessObject.next();v.restoreState("Totals2"),v.hierarchicalBandInfo.finalFooterCalculation&&(v.position=0),v.businessObject.currentObject=t[v.position];let e=v.businessObject.getLevel();-1!=v.hierarchicalBandInfo.specifiedLevel&&(e=v.hierarchicalBandInfo.specifiedLevel),0<v.businessObject.count&&(-1==v.hierarchicalBandInfo.specifiedLevel||o)&&!n&&this.calcItem(l);var w=v.position;while(0<v.position&&!n){v.position--,v.businessObject.currentObject=t[v.position];var P=v.businessObject.getLevel();if(P<e)break;if(!o&&P!=e)continue;this.calcItem(l)}v.position=w;while(v.position<v.count-1){v.position++,v.businessObject.currentObject=t[v.position];var I=v.businessObject.getLevel();if(I<e)break;if(n){if(r&&1<I-e)continue;if(I==e)break}if(!o&&I!=e)continue;this.calcItem(l)}v.position=w,v.restoreState("Totals")}return i.getValue()}let A=null==e?null:e.stimulsoft().as(Jl);if(null!=A){if(o)throw new Error("You can't use AllLevels together with DataBand! Only HierarchicalBand can be used.");if(null==s&&(s=A.report),i.init(),null!=A.businessObject){let t=A.businessObject;t.saveState("Totals"),t.createEnumerator(),t.specTotalsCalculation=!0;while(!t.isEof)this.calcItem(l),t.next();t.specTotalsCalculation=!1,t.restoreState("Totals")}else{E.saveState(A),pd.setData(A,!1),A.first();while(!A.isEof)this.calcItem(l),A.next();E.restoreState(A)}return i.getValue()}let x=null==e?null:e.stimulsoft().as(Au);if(null!=x){if(o)throw new Error("You can't use AllLevels together with StiGroupHeaderBand! Only HierarchicalBand can be used.");if(null==s&&(s=x.report),i.init(),A=x.getDataBand(),null==A)return 0;E.saveState(A);let t=null;t=kp.getBuilder(Jl);let n=A.businessObject,a=!1,e=!1;if(a=t.getGroupHeaderResult(A,x),e=t.getGroupFooterResult(A,x),a&&e)try{kp.setDetails(A),this.calcItem(l)}catch(t){Ae.b.StiError.showError(t,!1)}else{if(null!=n){let e=n.position;n.saveState("Totals"),n.createEnumerator(),n.specTotalsCalculation=!0;let r=[],i=0;while(i!=e)0==i&&kp.prepareGroupResults(A),r.push(t.getGroupHeaderResult(A,x)),A.next(),i++;if(i--,!a){let t=new Dt;if(0<e)try{while(1){if(r[i]){t.set(i,i);break}if(t.set(i,i),i--,i<0)break}}catch(t){Ae.b.StiError.showError(t,!1),e=0}n.first(),i=0;while(i!=e)null!=t.get(i)&&this.calcItem(l),i++,n.next()}}else while(1==1){if(t.getGroupHeaderResult(A,x))break;A.prior()}while(1==1){if(t.getGroupFooterResult(A,x))break;if(this.calcItem(l),null!=n){if(n.isEof)break;n.next(),kp.prepareGroupResults(A)}else A.next()}a=t.getGroupHeaderResult(A,x),e=t.getGroupFooterResult(A,x),!a&&e&&this.calcItem(l)}return null!=n&&(n.specTotalsCalculation=!1,n.restoreState("Totals")),E.restoreState(A),i.getValue()}return 0}static calcItem(e){try{let t=null;var r;e.isCompilationMode?(e.method,null!=e.sumDistinctFunction||e.functionn.calcItem(t)):null!=e.conditionAsmList&&!Ae.b.Convert.toBoolean(e.parser.executeAsm(e.conditionAsmList))||(t=e.parser.executeAsm(e.asmList),null!=e.sumDistinctFunction?(r=e.parser.executeAsm(e.asmList2),e.sumDistinctFunction.calcItem(t,r)):e.functionn.calcItem(t))}catch(t){Ae.b.StiError.showError(t,!1)}}static calculateByCondition(i,t,n,e,a,s,o,l,u){let h=!0;null!=n&&(h=n.calculationMode==Ae.c.StiCalculationMode.Compilation);let c=null,d=null;var r;h||(null!=(r=null==t?null:t.stimulsoft().as(D.StiParserData))?(c=r.asmList,d=r.parser,t=r.data):h=!0);let m=null==t?null:t.stimulsoft().as(Ru);if(null!=m){let t=!1;!l&&u&&(l=t=!0),null==n&&(n=m.report),i.init(),m.saveState("Totals");let e=[];if(null!=m.businessObject){m.saveState("Totals2"),m.businessObject.createEnumerator();while(!m.businessObject.isEof)e.push(m.businessObject.enumerator.current),m.businessObject.next();m.restoreState("Totals2")}m.hierarchicalBandInfo.finalFooterCalculation&&(m.position=0),null!=m.businessObject&&(m.businessObject.currentObject=e[m.position]);let r=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel();if(-1!=m.hierarchicalBandInfo.specifiedLevel&&(r=m.hierarchicalBandInfo.specifiedLevel),(0<e.length||0<m.dataSource.count)&&(-1==m.hierarchicalBandInfo.specifiedLevel||l)&&!u)try{let t=null;h||(t=this.compareValue(d.executeAsm(c),a,s,o)),i.calcItem(t)}catch(t){}var n=m.position;while(0<m.position&&!u){m.position--,null!=m.businessObject&&(m.businessObject.currentObject=e[m.position]);var p=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel();if(p<r)break;if(!l&&p!=r)continue;try{let t=null;h||(t=this.compareValue(d.executeAsm(c),a,s,o)),i.calcItem(t)}catch(t){Ae.b.StiError.showError(t,!1)}}m.position=n;while(m.position<m.count-1){m.position++,null!=m.businessObject&&(m.businessObject.currentObject=e[m.position]);var g=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel();if(g<r)break;if(u){if(t&&1<g-r)continue;if(g==r)break}if(!l&&g!=r)continue;try{let t=null;h||(t=this.compareValue(d.executeAsm(c),a,s,o)),i.calcItem(t)}catch(t){Ae.b.StiError.showError(t,!1)}}return m.position=n,m.restoreState("Totals"),i.getValue()}return 0}static compareValue(t,e,r,i){var n=r;switch(e){case up.Between:return r<=n&&n<=i?n:0;case up.EqualTo:return n==r?n:0;case up.GreaterThan:return r<n?n:0;case up.GreaterThanOrEqualTo:return r<=n?n:0;case up.LessThan:return n<r?n:0;case up.LessThanOrEqualTo:return n<=r?n:0;case up.NotBetween:return n<r||i<n?n:0;case up.NotEqualTo:return n!=r?n:0;case up.NotContaining:case up.EndingWith:case up.Containing:case up.BeginningWith:return 0}return 0}static calculateNullable(t,e,r,i,n,a){var a=E.calculate(t,e,r,i,n,a,!1);if(null==a)return null;return op.convertToNumber(a)}static calculateRunning(t,e,r,i){try{var n;return null==r&&(e.stimulsoft().is(Jl)?r=e.report:!e.stimulsoft().is(D.StiParserData)||null!=(n=null==e.data?null:e.data.stimulsoft().as(Jl))&&(r=n.report)),r.engine.startIndexPageForPageTotal=0,E.calculate(t,e,r,i,!1,!1,!0)}finally{r.engine.startIndexPageForPageTotal=-1}}static sum(t,e,r){return E.calculate(new hp,t,e,r,!1,!1,!1)}static sumNullable(t,e,r){return E.calculateNullable(new Ep,t,e,r,!1,!1)}static sumDistinct(t,e,r,i=null){return null==i?E.calculate(new Bp,t,e,r,!1,!1,!1):E.calculate(new Bp,t,e,r+"~"+i,!1,!1)}static cSum(t,e,r){return E.calculate(new hp,t,e,r,!1,!1,!0)}static cSumRunning(t,e,r){return E.calculateRunning(new hp,t,e,r)}static sumAllLevels(t,e,r){return E.calculate(new hp,t,e,r,!0,!1,!1)}static sumAllLevelsByCondition(t,e,r,i,n,a){return E.calculateByCondition(new hp,t,e,r,i,n,a,!0,!1)}static sumAllLevelsOnlyChilds(t,e,r){return E.calculate(new hp,t,e,r,!0,!0,!1)}static sumOnlyChilds(t,e,r){return E.calculate(new hp,t,e,r,!1,!0,!1)}static sumTime(t,e,r){var i;return E.calculate(new cp,t,e,r,!1,!1,!1)}static cSumTime(t,e,r){var i;return E.calculate(new cp,t,e,r)}static sumTimeAllLevels(t,e,r){var i;return E.calculate(new cp,t,e,r,!0,!1,!1)}static sumTimeAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new cp,t,e,r,!0,!0,!1)}static sumTimeOnlyChilds(t,e,r){var i;return E.calculate(new cp,t,e,r,!1,!0,!1)}static avg(t,e,r){return E.calculate(new dp,t,e,r,!1,!1,!1)}static cAvg(t,e,r){return E.calculate(new dp,t,e,r)}static cAvgRunning(t,e,r){return E.calculateRunning(new dp,t,e,r)}static avgAllLevels(t,e,r){return E.calculate(new dp,t,e,r,!0,!1,!1)}static avgAllLevelsOnlyChilds(t,e,r){return E.calculate(new dp,t,e,r,!0,!0,!1)}static avgOnlyChilds(t,e,r){return E.calculate(new dp,t,e,r,!1,!0,!1)}static avgDate(t,e,r){var i;return E.calculate(new mp,t,e,r,!1,!1,!1)}static cAvgDate(t,e,r){var i;return E.calculate(new mp,t,e,r)}static avgDateAllLevels(t,e,r){var i;return E.calculate(new mp,t,e,r,!0,!1,!1)}static avgDateAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new mp,t,e,r,!0,!0,!1)}static avgDateOnlyChilds(t,e,r){var i;return E.calculate(new mp,t,e,r,!1,!0,!1)}static avgTime(t,e,r){var i;return E.calculate(new pp,t,e,r,!1,!1,!1)}static cAvgTime(t,e,r){var i;return E.calculate(new pp,t,e,r)}static avgTimeAllLevels(t,e,r){var i;return E.calculate(new pp,t,e,r,!0,!1,!1)}static avgTimeAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new pp,t,e,r,!0,!0,!1)}static avgTimeOnlyChilds(t,e,r){var i;return E.calculate(new pp,t,e,r,!1,!0,!1)}static max(t,e,r){return E.calculate(new gp,t,e,r,!1,!1,!1)}static cMax(t,e,r){return E.calculate(new gp,t,e,r)}static cMaxRunning(t,e,r){return E.calculateRunning(new gp,t,e,r)}static maxAllLevels(t,e,r){return E.calculate(new gp,t,e,r,!0,!1,!1)}static maxAllLevelsOnlyChilds(t,e,r){return E.calculate(new gp,t,e,r,!0,!0,!1)}static maxOnlyChilds(t,e,r){return E.calculate(new gp,t,e,r,!1,!0,!1)}static min(t,e,r){return E.calculate(new fp,t,e,r,!1,!1,!1)}static cMin(t,e,r){return E.calculate(new fp,t,e,r)}static cMinRunning(t,e,r){return E.calculateRunning(new fp,t,e,r)}static minAllLevels(t,e,r){return E.calculate(new fp,t,e,r,!0,!1,!1)}static minAllLevelsOnlyChilds(t,e,r){return E.calculate(new fp,t,e,r,!0,!0,!1)}static minOnlyChilds(t,e,r){return E.calculate(new fp,t,e,r,!1,!0,!1)}static median(t,e,r){return E.calculate(new Sp,t,e,r,!1,!1,!1)}static cMedian(t,e,r){return E.calculate(new Sp,t,e,r)}static cMedianRunning(t,e,r){return E.calculateRunning(new Sp,t,e,r)}static medianAllLevels(t,e,r){return E.calculate(new Sp,t,e,r,!0,!1,!1)}static medianAllLevelsOnlyChilds(t,e,r){return E.calculate(new Sp,t,e,r,!0,!0,!1)}static medianOnlyChilds(t,e,r){return E.calculate(new Sp,t,e,r,!1,!0,!1)}static mode(t,e,r){return E.calculate(new bp,t,e,r,!1,!1,!1)}static cMode(t,e,r){return E.calculate(new bp,t,e,r)}static cModeRunning(t,e,r){return E.calculateRunning(new bp,t,e,r)}static modeAllLevels(t,e,r){return E.calculate(new bp,t,e,r,!0,!1,!1)}static modeAllLevelsOnlyChilds(t,e,r){return E.calculate(new bp,t,e,r,!0,!0,!1)}static modeOnlyChilds(t,e,r){return E.calculate(new bp,t,e,r,!1,!0,!1)}static first(t,e,r){return E.calculate(new yp,t,e,r,!1,!1,!1)}static cFirst(t,e,r){return E.calculate(new yp,t,e,r)}static cFirstRunning(t,e,r){return E.calculateRunning(new yp,t,e,r)}static firstAllLevels(t,e,r){return E.calculate(new yp,t,e,r,!0,!1,!1)}static firstAllLevelsOnlyChilds(t,e,r){return E.calculate(new yp,t,e,r,!0,!0,!1)}static firstOnlyChilds(t,e,r){return E.calculate(new yp,t,e,r,!1,!0,!1)}static last(t,e,r){return E.calculate(new vp,t,e,r,!1,!1,!1)}static cLast(t,e,r){return E.calculate(new vp,t,e,r)}static cLastRunning(t,e,r){return E.calculateRunning(new vp,t,e,r)}static lastAllLevels(t,e,r){return E.calculate(new vp,t,e,r,!0,!1,!1)}static lastAllLevelsOnlyChilds(t,e,r){return E.calculate(new vp,t,e,r,!0,!0,!1)}static lastOnlyChilds(t,e,r){return E.calculate(new vp,t,e,r,!1,!0,!1)}static count(t,e=null,r=null){return E.calculate(new wp,t,e,r,!1,!1,!1)}static cCount(t,e=null,r=null){return E.calculate(new wp,t,e,r)}static cCountRunning(t,e=null,r=null){return E.calculateRunning(new wp,t,e,r)}static countAllLevels(t){return E.calculate(new wp,t,null,null,!0,!1,!1)}static countAllLevelsOnlyChilds(t){return E.calculate(new wp,t,null,null,!0,!0,!1)}static countOnlyChilds(t){return E.calculate(new wp,t,null,null,!1,!0,!1)}static countDistinct(t,e,r){return E.calculate(new Cp,t,e,r,!1,!1,!1)}static cCountDistinct(t,e,r){return E.calculate(new Cp,t,e,r)}static cCountDistinctRunning(t,e,r){return E.calculateRunning(new Cp,t,e,r)}static countDistinctAllLevels(t,e,r){return E.calculate(new Cp,t,e,r,!0,!1,!1)}static countDistinctAllLevelsOnlyChilds(t,e,r){return E.calculate(new Cp,t,e,r,!0,!0,!1)}static countDistinctOnlyChilds(t,e,r){return E.calculate(new Cp,t,e,r,!1,!0,!1)}static minDate(t,e,r){var i;return E.calculate(new Tp,t,e,r,!1,!1,!1)}static cMinDate(t,e,r){var i;return E.calculate(new Tp,t,e,r)}static minDateAllLevels(t,e,r){var i;return E.calculate(new Tp,t,e,r,!0,!1,!1)}static minDateAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new Tp,t,e,r,!0,!0,!1)}static minDateOnlyChilds(t,e,r){var i;return E.calculate(new Tp,t,e,r,!1,!0,!1)}static minTime(t,e,r){var i;return E.calculate(new Pp,t,e,r,!1,!1,!1)}static cMinTime(t,e,r){var i;return E.calculate(new Pp,t,e,r)}static minTimeAllLevels(t,e,r){var i;return E.calculate(new Pp,t,e,r,!0,!1,!1)}static minTimeAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new Pp,t,e,r,!0,!0,!1)}static minTimeOnlyChilds(t,e,r){var i;return E.calculate(new Pp,t,e,r,!1,!0,!1)}static minStr(t,e,r){var i;return E.calculate(new Ip,t,e,r,!1,!1,!1)}static cMinStr(t,e,r){var i;return E.calculate(new Ip,t,e,r)}static minStrAllLevels(t,e,r){var i;return E.calculate(new Ip,t,e,r,!0,!1,!1)}static minStrAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new Ip,t,e,r,!0,!0,!1)}static minStrOnlyChilds(t,e,r){var i;return E.calculate(new Ip,t,e,r,!1,!0,!1)}static maxDate(t,e,r){var i;return E.calculate(new Ap,t,e,r,!1,!1,!1)}static cMaxDate(t,e,r){var i;return E.calculate(new Ap,t,e,r)}static maxDateAllLevels(t,e,r){var i;return E.calculate(new Ap,t,e,r,!0,!1,!1)}static maxDateAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new Ap,t,e,r,!0,!0,!1)}static maxDateOnlyChilds(t,e,r){var i;return E.calculate(new Ap,t,e,r,!1,!0,!1)}static maxTime(t,e,r){var i;return E.calculate(new xp,t,e,r,!1,!1,!1)}static cMaxTime(t,e,r){var i;return E.calculate(new xp,t,e,r)}static maxTimeAllLevels(t,e,r){var i;return E.calculate(new xp,t,e,r,!0,!1,!1)}static maxTimeAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new xp,t,e,r,!0,!0,!1)}static maxTimeOnlyChilds(t,e,r){var i;return E.calculate(new xp,t,e,r,!1,!0,!1)}static maxStr(t,e,r){var i;return E.calculate(new Dp,t,e,r,!1,!1,!1)}static cMaxStr(t,e,r){var i;return E.calculate(new Dp,t,e,r)}static maxStrAllLevels(t,e,r){var i;return E.calculate(new Dp,t,e,r,!0,!1,!1)}static maxStrAllLevelsOnlyChilds(t,e,r){var i;return E.calculate(new Dp,t,e,r,!0,!0,!1)}static maxStrOnlyChilds(t,e,r){var i;return E.calculate(new Dp,t,e,r,!1,!0,!1)}static rank(r,t,i,e=!0,n=Ae.c.StiRankOrder.Asc){let a=this.calculate(new Np(!1,e,n),r,t,i,!1,!1,!1),s=a.stimulsoft().as(Dt);if(null!=s&&null!=r){let e=null;var i=null==r?null:r.stimulsoft().as(D.StiParserData);if(null!=i){var r=i.asmList;let t=i.parser;e=t.executeAsm(r)}if(null!=e&&e!=No.value)return+s.get(e);return 0}return 0}static saveState(t){if(t.saveState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)for(var e of t.dataBandInfo.detailDataBands.list)E.saveState(e)}static restoreState(t){if(t.restoreState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)for(var e of t.dataBandInfo.detailDataBands.list)E.restoreState(e)}static storeCachedValue(t,e,r,i){var n=null==t?null:t.stimulsoft().as(D.StiParserData);null!=n&&(t=n.data);let a=e.cachedTotals.get(t);null==a&&(a=new Dt,e.cachedTotals.set(t,a)),a.set(r,i)}static getCachedValue(t,e,r,i,n,a,s,o,l){let u=new Mt;var h=e.stimulsoft().as(D.StiParserData);if(null!=h&&(e=h.data,null!=h.asmList))for(var c of h.asmList)u.append(c.toString()),u.append("*");var s=De.format("{0}_*_{1}_*_{2}_*_{3}_*_{4}_*_{5}",t.serviceName,i,u.toString(),n,a,s?"PageTotal"+r.currentPrintPage.toString():"False");let d=null,m=!1;null==r.cachedTotals&&(r.cachedTotals=new Dt);let p=r.cachedTotals.get(e);return null!=p&&p.containsKey(s)&&(d=p.get(s),m=!0),o.ref=d,l.ref=s,m}};Ae.c.Totals=E}(yt=Mm=Ae.az.CodeSet||(Ae.az.CodeSet={}))[yt["None"]=0]="None",yt[yt["A"]=1]="A",yt[yt["B"]=2]="B",yt[yt["C"]=3]="C",(wt=Om=Ae.az.ControlCodes||(Ae.az.ControlCodes={}))[wt["FNC1"]=129]="FNC1",wt[wt["FNC2"]=130]="FNC2",wt[wt["FNC3"]=131]="FNC3",wt[wt["FNC4"]=132]="FNC4",wt[wt["CodeA"]=133]="CodeA",wt[wt["CodeB"]=134]="CodeB",wt[wt["CodeC"]=135]="CodeC",wt[wt["Shift"]=136]="Shift",(u=Hm=Ae.az.BarcodeCommands||(Ae.az.BarcodeCommands={}))[u["FNC1"]=102]="FNC1",u[u["FNC2"]=97]="FNC2",u[u["FNC3"]=96]="FNC3",u[u["FNC4A"]=101]="FNC4A",u[u["FNC4B"]=100]="FNC4B",u[u["CodeA"]=101]="CodeA",u[u["CodeB"]=100]="CodeB",u[u["CodeC"]=99]="CodeC",u[u["Shift"]=98]="Shift",u[u["StartA"]=103]="StartA",u[u["StartB"]=104]="StartB",u[u["StartC"]=105]="StartC",u[u["Stop"]=106]="Stop",(m=_m=Ae.az.StiCheckSum||(Ae.az.StiCheckSum={}))[m["Yes"]=0]="Yes",m[m["No"]=1]="No",(p=Vm=Ae.az.StiPlesseyCheckSum||(Ae.az.StiPlesseyCheckSum={}))[p["None"]=0]="None",p[p["Modulo10"]=1]="Modulo10",p[p["Modulo11"]=2]="Modulo11",(P=Gm=Ae.az.StiDataMatrixSize||(Ae.az.StiDataMatrixSize={}))[P["Automatic"]=-1]="Automatic",P[P["s10x10"]=0]="s10x10",P[P["s12x12"]=1]="s12x12",P[P["s8x18"]=2]="s8x18",P[P["s14x14"]=3]="s14x14",P[P["s8x32"]=4]="s8x32",P[P["s16x16"]=5]="s16x16",P[P["s12x26"]=6]="s12x26",P[P["s18x18"]=7]="s18x18",P[P["s20x20"]=8]="s20x20",P[P["s12x36"]=9]="s12x36",P[P["s22x22"]=10]="s22x22",P[P["s16x36"]=11]="s16x36",P[P["s24x24"]=12]="s24x24",P[P["s26x26"]=13]="s26x26",P[P["s16x48"]=14]="s16x48",P[P["s32x32"]=15]="s32x32",P[P["s36x36"]=16]="s36x36",P[P["s40x40"]=17]="s40x40",P[P["s44x44"]=18]="s44x44",P[P["s48x48"]=19]="s48x48",P[P["s52x52"]=20]="s52x52",P[P["s64x64"]=21]="s64x64",P[P["s72x72"]=22]="s72x72",P[P["s80x80"]=23]="s80x80",P[P["s88x88"]=24]="s88x88",P[P["s96x96"]=25]="s96x96",P[P["s104x104"]=26]="s104x104",P[P["s120x120"]=27]="s120x120",P[P["s132x132"]=28]="s132x132",P[P["s144x144"]=29]="s144x144",(x=Um=Ae.az.StiDataMatrixEncodingType||(Ae.az.StiDataMatrixEncodingType={}))[x["Ascii"]=0]="Ascii",x[x["C40"]=1]="C40",x[x["Text"]=2]="Text",x[x["X12"]=3]="X12",x[x["Edifact"]=4]="Edifact",x[x["Binary"]=5]="Binary",(b=jm=Ae.az.StiPdf417EncodingMode||(Ae.az.StiPdf417EncodingMode={}))[b["Text"]=0]="Text",b[b["Numeric"]=1]="Numeric",b[b["Byte"]=2]="Byte",(v=Wm=Ae.az.StiPdf417ErrorsCorrectionLevel||(Ae.az.StiPdf417ErrorsCorrectionLevel={}))[v["Automatic"]=-1]="Automatic",v[v["Level0"]=0]="Level0",v[v["Level1"]=1]="Level1",v[v["Level2"]=2]="Level2",v[v["Level3"]=3]="Level3",v[v["Level4"]=4]="Level4",v[v["Level5"]=5]="Level5",v[v["Level6"]=6]="Level6",v[v["Level7"]=7]="Level7",v[v["Level8"]=8]="Level8",(D=qm=Ae.az.StiEanSupplementType||(Ae.az.StiEanSupplementType={}))[D["None"]=0]="None",D[D["TwoDigit"]=1]="TwoDigit",D[D["FiveDigit"]=2]="FiveDigit",(B=zm=Ae.az.StiCode11CheckSum||(Ae.az.StiCode11CheckSum={}))[B["None"]=0]="None",B[B["OneDigit"]=1]="OneDigit",B[B["TwoDigits"]=2]="TwoDigits",B[B["Auto"]=3]="Auto",(L=Xm=Ae.az.StiQRCodeSize||(Ae.az.StiQRCodeSize={}))[L["Automatic"]=0]="Automatic",L[L["v1"]=1]="v1",L[L["v2"]=2]="v2",L[L["v3"]=3]="v3",L[L["v4"]=4]="v4",L[L["v5"]=5]="v5",L[L["v6"]=6]="v6",L[L["v7"]=7]="v7",L[L["v8"]=8]="v8",L[L["v9"]=9]="v9",L[L["v10"]=10]="v10",L[L["v11"]=11]="v11",L[L["v12"]=12]="v12",L[L["v13"]=13]="v13",L[L["v14"]=14]="v14",L[L["v15"]=15]="v15",L[L["v16"]=16]="v16",L[L["v17"]=17]="v17",L[L["v18"]=18]="v18",L[L["v19"]=19]="v19",L[L["v20"]=20]="v20",L[L["v21"]=21]="v21",L[L["v22"]=22]="v22",L[L["v23"]=23]="v23",L[L["v24"]=24]="v24",L[L["v25"]=25]="v25",L[L["v26"]=26]="v26",L[L["v27"]=27]="v27",L[L["v28"]=28]="v28",L[L["v29"]=29]="v29",L[L["v30"]=30]="v30",L[L["v31"]=31]="v31",L[L["v32"]=32]="v32",L[L["v33"]=33]="v33",L[L["v34"]=34]="v34",L[L["v35"]=35]="v35",L[L["v36"]=36]="v36",L[L["v37"]=37]="v37",L[L["v38"]=38]="v38",L[L["v39"]=39]="v39",L[L["v40"]=40]="v40",(e=Jm=Ae.az.StiQRCodeErrorCorrectionLevel||(Ae.az.StiQRCodeErrorCorrectionLevel={}))[e["Level1"]=0]="Level1",e[e["Level2"]=1]="Level2",e[e["Level3"]=2]="Level3",e[e["Level4"]=3]="Level4",(l=Ym=Ae.az.StiQRCodeECIMode||(Ae.az.StiQRCodeECIMode={}))[l["Cp437"]=2]="Cp437",l[l["ISO_8859_1"]=3]="ISO_8859_1",l[l["ISO_8859_2"]=4]="ISO_8859_2",l[l["ISO_8859_3"]=5]="ISO_8859_3",l[l["ISO_8859_4"]=6]="ISO_8859_4",l[l["ISO_8859_5"]=7]="ISO_8859_5",l[l["ISO_8859_6"]=8]="ISO_8859_6",l[l["ISO_8859_7"]=9]="ISO_8859_7",l[l["ISO_8859_8"]=10]="ISO_8859_8",l[l["ISO_8859_9"]=11]="ISO_8859_9",l[l["ISO_8859_11"]=13]="ISO_8859_11",l[l["ISO_8859_13"]=15]="ISO_8859_13",l[l["ISO_8859_15"]=17]="ISO_8859_15",l[l["Shift_JIS"]=20]="Shift_JIS",l[l["Windows_1250"]=21]="Windows_1250",l[l["Windows_1251"]=22]="Windows_1251",l[l["Windows_1252"]=23]="Windows_1252",l[l["Windows_1256"]=24]="Windows_1256",l[l["UTF_8"]=26]="UTF_8",(k=Qm=Ae.az.StiMaxicodeMode||(Ae.az.StiMaxicodeMode={}))[k["Mode2"]=2]="Mode2",k[k["Mode3"]=3]="Mode3",k[k["Mode4"]=4]="Mode4",k[k["Mode5"]=5]="Mode5",k[k["Mode6"]=6]="Mode6",Ae.az.IStiBarCode=new Ae.b.Interface("IStiBarCode");let Fp=Ae.bn.Point;{let s;(F=s=Ae.az.BarcodeCommandCode||(Ae.az.BarcodeCommandCode={}))[F["Fnc1"]=256]="Fnc1",F[F["Fnc2"]=512]="Fnc2",F[F["Fnc3"]=768]="Fnc3",F[F["Fnc4"]=1024]="Fnc4",Ae.az.StiBarCodeTypeService=class extends K{constructor(){super(...arguments),this.visiblePropertiesCount=27,this.barCodeData=new Ae.az.StiBarCodeData,this.rectWindow=new os(0,0,0,0),this.defaultLabelFontHeight=8}getNetTypeName(){return"Stimulsoft.Report.Components.BarCodes."+this.stimulsoft().getType().ssTypeName}static loadFromJsonObjectInternal(t){let e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.barCodes.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();return i.loadFromJsonObject(t),i}static loadFromXmlInternal(t){if(null==t.attributes)return null;let e=t.attributes.getNamedItem("type"),r=Hd.Services.barCodes.firstOrDefault(function(t){return t.getNetTypeName()==e.value||t.stimulsoft().getType().stimulsoft().getNetTypeName()==e.value});if(null==r)throw De.format("Type {0} is not found!",e.value);let i=r.createNew();return i.loadFromXml(t),i}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get componentId(){return null}get visibleProperties(){return this._visibleProperties}set visibleProperties(t){this._visibleProperties=t}get defaultCodeValue(){return null}get mainWidth(){return this.barCodeData.mainWidth}get mainHeight(){return this.barCodeData.mainHeight}get module(){return null}set module(t){}get height(){return null}set height(t){}get textAlignment(){return Lr.Center}get textSpacing(){return!0}get labelFontHeight(){return null}checkCodeSymbols(e,r){let i=new Mt;if(null!=e)for(let t=0;t<e.length;t++){var n=e[t];-1!=r.indexOf(n)&&i.append(n)}return i.toString()}getCode(t){return t.getBarCodeString()}getCombinedCode(){return null}static unpackTilde(e,t){let r=0,i=[];while(r<e.length){var n=e[r++],a,a;if(t&&126==n){let t=!1;if(r<e.length&&126==e[r]&&(i.push(126),t=!0,r++),!t&&r+2<e.length&&(70==e[r]&&78==e[r+1]&&67==e[r+2]&&r+3<e.length&&(1!=(a=e[r+3]-48)&&2!=a&&3!=a&&4!=a||(1==a&&i.push(s.Fnc1),2==a&&i.push(s.Fnc2),3==a&&i.push(s.Fnc3),4==a&&i.push(s.Fnc4),t=!0,r+=4)),!t&&Ae.b.Char.isDigit(e[r])&&Ae.b.Char.isDigit(e[r+1])&&Ae.b.Char.isDigit(e[r+2])&&(0<=(a=100*(e[r]-48)+10*(e[r+1]-48)+(e[r+2]-48))&&a<=255&&(i.push(a),t=!0,r+=3))),t)continue}i.push(n)}return i}getSymbolWidth(t){let e;switch(t){case"0":case"4":case"8":case"c":case"d":case"e":case"f":e=1;break;case"1":case"5":case"9":e=1*this.barCodeData.wideToNarrowRatio;break;case"2":case"6":case"a":e=1.5*this.barCodeData.wideToNarrowRatio;break;case"3":case"7":case"b":e=2*this.barCodeData.wideToNarrowRatio;break;default:e=1;break}return e}isSymbolLong(t){let e;switch(t){case"8":case"9":case"a":case"b":case"c":case"e":e=!0;break;default:e=!1;break}return e}isSymbolSpace(t){let e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;default:e=!1;break}return e}isSymbolPostDescend(t){let e;switch(t){case"e":case"f":e=!0;break;default:e=!1;break}return e}getSymbolsStringWidth(e){let r=0;for(let t=0;t<e.length;t++)r+=this.getSymbolWidth(e[t]);return r}drawBars(r,e,i){var n=this.barCodeData.spaceLeft,a=this.barCodeData.spaceTop;let s=0;for(let t=0;t<e.length;t++){var o=e[t];if(0==this.isSymbolSpace(o)){let t=this.barCodeData.lineHeightShort;1==this.isSymbolLong(o)&&(t=this.barCodeData.lineHeightLong);let e=0;1==this.isSymbolPostDescend(o)&&(e=this.barCodeData.lineHeightLong-this.barCodeData.lineHeightShort),this.baseFillRectangle(r,i,n+this.barCodeData.lineWidth*s,a+e,this.barCodeData.lineWidth*this.getSymbolWidth(o),t-e)}s+=this.getSymbolWidth(o)}}drawBarCode(t,e,r){this.drawBarCode1(t,e,r,null)}drawBarCode1(i,n,a,t){var s=new Ar(a.font.name,a.font.size*(a.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,a.font.style,ti.Pixel);this.translateRect(i,n,a);var o=new si(a.foreColor),l=new si(a.backColor);if(this.baseFillRectangle(i,l,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight),this.drawBars(i,this.barCodeData.barsArray,o),a.showLabelText&&0<this.barCodeData.textString.length){let e=new Mt;if(this.textSpacing){for(let t=0;t<this.barCodeData.textString.length;t++)e.append(this.barCodeData.textString[t]),e.append(" ");e.length=e.length-1}else e.append(this.barCodeData.textString);let t=e.toString();var n=this.baseMeasureString3(i,t,s),l=this.getSymbolsStringWidth(this.barCodeData.barsArray);n.width>l*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight&&(t=this.barCodeData.textString);var a=0,n=this.barCodeData.textPosition;let r=new Mr;r.alignment=this.textAlignment,r.formatFlags=0,this.textAlignment==Lr.Center?this.baseDrawString2(i,t,s,o,new os(a,n,l*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight,2*this.barCodeData.textHeight),r):this.baseDrawString2(i,this.barCodeData.textString,s,o,new os(this.barCodeData.spaceLeft,n,l*this.barCodeData.lineWidth,2*this.barCodeData.textHeight),r)}null!=t&&t(i,o,this),this.rollbackTransform(i)}calculateSizeFull(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f){this.barCodeData.wideToNarrowRatio=h,this.barCodeData.code=d,this.barCodeData.textString=m,this.barCodeData.barsArray=p,f.showQuietZones||this.is(Ae.az.StiAustraliaPost4StateBarCodeType)||this.is(Ae.az.StiITF14BarCodeType)||(i=r=e=t=0),this.rectWindow=new os(0,0,g.width,g.height),f.angle!=rd.Angle90&&f.angle!=rd.Angle270||(this.rectWindow=new os(0,0,g.height,g.width));var g=f.font.size-8+.5;l+=g,o+=g;let S=this.module/10*c;var c=S;let b=u*(1-this.height);f.autoScale&&(S=this.rectWindow.width/(this.getSymbolsStringWidth(p)+t+e),b=-(this.rectWindow.height/c-l),!f.showLabelText&&u<s&&(b-=o)),this.barCodeData.fullZoomY=c,this.barCodeData.spaceLeft=t*S,this.barCodeData.spaceRight=e*S,this.barCodeData.lineWidth=1*S,this.barCodeData.mainWidth=(this.getSymbolsStringWidth(p)+t+e)*S,this.barCodeData.spaceTop=r*c,this.barCodeData.spaceBottom=i*c,this.barCodeData.lineHeightShort=(n-b)*c,this.barCodeData.lineHeightLong=(a-b)*c,r<s&&(s-=b),this.barCodeData.textPosition=s*c,this.barCodeData.mainHeight=(l-b)*c,this.barCodeData.textHeight=o*c}calculateSize2(t,e,r,i,n,a,s,o,l,u,h,c,d,m){this.calculateSizeFull(t,e,r,i,n,a,s,o,l,n,u,h,"","",c,d,m)}draw2DBarCode(r,t,e,i){this.rectWindow=new os(0,0,t.width,t.height),e.angle!=rd.Angle90&&e.angle!=rd.Angle270||(this.rectWindow=new os(0,0,t.height,t.width));let n=2;e.showQuietZones||(n=0);let a=this.module/10*i,s=a;e.autoScale&&(a=this.rectWindow.width/(this.barCodeData.matrixWidth+2*n),s=this.rectWindow.height/(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*n),a=Math.min(a,s),s=a),this.barCodeData.mainWidth=(this.barCodeData.matrixWidth+2*n)*a,this.barCodeData.mainHeight=(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*n)*s,this.barCodeData.spaceLeft=n*a,this.barCodeData.spaceTop=n*s,this.translateRect(r,t,e);var o=new si(e.foreColor),l=new si(e.backColor);this.baseFillRectangle(r,l,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);var u=this.barCodeData.spaceLeft,h=this.barCodeData.spaceTop;for(let e=0;e<this.barCodeData.matrixHeight;e++)for(let t=0;t<this.barCodeData.matrixWidth;t++)0!=this.barCodeData.matrixGrid[t+e*this.barCodeData.matrixWidth]&&this.baseFillRectangle2D(r,o,u+t*a,h+e*s*this.barCodeData.matrixRatioY,a,s*this.barCodeData.matrixRatioY);var c=this.as(Ae.az.StiQRCodeBarCodeType),d,t,l,d,t,i;null!=c&&null!=c.image&&(d=isNaN(c.image.horizontalResolution)||c.image.horizontalResolution<50?100:c.image.horizontalResolution,t=isNaN(c.image.verticalResolution)||c.image.verticalResolution<50?100:c.image.verticalResolution,l=c.image.width/(d/100)*i*c.imageMultipleFactor,d=c.image.height/(t/100)*i*c.imageMultipleFactor,t=u+(this.barCodeData.matrixWidth*a-l)/2,i=h+(this.barCodeData.matrixHeight*s-d)/2,this.baseDrawImage(r,c.image,e.report,t,i,l,d)),this.rollbackTransform(r)}drawMaxicode(n,t,e,r){this.rectWindow=new os(0,0,t.width,t.height),e.angle!=rd.Angle90&&e.angle!=rd.Angle270||(this.rectWindow=new os(0,0,t.height,t.width));var i,a=100/29,s=1.1547*a,o=.866*a,l=1.5*a,u=o+s/2;let h=r;var c=32*a,r=34*o+s;e.autoScale&&(h=Math.min(this.rectWindow.height,this.rectWindow.width)/c),this.barCodeData.mainWidth=c*h,this.barCodeData.mainHeight=r*h,this.translateRect(n,t,e);var d=new si(e.foreColor),m=new si(e.backColor.a<64?Fe.white:e.backColor);this.baseFillRectangle(n,m,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);var p=[0,a/2,a/2,0,-a/2,-a/2],g=[s/2,s/4,-s/4,-s/2,-s/4,s/4],f=.87;for(let i=0;i<33;i++)for(let t=0;t<30;t++)if(1==this.barCodeData.matrixGrid[30*i+t]){let e=l+t*a;0!=(1&i)&&(e+=a/2);var S=u+o*i;let r=[];for(let t=0;t<6;t++)r[t]=new Fp((e+p[t]*f)*h,(S+g[t]*f)*h);this.baseFillPolygon(n,d,r)}var b=l+14*a,y=u+16*o,v=[15.236,12.598,9.96,7.32,4.646,2.008];for(let t=0;t<v.length;t++){var w=new os((b-v[t])*h,(y-v[t])*h,2*v[t]*h,2*v[t]*h);this.baseFillEllipse(n,0<(1&t)?m:d,w.x,w.y,w.width,w.height)}this.rollbackTransform(n)}drawBarCodeError(t,e,r){this.drawBarCodeError2(t,e,r,null)}drawBarCodeError2(t,e,r,i){var r=new si(r.backColor);this.baseFillRectangle(t,r,e.x,e.y,e.width,e.height),this.baseDrawRectangle(t,Fe.red,4,e.x,e.y,e.width,e.height);var r=new Ar("Arial",8);De.isNullOrEmpty(i)?this.baseDrawString(t,"Not valid data",r,new si(Fe.red),e.x+1,e.y+1):this.baseDrawString(t,i,r,new si(Fe.red),e.x+1,e.y+1)}draw(t,e,r,i){}translateRect(t,e,r){let i,n,a,s,o;switch(r.horAlignment){case Ds.Right:s=this.rectWindow.width-this.barCodeData.mainWidth;break;case Ds.Center:s=(this.rectWindow.width-this.barCodeData.mainWidth)/2;break;default:s=0;break}switch(r.vertAlignment){case Go.Bottom:o=this.rectWindow.height-this.barCodeData.mainHeight;break;case Go.Center:o=(this.rectWindow.height-this.barCodeData.mainHeight)/2;break;default:o=0;break}switch(r.angle){case rd.Angle90:i=-90,n=e.x,a=e.y+e.height;break;case rd.Angle180:i=-180,n=e.x+e.width,a=e.y+e.height;break;case rd.Angle270:i=-270,n=e.x+e.width,a=e.y;break;default:i=0,n=e.x,a=e.y;break}this.baseTransform(t,n,a,i,s,o)}rollbackTransform(t){this.baseRollbackTransform(t)}baseDrawString(t,e,r,i,n,a){this.baseDrawString2(t,e,r,i,new os(n,a,0,0),null)}baseTransform(t,e,r,i,n,a){let s=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?s=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseTransform(t,e,r,i,n,a)}baseRollbackTransform(t){let e=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?e=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(e=this.customPainter),e.baseRollbackTransform(t)}baseFillRectangle(t,e,r,i,n,a){let s=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?s=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillRectangle(t,e,r,i,n,a)}baseFillRectangle2D(t,e,r,i,n,a){let s=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?s=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillRectangle2D(t,e,r,i,n,a)}baseFillPolygon(t,e,r){let i=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?i=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(i=this.customPainter),i.baseFillPolygon(t,e,r)}baseFillEllipse(t,e,r,i,n,a){let s=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?s=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillEllipse(t,e,r,i,n,a)}baseDrawRectangle(t,e,r,i,n,a,s){let o=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?o=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(o=this.customPainter),o.baseDrawRectangle(t,e,r,i,n,a,s)}baseDrawImage(t,e,r,i,n,a,s){let o=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?o=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(o=this.customPainter),o.baseDrawImage(t,e,r,i,n,a,s)}baseDrawString2(t,e,r,i,n,a){let s=null;t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?s=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseDrawString(t,e,r,i,n,a)}baseMeasureString3(t,e,r){let i=null;return t.stimulsoft().is(Ae.ax.StiBarCodeExportPainter)?i=t.stimulsoft().as(Ae.ax.StiBarCodeExportPainter):null!=this.customPainter&&(i=this.customPainter),i.baseMeasureString(t,e,r)}createNew(){return null}}}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1){super(),this.australiaPost4StateSymbolsC="ABC DEF#GHIabcdeJKLfMNOgPQRhijklSTUmVWXnYZ0opqrs123t456u789vwxyz",this.australiaPost4StateSymbolsN="012_345_678_9",this.australiaPost4StateStartCode="13",this.australiaPost4StateStopCode="13",this._module=20,this._height=1,this.australiaPost4StateSpaceLeft=11.8,this.australiaPost4StateSpaceRight=11.8,this.australiaPost4StateSpaceTop=3.9+7,this.australiaPost4StateSpaceBottom=3.9,this.australiaPost4StateLineHeightLong=10,this.australiaPost4StateLineHeightShort=.62*this.australiaPost4StateLineHeightLong,this.australiaPost4StateTextPosition=1,this.australiaPost4StateTextHeight=5,this.australiaPost4StateMainHeight=this.australiaPost4StateSpaceTop+this.australiaPost4StateLineHeightLong+this.australiaPost4StateSpaceBottom,this.australiaPost4StateLineHeightForCut=this.australiaPost4StateLineHeightLong,this.mult=ke.create2(Number,64,64),this.gen=[0,0,0,0,0],this._module=t,this._height=e}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",20),new ji("Height","_",1)])}get componentId(){return Ae.c.StiComponentId.StiAustraliaPost4StateBarCodeType}get serviceName(){return"Australia Post 4-state"}get defaultCodeValue(){return"1139987520"}get module(){return this._module}set module(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)}get height(){return this._height}set height(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)}get labelFontHeight(){return this.australiaPost4StateTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t}get textAlignment(){return Lr.Near}rSInitialise(){var r=67,i=64;for(let t=0;t<64;t++)this.mult[0][t]=0,this.mult[1][t]=t;let n=1;for(let t=1;t<64;t++){let e=n<<1;0!=(e&i)&&(e^=r);for(let t=0;t<64;t++)this.mult[e][t]=this.mult[n][t]<<1,0!=(this.mult[e][t]&i)&&(this.mult[e][t]^=r);n=e}this.gen[0]=48,this.gen[1]=17,this.gen[2]=29,this.gen[3]=30,this.gen[4]=1}rSEncode(e){0==this.gen[0]&&this.rSInitialise();let r=ke.create(Number,31);var i=e.length;for(let t=0;t<4;t++)r[t]=0;for(let t=0;t<i;t++)r[t+4]=e[i-1-t];for(let e=i-1;0<=e;e--)for(let t=0;t<=4;t++){var n=this.gen[t],a=r[4+e],a=this.mult[n][a];r[e+t]=r[e+t]^a}let s=ke.create(Number,4);for(let t=0;t<4;t++)s[t]=r[3-t];return s}charTo4State(t,e){let r=new Mt;var e,t;return e?(e=this.australiaPost4StateSymbolsC.indexOf(t),r.append(String.fromCharCode((e>>4&3)+48)),r.append(String.fromCharCode((e>>2&3)+48)),r.append(String.fromCharCode((3&e)+48))):(t=this.australiaPost4StateSymbolsN.indexOf(t),r.append(String.fromCharCode((t>>2&3)+48)),r.append(String.fromCharCode((3&t)+48))),r.toString()}stateToBar(e){let r=new Mt;for(let t=0;t<e.length;t++){switch(e[t]){case"0":r.append("c");break;case"1":r.append("d");break;case"2":r.append("e");break;case"3":r.append("f");break}r.append("0")}return r.toString()}makeBarsArray(t,e,r){let i=t.ref;var n=e.ref;let a=r.ref;if(i.length<10)return a="Data too short",!1;var s=i.substr(0,2),o=i.substr(2,8);let l=i.substr(10),u=-1;switch(s){case"11":case"87":case"45":case"92":u=0;break;case"59":u=16;break;case"62":case"44":u=31;break}if(u<0)return a="Unknown FCC",!1;let h=u/3;if(l.length>h)return a="CustomerInfo too long",!1;h>l.length&&(h=l.length);let c=new Mt;c.append(this.charTo4State(s[0],!1)),c.append(this.charTo4State(s[1],!1)),c.append(this.charTo4State(o[0],!1)),c.append(this.charTo4State(o[1],!1)),c.append(this.charTo4State(o[2],!1)),c.append(this.charTo4State(o[3],!1)),c.append(this.charTo4State(o[4],!1)),c.append(this.charTo4State(o[5],!1)),c.append(this.charTo4State(o[6],!1)),c.append(this.charTo4State(o[7],!1));for(let t=0;t<h;t++)c.append(this.charTo4State(l[t],!0));if(c.length<21+u){var d=21+u-c.length;for(let t=0;t<d;t++)c.append("3")}c.toString().charCodeAt(0);var m=Math.floor(c.length/3);let p=ke.create(Number,m);for(let t=0;t<m;t++)p[t]=(c.toString().charCodeAt(3*t+0)-48<<4)+(c.toString().charCodeAt(3*t+1)-48<<2)+(c.toString().charCodeAt(3*t+2)-48);var g=this.rSEncode(p);for(let t=0;t<4;t++)c.append(String.fromCharCode((g[t]>>4&3)+48)),c.append(String.fromCharCode((g[t]>>2&3)+48)),c.append(String.fromCharCode((3&g[t])+48));return n=this.stateToBar(this.australiaPost4StateStartCode+c.toString()+this.australiaPost4StateStopCode),i=De.format("{0} {1} {2} {3} {4} {5} {6}",s,o,l.substr(0,h),g[0],g[1],g[2],g[3]),t.ref=i,e.ref=n,r.ref=a,!0}draw(t,e,r,i){var n=this.getCode(e),n,a="";let s="";var o={ref:n=this.checkCodeSymbols(n,this.australiaPost4StateSymbolsC)},l={ref:a},u={ref:s};this.makeBarsArray(o,l,u)?(n=o.ref,a=l.ref,s=u.ref,this.calculateSizeFull(this.australiaPost4StateSpaceLeft,this.australiaPost4StateSpaceRight,this.australiaPost4StateSpaceTop,this.australiaPost4StateSpaceBottom,this.australiaPost4StateLineHeightShort,this.australiaPost4StateLineHeightLong,this.australiaPost4StateTextPosition,this.australiaPost4StateTextHeight,this.australiaPost4StateMainHeight,this.australiaPost4StateLineHeightForCut,1,i,n,n,a,r,e),this.drawBarCode(t,r,e)):0<s.length?this.drawBarCodeError2(t,r,e,s):this.drawBarCodeError(t,r,e)}createNew(){return new t}};Ae.az.StiAustraliaPost4StateBarCodeType=t}Ae.az.StiBarCodeData=class{};{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=2.2){super(),this.codabarSymbols="0123456789-$:/.+ABCD",this.codabarTable=["11111221","11112211","11121121","22111111","11211211","21111211","12111121","12112111","12211111","21121111","11122111","11221111","21112121","21211121","21212111","11222221","11221211","11121221","12121121","11122211"],this._module=13,this._height=1,this._ratio=2.2,this.codabarSpaceLeft=7,this.codabarSpaceRight=7,this.codabarSpaceTop=0,this.codabarSpaceBottom=1,this.codabarLineHeightShort=45,this.codabarLineHeightLong=this.codabarLineHeightShort,this.codabarTextPosition=this.codabarLineHeightShort+this.codabarSpaceBottom,this.codabarTextHeight=8.33,this.codabarMainHeight=55,this.codabarLineHeightForCut=this.codabarLineHeightShort,this._module=t,this._height=e,this._ratio=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new ji("Ratio","",2.2)])}get componentId(){return Ae.c.StiComponentId.StiCodabarBarCodeType}get serviceName(){return"Codabar"}get defaultCodeValue(){return"A12345678B"}get module(){return this._module}set module(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40),this.ratio=this._ratio}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)}get labelFontHeight(){return this.codabarTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t}codeToBar(r){let i=new Mt,n=!0;for(let e=0;e<r.length;e++){let t;t=1==n?"1"==r[e]?"4":"5":"1"==r[e]?"0":"1",i.append(t),n=!n}return i.toString()}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,this.codabarSymbols);let a=ke.create(Number,n.length);for(let t=0;t<n.length;t++)a[t]=this.codabarSymbols.indexOf(n[t]);let s=new Mt;for(let t=0;t<a.length;t++)s.append(this.codeToBar(this.codabarTable[a[t]]));this.calculateSizeFull(this.codabarSpaceLeft,this.codabarSpaceRight,this.codabarSpaceTop,this.codabarSpaceBottom,this.codabarLineHeightShort,this.codabarLineHeightLong,this.codabarTextPosition,this.codabarTextHeight,this.codabarMainHeight,this.codabarLineHeightForCut,this.ratio,i,n,n,s.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCodabarBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=8,e=1,r=Ae.az.StiCode11CheckSum.Auto){super(),this.code11Symbols="0123456789-",this.code11StartStopSymbolIndex=11,this.code11Table=["40405","50405","41405","51404","40505","50504","41504","40415","50414","50404","40504","40514"],this.code11SpaceLeft=5,this.code11SpaceRight=5,this.code11SpaceTop=0,this.code11SpaceBottom=1,this.code11LineHeightShort=40,this.code11LineHeightLong=this.code11LineHeightShort,this.code11TextPosition=this.code11LineHeightShort+this.code11SpaceBottom,this.code11TextHeight=8,this.code11MainHeight=50,this.code11LineHeightForCut=this.code11LineHeightShort,this.defaultCode11Module=8,this._module=this.defaultCode11Module,this._height=1,this.checksum=Ae.az.StiCode11CheckSum.Auto,this._module=t,this._height=e,this.checksum=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",8),new ji("Height","_",1),new Gi("Checksum","",Ae.az.StiCode11CheckSum,Ae.az.StiCode11CheckSum.Auto)])}get componentId(){return Ae.c.StiComponentId.StiCode11BarCodeType}get serviceName(){return"Code11"}get defaultCodeValue(){return"A12345678B"}get module(){return this._module}set module(t){(this._module=t)<4&&(this._module=4),40<t&&(this._module=40)}get height(){return this._height}set height(t){(this._height=t)<.2&&(this._height=.2),2<t&&(this._height=2)}get labelFontHeight(){return this.code11TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[3]=!0,t[11]=!0,t[13]=!0,t}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,this.code11Symbols);let a=0;this.checksum==Ae.az.StiCode11CheckSum.Auto&&(a=10<=n.length?2:1),this.checksum==Ae.az.StiCode11CheckSum.OneDigit&&(a=1),this.checksum==Ae.az.StiCode11CheckSum.TwoDigits&&(a=2);let s=ke.create(Number,n.length+2+a);s[0]=this.code11StartStopSymbolIndex;for(let t=0;t<n.length;t++)s[t+1]=this.code11Symbols.indexOf(n[t]);let o=0,l=1;for(let t=n.length;0<t;t--)o+=s[t]*l,l++,10<l&&(l=1);if(s[n.length+1]=o%11,2==a){o=0,l=1;for(let t=n.length+1;0<t;t--)o+=s[t]*l,l++,9<l&&(l=1);s[n.length+2]=o%9}s[s.length-1]=s[0];let u=new Mt;for(let t=0;t<s.length;t++)u.append(this.code11Table[s[t]]),t!=s.length-1&&u.append("0");this.calculateSizeFull(this.code11SpaceLeft,this.code11SpaceRight,this.code11SpaceTop,this.code11SpaceBottom,this.code11LineHeightShort,this.code11LineHeightLong,this.code11TextPosition,this.code11TextHeight,this.code11MainHeight,this.code11LineHeightForCut,2,i,n,n,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCode11BarCodeType=t}Ae.az.StiCode128BarCodeType=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1){super(),this.code128Table=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"],this._module=13,this._height=1,this.code128SpaceLeft=10,this.code128SpaceRight=10,this.code128SpaceTop=0,this.code128SpaceBottom=1,this.code128LineHeightShort=45,this.code128LineHeightLong=this.code128LineHeightShort,this.code128TextPosition=this.code128LineHeightShort+this.code128SpaceBottom,this.code128TextHeight=8.33,this.code128MainHeight=55,this.code128LineHeightForCut=this.code128LineHeightShort,this.defaultCodeSetAB=Ae.az.CodeSet.B,this.module=t,this.height=e}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1)])}get module(){return this._module}set module(t){(this._module=t)<9.84&&(this._module=9.84),40<t&&(this._module=40)}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get labelFontHeight(){return this.code128TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t}codeToBar(r){let i=new Mt,n=!0;for(let e=0;e<r.length;e++){let t;if(1==n)switch(r[e]){case"1":t="4";break;case"2":t="5";break;case"3":t="6";break;case"4":t="7";break;default:t="4";break}else switch(r[e]){case"1":t="0";break;case"2":t="1";break;case"3":t="2";break;case"4":t="3";break;default:t="0";break}i.append(t),n=!n}return i.toString()}encodeAuto(e,t){let r=new Mt,i=new Mt;for(let t=0;t<e.length;t++){var n;e.charCodeAt(t)<256&&i.append(e.charAt(t))}let a=i.toString(),s=this.getSet(a,0,Ae.az.CodeSet.None);s==Ae.az.CodeSet.A?r.append(String.fromCharCode(Ae.az.BarcodeCommands.StartA)):s==Ae.az.CodeSet.B?r.append(String.fromCharCode(Ae.az.BarcodeCommands.StartB)):r.append(String.fromCharCode(Ae.az.BarcodeCommands.StartC)),t&&r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC1));let o=0;while(o<a.length){var l=this.getSet(a,o,s);l!=s&&(l==Ae.az.CodeSet.A?r.append(String.fromCharCode(Ae.az.BarcodeCommands.CodeA)):l==Ae.az.CodeSet.B?r.append(String.fromCharCode(Ae.az.BarcodeCommands.CodeB)):r.append(String.fromCharCode(Ae.az.BarcodeCommands.CodeC)),s=l);var u=a.charCodeAt(o),l,h;if(u>=Ae.az.ControlCodes.FNC1&&u<=Ae.az.ControlCodes.FNC4){u==Ae.az.ControlCodes.FNC1?r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC1)):u==Ae.az.ControlCodes.FNC2?r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC2)):u==Ae.az.ControlCodes.FNC3?r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC3)):s==Ae.az.CodeSet.A?r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC4A)):r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC4B)),o++;continue}s==Ae.az.CodeSet.A?u<128?r.append(String.fromCharCode(32<=u?u-32:u+64)):(r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC4A)),r.append(String.fromCharCode(160<=u?u-160:u-64))):s==Ae.az.CodeSet.B?u<128?r.append(String.fromCharCode(u-32)):(r.append(String.fromCharCode(Ae.az.BarcodeCommands.FNC4B)),r.append(String.fromCharCode(u-160))):(l=a.charCodeAt(o+1),r.append(String.fromCharCode(10*(u-48)+(l-48))),o++),o++}return r.append(String.fromCharCode(0)),r.append(String.fromCharCode(Ae.az.BarcodeCommands.Stop)),r.toString()}isDigit(t){var t=t.charCodeAt(0);if(47<t&&t<58)return!0;return!1}getSet(t,e,r){if(0==t.length||e>t.length-1)return Ae.az.CodeSet.A;var i=t.charCodeAt(e);if(i>=Ae.az.ControlCodes.FNC1&&i<=Ae.az.ControlCodes.FNC4){if(r==Ae.az.CodeSet.None)return this.defaultCodeSetAB;if(i==Ae.az.ControlCodes.FNC1)return r;return r==Ae.az.CodeSet.C?this.defaultCodeSetAB:r}if(i<32||128<=i&&i<160)return Ae.az.CodeSet.A;if(96<=i&&i<128||224<=i&&i<=255)return Ae.az.CodeSet.B;if(this.isDigit(t.charAt(e)))if(r==Ae.az.CodeSet.C){if(e+1<t.length&&this.isDigit(t.charAt(e+1)))return Ae.az.CodeSet.C}else if(e+3<t.length&&this.isDigit(t.charAt(e+1))&&this.isDigit(t.charAt(e+2))&&this.isDigit(t.charAt(e+3)))return Ae.az.CodeSet.C;return r!=Ae.az.CodeSet.None&&r!=Ae.az.CodeSet.C?r:this.defaultCodeSetAB}};{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiCode128AutoBarCodeType}get serviceName(){return"Code128 Auto"}get defaultCodeValue(){return"123456780123"}draw(t,e,r,i){let n=this.getCode(e),a=new Mt;for(let t=0;t<n.length;t++){var s=n.charCodeAt(t);a.append(32<=s&&129!=s?String.fromCharCode(s):String.fromCharCode(8226))}let o=this.encodeAuto(n,!1),l=ke.create(Number,o.length);for(let t=0;t<o.length;t++)l[t]=o.toString().charCodeAt(t);let u=l[0];for(let t=0;t<o.length-3;t++)u+=l[t+1]*(t+1);l[l.length-2]=u%103;let h=new Mt;for(let t=0;t<l.length;t++)h.append(this.codeToBar(this.code128Table[l[t]]));var c=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,c,h.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiCode128AutoBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiCode128aBarCodeType}get serviceName(){return"Code128a"}get defaultCodeValue(){return"ABC123"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+"");let a=new Mt,s=ke.create(Number,n.length+3);s[0]=103;let o=s[0];for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);s[t+1]=32<=l?l-32:l+64,129==l&&(s[t+1]=102),o+=s[t+1]*(t+1),a.append(32<=l&&129!=l?String.fromCharCode(l):String.fromCharCode(8729))}s[s.length-2]=o%103,s[s.length-1]=106;let u=new Mt;for(let t=0;t<s.length;t++)u.append(this.codeToBar(this.code128Table[s[t]]));var h=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,h,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiCode128aBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiCode128bBarCodeType}get serviceName(){return"Code128b"}get defaultCodeValue(){return"ABCabc123"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+""+"");let a=new Mt,s=ke.create(Number,n.length+3);s[0]=104;let o=s[0];for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);s[t+1]=l-32,129==l&&(s[t+1]=102),o+=s[t+1]*(t+1),a.append(129!=l?String.fromCharCode(l):String.fromCharCode(8729))}s[s.length-2]=o%103,s[s.length-1]=106;let u=new Mt;for(let t=0;t<s.length;t++)u.append(this.codeToBar(this.code128Table[s[t]]));var h=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,h,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiCode128bBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiCode128cBarCodeType}get serviceName(){return"Code128c"}get defaultCodeValue(){return"0123456789012345"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789"+"");let a=[],s=new Mt,o="";for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);129==l?(a.push(o),o="",s.append(String.fromCharCode(8226))):(o+=String.fromCharCode(l),s.append(l))}0<o.length&&a.push(o),0==a.length&&a.push(o);let u=new Mt;for(let t=0;t<a.length;t++){let e=a[t];var h=Math.floor(e.length/2),c;for(let t=0;t<h;t++){var d=parseInt(e.substr(2*t,2));u.append(String.fromCharCode(d))}e.length%2==1&&(u.append(String.fromCharCode(100)),c=e.charCodeAt(e.length-1),u.append(String.fromCharCode(c-32)),t<a.length-1&&u.append(String.fromCharCode(99))),t<a.length-1&&u.append(String.fromCharCode(102))}let m=ke.create(Number,u.length+3);m[0]=105;for(let t=0;t<u.length;t++)m[t+1]=u.toString().charCodeAt(t);let p=m[0];for(let t=0;t<m.length-3;t++)p+=m[t+1]*(t+1);m[m.length-2]=p%103,m[m.length-1]=106;let g=new Mt;for(let t=0;t<m.length;t++)g.append(this.codeToBar(this.code128Table[m[t]]));let f=new Mt;for(let t=0;t<s.length;t++){var S=parseInt(s.toString().substr(t,2));f.append(String.fromCharCode(S)),t++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,f.toString(),g.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiCode128cBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=2.2,i=Ae.az.StiCheckSum.Yes){super(),this.code39Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",this.code39StartStopSymbolIndex=43,this.code39Table=["1112212111","2112111121","1122111121","2122111111","1112211121","2112211111","1122211111","1112112121","2112112111","1122112111","2111121121","1121121121","2121121111","1111221121","2111221111","1121221111","1111122121","2111122111","1121122111","1111222111","2111111221","1121111221","2121111211","1111211221","2111211211","1121211211","1111112221","2111112211","1121112211","1111212211","2211111121","1221111121","2221111111","1211211121","2211211111","1221211111","1211112121","2211112111","1221112111","1212121111","1212111211","1211121211","1112121211","1211212111"],this.checkSum=Ae.az.StiCheckSum.Yes,this._module=13,this._height=1,this._ratio=2.2,this.code39SpaceLeft=10,this.code39SpaceRight=10,this.code39SpaceTop=0,this.code39SpaceBottom=1,this.code39LineHeightShort=45,this.code39LineHeightLong=this.code39LineHeightShort,this.code39TextPosition=this.code39LineHeightShort+this.code39SpaceBottom,this.code39TextHeight=8.33,this.code39MainHeight=55,this.code39LineHeightForCut=this.code39LineHeightShort,this._module=t,this._height=e,this._ratio=r,this.checkSum=i}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new Gi("CheckSum","",Ae.az.StiCheckSum,Ae.az.StiCheckSum.Yes),new ji("Ratio","",2.2)])}get componentId(){return Ae.c.StiComponentId.StiCode39BarCodeType}get serviceName(){return"Code39"}get defaultCodeValue(){return"ABC123"}get module(){return this._module}set module(t){(this._module=t)<2&&(this._module=2),40<t&&(this._module=40),this.ratio=this._ratio}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)}get labelFontHeight(){return this.code39TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t[23]=!0,t}codeToBar(r){let i=new Mt,n=!0;for(let e=0;e<r.length;e++){let t;t=1==n?"1"==r[e]?"4":"5":"1"==r[e]?"0":"1",i.append(t),n=!n}return i.toString()}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,this.code39Symbols);let a=ke.create(Number,n.length+(this.checkSum==Ae.az.StiCheckSum.Yes?3:2));a[0]=this.code39StartStopSymbolIndex;let s=0;for(let t=0;t<n.length;t++)a[t+1]=this.code39Symbols.indexOf(n[t]),s+=a[t+1];this.checkSum==Ae.az.StiCheckSum.Yes&&(a[a.length-2]=s%43),a[a.length-1]=a[0];let o=new Mt;for(let t=0;t<a.length;t++)o.append(this.codeToBar(this.code39Table[a[t]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,i,n,n,o.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCode39BarCodeType=t}{let t=class extends Ae.az.StiCode39BarCodeType{constructor(t=13,e=1,r=2.2,i=Ae.az.StiCheckSum.Yes){super(t,e,r,i),this.code39ExtTable=["%U","$A","$B","$C","$D","$E","$F","$G","$H","$I","$J","$K","$L","$M","$N","$O","$P","$Q","$R","$S","$T","$U","$V","$W","$X","$Y","$Z","%A","%B","%C","%D","%E"," ","/A","/B","/C","/D","/E","/F","/G","/H","/I","/J","/K","/L","-",".","/O","0","1","2","3","4","5","6","7","8","9","/Z","%F","%G","%H","%I","%J","%V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","%K","%L","%M","%N","%O","%W","+A","+B","+C","+D","+E","+F","+G","+H","+I","+J","+K","+L","+M","+N","+O","+P","+Q","+R","+S","+T","+U","+V","+W","+X","+Y","+Z","%P","%Q","%R","%S","%T"]}get componentId(){return Ae.c.StiComponentId.StiCode39ExtBarCodeType}get serviceName(){return"Code39 Extended"}get defaultCodeValue(){return"Abc123"}draw(t,e,r,i){let n=this.getCode(e);null==n&&(n="");let a=new Mt,s=new Mt;for(let t=0;t<n.length;t++){var o=n.charCodeAt(t);o<128&&(a.append(this.code39ExtTable[o]),s.append(String.fromCharCode(o)))}n=a.toString();let l=ke.create(Number,n.length+(this.checkSum==Ae.az.StiCheckSum.Yes?3:2));l[0]=this.code39StartStopSymbolIndex;let u=0;for(let t=0;t<n.length;t++)l[t+1]=this.code39Symbols.indexOf(n[t]),u+=l[t+1];this.checkSum==Ae.az.StiCheckSum.Yes&&(l[l.length-2]=u%43),l[l.length-1]=l[0];let h=new Mt;for(let t=0;t<l.length;t++)h.append(this.codeToBar(this.code39Table[l[t]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,i,n,s.toString(),h.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCode39ExtBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=2.2){super(),this.code93Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",this.code93Table=["131112","111213","111312","111411","121113","121212","121311","111114","131211","141111","211113","211212","211311","221112","221211","231111","112113","112212","112311","122112","132111","111123","111222","111321","121122","131121","212112","212211","211122","211221","221121","222111","112122","112221","122121","123111","121131","311112","311211","321111","112131","113121","211131","121221","312111","311121","122211","111141","1111411"],this._module=13,this._height=1,this._ratio=2.2,this.code93SpaceLeft=10,this.code93SpaceRight=10,this.code93SpaceTop=0,this.code93SpaceBottom=1,this.code93LineHeightShort=45,this.code93LineHeightLong=this.code93LineHeightShort,this.code93TextPosition=this.code93LineHeightShort+this.code93SpaceBottom,this.code93TextHeight=8.33,this.code93MainHeight=55,this.code93LineHeightForCut=this.code93LineHeightShort,this._module=t,this._height=e,this._ratio=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new ji("Ratio","",2.2)])}get componentId(){return Ae.c.StiComponentId.StiCode93BarCodeType}get serviceName(){return"Code93"}get defaultCodeValue(){return"ABC123"}get module(){return this._module}set module(t){(this._module=t)<2&&(this._module=2),40<t&&(this._module=40),this.ratio=this._ratio}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)}get labelFontHeight(){return this.code93TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t}codeToBar(r){let i=new Mt,n=!0;for(let e=0;e<r.length;e++){let t;if(1==n)switch(r[e]){case"1":t="4";break;case"2":t="5";break;case"3":t="6";break;case"4":t="7";break;default:t="4";break}else switch(r[e]){case"1":t="0";break;case"2":t="1";break;case"3":t="2";break;case"4":t="3";break;default:t="0";break}i.append(t),n=!n}return i.toString()}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,this.code93Symbols);let a=ke.create(Number,n.length+4);for(let t=0;t<n.length;t++)a[t+1]=this.code93Symbols.indexOf(n[t]);let s=0,o=1;for(let t=n.length-1;0<=t;t--)s+=a[t+1]*o,o++,20<o&&(o=1);a[a.length-3]=s%47;let l=0;o=1;for(let t=n.length;0<=t;t--)l+=a[t+1]*o,o++,15<o&&(o=1);a[a.length-2]=l%47,a[0]=this.code93Table.length-2,a[a.length-1]=this.code93Table.length-1;let u=new Mt;for(let t=0;t<a.length;t++)u.append(this.codeToBar(this.code93Table[a[t]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,i,n,n,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCode93BarCodeType=t}{let t=class extends Ae.az.StiCode93BarCodeType{constructor(t=13,e=1,r=2.2){super(t,e,r),this.code93ExtSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%<]>[",this.code93ExtTable=["]U","<A","<B","<C","<D","<E","<F","<G","<H","<I","<J","<K","<L","<M","<N","<O","<P","<Q","<R","<S","<T","<U","<V","<W","<X","<Y","<Z","]A","]B","]C","]D","]E"," ",">A",">B",">C",">D",">E",">F",">G",">H",">I",">J",">K",">L","-",".",">O","0","1","2","3","4","5","6","7","8","9",">Z","]F","]G","]H","]I","]J","]V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","]K","]L","]M","]N","]O","]W","[A","[B","[C","[D","[E","[F","[G","[H","[I","[J","[K","[L","[M","[N","[O","[P","[Q","[R","[S","[T","[U","[V","[W","[X","[Y","[Z","]P","]Q","]R","]S","]T"]}get componentId(){return Ae.c.StiComponentId.StiCode93ExtBarCodeType}get serviceName(){return"Code93 Extended"}get defaultCodeValue(){return"Abc123"}draw(t,e,r,i){let n=this.getCode(e);null==n&&(n="");let a=new Mt,s=new Mt;for(let t=0;t<n.length;t++){var o=n.charCodeAt(t);o<128&&(a.append(this.code93ExtTable[o]),s.append(String.fromCharCode(o)))}n=a.toString();let l=ke.create(Number,n.length+4);for(let t=0;t<n.length;t++)l[t+1]=this.code93ExtSymbols.indexOf(n[t]);let u=0,h=1;for(let t=n.length-1;0<=t;t--)u+=l[t+1]*h,h++,20<h&&(h=1);l[l.length-3]=u%47;let c=0;h=1;for(let t=n.length;0<=t;t--)c+=l[t+1]*h,h++,15<h&&(h=1);l[l.length-2]=c%47,l[0]=this.code93Table.length-2,l[l.length-1]=this.code93Table.length-1;let d=new Mt;for(let t=0;t<l.length;t++)d.append(this.codeToBar(this.code93Table[l[t]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,i,n,s.toString(),d.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiCode93ExtBarCodeType=t}{let f;(W=f=f||{})[W["Padding"]=129]="Padding",W[W["ModeC40"]=230]="ModeC40",W[W["ModeBinary"]=231]="ModeBinary",W[W["FNC1"]=232]="FNC1",W[W["ModeX12"]=238]="ModeX12",W[W["ModeText"]=239]="ModeText",W[W["ModeEdifact"]=240]="ModeEdifact",W[W["EscapeToAscii"]=254]="EscapeToAscii";let e=class{constructor(t){this.log=null,this.alog=null,this.rspoly=null,this.logmod=255,this.log=ke.create(Number,this.logmod+1),this.alog=ke.create(Number,this.logmod);let e=1;for(let t=0;t<this.logmod;t++)this.alog[t]=e,this.log[e]=t,e<<=1,255<e&&(e^=301);this.rlen=t,this.rspoly=ke.create(Number,t+1);let r=1;this.rspoly[0]=1;for(let e=1;e<=t;e++){this.rspoly[e]=1;for(let t=e-1;0<t;t--)0!=this.rspoly[t]&&(this.rspoly[t]=this.alog[(this.log[this.rspoly[t]]+r)%this.logmod]),this.rspoly[t]^=this.rspoly[t-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+r)%this.logmod],r++}}encode(e,r){let i=ke.create(Number,this.rlen);for(let t=0;t<e;t++){var n=i[this.rlen-1]^r[t];for(let t=this.rlen-1;0<t;t--)0!=n&&0!=this.rspoly[t]?i[t]=i[t-1]^this.alog[(this.log[n]+this.log[this.rspoly[t]])%this.logmod]:i[t]=i[t-1];0!=n&&0!=this.rspoly[0]?i[0]=this.alog[(this.log[n]+this.log[this.rspoly[0]])%this.logmod]:i[0]=0}return i}},h=class{constructor(t,e,r,i,n,a,s){this.height=t,this.width=e,this.fh=r,this.fw=i,this.bytes=n,this.datablock=a,this.rsblock=s}},c=class{constructor(t,e,r,i,n){this.gridWidth=0,this.gridHeight=0,this.grid=null,this._errorMessage=null,this.ecc200List=null,this._processTilde=!1;var t=c.convertStringToBytes(t),i;this.gridWidth=0,this.gridHeight=0;let a=null;this._processTilde=n,i!=Ae.az.StiDataMatrixSize.Automatic&&(r=!0),this.ecc200List=r?[new h(10,10,10,10,3,3,5),new h(12,12,12,12,5,5,7),new h(8,18,8,18,5,5,7),new h(14,14,14,14,8,8,10),new h(8,32,8,16,10,10,11),new h(16,16,16,16,12,12,12),new h(12,26,12,26,16,16,14),new h(18,18,18,18,18,18,14),new h(20,20,20,20,22,22,18),new h(12,36,12,18,22,22,18),new h(22,22,22,22,30,30,20),new h(16,36,16,18,32,32,24),new h(24,24,24,24,36,36,24),new h(26,26,26,26,44,44,28),new h(16,48,16,24,49,49,28),new h(32,32,16,16,62,62,36),new h(36,36,18,18,86,86,42),new h(40,40,20,20,114,114,48),new h(44,44,22,22,144,144,56),new h(48,48,24,24,174,174,68),new h(52,52,26,26,204,102,42),new h(64,64,16,16,280,140,56),new h(72,72,18,18,368,92,36),new h(80,80,20,20,456,114,48),new h(88,88,22,22,576,144,56),new h(96,96,24,24,696,174,68),new h(104,104,26,26,816,136,56),new h(120,120,20,20,1050,175,68),new h(132,132,22,22,1304,163,62),new h(144,144,24,24,1558,156,62)]:[new h(10,10,10,10,3,3,5),new h(12,12,12,12,5,5,7),new h(14,14,14,14,8,8,10),new h(16,16,16,16,12,12,12),new h(18,18,18,18,18,18,14),new h(20,20,20,20,22,22,18),new h(22,22,22,22,30,30,20),new h(24,24,24,24,36,36,24),new h(26,26,26,26,44,44,28),new h(32,32,16,16,62,62,36),new h(36,36,18,18,86,86,42),new h(40,40,20,20,114,114,48),new h(44,44,22,22,144,144,56),new h(48,48,24,24,174,174,68),new h(52,52,26,26,204,102,42),new h(64,64,16,16,280,140,56),new h(72,72,18,18,368,92,36),new h(80,80,20,20,456,114,48),new h(88,88,22,22,576,144,56),new h(96,96,24,24,696,174,68),new h(104,104,26,26,816,136,56),new h(120,120,20,20,1050,175,68),new h(132,132,22,22,1304,163,62),new h(144,144,24,24,1558,156,62)],i!=Ae.az.StiDataMatrixSize.Automatic&&(i=this.ecc200List[i],this.gridWidth=i.width,this.gridHeight=i.height);try{var s={ref:this.gridWidth},o={ref:this.gridHeight};a=this.makeGrid(t,s,o,e),this.gridWidth=s.ref,this.gridHeight=o.ref}catch(t){this._errorMessage="string"==typeof t?t:t.message}if(null!=a){this.grid=ke.create(Number,this.gridWidth*this.gridHeight);for(let t=0;t<this.gridHeight;t++){var l=t*this.gridWidth,u=(this.gridHeight-t-1)*this.gridWidth;for(let t=0;t<this.gridWidth;t++)this.grid[u+t]=a[l+t]}}}get matrix(){return this.grid}get width(){return this.gridWidth}get height(){return this.gridHeight}get errorMessage(){return this._errorMessage}dataMatrixPlacementbit(t,e,r,i,n,a,s){i<0&&(i+=e,n+=4-(e+4)%8),n<0&&(n+=r,i+=4-(r+4)%8),t[i*r+n]=(a<<3)+s}dataMatrixPlacementBlock(t,e,r,i,n,a){this.dataMatrixPlacementbit(t,e,r,i-2,n-2,a,7),this.dataMatrixPlacementbit(t,e,r,i-2,n-1,a,6),this.dataMatrixPlacementbit(t,e,r,i-1,n-2,a,5),this.dataMatrixPlacementbit(t,e,r,i-1,n-1,a,4),this.dataMatrixPlacementbit(t,e,r,i-1,n-0,a,3),this.dataMatrixPlacementbit(t,e,r,i-0,n-2,a,2),this.dataMatrixPlacementbit(t,e,r,i-0,n-1,a,1),this.dataMatrixPlacementbit(t,e,r,i-0,n-0,a,0)}dataMatrixPlacementCornerA(t,e,r,i){this.dataMatrixPlacementbit(t,e,r,e-1,0,i,7),this.dataMatrixPlacementbit(t,e,r,e-1,1,i,6),this.dataMatrixPlacementbit(t,e,r,e-1,2,i,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,i,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,i,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,i,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,i,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,i,0)}dataMatrixPlacementCornerB(t,e,r,i){this.dataMatrixPlacementbit(t,e,r,e-3,0,i,7),
this.dataMatrixPlacementbit(t,e,r,e-2,0,i,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,i,5),this.dataMatrixPlacementbit(t,e,r,0,r-4,i,4),this.dataMatrixPlacementbit(t,e,r,0,r-3,i,3),this.dataMatrixPlacementbit(t,e,r,0,r-2,i,2),this.dataMatrixPlacementbit(t,e,r,0,r-1,i,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,i,0)}dataMatrixPlacementCornerC(t,e,r,i){this.dataMatrixPlacementbit(t,e,r,e-3,0,i,7),this.dataMatrixPlacementbit(t,e,r,e-2,0,i,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,i,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,i,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,i,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,i,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,i,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,i,0)}dataMatrixPlacementCornerD(t,e,r,i){this.dataMatrixPlacementbit(t,e,r,e-1,0,i,7),this.dataMatrixPlacementbit(t,e,r,e-1,r-1,i,6),this.dataMatrixPlacementbit(t,e,r,0,r-3,i,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,i,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,i,3),this.dataMatrixPlacementbit(t,e,r,1,r-3,i,2),this.dataMatrixPlacementbit(t,e,r,1,r-2,i,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,i,0)}dataMatrixPlacement(t,e){let r=ke.create(Number,e*t),i=4,n=0,a=1;do{i==t&&0==n&&this.dataMatrixPlacementCornerA(r,t,e,a++),i==t-2&&0==n&&e%4!=0&&this.dataMatrixPlacementCornerB(r,t,e,a++),i==t-2&&0==n&&e%8==4&&this.dataMatrixPlacementCornerC(r,t,e,a++),i==t+4&&2==n&&e%8==0&&this.dataMatrixPlacementCornerD(r,t,e,a++);do{i<t&&0<=n&&0==r[i*e+n]&&this.dataMatrixPlacementBlock(r,t,e,i,n,a++),i-=2,n+=2}while(0<=i&&n<e);i++,n+=3;do{0<=i&&n<e&&0==r[i*e+n]&&this.dataMatrixPlacementBlock(r,t,e,i,n,a++),i+=2,n-=2}while(i<t&&0<=n);i+=3,n++}while(i<t||n<e);return 0==r[t*e-1]&&(r[t*e-1]=r[t*e-e-2]=1),r}makeEcc200Blocks(n,a,t,s){let o=new e(s);var l=Math.floor((a+2)/t);for(let i=0;i<l;i++){let e=ke.create(Number,256),r=0;for(let t=i;t<a;t+=l)e[r++]=n[t];var u=o.encode(r,e);r=s-1;for(let t=i;t<s*l;t+=l)n[a+t]=u[r--]}}dataMatrixEncode(e,t,r,i){let n=0,a=0;var s=Ae.az.StiBarCodeTypeService.unpackTilde(r,this._processTilde);if(s[a]==Ae.az.BarcodeCommandCode.Fnc1&&(e[n++]=f.FNC1,a++),0<s.length)switch(i){case Ae.az.StiDataMatrixEncodingType.C40:case Ae.az.StiDataMatrixEncodingType.Text:case Ae.az.StiDataMatrixEncodingType.X12:var o={res:a},l={res:n};this.encodeCTX(e,t,s,i,o,l),a=o.res,n=l.res;break;case Ae.az.StiDataMatrixEncodingType.Edifact:var o={res:a},l={res:n};this.encodeE(e,t,s,o,l),a=o.res,n=l.res;break;case Ae.az.StiDataMatrixEncodingType.Ascii:var u={res:a},h={res:n};this.encodeA(e,t,s,u,h),a=u.res,n=h.res;break;case Ae.az.StiDataMatrixEncodingType.Binary:var u={res:a},h={res:n};this.encodeB(e,t,s,u,h),a=u.res,n=h.res;break}var r=n;n<t&&i!=Ae.az.StiDataMatrixEncodingType.Ascii&&(e[n++]=f.EscapeToAscii),n<t&&(e[n++]=f.Padding);while(n<t){let t=129+149*(n+1)%253+1;254<t&&(t-=254),e[n++]=t}if(n>t||a<s.length)return 0;return r}encodeB(t,e,r,i,n){let a=i.res,s=n.res;a=0,s=0,t[s++]=f.ModeBinary,r.length<250?t[s++]=r.length:(t[s++]=249+r.length/250,t[s++]=r.length%250);do{t[s]=r[a++]+149*(s+1)%255+1,s++}while(a<r.length&&s<e);i.res=a,n.res=s}encodeA(t,e,r,i,n){let a=i.res,s=n.res;a=0,s=0;do{255<r[a]?(r[a]==Ae.az.BarcodeCommandCode.Fnc1&&(t[s++]=f.FNC1),a++):2<=r.length-a&&c.isDigit(r[a])&&c.isDigit(r[a+1])?(t[s++]=10*(r[a]-"0".charCodeAt(0))+r[a+1]-"0".charCodeAt(0)+130,a+=2):127<r[a]?(t[s++]=235,t[s++]=r[a++]-127):t[s++]=r[a++]+1}while(a<r.length&&s<e);i.res=a,n.res=s}encodeE(e,t,r,i,n){let a=i.res,s=n.res,o=ke.create(Number,4);a=0,s=0,e[s++]=f.ModeEdifact;do{o[0]=0,o[1]=0,o[2]=0,o[3]=0;let t=0;while(a<r.length&&t<4)o[t++]=r[a++];t<4&&(o[t++]=31),e[s]=(63&o[0])<<2,e[s++]|=(48&o[1])>>4,e[s]=(15&o[1])<<4,2==t?s++:(e[s++]|=(60&o[2])>>2,e[s]=(3&o[2])<<6,e[s++]|=63&o[3])}while(a<r.length&&s<t);i.res=a,n.res=s}encodeCTX(r,i,n,a,t,e){let s=t.res,o=e.res,l=ke.create(Number,6),u=0;o=0,s=0;let h="!\"#$%&'()*+,-./:;<=>?@[\\]_"+String.fromCharCode(Ae.az.BarcodeCommandCode.Fnc1),c="",d="";a==Ae.az.StiDataMatrixEncodingType.C40&&(r[o++]=f.ModeC40,d=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",c="`abcdefghijklmnopqrstuvwxyz{|}~"),a==Ae.az.StiDataMatrixEncodingType.Text&&(r[o++]=f.ModeText,d=" 0123456789abcdefghijklmnopqrstuvwxyz",c="`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~"),a==Ae.az.StiDataMatrixEncodingType.X12&&(r[o++]=f.ModeX12,d=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\r*>");do{if(s+1==n.length&&0==u){r[o++]=f.EscapeToAscii;var m={res:s},p={res:o};return this.encodeA(r,i,n,m,p),s=m.res,o=p.res,void(a=Ae.az.StiDataMatrixEncodingType.Ascii)}let t=n[s++];if(0!=(128&t)){if(a==Ae.az.StiDataMatrixEncodingType.X12)throw De.format("Cannot encode char 0x{0:X2} in X12",t);t&=127,l[u++]=1,l[u++]=30}let e=d.indexOf(String.fromCharCode(t));if(0<=e)l[u++]=(e+3)%40;else{if(a==Ae.az.StiDataMatrixEncodingType.X12)throw De.format("Cannot encode char 0x{0:X2} in X12",t);if(t<32)l[u++]=0,l[u++]=t;else if(e=h.indexOf(String.fromCharCode(t)),0<=e)l[u++]=1,l[u++]=e;else{if(e=c.indexOf(String.fromCharCode(t)),!(0<=e))throw De.format("Cannot encode char 0x{0:X2}",t);l[u++]=2,l[u++]=e}}s==n.length&&u%3==2&&(l[u++]=0);while(3<=u){var g=1600*l[0]+40*l[1]+l[2]+1;r[o++]=g>>8,r[o++]=255&g,u-=3,l[0]=l[3],l[1]=l[4],l[2]=l[5],l[3]=0,l[4]=0,l[5]=0}}while(s<n.length&&o<i);t.res=s,e.res=o}static isDigit(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)}static convertStringToBytes(e){let r=ke.create(Number,e.length);for(let t=0;t<e.length;t++)r[t]=e[t].charCodeAt(0);return r}makeGrid(t,e,r,i){var n=e.ref,a=r.ref;let s=n,o=a;var l=ke.create(Number,3200);let u=null,h=0;if(0!=s){for(h=0;h<this.ecc200List.length;h++)if(this.ecc200List[h].width==s&&this.ecc200List[h].height==o)break;if(h==this.ecc200List.length)throw De.format("Invalid size {0}x{1}",s,o)}else{var c=this.dataMatrixEncode(l,1558,t,i);for(h=0;h<this.ecc200List.length;h++)if(c<=this.ecc200List[h].bytes)break;if(h==this.ecc200List.length||0==c&&0<t.length)throw new Error("Cannot find suitable size, barcode too long");s=this.ecc200List[h].width,o=this.ecc200List[h].height}if(0==this.dataMatrixEncode(l,this.ecc200List[h].bytes,t,i)&&0<t.length)throw De.format("Barcode too long for {0}x{1}",s,o);this.makeEcc200Blocks(l,this.ecc200List[h].bytes,this.ecc200List[h].datablock,this.ecc200List[h].rsblock);var d=s-2*(s/this.ecc200List[h].fw),m=o-2*(o/this.ecc200List[h].fh),p=this.dataMatrixPlacement(m,d);u=ke.create(Number,s*o);let g=0,f=0;for(f=0;f<o;f+=this.ecc200List[h].fh){for(g=0;g<s;g++)u[f*s+g]=1;for(g=0;g<s;g+=2)u[(f+this.ecc200List[h].fh-1)*s+g]=1}for(g=0;g<s;g+=this.ecc200List[h].fw){for(f=0;f<o;f++)u[f*s+g]=1;for(f=0;f<o;f+=2)u[f*s+g+this.ecc200List[h].fw-1]=1}for(f=0;f<m;f++)for(g=0;g<d;g++){var S=p[(m-f-1)*d+g];(1==S||7<S&&0!=(l[(S>>3)-1]&1<<(7&S)))&&(u[(1+f+2*Math.floor(f/(this.ecc200List[h].fh-2)))*s+1+g+2*Math.floor(g/(this.ecc200List[h].fw-2))]=1)}return n=s,a=o,e.ref=n,r.ref=a,u}};Ae.az.StiDataMatrix=c;let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=40,e=Ae.az.StiDataMatrixEncodingType.Ascii,r=!1,i=Ae.az.StiDataMatrixSize.Automatic,n=!1){super(),this._module=40,this._height=1,this.encodingType=Ae.az.StiDataMatrixEncodingType.Ascii,this.matrixSize=Ae.az.StiDataMatrixSize.Automatic,this.useRectangularSymbols=!1,this.processTilde=!1,this.module=t,this.encodingType=e,this.useRectangularSymbols=r,this.matrixSize=i,this.processTilde=n}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Height","",1),new ji("Module","",40),new Gi("EncodingType","",Ae.az.StiDataMatrixEncodingType,Ae.az.StiDataMatrixEncodingType.Ascii),new Gi("MatrixSize","",Ae.az.StiDataMatrixSize,Ae.az.StiDataMatrixSize.Automatic),new Wi("UseRectangularSymbols"),new Wi("ProcessTilde")])}get componentId(){return Ae.c.StiComponentId.StiDataMatrixBarCodeType}get serviceName(){return"DataMatrix"}get defaultCodeValue(){return"12345678901"}get module(){return this._module}set module(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)}get height(){return this._height}set height(t){this._height=t}get labelFontHeight(){return this.defaultLabelFontHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t}draw(t,e,r,i){var n=this.getCode(e);this.barCodeData.code=n;var n=new c(n,this.encodingType,this.useRectangularSymbols,this.matrixSize,this.processTilde);this.barCodeData.matrixGrid=n.matrix,this.barCodeData.matrixWidth=n.width,this.barCodeData.matrixHeight=n.height,this.barCodeData.matrixRatioY=1,null==n.errorMessage?this.draw2DBarCode(t,r,e,i):this.drawBarCodeError2(t,r,e,n.errorMessage)}createNew(){return new t}};Ae.az.StiDataMatrixBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1){super(),this.dutchKIXSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",this.dutchKIXCodes=["3300","3210","3201","2310","2301","2211","3120","3030","3021","2130","2121","2031","3102","3012","3003","2112","2103","2013","1320","1230","1221","0330","0321","0231","1302","1212","1203","0312","0303","0213","1122","1032","1023","0132","0123","0033"],this._module=20,this._height=1,this.dutchKIXSpaceLeft=3.9,this.dutchKIXSpaceRight=3.9,this.dutchKIXSpaceTop=3.9,this.dutchKIXSpaceBottom=2,this.dutchKIXLineHeightLong=10,this.dutchKIXLineHeightShort=.62*this.dutchKIXLineHeightLong,this.dutchKIXTextPosition=this.dutchKIXSpaceTop+this.dutchKIXLineHeightLong+this.dutchKIXSpaceBottom+1,this.dutchKIXTextHeight=5,this.dutchKIXMainHeight=this.dutchKIXSpaceTop+this.dutchKIXLineHeightLong+this.dutchKIXSpaceBottom+7,this.dutchKIXLineHeightForCut=this.dutchKIXLineHeightLong,this._module=t,this._height=e}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",20),new ji("Height","_",1)])}get componentId(){return Ae.c.StiComponentId.StiDutchKIXBarCodeType}get serviceName(){return"Royal TPG Post KIX 4-State"}get defaultCodeValue(){return"2500GG30250"}get module(){return this._module}set module(t){(this._module=t)<15&&(this._module=15),25<t&&(this._module=25)}get height(){return this._height}set height(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)}get labelFontHeight(){return this.dutchKIXTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t}get textAlignment(){return Lr.Center}charTo4State(t){var t=this.dutchKIXSymbols.indexOf(t);return this.dutchKIXCodes[t]}stateToBar(e){let r=new Mt;for(let t=0;t<e.length;t++){switch(e[t]){case"0":r.append("c");break;case"1":r.append("d");break;case"2":r.append("e");break;case"3":r.append("f");break}r.append("0")}return r.toString()}makeBarsArray(t,e,r){var i=t.ref,n=e.ref,a=r.ref;let s=new Mt;for(let t=0;t<i.length;t++)s.append(this.charTo4State(i[t]));return n=this.stateToBar(s.toString()),t.ref=i,e.ref=n,r.ref=a,!0}draw(t,e,r,i){var n=this.getCode(e),n,a="";let s="";var o={ref:n=this.checkCodeSymbols(n,this.dutchKIXSymbols)},l={ref:a},u={ref:s};this.makeBarsArray(o,l,u)?(n=o.ref,a=l.ref,s=u.ref,this.calculateSizeFull(this.dutchKIXSpaceLeft,this.dutchKIXSpaceRight,this.dutchKIXSpaceTop,this.dutchKIXSpaceBottom,this.dutchKIXLineHeightShort,this.dutchKIXLineHeightLong,this.dutchKIXTextPosition,this.dutchKIXTextHeight,this.dutchKIXMainHeight,this.dutchKIXLineHeightForCut,1,i,n,n,a,r,e),this.drawBarCode(t,r,e)):0<s.length?this.drawBarCodeError2(t,r,e,s):this.drawBarCodeError(t,r,e)}createNew(){return new t}};Ae.az.StiDutchKIXBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiEAN128AutoBarCodeType}get serviceName(){return"EAN-128 Auto"}get defaultCodeValue(){return"1234567890123"}draw(t,e,r,i){let n=this.getCode(e),a=new Mt;for(let t=0;t<n.length;t++){var s=n.charCodeAt(t);a.append(32<=s&&129!=s?String.fromCharCode(s):String.fromCharCode(8729))}let o=this.encodeAuto(n,!0),l=ke.create(Number,o.length);for(let t=0;t<o.length;t++)l[t]=o.toString().charCodeAt(t);let u=l[0]+l[1];for(let t=0;t<o.length-4;t++)u+=l[t+2]*(t+2);l[l.length-2]=u%103;let h=new Mt;for(let t=0;t<l.length;t++)h.append(this.codeToBar(this.code128Table[l[t]]));var c=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,c,h.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiEAN128AutoBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiEAN128aBarCodeType}get serviceName(){return"EAN-128a"}get defaultCodeValue(){return"ABC123"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+"");let a=new Mt,s=ke.create(Number,n.length+4);s[0]=103,s[1]=102;let o=s[0]+s[1];for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);s[t+2]=32<=l?l-32:l+64,129==l&&(s[t+2]=102),o+=s[t+2]*(t+2),a.append(32<=l&&129!=l?String.fromCharCode(l):String.fromCharCode(8729))}s[s.length-2]=o%103,s[s.length-1]=106;let u=new Mt;for(let t=0;t<s.length;t++)u.append(this.codeToBar(this.code128Table[s[t]]));var h=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,h,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiEAN128aBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiEAN128bBarCodeType}get serviceName(){return"EAN-128b"}get defaultCodeValue(){return"ABCabc123"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+"F"+"");let a=new Mt,s=ke.create(Number,n.length+4);s[0]=104,s[1]=102;let o=s[0]+s[1];for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);s[t+2]=l-32,129==l&&(s[t+2]=102),o+=s[t+2]*(t+2),a.append(129!=l?String.fromCharCode(l):String.fromCharCode(8729))}s[s.length-2]=o%103,s[s.length-1]=106;let u=new Mt;for(let t=0;t<s.length;t++)u.append(this.codeToBar(this.code128Table[s[t]]));var h=a.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,h,u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiEAN128bBarCodeType=t}{let t=class extends Ae.az.StiCode128BarCodeType{get componentId(){return Ae.c.StiComponentId.StiEAN128cBarCodeType}get serviceName(){return"EAN-128c"}get defaultCodeValue(){return"0123456789012345"}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789"+"");let a=[],s=new Mt,o="";for(let t=0;t<n.length;t++){var l=n.charCodeAt(t);129==l?(a.push(o),o="",s.append(String.fromCharCode(8226))):(o+=String.fromCharCode(l),s.append(l))}0<o.length&&a.push(o),0==a.length&&a.push(o);let u=new Mt;for(let t=0;t<a.length;t++){let e=a[t];var h=Math.floor(e.length/2),c;for(let t=0;t<h;t++){var d=parseInt(e.substr(2*t,2));u.append(String.fromCharCode(d))}e.length%2==1&&(u.append(String.fromCharCode(100)),c=e.charCodeAt(e.length-1),u.append(String.fromCharCode(c-32)),t<a.length-1&&u.append(String.fromCharCode(99))),t<a.length-1&&u.append(String.fromCharCode(102))}let m=ke.create(Number,u.length+4);m[0]=105,m[1]=102;for(let t=0;t<u.length;t++)m[t+2]=u.toString().charCodeAt(t);let p=m[0]+m[1];for(let t=0;t<m.length-4;t++)p+=m[t+2]*(t+2);m[m.length-2]=p%103,m[m.length-1]=106;let g=new Mt;for(let t=0;t<m.length;t++)g.append(this.codeToBar(this.code128Table[m[t]]));let f=new Mt;for(let t=0;t<s.length;t++){var S=parseInt(s.toString().substr(t,2));f.append(String.fromCharCode(S)),t++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,n,f.toString(),g.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}constructor(t=13,e=1){super(t,e)}};Ae.az.StiEAN128cBarCodeType=t}{let h=class{constructor(t,e,r,i=!1){this.symbolType=t,this.symbolText=e,this.textAtTop=r,this.makeLonger=i}};Ae.az.EanBarInfo=h;let c;(M=c=Ae.az.Ean13Symbol||(Ae.az.Ean13Symbol={}))[M["ComboA0"]=0]="ComboA0",M[M["ComboA1"]=1]="ComboA1",M[M["ComboA2"]=2]="ComboA2",M[M["ComboA3"]=3]="ComboA3",M[M["ComboA4"]=4]="ComboA4",M[M["ComboA5"]=5]="ComboA5",M[M["ComboA6"]=6]="ComboA6",M[M["ComboA7"]=7]="ComboA7",M[M["ComboA8"]=8]="ComboA8",M[M["ComboA9"]=9]="ComboA9",M[M["ComboB0"]=10]="ComboB0",M[M["ComboB1"]=11]="ComboB1",M[M["ComboB2"]=12]="ComboB2",M[M["ComboB3"]=13]="ComboB3",M[M["ComboB4"]=14]="ComboB4",M[M["ComboB5"]=15]="ComboB5",M[M["ComboB6"]=16]="ComboB6",M[M["ComboB7"]=17]="ComboB7",M[M["ComboB8"]=18]="ComboB8",M[M["ComboB9"]=19]="ComboB9",M[M["ComboC0"]=20]="ComboC0",M[M["ComboC1"]=21]="ComboC1",M[M["ComboC2"]=22]="ComboC2",M[M["ComboC3"]=23]="ComboC3",M[M["ComboC4"]=24]="ComboC4",M[M["ComboC5"]=25]="ComboC5",M[M["ComboC6"]=26]="ComboC6",M[M["ComboC7"]=27]="ComboC7",M[M["ComboC8"]=28]="ComboC8",M[M["ComboC9"]=29]="ComboC9",M[M["GuardLeft"]=30]="GuardLeft",M[M["GuardCenter"]=31]="GuardCenter",M[M["GuardRight"]=32]="GuardRight",M[M["GuardSpecial"]=33]="GuardSpecial",M[M["GuardAddLeft"]=34]="GuardAddLeft",M[M["GuardAddDelineator"]=35]="GuardAddDelineator",M[M["SpaceLeft"]=36]="SpaceLeft",M[M["SpaceRight"]=37]="SpaceRight",M[M["SpaceBeforeAdd"]=38]="SpaceBeforeAdd";let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(),this._module=13,this._height=1,this.supplementType=Ae.az.StiEanSupplementType.None,this.supplementCode=null,this.showQuietZoneIndicator=!0,this.symComboSet=["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],this.symParitySetAdd2=["oo","oe","eo","ee"],this.symParitySetAdd5=["eeooo","eoeoo","eooeo","eoooe","oeeoo","ooeeo","oooee","oeoeo","oeooe","ooeoe"],this.ean13SymData=["2504","1514","1415","0704","0425","0524","0407","0605","0506","2405","0416","0515","1505","0434","1604","0614","3404","1424","2414","1406","6140","5150","5051","4340","4061","4160","4043","4241","4142","6041","808","08080","808","080808","809","08","x","y","z"],this.module=t,this.height=e,this.supplementType=r,this.supplementCode=i,this.showQuietZoneIndicator=n}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new Gi("SupplementType","",Ae.az.StiEanSupplementType,Ae.az.StiEanSupplementType.None),new Ui("SupplementCode"),new Wi("ShowQuietZoneIndicator","",!0)])}get componentId(){return Ae.c.StiComponentId.StiEAN13BarCodeType}get serviceName(){return"EAN-13"}get defaultCodeValue(){return"0123456789012"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t}get module(){return this._module}set module(t){(this._module=t)<10.4&&(this._module=10.4),26<t&&(this._module=26)}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),1<t&&(this._height=1)}get labelFontHeight(){return this.eanTextHeight}get eanSpaceLeft(){return 11}get eanSpaceRight(){return 8}get eanSpaceTop(){return 0}get eanSpaceBottom(){return 1}get eanSpaceBeforeAdd(){return 10}get eanSpaceTextTop(){return 10}get eanLineHeightShort(){return 69.2}get eanLineHeightLong(){return this.eanLineHeightShort+5}get eanTextPositionTop(){return.5}get eanTextPositionBottom(){return this.eanLineHeightShort+this.eanSpaceBottom}get eanTextHeight(){return 8.33}get eanMainHeight(){return 78.58}get eanLineHeightForCut(){return this.eanLineHeightShort}get eanWideToNarrowRatio(){return 2}calculateSizeEan(t,e,r,i,n){this.barCodeData.wideToNarrowRatio=2,this.barCodeData.eanBarsArray=r;let a=new Mt;for(var s of r)a.append(this.ean13SymData[s.symbolType]);var o=this.getSymbolsStringWidth(a.toString());this.rectWindow=new os(0,0,i.width,i.height),n.angle!=rd.Angle90&&n.angle!=rd.Angle270||(this.rectWindow=new os(0,0,i.height,i.width));var l=n.font.size-8+.5,r=this.eanMainHeight+l,i=this.eanTextHeight+l;let u=this.module/10*e;var e=u;let h=this.eanLineHeightForCut*(1-this.height),c=this.eanSpaceTextTop+l;n.autoScale&&(u=this.rectWindow.width/o,h=-(this.rectWindow.height/e-(r+t)),n.showLabelText||(h-=this.eanTextHeight,c-=this.eanTextHeight)),this.barCodeData.fullZoomY=e,this.barCodeData.spaceLeft=this.eanSpaceLeft*u,this.barCodeData.spaceRight=this.eanSpaceRight*u,this.barCodeData.spaceBeforeAdd=this.eanSpaceBeforeAdd*u,this.barCodeData.lineWidth=1*u,this.barCodeData.mainWidth=o*u,this.barCodeData.spaceTop=this.eanSpaceTop*e,this.barCodeData.spaceBottom=this.eanSpaceBottom*e,this.barCodeData.spaceTextTop=c*e,this.barCodeData.lineHeightShort=(this.eanLineHeightShort-h)*e,this.barCodeData.lineHeightLong=(this.eanLineHeightLong-h)*e,this.barCodeData.textPositionTop=this.eanTextPositionTop*e,this.barCodeData.textPositionBottom=(this.eanTextPositionBottom-h)*e,this.barCodeData.mainHeight=(r+t-h)*e,this.barCodeData.textHeight=i*e,this.barCodeData.offsetY=t*e}drawEanBars(i,t,n){var e=new si(n.backColor),a=new si(n.foreColor);this.baseFillRectangle(i,e,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);let s=0;var o=this.barCodeData.offsetY+this.barCodeData.spaceTop;let l=new Mr;var u=new Ar(n.font.name,n.font.size*(n.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,n.font.style,ti.Pixel),h;l.alignment=Lr.Center,l.lineAlignment=Lr.Near;for(h of t){let r=0,e=this.ean13SymData[h.symbolType];h.makeLonger&&(e=this.makeLonger(e));for(let t=0;t<e.length;t++){var c=e[t];if(0==this.isSymbolSpace(c)){let t=this.barCodeData.lineHeightShort;(this.isSymbolLong(c)||h.textAtTop)&&(t=this.barCodeData.lineHeightLong);let e=0;h.textAtTop&&(e=this.barCodeData.spaceTextTop),this.baseFillRectangle(i,a,s+this.barCodeData.lineWidth*r,o+e,this.barCodeData.lineWidth*this.getSymbolWidth(c),t-e)}r+=this.getSymbolWidth(c)}if(n.showLabelText&&" "!=h.symbolText){let t=null;t=h.textAtTop?new os(s,o+this.barCodeData.textPositionTop,r*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop):new os(s,o+this.barCodeData.textPositionBottom,r*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop),this.baseDrawString2(i,h.symbolText.toString(),u,a,t,l)}s+=this.barCodeData.lineWidth*r}}makeEan13Bars(t,e){let r=t.ref,i=ke.create(Number,12);for(let t=0;t<12;t++)i[t]=r.charCodeAt(t)-48;var n;let a=10-(3*(i[1]+i[3]+i[5]+i[7]+i[9]+i[11])+i[0]+i[2]+i[4]+i[6]+i[8]+i[10])%10;10==a&&(a=0),r=r.substr(0,12)+String.fromCharCode(a+48),i[12]=a;let s=[];s.push(new h(c.SpaceLeft,r[0],!1)),s.push(new h(c.GuardLeft," ",!1));var o=i[0];for(let e=0;e<6;e++){var l=i[1+e];let t=new h(c.ComboA0+l,r.charAt(1+e),!1);"0"!=this.symComboSet[o][e]&&(t.symbolType=c.ComboB0+l),s.push(t)}s.push(new h(c.GuardCenter," ",!1));for(let t=0;t<6;t++){var u=i[7+t],u=new h(c.ComboC0+u,r.charAt(7+t),!1);s.push(u)}return s.push(new h(c.GuardRight," ",!1)),e?s.push(new h(c.SpaceRight,this.showQuietZoneIndicator?">":" ",!1)):s.push(new h(c.SpaceBeforeAdd," ",!1)),t.ref=r,s}makeEanAdd2Bars(r,t,e){let i=null!=t?t:[];i.push(new h(c.GuardAddLeft," ",!0));var n=2,a=this.symParitySetAdd2[parseInt(r.substr(0,2))%4];for(let e=0;e<n;e++){var s=parseInt(r[e].toString()),o=a[e];let t=new h(c.ComboA0+s,r[e],!0);"o"!=o&&(t.symbolType=c.ComboB0+s),i.push(t),e<n-1&&i.push(new h(c.GuardAddDelineator," ",!0))}return e?i.push(new h(c.SpaceRight,this.showQuietZoneIndicator?">":" ",!0)):i.push(new h(c.SpaceBeforeAdd," ",!0)),i}makeEanAdd5Bars(r,t,e){let i=null!=t?t:[];i.push(new h(c.GuardAddLeft," ",!0));var t=3*parseInt(r[0].toString())+9*parseInt(r[1].toString())+3*parseInt(r[2].toString())+9*parseInt(r[3].toString())+3*parseInt(r[4].toString()),n=this.symParitySetAdd5[t%10],a=5;for(let e=0;e<a;e++){var s=parseInt(r[e].toString()),o=n[e];let t=new h(c.ComboA0+s,r[e],!0);"o"!=o&&(t.symbolType=c.ComboB0+s),i.push(t),e<a-1&&i.push(new h(c.GuardAddDelineator," ",!0))}return e?i.push(new h(c.SpaceRight,this.showQuietZoneIndicator?">":" ",!0)):i.push(new h(c.SpaceBeforeAdd," ",!0)),i}makeLonger(r){let i=new Mt;for(let e=0;e<r.length;e++){let t=r[e];switch(t){case"4":t="8";break;case"5":t="9";break;case"6":t="a";break;case"7":t="b";break}i.append(t)}return i.toString()}getSymbolWidth(t){let e;switch(t){case"0":case"4":case"8":case"c":case"d":case"e":case"f":e=1;break;case"1":case"5":case"9":e=1*this.eanWideToNarrowRatio;break;case"2":case"6":case"a":e=1.5*this.eanWideToNarrowRatio;break;case"3":case"7":case"b":e=2*this.eanWideToNarrowRatio;break;case"x":e=this.eanSpaceLeft;break;case"y":e=this.eanSpaceRight;break;case"z":e=this.eanSpaceBeforeAdd;break;default:e=1;break}return e}isSymbolSpace(t){let e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;case"x":case"y":case"z":e=!0;break;default:e=!1;break}return e}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789")+"0000000000000";var a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s,s;let o=null;this.supplementType==Ae.az.StiEanSupplementType.None?(s={ref:n},o=this.makeEan13Bars(s,!0),n=s.ref):(s={ref:n},o=this.makeEan13Bars(s,!1),n=s.ref,this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,o,!0):this.makeEanAdd5Bars(a,o,!0)),this.calculateSizeEan(0,i,o,r,e),this.translateRect(t,r,e),this.drawEanBars(t,o,e),this.rollbackTransform(t)}createNew(){return new t}};Ae.az.StiEAN13BarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{get componentId(){return Ae.c.StiComponentId.StiEAN8BarCodeType}get serviceName(){return"EAN-8"}get defaultCodeValue(){return"12345678"}get eanSpaceLeft(){return 7}get eanSpaceRight(){return 7}get eanLineHeightShort(){return 55.2}get eanMainHeight(){return 64.58}makeEan8Bars(e,t){let r=ke.create(Number,8);for(let t=0;t<7;t++)r[t]=parseInt(e.charAt(t));var i;let n=10-(3*(r[0]+r[2]+r[4]+r[6])+r[1]+r[3]+r[5])%10;10==n&&(n=0),e=e.substr(0,7)+String.fromCharCode(n+48);let a=[];a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceLeft,this.showQuietZoneIndicator?"<":" ",!1)),a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardLeft," ",!1));for(let t=0;t<4;t++){var s=parseInt(e.charAt(0+t)),s=new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboA0+s,e.charAt(0+t),!1);a.push(s)}a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardCenter," ",!1));for(let t=0;t<4;t++){var o=parseInt(e.charAt(4+t)),o=new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboC0+o,e.charAt(4+t),!1);a.push(o)}return a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardRight," ",!1)),t?a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceRight,this.showQuietZoneIndicator?">":" ",!1)):a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceBeforeAdd," ",!1)),a}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,"0123456789")+"00000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";let s=[];this.supplementType==Ae.az.StiEanSupplementType.None?s=this.makeEan8Bars(n,!0):(s=this.makeEan8Bars(n,!1),this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,s,!0):this.makeEanAdd5Bars(a,s,!0)),this.calculateSizeEan(0,i,s,r,e),this.translateRect(t,r,e),this.drawEanBars(t,s,e),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiEAN8BarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=31.25,e=1,r=!1){super(),this.fIMSymbols="abcd",this.fIMTable=["4040114011404","40140401404014","40401401401404","404040140140404"],this.defaultFIMModule=31.25,this._module=this.defaultFIMModule,this._height=1,this.addClearZone=!1,this.fIMSpaceTop=0,this.fIMSpaceBottom=0,this.fIMLineHeightShort=20,this.fIMLineHeightLong=this.fIMLineHeightShort,this.fIMTextPosition=0,this.fIMTextHeight=8,this.fIMMainHeight=this.fIMLineHeightShort,this.fIMLineHeightForCut=this.fIMLineHeightShort,this._module=t,this._height=e,this.addClearZone=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",this.defaultFIMModule),new ji("Height","_",1),new Wi("AddClearZone")])}get componentId(){return Ae.c.StiComponentId.StiFIMBarCodeType}get serviceName(){return"FIM"}get defaultCodeValue(){return"A"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[22]=!0,t}get module(){return this._module}set module(t){this._module=this.defaultFIMModule}get height(){return this._height}set height(t){this._height=1}get labelFontHeight(){return this.fIMTextHeight}get fIMSpaceLeft(){return this.addClearZone?16:1}get fIMSpaceRight(){return this.addClearZone?7:1}draw(t,e,r,i){var n=this.getCode(e).toLowerCase(),n;let a="";switch((n=this.checkCodeSymbols(n,this.fIMSymbols)+"a")[0]){case"a":a=this.fIMTable[0];break;case"b":a=this.fIMTable[1];break;case"c":a=this.fIMTable[2];break;case"d":a=this.fIMTable[3];break}this.calculateSizeFull(this.fIMSpaceLeft,this.fIMSpaceRight,this.fIMSpaceTop,this.fIMSpaceBottom,this.fIMLineHeightShort,this.fIMLineHeightLong,this.fIMTextPosition,this.fIMTextHeight,this.fIMMainHeight,this.fIMLineHeightForCut,2,i,n,"",a,r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiFIMBarCodeType=t}{let i=class{constructor(t,e,r,i,n,a,s,o,l){this.AICode=t,this.AILength=e,this.NumericMin=r,this.NumericMax=i,this.CharacterMin=n,this.CharacterMax=a,this.NeedFNC1=s,this.DataTitle=o,this.DataContent=l}},S=class extends Ae.az.StiCode128BarCodeType{constructor(t=13,e=1){super(t,e)}get componentId(){return Ae.c.StiComponentId.StiGS1_128BarCodeType}get serviceName(){return"GS1-128"}get defaultCodeValue(){return"(21)012345(3103)000123"}get textSpacing(){return!1}static getApplicationIdentifierItemByCode(t){let e=this.AICodeToItem.get(t);if(null!=e)return e.stimulsoft().as(i);for(var r of this.GS1ApplicationIdentifiers)if(t.length>=r.AILength&&t.stimulsoft().startsWith(r.AICode))return this.AICodeToItem.set(t,r),r;return null}draw(t,a,s,o){let e=this.getCode(a),r=e.stimulsoft().replaceAll(")","(");r.stimulsoft().startsWith("(")&&(r=r.substr(1));let i=r.split("(");var n=i.length/2|0;let l=new Mt,u=new Mt,h=!1,c=null;if(e.stimulsoft().startsWith("(")||(h=!0,c=De.format("Incorrect data: {0} \r\nThe first bracket is missing.",e)),0==n&&(h=!0,c=De.format("Incorrect data: {0}",e)),!h)for(let t=0;t<n;t++){var d=i[2*t].trim();let r=i[2*t+1].trim();var m=S.getApplicationIdentifierItemByCode(d),p;if(!("01"!=d&&"02"!=d||8!=r.length&&12!=r.length&&13!=r.length)){r=De.fill("0",14-r.length)+r;let e=ke.create(Number,14);for(let t=0;t<14;t++)e[t]=r.charCodeAt(t)-48;let t=10-(e[1]+e[3]+e[5]+e[7]+e[9]+e[11]+3*(e[0]+e[2]+e[4]+e[6]+e[8]+e[10]+e[12]))%10;10==t&&(t=0),r=r.substr(0,13)+String.fromCharCode(t+48)}for(let t=0;t<d.length;t++)if(!Be.isDigit(d,t)){h=!0;break}if(null!=m&&d.length>m.AILength&&(h=!0),h)c=De.format("Incorrect AI: {0}",d);else if(null!=m){var g=m.NumericMin+m.CharacterMin,f=m.NumericMax+m.CharacterMax;if(r.length<g||r.length>f)h=!0,c=De.format("Incorrect data length: ({0}){1}",d,r);else if(0<m.NumericMax){let e=m.NumericMax;m.NumericMin!=m.NumericMax&&(e=r.length);for(let t=0;t<e;t++)if(!Be.isDigit(r,t)){h=!0,c=De.format("Incorrect data: ({0}){1}",d,r);break}}}if(l.append(d+r),t<n-1&&(null==m||m.NeedFNC1)&&l.append(String.fromCharCode(Ae.az.ControlCodes.FNC1)),u.append("("+d+")"+r),t<n-1&&u.append(" "),h)break}if(h&&null==a.codeValue&&a.code.stimulsoft().contains("{")&&(h=!1,l=new Mt(a.code),u=new Mt(a.code)),h)this.drawBarCodeError2(t,s,a,c);else{let e=this.encodeAuto(l.toString(),!0),r=ke.create(Number,e.length);for(let t=0;t<e.length;t++)r[t]=e.charCodeAt(t);let i=r[0]+r[1];for(let t=0;t<e.length-4;t++)i+=r[t+2]*(t+2);r[r.length-2]=i%103;let n=new Mt;for(let t=0;t<r.length;t++)n.append(this.codeToBar(this.code128Table[r[t]]));this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,l.toString(),u.toString(),n.toString(),s,a),this.drawBarCode(t,s,a)}}createNew(){return new S}};S.GS1ApplicationIdentifiers=[new i("00",2,18,18,0,0,!1,"SSCC","Serial Shipping Container Code (SSCC)"),new i("01",2,14,14,0,0,!1,"GTIN","Global Trade Item Number (GTIN)"),new i("02",2,14,14,0,0,!1,"CONTENT","GTIN of contained trade items"),new i("10",2,0,0,0,20,!0,"BATCH/LOT","Batch or lot number"),new i("11",2,6,6,0,0,!1,"PROD DATE","Production date (YYMMDD)"),new i("12",2,6,6,0,0,!1,"DUE DATE","Due date (YYMMDD)"),new i("13",2,6,6,0,0,!1,"PACK DATE","Packaging date (YYMMDD)"),new i("15",2,6,6,0,0,!1,"BEST BEFORE or BEST BY","Best before date (YYMMDD)"),new i("16",2,6,6,0,0,!1,"SELL BY","Sell by date (YYMMDD)"),new i("17",2,6,6,0,0,!1,"USE BY OR EXPIRY","Expiration date (YYMMDD)"),new i("20",2,2,2,0,0,!1,"VARIANT","Variant number"),new i("21",2,0,0,0,20,!0,"SERIAL","Serial number"),new i("240",3,0,0,0,30,!0,"ADDITIONAL ID","Additional item identification"),new i("241",3,0,0,0,30,!0,"CUST. PART NO.","Customer part number"),new i("242",3,0,6,0,0,!0,"MTO VARIANT","Made-to-Order variation number"),new i("243",3,0,0,0,20,!0,"PCN","Packaging component number"),new i("250",3,0,0,0,30,!0,"SECONDARY SERIAL","Secondary serial number"),new i("251",3,0,0,0,30,!0,"REF. TO SOURCE","Reference to source entity"),new i("253",3,13,13,0,17,!0,"GDTI","Global Document Type Identifier (GDTI)"),new i("254",3,0,0,0,20,!0,"GLN EXTENSION COMPONENT","GLN extension component"),new i("255",3,13,25,0,0,!0,"GCN","Global Coupon Number (GCN)"),new i("30",2,0,8,0,0,!0,"VAR. COUNT","Count of items (variable measure trade item)"),new i("310",4,6,6,0,0,!1,"NET WEIGHT (kg)","Net weight, kilograms (variable measure trade item)"),new i("311",4,6,6,0,0,!1,"LENGTH (m)","Length or first dimension, metres (variable measure trade item)"),new i("312",4,6,6,0,0,!1,"WIDTH (m)","Width, diameter, or second dimension, metres (variable measure trade item)"),new i("313",4,6,6,0,0,!1,"HEIGHT (m)","Depth, thickness, height, or third dimension, metres (variable measure trade item)"),new i("314",4,6,6,0,0,!1,"AREA (m2)","Area, square metres (variable measure trade item)"),new i("315",4,6,6,0,0,!1,"NET VOLUME (l)","Net volume, litres (variable measure trade item)"),new i("316",4,6,6,0,0,!1,"NET VOLUME (m3)","Net volume, cubic metres (variable measure trade item)"),new i("320",4,6,6,0,0,!1,"NET WEIGHT (lb)","Net weight, pounds (variable measure trade item)"),new i("321",4,6,6,0,0,!1,"LENGTH (i)","Length or first dimension, inches (variable measure trade item)"),new i("322",4,6,6,0,0,!1,"LENGTH (f)","Length or first dimension, feet (variable measure trade item)"),new i("323",4,6,6,0,0,!1,"LENGTH (y)","Length or first dimension, yards (variable measure trade item)"),new i("324",4,6,6,0,0,!1,"WIDTH (i)","Width, diameter, or second dimension, inches (variable measure trade item)"),new i("325",4,6,6,0,0,!1,"WIDTH (f)","Width, diameter, or second dimension, feet (variable measure trade item)"),new i("326",4,6,6,0,0,!1,"WIDTH (y)","Width, diameter, or second dimension, yards (variable measure trade item)"),new i("327",4,6,6,0,0,!1,"HEIGHT (i)","Depth, thickness, height, or third dimension, inches (variable measure trade item)"),new i("328",4,6,6,0,0,!1,"HEIGHT (f)","Depth, thickness, height, or third dimension, feet (variable measure trade item)"),new i("329",4,6,6,0,0,!1,"HEIGHT (y)","Depth, thickness, height, or third dimension, yards (variable measure trade item)"),new i("330",4,6,6,0,0,!1,"GROSS WEIGHT (kg)","Logistic weight, kilograms"),new i("331",4,6,6,0,0,!1,"LENGTH (m), log","Length or first dimension, metres"),new i("332",4,6,6,0,0,!1,"WIDTH (m), log","Width, diameter, or second dimension, metres"),new i("333",4,6,6,0,0,!1,"HEIGHT (m), log","Depth, thickness, height, or third dimension, metres"),new i("334",4,6,6,0,0,!1,"AREA (m2), log","Area, square metres"),new i("335",4,6,6,0,0,!1,"VOLUME (l), log","Logistic volume, litres"),new i("336",4,6,6,0,0,!1,"VOLUME (m3), log","Logistic volume, cubic metres"),new i("337",4,6,6,0,0,!1,"KG PER m²","Kilograms per square metre"),new i("340",4,6,6,0,0,!1,"GROSS WEIGHT (lb)","Logistic weight, pounds"),new i("341",4,6,6,0,0,!1,"LENGTH (i), log","Length or first dimension, inches"),new i("342",4,6,6,0,0,!1,"LENGTH (f), log","Length or first dimension, feet"),new i("343",4,6,6,0,0,!1,"LENGTH (y), log","Length or first dimension, yards"),new i("344",4,6,6,0,0,!1,"WIDTH (i), log","Width, diameter, or second dimension, inches"),new i("345",4,6,6,0,0,!1,"WIDTH (f), log","Width, diameter, or second dimension, feet"),new i("346",4,6,6,0,0,!1,"WIDTH (y), log","Width, diameter, or second dimension, yard"),new i("347",4,6,6,0,0,!1,"HEIGHT (i), log","Depth, thickness, height, or third dimension, inches"),new i("348",4,6,6,0,0,!1,"HEIGHT (f), log","Depth, thickness, height, or third dimension, feet"),new i("349",4,6,6,0,0,!1,"HEIGHT (y), log","Depth, thickness, height, or third dimension, yards"),new i("350",4,6,6,0,0,!1,"AREA (i2)","Area, square inches (variable measure trade item)"),new i("351",4,6,6,0,0,!1,"AREA (f2)","Area, square feet (variable measure trade item)"),new i("352",4,6,6,0,0,!1,"AREA (y2)","Area, square yards (variable measure trade item)"),new i("353",4,6,6,0,0,!1,"AREA (i2), log","Area, square inches"),new i("354",4,6,6,0,0,!1,"AREA (f2), log","Area, square feet"),new i("355",4,6,6,0,0,!1,"AREA (y2), log","Area, square yards"),new i("356",4,6,6,0,0,!1,"NET WEIGHT (t)","Net weight, troy ounces (variable measure trade item)"),new i("357",4,6,6,0,0,!1,"NET VOLUME (oz)","Net weight (or volume), ounces (variable measure trade item)"),new i("360",4,6,6,0,0,!1,"NET VOLUME (q)","Net volume, quarts (variable measure trade item)"),new i("361",4,6,6,0,0,!1,"NET VOLUME (g)","Net volume, gallons U.S. (variable measure trade item)"),new i("362",4,6,6,0,0,!1,"VOLUME (q), log","Logistic volume, quarts"),new i("363",4,6,6,0,0,!1,"VOLUME (g), log","Logistic volume, gallons U.S."),new i("364",4,6,6,0,0,!1,"VOLUME (i3)","Net volume, cubic inches (variable measure trade item)"),new i("365",4,6,6,0,0,!1,"VOLUME (f3)","Net volume, cubic feet (variable measure trade item)"),new i("366",4,6,6,0,0,!1,"VOLUME (y3)","Net volume, cubic yards (variable measure trade item)"),new i("367",4,6,6,0,0,!1,"VOLUME (i3), log","Logistic volume, cubic inches"),new i("368",4,6,6,0,0,!1,"VOLUME (f3), log","Logistic volume, cubic feet"),new i("369",4,6,6,0,0,!1,"VOLUME (y3), log","Logistic volume, cubic yards"),new i("37",2,0,8,0,0,!0,"COUNT","Count of trade items"),new i("390",4,0,15,0,0,!0,"AMOUNT","Applicable amount payable or Coupon value, local currency"),new i("391",4,3,18,0,0,!0,"AMOUNT","Applicable amount payable with ISO currency code"),new i("392",4,0,15,0,0,!0,"PRICE","Applicable amount payable, single monetary area (variable measure trade item)"),new i("393",4,3,18,0,0,!0,"PRICE","Applicable amount payable with ISO currency code (variable measure trade item)"),new i("394",4,4,4,0,0,!0,"PRCNT OFF","Percentage discount of a coupon"),new i("400",3,0,0,0,30,!0,"ORDER NUMBER","Customer's purchase order number"),new i("401",3,0,0,0,30,!0,"GINC","Global Identification Number for Consignment (GINC)"),new i("402",3,17,17,0,0,!0,"GSIN","Global Shipment Identification Number (GSIN)"),new i("403",3,0,0,0,30,!0,"ROUTE","Routing code"),new i("410",3,13,13,0,0,!1,"SHIP TO LOC","Ship to - Deliver to Global Location Number"),new i("411",3,13,13,0,0,!1,"BILL TO","Bill to - Invoice to Global Location Number"),new i("412",3,13,13,0,0,!1,"PURCHASE FROM","Purchased from Global Location Number"),new i("413",3,13,13,0,0,!1,"SHIP FOR LOC","Ship for - Deliver for - Forward to Global Location Number"),new i("414",3,13,13,0,0,!1,"LOC No","Identification of a physical location - Global Location Number"),new i("415",3,13,13,0,0,!1,"PAY TO","Global Location Number of the invoicing party"),new i("420",3,0,0,0,20,!0,"SHIP TO POST","Ship to - Deliver to postal code within a single postal authority"),new i("421",3,3,3,0,9,!0,"SHIP TO POST","Ship to - Deliver to postal code with ISO country code"),new i("422",3,3,3,0,0,!0,"ORIGIN","Country of origin of a trade item"),new i("423",3,3,15,0,0,!0,"COUNTRY - INITIAL PROCESS.","Country of initial processing"),new i("424",3,3,3,0,0,!0,"COUNTRY - PROCESS.","Country of processing"),new i("425",3,3,3,0,0,!0,"COUNTRY - DISASSEMBLY","Country of disassembly"),new i("426",3,3,3,0,0,!0,"COUNTRY – FULL PROCESS","Country covering full process chain"),new i("427",3,0,0,0,3,!0,"ORIGIN SUBDIVISION","Country subdivision Of origin"),new i("7001",4,13,13,0,0,!0,"NSN","NATO Stock Number (NSN)"),new i("7002",4,0,0,0,30,!0,"MEAT CUT","UN/ECE meat carcasses and cuts classification"),new i("7003",4,10,10,0,0,!0,"EXPIRY TIME","Expiration date and time"),new i("7004",4,0,4,0,0,!0,"ACTIVE POTENCY","Active potency"),new i("7005",4,0,0,0,12,!0,"CATCH AREA","Catch area"),new i("7006",4,6,6,0,0,!0,"FIRST FREEZE DATE","First freeze date"),new i("7007",4,6,12,0,0,!0,"HARVEST DATE","Harvest date"),new i("7008",4,0,0,0,3,!0,"AQUATIC SPECIES","Species for fishery purposes"),new i("7009",4,0,0,0,10,!0,"FISHING GEAR TYPE","Fishing gear type"),new i("7010",4,0,0,0,2,!0,"PROD METHOD","Production method"),new i("703",4,3,3,0,27,!0,"PROCESSOR # s","Number of processor with ISO Country Code"),new i("710",3,0,0,0,20,!0,"NHRN PZN","National Healthcare Reimbursement Number (NHRN) – Germany PZN"),new i("711",3,0,0,0,20,!0,"NHRN CIP","National Healthcare Reimbursement Number (NHRN) – France CIP"),new i("712",3,0,0,0,20,!0,"NHRN CN","National Healthcare Reimbursement Number (NHRN) – Spain CN"),new i("713",3,0,0,0,20,!0,"NHRN DRN","National Healthcare Reimbursement Number (NHRN) – Brasil DRN"),new i("8001",4,14,14,0,0,!0,"DIMENSIONS","Roll products (width, length, core diameter, direction, splices)"),new i("8002",4,0,0,0,20,!0,"CMT No","Cellular mobile telephone identifier"),new i("8003",4,14,14,0,16,!0,"GRAI","Global Returnable Asset Identifier (GRAI)"),new i("8004",4,0,0,0,30,!0,"GIAI","Global Individual Asset Identifier (GIAI)"),new i("8005",4,6,6,0,0,!0,"PRICE PER UNIT","Price per unit of measure"),new i("8006",4,18,18,0,0,!0,"GCTIN","Identification of the components of a trade item"),new i("8007",4,0,0,0,34,!0,"IBAN","International Bank Account Number (IBAN)"),new i("8008",4,8,12,0,0,!0,"PROD TIME","Date and time of production"),new i("8010",4,0,0,0,30,!0,"CPID","Component / Part Identifier (CPID)"),new i("8011",4,0,12,0,0,!0,"CPID SERIAL","Component / Part Identifier serial number (CPID SERIAL)"),new i("8012",4,0,0,0,20,!0,"VERSION","Software version"),new i("8017",4,18,18,0,0,!0,"GSRN - PROVIDER","Global Service Relation Number to identify the relationship between an organisation offering services and the provider of services"),new i("8018",4,18,18,0,0,!0,"GSRN - RECIPIENT","Global Service Relation Number to identify the relationship between an organisation offering services and the recipient of services"),new i("8019",4,0,10,0,0,!0,"SRIN","Service Relation Instance Number (SRIN)"),new i("8020",4,0,0,0,25,!0,"REF No","Payment slip reference number"),new i("8110",4,0,0,0,70,!0,"-","Coupon code identification for use in North America"),new i("8111",4,4,4,0,0,!0,"POINTS","Loyalty points of a coupon"),new i("8200",4,0,0,0,70,!0,"PRODUCT URL","Extended Packaging URL"),new i("90",2,0,0,0,30,!0,"INTERNAL","Information mutually agreed between trading partners"),new i("91",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("92",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("93",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("94",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("95",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("96",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("97",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("98",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new i("99",2,0,0,0,30,!0,"INTERNAL","Company internal information")],S.AICodeToItem=new Dt,Ae.az.StiGS1_128BarCodeType=S}{let g=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=2.5,i=!1){super(),this._module=40,this._height=1,this._ratio=2.5,this.printVerticalBars=!1,this.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],this.itf14BearerBarWidth=2,this.itf14SpaceLeft=10,this.itf14SpaceRight=10,this.itf14SpaceTop=this.itf14BearerBarWidth,this.itf14SpaceBottom=this.itf14BearerBarWidth+1,this.itf14LineHeightShort=31.25,this.itf14LineHeightLong=this.itf14LineHeightShort,this.itf14TextHeight=8.33,this.itf14MainHeight=51.75,this.itf14TextPosition=this.itf14SpaceTop+this.itf14LineHeightShort+this.itf14SpaceBottom,this.itf14LineHeightForCut=this.itf14LineHeightShort,this.module=t,this.height=e,this.ratio=r,this.printVerticalBars=i}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",40),new ji("Height","",1),new ji("Ratio","",2.5),new Wi("PrintVerticalBars")])}get componentId(){return Ae.c.StiComponentId.StiITF14BarCodeType}get serviceName(){return"ITF-14"}get defaultCodeValue(){return"15400141288763"}get module(){return this._module}set module(t){(this._module=t)<10&&(this._module=10),40<t&&(this._module=40),this.ratio=this._ratio}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){(this._ratio=t)<2.25&&(this._ratio=2.25),3<t&&(this._ratio=3)}get labelFontHeight(){return this.itf14TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[14]=!0,t[15]=!0,t}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789")+De.fill("0",14);let a=ke.create(Number,14);for(let t=0;t<14;t++)a[t]=n[t].stimulsoft().toNumber();var s;let o=10-(3*(a[0]+a[2]+a[4]+a[6]+a[8]+a[10]+a[12])+a[1]+a[3]+a[5]+a[7]+a[9]+a[11])%10;10==o&&(o=0),a[13]=o,n=n.substr(0,13)+String.fromCharCode(o+48);let l=new Mt;l.append(this.symTableSet[10]);for(let t=0;t<7;t++){var u=this.symTableSet[a[2*t+0]],h=this.symTableSet[a[2*t+1]],h=u[0]+h[0]+u[1]+h[1]+u[2]+h[2]+u[3]+h[3]+u[4]+h[4];l.append(h)}l.append(this.symTableSet[11]);var c=l.toString(),d;let m=new Mt,p=!0;for(let e=0;e<c.length;e++){let t;t=1==p?"0"==c[e]?"4":"5":"0"==c[e]?"0":"1",m.append(t),p=!p}this.calculateSizeFull(this.itf14SpaceLeft+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceRight+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceTop,this.itf14SpaceBottom,this.itf14LineHeightShort,this.itf14LineHeightLong,this.itf14TextPosition,this.itf14TextHeight,this.itf14MainHeight,this.itf14LineHeightForCut,this.ratio,i,n,n,m.toString(),r,e),this.drawBarCode1(t,r,e,function(t,e,r){r.baseFillRectangle(t,e,0,0,r.barCodeData.mainWidth,r.barCodeData.spaceTop),r.baseFillRectangle(t,e,0,r.barCodeData.spaceTop+r.barCodeData.lineHeightShort,r.barCodeData.mainWidth,r.barCodeData.spaceTop),r.as(g).printVerticalBars&&(r.baseFillRectangle(t,e,0,0,r.barCodeData.spaceTop,r.barCodeData.lineHeightShort+2*r.barCodeData.spaceTop),r.baseFillRectangle(t,e,r.barCodeData.mainWidth-r.barCodeData.spaceTop,0,r.barCodeData.spaceTop,r.barCodeData.lineHeightShort+2*r.barCodeData.spaceTop))})}createNew(){return new g}};Ae.az.StiITF14BarCodeType=g}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(){super(...arguments),this._module=13,this._height=1,this._ratio=2.2,this.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],this.interleaved2of5SpaceLeft=10,this.interleaved2of5SpaceRight=10,this.interleaved2of5SpaceTop=0,this.interleaved2of5SpaceBottom=1,this.interleaved2of5LineHeightShort=40,this.interleaved2of5LineHeightLong=this.interleaved2of5LineHeightShort,this.interleaved2of5TextHeight=8.33,this.interleaved2of5MainHeight=50,this.interleaved2of5TextPosition=this.interleaved2of5LineHeightShort+this.interleaved2of5SpaceBottom,this.interleaved2of5LineHeightForCut=this.interleaved2of5LineHeightShort}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new ji("Ratio","",2.2)])}get componentId(){return Ae.c.StiComponentId.StiInterleaved2of5BarCodeType}get serviceName(){return"2of5 Interleaved"}get defaultCodeValue(){return"12345678"}get module(){return this._module}set module(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40)}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)}get labelFontHeight(){return 8.33}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789"),n.length%2==1&&(n="0"+n);let a=new Mt;if(a.append(this.symTableSet[10]),0<n.length)for(let e=0;e<n.length/2;e++){var s=this.symTableSet[parseInt(n[2*e+0].toString())],o=this.symTableSet[parseInt(n[2*e+1].toString())];let t=new Mt;t.append(s[0]),t.append(o[0]),t.append(s[1]),t.append(o[1]),t.append(s[2]),t.append(o[2]),t.append(s[3]),t.append(o[3]),t.append(s[4]),t.append(o[4]),a.append(t.toString())}a.append(this.symTableSet[11]);let l=!0,u=a.toString(),h=new Mt;for(let e=0;e<u.length;e++){let t;t=1==l?"0"==u.charAt(e)?"4":"5":"0"==u.charAt(e)?"0":"1",h.append(t),l=!l}this.calculateSizeFull(this.interleaved2of5SpaceLeft,this.interleaved2of5SpaceRight,this.interleaved2of5SpaceTop,this.interleaved2of5SpaceBottom,this.interleaved2of5LineHeightShort,this.interleaved2of5LineHeightLong,this.interleaved2of5TextPosition,this.interleaved2of5TextHeight,this.interleaved2of5MainHeight,this.interleaved2of5LineHeightForCut,this.ratio,i,n,n,h.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}StiInterleaved2of5BarCodeType(t=13,e=1,r=2.2){this.module=t,this.height=e,this.ratio=r}};Ae.az.StiInterleaved2of5BarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n),this.isbnOffsetY=10}get componentId(){return Ae.c.StiComponentId.StiIsbn13BarCodeType}get serviceName(){return"ISBN-13"}get defaultCodeValue(){return"978-0-7356-2153-4"}draw(t,e,r,i){var n=this.getCode(e);let a=this.checkCodeSymbols(n,"0123456789")+"0000000000000";var s=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",o,o;let l=[];this.supplementType==Ae.az.StiEanSupplementType.None?(o={ref:a},l=this.makeEan13Bars(o,!0),a=o.ref):(o={ref:a},l=this.makeEan13Bars(o,!1),a=o.ref,this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(s,l,!0):this.makeEanAdd5Bars(s,l,!0)),this.calculateSizeEan(this.isbnOffsetY,i,l,r,e),this.translateRect(t,r,e),this.drawEanBars(t,l,e);var r=new si(e.foreColor);let u=new Mr;var e=new Ar(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,ti.Pixel),n="ISBN "+n;u.lineAlignment=Lr.Center,u.alignment=Lr.Center,this.baseDrawString2(t,n,e,r,new os(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),u),this.rollbackTransform(t)}createNew(){return new t}};Ae.az.StiIsbn13BarCodeType=t}{let t=class extends Ae.az.StiIsbn13BarCodeType{get componentId(){return Ae.c.StiComponentId.StiIsbn10BarCodeType}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t}get serviceName(){return"ISBN-10"}get defaultCodeValue(){return"0-7356-2153-5"}draw(t,e,r,i){var n=this.getCode(e);let a="978"+this.checkCodeSymbols(n,"0123456789")+"0000000000000";var s=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",o,o;let l=[];this.supplementType==Ae.az.StiEanSupplementType.None?(o={ref:a},l=this.makeEan13Bars(o,!0),a=o.ref):(o={ref:a},l=this.makeEan13Bars(o,!1),a=o.ref,this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(s,l,!0):this.makeEanAdd5Bars(s,l,!0)),this.calculateSizeEan(this.isbnOffsetY,i,l,r,e),this.translateRect(t,r,e),this.drawEanBars(t,l,e);var r=new si(e.foreColor);let u=new Mr;var e=new Ar(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,ti.Pixel),n="ISBN "+n;u.lineAlignment=Lr.Center,u.alignment=Lr.Center,this.baseDrawString2(t,n,e,r,new os(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),u),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiIsbn10BarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{get componentId(){return Ae.c.StiComponentId.StiJan13BarCodeType}get serviceName(){return"JAN-13"}get defaultCodeValue(){return"4523456789012"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t}draw(t,e,r,i){var n=this.getCode(e);let a=this.checkCodeSymbols(n,"0123456789")+"0000000000000";var n=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s,s;if(!a.stimulsoft().startsWith("45")&&!a.stimulsoft().startsWith("49"))return void this.drawBarCodeError(t,r,e);let o=[];this.supplementType==Ae.az.StiEanSupplementType.None?(s={ref:a},o=this.makeEan13Bars(s,!0),a=s.ref):(s={ref:a},o=this.makeEan13Bars(s,!1),a=s.ref,this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(n,o,!0):this.makeEanAdd5Bars(n,o,!0)),this.calculateSizeEan(0,i,o,r,e),this.translateRect(t,r,e),this.drawEanBars(t,o,e),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiJan13BarCodeType=t}{let t=class extends Ae.az.StiEAN8BarCodeType{get componentId(){return Ae.c.StiComponentId.StiJan8BarCodeType}get serviceName(){return"JAN-8"}get defaultCodeValue(){return"4523456789012"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t}draw(t,e,r,i){var n=this.getCode(e);let a=this.checkCodeSymbols(n,"0123456789")+"0000000000000";var n=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";if(!a.stimulsoft().startsWith("45")&&!a.stimulsoft().startsWith("49"))return void this.drawBarCodeError(t,r,e);let s=[];this.supplementType==Ae.az.StiEanSupplementType.None?s=this.makeEan8Bars(a,!0):(s=this.makeEan8Bars(a,!1),this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(n,s,!0):this.makeEanAdd5Bars(n,s,!0)),this.calculateSizeEan(0,i,s,r,e),this.translateRect(t,r,e),this.drawEanBars(t,s,e),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiJan8BarCodeType=t}let Rp=Ae.az.StiMaxicodeMode;{let a=class{constructor(e,t,r){this.log=null,this.alog=null,this.rspoly=null;let i=0,n=0;for(n=1;n<=e;n<<=1)i++;n>>=1,i--,this.logmod=(1<<i)-1,this.log=ke.create(Number,this.logmod+1),this.alog=ke.create(Number,this.logmod);let a=1;for(let t=0;t<this.logmod;t++)this.alog[t]=a,this.log[a]=t,a<<=1,0!=(a&n)&&(a^=e);this.rlen=t,this.rspoly=ke.create(Number,t+1),this.rspoly[0]=1;for(let e=1;e<=t;e++){this.rspoly[e]=1;for(let t=e-1;0<t;t--)0!=this.rspoly[t]&&(this.rspoly[t]=this.alog[(this.log[this.rspoly[t]]+r)%this.logmod]),this.rspoly[t]^=this.rspoly[t-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+r)%this.logmod],r++}}encode(e,r){let i=ke.create(Number,this.rlen);for(let t=0;t<e;t++){var n=i[this.rlen-1]^r[t];for(let t=this.rlen-1;0<t;t--)0!=n&&0!=this.rspoly[t]?i[t]=i[t-1]^this.alog[(this.log[n]+this.log[this.rspoly[t]])%this.logmod]:i[t]=i[t-1];0!=n&&0!=this.rspoly[0]?i[0]=this.alog[(this.log[n]+this.log[this.rspoly[0]])%this.logmod]:i[0]=0}return i}},c=class{constructor(t,e,i,n,a){this.structuredAppendPosition=1,this.structuredAppendTotal=1,this.data_Postcode=null,this.data_Country=0,this.data_Service=0,this.content=null,this.eciMode=3,this.codewords=null,this.set=ke.create(Number,144),this.character=ke.create(Number,144),this.grid=ke.create2(Boolean,33,30),this.errorMessage=null;try{if(i<1||8<i)throw new Error("Invalid structured append position: "+i.toString());if(n<1||8<n)throw new Error("Invalid structured append total: "+n.toString());this.mode=e,this.structuredAppendPosition=i,this.structuredAppendTotal=n;let r=a?this.unpackTilde(t):t;if(this.mode==Rp.Mode2||this.mode==Rp.Mode3){let t=null;if(r.stimulsoft().startsWith(c.formatHeader)){if(!r.stimulsoft().endsWith(c.formatTrailer))throw new Error("Unexpected end of input data");t=r.substr(7,2),r=r.substr(9,r.length-11)}let e=this.extractPrimaryParts(r);if(e.length<4)throw new Error("Invalid message format");if(this.data_Postcode=e[0].trim(),this.data_Country=e[1].trim().stimulsoft().toNumber(),isNaN(this.data_Country))throw new Error("Invalid country data");if(this.data_Service=e[2].trim().stimulsoft().toNumber(),isNaN(this.data_Service))throw new Error("Invalid service data");if(this.content=e[3].trim(),null!=t&&(this.content=c.formatHeader+t+this.content+c.formatTrailer),this.mode==Rp.Mode2)for(let t=0;t<this.data_Postcode.length;t++)if(this.data_Postcode[t]<"0"||"9"<this.data_Postcode[t]){this.mode=Rp.Mode3;break}}else this.content=r;this.encode()}catch(t){this.errorMessage=t.message}}get matrix(){return this.gridToMatrix()}getEciEncoding(){if(this.tryCodePage(20127))return 3;return this.tryCodePage(65001),26}tryCodePage(e){try{let t=Ot.getEncoding(e);this.sourceBytes=t.getBytes(this.content);var r=t.getString(this.sourceBytes);if(this.content==r)return!0}catch(t){}return!1}unpackTilde(r){let i=0,n="";while(i<r.length){var t=r[i++];let e=!1;if("~"==t&&i+2<r.length){let t=r.substr(i,3);var a=t.stimulsoft().toNumber();isNaN(a)||0<=a&&a<255&&(n+=String.fromCharCode(a),e=!0,i+=3)}e||(n+=t)}return n}extractPrimaryParts(t){let e=[],r=0,i="";while(r<t.length){var n=t[r++];if(n==c.com_GS){if(e.push(i),3==e.length){e.push(t.substr(r));break}i=""}else i+=n}return 0<i.length&&e.push(i),e}gridToMatrix(){let r=ke.create(Number,33*30);for(let e=0;e<33;e++)for(let t=0;t<30;t++)this.grid[e][t]&&(r[30*e+t]=1);return r}findBestSet(t,e,r,i,n=-1,a=-1,s=-1){var o=this.set[t-1],l=o==r||o==i||o==n||o==a||o==s;if(t+1<e){var t=this.set[t+1],s=t==r||t==i||t==n||t==a||t==s;if(l&&s)return Math.min(o,t);if(l)return o;if(s)return t}else if(l)return o;return r}insertSymbol(e,t){for(let t=143;t>e;t--)this.set[t]=this.set[t-1],this.character[t]=this.character[t-1];this.character[e]=t}processTextToSymbols(){let e=this.sourceBytes.length,r,i;if(138<e)return!1;for(let t=0;t<144;t++)this.set[t]=-1,this.character[t]=0;for(let t=0;t<e;t++)this.set[t]=c.codeSet_Map[this.sourceBytes[t]],this.character[t]=c.charToSym_Map[this.sourceBytes[t]];for(0==this.set[0]&&(13==this.character[0]&&(this.character[0]=0),this.set[0]=1),r=1;r<e;r++)0==this.set[r]&&(13==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,5),5==this.set[r]?this.character[r]=13:this.character[r]=0):28==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=32)):29==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=33)):30==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=34)):32==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),1==this.set[r]?this.character[r]=32:2==this.set[r]?this.character[r]=47:this.character[r]=59):44==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=48)):46==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=49)):47==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=50)):58==this.character[r]&&(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=51)));for(r=e;r<this.set.length;r++)2==this.set[e-1]?this.set[r]=2:this.set[r]=1,this.character[r]=33;i=this.mode==Rp.Mode2||this.mode==Rp.Mode3?9:0;let t=0;for(r=i;r<143;r++)1==this.set[r]&&48<=this.character[r]&&this.character[r]<=57?t++:t=0,9==t&&(this.set[r]=6,this.set[r-1]=6,this.set[r-2]=6,this.set[r-3]=6,this.set[r-4]=6,this.set[r-5]=6,this.set[r-6]=6,this.set[r-7]=6,this.set[r-8]=6,t=0);let n=1;r=0;do{if(this.set[r]!=n&&6!=this.set[r]){switch(this.set[r]){case 1:r+1<this.set.length&&1==this.set[r+1]?r+2<this.set.length&&1==this.set[r+2]?r+3<this.set.length&&1==this.set[r+3]?(this.insertSymbol(r,63),n=1,e++,r+=3):(this.insertSymbol(r,57),e++,r+=2):(this.insertSymbol(r,56),e++,r++):(this.insertSymbol(r,59),e++);break;case 2:r+1<this.set.length&&2==this.set[r+1]?(this.insertSymbol(r,63),n=2,e++,r++):(this.insertSymbol(r,59),e++);break;case 3:r+3<this.set.length&&3==this.set[r+1]&&3==this.set[r+2]&&3==this.set[r+3]?(this.insertSymbol(r,60),this.insertSymbol(r,60),n=3,e++,r+=3):(this.insertSymbol(r,60),e++);break;case 4:r+3<this.set.length&&4==this.set[r+1]&&4==this.set[r+2]&&4==this.set[r+3]?(this.insertSymbol(r,61),this.insertSymbol(r,61),n=4,e++,r+=3):(this.insertSymbol(r,61),e++);break;case 5:r+3<this.set.length&&5==this.set[r+1]&&5==this.set[r+2]&&5==this.set[r+3]?(this.insertSymbol(r,62),this.insertSymbol(r,62),n=5,e++,r+=3):(this.insertSymbol(r,62),e++);break;default:throw new Error("Encoding: unexpected set "+this.set[r].toString()+" at index "+r.toString()+".")}r++}r++}while(r<this.set.length);r=0;do{if(6==this.set[r]){let t=0;for(i=0;i<9;i++)t*=10,t+=this.character[r+i]-"0".charCodeAt(0);for(this.character[r]=31,this.character[r+1]=(1056964608&t)>>24,this.character[r+2]=(16515072&t)>>18,this.character[r+3]=(258048&t)>>12,this.character[r+4]=(4032&t)>>6,this.character[r+5]=63&t,r+=6,i=r;i<140;i++)this.set[i]=this.set[i+3],this.character[i]=this.character[i+3];e-=3}else r++}while(r<this.set.length);if(3!=this.eciMode&&(this.insertSymbol(0,27),this.insertSymbol(1,31&this.eciMode),e+=2),(this.mode==Rp.Mode2||this.mode==Rp.Mode3)&&84<e)return!1;if((this.mode==Rp.Mode4||this.mode==Rp.Mode6)&&93<e)return!1;if(this.mode==Rp.Mode5&&77<e)return!1;return!0}static getErrorCorrectionCodewords(t,e){let r=new a(67,e,1);var i=r.encode(t.length,t);let n=ke.create(Number,e);for(let t=0;t<e;t++)n[t]=i[e-1-t];return n}getPrimaryCodewords(){return this.mode==Rp.Mode2?c.getMode2PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service):c.getMode3PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service)}static getMode2PrimaryCodewords(t,e,r){var i=t.stimulsoft().toNumber();let n=ke.create(Number,10);return n[0]=(3&i)<<4|2,n[1]=(252&i)>>2,n[2]=(16128&i)>>8,n[3]=(1032192&i)>>14,n[4]=(66060288&i)>>20,n[5]=(1006632960&i)>>26|(3&t.length)<<4,n[6]=(60&t.length)>>2|(3&e)<<4,n[7]=(252&e)>>2,n[8]=(768&e)>>8|(15&r)<<2,n[9]=(1008&r)>>4,n}static getMode3PrimaryCodewords(e,t,r){let i=ke.create(Number,e.length);e=e.toUpperCase();for(let t=0;t<i.length;t++)i[t]=e[t].charCodeAt(0),"A"<=e[t]&&e[t]<="Z"&&(i[t]-=64),(27==i[t]||31==i[t]||33==i[t]||59<=i[t])&&(i[t]=32);let n=ke.create(Number,10);return n[0]=(3&i[5])<<4|3,n[1]=(3&i[4])<<4|(60&i[5])>>2,n[2]=(3&i[3])<<4|(60&i[4])>>2,n[3]=(3&i[2])<<4|(60&i[3])>>2,n[4]=(3&i[1])<<4|(60&i[2])>>2,n[5]=(3&i[0])<<4|(60&i[1])>>2,n[6]=(60&i[0])>>2|(3&t)<<4,n[7]=(252&t)>>2,n[8]=(768&t)>>8|(15&r)<<2,n[9]=(1008&r)>>4,n}encode(){if(this.eciMode=this.getEciEncoding(),!this.processTextToSymbols())throw new Error("Input data too long");if(this.codewords=[],this.codewords.stimulsoft().addRange(this.character),this.mode==Rp.Mode2||this.mode==Rp.Mode3?this.codewords.splice(0,0,this.getPrimaryCodewords()):this.codewords.stimulsoft().insert(0,this.mode),1<this.structuredAppendTotal){let t=ke.create(Number,2);t[0]=33,t[1]=this.structuredAppendPosition-1<<3|this.structuredAppendTotal-1;let e;e=this.mode==Rp.Mode2||this.mode==Rp.Mode3?10:1,this.codewords.splice(e,0,t)}let t,e;e=this.mode==Rp.Mode5?(t=68,56):(t=84,40);var r=t+10;this.codewords.length>r&&this.codewords.stimulsoft().removeRange(r,this.codewords.length-r);var r=ke.create(Number,10);ke.copy(this.codewords.stimulsoft().toArray(),0,r,10),this.codewords=this.codewords.slice(0,10).concat(c.getErrorCorrectionCodewords(r,10)).concat(this.codewords.slice(10));var i=ke.create(Number,this.codewords.length-20);this.codewords.slice(20).stimulsoft().copyTo(i);let n=ke.create(Number,i.length/2),a=ke.create(Number,i.length/2);for(let t=0;t<i.length;t++)0!=(1&t)?n[(t-1)/2]=i[t]:a[t/2]=i[t];var s=c.getErrorCorrectionCodewords(n,e/2),o=c.getErrorCorrectionCodewords(a,e/2);for(let t=0;t<o.length;t++)this.codewords.push(o[t]),this.codewords.push(s[t]);let l=ke.create(Number,7);for(let e=0;e<33;e++)for(let t=0;t<30;t++){var u=Math.floor((c.grid_Map[30*e+t]+5)/6),h=(c.grid_Map[30*e+t]+5)%6;0!=u&&(l[0]=(32&this.codewords[u-1])>>5,l[1]=(16&this.codewords[u-1])>>4,l[2]=(8&this.codewords[u-1])>>3,l[3]=(4&this.codewords[u-1])>>2,l[4]=(2&this.codewords[u-1])>>1,l[5]=1&this.codewords[u-1],0!=l[h]?this.grid[e][t]=!0:this.grid[e][t]=!1)}this.grid[0][28]=!0,this.grid[0][29]=!0,this.grid[9][10]=!0,this.grid[9][11]=!0,this.grid[10][11]=!0,this.grid[15][7]=!0,this.grid[16][8]=!0,this.grid[16][20]=!0,this.grid[17][20]=!0,this.grid[22][10]=!0,this.grid[23][10]=!0,this.grid[22][17]=!0,this.grid[23][17]=!0}};c.com_RS=String.fromCharCode(30),c.com_GS=String.fromCharCode(29),c.formatHeader="[)>"+c.com_RS+"01"+c.com_GS,c.formatTrailer=""+c.com_RS+String.fromCharCode(4),c.grid_Map=[122,121,128,127,134,133,140,139,146,145,152,151,158,157,164,163,170,169,176,175,182,181,188,187,194,193,200,199,0,0,124,123,130,129,136,135,142,141,148,147,154,153,160,159,166,165,172,171,178,177,184,183,190,189,196,195,202,201,817,0,126,125,132,131,138,137,144,143,150,149,156,155,162,161,168,167,174,173,180,179,186,185,192,191,198,197,204,203,819,818,284,283,278,277,272,271,266,265,260,259,254,253,248,247,242,241,236,235,230,229,224,223,218,217,212,211,206,205,820,0,286,285,280,279,274,273,268,267,262,261,256,255,250,249,244,243,238,237,232,231,226,225,220,219,214,213,208,207,822,821,288,287,282,281,276,275,270,269,264,263,258,257,252,251,246,245,240,239,234,233,228,227,222,221,216,215,210,209,823,0,290,289,296,295,302,301,308,307,314,313,320,319,326,325,332,331,338,337,344,343,350,349,356,355,362,361,368,367,825,824,292,291,298,297,304,303,310,309,316,315,322,321,328,327,334,333,340,339,346,345,352,351,358,357,364,363,370,369,826,0,294,293,300,299,306,305,312,311,318,317,324,323,330,329,336,335,342,341,348,347,354,353,360,359,366,365,372,371,828,827,410,409,404,403,398,397,392,391,80,79,0,0,14,13,38,37,3,0,45,44,110,109,386,385,380,379,374,373,829,0,412,411,406,405,400,399,394,393,82,81,41,0,16,15,40,39,4,0,0,46,112,111,388,387,382,381,376,375,831,830,414,413,408,407,402,401,396,395,84,83,42,0,0,0,0,0,6,5,48,47,114,113,390,389,384,383,378,377,832,0,416,415,422,421,428,427,104,103,56,55,17,0,0,0,0,0,0,0,21,20,86,85,434,433,440,439,446,445,834,833,418,417,424,423,430,429,106,105,58,57,0,0,0,0,0,0,0,0,23,22,88,87,436,435,442,441,448,447,835,0,420,419,426,425,432,431,108,107,60,59,0,0,0,0,0,0,0,0,0,24,90,89,438,437,444,443,450,449,837,836,482,481,476,475,470,469,49,0,31,0,0,0,0,0,0,0,0,0,0,1,54,53,464,463,458,457,452,451,838,0,484,483,478,477,472,471,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,466,465,460,459,454,453,840,839,486,485,480,479,474,473,52,51,32,0,0,0,0,0,0,0,0,0,0,2,0,43,468,467,462,461,456,455,841,0,488,487,494,493,500,499,98,97,62,61,0,0,0,0,0,0,0,0,0,27,92,91,506,505,512,511,518,517,843,842,490,489,496,495,502,501,100,99,64,63,0,0,0,0,0,0,0,0,29,28,94,93,508,507,514,513,520,519,844,0,492,491,498,497,504,503,102,101,66,65,18,0,0,0,0,0,0,0,19,30,96,95,510,509,516,515,522,521,846,845,560,559,554,553,548,547,542,541,74,73,33,0,0,0,0,0,0,11,68,67,116,115,536,535,530,529,524,523,847,0,562,561,556,555,550,549,544,543,76,75,0,0,8,7,36,35,12,0,70,69,118,117,538,537,532,531,526,525,849,848,564,563,558,557,552,551,546,545,78,77,0,34,10,9,26,25,0,0,72,71,120,119,540,539,534,533,528,527,850,0,566,565,572,571,578,577,584,583,590,589,596,595,602,601,608,607,614,613,620,619,626,625,632,631,638,637,644,643,852,851,568,567,574,573,580,579,586,585,592,591,598,597,604,603,610,609,616,615,622,621,628,627,634,633,640,639,646,645,853,0,570,569,576,575,582,581,588,587,594,593,600,599,606,605,612,611,618,617,624,623,630,629,636,635,642,641,648,647,855,854,728,727,722,721,716,715,710,709,704,703,698,697,692,691,686,685,680,679,674,673,668,667,662,661,656,655,650,649,856,0,730,729,724,723,718,717,712,711,706,705,700,699,694,693,688,687,682,681,676,675,670,669,664,663,658,657,652,651,858,857,732,731,726,725,720,719,714,713,708,707,702,701,696,695,690,689,684,683,678,677,672,671,666,665,660,659,654,653,859,0,734,733,740,739,746,745,752,751,758,757,764,763,770,769,776,775,782,781,788,787,794,793,800,799,806,805,812,811,861,860,736,735,742,741,748,747,754,753,760,759,766,765,772,771,778,777,784,783,790,789,796,795,802,801,808,807,814,813,862,0,738,737,744,743,750,749,756,755,762,761,768,767,774,773,780,779,786,785,792,791,798,797,804,803,810,809,816,815,864,863],c.codeSet_Map=[5,5,5,5,5,5,5,5,5,5,5,5,5,0,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,5,0,2,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,4,5,5,5,5,5,5,4,5,3,4,3,5,5,4,4,3,3,3,4,3,5,4,4,3,3,4,3,3,3,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],c.charToSym_Map=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,30,28,29,30,35,32,53,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,37,38,39,40,41,52,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,42,43,44,45,46,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,54,34,35,36,48,49,50,51,52,53,54,55,56,57,47,48,49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,55,56,57,36,37,37,38,39,40,41,42,43,38,44,37,39,38,45,46,40,41,39,40,41,42,42,47,43,44,43,44,45,45,46,47,46,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,36,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,36];let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=Rp.Mode4,e=1,r=1,i=!0){super(),this.mode=Rp.Mode4,this.processTilde=!0,this.structuredAppendPosition=1,this.structuredAppendTotal=1,this.mode=t,this.structuredAppendPosition=e,this.structuredAppendTotal=r,this.processTilde=i}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Mode","",Rp,Rp.Mode4),new ji("StructuredAppendPosition","",1),new ji("StructuredAppendTotal","",1),new Wi("ProcessTilde","",!0)])}get componentId(){return Ae.c.StiComponentId.StiMaxicodeBarCodeType}get serviceName(){return"Maxicode"}get defaultCodeValue(){return"ABC abc 123"}get module(){return 10}set module(t){}get height(){return 1}set innerHeight(t){}get labelFontHeight(){return this.defaultLabelFontHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t}draw(t,e,r,i){var n=this.getCode(e);this.barCodeData.code=n;var n=new c(n,this.mode,this.structuredAppendPosition,this.structuredAppendTotal,this.processTilde);this.barCodeData.matrixGrid=n.matrix,null==n.errorMessage?this.drawMaxicode(t,r,e,i):this.drawBarCodeError2(t,r,e,n.errorMessage)}createNew(){return new t}};Ae.az.StiMaxicodeBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=8,e=1,r=Ae.az.StiPlesseyCheckSum.None,i=Ae.az.StiPlesseyCheckSum.None){super(),this.plesseySymbols="0123456789ABCDEF",this.plesseyTable=["0000","1000","0100","1100","0010","1010","0110","1110","0001","1001","0101","1101","0011","1011","0111","1111"],this.plesseyStartCode="1101",this.plesseyStopCode="11",this._module=8,this._height=1,this._checkSum1=Ae.az.StiPlesseyCheckSum.None,this._checkSum2=Ae.az.StiPlesseyCheckSum.None,this.plesseySpaceLeft=4*5,this.plesseySpaceRight=4*5,this.plesseySpaceTop=0,this.plesseySpaceBottom=1,this.plesseyLineHeightShort=70,this.plesseyLineHeightLong=this.plesseyLineHeightShort,this.plesseyTextPosition=this.plesseyLineHeightShort+this.plesseySpaceBottom,this.plesseyTextHeight=11.5,this.plesseyMainHeight=84,this.plesseyLineHeightForCut=this.plesseyLineHeightShort,this._module=t,this._height=e,this._checkSum1=r,this._checkSum2=i}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",8),new ji("Height","_",1),new Gi("CheckSum1","_",Ae.az.StiPlesseyCheckSum,Ae.az.StiPlesseyCheckSum.None),new Gi("CheckSum2","_",Ae.az.StiPlesseyCheckSum,Ae.az.StiPlesseyCheckSum.None)])}get componentId(){return Ae.c.StiComponentId.StiPlesseyBarCodeType}get serviceName(){return"Plessey"}get defaultCodeValue(){return"1234567"}get module(){return this._module}set module(t){(this._module=t)<1&&(this._module=1),40<t&&(this._module=40)}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get checkSum1(){return this._checkSum1}set checkSum1(t){this._checkSum1=t,this._checkSum1==Ae.az.StiPlesseyCheckSum.None&&(this.checkSum2=Ae.az.StiPlesseyCheckSum.None)}get checkSum2(){return this._checkSum2}set checkSum2(t){this._checkSum2=t,this._checkSum2!=Ae.az.StiPlesseyCheckSum.None&&this.checkSum1==Ae.az.StiPlesseyCheckSum.None&&(this.checkSum1=Ae.az.StiPlesseyCheckSum.Modulo10)}get labelFontHeight(){return this.plesseyTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[4]=!0,t[5]=!0,t[11]=!0,t[13]=!0,t}codeToBar(r){let i=new Mt;for(let e=0;e<r.length;e++){let t=new Mt;"1"==r[e]?t.append("71"):t.append("53"),i.append(t)}return i.toString()}draw(t,e,r,i){let s=this.getCode(e);s=this.checkCodeSymbols(s,this.plesseySymbols);let n=new Mt(s),a=s.length;this.checkSum1!=Ae.az.StiPlesseyCheckSum.None&&a++,this.checkSum2!=Ae.az.StiPlesseyCheckSum.None&&a++;let o=ke.create(Number,a);for(let t=0;t<s.length;t++)o[t]=this.plesseySymbols.indexOf(s.charAt(t));if(this.checkSum1!=Ae.az.StiPlesseyCheckSum.None){let a=0;if(this.checkSum1==Ae.az.StiPlesseyCheckSum.Modulo10){let e=0,r=0,i=1,n=!1;for(let t=s.length-1;0<=t;t--)0==n?(e+=o[t]*i,i*=10):r+=o[t],n=!n;e*=2;let t=0;while(10<=e)t+=e%10,e=Math.floor(e/10);t+=e,a=(t+r)%10,0!=a&&(a=10-a)}if(this.checkSum1==Ae.az.StiPlesseyCheckSum.Modulo11){let e=0,r=2;for(let t=s.length-1;0<=t;t--)e+=o[t]*r,r++,7<r&&(r=2);a=e%11,0!=a&&(a=11-a)}o[s.length]=a,n.append(this.plesseySymbols[a])}if(this.checkSum2!=Ae.az.StiPlesseyCheckSum.None){let a=0;if(this.checkSum2==Ae.az.StiPlesseyCheckSum.Modulo10){let e=0,r=0,i=1,n=!1;for(let t=s.length;0<=t;t--)0==n?(e+=o[t]*i,i*=10):r+=o[t],n=!n;e*=2;let t=0;while(10<=e)t+=e%10,e=Math.floor(e/10);t+=e,a=(t+r)%10,0!=a&&(a=10-a)}if(this.checkSum2==Ae.az.StiPlesseyCheckSum.Modulo11){let e=0,r=2;for(let t=s.length;0<=t;t--)e+=o[t]*r,r++,7<r&&(r=2);a=e%11,0!=a&&(a=11-a)}o[s.length+1]=a,n.append(this.plesseySymbols[a])}let l=new Mt;l.append(this.plesseyStartCode);for(let t=0;t<o.length;t++)l.append(this.plesseyTable[o[t]]);l.append(this.plesseyStopCode);let u=new Mt(this.codeToBar(l.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,i,s,n.toString(),u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiPlesseyBarCodeType=t}{let t=class extends Ae.az.StiPlesseyBarCodeType{constructor(t=8,e=1,r=Ae.az.StiPlesseyCheckSum.Modulo10,i=Ae.az.StiPlesseyCheckSum.None){super(t,e,r,i),this.msiTable=["0000","0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111"],this.msiStartCode="1",this.msiStopCode="00"}get componentId(){return Ae.c.StiComponentId.StiMsiBarCodeType}get serviceName(){return"Msi"}get defaultCodeValue(){return"1234567"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[4]=!0,t[5]=!0,t[11]=!0,t[13]=!0,t}codeToBarMsi(r){let i=new Mt;for(let e=0;e<r.length;e++){let t=new Mt;"1"==r[e]?t.append("71"):t.append("53"),i.append(t)}return i.toString()}draw(t,e,r,i){let s=this.getCode(e);s=this.checkCodeSymbols(s,this.plesseySymbols);let n=new Mt(s),a=s.length;this.checkSum1!=Ae.az.StiPlesseyCheckSum.None&&a++,this.checkSum2!=Ae.az.StiPlesseyCheckSum.None&&a++;let o=ke.create(Number,a);for(let t=0;t<s.length;t++)o[t]=this.plesseySymbols.indexOf(s.charAt(t));if(this.checkSum1!=Ae.az.StiPlesseyCheckSum.None){let a=0;if(this.checkSum1==Ae.az.StiPlesseyCheckSum.Modulo10){let e=0,r=0,i=1,n=!1;for(let t=s.length-1;0<=t;t--)0==n?(e+=o[t]*i,i*=10):r+=o[t],n=!n;e*=2;let t=0;while(10<=e)t+=e%10,e=Math.floor(e/10);t+=e,a=(t+r)%10,0!=a&&(a=10-a)}if(this.checkSum1==Ae.az.StiPlesseyCheckSum.Modulo11){let e=0,r=2;for(let t=s.length-1;0<=t;t--)e+=o[t]*r,r++,7<r&&(r=2);a=e%11,0!=a&&(a=11-a)}o[s.length]=a,n.append(this.plesseySymbols[a])}if(this.checkSum2!=Ae.az.StiPlesseyCheckSum.None){let a=0;if(this.checkSum2==Ae.az.StiPlesseyCheckSum.Modulo10){let e=0,r=0,i=1,n=!1;for(let t=s.length;0<=t;t--)0==n?(e+=o[t]*i,i*=10):r+=o[t],n=!n;e*=2;let t=0;while(10<=e)t+=e%10,e=Math.floor(e/10);t+=e,a=(t+r)%10,0!=a&&(a=10-a)}if(this.checkSum2==Ae.az.StiPlesseyCheckSum.Modulo11){let e=0,r=2;for(let t=s.length;0<=t;t--)e+=o[t]*r,r++,7<r&&(r=2);a=e%11,0!=a&&(a=11-a)}o[s.length+1]=a,n.append(this.plesseySymbols[a])}let l=new Mt;l.append(this.msiStartCode);for(let t=0;t<o.length;t++)l.append(this.msiTable[o[t]]);l.append(this.msiStopCode);let u=new Mt(this.codeToBarMsi(l.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,i,s,n.toString(),u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiMsiBarCodeType=t}{let b;(H=b=b||{})[H["Text"]=0]="Text",H[H["Numeric"]=1]="Numeric",H[H["Byte"]=2]="Byte";let y;(V=y=y||{})[V["TextMode"]=900]="TextMode",V[V["NumericMode"]=902]="NumericMode",V[V["ByteMode"]=901]="ByteMode",V[V["ByteMode6"]=924]="ByteMode6";let m;(ft=m=m||{})[ft["None"]=0]="None",ft[ft["Upper"]=1]="Upper",ft[ft["Lower"]=2]="Lower",ft[ft["Mixed"]=4]="Mixed",ft[ft["Punctuation"]=8]="Punctuation";let p;(Z=p=p||{})[Z["None"]=-1]="None",Z[Z["Punctuation"]=25]="Punctuation",Z[Z["Space"]=26]="Space",Z[Z["Lower"]=27]="Lower",Z[Z["TempUpper"]=27]="TempUpper",Z[Z["Mixed"]=28]="Mixed",Z[Z["UpperFromMixed"]=28]="UpperFromMixed",Z[Z["TempPunctuation"]=29]="TempPunctuation",Z[Z["UpperFromPunctuation"]=29]="UpperFromPunctuation";let i=class{constructor(t,e,r){this.type=t,this.start=e,this.length=r}},v=class{constructor(){this.list=[]}addSegment(t,e,r){this.list.push(new i(t,e,r))}getSegment(t){return this.list[t]}get size(){return this.list.length}},u=class{constructor(s,o,l=Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic,t=0,e=0,u=!0,h=!0,c=1,d=3){this.max_data_codewords=926,this.codeWordLength=17,this.startPatternCode=130728,this.stopPatternCode=260649,this.matrix=null,this.text=null,this.codewords=null,this._errorMessage=null,this.codeColumns=1,this.codeRows=3,this.errorLevel=0,this.aspectRatio=1,this.ratioY=3,this.codeColumns=t,this.codeRows=e,this.aspectRatio=c,this.ratioY=d,l!=Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=l),this.codewords=ke.create(Number,2*this.max_data_codewords+2);try{if(null==s)throw new Error("Input data cannot be null.");this.text=ke.create(Number,s.length);for(let t=0;t<s.length;t++){if(255<s[t].charCodeAt(0))throw new Error("Input data not valid for this barcode.");this.text[t]=s[t].charCodeAt(0)}let t=new v;switch(o){case Ae.az.StiPdf417EncodingMode.Text:for(let t=0;t<this.text.length;t++){var m=this.text[t];if(32<=m&&m<=127||9==m||10==m||13==m)continue;throw new Error("Input data not valid for current encoding mode.")}t.addSegment(b.Text,0,this.text.length);break;case Ae.az.StiPdf417EncodingMode.Numeric:for(let t=0;t<this.text.length;t++){if(this.text[t]>="0".charCodeAt(0)&&this.text[t]<="9".charCodeAt(0))continue;throw new Error("Input data not valid for current encoding mode.")}t.addSegment(b.Numeric,0,this.text.length);break;case Ae.az.StiPdf417EncodingMode.Byte:t.addSegment(b.Byte,0,this.text.length);break}let e=this.dataCompaction(t);t=null;let r=e;if(r>this.max_data_codewords)throw new Error("Too many data.");var p=this.max_data_codewords+2-r;let i=8,n=512;while(0<i){if(p>=n)break;i--,n>>=1}if(l==Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=5,r<=320&&(this.errorLevel=4),r<=160&&(this.errorLevel=3),r<=40&&(this.errorLevel=2)),this.errorLevel>i)throw new Error("Too many data - \r\n No space for error correction.");var g=2<<this.errorLevel,f=r+g;if(u&&h){var S=(Math.sqrt(f*d*c*4/17+16)-4)/2;this.codeColumns=Ne.trunc(S+.5),this.codeColumns<1&&(this.codeColumns=1),30<this.codeColumns&&(this.codeColumns=30),this.codeRows=Math.floor((f-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),90<this.codeRows&&(this.codeRows=90,this.codeColumns=Math.floor((f-1)/this.codeRows)+1)}else if(u)this.codeColumns=Math.floor((f-1)/this.codeRows)+1,this.codeColumns<1&&(this.codeColumns=1),30<this.codeColumns&&(this.codeColumns=30,this.codeRows=Math.floor((f-1)/this.codeColumns)+1);else if(h)this.codeRows=Math.floor((f-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),90<this.codeRows&&(this.codeRows=90,this.codeColumns=Math.floor((f-1)/this.codeRows)+1);else if(this.codeColumns*this.codeRows<f)throw new Error("Size is too small for data.");this.codeColumns*this.codeRows>this.max_data_codewords+2&&(this.codeColumns=29,this.codeRows=32);let a=this.codeColumns*this.codeRows-g-r;e=r;while(0!=a)this.codewords[e++]=y.TextMode,a--;r=e,this.codewords[0]=r,this.calculateErrorCorrection(r),this.makeOutBits(),this.codewords=null,this.text=null}catch(t){this._errorMessage=t.message}}get matrixHeight(){return this.codeRows}get errorMessage(){return this._errorMessage}makeOutBits(){let r=0;this.matrixWidth=(1+1+this.codeColumns+1+1)*this.codeWordLength+1,this.matrix=ke.create(Number,this.matrixWidth*this.codeRows);var t,i={ref:0};for(let e=0;e<this.codeRows;e++){this.outCodeword(this.startPatternCode,i,this.codeWordLength);var n=e%3;let t=30*Math.floor(e/3);switch(n){case 0:t+=Math.floor((this.codeRows-1)/3);break;case 1:t+=3*this.errorLevel+(this.codeRows-1)%3;break;default:t+=this.codeColumns-1;break}this.outCodeword(u.clustersData[n][t],i,this.codeWordLength);for(let t=0;t<this.codeColumns;t++)this.outCodeword(u.clustersData[n][this.codewords[r++]],i,this.codeWordLength);switch(t=30*Math.floor(e/3),n){case 0:t+=this.codeColumns-1;break;case 1:t+=Math.floor((this.codeRows-1)/3);break;default:t+=3*this.errorLevel+(this.codeRows-1)%3;break}this.outCodeword(u.clustersData[n][t],i,this.codeWordLength),this.outCodeword(this.stopPatternCode,i,this.codeWordLength+1)}}outCodeword(e,t,r){let i=t.ref;for(let t=0;t<r;t++){var n=i+r-t-1;this.matrix[n]=0!=(1&e)?1:0,e>>=1}i+=r,t.ref=i}calculateErrorCorrection(e){var r=e,i=929,n=2<<this.errorLevel;for(let t=0;t<n;t++)this.codewords[r+t]=0;var a=n-1;for(let t=0;t<e;t++){var s=this.codewords[t]+this.codewords[r];for(let t=0;t<=a;t++){var o=s*u.errorLevelData[this.errorLevel][a-t]%i,l;this.codewords[r+t]=((t==a?0:this.codewords[r+t+1])+(i-o))%i}}for(let t=0;t<n;t++)this.codewords[r+t]=(i-this.codewords[r+t])%i}dataCompaction(e){var t=1,r={ref:t};for(let t=0;t<e.size;t++){var i=e.getSegment(t);switch(i.type){case b.Text:this.textCompaction(i,r);break;case b.Numeric:this.numberCompaction(i,r);break;case b.Byte:this.byteCompaction(i,r);break}}return t=r.ref}getSubMode(t,e){var r=this.text[t];if(r>="A".charCodeAt(0)&&r<="Z".charCodeAt(0))return e.ref=r-"A".charCodeAt(0),m.Upper;if(r>="a".charCodeAt(0)&&r<="z".charCodeAt(0))return e.ref=r-"a".charCodeAt(0),m.Lower;if(r==" ".charCodeAt(0))return e.ref=p.Space,m.Upper|m.Lower|m.Mixed;var t="0123456789&\r\t,:#-.$/+%*=^".indexOf(String.fromCharCode(r)),r=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".indexOf(String.fromCharCode(r));if(-1==t&&-1==r)return e.ref=0,m.None;if(t==r)return e.ref=t,m.Mixed|m.Punctuation;if(-1!=t)return e.ref=t,m.Mixed;return e.ref=r,m.Punctuation}textCompaction(t,e){let r=e.ref;1!=r&&(this.codewords[r++]=y.TextMode);var n=t.start,a=t.length,s;let o=ke.create(Number,3*a),l=m.Upper,u=0;for(let i=n;i<n+a;i++){let t=p.None,e=p.None;var h={ref:s},c=this.getSubMode(i,h),s=h.ref,d,h;if(0!=(c&l)){o[u++]=s;continue}let r=m.None;switch(i+2<a&&(h={ref:d},r=this.getSubMode(i+1,h)&this.getSubMode(i+2,h)),l){case m.Upper:0!=(c&m.Lower)?(t=p.Lower,l=m.Lower):0!=(c&m.Mixed)?(t=p.Mixed,l=m.Mixed):0!=(r&m.Punctuation)?(t=p.Mixed,e=p.Punctuation,l=m.Punctuation):t=p.TempPunctuation;break;case m.Lower:0!=(c&m.Upper)?0!=(r&m.Upper)?(t=p.Mixed,e=p.UpperFromMixed,l=m.Upper):t=p.TempUpper:0!=(c&m.Mixed)?(t=p.Mixed,l=m.Mixed):0!=(r&m.Punctuation)?(t=p.Mixed,e=p.Punctuation,l=m.Punctuation):t=p.TempPunctuation;break;case m.Mixed:0!=(c&m.Lower)?(t=p.Lower,l=m.Lower):0!=(c&m.Upper)?(t=p.UpperFromMixed,l=m.Upper):0!=(r&m.Punctuation)?(t=p.Punctuation,l=m.Punctuation):t=p.TempPunctuation;break;case m.Punctuation:o[u++]=p.UpperFromPunctuation,l=m.Upper,i--;continue}t!=p.None&&(o[u++]=t),e!=p.None&&(o[u++]=e),o[u++]=s}0!=(1&u)&&(o[u++]=p.TempPunctuation);var i=u;u=0;while(u<i)this.codewords[r++]=30*o[u]+o[u+1],u+=2;e.ref=r}numberCompaction(t,e){let r=e.ref;this.codewords[r++]=y.NumericMode;let i=t.start,n=t.length;while(0<n){var a=n<44?n:44,s=Math.floor(a/3);for(let t=0;t<=s;t++)this.codewords[r+t]=0;this.codewords[r+s]=1;for(let t=i;t<i+a;t++){for(let t=s;0<=t;t--)this.codewords[r+t]*=10;this.codewords[r+s]+=this.text[t]-"0".charCodeAt(0);for(let t=s;0<t;t--){var o=this.codewords[r+t];900<=o&&(this.codewords[r+t-1]+=Math.floor(o/900),this.codewords[r+t]=o%900)}}r+=s+1,i+=a,n-=a}e.ref=r}byteCompaction(t,e){let r=e.ref;this.codewords[r++]=t.length%6!=0?y.ByteMode:y.ByteMode6;let i=t.start,n=t.length;while(6<=n){var a=this.text[i];a*=256,a+=this.text[i+1],a*=256,a+=this.text[i+2],a*=256,a+=this.text[i+3],a*=256,a+=this.text[i+4],a*=256,a+=this.text[i+5],this.codewords[r+4]=Ne.trunc(a%900),a=Math.floor(a/900),this.codewords[r+3]=Ne.trunc(a%900),a=Math.floor(a/900),this.codewords[r+2]=Ne.trunc(a%900),a=Math.floor(a/900),this.codewords[r+1]=Ne.trunc(a%900),a=Math.floor(a/900),this.codewords[r+0]=Ne.trunc(a%900),r+=5,i+=6,n-=6}if(0<n)for(let t=0;t<n;t++)this.codewords[r++]=this.text[i+t];e.ref=r}};u.clustersData=[[120256,125680,128380,120032,125560,128318,108736,119920,108640,86080,108592,86048,110016,120560,125820,109792,120440,125758,88256,109680,88160,89536,110320,120700,89312,110200,120638,89200,110140,89840,110460,89720,110398,89980,128506,119520,125304,128190,107712,119408,125244,107616,119352,84032,107568,119324,84e3,107544,83984,108256,119672,125374,85184,108144,119612,85088,108088,119582,85040,108060,85728,108408,119742,85616,108348,85560,108318,85880,108478,85820,85790,107200,119152,125116,107104,119096,125086,83008,107056,119068,82976,107032,82960,82952,83648,107376,119228,83552,107320,119198,83504,107292,83480,83468,83824,107452,83768,107422,83740,83900,106848,118968,125022,82496,106800,118940,82464,106776,118926,82448,106764,82440,106758,82784,106936,119006,82736,106908,82712,106894,82700,82694,106974,82830,82240,106672,118876,82208,106648,118862,82192,106636,82184,106630,82180,82352,82328,82316,82080,118830,106572,106566,82050,117472,124280,127678,103616,117360,124220,103520,117304,124190,75840,103472,75808,104160,117624,124350,76992,104048,117564,76896,103992,76848,76824,77536,104312,117694,77424,104252,77368,77340,77688,104382,77628,77758,121536,126320,128700,121440,126264,128670,111680,121392,126236,111648,121368,126222,111632,121356,103104,117104,124092,112320,103008,117048,124062,112224,121656,126366,93248,74784,102936,117006,93216,112152,93200,75456,103280,117180,93888,75360,103224,117150,93792,112440,121758,93744,75288,93720,75632,103356,94064,75576,103326,94008,112542,93980,75708,94140,75678,94110,121184,126136,128606,111168,121136,126108,111136,121112,126094,111120,121100,111112,111108,102752,116920,123998,111456,102704,116892,91712,74272,121244,116878,91680,74256,102668,91664,111372,102662,74244,74592,102840,116958,92e3,74544,102812,91952,111516,102798,91928,74508,74502,74680,102878,92088,74652,92060,74638,92046,92126,110912,121008,126044,110880,120984,126030,110864,120972,110856,120966,110852,110850,74048,102576,116828,90944,74016,102552,116814,90912,111e3,121038,90896,73992,102534,90888,110982,90884,74160,102620,91056,74136,102606,91032,111054,91020,74118,91014,91100,91086,110752,120920,125998,110736,120908,110728,120902,110724,110722,73888,102488,116782,90528,73872,102476,90512,110796,102470,90504,73860,90500,73858,73944,90584,90572,90566,120876,120870,110658,102444,73800,90312,90308,90306,101056,116080,123580,100960,116024,70720,100912,115996,70688,100888,70672,70664,71360,101232,116156,71264,101176,116126,71216,101148,71192,71180,71536,101308,71480,101278,71452,71612,71582,118112,124600,127838,105024,118064,124572,104992,118040,124558,104976,118028,104968,118022,100704,115896,123486,105312,100656,115868,79424,70176,118172,115854,79392,105240,100620,79376,70152,79368,70496,100792,115934,79712,70448,118238,79664,105372,100750,79640,70412,79628,70584,100830,79800,70556,79772,70542,70622,79838,122176,126640,128860,122144,126616,128846,122128,126604,122120,126598,122116,104768,117936,124508,113472,104736,126684,124494,113440,122264,126670,113424,104712,117894,113416,122246,104706,69952,100528,115804,78656,69920,100504,115790,96064,78624,104856,117966,96032,113560,122318,100486,96016,78600,104838,96008,69890,70064,100572,78768,70040,100558,96176,78744,104910,96152,113614,70022,78726,70108,78812,70094,96220,78798,122016,126552,128814,122e3,126540,121992,126534,121988,121986,104608,117848,124462,113056,104592,126574,113040,122060,117830,113032,104580,113028,104578,113026,69792,100440,115758,78240,69776,100428,95136,78224,104652,100422,95120,113100,69764,95112,78212,69762,78210,69848,100462,78296,69836,95192,78284,69830,95180,78278,69870,95214,121936,126508,121928,126502,121924,121922,104528,117804,112848,104520,117798,112840,121958,112836,104514,112834,69712,100396,78032,69704,100390,94672,78024,104550,94664,112870,69698,94660,78018,94658,78060,94700,94694,126486,121890,117782,104484,104482,69672,77928,94440,69666,77922,99680,68160,99632,68128,99608,115342,68112,99596,68104,99590,68448,99768,115422,68400,99740,68376,99726,68364,68358,68536,99806,68508,68494,68574,101696,116400,123740,101664,116376,101648,116364,101640,116358,101636,67904,99504,115292,72512,67872,116444,115278,72480,101784,116430,72464,67848,99462,72456,101766,67842,68016,99548,72624,67992,99534,72600,101838,72588,67974,68060,72668,68046,72654,118432,124760,127918,118416,124748,118408,124742,118404,118402,101536,116312,105888,101520,116300,105872,118476,116294,105864,101508,105860,101506,105858,67744,99416,72096,67728,116334,80800,72080,101580,99398,80784,105932,67716,80776,72068,67714,72066,67800,99438,72152,67788,80856,72140,67782,80844,72134,67822,72174,80878,126800,128940,126792,128934,126788,126786,118352,124716,122576,126828,124710,122568,126822,122564,118338,122562,101456,116268,105680,101448,116262,114128,105672,118374,114120,122598,101442,114116,105666,114114,67664,99372,71888,67656,99366,80336,71880,101478,97232,80328,105702,67650,97224,114150,71874,97220,67692,71916,67686,80364,71910,97260,80358,97254,126760,128918,126756,126754,118312,124694,122472,126774,122468,118306,122466,101416,116246,105576,101412,113896,105572,101410,113892,105570,113890,67624,99350,71784,101430,80104,71780,67618,96744,80100,71778,96740,80098,96738,71798,96758,126738,122420,122418,105524,113780,113778,71732,79988,96500,96498,66880,66848,98968,66832,66824,66820,66992,66968,66956,66950,67036,67022,1e5,99984,115532,99976,115526,99972,99970,66720,98904,69024,100056,98892,69008,100044,69e3,100038,68996,66690,68994,66776,98926,69080,100078,69068,66758,69062,66798,69102,116560,116552,116548,116546,99920,102096,116588,115494,102088,116582,102084,99906,102082,66640,68816,66632,98854,73168,68808,66628,73160,68804,66626,73156,68802,66668,68844,66662,73196,68838,73190,124840,124836,124834,116520,118632,124854,118628,116514,118626,99880,115478,101992,116534,106216,101988,99874,106212,101986,106210,66600,98838,68712,99894,72936,68708,66594,81384,72932,68706,81380,72930,66614,68726,72950,81398,128980,128978,124820,126900,124818,126898,116500,118580,116498,122740,118578,122738,99860,101940,99858,106100,101938,114420],[128352,129720,125504,128304,129692,125472,128280,129678,125456,128268,125448,128262,125444,125792,128440,129758,120384,125744,128412,120352,125720,128398,120336,125708,120328,125702,120324,120672,125880,128478,110144,120624,125852,110112,120600,125838,110096,120588,110088,120582,110084,110432,120760,125918,89664,110384,120732,89632,110360,120718,89616,110348,89608,110342,89952,110520,120798,89904,110492,89880,110478,89868,90040,110558,90012,89998,125248,128176,129628,125216,128152,129614,125200,128140,125192,128134,125188,125186,119616,125360,128220,119584,125336,128206,119568,125324,119560,125318,119556,119554,108352,119728,125404,108320,119704,125390,108304,119692,108296,119686,108292,108290,85824,108464,119772,85792,108440,119758,85776,108428,85768,108422,85764,85936,108508,85912,108494,85900,85894,85980,85966,125088,128088,129582,125072,128076,125064,128070,125060,125058,119200,125144,128110,119184,125132,119176,125126,119172,119170,107424,119256,125166,107408,119244,107400,119238,107396,107394,83872,107480,119278,83856,107468,83848,107462,83844,83842,83928,107502,83916,83910,83950,125008,128044,125e3,128038,124996,124994,118992,125036,118984,125030,118980,118978,106960,119020,106952,119014,106948,106946,82896,106988,82888,106982,82884,82882,82924,82918,124968,128022,124964,124962,118888,124982,118884,118882,106728,118902,106724,106722,82408,106742,82404,82402,124948,124946,118836,118834,106612,106610,124224,127664,129372,124192,127640,129358,124176,127628,124168,127622,124164,124162,117568,124336,127708,117536,124312,127694,117520,124300,117512,124294,117508,117506,104256,117680,124380,104224,117656,124366,104208,117644,104200,117638,104196,104194,77632,104368,117724,77600,104344,117710,77584,104332,77576,104326,77572,77744,104412,77720,104398,77708,77702,77788,77774,128672,129880,93168,128656,129868,92664,128648,129862,92412,128644,128642,124064,127576,129326,126368,124048,129902,126352,128716,127558,126344,124036,126340,124034,126338,117152,124120,127598,121760,117136,124108,121744,126412,124102,121736,117124,121732,117122,121730,103328,117208,124142,112544,103312,117196,112528,121804,117190,112520,103300,112516,103298,112514,75680,103384,117230,94112,75664,103372,94096,112588,103366,94088,75652,94084,75650,75736,103406,94168,75724,94156,75718,94150,75758,128592,129836,91640,128584,129830,91388,128580,91262,128578,123984,127532,126160,123976,127526,126152,128614,126148,123970,126146,116944,124012,121296,116936,124006,121288,126182,121284,116930,121282,102864,116972,111568,102856,116966,111560,121318,111556,102850,111554,74704,102892,92112,74696,102886,92104,111590,92100,74690,92098,74732,92140,74726,92134,128552,129814,90876,128548,90750,128546,123944,127510,126056,128566,126052,123938,126050,116840,123958,121064,116836,121060,116834,121058,102632,116854,111080,121078,111076,102626,111074,74216,102646,91112,74212,91108,74210,91106,74230,91126,128532,90494,128530,123924,126004,123922,126002,116788,120948,116786,120946,102516,110836,102514,110834,73972,90612,73970,90610,128522,123914,125978,116762,120890,102458,110714,123552,127320,129198,123536,127308,123528,127302,123524,123522,116128,123608,127342,116112,123596,116104,123590,116100,116098,101280,116184,123630,101264,116172,101256,116166,101252,101250,71584,101336,116206,71568,101324,71560,101318,71556,71554,71640,101358,71628,71622,71662,127824,129452,79352,127816,129446,79100,127812,78974,127810,123472,127276,124624,123464,127270,124616,127846,124612,123458,124610,115920,123500,118224,115912,123494,118216,124646,118212,115906,118210,100816,115948,105424,100808,115942,105416,118246,105412,100802,105410,70608,100844,79824,70600,100838,79816,105446,79812,70594,79810,70636,79852,70630,79846,129960,95728,113404,129956,95480,113278,129954,95356,95294,127784,129430,78588,128872,129974,95996,78462,128868,127778,95870,128866,123432,127254,124520,123428,126696,128886,123426,126692,124514,126690,115816,123446,117992,115812,122344,117988,115810,122340,117986,122338,100584,115830,104936,100580,113640,104932,100578,113636,104930,113634,70120,100598,78824,70116,96232,78820,70114,96228,78818,96226,70134,78838,129940,94968,113022,129938,94844,94782,127764,78206,128820,127762,95102,128818,123412,124468,123410,126580,124466,126578,115764,117876,115762,122100,117874,122098,100468,104692,100466,113140,104690,113138,69876,78324,69874,95220,78322,95218,129930,94588,94526,127754,128794,123402,124442,126522,115738,117818,121978,100410,104570,112890,69754,78074,94714,94398,123216,127148,123208,127142,123204,123202,115408,123244,115400,123238,115396,115394,99792,115436,99784,115430,99780,99778,68560,99820,68552,99814,68548,68546,68588,68582,127400,129238,72444,127396,72318,127394,123176,127126,123752,123172,123748,123170,123746,115304,123190,116456,115300,116452,115298,116450,99560,115318,101864,99556,101860,99554,101858,68072,99574,72680,68068,72676,68066,72674,68086,72694,129492,80632,105854,129490,80508,80446,127380,72062,127924,127378,80766,127922,123156,123700,123154,124788,123698,124786,115252,116340,115250,118516,116338,118514,99444,101620,99442,105972,101618,105970,67828,72180,67826,80884,72178,80882,97008,114044,96888,113982,96828,96798,129482,80252,130010,97148,80190,97086,127370,127898,128954,123146,123674,124730,126842,115226,116282,118394,122618,99386,101498,105722,114170,67706,71930,80378,96632,113854,96572,96542,80062,96702,96444,96414,96350,123048,123044,123042,115048,123062,115044,115042,99048,115062,99044,99042,67048,99062,67044,67042,67062,127188,68990,127186,123028,123316,123026,123314,114996,115572,114994,115570,98932,100084,98930,100082,66804,69108,66802,69106,129258,73084,73022,127178,127450,123018,123290,123834,114970,115514,116602,98874,99962,102138,66682,68858,73210,81272,106174,81212,81182,72894,81342,97648,114364,97592,114334,97564,97550,81084,97724,81054,97694,97464,114270,97436,97422,80990,97502,97372,97358,97326,114868,114866,98676,98674,66292,66290,123098,114842,115130,98618,99194,66170,67322,69310,73404,73374,81592,106334,81564,81550,73310,81630,97968,114524,97944,114510,97932,97926,81500,98012,81486,97998,97880,114478,97868,97862,81454,97902,97836,97830,69470,73564,73550,81752,106414,81740,81734,73518,81774,81708,81702],[109536,120312,86976,109040,120060,86496,108792,119934,86256,108668,86136,129744,89056,110072,129736,88560,109820,129732,88312,109694,129730,88188,128464,129772,89592,128456,129766,89340,128452,89214,128450,125904,128492,125896,128486,125892,125890,120784,125932,120776,125926,120772,120770,110544,120812,110536,120806,110532,84928,108016,119548,84448,107768,119422,84208,107644,84088,107582,84028,129640,85488,108284,129636,85240,108158,129634,85116,85054,128232,129654,85756,128228,85630,128226,125416,128246,125412,125410,119784,125430,119780,119778,108520,119798,108516,108514,83424,107256,119166,83184,107132,83064,107070,83004,82974,129588,83704,107390,129586,83580,83518,128116,83838,128114,125172,125170,119284,119282,107508,107506,82672,106876,82552,106814,82492,82462,129562,82812,82750,128058,125050,119034,82296,106686,82236,82206,82366,82108,82078,76736,103920,117500,76256,103672,117374,76016,103548,75896,103486,75836,129384,77296,104188,129380,77048,104062,129378,76924,76862,127720,129398,77564,127716,77438,127714,124392,127734,124388,124386,117736,124406,117732,117730,104424,117750,104420,104418,112096,121592,126334,92608,111856,121468,92384,111736,121406,92272,111676,92216,111646,92188,75232,103160,117118,93664,74992,103036,93424,112252,102974,93304,74812,93244,74782,93214,129332,75512,103294,129908,129330,93944,75388,129906,93820,75326,93758,127604,75646,128756,127602,94078,128754,124148,126452,124146,126450,117236,121844,117234,121842,103412,103410,91584,111344,121212,91360,111224,121150,91248,111164,91192,111134,91164,91150,74480,102780,91888,74360,102718,91768,111422,91708,74270,91678,129306,74620,129850,92028,74558,91966,127546,128634,124026,126202,116986,121338,102906,90848,110968,121022,90736,110908,90680,110878,90652,90638,74104,102590,91e3,74044,90940,74014,90910,74174,91070,90480,110780,90424,110750,90396,90382,73916,90556,73886,90526,90296,110686,90268,90254,73822,90334,90204,90190,71136,101112,116094,70896,100988,70776,100926,70716,70686,129204,71416,101246,129202,71292,71230,127348,71550,127346,123636,123634,116212,116210,101364,101362,79296,105200,118140,79072,105080,118078,78960,105020,78904,104990,78876,78862,70384,100732,79600,70264,100670,79480,105278,79420,70174,79390,129178,70524,129466,79740,70462,79678,127290,127866,123514,124666,115962,118266,100858,113376,122232,126654,95424,113264,122172,95328,113208,122142,95280,113180,95256,113166,95244,78560,104824,117950,95968,78448,104764,95856,113468,104734,95800,78364,95772,78350,95758,70008,100542,78712,69948,96120,78652,69918,96060,78622,96030,70078,78782,96190,94912,113008,122044,94816,112952,122014,94768,112924,94744,112910,94732,94726,78192,104636,95088,78136,104606,95032,113054,95004,78094,94990,69820,78268,69790,95164,78238,95134,94560,112824,121950,94512,112796,94488,112782,94476,94470,78008,104542,94648,77980,94620,77966,94606,69726,78046,94686,94384,112732,94360,112718,94348,94342,77916,94428,77902,94414,94296,112686,94284,94278,77870,94318,94252,94246,68336,99708,68216,99646,68156,68126,68476,68414,127162,123258,115450,99834,72416,101752,116414,72304,101692,72248,101662,72220,72206,67960,99518,72568,67900,72508,67870,72478,68030,72638,80576,105840,118460,80480,105784,118430,80432,105756,80408,105742,80396,80390,72048,101564,80752,71992,101534,80696,71964,80668,71950,80654,67772,72124,67742,80828,72094,80798,114016,122552,126814,96832,113968,122524,96800,113944,122510,96784,113932,96776,113926,96772,80224,105656,118366,97120,80176,105628,97072,114076,105614,97048,80140,97036,80134,97030,71864,101470,80312,71836,97208,80284,71822,97180,80270,97166,67678,71902,80350,97246,96576,113840,122460,96544,113816,122446,96528,113804,96520,113798,96516,96514,80048,105564,96688,80024,105550,96664,113870,96652,80006,96646,71772,80092,71758,96732,80078,96718,96416,113752,122414,96400,113740,96392,113734,96388,96386,79960,105518,96472,79948,96460,79942,96454,71726,79982,96494,96336,113708,96328,113702,96324,96322,79916,96364,79910,96358,96296,113686,96292,96290,79894,96310,66936,99006,66876,66846,67006,68976,100028,68920,99998,68892,68878,66748,69052,66718,69022,73056,102072,116574,73008,102044,72984,102030,72972,72966,68792,99934,73144,68764,73116,68750,73102,66654,68830,73182,81216,106160,118620,81184,106136,118606,81168,106124,81160,106118,81156,81154,72880,101980,81328,72856,101966,81304,106190,81292,72838,81286,68700,72924,68686,81372,72910,81358,114336,122712,126894,114320,122700,114312,122694,114308,114306,81056,106072,118574,97696,81040,106060,97680,114380,106054,97672,81028,97668,81026,97666,72792,101934,81112,72780,97752,81100,72774,97740,81094,97734,68654,72814,81134,97774,114256,122668,114248,122662,114244,114242,80976,106028,97488,80968,106022,97480,114278,97476,80962,97474,72748,81004,72742,97516,80998,97510,114216,122646,114212,114210,80936,106006,97384,80932,97380,80930,97378,72726,80950,97398,114196,114194,80916,97332,80914,97330,66236,66206,67256,99166,67228,67214,66142,67294,69296,100188,69272,100174,69260,69254,67164,69340,67150,69326,73376,102232,116654,73360,102220,73352,102214,73348,73346,69208,100142,73432,102254,73420,69190,73414,67118,69230,73454,106320,118700,106312,118694,106308,106306,73296,102188,81616,106348,102182,81608,73284,81604,73282,81602,69164,73324,69158,81644,73318,81638,122792,126934,122788,122786,106280,118678,114536,106276,114532,106274,114530,73256,102166,81512,73252,98024,81508,73250,98020,81506,98018,69142,73270,81526,98038,122772,122770,106260,114484,106258,114482,73236,81460,73234,97908,81458,97906,122762,106250,114458,73226,81434,97850,66396,66382,67416,99246,67404,67398,66350,67438,69456,100268,69448,100262,69444,69442,67372,69484,67366,69478,102312,116694,102308,102306,69416,100246,73576,102326,73572,69410,73570,67350,69430,73590,118740,118738,102292,106420,102290,106418,69396,73524,69394,81780,73522,81778,118730,102282,106394,69386,73498,81722,66476,66470,67496,99286,67492,67490,66454,67510,100308,100306,67476,69556,67474,69554,116714]],u.errorLevelData=[[27,917],[522,568,723,809],[237,308,436,284,646,653,428,379],[274,562,232,755,599,524,801,132,295,116,442,428,295,42,176,65],[361,575,922,525,176,586,640,321,536,742,677,742,687,284,193,517,273,494,263,147,593,800,571,320,803,133,231,390,685,330,63,410],[539,422,6,93,862,771,453,106,610,287,107,505,733,877,381,612,723,476,462,172,430,609,858,822,543,376,511,400,672,762,283,184,440,35,519,31,460,594,225,535,517,352,605,158,651,201,488,502,648,733,717,83,404,97,280,771,840,629,4,381,843,623,264,543],[521,310,864,547,858,580,296,379,53,779,897,444,400,925,749,415,822,93,217,208,928,244,583,620,246,148,447,631,292,908,490,704,516,258,457,907,594,723,674,292,272,96,684,432,686,606,860,569,193,219,129,186,236,287,192,775,278,173,40,379,712,463,646,776,171,491,297,763,156,732,95,270,447,90,507,48,228,821,808,898,784,663,627,378,382,262,380,602,754,336,89,614,87,432,670,616,157,374,242,726,600,269,375,898,845,454,354,130,814,587,804,34,211,330,539,297,827,865,37,517,834,315,550,86,801,4,108,539],[524,894,75,766,882,857,74,204,82,586,708,250,905,786,138,720,858,194,311,913,275,190,375,850,438,733,194,280,201,280,828,757,710,814,919,89,68,569,11,204,796,605,540,913,801,700,799,137,439,418,592,668,353,859,370,694,325,240,216,257,284,549,209,884,315,70,329,793,490,274,877,162,749,812,684,461,334,376,849,521,307,291,803,712,19,358,399,908,103,511,51,8,517,225,289,470,637,731,66,255,917,269,463,830,730,433,848,585,136,538,906,90,2,290,743,199,655,903,329,49,802,580,355,588,188,462,10,134,628,320,479,130,739,71,263,318,374,601,192,605,142,673,687,234,722,384,177,752,607,640,455,193,689,707,805,641,48,60,732,621,895,544,261,852,655,309,697,755,756,60,231,773,434,421,726,528,503,118,49,795,32,144,500,238,836,394,280,566,319,9,647,550,73,914,342,126,32,681,331,792,620,60,609,441,180,791,893,754,605,383,228,749,760,213,54,297,134,54,834,299,922,191,910,532,609,829,189,20,167,29,872,449,83,402,41,656,505,579,481,173,404,251,688,95,497,555,642,543,307,159,924,558,648,55,497,10],[352,77,373,504,35,599,428,207,409,574,118,498,285,380,350,492,197,265,920,155,914,299,229,643,294,871,306,88,87,193,352,781,846,75,327,520,435,543,203,666,249,346,781,621,640,268,794,534,539,781,408,390,644,102,476,499,290,632,545,37,858,916,552,41,542,289,122,272,383,800,485,98,752,472,761,107,784,860,658,741,290,204,681,407,855,85,99,62,482,180,20,297,451,593,913,142,808,684,287,536,561,76,653,899,729,567,744,390,513,192,516,258,240,518,794,395,768,848,51,610,384,168,190,826,328,596,786,303,570,381,415,641,156,237,151,429,531,207,676,710,89,168,304,402,40,708,575,162,864,229,65,861,841,512,164,477,221,92,358,785,288,357,850,836,827,736,707,94,8,494,114,521,2,499,851,543,152,729,771,95,248,361,578,323,856,797,289,51,684,466,533,820,669,45,902,452,167,342,244,173,35,463,651,51,699,591,452,578,37,124,298,332,552,43,427,119,662,777,475,850,764,364,578,911,283,711,472,420,245,288,594,394,511,327,589,777,699,688,43,408,842,383,721,521,560,644,714,559,62,145,873,663,713,159,672,729,624,59,193,417,158,209,563,564,343,693,109,608,563,365,181,772,677,310,248,353,708,410,579,870,617,841,632,860,289,536,35,777,618,586,424,833,77,597,346,269,757,632,695,751,331,247,184,45,787,680,18,66,407,369,54,492,228,613,830,922,437,519,644,905,789,420,305,441,207,300,892,827,141,537,381,662,513,56,252,341,242,797,838,837,720,224,307,631,61,87,560,310,756,665,397,808,851,309,473,795,378,31,647,915,459,806,590,731,425,216,548,249,321,881,699,535,673,782,210,815,905,303,843,922,281,73,469,791,660,162,498,308,155,422,907,817,187,62,16,425,535,336,286,437,375,273,610,296,183,923,116,667,751,353,62,366,691,379,687,842,37,357,720,742,330,5,39,923,311,424,242,749,321,54,669,316,342,299,534,105,667,488,640,672,576,540,316,486,721,610,46,656,447,171,616,464,190,531,297,321,762,752,533,175,134,14,381,433,717,45,111,20,596,284,736,138,646,411,877,669,141,919,45,780,407,164,332,899,165,726,600,325,498,655,357,752,768,223,849,647,63,310,863,251,366,304,282,738,675,410,389,244,31,121,303,263]];let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=25,e=Ae.az.StiPdf417EncodingMode.Text,r=Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic,i=5,n=3,a=!0,s=!0,o=1,l=3){super(),this._module=20,this._height=1,this.encodingMode=Ae.az.StiPdf417EncodingMode.Text,this.errorsCorrectionLevel=Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic,this._dataColumns=4,this._dataRows=7,this.autoDataColumns=!0,this.autoDataRows=!0,this._aspectRatio=3,this._ratioY=3,this._module=t,this.encodingMode=e,this.errorsCorrectionLevel=r,this._dataColumns=i,this._dataRows=n,this.autoDataColumns=a,this.autoDataRows=s,this._aspectRatio=o,this._ratioY=l}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",20),new ji("Height","",1),new Gi("EncodingMode","",Ae.az.StiPdf417EncodingMode,Ae.az.StiPdf417EncodingMode.Text),new Gi("ErrorsCorrectionLevel","",Ae.az.StiPdf417ErrorsCorrectionLevel,Ae.az.StiPdf417ErrorsCorrectionLevel.Automatic),new ji("DataColumns","",4),new ji("DataRows","",7),new Wi("AutoDataColumns","",!0),new Wi("AutoDataRows","",!0),new ji("AspectRatio","",3),new ji("RatioY","",3)])}get componentId(){return Ae.c.StiComponentId.StiPdf417BarCodeType}get serviceName(){return"Pdf417"}get defaultCodeValue(){return"12345678901"}get module(){return this._module}set module(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)}get height(){return this._height}set height(t){this._height=t}get dataColumns(){return this._dataColumns}set dataColumns(t){this._dataColumns=t=30<(t=t<1?1:t)?30:t}get dataRows(){return this._dataRows}set dataRows(t){this._dataRows=t=90<(t=t<3?3:t)?90:t}get aspectRatio(){return this._aspectRatio}set aspectRatio(t){this._aspectRatio=t=100<(t=t<.01?.01:t)?100:t}get ratioY(){return this._ratioY}set ratioY(t){this._ratioY=t=5<(t=t<2?2:t)?5:t}get labelFontHeight(){return this.defaultLabelFontHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[0]=!0,t[1]=!0,t[2]=!0,t[6]=!0,t[7]=!0,t[8]=!0,t[13]=!0,t[16]=!0,t}draw(t,e,r,i){var n=this.getCode(e);this.barCodeData.code=n;var n=new u(n,this.encodingMode,this.errorsCorrectionLevel,this.dataColumns,this.dataRows,this.autoDataColumns,this.autoDataRows,this.aspectRatio,this.ratioY);this.barCodeData.matrixGrid=n.matrix,this.barCodeData.matrixWidth=n.matrixWidth,this.barCodeData.matrixHeight=n.matrixHeight,this.barCodeData.matrixRatioY=this.ratioY,null==n.errorMessage?this.draw2DBarCode(t,r,e,i):this.drawBarCodeError2(t,r,e,n.errorMessage)}createNew(){return new t}};Ae.az.StiPdf417BarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1){super(),this.pharmacodeSymbols="0123456789",this.defaultPharmacodeModule=20,this._module=20,this._height=1,this.pharmacodeSpaceLeft=1,this.pharmacodeSpaceRight=1,this.pharmacodeSpaceTop=0,this.pharmacodeSpaceBottom=.5,this.pharmacodeLineHeightShort=16,this.pharmacodeLineHeightLong=this.pharmacodeLineHeightShort,this.pharmacodeTextPosition=this.pharmacodeLineHeightShort+this.pharmacodeSpaceBottom,this.pharmacodeTextHeight=5,this.pharmacodeMainHeight=22,this.pharmacodeLineHeightForCut=this.pharmacodeLineHeightShort,this._module=t,this._height=e}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",20),new ji("Height","_",1)])}get componentId(){return Ae.c.StiComponentId.StiPharmacodeBarCodeType}get serviceName(){return"Pharmacode"}get defaultCodeValue(){return"1256"}get module(){return this._module}set module(t){this._module=20}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get labelFontHeight(){return this.pharmacodeTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,this.pharmacodeSymbols),6<n.length&&(n="131070"),n.length<1&&(n="3");let a=parseInt(n);131070<a&&(a=131070),a<3&&(a=3);let s=new Mt,o=a-3,l=2,u=3;while(o>u)o-=u+1,l++,u=(1<<l)-1;for(let t=l-1;0<=t;t--)0<(o&1<<t)?s.append("6"):s.append("4"),0!=t&&s.append("1");this.calculateSizeFull(this.pharmacodeSpaceLeft,this.pharmacodeSpaceRight,this.pharmacodeSpaceTop,this.pharmacodeSpaceBottom,this.pharmacodeLineHeightShort,this.pharmacodeLineHeightLong,this.pharmacodeTextPosition,this.pharmacodeTextHeight,this.pharmacodeMainHeight,this.pharmacodeLineHeightForCut,2,i,n,a.toString(),s.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiPharmacodeBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1,r=26){super(),this.postnetSymbols="0123456789",this.postnetTable=["11000","00011","00101","00110","01001","01010","01100","10001","10010","10100"],this.postnetStartCode="1",this.postnetStopCode="1",this._module=20,this._space=26,this._height=1,this.postnetSpaceLeft=1,this.postnetSpaceRight=1,this.postnetSpaceTop=0,this.postnetSpaceBottom=1,this.postnetLineHeightLong=6.25,this.postnetLineHeightShort=2*this.postnetLineHeightLong/5,this.postnetTextPosition=this.postnetLineHeightLong+this.postnetSpaceBottom,this.postnetTextHeight=5.5,this.postnetMainHeight=14,this.postnetLineHeightForCut=this.postnetLineHeightLong,this._module=t,this._height=e,this._space=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",20),new ji("Height","_",1),new ji("Space","_",26)])}get componentId(){return Ae.c.StiComponentId.StiPostnetBarCodeType}get serviceName(){return"Postnet"}get defaultCodeValue(){return"12345"}get module(){return this._module}set module(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)}get space(){return this._space}set space(t){(this._space=t)<12&&(this._space=12),40<t&&(this._space=40)}get height(){return this._height}set height(t){(this._height=t)<1&&(this._height=1),4<t&&(this._height=4)}get labelFontHeight(){return this.postnetTextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[18]=!0,t}codeToBar(r){let i=new Mt;for(let e=0;e<r.length;e++){let t=new Mt;"1"==r[e]?t.append("81"):t.append("e1"),i.append(t)}return i.toString()}draw(t,e,r,i){let n=this.getCode(e);switch(n=this.checkCodeSymbols(n,this.postnetSymbols),11<n.length&&(n=n.substr(0,11)),n.length){case 0:n="00000";break;case 1:n+="0000";break;case 2:case 6:n+="000";break;case 3:case 7:n+="00";break;case 4:case 8:case 10:n+="0";break}let a=new Mt(n);11==n.length&&a.insert(9,"-"),5<n.length&&a.insert(5,"-");let s=ke.create(Number,n.length+1);for(let t=0;t<n.length;t++)s[t]=this.postnetSymbols.indexOf(n[t]);let o=0;for(let t=0;t<n.length;t++)o+=s[t];o%=10,0!=o&&(o=10-o),s[n.length]=o;let l=new Mt;l.append(this.postnetStartCode);for(let t=0;t<s.length;t++)l.append(this.postnetTable[s[t]]);l.append(this.postnetStopCode);let u=new Mt(this.codeToBar(l.toString()));this.calculateSizeFull(this.postnetSpaceLeft,this.postnetSpaceRight,this.postnetSpaceTop,this.postnetSpaceBottom,this.postnetLineHeightShort,this.postnetLineHeightLong,this.postnetTextPosition,this.postnetTextHeight,this.postnetMainHeight,this.postnetLineHeightForCut,this.space/this.module,i,n,a.toString(),u.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiPostnetBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=40,e=Ae.az.StiQRCodeErrorCorrectionLevel.Level1,r=Ae.az.StiQRCodeSize.Automatic,i=null,n=1){super(),this._module=40,this._height=1,this.errorCorrectionLevel=Ae.az.StiQRCodeErrorCorrectionLevel.Level1,this.matrixSize=Ae.az.StiQRCodeSize.Automatic,this.image=null,this.imageMultipleFactor=1,this.module=t,this.errorCorrectionLevel=e,this.matrixSize=r,this.image=i,this.imageMultipleFactor=n}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Height","",1),new ji("Module","",40),new Gi("ErrorCorrectionLevel","",Ae.az.StiQRCodeErrorCorrectionLevel,Ae.az.StiQRCodeErrorCorrectionLevel.Level1),new Gi("MatrixSize","",Ae.az.StiQRCodeSize,Ae.az.StiQRCodeSize.Automatic),new ji("ImageMultipleFactor","",1),new Ui("Image").get(()=>xl.imageToString(this.image)).set(t=>this.image=xl.stringToImage(t.value)).setXml(t=>this.image=xl.stringToImage(t.textContent))])}get componentId(){return Ae.c.StiComponentId.StiQRCodeBarCodeType}get serviceName(){return"QR Code"}get defaultCodeValue(){return"12345678901"}get module(){return this._module}set module(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)}get height(){return this._height}set height(t){this._height=t}get labelFontHeight(){return 8}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[10]=!0,t[12]=!0,t[13]=!0,t}draw(e,n,a,s){var o=this.getCode(n);this.barCodeData.code=o;let l=Ae.az.ErrorCorrectionLevel.L;this.errorCorrectionLevel==Ae.az.StiQRCodeErrorCorrectionLevel.Level2&&(l=Ae.az.ErrorCorrectionLevel.M),this.errorCorrectionLevel==Ae.az.StiQRCodeErrorCorrectionLevel.Level3&&(l=Ae.az.ErrorCorrectionLevel.Q),this.errorCorrectionLevel==Ae.az.StiQRCodeErrorCorrectionLevel.Level4&&(l=Ae.az.ErrorCorrectionLevel.H);try{let t=new Ae.az.StiQRCode;Ae.az.QREncoder.Encode(o,l,t,this.matrixSize);let r=t.GetMatrix(),i=ke.create(Number,r.getWidth()*r.getHeight());for(let e=0;e<r.getHeight();e++){var u=e*r.getWidth();for(let t=0;t<r.getWidth();t++)i[u+t]=r.get(t,e)}this.barCodeData.matrixGrid=i,this.barCodeData.matrixWidth=r.getWidth(),this.barCodeData.matrixHeight=r.getHeight(),this.barCodeData.matrixRatioY=1,this.draw2DBarCode(e,a,n,s)}catch(t){Ae.b.StiError.showError(t,!1),this.drawBarCodeError(e,a,n)}}createNew(){return new t}};Ae.az.StiQRCodeBarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=20,e=1,r=Ae.az.StiCheckSum.Yes){super(),this.royalMail4StateSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",this.royalMail4StateStartCode="1",this.royalMail4StateStopCode="0",this.royalMail4StateCodes=["3300","3210","3201","2310","2301","2211","3120","3030","3021","2130","2121","2031","3102","3012","3003","2112","2103","2013","1320","1230","1221","0330","0321","0231","1302","1212","1203","0312","0303","0213","1122","1032","1023","0132","0123","0033"],this._module=20,this._height=1,this.checkSum=Ae.az.StiCheckSum.Yes,this.royalMail4StateSpaceLeft=3.9,this.royalMail4StateSpaceRight=3.9,this.royalMail4StateSpaceTop=3.9,this.royalMail4StateSpaceBottom=3.9,this.royalMail4StateLineHeightLong=10,this.royalMail4StateLineHeightShort=.62*this.royalMail4StateLineHeightLong,this.royalMail4StateTextPosition=this.royalMail4StateSpaceTop+this.royalMail4StateLineHeightLong+this.royalMail4StateSpaceBottom+1,this.royalMail4StateTextHeight=5,this.royalMail4StateMainHeight=this.royalMail4StateSpaceTop+this.royalMail4StateLineHeightLong+this.royalMail4StateSpaceBottom+7,this.royalMail4StateLineHeightForCut=this.royalMail4StateLineHeightLong,this._module=t,this._height=e,this.checkSum=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","_",20),new ji("Height","_",1),new Gi("CheckSum","",Ae.az.StiCheckSum,Ae.az.StiCheckSum.Yes)])}get componentId(){return Ae.c.StiComponentId.StiRoyalMail4StateBarCodeType}get serviceName(){return"Royal Mail 4-state"}get defaultCodeValue(){return"529508A"}get module(){return this._module}set module(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)}get height(){return this._height}set height(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)}get labelFontHeight(){return 5}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t[23]=!0,t}get textAlignment(){return Lr.Center}charTo4State(t){var t=this.royalMail4StateSymbols.indexOf(t);return this.royalMail4StateCodes[t]}stateToBar(e){let r=new Mt;for(let t=0;t<e.length;t++){switch(e[t]){case"0":r.append("c");break;case"1":r.append("d");break;case"2":r.append("e");break;case"3":r.append("f");break}r.append("0")}return r.toString()}makeBarsArray(t,e,r){var i=t.ref,n=e.ref,a=r.ref;let s=new Mt,o=0,l=0;for(let t=0;t<i.length;t++){var u=this.charTo4State(i[t]);"0"!=u[0]&&"1"!=u[0]||(o+=4),"0"!=u[0]&&"2"!=u[0]||(l+=4),"0"!=u[1]&&"1"!=u[1]||(o+=2),"0"!=u[1]&&"2"!=u[1]||(l+=2),"0"!=u[2]&&"1"!=u[2]||(o+=1),"0"!=u[2]&&"2"!=u[2]||(l+=1),s.append(u)}o%=6,l%=6,0==o&&(o=6),0==l&&(l=6);var h=6*(o-1)+(l-1);return this.checkSum==Ae.az.StiCheckSum.Yes&&s.append(this.charTo4State(this.royalMail4StateSymbols[h])),n=this.stateToBar(this.royalMail4StateStartCode+s.toString()+this.royalMail4StateStopCode),t.ref=i,e.ref=n,r.ref=a,!0}draw(t,e,r,i){var n=this.getCode(e),n,a="";let s="";var o={ref:n=this.checkCodeSymbols(n,this.royalMail4StateSymbols)},l={ref:a},u={ref:s};this.makeBarsArray(o,l,u)?(n=o.ref,a=l.ref,s=u.ref,this.calculateSizeFull(this.royalMail4StateSpaceLeft,this.royalMail4StateSpaceRight,this.royalMail4StateSpaceTop,this.royalMail4StateSpaceBottom,this.royalMail4StateLineHeightShort,this.royalMail4StateLineHeightLong,this.royalMail4StateTextPosition,this.royalMail4StateTextHeight,this.royalMail4StateMainHeight,this.royalMail4StateLineHeightForCut,1,i,n,n,a,r,e),this.drawBarCode(t,r,e)):0<s.length?this.drawBarCodeError2(t,r,e,s):this.drawBarCodeError(t,r,e)}createNew(){return new t}};Ae.az.StiRoyalMail4StateBarCodeType=t}{let t=class extends Ae.az.StiCode128cBarCodeType{constructor(t=13,e=1){super(t,e),this.companyPrefix="0123456",this.serialNumber="000000001",this.extensionDigit="0"}meta(){return this._hash||(this._hash=[...super.meta(),new In("CompanyPrefix","","0123456"),new In("SerialNumber","","000000001"),new In("ExtensionDigit","","0")])}get componentId(){return Ae.c.StiComponentId.StiSSCC18BarCodeType}get serviceName(){return"SSCC"}get defaultCodeValue(){return"(00)001234560000000018"}get textSpacing(){return!1}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[24]=!0,t[25]=!0,t[26]=!0,t}getCombinedCode(){return De.format("(00){0}{1}{0}{2}{0}{3}{0}{4}","~",this.extensionDigit,this.companyPrefix,this.serialNumber,this.getCheckDigit(this.checkCodeSymbols(this.extensionDigit+this.companyPrefix+this.serialNumber+De.fill("0",17),"0123456789")))}getCheckDigit(e){let r=ke.create(Number,17);for(let t=0;t<17;t++)r[t]=parseInt(e[t].toString());var t;let i=10-(r[1]+r[3]+r[5]+r[7]+r[9]+r[11]+r[13]+r[15]+3*(r[0]+r[2]+r[4]+r[6]+r[8]+r[10]+r[12]+r[14]+r[16]))%10;return 10==i&&(i=0),String.fromCharCode(i+48)}checkContens(t,e){if(5!=e.length)return!0;if("00"!=e[0])return!0;if(1!=e[1].length)return!0;var r=e[2].length,i;if(r<7||10<r)return!0;if(e[3].length+r!=16)return!0;if(24!=t.length)return!0;return!1}draw(t,e,r,i){let n=this.getCode(e),a=this.checkCodeSymbols(n.stimulsoft().replaceAll("","~"),"0123456789"+"~"),s=a.split("~");var o=this.checkContens(a,s);if(o){let e=ke.create(String,5<s.length?s.length:5);for(let t=0;t<s.length;t++)e[t]=s[t];s=e,s[0]="00",s[1].length<1&&(s[1]="0"),1<s[1].length&&(s[1]=s[1].substr(0,1)),s[2].length<7&&(s[2]=(s[2]+"0000000").substr(0,7)),10<s[2].length&&(s[2]=s[2].substr(0,10)),s[3].length<16-s[2].length&&(s[3]=(s[3]+"0000000000000000").substr(0,16-s[2].length)),s[3].length>16-s[2].length&&(s[3]=s[3].substr(0,16-s[2].length))}var l=s[1]+s[2]+s[3],u=this.getCheckDigit(l),l=s[0]+l+u;let h=De.format("({0}) {1} {2} {3} {4}{5}",s[0],s[1],s[2],s[3],u,o?" *":"");null!=e.report&&e.report.isDesigning&&(h=n.stimulsoft().replaceAll("~"," "));let c=new Ee;c.add(l);let d=new Mt;for(let t=0;t<c.countItems;t++){let e=c[t];var m=e.length/2;for(let t=0;t<m;t++)d.append(String.fromCharCode(Number.parseInt(e.substr(2*t,2))));e.length%2==1&&(d.append(String.fromCharCode(100)),d.append(String.fromCharCode(e.charCodeAt(e.length-1)-32)),t<c.countItems-1&&d.append(String.fromCharCode(99))),t<c.countItems-1&&d.append(String.fromCharCode(102))}let p=d.toString(),g=ke.create(Number,p.length+4);g[0]=105,g[1]=102;for(let t=0;t<p.length;t++)g[t+2]=p.charCodeAt(t);let f=g[0]+g[1];for(let t=0;t<g.length-3;t++)f+=g[t+2]*(t+2);g[g.length-2]=f%103,g[g.length-1]=106;let S=new Mt;for(let t=0;t<g.length;t++)S.append(this.codeToBar(this.code128Table[g[t]]));this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,i,l,h,S.toString(),r,e),o?this.drawBarCodeError(t,r,e):this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiSSCC18BarCodeType=t}{let t=class extends Ae.az.StiBarCodeTypeService{constructor(t=13,e=1,r=2.2){super(),this._module=13,this._height=1,this._ratio=2.2,this.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","101000","10001"],this.standard2of5SpaceLeft=10,this.standard2of5SpaceRight=10,this.standard2of5SpaceTop=0,this.standard2of5SpaceBottom=1,this.standard2of5LineHeightShort=40,this.standard2of5LineHeightLong=this.standard2of5LineHeightShort,this.standard2of5TextHeight=8.33,this.standard2of5MainHeight=50,this.standard2of5TextPosition=this.standard2of5LineHeightShort+this.standard2of5SpaceBottom,this.standard2of5LineHeightForCut=this.standard2of5LineHeightShort,this.module=t,this.height=e,this.ratio=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Module","",13),new ji("Height","",1),new ji("Ratio","",2.2)])}get componentId(){return Ae.c.StiComponentId.StiStandard2of5BarCodeType}get serviceName(){return"2of5 Standard"}get defaultCodeValue(){return"12345678"}get module(){return this._module}set module(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40),this.ratio=this.ratio}get height(){return this._height}set height(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)}get ratio(){return this._ratio}set ratio(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)}get labelFontHeight(){return this.standard2of5TextHeight}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t}draw(t,e,r,i){let n=this.getCode(e);n=this.checkCodeSymbols(n,"0123456789");let a=new Mt;if(a.append(this.symTableSet[10]),0<n.length)for(let t=0;t<n.length;t++){var s=this.symTableSet[parseInt(n[t].toString())],s=s[0]+"0"+s[1]+"0"+s[2]+"0"+s[3]+"0"+s[4]+"0";a.append(s)}a.append(this.symTableSet[11]);var o=a.toString();let l=new Mt,u=!0;for(let e=0;e<o.length;e++){let t;t=1==u?"0"==o[e]?"4":"5":"0"==o[e]?"0":"1",l.append(t),u=!u}this.calculateSizeFull(this.standard2of5SpaceLeft,this.standard2of5SpaceRight,this.standard2of5SpaceTop,this.standard2of5SpaceBottom,this.standard2of5LineHeightShort,this.standard2of5LineHeightLong,this.standard2of5TextPosition,this.standard2of5TextHeight,this.standard2of5MainHeight,this.standard2of5LineHeightForCut,this.ratio,i,n,n,l.toString(),r,e),this.drawBarCode(t,r,e)}createNew(){return new t}};Ae.az.StiStandard2of5BarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n),this.showQuietZoneIndicator=!1}get componentId(){return Ae.c.StiComponentId.StiUpcABarCodeType}get serviceName(){return"UPC-A"}get eanSpaceLeft(){return 9}get eanSpaceRight(){return 9}get defaultCodeValue(){return"4523456789012"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t}makeUpcABars(e,t){let r=ke.create(Number,12);for(let t=0;t<12;t++)r[t]=parseInt(e[t].toString());var i;let n=10-(3*(r[1]+r[3]+r[5]+r[7]+r[9]+r[11])+r[0]+r[2]+r[4]+r[6]+r[8]+r[10])%10;10==n&&(n=0),e=e.substr(0,12)+String.fromCharCode(n+48);let a=[];a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceLeft,e[1],!1)),a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardLeft," ",!1)),a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboA0+parseInt(e[1].toString())," ",!1,!0));for(let t=0;t<5;t++){var s=parseInt(e[2+t].toString()),s=new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboA0+s,e[2+t],!1);a.push(s)}a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardCenter," ",!1));for(let t=0;t<5;t++){var o=parseInt(e[7+t].toString()),o=new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboC0+o,e[7+t],!1);a.push(o)}return a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboC0+parseInt(e[12].toString())," ",!1,!0)),a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardRight," ",!1)),t?a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceRight,e[12],!1)):a.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceBeforeAdd,e[12],!1)),a}draw(t,e,r,i){var n=this.getCode(e),n="0"+this.checkCodeSymbols(n,"0123456789")+"000000000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";let s=[];this.supplementType==Ae.az.StiEanSupplementType.None?s=this.makeUpcABars(n,!0):(s=this.makeUpcABars(n,!1),this.supplementType==Ae.az.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,s,!0):this.makeEanAdd5Bars(a,s,!0)),this.calculateSizeEan(0,i,s,r,e),this.translateRect(t,r,e),this.drawEanBars(t,s,e),this.rollbackTransform(t)}createNew(){return new t}};Ae.az.StiUpcABarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n),this.symParitySet=["eeeooo","eeoeoo","eeooeo","eeoooe","eoeeoo","eooeeo","eoooee","eoeoeo","eoeooe","eooeoe"],this.showQuietZoneIndicator=!1}get componentId(){return Ae.c.StiComponentId.StiUpcEBarCodeType}get serviceName(){return"UPC-E"}get eanSpaceLeft(){return 9}get eanSpaceRight(){return 7}get defaultCodeValue(){return"01234567"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t}makeUpcEBars(i,t){let n=[];n.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.SpaceLeft,i[0],!1)),n.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardLeft," ",!1));var a=this.symParitySet[i[7].stimulsoft().toNumber()];for(let r=0;r<6;r++){var s=i[1+r].stimulsoft().toNumber();let t=a[r];"0"!=i[0]&&(t="o"==t?"e":"o");let e=new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.ComboA0+s,i[1+r],!1);"o"!=t&&(e.symbolType=Ae.az.Ean13Symbol.ComboB0+s),n.push(e)}return n.push(new Ae.az.EanBarInfo(Ae.az.Ean13Symbol.GuardSpecial," ",!1)),n.push(new Ae.az.EanBarInfo(t?Ae.az.Ean13Symbol.SpaceRight:Ae.az.Ean13Symbol.SpaceBeforeAdd,i[7],!1)),n}createNew(){return new t}};Ae.az.StiUpcEBarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{get componentId(){return Ae.c.StiComponentId.StiUpcSup2BarCodeType}get serviceName(){return"UPC-Supp2"}get defaultCodeValue(){return"02"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,"0123456789")+"00",n=this.makeEanAdd2Bars(n,null,!0);this.calculateSizeEan(0,i,n,r,e),this.translateRect(t,r,e),this.drawEanBars(t,n,e),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiUpcSup2BarCodeType=t}{let t=class extends Ae.az.StiEAN13BarCodeType{get componentId(){return Ae.c.StiComponentId.StiUpcSup5BarCodeType}get serviceName(){return"UPC-Supp5"}get defaultCodeValue(){return"00321"}get visibleProperties(){let t=ke.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t}draw(t,e,r,i){var n=this.getCode(e),n=this.checkCodeSymbols(n,"0123456789")+"00000",n=this.makeEanAdd5Bars(n,null,!0);this.calculateSizeEan(0,i,n,r,e),this.translateRect(t,r,e),this.drawEanBars(t,n,e),this.rollbackTransform(t)}createNew(){return new t}constructor(t=13,e=1,r=Ae.az.StiEanSupplementType.None,i=null,n=!0){super(t,e,r,i,n)}};Ae.az.StiUpcSup5BarCodeType=t}Ae.az.ArrayHelper=class{static copy(e,r,i,n,a){for(let t=0;t<i.length;t++)void 0===i[t]&&(i[t]=0);for(let t=0;t<a;t++)i[n+t]=e[r+t]}},Ae.az.BitVector=class{constructor(){this.sizeInBits=0,this.array=ke.create(Number,32)}at(t){var e;return(255&this.array[t>>3])>>7-(7&t)&1}size(){return this.sizeInBits}sizeInBytes(){return this.sizeInBits+7>>3}appendBit(t){var e=7&this.sizeInBits;0==e&&(this.appendByte(0),this.sizeInBits-=8),this.array[this.sizeInBits>>3]|=t<<7-e,++this.sizeInBits}appendBits(t,e){let r=e;while(0<r){var i,i;0==(7&this.sizeInBits)&&8<=r?(i=t>>r-8&255,this.appendByte(i),r-=8):(i=t>>r-1&1,this.appendBit(i),--r)}}appendBitVector(e){var r=e.size();for(let t=0;t<r;++t)this.appendBit(e.at(t))}xor(e){var r=this.sizeInBits+7>>3;for(let t=0;t<r;++t)this.array[t]^=e.array[t]}toString(){let e=new Ae.bl.StringBuilder;for(let t=0;t<this.sizeInBits;t++)0==this.at(t)?e.append("0"):1==this.at(t)&&e.append("1");return e.toString()}getArray(){return this.array}appendByte(t){var e;this.sizeInBits>>3==this.array.length&&(e=new Array(this.array.length<<1),Ae.az.ArrayHelper.copy(this.array,0,e,0,this.array.length),this.array=e),this.array[this.sizeInBits>>3]=t,this.sizeInBits+=8}},Ae.az.BlockPair=class{constructor(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}};{let r=class{constructor(t=0,e=null){null==e?(this._bytes=new Array(this._size),this._size=t):(this._bytes=e,this._size=this._bytes.length)}at(t){return 255&this._bytes[t]}set(t,e){this._bytes[t]=e}size(){return this._size}isEmpty(){return 0==this._size}appendByte(t){var e;(0==this._size||this._size>=this._bytes.length)&&(e=Math.max(r.INITIAL_SIZE,this._size<<1),this.reserve(e)),this._bytes[this._size]=t,this._size++}reserve(t){var t;(null==this._bytes||this._bytes.length<t)&&(t=new Array(t),null!=this._bytes&&Ae.az.ArrayHelper.copy(this._bytes,0,t,0,this._bytes.length),this._bytes=t)}set1(e,r,i){this._bytes=new Array(i),this._size=i;for(let t=0;t<i;t++)this._bytes[t]=e[r+t]}};r.INITIAL_SIZE=32,Ae.az.ByteArray=r}Ae.az.ByteMatrix=class{constructor(e,r){this._bytes=ke.create(Ae.b.SByte,r);for(let t=0;t<r;t++)this._bytes[t]=ke.create(Ae.b.SByte,e);this._width=e,this._height=r}getValueString(){let r="";for(let e=0;e<this._width;e++)for(let t=0;t<this._height;t++)r+=this._bytes[e][t].toString();return r}getHeight(){return this._height}getWidth(){return this._width}get(t,e){return this._bytes[e][t]}getArray(){return this._bytes}set(t,e,r){this._bytes[e][t]=r}set2(t,e,r){this._bytes[e][t]=r}clear(r){for(let e=0;e<this._height;e++)for(let t=0;t<this._width;t++)this._bytes[e][t]=r}};{let n=class{constructor(t,e,r){this._value=t,this._encodingName=e,this._codepage=r}static get NAME_TO_ECI(){return null==this._name_to_eci&&n.Initialize(),this._name_to_eci}static set NAME_TO_ECI(t){this._name_to_eci=t}static Initialize(){var t=new Dt;n.addCharacterSet(3,"ISO-8859-1",28591,t),n.addCharacterSet(21,"Windows-1250",1250,t),n.addCharacterSet(22,"Windows-1251",1251,t),n.addCharacterSet(23,"Windows-1252",1252,t),n.addCharacterSet(24,"Windows-1256",1256,t),n.addCharacterSet(26,"UTF-8",65001,t),this._name_to_eci=t}getEncodingName(){return this._encodingName}getValue(){return this._value}getCodepage(){return this._codepage}static addCharacterSet(t,e,r,i){var r=new n(t,e,r);i.set(e,r)}static getCharacterSetECIByName(t){return this.NAME_TO_ECI.get(t)}static getCharacterSetECIByCodepage(t){for(var e of this.NAME_TO_ECI.values){var e=e.stimulsoft().as(n);if(e._codepage==t)return e}return this.getCharacterSetECIByName("UTF-8")}static getEncodingByNumber(t,e){for(var r of this.NAME_TO_ECI.values){var r=r.stimulsoft().as(n);if(r._value==t)return r._encodingName}return e}};n.lockNAME_TO_ECI=new Object,n._name_to_eci=null,Ae.az.CharacterSetECI=n}var tt=class{constructor(t,e,r){this._ordinal=t,this._bits=e,this._name=r}ordinal(){return this._ordinal}getBits(){return this._bits}getName(){return this._name}toString(){return this._name}static forBits(t){switch(t){case 0:return this.M;case 1:return this.L;case 2:return this.H;case 3:return this.Q}return null}};tt.L=new tt(0,1,"L"),tt.M=new tt(1,0,"M"),tt.Q=new tt(2,3,"Q"),tt.H=new tt(3,2,"H"),Ae.az.ErrorCorrectionLevel=tt;{let l=class{constructor(t){this.FORMAT_INFO_MASK_QR=21522,this.errorCorrectionLevel=Ae.az.ErrorCorrectionLevel.forBits(t>>3&3),this.dataMask=7&t}static numBitsDiffering(t,e){return this.BITS_SET_IN_HALF_BYTE[15&(t^=e)]+this.BITS_SET_IN_HALF_BYTE[t>>4&15]+this.BITS_SET_IN_HALF_BYTE[t>>8&15]+this.BITS_SET_IN_HALF_BYTE[t>>12&15]+this.BITS_SET_IN_HALF_BYTE[t>>16&15]+this.BITS_SET_IN_HALF_BYTE[t>>20&15]+this.BITS_SET_IN_HALF_BYTE[t>>24&15]+this.BITS_SET_IN_HALF_BYTE[t>>28&15]}static decodeFormatInformation(t,e){var r=l.doDecodeFormatInformation(t,e);if(null!=r)return r;return this.doDecodeFormatInformation(21522^t,21522^e)}static doDecodeFormatInformation(r,i){let n=2147483647,a=0;for(let e=0;e<this.FORMAT_INFO_DECODE_LOOKUP.stimulsoft().getLength(0);e++){var s=this.FORMAT_INFO_DECODE_LOOKUP[e],o=s[0];if(o==r||o==i)return new l(s[1]);let t=l.numBitsDiffering(r,o);t<n&&(a=s[1],n=t),r!=i&&(t=l.numBitsDiffering(i,o),t<n&&(a=s[1],n=t))}if(n<=3)return new l(a);return null}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getDataMask(){return this.dataMask}equals(t){if(!(t instanceof l))return!1;var e;return this.errorCorrectionLevel==t.errorCorrectionLevel&&this.dataMask==t.dataMask}};l.FORMAT_INFO_DECODE_LOOKUP=[[21522,0],[20773,1],[24188,2],[23371,3],[17913,4],[16590,5],[20375,6],[19104,7],[30660,8],[29427,9],[32170,10],[30877,11],[26159,12],[25368,13],[27713,14],[26998,15],[5769,16],[5054,17],[7399,18],[6608,19],[1890,20],[597,21],[3340,22],[2107,23],[13663,24],[12392,25],[16177,26],[14854,27],[9396,28],[8579,29],[11994,30],[11245,31]],l.BITS_SET_IN_HALF_BYTE=[0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4],Ae.az.FormatInformation=l}var rt=class{constructor(e){this._zero=null,this._one=null,this._expTable=new Array(256),this._logTable=new Array(256);let r=1;for(let t=0;t<256;t++)this._expTable[t]=r,r<<=1,256<=r&&(r^=e);for(let t=0;t<255;t++)this._logTable[this._expTable[t]]=t}getZero(){return new Ae.az.GF256Poly(this,[0])}getOne(){return new Ae.az.GF256Poly(this,[1])}buildMonomial(t,e){if(0==e)return new Ae.az.GF256Poly(this,[0]);let r=new Array(t+1);return r[0]=e,new Ae.az.GF256Poly(this,r)}static addOrSubtract(t,e){return t^e}exp(t){return this._expTable[t]}log(t){return this._logTable[t]}inverse(t){return this._expTable[255-this._logTable[t]]}multiply(t,e){if(0==t||0==e)return 0;if(1==t)return e;if(1==e)return t;return this._expTable[(this._logTable[t]+this._logTable[e])%255]}};rt.QR_CODE_FIELD=new rt(285),rt.DATA_MATRIX_FIELD=new rt(301),Ae.az.GF256=rt;{let l=class{constructor(e,r){this._field=e;var i=r.length;if(1<i&&0==r[0]){let t=1;while(t<i&&0==r[t])t++;t==i?this._coefficients=e.getZero()._coefficients:(this._coefficients=new Array(i-t),Ae.az.ArrayHelper.copy(r,t,this._coefficients,0,this._coefficients.length))}else this._coefficients=r}getCoefficients(){return this._coefficients}getDegree(){return this._coefficients.length-1}isZero(){return 0==this._coefficients[0]}getCoefficient(t){return this._coefficients[this._coefficients.length-1-t]}evaluateAt(e){if(0==e)return this.getCoefficient(0);var r=this._coefficients.length;if(1==e){let e=0;for(let t=0;t<r;t++)e=Ae.az.GF256.addOrSubtract(e,this._coefficients[t]);return e}let i=this._coefficients[0];for(let t=1;t<r;t++)i=Ae.az.GF256.addOrSubtract(this._field.multiply(e,i),this._coefficients[t]);return i}addOrSubtract(t){if(this.isZero())return t;if(t.isZero())return this;let e=this._coefficients,r=t._coefficients;var t;e.length>r.length&&(t=e,e=r,r=t);let i=new Array(r.length);var n=r.length-e.length;Ae.az.ArrayHelper.copy(r,0,i,0,n);for(let t=n;t<r.length;t++)i[t]=Ae.az.GF256.addOrSubtract(e[t-n],r[t]);return new l(this._field,i)}multiply(t){if(this.isZero()||t.isZero())return this._field.getZero();var r=this._coefficients,i=r.length,n=t._coefficients,a=n.length;let s=new Array(i+(a-1));for(let e=0;e<i;e++){var o=r[e];for(let t=0;t<a;t++)s[e+t]=Ae.az.GF256.addOrSubtract(s[e+t],this._field.multiply(o,n[t]))}return new l(this._field,s)}multiply1(e){if(0==e)return this._field.getZero();if(1==e)return this;var r=this._coefficients.length;let i=new Array(r);for(let t=0;t<r;t++)i[t]=this._field.multiply(this._coefficients[t],e);return new l(this._field,i)}multiplyByMonomial(t,e){if(0==e)return this._field.getZero();var r=this._coefficients.length;let i=new Array(r+t);for(let t=0;t<r;t++)i[t]=this._field.multiply(this._coefficients[t],e);return new l(this._field,i)}divide(t){let e=this._field.getZero(),r=this;var i=t.getCoefficient(t.getDegree()),n=this._field.inverse(i);while(r.getDegree()>=t.getDegree()&&!r.isZero()){var a=r.getDegree()-t.getDegree(),s=this._field.multiply(r.getCoefficient(r.getDegree()),n),o=t.multiplyByMonomial(a,s),s=this._field.buildMonomial(a,s);e=e.addOrSubtract(s),r=r.addOrSubtract(o)}return[e,r]}};Ae.az.GF256Poly=l}{let e=class{static applyMaskPenaltyRule1(t){return e.ApplyMaskPenaltyRule1Internal(t,!0)+e.ApplyMaskPenaltyRule1Internal(t,!1)}static applyMaskPenaltyRule2(t){let r=0;var i=t.getArray(),n=t.getWidth(),a=t.getHeight();for(let e=0;e<a-1;e++)for(let t=0;t<n-1;t++){var s=i[e][t];s==i[e][t+1]&&s==i[e+1][t]&&s==i[e+1][t+1]&&(r+=3)}return r}static applyMaskPenaltyRule3(t){let r=0;var i=t.getArray(),n=t.getWidth(),a=t.getHeight();for(let e=0;e<a;e++)for(let t=0;t<n;t++)t+6<n&&1==i[e][t]&&0==i[e][t+1]&&1==i[e][t+2]&&1==i[e][t+3]&&1==i[e][t+4]&&0==i[e][t+5]&&1==i[e][t+6]&&(t+10<n&&0==i[e][t+7]&&0==i[e][t+8]&&0==i[e][t+9]&&0==i[e][t+10]||0<=t-4&&0==i[e][t-1]&&0==i[e][t-2]&&0==i[e][t-3]&&0==i[e][t-4])&&(r+=40),e+6<a&&1==i[e][t]&&0==i[e+1][t]&&1==i[e+2][t]&&1==i[e+3][t]&&1==i[e+4][t]&&0==i[e+5][t]&&1==i[e+6][t]&&(e+10<a&&0==i[e+7][t]&&0==i[e+8][t]&&0==i[e+9][t]&&0==i[e+10][t]||0<=e-4&&0==i[e-1][t]&&0==i[e-2][t]&&0==i[e-3][t]&&0==i[e-4][t])&&(r+=40);return r}static applyMaskPenaltyRule4(t){let r=0;var i=t.getArray(),n=t.getWidth(),a=t.getHeight();for(let e=0;e<a;e++)for(let t=0;t<n;t++)1==i[e][t]&&r++;var t=t.getHeight()*t.getWidth(),t=r/t;return Math.abs(100*t-50)/(5*10)}static getDataMaskBit(t,e,r){let i,n;switch(t){case 0:n=r+e&1;break;case 1:n=1&r;break;case 2:n=e%3;break;case 3:n=(r+e)%3;break;case 4:n=(r>>1)+e/3&1;break;case 5:i=r*e,n=(1&i)+i%3;break;case 6:i=r*e,n=(1&i)+i%3&1;break;case 7:i=r*e,n=i%3+(r+e&1)&1;break}return 0==n}static ApplyMaskPenaltyRule1Internal(t,r){let i=0,n=0,a=-1;var s=r?t.getHeight():t.getWidth(),o=r?t.getWidth():t.getHeight(),l=t.getArray();for(let e=0;e<s;++e){for(let t=0;t<o;++t){var u=r?l[e][t]:l[t][e];u==a?(n+=1,5==n?i+=3:5<n&&(i+=1)):(n=1,a=u)}n=0}return i}};Ae.az.MaskUtil=e}{let u=class{static ClearMatrix(t){t.clear(-1)}static BuildMatrix(t,e,r,i,n){u.ClearMatrix(n),u.EmbedBasicPatterns(r,n),u.EmbedTypeInfo(e,i,n),u.MaybeEmbedVersionInfo(r,n),u.EmbedDataBits(t,i,n)}static EmbedBasicPatterns(t,e){u.EmbedPositionDetectionPatternsAndSeparators(e),u.EmbedDarkDotAtLeftBottomCorner(e),u.MaybeEmbedPositionAdjustmentPatterns(t,e),u.EmbedTimingPatterns(e)}static EmbedTypeInfo(t,e,r){let i=new Ae.az.BitVector;u.MakeTypeInfoBits(t,e,i);for(let t=0;t<i.size();t++){var n=i.at(i.size()-1-t),a=this.TYPE_INFO_COORDINATES[t][0],s=this.TYPE_INFO_COORDINATES[t][1],o,l,s,o;r.set(a,s,n),t<8?(o=r.getWidth()-t-1,r.set(o,8,n)):(s=8,o=r.getHeight()-7+(t-8),r.set(s,o,n))}}static MaybeEmbedVersionInfo(t,r){if(t<7)return;let i=new Ae.az.BitVector;u.MakeVersionInfoBits(t,i);let n=6*3-1;for(let e=0;e<6;++e)for(let t=0;t<3;++t){var a=i.at(n);n--,r.set(e,r.getHeight()-11+t,a),r.set(r.getHeight()-11+t,e,a)}}static EmbedDataBits(r,i,n){let a=0,t=-1,s=n.getWidth()-1,o=n.getHeight()-1;while(0<s){6==s&&--s;while(0<=o&&o<n.getHeight()){for(let e=0;e<2;++e){var l=s-e;if(!u.IsEmpty(n.get(l,o)))continue;let t;a<r.size()?(t=r.at(a),++a):t=0,-1!=i&&Ae.az.MaskUtil.getDataMaskBit(i,l,o)&&(t^=1),n.set(l,o,t)}o+=t}t=-t,o+=t,s-=2}}static FindMSBSet(t){let e=t,r=0;while(0!=e)e>>=1,++r;return r}static CalculateBCHCode(t,e){var r=u.FindMSBSet(e);t<<=r-1;while(this.FindMSBSet(t)>=r)t^=e<<this.FindMSBSet(t)-r;return t}static MakeTypeInfoBits(t,e,r){var e=t.getBits()<<3|e;r.appendBits(e,5);var e=u.CalculateBCHCode(e,this.TYPE_INFO_POLY);r.appendBits(e,10);let i=new Ae.az.BitVector;i.appendBits(this.TYPE_INFO_MASK_PATTERN,15),r.xor(i)}static MakeVersionInfoBits(t,e){e.appendBits(t,6);var t=u.CalculateBCHCode(t,this.VERSION_INFO_POLY);e.appendBits(t,12)}static IsEmpty(t){return-1==t}static IsValidValue(t){return-1==t||0==t||1==t}static EmbedTimingPatterns(e){for(let t=8;t<e.getWidth()-8;t++){var r=Math.floor((t+1)%2);u.IsEmpty(e.get(t,6))&&e.set(t,6,r),u.IsEmpty(e.get(6,t))&&e.set(6,t,r)}}static EmbedDarkDotAtLeftBottomCorner(t){t.set(8,t.getHeight()-8,1)}static EmbedHorizontalSeparationPattern(e,r,i){for(let t=0;t<8;++t)i.set(e+t,r,this.HORIZONTAL_SEPARATION_PATTERN[0][t])}static EmbedVerticalSeparationPattern(e,r,i){for(let t=0;t<7;++t)i.set(e,r+t,this.VERTICAL_SEPARATION_PATTERN[t][0])}static EmbedPositionAdjustmentPattern(r,i,n){for(let e=0;e<5;e++)for(let t=0;t<5;t++)n.set(r+t,i+e,this.POSITION_ADJUSTMENT_PATTERN[e][t])}static EmbedPositionDetectionPattern(r,i,n){for(let e=0;e<7;e++)for(let t=0;t<7;t++)n.set(r+t,i+e,this.POSITION_DETECTION_PATTERN[e][t])}static EmbedPositionDetectionPatternsAndSeparators(t){var e=this.POSITION_DETECTION_PATTERN[0].length;u.EmbedPositionDetectionPattern(0,0,t),u.EmbedPositionDetectionPattern(t.getWidth()-e,0,t),u.EmbedPositionDetectionPattern(0,t.getWidth()-e,t);var e=this.HORIZONTAL_SEPARATION_PATTERN[0].length;u.EmbedHorizontalSeparationPattern(0,e-1,t),u.EmbedHorizontalSeparationPattern(t.getWidth()-e,e-1,t),u.EmbedHorizontalSeparationPattern(0,t.getWidth()-e,t);var e=this.VERTICAL_SEPARATION_PATTERN.length;u.EmbedVerticalSeparationPattern(e,0,t),u.EmbedVerticalSeparationPattern(t.getHeight()-e-1,0,t),u.EmbedVerticalSeparationPattern(e,t.getHeight()-e,t)}static MaybeEmbedPositionAdjustmentPatterns(t,r){if(t<2)return;var t=t-1,i=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[t],n=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[t].length;for(let e=0;e<n;e++)for(let t=0;t<n;t++){var a=i[e],s=i[t];if(-1==s||-1==a)continue;u.IsEmpty(r.get(s,a))&&u.EmbedPositionAdjustmentPattern(s-2,a-2,r)}}};u.POSITION_DETECTION_PATTERN=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],u.HORIZONTAL_SEPARATION_PATTERN=[[0,0,0,0,0,0,0,0]],u.VERTICAL_SEPARATION_PATTERN=[[0],[0],[0],[0],[0],[0],[0]],u.POSITION_ADJUSTMENT_PATTERN=[[1,1,1,1,1],[1,0,0,0,1],[1,0,1,0,1],[1,0,0,0,1],[1,1,1,1,1]],u.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=[[-1,-1,-1,-1,-1,-1,-1],[6,18,-1,-1,-1,-1,-1],[6,22,-1,-1,-1,-1,-1],[6,26,-1,-1,-1,-1,-1],[6,30,-1,-1,-1,-1,-1],[6,34,-1,-1,-1,-1,-1],[6,22,38,-1,-1,-1,-1],[6,24,42,-1,-1,-1,-1],[6,26,46,-1,-1,-1,-1],[6,28,50,-1,-1,-1,-1],[6,30,54,-1,-1,-1,-1],[6,32,58,-1,-1,-1,-1],[6,34,62,-1,-1,-1,-1],[6,26,46,66,-1,-1,-1],[6,26,48,70,-1,-1,-1],[6,26,50,74,-1,-1,-1],[6,30,54,78,-1,-1,-1],[6,30,56,82,-1,-1,-1],[6,30,58,86,-1,-1,-1],[6,34,62,90,-1,-1,-1],[6,28,50,72,94,-1,-1],[6,26,50,74,98,-1,-1],[6,30,54,78,102,-1,-1],[6,28,54,80,106,-1,-1],[6,32,58,84,110,-1,-1],[6,30,58,86,114,-1,-1],[6,34,62,90,118,-1,-1],[6,26,50,74,98,122,-1],[6,30,54,78,102,126,-1],[6,26,52,78,104,130,-1],[6,30,56,82,108,134,-1],[6,34,60,86,112,138,-1],[6,30,58,86,114,142,-1],[6,34,62,90,118,146,-1],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],u.TYPE_INFO_COORDINATES=[[8,0],[8,1],[8,2],[8,3],[8,4],[8,5],[8,7],[8,8],[7,8],[5,8],[4,8],[3,8],[2,8],[1,8],[0,8]],u.VERSION_INFO_POLY=7973,u.TYPE_INFO_POLY=1335,u.TYPE_INFO_MASK_PATTERN=21522,Ae.az.MatrixUtil=u}var ot=class{constructor(t,e,r){this.characterCountBitsForVersions=t,this.bits=e,this.name=r}static ForBits(t){switch(t){case 0:return this.TERMINATOR;case 1:return this.NUMERIC;case 2:return this.ALPHANUMERIC;case 3:return this.STRUCTURED_APPEND;case 4:return this.BYTE;case 5:return this.FNC1_FIRST_POSITION;case 7:return this.ECI;case 8:return this.KANJI;case 9:return this.FNC1_SECOND_POSITION}throw new Error("")}GetCharacterCountBits(t){var t=t.getVersionNumber();let e;return e=t<=9?0:t<=26?1:2,this.characterCountBitsForVersions[e]}GetBits(){return this.bits}GetName(){return this.name}ToString(){return this.name}},Lp,Mp,Op,Hp,_p,Vp,Gp,Up,jp,Wp,qp,zp,Xp,Jp,Yp,Qp,Kp,Zp,$p,tg,eg,rg,ig,ng,ag,sg,og,lg,ug,hg,cg,dg,mg,pg,gg,fg,Sg,bg,yg,vg,wg,x,P,p,m,u,wt,yt,pt,dt,ht,ot,rt,tt,Z,ft,V,H,M,W,F,k,l,e,L,B,D,v,b,x,P,p,m,u,wt,yt,pt,dt,ht;ot.TERMINATOR=new ot([0,0,0],0,"TERMINATOR"),ot.NUMERIC=new ot([10,12,14],1,"NUMERIC"),ot.ALPHANUMERIC=new ot([9,11,13],2,"ALPHANUMERIC"),ot.STRUCTURED_APPEND=new ot([0,0,0],3,"STRUCTURED_APPEND"),ot.BYTE=new ot([8,16,16],4,"BYTE"),ot.ECI=new ot(null,7,"ECI"),ot.KANJI=new ot([8,10,12],8,"KANJI"),ot.FNC1_FIRST_POSITION=new ot(null,5,"FNC1_FIRST_POSITION"),ot.FNC1_SECOND_POSITION=new ot(null,9,"FNC1_SECOND_POSITION"),Ae.az.Mode=ot;{let p=class{static CalculateMaskPenalty(t){var e=0;return e+=Ae.az.MaskUtil.applyMaskPenaltyRule1(t),e+=Ae.az.MaskUtil.applyMaskPenaltyRule2(t),e+=Ae.az.MaskUtil.applyMaskPenaltyRule3(t),e+=Ae.az.MaskUtil.applyMaskPenaltyRule4(t)}static Encode(t,e,r,i){var n=p.defaultECIByteModeEncoding;let a=n,s=p.ChooseMode1(t,a);s==Ae.az.Mode.BYTE&&n!=p.BYTE_MODE_UTF8&&(a=p.GetEncodingCodepage(t,n));let o=new Ae.az.BitVector;p.AppendBytes(t,s,o,a);var n=o.sizeInBytes(),l;p.InitQRCode(n,e,s,r,i);let u=new Ae.az.BitVector;s!=Ae.az.Mode.BYTE||p.defaultECIByteModeEncoding==a||a==p.BYTE_MODE_UTF8||null!=(l=Ae.az.CharacterSetECI.getCharacterSetECIByCodepage(a))&&p.AppendECI(l,u),p.AppendModeInfo(s,u);var l=s.stimulsoft().equals(Ae.az.Mode.BYTE)?o.sizeInBytes():t.length;p.AppendLengthInfo(l,r.GetVersion(),s,u),u.appendBitVector(o),p.TerminateBits(r.GetNumDataBytes(),u);var t=new Ae.az.BitVector;p.InterleaveWithECBytes(u,r.GetNumTotalBytes(),r.GetNumDataBytes(),r.GetNumRSBlocks(),t);var l=new Ae.az.ByteMatrix(r.GetMatrixWidth(),r.GetMatrixWidth());r.SetMaskPattern(p.ChooseMaskPattern(t,r.GetECLevel(),r.GetVersion(),l)),Ae.az.MatrixUtil.BuildMatrix(t,r.GetECLevel(),r.GetVersion(),r.GetMaskPattern(),l),r.SetMatrix(l)}static GetEncodingCodepage(e,t){if(p.TryEncodeByte(e,"",t))return t;for(var r of Ae.az.CharacterSetECI.NAME_TO_ECI.values){let t=r.stimulsoft().as(Ae.az.CharacterSetECI);if(p.TryEncodeByte(e,t.getEncodingName(),t.getCodepage()))return t.getCodepage()}return p.BYTE_MODE_UTF8}static TryEncodeByte(t,e,r){let i=null;try{i=Ae.bl.Encoding.getEncoding(r)}catch(t){return Ae.b.StiError.showError(t,!1),!1}var r=i.getBytes(t),n;if(t!=i.getString(r))return!1;return!0}static GetAlphanumericCode(t){if(t<p.ALPHANUMERIC_TABLE.length)return p.ALPHANUMERIC_TABLE[t];return-1}static ChooseMode(t){return p.ChooseMode1(t,null)}static ChooseMode1(r,t){let i=!1,n=!1;for(let e=0;e<r.length;e++){let t=r[e];if("0"<=t&&t<="9")i=!0;else{if(-1==p.GetAlphanumericCode(t.charCodeAt(0)))return Ae.az.Mode.BYTE;n=!0}}if(n)return Ae.az.Mode.ALPHANUMERIC;if(i)return Ae.az.Mode.NUMERIC;return Ae.az.Mode.BYTE}static ChooseMaskPattern(e,r,i,n){let a=2147483647,s=-1;for(let t=0;t<Ae.az.StiQRCode.NUM_MASK_PATTERNS;t++){Ae.az.MatrixUtil.BuildMatrix(e,r,i,t,n);var o=p.CalculateMaskPenalty(n);o<a&&(a=o,s=t)}return s}static InitQRCode(r,i,t,n,e){n.SetECLevel(i),n.SetMode(t);let a=1;for(e!=Ae.az.StiQRCodeSize.Automatic&&(a=e);a<=40;a++){let t=Ae.az.Version.getVersionForNumber(a);var s=t.getTotalCodewords();let e=t.getECBlocksForLevel(i);var o=e.getTotalECCodewords(),l=e.getNumBlocks(),u=s-o;if(r+4<=u)return n.SetVersion(a),n.SetNumTotalBytes(s),n.SetNumDataBytes(u),n.SetNumRSBlocks(l),n.SetNumECBytes(o),void n.SetMatrixWidth(t.getDimensionForVersion())}}static TerminateBits(t,e){var r=t<<3;for(let t=0;t<4&&e.size()<r;t++)e.appendBit(0);var i=e.size()%8;if(0<i){var n=8-i;for(let t=0;t<n;t++)e.appendBit(0)}var a=t-e.sizeInBytes();for(let t=0;t<a;t++)t%2==0?e.appendBits(236,8):e.appendBits(17,8)}static GetNumDataBytesAndNumECBytesForBlockID(t,e,r,i,n,a){var s=Ne.trunc(t%r),o=Ne.trunc(r-s),s=Ne.trunc(t/r),t=Ne.trunc(s+1),e=Ne.trunc(e/r),r=Ne.trunc(e+1),s=Ne.trunc(s-e),t=Ne.trunc(t-r);i<o?(n[0]=e,a[0]=s):(n[0]=r,a[0]=t)}static InterleaveWithECBytes(i,n,a,s,o){let l=0,u=0,h=0,c=ke.create(Ae.az.BlockPair,s);for(let r=0;r<s;r++){var d=new Array(1),m=new Array(1);p.GetNumDataBytesAndNumECBytesForBlockID(n,a,s,r,d,m);let t=new Ae.az.ByteArray;t.set1(i.getArray(),l,d[0]);let e=p.GenerateECBytes(t,m[0]);c[r]=new Ae.az.BlockPair(t,e),u=Math.max(u,t.size()),h=Math.max(h,e.size()),l+=d[0]}for(let r=0;r<u;r++)for(let e=0;e<c.length;e++){let t=c[e].getDataBytes();r<t.size()&&o.appendBits(t.at(r),8)}for(let r=0;r<h;r++)for(let e=0;e<c.length;e++){let t=c[e].getErrorCorrectionBytes();r<t.size()&&o.appendBits(t.at(r),8)}}static GenerateECBytes(e,r){var i=e.size();let n=new Array(i+r);for(let t=0;t<i;t++)n[t]=e.at(t);new Ae.az.ReedSolomonEncoder(Ae.az.GF256.QR_CODE_FIELD).Encode(n,r);let a=new Ae.az.ByteArray(r);for(let t=0;t<r;t++)a.set(t,n[i+t]);return a}static AppendModeInfo(t,e){e.appendBits(t.GetBits(),4)}static AppendLengthInfo(t,e,r,i){var e=r.GetCharacterCountBits(Ae.az.Version.getVersionForNumber(e));i.appendBits(t,e)}static AppendBytes(t,e,r,i){e.stimulsoft().equals(Ae.az.Mode.NUMERIC)?p.AppendNumericBytes(t,r):e.stimulsoft().equals(Ae.az.Mode.ALPHANUMERIC)?p.AppendAlphanumericBytes(t,r):e.stimulsoft().equals(Ae.az.Mode.BYTE)?p.Append8BitBytes(t,r,i):e.stimulsoft().equals(Ae.az.Mode.KANJI)&&p.AppendKanjiBytes(t,r)}static AppendNumericBytes(t,e){var r=t.length;let i=0;while(i<r){var n=t.charCodeAt(i)-48,a,s,s;i+2<r?(a=t.charCodeAt(i+1)-48,s=t.charCodeAt(i+2)-48,e.appendBits(100*n+(10*a+s),10),i+=3):i+1<r?(s=t.charCodeAt(i+1)-48,e.appendBits(10*n+s,7),i+=2):(e.appendBits(n,4),i++)}}static AppendAlphanumericBytes(t,e){var r=t.length;let i=0;while(i<r){var n=p.GetAlphanumericCode(t.charCodeAt(i)),a;i+1<r?(a=p.GetAlphanumericCode(t.charCodeAt(i+1)),e.appendBits(45*n+a,11),i+=2):(e.appendBits(n,6),i++)}}static Append8BitBytes(t,e,r){let i;try{i=Ot.getEncoding(r).getBytes(t)}catch(t){Ae.b.StiError.showError(t.message,!1)}r==p.BYTE_MODE_UTF8&&Hd.Engine.barcodeQRCodeAllowUnicodeBOM&&(e.appendBits(239,8),e.appendBits(187,8),e.appendBits(191,8));for(let t=0;t<i.length;t++)e.appendBits(i[t],8)}static AppendKanjiBytes(t,r){var i,n=i.length;for(let e=0;e<n;e+=2){var a,s,o=(255&i[e])+8|255&i[e+1];let t=-1;33088<=o&&o<=40956?t=o-33088:57408<=o&&o<=60351&&(t=o-49472);var o=192*(t>>8)+(255&t);r.appendBits(o,13)}}static AppendECI(t,e){e.appendBits(Ae.az.Mode.ECI.GetBits(),4),e.appendBits(t.getValue(),8)}};p.ALPHANUMERIC_TABLE=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1],p.defaultECIByteModeEncoding=Ot.ISO_8859_1.codepage,p.BYTE_MODE_UTF8=Ot.UTF8.codepage,p.QUESTION_MARK_CHAR=63,Ae.az.QREncoder=p}Ae.az.ReedSolomonEncoder=class{constructor(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new Ae.az.GF256Poly(this.field,[1]))}BuildGenerator(r){if(r>=this.cachedGenerators.length){let e=this.cachedGenerators[this.cachedGenerators.length-1];for(let t=this.cachedGenerators.length;t<=r;t++){var i=e.multiply(new Ae.az.GF256Poly(this.field,[1,this.field.exp(t-1)]));this.cachedGenerators.push(i),e=i}}return this.cachedGenerators[r]}Encode(e,t){var r=e.length-t,i=this.BuildGenerator(t),n=new Array(r);Ae.az.ArrayHelper.copy(e,0,n,0,r);let a=new Ae.az.GF256Poly(this.field,n);a=a.multiplyByMonomial(t,1);let s=a.divide(i)[1];var o=s.getCoefficients(),l=t-o.length;for(let t=0;t<l;t++)e[r+t]=0;for(let t=0;t<o.length;t++)e[r+l+t]=o[t]}};{let t=class{constructor(){this._mode=null,this._ecLevel=null,this._version=-1,this._matrixWidth=-1,this._maskPattern=-1,this._numTotalBytes=-1,this._numDataBytes=-1,this._numECBytes=-1,this._numRSBlocks=-1,this._matrix=null}GetMode(){return this._mode}GetECLevel(){return this._ecLevel}GetVersion(){return this._version}GetMatrixWidth(){return this._matrixWidth}GetMaskPattern(){return this._maskPattern}GetNumTotalBytes(){return this._numTotalBytes}GetNumDataBytes(){return this._numDataBytes}GetNumECBytes(){return this._numECBytes}GetNumRSBlocks(){return this._numRSBlocks}GetMatrix(){return this._matrix}At(t,e){var r;return this._matrix.get(t,e)}IsValid(){return null!=this._mode&&null!=this._ecLevel&&-1!=this._version&&-1!=this._matrixWidth&&-1!=this._maskPattern&&-1!=this._numTotalBytes&&-1!=this._numDataBytes&&-1!=this._numECBytes&&-1!=this._numRSBlocks&&t.IsValidMaskPattern(this._maskPattern)&&this._numTotalBytes==this._numDataBytes+this._numECBytes&&null!=this._matrix&&this._matrixWidth==this._matrix.getWidth()&&this._matrix.getWidth()==this._matrix.getHeight()}SetMode(t){this._mode=t}SetECLevel(t){this._ecLevel=t}SetVersion(t){this._version=t}SetMatrixWidth(t){this._matrixWidth=t}SetMaskPattern(t){this._maskPattern=t}SetNumTotalBytes(t){this._numTotalBytes=t}SetNumDataBytes(t){this._numDataBytes=t}SetNumECBytes(t){this._numECBytes=t}SetNumRSBlocks(t){this._numRSBlocks=t}SetMatrix(t){this._matrix=t}static IsValidMaskPattern(t){return 0<=t&&t<this.NUM_MASK_PATTERNS}};t.NUM_MASK_PATTERNS=8,Ae.az.StiQRCode=t}{let t=class{constructor(t,e){this._count=t,this._dataCodewords=e}getCount(){return this._count}getDataCodewords(){return this._dataCodewords}};Ae.az.ECB=t;let e=class{constructor(t,e,r=null){this.ecCodewordsPerBlock=t,this.ecBlocks=null==r?[e]:[e,r]}getECCodewordsPerBlock(){return this.ecCodewordsPerBlock}getNumBlocks(){let e=0;for(let t=0;t<this.ecBlocks.length;t++)e+=this.ecBlocks[t].getCount();return e}getTotalECCodewords(){return this.ecCodewordsPerBlock*this.getNumBlocks()}getECBlocks(){return this.ecBlocks}};Ae.az.ECBlocks=e;let a=class{constructor(t,e,r,i,n,a){this._versionNumber=t,this._alignmentPatternCenters=e,this._ecBlocks=[r,i,n,a];let s=0;var o=r.getECCodewordsPerBlock(),l=r.getECBlocks();for(let e=0;e<l.length;e++){let t=l[e];s+=t.getCount()*(t.getDataCodewords()+o)}this._totalCodewords=s}static BuildVersions(){return[new a(1,[],new e(7,new t(1,19)),new e(10,new t(1,16)),new e(13,new t(1,13)),new e(17,new t(1,9))),new a(2,[6,18],new e(10,new t(1,34)),new e(16,new t(1,28)),new e(22,new t(1,22)),new e(28,new t(1,16))),new a(3,[6,22],new e(15,new t(1,55)),new e(26,new t(1,44)),new e(18,new t(2,17)),new e(22,new t(2,13))),new a(4,[6,26],new e(20,new t(1,80)),new e(18,new t(2,32)),new e(26,new t(2,24)),new e(16,new t(4,9))),new a(5,[6,30],new e(26,new t(1,108)),new e(24,new t(2,43)),new e(18,new t(2,15),new t(2,16)),new e(22,new t(2,11),new t(2,12))),new a(6,[6,34],new e(18,new t(2,68)),new e(16,new t(4,27)),new e(24,new t(4,19)),new e(28,new t(4,15))),new a(7,[6,22,38],new e(20,new t(2,78)),new e(18,new t(4,31)),new e(18,new t(2,14),new t(4,15)),new e(26,new t(4,13),new t(1,14))),new a(8,[6,24,42],new e(24,new t(2,97)),new e(22,new t(2,38),new t(2,39)),new e(22,new t(4,18),new t(2,19)),new e(26,new t(4,14),new t(2,15))),new a(9,[6,26,46],new e(30,new t(2,116)),new e(22,new t(3,36),new t(2,37)),new e(20,new t(4,16),new t(4,17)),new e(24,new t(4,12),new t(4,13))),new a(10,[6,28,50],new e(18,new t(2,68),new t(2,69)),new e(26,new t(4,43),new t(1,44)),new e(24,new t(6,19),new t(2,20)),new e(28,new t(6,15),new t(2,16))),new a(11,[6,30,54],new e(20,new t(4,81)),new e(30,new t(1,50),new t(4,51)),new e(28,new t(4,22),new t(4,23)),new e(24,new t(3,12),new t(8,13))),new a(12,[6,32,58],new e(24,new t(2,92),new t(2,93)),new e(22,new t(6,36),new t(2,37)),new e(26,new t(4,20),new t(6,21)),new e(28,new t(7,14),new t(4,15))),new a(13,[6,34,62],new e(26,new t(4,107)),new e(22,new t(8,37),new t(1,38)),new e(24,new t(8,20),new t(4,21)),new e(22,new t(12,11),new t(4,12))),new a(14,[6,26,46,66],new e(30,new t(3,115),new t(1,116)),new e(24,new t(4,40),new t(5,41)),new e(20,new t(11,16),new t(5,17)),new e(24,new t(11,12),new t(5,13))),new a(15,[6,26,48,70],new e(22,new t(5,87),new t(1,88)),new e(24,new t(5,41),new t(5,42)),new e(30,new t(5,24),new t(7,25)),new e(24,new t(11,12),new t(7,13))),new a(16,[6,26,50,74],new e(24,new t(5,98),new t(1,99)),new e(28,new t(7,45),new t(3,46)),new e(24,new t(15,19),new t(2,20)),new e(30,new t(3,15),new t(13,16))),new a(17,[6,30,54,78],new e(28,new t(1,107),new t(5,108)),new e(28,new t(10,46),new t(1,47)),new e(28,new t(1,22),new t(15,23)),new e(28,new t(2,14),new t(17,15))),new a(18,[6,30,56,82],new e(30,new t(5,120),new t(1,121)),new e(26,new t(9,43),new t(4,44)),new e(28,new t(17,22),new t(1,23)),new e(28,new t(2,14),new t(19,15))),new a(19,[6,30,58,86],new e(28,new t(3,113),new t(4,114)),new e(26,new t(3,44),new t(11,45)),new e(26,new t(17,21),new t(4,22)),new e(26,new t(9,13),new t(16,14))),new a(20,[6,34,62,90],new e(28,new t(3,107),new t(5,108)),new e(26,new t(3,41),new t(13,42)),new e(30,new t(15,24),new t(5,25)),new e(28,new t(15,15),new t(10,16))),new a(21,[6,28,50,72,94],new e(28,new t(4,116),new t(4,117)),new e(26,new t(17,42)),new e(28,new t(17,22),new t(6,23)),new e(30,new t(19,16),new t(6,17))),new a(22,[6,26,50,74,98],new e(28,new t(2,111),new t(7,112)),new e(28,new t(17,46)),new e(30,new t(7,24),new t(16,25)),new e(24,new t(34,13))),new a(23,[6,30,54,74,102],new e(30,new t(4,121),new t(5,122)),new e(28,new t(4,47),new t(14,48)),new e(30,new t(11,24),new t(14,25)),new e(30,new t(16,15),new t(14,16))),new a(24,[6,28,54,80,106],new e(30,new t(6,117),new t(4,118)),new e(28,new t(6,45),new t(14,46)),new e(30,new t(11,24),new t(16,25)),new e(30,new t(30,16),new t(2,17))),new a(25,[6,32,58,84,110],new e(26,new t(8,106),new t(4,107)),new e(28,new t(8,47),new t(13,48)),new e(30,new t(7,24),new t(22,25)),new e(30,new t(22,15),new t(13,16))),new a(26,[6,30,58,86,114],new e(28,new t(10,114),new t(2,115)),new e(28,new t(19,46),new t(4,47)),new e(28,new t(28,22),new t(6,23)),new e(30,new t(33,16),new t(4,17))),new a(27,[6,34,62,90,118],new e(30,new t(8,122),new t(4,123)),new e(28,new t(22,45),new t(3,46)),new e(30,new t(8,23),new t(26,24)),new e(30,new t(12,15),new t(28,16))),new a(28,[6,26,50,74,98,122],new e(30,new t(3,117),new t(10,118)),new e(28,new t(3,45),new t(23,46)),new e(30,new t(4,24),new t(31,25)),new e(30,new t(11,15),new t(31,16))),new a(29,[6,30,54,78,102,126],new e(30,new t(7,116),new t(7,117)),new e(28,new t(21,45),new t(7,46)),new e(30,new t(1,23),new t(37,24)),new e(30,new t(19,15),new t(26,16))),new a(30,[6,26,52,78,104,130],new e(30,new t(5,115),new t(10,116)),new e(28,new t(19,47),new t(10,48)),new e(30,new t(15,24),new t(25,25)),new e(30,new t(23,15),new t(25,16))),new a(31,[6,30,56,82,108,134],new e(30,new t(13,115),new t(3,116)),new e(28,new t(2,46),new t(29,47)),new e(30,new t(42,24),new t(1,25)),new e(30,new t(23,15),new t(28,16))),new a(32,[6,34,60,86,112,138],new e(30,new t(17,115)),new e(28,new t(10,46),new t(23,47)),new e(30,new t(10,24),new t(35,25)),new e(30,new t(19,15),new t(35,16))),new a(33,[6,30,58,86,114,142],new e(30,new t(17,115),new t(1,116)),new e(28,new t(14,46),new t(21,47)),new e(30,new t(29,24),new t(19,25)),new e(30,new t(11,15),new t(46,16))),new a(34,[6,34,62,90,118,146],new e(30,new t(13,115),new t(6,116)),new e(28,new t(14,46),new t(23,47)),new e(30,new t(44,24),new t(7,25)),new e(30,new t(59,16),new t(1,17))),new a(35,[6,30,54,78,102,126,150],new e(30,new t(12,121),new t(7,122)),new e(28,new t(12,47),new t(26,48)),new e(30,new t(39,24),new t(14,25)),new e(30,new t(22,15),new t(41,16))),new a(36,[6,24,50,76,102,128,154],new e(30,new t(6,121),new t(14,122)),new e(28,new t(6,47),new t(34,48)),new e(30,new t(46,24),new t(10,25)),new e(30,new t(2,15),new t(64,16))),new a(37,[6,28,54,80,106,132,158],new e(30,new t(17,122),new t(4,123)),new e(28,new t(29,46),new t(14,47)),new e(30,new t(49,24),new t(10,25)),new e(30,new t(24,15),new t(46,16))),new a(38,[6,32,58,84,110,136,162],new e(30,new t(4,122),new t(18,123)),new e(28,new t(13,46),new t(32,47)),new e(30,new t(48,24),new t(14,25)),new e(30,new t(42,15),new t(32,16))),new a(39,[6,26,54,82,110,138,166],new e(30,new t(20,117),new t(4,118)),new e(28,new t(40,47),new t(7,48)),new e(30,new t(43,24),new t(22,25)),new e(30,new t(10,15),new t(67,16))),new a(40,[6,30,58,86,114,142,170],new e(30,new t(19,118),new t(6,119)),new e(28,new t(18,47),new t(31,48)),new e(30,new t(34,24),new t(34,25)),new e(30,new t(20,15),new t(61,16)))]}getVersionNumber(){return this._versionNumber}getAlignmentPatternCenters(){return this._alignmentPatternCenters}getTotalCodewords(){return this._totalCodewords}getDimensionForVersion(){return 17+4*this._versionNumber}getECBlocksForLevel(t){return this._ecBlocks[t.ordinal()]}static getProvisionalVersionForDimension(t){try{return this.getVersionForNumber(t-17>>2)}catch(t){throw Ae.b.StiError.showError(t.message,!1),t}}static getVersionForNumber(t){return a.VERSIONS[t-1]}static decodeVersionInformation(e){let r=2147483647,i=0;for(let t=0;t<this.VERSION_DECODE_INFO.length;t++){var n=this.VERSION_DECODE_INFO[t];if(n==e)return a.getVersionForNumber(t+7);var n=Ae.az.FormatInformation.numBitsDiffering(e,n);n<r&&(i=t+7,r=n)}if(r<=3)return a.getVersionForNumber(i);return null}toString(){return this._versionNumber.toString()}};a.VERSION_DECODE_INFO=[31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017],a.VERSIONS=a.BuildVersions(),Ae.az.Version=a}(ht=Lp=Ae.as.StiPie3dLightingStyle||(Ae.as.StiPie3dLightingStyle={}))[ht["No"]=0]="No",ht[ht["Solid"]=1]="Solid",ht[ht["Gradient"]=2]="Gradient",Ae.as.StiTrendLinePropertyOrder=class{constructor(){this.lineColor=90,this.lineStyle=100,this.lineWidth=110,this.showShadow=120}},Ae.as.StiSeriesLabelsPropertyOrder=class{constructor(){this.allowApplyStyle=90,this.angle=100,this.antialiasing=110,this.autoRotate=120,this.conditions=125,this.drawBorder=130,this.borderColor=140,this.brush=150,this.font=160,this.format=170,this.labelColor=180,this.legendValueType=190,this.lineColor=200,this.lineColorNegative=201,this.lineLength=205,this.markerAlignment=210,this.markerSize=220,this.markerVisible=230,this.preventIntersection=240,this.showInPercent=250,this.showNulls=255,this.showValue=260,this.showZeros=270,this.step=280,this.textAfter=290,this.textBefore=300,this.useSeriesColor=310,this.valueType=320,this.valueTypeSeparator=330,this.visible=340,this.width=350,this.wordWrap=360}},Ae.as.StiSeriesPropertyOrder=class{constructor(){this.allowSeries=90,this.allowSeriesElements=95,this.drillDownEnabled=100,this.drillDownPage=110,this.drillDownReport=120,this.hyperlinkDataColumn=130,this.tagDataColumn=140,this.toolTipDataColumn=150,this.weightDataColumn=160,this.hyperlink=170,this.tag=180,this.toolTip=190,this.weight=200,this.listOfHyperlinks=210,this.listOfTags=220,this.listOfToolTips=230,this.listOfWeights=240,this.valueValueDataColumn=100,this.valueValue=110,this.valueListOfValues=120,this.valueValueDataColumnEnd=100,this.valueValueEnd=110,this.valueListOfValuesEnd=120,this.valueValueDataColumnOpen=1,this.valueValueOpen=2,this.valueListOfValuesOpen=3,this.valueValueDataColumnClose=100,this.valueValueClose=110,this.valueListOfValuesClose=120,this.valueValueDataColumnHigh=100,this.valueValueHigh=110,this.valueListOfValuesHigh=120,this.valueValueDataColumnLow=100,this.valueValueLow=110,this.valueListOfValuesLow=120,this.argumentArgumentDataColumn=130,this.argumentArgument=140,this.argumentListOfArguments=150,this.weightWeightDataColumn=100,this.weightWeight=110,this.weightListOfWeights=120,this.appearanceAllowApplyBorderColor=130,this.appearanceAllowApplyBrush=135,this.appearanceAllowApplyBrushNegative=136,this.appearanceAllowApplyColorNegative=137,this.appearanceDiameter=140,this.appearanceBorderColor=145,this.appearanceBrush=150,this.appearanceBrushNegative=151,this.appearanceLighting=155,this.appearanceShowShadow=160,this.appearanceTopmostLine=170,this.appearanceFunnelSliceMode=180,this.dataConditions=210,this.dataFilters=220,this.dataFilterMode=230,this.dataTopN=235,this.dataFormat=240,this.dataSortBy=250,this.dataSortDirection=260,this.dataAutoSeriesKeyDataColumn=270,this.dataAutoSeriesColorDataColumn=280,this.dataAutoSeriesTitleDataColumn=290}},(dt=_p=Ae.as.StiChartTitleDock||(Ae.as.StiChartTitleDock={}))[dt["Top"]=0]="Top",dt[dt["Right"]=90]="Right",dt[dt["Bottom"]=180]="Bottom",dt[dt["Left"]=270]="Left",(pt=Vp=Ae.as.StiLegendDirection||(Ae.as.StiLegendDirection={}))[pt["LeftToRight"]=0]="LeftToRight",pt[pt["RightToLeft"]=1]="RightToLeft",pt[pt["TopToBottom"]=2]="TopToBottom",pt[pt["BottomToTop"]=3]="BottomToTop",(yt=Gp=Ae.as.StiDirection||(Ae.as.StiDirection={}))[yt["LeftToRight"]=0]="LeftToRight",yt[yt["RightToLeft"]=1]="RightToLeft",yt[yt["TopToBottom"]=2]="TopToBottom",yt[yt["BottomToTop"]=3]="BottomToTop",(wt=Up=Ae.as.StiLegendHorAlignment||(Ae.as.StiLegendHorAlignment={}))[wt["LeftOutside"]=0]="LeftOutside",wt[wt["Left"]=1]="Left",wt[wt["Center"]=2]="Center",wt[wt["Right"]=3]="Right",wt[wt["RightOutside"]=4]="RightOutside",(u=jp=Ae.as.StiLegendVertAlignment||(Ae.as.StiLegendVertAlignment={}))[u["TopOutside"]=0]="TopOutside",u[u["Top"]=1]="Top",u[u["Center"]=2]="Center",u[u["Bottom"]=3]="Bottom",u[u["BottomOutside"]=4]="BottomOutside",(m=Wp=Ae.as.StiMarkerAlignment||(Ae.as.StiMarkerAlignment={}))[m["Left"]=0]="Left",m[m["Center"]=1]="Center",m[m["Right"]=2]="Right",(p=qp=Ae.as.StiChartAreaPosition||(Ae.as.StiChartAreaPosition={}))[p["ClusteredColumn"]=0]="ClusteredColumn",p[p["StackedColumn"]=1]="StackedColumn",p[p["FullStackedColumn"]=2]="FullStackedColumn",p[p["Pareto"]=3]="Pareto",p[p["Waterfall"]=4]="Waterfall",p[p["Histogram"]=5]="Histogram",p[p["ClusteredBar"]=10]="ClusteredBar",p[p["StackedBar"]=11]="StackedBar",p[p["FullStackedBar"]=12]="FullStackedBar",p[p["Pie"]=20]="Pie",p[p["Doughnut"]=21]="Doughnut",p[p["Line"]=30]="Line",p[p["SteppedLine"]=31]="SteppedLine",p[p["StackedLine"]=32]="StackedLine",p[p["FullStackedLine"]=33]="FullStackedLine",p[p["Spline"]=40]="Spline",p[p["StackedSpline"]=41]="StackedSpline",p[p["FullStackedSpline"]=42]="FullStackedSpline",p[p["Area"]=50]="Area",p[p["SteppedArea"]=51]="SteppedArea",p[p["StackedArea"]=52]="StackedArea",p[p["FullStackedArea"]=53]="FullStackedArea",p[p["SplineArea"]=60]="SplineArea",p[p["StackedSplineArea"]=61]="StackedSplineArea",p[p["FullStackedSplineArea"]=62]="FullStackedSplineArea",p[p["Gantt"]=70]="Gantt",p[p["Scatter"]=80]="Scatter",p[p["Bubble"]=81]="Bubble",p[p["RadarPoint"]=82]="RadarPoint",p[p["RadarLine"]=83]="RadarLine",p[p["RadarArea"]=84]="RadarArea",p[p["Range"]=90]="Range",p[p["SteppedRange"]=91]="SteppedRange",p[p["RangeBar"]=92]="RangeBar",p[p["SplineRange"]=93]="SplineRange",p[p["Funnel"]=100]="Funnel",p[p["Candlestick"]=110]="Candlestick",p[p["Stock"]=120]="Stock",p[p["BoxAndWhisker"]=121]="BoxAndWhisker",p[p["Treemap"]=130]="Treemap",p[p["Pictorial"]=131]="Pictorial",p[p["Sunburst"]=140]="Sunburst",p[p["Pie3d"]=200]="Pie3d",(P=zp=Ae.as.StiChartSeriesOrientation||(Ae.as.StiChartSeriesOrientation={}))[P["Horizontal"]=0]="Horizontal",P[P["Vertical"]=1]="Vertical",(x=Xp=Ae.as.StiArrowStyle||(Ae.as.StiArrowStyle={}))[x["None"]=0]="None",x[x["Triangle"]=1]="Triangle",x[x["Lines"]=2]="Lines",x[x["Circle"]=3]="Circle",x[x["Arc"]=4]="Arc",x[x["ArcAndCircle"]=5]="ArcAndCircle",(b=Jp=Ae.as.StiLabelsPlacement||(Ae.as.StiLabelsPlacement={}))[b["None"]=0]="None",b[b["OneLine"]=1]="OneLine",b[b["TwoLines"]=2]="TwoLines",b[b["AutoRotation"]=3]="AutoRotation",(v=Yp=Ae.as.StiXAxisDock||(Ae.as.StiXAxisDock={}))[v["Top"]=0]="Top",v[v["Bottom"]=1]="Bottom",(D=Qp=Ae.as.StiYAxisDock||(Ae.as.StiYAxisDock={}))[D["Left"]=0]="Left",D[D["Right"]=1]="Right",(B=Kp=Ae.as.StiTitlePosition||(Ae.as.StiTitlePosition={}))[B["Inside"]=0]="Inside",B[B["Outside"]=1]="Outside",(L=Zp=Ae.as.StiSeriesLabelsPosition||(Ae.as.StiSeriesLabelsPosition={}))[L["None"]=0]="None",L[L["InsideEndAxis"]=1]="InsideEndAxis",L[L["InsideBaseAxis"]=2]="InsideBaseAxis",L[L["CenterAxis"]=3]="CenterAxis",L[L["OutsideEndAxis"]=4]="OutsideEndAxis",L[L["OutsideBaseAxis"]=5]="OutsideBaseAxis",L[L["OutsideAxis"]=6]="OutsideAxis",L[L["Left"]=7]="Left",L[L["Value"]=8]="Value",L[L["Right"]=9]="Right",L[L["InsideEndPie"]=10]="InsideEndPie",L[L["CenterPie"]=11]="CenterPie",L[L["OutsidePie"]=12]="OutsidePie",L[L["TwoColumnsPie"]=13]="TwoColumnsPie",L[L["CenterFunnel"]=14]="CenterFunnel",L[L["OutsideRightFunnel"]=15]="OutsideRightFunnel",L[L["OutsideLeftFunnel"]=16]="OutsideLeftFunnel",L[L["CenterTreemap"]=17]="CenterTreemap",L[L["CenterPie3d"]=18]="CenterPie3d",(e=$p=Ae.as.StiSeriesLabelsType||(Ae.as.StiSeriesLabelsType={}))[e["Axis"]=1]="Axis",e[e["Pie"]=2]="Pie",e[e["Doughnut"]=4]="Doughnut",e[e["Radar"]=8]="Radar",e[e["Funnel"]=10]="Funnel",e[e["Treemap"]=12]="Treemap",e[e["Pie3d"]=13]="Pie3d",e[e["All"]=15]="All",(l=tg=Ae.as.StiSeriesLabelsValueType||(Ae.as.StiSeriesLabelsValueType={}))[l["Value"]=0]="Value",l[l["SeriesTitle"]=1]="SeriesTitle",l[l["Argument"]=2]="Argument",l[l["Tag"]=3]="Tag",l[l["Weight"]=4]="Weight",l[l["ValueArgument"]=5]="ValueArgument",l[l["ArgumentValue"]=6]="ArgumentValue",l[l["SeriesTitleValue"]=7]="SeriesTitleValue",l[l["SeriesTitleArgument"]=8]="SeriesTitleArgument",(k=eg=Ae.as.StiMarkerType||(Ae.as.StiMarkerType={}))[k["Rectangle"]=0]="Rectangle",k[k["Triangle"]=1]="Triangle",k[k["Circle"]=2]="Circle",k[k["HalfCircle"]=3]="HalfCircle",k[k["Star5"]=4]="Star5",k[k["Star6"]=5]="Star6",k[k["Star7"]=6]="Star7",k[k["Star8"]=7]="Star8",k[k["Hexagon"]=8]="Hexagon",(F=rg=Ae.as.StiSeriesSortType||(Ae.as.StiSeriesSortType={}))[F["Value"]=0]="Value",F[F["Argument"]=1]="Argument",F[F["None"]=2]="None",(W=ig=Ae.as.StiSeriesSortDirection||(Ae.as.StiSeriesSortDirection={}))[W["Ascending"]=0]="Ascending",W[W["Descending"]=1]="Descending",(M=ng=Ae.as.StiSeriesXAxis||(Ae.as.StiSeriesXAxis={}))[M["BottomXAxis"]=0]="BottomXAxis",M[M["TopXAxis"]=1]="TopXAxis",(H=ag=Ae.as.StiSeriesYAxis||(Ae.as.StiSeriesYAxis={}))[H["LeftYAxis"]=0]="LeftYAxis",H[H["RightYAxis"]=1]="RightYAxis",(V=sg=Ae.as.StiShowSeriesLabels||(Ae.as.StiShowSeriesLabels={}))[V["None"]=0]="None",V[V["FromChart"]=1]="FromChart",V[V["FromSeries"]=2]="FromSeries",(ft=og=Ae.as.StiShowYAxis||(Ae.as.StiShowYAxis={}))[ft["Left"]=0]="Left",ft[ft["Center"]=1]="Center",ft[ft["Both"]=2]="Both",(Z=lg=Ae.as.StiShowXAxis||(Ae.as.StiShowXAxis={}))[Z["Bottom"]=0]="Bottom",Z[Z["Center"]=1]="Center",Z[Z["Both"]=2]="Both",(tt=ug=Ae.as.StiRadarStyle||(Ae.as.StiRadarStyle={}))[tt["Polygon"]=0]="Polygon",tt[tt["Circle"]=1]="Circle",(rt=hg=Ae.as.StiTimeDateStep||(Ae.as.StiTimeDateStep={}))[rt["None"]=0]="None",rt[rt["Second"]=1]="Second",rt[rt["Minute"]=2]="Minute",rt[rt["Hour"]=3]="Hour",rt[rt["Day"]=4]="Day",rt[rt["Month"]=5]="Month",rt[rt["Year"]=6]="Year",(ot=cg=Ae.as.StiTopNMode||(Ae.as.StiTopNMode={}))[ot["None"]=0]="None",ot[ot["Top"]=1]="Top",ot[ot["Bottom"]=2]="Bottom",(ht=dg=Ae.as.StiChartStyleId||(Ae.as.StiChartStyleId={}))[ht["StiStyle01"]=0]="StiStyle01",ht[ht["StiStyle02"]=1]="StiStyle02",ht[ht["StiStyle03"]=2]="StiStyle03",ht[ht["StiStyle04"]=3]="StiStyle04",ht[ht["StiStyle05"]=4]="StiStyle05",ht[ht["StiStyle06"]=5]="StiStyle06",ht[ht["StiStyle07"]=6]="StiStyle07",ht[ht["StiStyle08"]=7]="StiStyle08",ht[ht["StiStyle09"]=8]="StiStyle09",ht[ht["StiStyle10"]=9]="StiStyle10",ht[ht["StiStyle11"]=10]="StiStyle11",ht[ht["StiStyle12"]=11]="StiStyle12",ht[ht["StiStyle13"]=12]="StiStyle13",ht[ht["StiStyle14"]=13]="StiStyle14",ht[ht["StiStyle15"]=14]="StiStyle15",ht[ht["StiStyle16"]=15]="StiStyle16",ht[ht["StiStyle17"]=16]="StiStyle17",ht[ht["StiStyle18"]=17]="StiStyle18",ht[ht["StiStyle19"]=18]="StiStyle19",ht[ht["StiStyle20"]=19]="StiStyle20",ht[ht["StiStyle21"]=20]="StiStyle21",ht[ht["StiStyle22"]=21]="StiStyle22",ht[ht["StiStyle23"]=22]="StiStyle23",ht[ht["StiStyle24"]=23]="StiStyle24",ht[ht["StiStyle25"]=24]="StiStyle25",ht[ht["StiStyle26"]=25]="StiStyle26",ht[ht["StiStyle27"]=26]="StiStyle27",ht[ht["StiStyle28"]=27]="StiStyle28",ht[ht["StiStyle29"]=28]="StiStyle29",ht[ht["StiStyle30"]=29]="StiStyle30",ht[ht["StiStyle31"]=30]="StiStyle31",ht[ht["StiStyle32"]=31]="StiStyle32",ht[ht["StiStyle33"]=32]="StiStyle33",ht[ht["StiStyle34"]=33]="StiStyle34",ht[ht["StiStyle35"]=34]="StiStyle35",(dt=mg=Ae.as.StiStrips_StiOrientation||(Ae.as.StiStrips_StiOrientation={}))[dt["Horizontal"]=0]="Horizontal",dt[dt["Vertical"]=1]="Vertical",dt[dt["HorizontalRight"]=2]="HorizontalRight",(pt=pg=Ae.as.StiConstantLines_StiOrientation||(Ae.as.StiConstantLines_StiOrientation={}))[pt["Horizontal"]=0]="Horizontal",pt[pt["Vertical"]=1]="Vertical",pt[pt["HorizontalRight"]=2]="HorizontalRight",(yt=gg=Ae.as.StiConstantLines_StiTextPosition||(Ae.as.StiConstantLines_StiTextPosition={}))[yt["LeftTop"]=0]="LeftTop",yt[yt["LeftBottom"]=1]="LeftBottom",yt[yt["CenterTop"]=2]="CenterTop",yt[yt["CenterBottom"]=3]="CenterBottom",yt[yt["RightTop"]=4]="RightTop",yt[yt["RightBottom"]=5]="RightBottom",(wt=fg=Ae.as.StiTrendLine_StiTextPosition||(Ae.as.StiTrendLine_StiTextPosition={}))[wt["LeftTop"]=0]="LeftTop",wt[wt["LeftBottom"]=1]="LeftBottom",wt[wt["RightTop"]=2]="RightTop",wt[wt["RightBottom"]=3]="RightBottom",(u=Sg=Ae.as.StiExtendedStyleBool||(Ae.as.StiExtendedStyleBool={}))[u["FromStyle"]=0]="FromStyle",u[u["True"]=1]="True",u[u["False"]=2]="False",(m=bg=Ae.as.StiChartConditionalField||(Ae.as.StiChartConditionalField={}))[m["Value"]=0]="Value",m[m["Argument"]=1]="Argument",m[m["Series"]=2]="Series",(p=yg=Ae.as.StiShowEmptyCellsAs||(Ae.as.StiShowEmptyCellsAs={}))[p["Gap"]=0]="Gap",p[p["ConnectPointsWithLine"]=1]="ConnectPointsWithLine",(P=vg=Ae.as.StiChartEditorType||(Ae.as.StiChartEditorType={}))[P["Simple"]=0]="Simple",P[P["Advanced"]=1]="Advanced",(x=wg=Ae.as.StiSeriesAnimationType||(Ae.as.StiSeriesAnimationType={}))[x["None"]=0]="None",x[x["Column"]=1]="Column",x[x["Line"]=2]="Line",x[x["Bar"]=3]="Bar",x[x["Range"]=4]="Range",Ae.as.StiChartAssembly=class{static get isAssemblyLoaded(){return null!=Ae.ap["StiChart"]}},Ae.as.IStiApplyStyle=new Ae.b.Interface("IStiApplyStyle"),Ae.as.IStiApplyStyleSeries=new Ae.b.Interface("IStiApplyStyleSeries"),Ae.as.IStiCellGeom=new Ae.b.Interface("IStiCellGeom"),Ae.as.IStiChartCoreXF=new Ae.b.Interface("IStiChartCoreXF"),Ae.as.IStiChartInfo=new Ae.b.Interface("IStiChartInfo"),Ae.as.IStiSeriesElement=new Ae.b.Interface("IStiSeriesElement"),Ae.as.IStiSeriesInteraction=new Ae.b.Interface("IStiSeriesInteraction"),Ae.as.ISti3dOptions=new Ae.b.Interface("ISti3dOptions"),Ae.as.IStiPie3dOptions=new Ae.b.Interface("IStiPie3dOptions"),Ae.as.IStiArea=new Ae.b.Interface("IStiArea"),Ae.as.IStiAreaCoreXF=new Ae.b.Interface("IStiAreaCoreXF"),Ae.as.IStiAxisArea=new Ae.b.Interface("IStiAxisArea"),Ae.as.IStiAxisAreaCoreXF=new Ae.b.Interface("IStiAxisAreaCoreXF"),Ae.as.IStiRoundValuesArea=new Ae.b.Interface("IStiRoundValuesArea"),Ae.as.IStiBoxAndWhiskerArea=new Ae.b.Interface("IStiBoxAndWhiskerArea"),Ae.as.IStiBubbleArea=new Ae.b.Interface("IStiBubbleArea"),Ae.as.IStiCandlestickArea=new Ae.b.Interface("IStiCandlestickArea"),Ae.as.IStiClusteredBarArea=new Ae.b.Interface("IStiClusteredBarArea"),Ae.as.IStiAreaArea=new Ae.b.Interface("IStiAreaArea"),Ae.as.IStiClusteredColumnArea=new Ae.b.Interface("IStiClusteredColumnArea"),Ae.as.IStiLineArea=new Ae.b.Interface("IStiLineArea"),Ae.as.IStiParetoArea=new Ae.b.Interface("IStiParetoArea"),Ae.as.IStiSplineArea=new Ae.b.Interface("IStiSplineArea"),Ae.as.IStiSplineAreaArea=new Ae.b.Interface("IStiSplineAreaArea"),Ae.as.IStiSteppedAreaArea=new Ae.b.Interface("IStiSteppedAreaArea"),Ae.as.IStiSteppedLineArea=new Ae.b.Interface("IStiSteppedLineArea"),Ae.as.IStiWaterfallArea=new Ae.b.Interface("IStiWaterfallArea"),Ae.as.IStiDoughnutArea=new Ae.b.Interface("IStiDoughnutArea"),Ae.as.IStiFullStackedBarArea=new Ae.b.Interface("IStiFullStackedBarArea"),Ae.as.IStiFullStackedAreaArea=new Ae.b.Interface("IStiFullStackedAreaArea"),Ae.as.IStiFullStackedColumnArea=new Ae.b.Interface("IStiFullStackedColumnArea"),Ae.as.IStiFullStackedLineArea=new Ae.b.Interface("IStiFullStackedLineArea"),Ae.as.IStiFullStackedSplineArea=new Ae.b.Interface("IStiFullStackedSplineArea"),Ae.as.IStiFullStackedSplineAreaArea=new Ae.b.Interface("IStiFullStackedSplineAreaArea"),Ae.as.IStiFunnelArea=new Ae.b.Interface("IStiFunnelArea"),Ae.as.IStiGanttArea=new Ae.b.Interface("IStiGanttArea"),Ae.as.IStiPictorialArea=new Ae.b.Interface("IStiPictorialArea"),Ae.as.IStiPieArea=new Ae.b.Interface("IStiPieArea"),Ae.as.IStiRadarArea=new Ae.b.Interface("IStiRadarArea"),Ae.as.IStiRadarAreaArea=new Ae.b.Interface("IStiRadarAreaArea"),Ae.as.IStiRadarLineArea=new Ae.b.Interface("IStiRadarLineArea"),Ae.as.IStiRadarPointArea=new Ae.b.Interface("IStiRadarPointArea"),Ae.as.IStiRangeArea=new Ae.b.Interface("IStiRangeArea"),Ae.as.IStiRangeBarArea=new Ae.b.Interface("IStiRangeBarArea"),Ae.as.IStiSplineRangeArea=new Ae.b.Interface("IStiSplineRangeArea"),Ae.as.IStiSteppedRangeArea=new Ae.b.Interface("IStiSteppedRangeArea"),Ae.as.IStiScatterArea=new Ae.b.Interface("IStiScatterArea"),Ae.as.IStiStackedBarArea=new Ae.b.Interface("IStiStackedBarArea"),Ae.as.IStiStackedAreaArea=new Ae.b.Interface("IStiStackedAreaArea"),Ae.as.IStiStackedColumnArea=new Ae.b.Interface("IStiStackedColumnArea"),Ae.as.IStiStackedLineArea=new Ae.b.Interface("IStiStackedLineArea"),Ae.as.IStiStackedSplineArea=new Ae.b.Interface("IStiStackedSplineArea"),Ae.as.IStiStackedSplineAreaArea=new Ae.b.Interface("IStiStackedSplineAreaArea"),Ae.as.IStiStockArea=new Ae.b.Interface("IStiStockArea"),Ae.as.IStiSunburstArea=new Ae.b.Interface("IStiSunburstArea"),Ae.as.IStiTreemapArea=new Ae.b.Interface("IStiTreemapArea"),Ae.as.IStiAxis=new Ae.b.Interface("IStiAxis"),Ae.as.IStiAxisCoreXF=new Ae.b.Interface("IStiAxisCoreXF"),Ae.as.IStiAxisDateTimeStep=new Ae.b.Interface("IStiAxisDateTimeStep"),Ae.as.IStiAxisInfoXF=new Ae.b.Interface("IStiAxisInfoXF"),Ae.as.IStiAxisInteraction=new Ae.b.Interface("IStiAxisInteraction"),Ae.as.IStiAxisLabels=new Ae.b.Interface("IStiAxisLabels"),Ae.as.IStiAxisLabelsCoreXF=new Ae.b.Interface("IStiAxisLabelsCoreXF"),Ae.as.IStiAxisRange=new Ae.b.Interface("IStiAxisRange"),Ae.as.IStiAxisTicks=new Ae.b.Interface("IStiAxisTicks"),Ae.as.IStiAxisTitle=new Ae.b.Interface("IStiAxisTitle"),Ae.as.IStiAxisTitleCoreXF=new Ae.b.Interface("IStiAxisTitleCoreXF"),Ae.as.IStiXAxis=new Ae.b.Interface("IStiXAxis"),Ae.as.IStiXBottomAxis=new Ae.b.Interface("IStiXBottomAxis"),Ae.as.IStiXTopAxis=new Ae.b.Interface("IStiXTopAxis"),Ae.as.IStiYAxis=new Ae.b.Interface("IStiYAxis"),Ae.as.IStiYLeftAxis=new Ae.b.Interface("IStiYLeftAxis"),Ae.as.IStiYRightAxis=new Ae.b.Interface("IStiYRightAxis"),Ae.as.IStiStripLineXF=new Ae.b.Interface("IStiStripLineXF"),Ae.as.IStiStripLinesXF=new Ae.b.Interface("IStiStripLinesXF"),Ae.as.IStiStripPositionXF=new Ae.b.Interface("IStiStripPositionXF"),Ae.as.IStiChartTitle=new Ae.b.Interface("IStiChartTitle"),Ae.as.IStiChartTitleCoreXF=new Ae.b.Interface("IStiChartTitleCoreXF"),Ae.as.IStiChartCondition=new Ae.b.Interface("IStiChartCondition"),Ae.as.IStiChartConditionsCollection=new Ae.b.Interface("IStiChartConditionsCollection"),Ae.as.IStiConstantLines=new Ae.b.Interface("IStiConstantLines"),Ae.as.IStiConstantLinesCollection=new Ae.b.Interface("IStiConstantLinesCollection"),Ae.as.IStiConstantLinesCoreXF=new Ae.b.Interface("IStiConstantLinesCoreXF"),Ae.as.IStiChartFilter=new Ae.b.Interface("IStiChartFilter"),Ae.as.IStiChartFiltersCollection=new Ae.b.Interface("IStiChartFiltersCollection"),Ae.as.IStiGridLines=new Ae.b.Interface("IStiGridLines"),Ae.as.IStiGridLinesCoreXF=new Ae.b.Interface("IStiGridLinesCoreXF"),Ae.as.IStiGridLinesHor=new Ae.b.Interface("IStiGridLinesHor"),Ae.as.IStiGridLinesVert=new Ae.b.Interface("IStiGridLinesVert"),Ae.as.IStiRadarGridLines=new Ae.b.Interface("IStiRadarGridLines"),Ae.as.IStiRadarGridLinesCoreXF=new Ae.b.Interface("IStiRadarGridLinesCoreXF"),Ae.as.IStiRadarGridLinesHor=new Ae.b.Interface("IStiRadarGridLinesHor"),Ae.as.IStiRadarGridLinesVert=new Ae.b.Interface("IStiRadarGridLinesVert"),Ae.as.IStiInterlacing=new Ae.b.Interface("IStiInterlacing"),Ae.as.IStiInterlacingCoreXF=new Ae.b.Interface("IStiInterlacingCoreXF"),Ae.as.IStiInterlacingHor=new Ae.b.Interface("IStiInterlacingHor"),Ae.as.IStiInterlacingVert=new Ae.b.Interface("IStiInterlacingVert"),Ae.as.IStiLegend=new Ae.b.Interface("IStiLegend"),Ae.as.IStiLegendCoreXF=new Ae.b.Interface("IStiLegendCoreXF"),Ae.as.IStiLegendMarker=new Ae.b.Interface("IStiLegendMarker"),Ae.as.IStiLineMarker=new Ae.b.Interface("IStiLineMarker"),Ae.as.IStiMarker=new Ae.b.Interface("IStiMarker"),Ae.as.IStiMarkerCoreXF=new Ae.b.Interface("IStiMarkerCoreXF"),Ae.as.IStiRadarAxis=new Ae.b.Interface("IStiRadarAxis"),Ae.as.IStiRadarAxisCoreXF=new Ae.b.Interface("IStiRadarAxisCoreXF"),Ae.as.IStiRadarAxisLabels=new Ae.b.Interface("IStiRadarAxisLabels"),Ae.as.IStiRadarAxisLabelsCoreXF=new Ae.b.Interface("IStiRadarAxisLabelsCoreXF"),Ae.as.IStiXRadarAxis=new Ae.b.Interface("IStiXRadarAxis"),Ae.as.IStiXRadarAxisCoreXF=new Ae.b.Interface("IStiXRadarAxisCoreXF"),Ae.as.IStiYRadarAxis=new Ae.b.Interface("IStiYRadarAxis"),Ae.as.IStiYRadarAxisCoreXF=new Ae.b.Interface("IStiYRadarAxisCoreXF"),Ae.as.IStiAllowApplyBorderColor=new Ae.b.Interface("IStiAllowApplyBorderColor"),Ae.as.IStiAllowApplyBrush=new Ae.b.Interface("IStiAllowApplyBrush"),Ae.as.IStiAllowApplyBrushNegative=new Ae.b.Interface("IStiAllowApplyBrushNegative"),Ae.as.IStiAllowApplyColorNegative=new Ae.b.Interface("IStiAllowApplyColorNegative"),Ae.as.IStiFontIconsSeries=new Ae.b.Interface("IStiFontIconsSeries"),Ae.as.IStiSeries=new Ae.b.Interface("IStiSeries"),Ae.as.IStiSeriesBorderThickness=new Ae.b.Interface("IStiSeriesBorderThickness"),Ae.as.IStiSeriesCollection=new Ae.b.Interface("IStiSeriesCollection"),Ae.as.IStiSeriesCoreXF=new Ae.b.Interface("IStiSeriesCoreXF"),Ae.as.IStiShowNullsSeries=new Ae.b.Interface("IStiShowNullsSeries"),Ae.as.IStiShowZerosSeries=new Ae.b.Interface("IStiShowZerosSeries"),Ae.as.IStiBoxAndWhiskerSeries=new Ae.b.Interface("IStiBoxAndWhiskerSeries"),Ae.as.IStiBubbleSeries=new Ae.b.Interface("IStiBubbleSeries"),Ae.as.IStiClusteredBarSeries=new Ae.b.Interface("IStiClusteredBarSeries"),Ae.as.IStiAreaSeries=new Ae.b.Interface("IStiAreaSeries"),Ae.as.IStiBaseLineSeries=new Ae.b.Interface("IStiBaseLineSeries"),Ae.as.IStiClusteredColumnSeries=new Ae.b.Interface("IStiClusteredColumnSeries"),Ae.as.IStiHistogramSeries=new Ae.b.Interface("IStiHistogramSeries"),Ae.as.IStiLineSeries=new Ae.b.Interface("IStiLineSeries"),Ae.as.IStiParetoSeries=new Ae.b.Interface("IStiParetoSeries"),Ae.as.IStiSplineAreaSeries=new Ae.b.Interface("IStiSplineAreaSeries"),Ae.as.IStiSplineSeries=new Ae.b.Interface("IStiSplineSeries"),Ae.as.IStiSteppedAreaSeries=new Ae.b.Interface("IStiSteppedAreaSeries"),Ae.as.IStiSteppedLineSeries=new Ae.b.Interface("IStiSteppedLineSeries"),Ae.as.IStiWaterfallSeries=new Ae.b.Interface("IStiWaterfallSeries"),Ae.as.IStiDoughnutSeries=new Ae.b.Interface("IStiDoughnutSeries"),Ae.as.IStiCandlestickSeries=new Ae.b.Interface("IStiCandlestickSeries"),Ae.as.IStiFinancialSeries=new Ae.b.Interface("IStiFinancialSeries"),Ae.as.IStiStockSeries=new Ae.b.Interface("IStiStockSeries"),Ae.as.IStiFullStackedBarSeries=new Ae.b.Interface("IStiFullStackedBarSeries"),Ae.as.IStiFullStackedAreaSeries=new Ae.b.Interface("IStiFullStackedAreaSeries"),Ae.as.IStiFullStackedColumnSeries=new Ae.b.Interface("IStiFullStackedColumnSeries"),Ae.as.IStiFullStackedLineSeries=new Ae.b.Interface("IStiFullStackedLineSeries"),Ae.as.IStiFullStackedSplineAreaSeries=new Ae.b.Interface("IStiFullStackedSplineAreaSeries"),Ae.as.IStiFullStackedSplineSeries=new Ae.b.Interface("IStiFullStackedSplineSeries"),Ae.as.IStiFunnelSeries=new Ae.b.Interface("IStiFunnelSeries"),Ae.as.IStiFunnelWeightedSlicesSeries=new Ae.b.Interface("IStiFunnelWeightedSlicesSeries"),Ae.as.IStiGanttSeries=new Ae.b.Interface("IStiGanttSeries"),Ae.as.IStiPictorialSeries=new Ae.b.Interface("IStiPictorialSeries"),Ae.as.IStiPie3dSeries=new Ae.b.Interface("IStiPie3dSeries"),Ae.as.IStiPieSeries=new Ae.b.Interface("IStiPieSeries"),Ae.as.IStiRadarAreaSeries=new Ae.b.Interface("IStiRadarAreaSeries"),Ae.as.IStiRadarLineSeries=new Ae.b.Interface("IStiRadarLineSeries"),Ae.as.IStiRadarPointSeries=new Ae.b.Interface("IStiRadarPointSeries"),Ae.as.IStiRadarSeries=new Ae.b.Interface("IStiRadarSeries"),Ae.as.IStiLineRangeSeries=new Ae.b.Interface("IStiLineRangeSeries"),Ae.as.IStiRangeBarSeries=new Ae.b.Interface("IStiRangeBarSeries"),Ae.as.IStiRangeSeries=new Ae.b.Interface("IStiRangeSeries"),Ae.as.IStiSplineRangeSeries=new Ae.b.Interface("IStiSplineRangeSeries"),Ae.as.IStiSteppedRangeSeries=new Ae.b.Interface("IStiSteppedRangeSeries"),Ae.as.IStiScatterLineSeries=new Ae.b.Interface("IStiScatterLineSeries"),Ae.as.IStiScatterSeries=new Ae.b.Interface("IStiScatterSeries"),Ae.as.IStiScatterSplineSeries=new Ae.b.Interface("IStiScatterSplineSeries"),Ae.as.IStiStackedBarSeries=new Ae.b.Interface("IStiStackedBarSeries"),Ae.as.IStiStackedAreaSeries=new Ae.b.Interface("IStiStackedAreaSeries"),Ae.as.IStiStackedBaseLineSeries=new Ae.b.Interface("IStiStackedBaseLineSeries"),Ae.as.IStiStackedColumnSeries=new Ae.b.Interface("IStiStackedColumnSeries"),Ae.as.IStiStackedLineSeries=new Ae.b.Interface("IStiStackedLineSeries"),Ae.as.IStiStackedSplineAreaSeries=new Ae.b.Interface("IStiStackedSplineAreaSeries"),Ae.as.IStiStackedSplineSeries=new Ae.b.Interface("IStiStackedSplineSeries"),Ae.as.IStiSunburstSeries=new Ae.b.Interface("IStiSunburstSeries"),Ae.as.IStiTreemapSeries=new Ae.b.Interface("IStiTreemapSeries"),Ae.as.IStiNoneLabels=new Ae.b.Interface("IStiNoneLabels"),Ae.as.IStiSeriesLabels=new Ae.b.Interface("IStiSeriesLabels"),Ae.as.IStiSeriesLabelsCoreXF=new Ae.b.Interface("IStiSeriesLabelsCoreXF"),Ae.as.IStiAxisSeriesLabels=new Ae.b.Interface("IStiAxisSeriesLabels"),Ae.as.IStiCenterAxisLabels=new Ae.b.Interface("IStiCenterAxisLabels"),Ae.as.IStiInsideBaseAxisLabels=new Ae.b.Interface("IStiInsideBaseAxisLabels"),Ae.as.IStiInsideEndAxisLabels=new Ae.b.Interface("IStiInsideEndAxisLabels"),Ae.as.IStiLeftAxisLabels=new Ae.b.Interface("IStiLeftAxisLabels"),Ae.as.IStiOutsideAxisLabels=new Ae.b.Interface("IStiOutsideAxisLabels"),Ae.as.IStiOutsideBaseAxisLabels=new Ae.b.Interface("IStiOutsideBaseAxisLabels"),Ae.as.IStiOutsideEndAxisLabels=new Ae.b.Interface("IStiOutsideEndAxisLabels"),Ae.as.IStiRightAxisLabels=new Ae.b.Interface("IStiRightAxisLabels"),Ae.as.IStiValueAxisLabels=new Ae.b.Interface("IStiValueAxisLabels"),Ae.as.IStiCenterFunnelLabels=new Ae.b.Interface("IStiCenterFunnelLabels"),Ae.as.IStiFunnelSeriesLabels=new Ae.b.Interface("IStiFunnelSeriesLabels"),Ae.as.IStiOutsideLeftFunnelLabels=new Ae.b.Interface("IStiOutsideLeftFunnelLabels"),Ae.as.IStiOutsideRightFunnelLabels=new Ae.b.Interface("IStiOutsideRightFunnelLabels"),Ae.as.IStiCenterPieLabels=new Ae.b.Interface("IStiCenterPieLabels"),Ae.as.IStiInsideEndPieLabels=new Ae.b.Interface("IStiInsideEndPieLabels"),Ae.as.IStiOutsidePieLabels=new Ae.b.Interface("IStiOutsidePieLabels"),Ae.as.IStiPieSeriesLabels=new Ae.b.Interface("IStiPieSeriesLabels"),Ae.as.IStiTwoColumnsPieLabels=new Ae.b.Interface("IStiTwoColumnsPieLabels"),Ae.as.IStiRadarSeriesLabels=new Ae.b.Interface("IStiRadarSeriesLabels"),Ae.as.IStiTangentRadarLabels=new Ae.b.Interface("IStiTangentRadarLabels"),Ae.as.IStiStrips=new Ae.b.Interface("IStiStrips"),Ae.as.IStiStripsCollection=new Ae.b.Interface("IStiStripsCollection"),Ae.as.IStiStripsCoreXF=new Ae.b.Interface("IStiStripsCoreXF"),Ae.as.IStiCustomStyleCoreXF=new Ae.b.Interface("IStiCustomStyleCoreXF"),Ae.as.IStiStyleCoreXF=new Ae.b.Interface("IStiStyleCoreXF"),Ae.as.IStiChartTable=new Ae.b.Interface("IStiChartTable"),Ae.as.IStiChartTableCoreXF=new Ae.b.Interface("IStiChartTableCoreXF"),Ae.as.IStiChartTableDataCells=new Ae.b.Interface("IStiChartTableDataCells"),Ae.as.IStiChartTableHeader=new Ae.b.Interface("IStiChartTableHeader"),Ae.as.IStiSeriesTopN=new Ae.b.Interface("IStiSeriesTopN"),Ae.as.IStiTrendLine=new Ae.b.Interface("IStiTrendLine"),Ae.as.IStiTrendLineCoreXF=new Ae.b.Interface("IStiTrendLineCoreXF"),Ae.as.IStiTrendLineExponential=new Ae.b.Interface("IStiTrendLineExponential"),Ae.as.IStiTrendLineLinear=new Ae.b.Interface("IStiTrendLineLinear"),Ae.as.IStiTrendLineLogarithmic=new Ae.b.Interface("IStiTrendLineLogarithmic"),Ae.as.IStiTrendLineNone=new Ae.b.Interface("IStiTrendLineNone"),Ae.as.IStiTrendLinesCollection=new Ae.b.Interface("IStiTrendLinesCollection"),Ae.as.IStiWaterfallConnectorLine=new Ae.b.Interface("IStiWaterfallConnectorLine"),Ae.as.IStiWaterfallTotal=new Ae.b.Interface("IStiWaterfallTotal"),Ae.aw.StiCodeDomExpressionHelper=class{static parseRtf(i,t){if(null!=t){let t=i.toString(),e=!1,r=t.lastIndexOf("__LP__");-1==r&&(r=0);for(let t=i.length-1;t>r;t--){if(" "==i.toString()[t]){e=!0;break}if("\\"==i.toString()[t])break}if(!e){let t=new Mt;return t.append('"'),t.append(i),t.append(" "),t.append('"'),t}}if(0<i.length){let t=new Mt;return t.append('"'),t.append(i),t.append('"'),t}return new Mt}static readString(t,e,r,i,n,a,s){let o=e.ref,l=r.ref,u=n.ref;l=l.append(i[o++]);let h=new Mt;while(o!=i.length&&'"'!=i[o]){if("\\"==i[o]&&o+1!=i.length){if("\\"==i[o+1]){h.append("\\\\"),o+=2;continue}'"'==i[o+1]&&o++}h.append(i[o++])}let c;c=null!=t?(h=this.replaceBackslash(h,a,s),t.quoteSnippetString(h.toString())):h.toString(),l=c.stimulsoft().startsWith('"')&&c.stimulsoft().endsWith('"')&&1<c.length?l.append(c.substr(1,c.length-2)):l.append(c),o!=i.length&&(l=l.append(i[o]),o++),o==i.length&&(0<l.length&&u.push(l.toString()),l=new Mt),o--,e.ref=o,r.ref=l,n.ref=u}static readChar(t,e,r){let i=t.ref,n=e.ref;n=n.append(r[i++]),i!=r.length&&(n=n.append(r[i++])),i!=r.length&&(n=n.append(r[i])),t.ref=i,e.ref=n}static getLexemSimple(e,t,r){let i=[],n=new Mt,a=!1,s=0;while(s<t.length){var o,l,u,u,h,h;if(0==a)if("{"==t[s]){if(a=!0,n=this.parseRtf(n,r),0<n.length){let t=n.toString().substr(1,n.length-2);null!=e&&(t=e.quoteSnippetString(t)),i.push(t)}n=new Mt}else n=n.append(t[s]);else'"'==t[s]?(o={ref:s},l={ref:n},u={ref:i},this.readString(e,o,l,t,u,null!=r,!1),s=o.ref,n=l.ref,i=u.ref):n="'"==t[s]?(u={ref:s},h={ref:n},this.readChar(u,h,t),s=u.ref,h.ref):"}"==t[s]?(a=!1,null==e&&(h=n.toString(),n=new Mt,n=n.append("{"),n=n.append(h),n=n.append("}")),0<n.length&&i.push(n.toString()),new Mt):n.append(t[s]);s++}if(0==a){if(n=this.parseRtf(n,r),0<n.length){let t=n.toString().substr(1,n.length-2);null!=e&&(t=e.quoteSnippetString(t)),i.push(t)}}else i.stimulsoft().clear();return i}static getLexem(t){return this.getLexemSimple(null,t,null)}static replaceBackslash(i,t,e){let n=new Mt;for(let r=0;r<i.length;r++)if("\\"==i.toString()[r]&&r<i.length-1){r++;var a=i.toString()[r];switch(a){case"\\":t&&!e&&r+1<i.length&&"n"==i.toString()[r+1]?(n.append("\n"),r++):n.append("\\");break;case"'":t?n.append("\\'"):n.append("'");break;case"0":n.append("\0");break;case"n":n.append("\n");break;case"r":n.append("\r");break;case"t":n.append("\t");break;case"x":{let t=new Mt,e=0;while(r<i.length-1&&e<4&&-1!="0123456789abcdefABCDEF".indexOf(i.toString()[r+1]))t.append(i.toString()[r+1]),r++,e++;var s=t.stimulsoft().toNumber();n.append(String.fromCharCode(s));break}default:n.append("\\"+a);break}}else n.append(i.toString()[r]);return n}},Ae.ap.StiBookmarksCollection=class extends J{indexOf(t){if(t.stimulsoft().is(Ae.ap.StiBookmark))return this.list.indexOf(t);let e=0;for(var r of this.list){if(r.text==t)return e;e++}return-1}getByName(t){let e=null;var r=this.indexOf(t);return-1==r?(e=new Ae.ap.StiBookmark(t,this),this.add(e)):e=this.getByIndex(r),e}},Ae.ap.StiCrossHeaderInteraction=class extends Ae.ap.StiInteraction{constructor(){super(...arguments),this.collapsingEnabled=!1}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("CollapsingEnabled")])}isDefault(){return super.isDefault()&&!this.collapsingEnabled}},Ae.ap.StiDrillDownParameter=class{constructor(){this.name="",this.expression=new Ch,this.interaction=null}implements(){return[Yt]}meta(){return this._hash||(this._hash=[new Ui("Name"),new Ma("Expression")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}isDefault(){return De.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.value.length)}},Ae.ap.StiFilterHelper=class{static convertStringToCondition(t){if(t==ne.get("PropertyEnum","StiFilterConditionEqualTo"))return Ae.ap.StiFilterCondition.EqualTo;if(t==ne.get("PropertyEnum","StiFilterConditionNotEqualTo"))return Ae.ap.StiFilterCondition.NotEqualTo;if(t==ne.get("PropertyEnum","StiFilterConditionBetween"))return Ae.ap.StiFilterCondition.Between;if(t==ne.get("PropertyEnum","StiFilterConditionNotBetween"))return Ae.ap.StiFilterCondition.NotBetween;if(t==ne.get("PropertyEnum","StiFilterConditionGreaterThan"))return Ae.ap.StiFilterCondition.GreaterThan;if(t==ne.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return Ae.ap.StiFilterCondition.GreaterThanOrEqualTo;if(t==ne.get("PropertyEnum","StiFilterConditionLessThan"))return Ae.ap.StiFilterCondition.LessThan;if(t==ne.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return Ae.ap.StiFilterCondition.LessThanOrEqualTo;if(t==ne.get("PropertyEnum","StiFilterConditionContaining"))return Ae.ap.StiFilterCondition.Containing;if(t==ne.get("PropertyEnum","StiFilterConditionNotContaining"))return Ae.ap.StiFilterCondition.NotContaining;if(t==ne.get("PropertyEnum","StiFilterConditionBeginningWith"))return Ae.ap.StiFilterCondition.BeginningWith;if(t==ne.get("PropertyEnum","StiFilterConditionEndingWith"))return Ae.ap.StiFilterCondition.EndingWith;if(t==ne.get("PropertyEnum","StiFilterConditionIsNull"))return Ae.ap.StiFilterCondition.IsNull;if(t==ne.get("PropertyEnum","StiFilterConditionIsNotNull"))return Ae.ap.StiFilterCondition.IsNotNull;return Ae.ap.StiFilterCondition.EqualTo}static convertConditionToString(t){switch(t){case Ae.ap.StiFilterCondition.EqualTo:return ne.get("PropertyEnum","StiFilterConditionEqualTo");case Ae.ap.StiFilterCondition.NotEqualTo:return ne.get("PropertyEnum","StiFilterConditionNotEqualTo");case Ae.ap.StiFilterCondition.Between:return ne.get("PropertyEnum","StiFilterConditionBetween");case Ae.ap.StiFilterCondition.NotBetween:return ne.get("PropertyEnum","StiFilterConditionNotBetween");case Ae.ap.StiFilterCondition.GreaterThan:return ne.get("PropertyEnum","StiFilterConditionGreaterThan");case Ae.ap.StiFilterCondition.GreaterThanOrEqualTo:return ne.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case Ae.ap.StiFilterCondition.LessThan:return ne.get("PropertyEnum","StiFilterConditionLessThan");case Ae.ap.StiFilterCondition.LessThanOrEqualTo:return ne.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case Ae.ap.StiFilterCondition.Containing:return ne.get("PropertyEnum","StiFilterConditionContaining");case Ae.ap.StiFilterCondition.NotContaining:return ne.get("PropertyEnum","StiFilterConditionNotContaining");case Ae.ap.StiFilterCondition.BeginningWith:return ne.get("PropertyEnum","StiFilterConditionBeginningWith");case Ae.ap.StiFilterCondition.EndingWith:return ne.get("PropertyEnum","StiFilterConditionEndingWith");case Ae.ap.StiFilterCondition.IsNull:return ne.get("PropertyEnum","StiFilterConditionIsNull");case Ae.ap.StiFilterCondition.IsNotNull:return ne.get("PropertyEnum","StiFilterConditionIsNotNull")}return""}static convertStringToDataType(t){if(t==ne.get("PropertyEnum","StiFilterDataTypeString"))return Ae.ap.StiFilterDataType.String;if(t==ne.get("PropertyEnum","StiFilterDataTypeNumeric"))return Ae.ap.StiFilterDataType.Numeric;if(t==ne.get("PropertyEnum","StiFilterDataTypeDateTime"))return Ae.ap.StiFilterDataType.DateTime;if(t==ne.get("PropertyEnum","StiFilterDataTypeBoolean"))return Ae.ap.StiFilterDataType.Boolean;if(t==ne.get("PropertyEnum","StiFilterDataTypeExpression"))return Ae.ap.StiFilterDataType.Expression;return Ae.ap.StiFilterDataType.String}static convertDataTypeToString(t){switch(t){case Ae.ap.StiFilterDataType.String:return ne.get("PropertyEnum","StiFilterDataTypeString");case Ae.ap.StiFilterDataType.Numeric:return ne.get("PropertyEnum","StiFilterDataTypeNumeric");case Ae.ap.StiFilterDataType.DateTime:return ne.get("PropertyEnum","StiFilterDataTypeDateTime");case Ae.ap.StiFilterDataType.Boolean:return ne.get("PropertyEnum","StiFilterDataTypeBoolean");case Ae.ap.StiFilterDataType.Expression:return ne.get("PropertyEnum","StiFilterDataTypeExpression")}return""}static setFilter(t){}};{let r=class extends J{implements(){return[Jt,Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var r of t.properties()){let t=null,e=r.value;var i;switch(e.properties().firstOrDefault(t=>"Ident"==t.name).value){case"StiFilter":t=new Ae.ap.StiFilter;break;case"StiBaseCondition":t=new Ae.ap.StiBaseCondition;break;case"StiConditionHelper":t=new Ae.ap.StiConditionHelper;break}t.loadFromJsonObject(r.value),this.list.push(t)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if("value"==e.nodeName){var i=e.textContent.split(",");let t;t=1==i.length?new Ae.ap.StiFilter(Ae.ap.StiFilterItem.Expression,"",Ae.ap.StiFilterCondition.EqualTo,"","",Ae.ap.StiFilterDataType.String,nt.decodeName(i[0])):new Ae.ap.StiFilter(Ae.ap.StiFilterItem.Value,nt.decodeName(i[0]),Zt.parse(Ae.ap.StiFilterCondition,i[1]),nt.decodeName(i[2]),nt.decodeName(i[3]),Zt.parse(Ae.ap.StiFilterDataType,i[4])),this.list.push(t)}}}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}};Ae.ap.StiFiltersCollection=r}let Cg=Ae.S.StiHtmlTag,Tg=Ae.S.RunInfo,Pg=Ae.S.StiHtmlState;var b=Ae.S.StiFontState,Ig,v,Ag,D;let xg=Ae.S.StiHtmlTagsState;{let e=class{get Width(){return(0<this.IndexEnd?this.SumWidths[this.IndexEnd-1]:0)-(0<this.IndexBegin?this.SumWidths[this.IndexBegin-1]:0)}Clone(){return this.stimulsoft().memberwiseClone(!0)}},a=class{constructor(){this.Widths=ke.create(Number,65536);for(let t=0;t<65536;t++)this.Widths[t]=-1}GetWidth(t){if(-1==this.Widths[t]){var e,r=65504&t,i=r+32;if(!0){var n=Rr.measureString("DD",this.BaseFont,null,!0);for(let t=r;t<i;t++){var a,s=Rr.measureString("D"+String.fromCharCode(t)+"D",this.BaseFont,null,!0,1,0,!0).width-n.width;this.Widths[t]=0|Math.round(.985*s)}}}return this.Widths[t]}},A=class extends b{static CreateFrom(t){let e=new A;return e.ascend=t.ascend,e.descend=t.descend,e.emValue=t.emValue,e.fontBase=t.fontBase,e.lineHeight=t.lineHeight,e.fontName=t.fontName,e.parentFontIndex=t.parentFontIndex,e.superOrSubscriptIndex=t.superOrSubscriptIndex,e}},x=class{static GetOutlineTextMetricsCached(r,i){var t=r+"*"+String.fromCharCode(48+i),e=this.outlineTextMetricsCache.get(t);if(null!=e)return e;let n=new a;try{n.BaseFont=new Ar(r,Ae.S.StiTextRenderer.maxFontSize,i);let t=0,e=0;0||(t=Rr.measureString("D\r\nD\r\nD\r\nD\r\nD\r\nD\r\nD\r\nD\r\nD\r\nD",n.BaseFont,null,!0,1,0,!0).height/10,e=t),n.otmAscent=.8*t,n.otmDescent=.2*t,n.otmExternalLeading=e-t,n.otmsStrikeoutPosition=.25*t,n.otmsStrikeoutSize=.05*t,n.otmsUnderscorePosition=.1*-t,n.otmsUnderscoreSize=.07*t}catch(t){}return this.outlineTextMetricsCache.set(t,n),n}static drawString(r,i,t,e){var n=[],a=[];let s=new d;s.Parse(e,t,n,a);var o=e.page.zoom,l;for(l of n){let t=0;for(var u of l.widths)t+=u;let e=a[l.fontIndex];1!=o&&null==e.fontScaled&&(e.fontScaled=new Ar(e.fontBase.name,e.emValue*o,e.fontBase.style));var h=1==o?e.fontBase:e.fontScaled,c=new Tr(i.x+l.xPos*o,i.y+l.yPos*o,t*o,e.lineHeight*o);r.fillRectangle(new vr(l.backColor),c.x,i.y,i.width,i.height),r.drawString(l.text,h,new vr(l.textColor),i.x+l.xPos*o,i.y+l.yPos*o)}}static measureString(e){var t=[],r=[];let i=new d,n=i.Parse(e,e.text,t,r);if(null!=e.report&&e.report.reportUnit!=Ae.c.StiReportUnitType.HundredthsOfInch){let t=e.report.unit;var e=n.width+e.margins.left+e.margins.right+e.border.size;t.convertToHInches(Ne.round2(t.convertFromHInches(e),2))<e&&(n.width+=t.convertToHInches(.01))}return n}static breakText(t,e,r){var i=[],n=[],a=[];let s=new d;return s.Parse(r,r.text,n,a,t.height,i),i}static drawTextForOutput(t,e,r){let i=new d;i.Parse(t,t.text,e,r)}};x.outlineTextMetricsCache=new Dt,Ae.ap.StiHtmlTextRender=x;let d=class{constructor(){this.fontList=null,this.stateList=null,this.outputRunes=null,this.currentLineRunes=null,this.positionX=0,this.positionY=0,this.correctX=0,this.breakHeight=0,this.needBreakText=!1,this.lastLineBeginStateIndex=0,this.lastLineBeginRuneIndex=0}Parse(i,s,n,e,a=0,o=null){null!=i.page?this.bounds=i.page.unit.convertRectangleToHInches(i.clientRectangle):this.bounds=i.getPaintRectangle(!0,!1),this.bounds=i.convertTextMargins(this.bounds,!1),this.bounds=i.convertTextBorders(this.bounds,!1),this.correctX=Rr.measureString(" ",i.font,null,!0).width/5,this.bounds.x+=this.correctX,this.bounds.width-=2*this.correctX;var t=i.angle,r;(45<t&&t<135||215<t&&t<315)&&(r=this.bounds.width,this.bounds.width=this.bounds.height,this.bounds.height=r),this.breakHeight=a,this.needBreakText=null!=o;var r=null!=s&&s.endsWith(Ko.StiForceWidthAlignTag);let l=new Fr(0,0),u=this.bounds.right,h=0;try{var c=new xg(i.font.bold,i.font.italic,i.font.underline,i.font.strikeout,i.font.sizeInPoints,i.font.name,hi.toColor(i.textBrush),hi.toColor(i.brush),!1,!1,0,0,i.lineSpacing,i.horAlignment),d=new Pg(c,0);this.stateList=Ko.parseHtmlToStates(s,d),this.fontList=new Ee;for(let e=0;e<this.stateList.length;e++){let t=this.stateList[e];var m=t.ts.fontSize;t.fontIndex=Ko.getFontIndex(t.ts.fontName,m,t.ts.bold,t.ts.italic,t.ts.underline,t.ts.strikeout,t.ts.superscript||t.ts.subsript,this.fontList)}for(let e=0;e<this.fontList.countItems;e++){let t=A.CreateFrom(this.fontList[e]);t.emValue=t.fontBase.size;var p=x.GetOutlineTextMetricsCached(t.fontName,t.fontBase.style),g=(p.otmAscent+p.otmDescent+p.otmExternalLeading)/Ko.maxFontSize*t.emValue,f=p.otmAscent/Ko.maxFontSize*t.emValue,S=p.otmDescent/Ko.maxFontSize*t.emValue,b=g;t.lineHeight=b,t.ascend=f,t.descend=S,t.otm=p,this.fontList[e]=t}this.outputRunes=new Ee,this.currentLineRunes=new Ee;for(let r=0;r<this.stateList.length;r++){let t=this.stateList[r];if(this.needBreakText&&this.positionY>a)break;if(1==t.text.length&&"\n"==t.text.charAt(0)){this.CompleteCurrentLine(r);continue}let e=this.GetRune(t);while(this.positionX+e.Width>this.bounds.width&&i.wordWrap){var y=this.BreakRune(e,this.bounds.width-this.positionX);null!=y&&(this.AddRuneToCurrentLine(e),e=y),this.CompleteCurrentLine(r)}this.AddRuneToCurrentLine(e)}if(0<this.currentLineRunes.countItems&&this.CompleteCurrentLine(this.stateList.length-1,r),this.needBreakText)if(this.positionY<a)o.push(s),o.push("");else if(0==this.lastLineBeginStateIndex&&0==this.lastLineBeginRuneIndex)o.push(""),o.push(s);else{let t=this.outputRunes[this.lastLineBeginRuneIndex];var v=this.lastLineBeginStateIndex,w=this.stateList[v];let e=t.IndexEnd,r=!1,i="";t.IndexEnd!=t.Text.length&&(i=t.Text.substr(0,t.IndexEnd),this.lastLineBeginRuneIndex+1<this.outputRunes.countItems&&(e=this.outputRunes[this.lastLineBeginRuneIndex+1].IndexBegin),w.ts.textAlign==Bs.Width&&(r=!0)),0<v&&this.stateList[v-1].ts.tag.tag==Cg.ListItem&&w.ts.tag.tag==Cg.ListItem?i=null==this.stateList[v-1].listLevels||null==w.listLevels||this.stateList[v-1].listLevels.length==w.listLevels.length?"<li>"+i:(0<w.listLevels[w.listLevels.length-1]?"<ol>":"<ul>")+i:0<i.length&&(i=Ko.stateToHtml(w,w,i,0));var C=s.substr(0,w.posBegin)+i+(r?Ko.StiForceWidthAlignTag:"");let n=v+1,a=Ko.stateToHtml(w,(w.ts.tag.tag==Cg.ListItem||w.ts.tag.tag==Cg.P)&&n<this.stateList.length?this.stateList[n]:w,t.Text.substr(e),0);w.ts.tag.tag==Cg.ListItem&&n<this.stateList.length&&(a+=this.stateList[n].text,n++),n<this.stateList.length&&(a+=s.substr(this.stateList[n].posBegin)),o.push(C),o.push(a)}else{let t=0;i.vertAlignment==Go.Center&&(t=(this.bounds.height-this.positionY)/2),i.vertAlignment==Go.Bottom&&(t=this.bounds.height-this.positionY);for(var T of this.outputRunes){let e=new Tg;e.text=T.Text.substr(T.IndexBegin,T.IndexEnd-T.IndexBegin),e.xPos=T.X,e.yPos=T.Y+t,e.textColor=T.State.fontColor,e.backColor=T.State.backColor,e.fontIndex=T.FontIndex,e.href=T.State.href,e.widths=ke.create(Number,e.text.length),e.glyphWidths=ke.create(Number,e.text.length),e.scaleList=ke.create(Number,e.text.length),e.glyphIndexList=ke.create(Number,e.text.length);let r=0,i=0;for(let t=0;t<e.widths.length;t++){i+=T.Widths[T.IndexBegin+t];var P=Math.round(i-r);e.widths[t]=P,e.glyphWidths[t]=P,e.scaleList[t]=T.Scales[T.IndexBegin+t],e.glyphIndexList[t]=-1,r+=P}u=Math.min(u,T.X),h=Math.max(h,T.X+i),n.push(e)}for(var I of this.fontList)e.push(I)}}catch(t){}finally{l.width=h-u,l.height=this.positionY}return l}AddRuneToCurrentLine(t){t.X=this.positionX,t.Y=this.positionY,this.currentLineRunes.add(t),this.positionX+=t.Width}CompleteCurrentLine(t,e=!1){var r=this.stateList[t],i;let n=r.fontIndex,a=0,s=0;for(i of this.currentLineRunes){this.fontList[n].emValue<this.fontList[i.FontIndex].emValue&&(n=i.FontIndex),a+=i.Width;for(let t=i.IndexBegin;t<i.IndexEnd;t++)Be.isWhitespace(i.Text,t,!1)&&s++}var o=this.fontList[n].lineHeight,e;let l=0,u=e;r.ts.textAlign==Bs.Width&&0<this.currentLineRunes.countItems&&((e=this.currentLineRunes[this.currentLineRunes.countItems-1]).IndexEnd!=e.Text.length&&(u=!0)),u&&0<s&&(l=(this.bounds.width-a)/s);let h=0;r.ts.textAlign==Bs.Center&&(h=(this.bounds.width-a)/2),r.ts.textAlign==Bs.Right&&(h=this.bounds.width-a);var c=o-this.fontList[n].descend,d,m;for(d of this.currentLineRunes)if(d.X+=h+this.correctX,d.State.superscript||d.State.subsript?d.State.superscript?d.Y+=o-this.fontList[this.fontList[d.FontIndex].parentFontIndex].lineHeight:d.Y+=c+this.fontList[this.fontList[d.FontIndex].parentFontIndex].descend-d.Height:d.Y+=c+this.fontList[d.FontIndex].descend-d.Height,u)for(let t=d.IndexBegin;t<d.IndexEnd;t++){Be.isWhitespace(d.Text,t,!1)&&(m=d.Widths[t]+l,d.Scales[t]=m/d.Widths[t],d.Widths[t]=m)}if(this.outputRunes.addRange(this.currentLineRunes),this.positionX=0,this.positionY+=o*r.ts.lineHeight,this.currentLineRunes.clear(),this.needBreakText){if(this.positionY>this.breakHeight)return;this.lastLineBeginStateIndex=t,this.lastLineBeginRuneIndex=this.outputRunes.countItems-1}}GetRune(t){let r=Ko.prepareStateText(t.text).toString(),i=new e;i.Text=r,i.Widths=ke.create(Number,r.length),i.SumWidths=ke.create(Number,r.length),i.Scales=ke.create(Number,r.length),i.IndexBegin=0,i.IndexEnd=r.length,i.State=t.ts,i.FontIndex=t.fontIndex;let n=this.fontList[t.fontIndex].stimulsoft().as(A);var a=n.emValue*t.ts.letterSpacing,s=n.emValue*t.ts.wordSpacing;let o=0;for(let e=0;e<r.length;e++){var l=n.otm.GetWidth(r.charCodeAt(e))/Ko.maxFontSize*n.emValue;let t=l+a;Be.isWhitespace(r,e,!1)&&(t+=s),o+=t,i.Widths[e]=t,i.SumWidths[e]=o,i.Scales[e]=0==l?1:t/l}return i.Height=this.fontList[t.fontIndex].lineHeight,i}BreakRune(e,t){let r=e.IndexBegin;var i=0<r?e.SumWidths[r-1]:0;while(e.SumWidths[r]-i<t)r++;let n=r;while(!this.isWrapPoint(e.Text,n)&&n>e.IndexBegin)n--;let a=null;if(n==e.IndexBegin)0<this.currentLineRunes.countItems?a=null:(a=e.Clone(),a.IndexBegin=r,e.IndexEnd=r);else{while(n>e.IndexBegin&&Be.isWhitespace(e.Text,n-1))n--;let t=n;while(t<e.IndexEnd&&Be.isWhitespace(e.Text,t))t++;a=e.Clone(),a.IndexBegin=t,e.IndexEnd=n}return a}isWrapPoint(t,e){var r=t.charCodeAt(e);if(32==r||8192<=r&&r<=8202||12288==r)return!0;if(0<e){var e=t.charCodeAt(e-1);if(32==e)return!0;if(this.isCJKSymbol(e)&&this.isCJKSymbol(r))return!0;if(33==e||37==e||41==e||125==e||45==e||63==e||65289==e||65306==e||12289==e||65292==e||12290==e)return!0}return!1}isCJKSymbol(t){return 19968<=t&&t<=40908||13312<=t&&t<=19893}}}Ae.ap.StiParameter=class{constructor(){this.name="",this.expression=""}meta(){return this._hash||(this._hash=[new Ui("Name"),new Ga("Expression")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}isDefault(){return De.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.length)}};{let t=class extends J{saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.ap.StiParameter;t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){var i=r.childNodes[e];let t=new Ae.ap.StiParameter;t.loadFromXml(i),this.list.push(t)}}clone(){let e=new t;for(var r of this.list){let t=new Ae.ap.StiParameter;t.name=r.name,t.expression=r.expression,e.add(t)}return e}indexOf2(t){t=t.toLowerCase();let e=0;for(var r of this.list){if(r.name.toLowerCase()==t)return e;e++}return-1}insertRange(t,e){for(var r of e.list)this.insert(t,r)}remove2(t){this.list.stimulsoft().contains(t)&&this.list.stimulsoft().remove(t)}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}constructor(){super()}};Ae.ap.StiParametersCollection=t}Ae.ap.StiRestrictionsHelper=class{static isAllowChange(t){if(null==t)return!0;return 0<(t.restrictions&Ae.ap.StiRestrictions.AllowChange)}static isAllowDelete2(t){return 0<(t&Ae.ap.StiRestrictions.AllowDelete)}static isAllowDelete(t){if(null==t)return!0;return 0<(t.restrictions&Ae.ap.StiRestrictions.AllowDelete)}static isAllowMove(t){if(null==t)return!0;return 0<(t.restrictions&Ae.ap.StiRestrictions.AllowMove)}static isAllowSelect(t){if(null==t)return!0;return 0<(t.restrictions&Ae.ap.StiRestrictions.AllowSelect)}static isAllowResize(t){if(null==t)return!0;return 0<(t.restrictions&Ae.ap.StiRestrictions.AllowResize)}static isAllowChangePosition(t){return this.isAllowMove(t)||this.isAllowResize(t)}},Ae.ap.StiSortHelper=class{static getColumnIndexInSorting(t,e){let r=0,i="",n=0;for(var a of t){if("ASC"!=a&&"DESC"!=a&&(0==i.length?i=a:i+="."+a),("ASC"==a||"DESC"==a||n==t.length-1)&&0<i.length){if(e==i)return r;i="",r++}n++}return-1}static getColumnSortDirection(t,e){let r=this.getColumnIndexInSorting(t,e);if(-1==r)return Ae.ap.StiInteractionSortDirection.None;for(var i of t)if("ASC"==i||"DESC"==i){if(0==r){if("ASC"==i)return Ae.ap.StiInteractionSortDirection.Ascending;if("DESC"==i)return Ae.ap.StiInteractionSortDirection.Descending}r--}return Ae.ap.StiInteractionSortDirection.None}static changeColumnSortDirection(t,e){let r=this.getColumnIndexInSorting(t,e);if(-1==r)return t;let i=0;for(var n of t){if("ASC"==n||"DESC"==n){if(0==r)return"ASC"==n&&(t[i]="DESC"),"DESC"==n&&(t[i]="ASC"),t;r--}i++}return t}static isColumnExistInSorting(t,e){return-1!=this.getColumnIndexInSorting(t,e)}static addColumnToSorting(t,e,r){var e=e.split("."),i,n;let a=[];for(i of t)a.push(i);a.push(r?"ASC":"DESC");for(n of e)a.push(n);return a}};let Dg=Ae.S.StiFontUtils;Ae.ap.StiStandardTextRenderer=class{static measureString(e,t,r){let i=t;Ae.c.StiDpiHelper.needDeviceCapsScale&&(i=Dg.changeFontSize(t,t.size));let n=Ae.S.StiTextDrawing.measureString(null,r.text,i,e,r.textOptions,r.horAlignment,r.vertAlignment,!1,r.allowHtmlTags);var e=r.report;if(null!=e&&e.reportUnit!=Ae.c.StiReportUnitType.HundredthsOfInch){let t=e.unit;var e=r.margins,r=n.width+e.left+e.right+r.border.size;t.convertToHInches(Ne.round2(t.convertFromHInches(r),2))<r&&(n.width+=t.convertToHInches(.01))}return n}},Ae.ap.StiColumnFooterBand=class extends Ae.ap.StiFooterBand{implements(){return super.implements().concat([Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("KeepFooterTogether","",!0),new Wi("StartNewPage"),new ji("StartNewPageIfLessThan","",100),new Wi("PrintIfEmpty"),new Gi("PrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore),new Wi("PrintOnAllPages")])}get headerStartColor(){return Fe.fromArgb(239,109,73)}get headerEndColor(){return Fe.fromArgb(239,109,73)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.ColumnFooterBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.ColumnFooterBand}constructor(t=os.empty){super(t)}};{let t=class extends Ae.ap.StiHeaderBand{get headerStartColor(){return Fe.fromArgb(239,109,73)}get headerEndColor(){return Fe.fromArgb(239,109,73)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.ColumnHeaderBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}createNew(){return new t}constructor(t=os.empty){super(t)}};Ae.ap.StiColumnHeaderBand=t}Ae.ap.StiStaticBand=class extends Ae.ap.StiBand{implements(){return super.implements().concat([Ae.ap.IStiBreakable,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanBreak")])}getComponentType(){return Ae.ap.StiComponentType.Static}constructor(t=os.empty){super(t)}};{let t=class extends Ae.ap.StiStaticBand{constructor(t=os.empty){super(t),this.vertAlignment=Go.Center}implements(){return super.implements().concat([Ae.ap.IStiVertAlignment,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanBreak"),new gs("Bookmark"),new gs("Hyperlink"),new Gi("VertAlignment","",Go,Go.Center)])}get headerStartColor(){return Fe.fromArgb(131,124,174)}get headerEndColor(){return Fe.fromArgb(131,124,174)}getComponentType(){return null!=this.report?Ae.ap.StiComponentType.Static:Ae.ap.StiComponentType.Detail}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.OverlayBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return Ae.ap.StiComponentPriority.OverlayBand}createNew(){return new t}};Ae.ap.StiOverlayBand=t}{let t=class extends Ae.ap.StiStaticBand{constructor(t=os.empty){super(t),this.printOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore,Hd.Engine.dockPageFooterToBottom&&(this.dockStyle=Ae.ap.StiDockStyle.Bottom)}implements(){return super.implements().concat([Ae.ap.IStiPrintOnEvenOddPages,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("PrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore)])}get headerStartColor(){return Fe.fromArgb(206,207,206)}get headerEndColor(){return Fe.fromArgb(206,207,206)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.PageFooterBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){if(Hd.Engine.dockPageFooterToBottom)return Ae.ap.StiComponentPriority.PageFooterBandBottom;return Ae.ap.StiComponentPriority.PageFooterBandTop}canContainIn(t){if(t.is(Ae.ap.StiPage))return!0;return!1}getComponentType(){if(null!=this.report)return super.getComponentType();return Ae.ap.StiComponentType.Simple}getDisplayRectangle(){if(Hd.Engine.dockPageFooterToBottom){var t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize);return new os(this.left,this.top-t-e,this.width,this.height+t+e)}return super.getDisplayRectangle()}setDisplayRectangle(t){if(Hd.Engine.dockPageFooterToBottom){var e=this.page.unit.convertFromHInches(this.headerSize),r=this.page.unit.convertFromHInches(this.footerSize);return this.left=t.left,this.top=t.top+e+r,this.width=t.width,void(this.height=t.height-e-r)}super.setDisplayRectangle(t)}createNew(){return new t}getMaster(){for(var t of this.parent.components.list)if(t.is(Ae.ap.StiDataBand)&&!t.is(Ae.ap.StiEmptyBand))return t;return null}};Ae.ap.StiPageFooterBand=t}{let t=class extends Ae.ap.StiStaticBand{constructor(t=os.empty){super(t),this.printOnEvenOddPages=Ae.ap.StiPrintOnEvenOddPagesType.Ignore}implements(){return super.implements().concat([Ae.ap.IStiBreakable,Ae.ap.IStiPrintOnEvenOddPages,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanBreak"),new Gi("PrintOnEvenOddPages","",Ae.ap.StiPrintOnEvenOddPagesType,Ae.ap.StiPrintOnEvenOddPagesType.Ignore)])}get headerStartColor(){return Fe.fromArgb(206,207,206)}get headerEndColor(){return Fe.fromArgb(206,207,206)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.PageHeaderBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return this.page.titleBeforeHeader?Ae.ap.StiComponentPriority.PageHeaderBandBefore:Ae.ap.StiComponentPriority.PageHeaderBandAfter}canContainIn(t){if(t.is(Ae.ap.StiPage))return!0;return!1}getComponentType(){if(null!=this.report)return super.getComponentType();return Ae.ap.StiComponentType.Simple}get printOnFirstPage(){return 0==(this.printOn&Ae.ap.StiPrintOnType.ExceptFirstPage)}set printOnFirstPage(t){t?0<(this.printOn&Ae.ap.StiPrintOnType.ExceptFirstPage)&&(this.printOn-=Ae.ap.StiPrintOnType.ExceptFirstPage):this.printOn|=Ae.ap.StiPrintOnType.ExceptFirstPage}getMaster(){for(var t of this.parent.components.list)if(t.is(Ae.ap.StiDataBand)&&!t.is(Ae.ap.StiEmptyBand))return t;return null}createNew(){return new t}};Ae.ap.StiPageHeaderBand=t}{let t=class extends Ae.ap.StiDynamicBand{constructor(t=os.empty){super(t),this.keepReportSummaryTogether=!0,this.printIfEmpty=!0,this.dockStyle=Ae.ap.StiDockStyle.Top}implements(){return super.implements().concat([Ae.ap.IStiPrintIfEmpty,Ae.ap.IStiKeepReportSummaryTogether,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("PrintOn"),new Wi("KeepReportSummaryTogether","",!0),new Wi("PrintIfEmpty","",!0)])}get headerStartColor(){return Fe.fromArgb(159,213,183)}get headerEndColor(){return Fe.fromArgb(159,213,183)}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.ReportSummaryBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}canContainIn(t){if(t.is(Ae.ap.StiPage))return!0;return!1}get priority(){return Ae.ap.StiComponentPriority.ReportSummaryBand}getComponentType(){if(null!=this.report)return super.getComponentType();return Ae.ap.StiComponentType.Master}createNew(){return new t}getMaster(){for(var t of this.parent.components.list)if(t.is(Ae.ap.StiDataBand))return t;return null}};Ae.ap.StiReportSummaryBand=t}{let t=class extends Ae.ap.StiStaticBand{constructor(t=os.empty){super(t),this.printIfEmpty=!0}implements(){return super.implements().concat([Ae.ap.IStiBreakable,Ae.ap.IStiPrintIfEmpty,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new gs("PrintOn"),new gs("CanBreak"),new Wi("PrintIfEmpty","",!0)])}get headerStartColor(){return Fe.fromArgb(159,213,183)}get headerEndColor(){return Fe.fromArgb(159,213,183)}getComponentType(){if(null!=this.report)return this.page.titleBeforeHeader?Ae.ap.StiComponentType.Static:Ae.ap.StiComponentType.Master;return Ae.ap.StiComponentType.Simple}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.ReportTitleBand}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Bands}get priority(){return this.page.titleBeforeHeader?Ae.ap.StiComponentPriority.ReportTitleBandBefore:Ae.ap.StiComponentPriority.ReportTitleBandAfterV2}canContainIn(t){if(t.is(Ae.ap.StiPage))return!0;return!1}createNew(){return new t}getMaster(){for(var t of this.parent.components.list)if(t.is(Ae.ap.StiDataBand)&&!t.is(Ae.ap.StiEmptyBand))return t;return null}};Ae.ap.StiReportTitleBand=t}{let e=class extends Ae.ap.StiContainer{constructor(t=os.empty,e=!1){super(t,!0),e||this.construct(t)}implements(){return e.ImplementsStiClone||(e.ImplementsStiClone=super.implements().concat([Ae.ap.IStiClone])),e.ImplementsStiClone}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new gs("Conditions"),new gs("GrowToHeight"),new gs("Components"),new Ui("Container").check(()=>null!=this.container).get(()=>this.container.name).set(t=>{this.jsonContainerValueTemp=t.value.toString(),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this)}).setXml(t=>{this.jsonContainerValueTemp=t.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this)})])}loadFromXml(t){let e=t.getAttribute("Ref");!De.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft().toNumber()]=t.nodeName),super.loadFromXml(t)}get componentId(){return Ae.c.StiComponentId.StiClone}get canShrink(){return super.getCanShrink()}set canShrink(t){}get canGrow(){return super.getCanGrow()}set canGrow(t){}clone(t,e){void 0===e&&(e=!0);let r=super.clone(t=void 0===t?!0:t);return r.components=new Ae.ap.StiComponentsCollection(r),r}get toolboxPosition(){return Ae.ap.StiComponentToolboxPosition.Clone}get toolboxCategory(){return Ae.ap.StiToolboxCategory.Components}get componentType(){return Ae.ap.StiComponentType.Simple}canContainIn(t){if(t.is(e))return!1;if(t.is(Ae.ap.StiContainer))return!0;return!1}get components(){return super.components,null==this.container||this.isDesigning?(null==this._components2&&(this._components2=new Ae.ap.StiComponentsCollection(this)),this._components2):this.container.components}set components(t){}onBeforePrint(t){super.onBeforePrint(t),null!=this.container&&this.container.invokeBeforePrint(this,t)}onAfterPrint(t){super.onAfterPrint(t),null!=this.container&&this.container.invokeAfterPrint(this,t)}construct(t=os.empty){super.construct(t)}};Ae.ap.StiClone=e}Ae.ap.StiColorScaleCondition=class extends Ae.ap.StiBaseCondition{constructor(t="",e=Ae.ap.StiColorScaleType.Color2,r=Fe.red,i=Fe.yellow,n=Fe.green,a=Ae.ap.StiMinimumType.Auto,s=0,o=Ae.ap.StiMidType.Auto,l=50,u=Ae.ap.StiMaximumType.Auto,h=100){super(),this.scaleType=Ae.ap.StiColorScaleType.Color2,this.minimumColor=Fe.red,this.midColor=Fe.yellow,this.maximumColor=Fe.green,this.minimumValue=0,this.midType=0,this.midValue=50,this.maximumValue=100,this.minimum=null,this.maximum=null,this.column=t,this.scaleType=e,this.minimumColor=r,this.midColor=i,this.maximumColor=n,this.minimumType=a,this.minimumValue=s,this.midType=o,this.midValue=l,this.maximumType=u,this.maximumValue=h}implements(){return super.implements().concat([Ae.ap.IStiIndicatorCondition,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("ScaleType","",Ae.ap.StiColorScaleType,Ae.ap.StiColorScaleType.Color2),new dl("MinimumColor","",Fe.red),new dl("MidColor","",Fe.yellow),new dl("MaximumColor","",Fe.green),new Gi("MinimumType","",Ae.ap.StiMinimumType,Ae.ap.StiMinimumType.Auto),new ji("MinimumValue","",0),new Gi("MidType","",Ae.ap.StiMidType,Ae.ap.StiMidType.Auto),new ji("MidValue","",50),new Gi("MaximumType","",Ae.ap.StiMaximumType,Ae.ap.StiMaximumType.Auto),new ji("MaximumValue","",100)])}createIndicator(i){if(De.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;let r=Ae.am.StiDataColumn.getDataSourceFromDataColumn(i.report.dictionary,this.column);if(null!=r){r.saveState("Indicator"),r.first();let e=0;while(!r.isEof){var n=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let t=0;try{t=+Ae.c.StiReport.changeType(n,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}0==e?(this.minimum=t,this.maximum=t):(this.minimum=Math.min(this.minimum,t),this.maximum=Math.max(this.maximum,t)),e++,r.next()}r.restoreState("Indicator")}if(null==r){let e=Ae.am.StiDataColumn.getBusinessObjectFromDataColumn(i.report.dictionary,this.column);if(null==e)return null;e.saveState("Indicator"),e.createEnumerator();let r=0;while(!e.isEof){var a=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let t=0;try{t=+Ae.c.StiReport.changeType(a,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}0==r?(this.minimum=t,this.maximum=t):(this.minimum=Math.min(this.minimum,t),this.maximum=Math.max(this.maximum,t)),r++,e.next()}e.restoreState("Indicator")}}let t=this.minimum,e=this.maximum;var r=e-t;let s=this.minimumValue;s=Math.min(s,100),s=Math.max(s,0);var o=this.maximumValue,o=Math.min(o,100);o=Math.max(o,0),s>o&&(s=o);var l=this.midValue;this.minimumType==Ae.ap.StiMinimumType.Value?t=this.minimumValue:this.minimumType==Ae.ap.StiMinimumType.Percent&&(t+=r*s/100),this.maximumType==Ae.ap.StiMaximumType.Value?e=this.maximumValue:this.maximumType==Ae.ap.StiMaximumType.Percent&&(e=t+r*o/100);let u=(e-t)/2;this.midType==Ae.ap.StiMidType.Value?u=this.midValue:this.midType==Ae.ap.StiMidType.Percent&&(u=t+r*l/100),u<t&&(u=t),u>e&&(u=e);var h=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let c=0;try{c=+Ae.c.StiReport.changeType(h,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}c>e&&(c=e),c<t&&(c=t);let d=0,m,p;p=this.scaleType==Ae.ap.StiColorScaleType.Color2?(d=(c-t)/(e-t),m=this.minimumColor,this.maximumColor):c>u?(d=(c-u)/(e-u),m=this.midColor,this.maximumColor):(d=c/(u-t),m=this.minimumColor,this.midColor);var o=(p.a-m.a)*d+m.a,r=(p.r-m.r)*d+m.r,l=(p.g-m.g)*d+m.g,h=(p.b-m.b)*d+m.b,o=Math.round(Math.min(o,255)),r=Math.round(Math.min(r,255)),l=Math.round(Math.min(l,255)),h=Math.round(Math.min(h,255));return i.brush=new si(Fe.fromArgb(o,r,l,h)),null}reset(){this.minimum=null,this.maximum=null}equals(t){var t=t;if(null==t)return!1;return this.column==t.column&&this.scaleType==t.scaleType&&this.minimumColor.equals(t.minimumColor)&&this.midColor.equals(t.midColor)&&this.maximumColor.equals(t.maximumColor)&&this.minimumType==t.minimumType&&this.minimumValue==t.minimumValue&&this.midType==t.midType&&this.midValue==t.midValue&&this.maximumType==t.maximumType&&this.maximumValue==t.maximumValue}};{let a=class extends Ae.ap.StiFilter{implements(){return super.implements()}static apply(t,e){let r=t;if(e.stimulsoft().startsWith("##")&&e.stimulsoft().endsWith("##")){e=e.substr(2,e.length-4);for(var i of Hd.Designer.styles.list)if(i.name==e)return i.setStyleToComponent(r),void a.applyParentStyle(i,r)}let n=r.report.styles.getByName(e);if(null!=n)return n.setStyleToComponent(r),void this.applyParentStyle(n,r)}static applyParentStyle(t,e){null!=e&&null!=e.report&&null!=e.report.engine&&(null==e.report.engine.hashParentStyles&&(e.report.engine.hashParentStyles=new Dt),e.report.engine.hashParentStyles.set(e,t))}static applyFont(t,o,l){let u=t;if(null!=u){let t=!1,e=u.font.name,r=u.font.size,i=u.font.bold,n=u.font.italic,a=u.font.underline,s=u.font.strikeout;if(0<(l&Ae.ap.StiConditionPermissions.Font)&&(t=!0,e=o.name),0<(l&Ae.ap.StiConditionPermissions.FontSize)&&(t=!0,r=o.size),0<(l&Ae.ap.StiConditionPermissions.FontStyleBold)&&(t=!0,i=o.bold),0<(l&Ae.ap.StiConditionPermissions.FontStyleItalic)&&(t=!0,n=o.italic),0<(l&Ae.ap.StiConditionPermissions.FontStyleUnderline)&&(t=!0,a=o.underline),0<(l&Ae.ap.StiConditionPermissions.FontStyleStrikeout)&&(t=!0,s=o.strikeout),t){let t=se.Regular;i&&(t|=se.Bold),n&&(t|=se.Italic),a&&(t|=se.Underline),s&&(t|=se.Strikeout),u.font=new Ar(e,r,t)}}}};Ae.ap.StiConditionHelper=a}let Bg=Ae.ap.StiBrushType;Ae.ap.StiDataBarCondition=class extends Ae.ap.StiBaseCondition{constructor(t="",e=Bg.Gradient,r=Fe.green,i=Fe.red,n=!1,a=Fe.darkGreen,s=Fe.darkRed,o=Ae.ap.StiDataBarDirection.Default,l=Ae.ap.StiMinimumType.Auto,u=0,h=Ae.ap.StiMaximumType.Auto,c=100){super(),this.brushType=Bg.Gradient,this.positiveColor=Fe.green,this.negativeColor=Fe.red,this.positiveBorderColor=Fe.darkGreen,this.negativeBorderColor=Fe.darkRed,this.showBorder=!1,this.direction=Ae.ap.StiDataBarDirection.Default,this.minimumType=Ae.ap.StiMinimumType.Auto,this.minimumValue=0,this.maximumType=Ae.ap.StiMaximumType.Auto,this.maximumValue=100,this.minimum=null,this.maximum=null,this.column=t,this.brushType=e,this.positiveColor=r,this.negativeColor=i,this.showBorder=n,this.positiveBorderColor=a,this.negativeBorderColor=s,this.direction=o,this.minimumType=l,this.minimumValue=u,this.maximumType=h,this.maximumValue=c}implements(){return super.implements().concat([Ae.ap.IStiDataBarIndicator,Ae.ap.IStiIndicatorCondition,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("BrushType","",Bg,Bg.Gradient),new dl("PositiveColor","",Fe.green),new dl("NegativeColor","",Fe.red),new dl("PositiveBorderColor","",Fe.darkGreen),new dl("NegativeBorderColor","",Fe.darkRed),new Wi("ShowBorder"),new Gi("Direction","",Ae.ap.StiDataBarDirection,Ae.ap.StiDataBarDirection.Default),new Gi("MinimumType","",Ae.ap.StiMinimumType,Ae.ap.StiMinimumType.Auto),new ji("MinimumValue","",0),new Gi("MaximumType","",Ae.ap.StiMaximumType,Ae.ap.StiMaximumType.Auto),new ji("MaximumValue","",100)])}createIndicator(i){if(De.isNullOrEmpty(this.column))return null;if(!(this.minimumType==Ae.ap.StiMinimumType.Value&&this.maximumType==Ae.ap.StiMaximumType.Value||null!=this.minimum&&null!=this.maximum)){this.minimum=0,this.maximum=0;let r=Ae.am.StiDataColumn.getDataSourceFromDataColumn(i.report.dictionary,this.column);if(null!=r){r.saveState("Indicator"),r.first();let e=0;while(!r.isEof){var n=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let t=0;try{t=+Ae.c.StiReport.changeType(n,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}0==e?(this.minimum=t,this.maximum=t):(this.minimum=Math.min(this.minimum,t),this.maximum=Math.max(this.maximum,t)),e++,r.next()}r.restoreState("Indicator")}if(null==r){let e=Ae.am.StiDataColumn.getBusinessObjectFromDataColumn(i.report.dictionary,this.column);if(null==e)return null;e.saveState("Indicator"),e.createEnumerator();let r=0;while(!e.isEof){var a=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let t=0;try{t=+Ae.c.StiReport.changeType(a,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}0==r?(this.minimum=t,this.maximum=t):(this.minimum=Math.min(this.minimum,t),this.maximum=Math.max(this.maximum,t)),r++,e.next()}e.restoreState("Indicator")}0<this.minimum&&this.minimumType!=Ae.ap.StiMinimumType.Minimum&&(this.minimum=0),this.maximum<0&&this.maximumType!=Ae.ap.StiMaximumType.Maximum&&(this.maximum=0)}let t=this.minimum,e=this.maximum;var r=e-t;let s=this.minimumValue;s=Math.min(s,100),s=Math.max(s,0);var o=this.maximumValue,o=Math.min(o,100);o=Math.max(o,0),s>o&&(s=o),this.minimumType==Ae.ap.StiMinimumType.Value?t=this.minimumValue:this.minimumType==Ae.ap.StiMinimumType.Percent&&(t+=r*s/100),this.maximumType==Ae.ap.StiMaximumType.Value?e=this.maximumValue:this.maximumType==Ae.ap.StiMaximumType.Percent&&(e=t+r*o/100);var o=Ae.am.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column);let l=0;try{l=+Ae.c.StiReport.changeType(o,Number.stimulsoft().getType())}catch(t){Ae.b.StiError.showError(t,!1)}l>e&&(l=e),l<t&&(l=t),0<t&&(l-=t,e-=t,t=0),e<0&&(l-=e,t-=e,e=0);let u=new Ae.ap.StiDataBarIndicator;return u.brushType=this.brushType,u.positiveColor=this.positiveColor,u.negativeColor=this.negativeColor,u.showBorder=this.showBorder,u.positiveBorderColor=this.positiveBorderColor,u.negativeBorderColor=this.negativeBorderColor,u.direction=this.direction,u.minimum=t,u.maximum=e,u.value=l,u}reset(){this.minimum=null,this.maximum=null}equals(t){var t=t;if(null==t)return!1;return this.column==t.column&&this.brushType==t.brushType&&this.positiveColor.equals(t.positiveColor)&&this.negativeColor.equals(t.negativeColor)&&this.showBorder==t.showBorder&&this.positiveBorderColor.equals(t.positiveBorderColor)&&this.negativeBorderColor.equals(t.negativeBorderColor)&&this.minimumType==t.minimumType&&this.minimumValue==t.minimumValue&&this.maximumType==t.maximumType&&this.maximumValue==t.maximumValue}},Ae.ap.StiIconSetCondition=class extends Ae.ap.StiBaseCondition{constructor(t="",e=Ae.ap.StiIconSet.None,r=xr.MiddleLeft,i=null,n=null,a=null,s=null,o=null){super(),this.iconSet=Ae.ap.StiIconSet.None,this.contentAlignment=xr.MiddleLeft,this.iconSetItem1=null,this.iconSetItem2=null,this.iconSetItem3=null,this.iconSetItem4=null,this.iconSetItem5=null,this.minimum=null,this.maximum=null,this.column=t,this.iconSet=e,this.contentAlignment=r,this.iconSetItem1=i,this.iconSetItem2=n,this.iconSetItem3=a,this.iconSetItem4=s,this.iconSetItem5=o}implements(){return super.implements().concat([Ae.ap.IStiIndicatorCondition,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("IconSet","",Ae.ap.StiIconSet,Ae.ap.StiIconSet.None),new Gi("ContentAlignment","",xr,xr.MiddleLeft),new Ma("IconSetItem1").check(()=>null!=this.iconSetItem1).set(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromJsonObject(t.value),this.iconSetItem1=e}).setXml(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromXml(t),this.iconSetItem1=e}),new Ma("IconSetItem2").check(()=>null!=this.iconSetItem2).set(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromJsonObject(t.value),this.iconSetItem2=e}).setXml(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromXml(t),this.iconSetItem2=e}),new Ma("IconSetItem3").check(()=>null!=this.iconSetItem3).set(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromJsonObject(t.value),this.iconSetItem3=e}).setXml(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromXml(t),this.iconSetItem3=e}),new Ma("IconSetItem4").check(()=>null!=this.iconSetItem4).set(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromJsonObject(t.value),this.iconSetItem4=e}).setXml(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromXml(t),this.iconSetItem4=e}),new Ma("IconSetItem5").check(()=>null!=this.iconSetItem5).set(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromJsonObject(t.value),this.iconSetItem5=e}).setXml(t=>{let e=new Ae.ap.StiIconSetItem;e.loadFromXml(t),this.iconSetItem5=e})])}createIndicator(n){if(De.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;let i=Ae.am.StiDataColumn.getDataSourceFromDataColumn(n.report.dictionary,this.column);if(null!=i){i.saveState("Indicator"),null!=i.detailRows&&null!=i.dataTable&&(i.detailRows=null),i.first();let r=0;while(!i.isEof){let t=Ae.am.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column),e=0;try{e=t.stimulsoft().toNumber()}catch(t){}0==r?(this.minimum=e,this.maximum=e):(this.minimum=Math.min(this.minimum,e),this.maximum=Math.max(this.maximum,e)),r++,i.next()}i.restoreState("Indicator")}if(null==i){let e=Ae.am.StiDataColumn.getBusinessObjectFromDataColumn(n.report.dictionary,this.column);if(null==e)return null;e.saveState("Indicator"),e.createEnumerator();let r=0;while(!e.isEof){let t=Ae.am.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column);var a=t.stimulsoft().toNumber();0==r?(this.minimum=a,this.maximum=a):(this.minimum=Math.min(this.minimum,a),this.maximum=Math.max(this.maximum,a)),r++,e.next()}e.restoreState("Indicator")}}var t=this.minimum,e=this.maximum,r=e-t;let i=Ae.am.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column),s=0;try{s=i.stimulsoft().toNumber()}catch(t){}s>e&&(s=e),s<t&&(s=t);var r=(s-t)/r*100;let o=Ae.ap.StiIcon.None;if(null==this.iconSetItem4&&null==this.iconSetItem5?this.inRange(this.iconSetItem1,s,r)?o=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,s,r)?o=this.iconSetItem2.icon:null!=this.iconSetItem3&&(o=this.iconSetItem3.icon):null==this.iconSetItem5?this.inRange(this.iconSetItem1,s,r)?o=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,s,r)?o=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,s,r)?o=this.iconSetItem3.icon:null!=this.iconSetItem4&&(o=this.iconSetItem4.icon):this.inRange(this.iconSetItem1,s,r)?o=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,s,r)?o=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,s,r)?o=this.iconSetItem3.icon:this.inRange(this.iconSetItem4,s,r)?o=this.iconSetItem4.icon:null!=this.iconSetItem5&&(o=this.iconSetItem5.icon),o==Ae.ap.StiIcon.None)return null;let l=new Ae.ap.StiIconSetIndicator;return l.icon=o,l.alignment=this.contentAlignment,l}inRange(t,e,r){if(null==t)return!1;if(t.valueType==Ae.ap.StiIconSetValueType.Percent){if(t.operation==Ae.ap.StiIconSetOperation.MoreThan){if(r>t.value)return!0}else if(r>=t.value)return!0}else if(t.operation==Ae.ap.StiIconSetOperation.MoreThan){if(e>t.value)return!0}else if(e>=t.value)return!0;return!1}reset(){this.minimum=null,this.maximum=null}equals(t){var e;if(null==t)return!1;return this.iconSet==t.iconSet&&this.contentAlignment==t.contentAlignment}},Ae.ap.StiIconSetItem=class{constructor(t=Ae.ap.StiIcon.None,e=Ae.ap.StiIconSetOperation.MoreThan,r=Ae.ap.StiIconSetValueType.Percent,i=0){this.icon=Ae.ap.StiIcon.None,this.operation=Ae.ap.StiIconSetOperation.MoreThan,this.valueType=Ae.ap.StiIconSetValueType.Percent,this.value=0,this.icon=t,this.operation=e,this.valueType=r,this.value=i}implements(){return[Yt]}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Gi("Icon","",Ae.ap.StiIcon,Ae.ap.StiIcon.None),new Gi("Operation","",Ae.ap.StiIconSetOperation,Ae.ap.StiIconSetOperation.MoreThan),new Gi("ValueType","",Ae.ap.StiIconSetValueType,Ae.ap.StiIconSetValueType.Percent),new ji("Value","",0)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}},Ae.ap.StiMultiConditionContainer=class{constructor(){this.filters=new Ae.ap.StiFiltersCollection,this.filterMode=Ae.ap.StiFilterMode.And,this.enabled=!0,this.textColor=Fe.red,this.backColor=Fe.transparent,this.font=new Ar("Arial",8),this.canAssignExpression=!1,this.assignExpression="",this.style="",this.borderSides=Ae.ap.StiConditionBorderSides.NotAssigned,this.permissions=Ae.ap.StiConditionPermissions.All}};{let t=class extends Ae.ap.StiDataBand{constructor(t=os.empty){super(t),this.isRightToLeft=!1,this.defaultClientRectangle=new os(0,0,30,50),this.columnCurrent=0,this.columnMode=!1,this.resetDataSource=!0,this.dockStyle=Ae.ap.StiDockStyle.Left}meta(){return this._hash||(this._hash=[...super.meta(),new gs("NewPageBefore"),new gs("NewPageAfter"),new gs("NewColumnBefore"),new gs("NewColumnAfter"),new gs("SkipFirst"),new gs("BreakIfLessThan"),new gs("GrowToHeight"),new gs("ResetPageNumber"),new gs("StartNewPage"),new gs("StartNewPageIfLessThan"),new gs("KeepHeaderTogether"),new gs("KeepFooterTogether"),new gs("KeepChildTogether"),new gs("KeepGroupTogether"),new gs("PrintAtBottom"),new Wi("CanBreak"),new gs("PrintOnAllPages"),new gs("PrintOn"),new gs("RightToLeft"),new gs("ColumnGaps"),new gs("ColumnWidth"),new gs("Columns"),new gs("MinRowsInColumn"),new gs("ColumnDirection"),new Wi("ResetDataSource","",!0),new Wi("ResetDataSource","",!0),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("MaxHeight"),new gs("MinHeight"),new ji("MinWidth","",0),new ji("MaxWidth","",0)])}get componentId(){return Ae.c.StiComponentId.StiCrossDataBand}get growToHeight(){return!0}set growToHeight(t){}get resetPageNumber(){return!1}set resetPageNumber(t){}get startNewPage(){return!1}set startNewPage(t){}get startNewPageIfLessThan(){return 0}set startNewPageIfLessThan(t){}restoreState(t){super.restoreState(t),this.setColumnModeToParent()}get keepHeaderTogether(){return!1}set keepHeaderTogether(t){}get keepFooterTogether(){return!1}set keepFooterTogether(t){}get keepChildTogether(){return!1}set keepChildTogether(t){}get keepGroupTogether(){return!1}set keepGroupTogether(t){}get printAtBottom(){return!1}set printAtBottom(t){}get printOnAllPages(){return!0}set printOnAllPages(t){}setColumnModeToParent(){this.columnMode&&this.parent.is(Ae.ap.StiDataBand)&&null==this.dataSource&&(this.parent.isEofValue=this.isEof,this.parent.isBofValue=this.isBof,this.parent.positionValue=this.position)}getColumnModeFromParent(){this.columnMode&&this.parent.is(Ae.ap.StiDataBand)&&null==this.dataSource&&(this.enabled=this.parent.enabled,this.isEofValue=this.parent.isEofValue,this.isBofValue=this.parent.isBofValue,this.positionValue=this.parent.positionValue)}first(){super.first(),this.setColumnModeToParent()}prior(){super.prior(),this.setColumnModeToParent()}next(){super.next(),this.setColumnModeToParent()}last(){super.last(),this.setColumnModeToParent()}get localizedCategory(){return ne.get("Report","CrossBands")}get localizedName(){return ne.get("Components","StiCrossDataBand")}get isCross(){return!0}getDockStyle(){return this.isRightToLeft?Ae.ap.StiDockStyle.Right:Ae.ap.StiDockStyle.Left}get minWidth(){return this.minSize.width}set minWidth(t){this.minSize.width!=t&&(this.minSize=new ls(t,0))}get maxWidth(){return this.maxSize.width}set maxWidth(t){this.maxSize.width!=t&&(this.maxSize=new ls(t,0))}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return new os(this.left,this.top,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e}get displayRectangle(){return this.selectRectangle}set displayRectangle(t){this.selectRectangle=t}get headerSize(){return this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0}createNew(){return new t}};Ae.ap.StiCrossDataBand=t}{let t=class extends Ae.ap.StiFooterBand{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,30,50)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("NewPageBefore"),new gs("NewPageAfter"),new gs("NewColumnBefore"),new gs("NewColumnAfter"),new gs("SkipFirst"),new gs("BreakIfLessThan"),new gs("GrowToHeight"),new gs("ResetPageNumber"),new gs("StartNewPage"),new gs("StartNewPageIfLessThan"),new gs("PrintAtBottom"),new gs("PrintOnAllPages"),new gs("PrintIfEmpty"),new gs("PrintOnEvenOddPages"),new gs("PrintOn"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("MaxHeight"),new gs("MinHeight"),new ji("MinWidth","",0),new ji("MaxWidth","",0)])}get componentId(){return Ae.c.StiComponentId.StiCrossFooterBand}get helpUrl(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"}get growToHeight(){return!0}set growToHeight(t){}get resetPageNumber(){return!1}set resetPageNumber(t){}get startNewPage(){return!1}set startNewPage(t){}get startNewPageIfLessThan(){return 0}set startNewPageIfLessThan(t){}get printAtBottom(){return!1}set printAtBottom(t){}get printOnAllPages(){return!1}set printOnAllPages(t){}get localizedCategory(){return ne.get("Report","CrossBands")}get localizedName(){return ne.get("Components","StiCrossFooterBand")}get isCross(){return!0}getDockStyle(){return Ae.ap.StiDockStyle.Left}setDockStyle(t){}get minWidth(){return this.minSize.width}set minWidth(t){this.minSize.width!=t&&(this.minSize=new ls(t,0))}get maxWidth(){return this.maxSize.width}set maxWidth(t){this.maxSize.width!=t&&(this.maxSize=new ls(t,0))}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return new os(this.left,this.top,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e}get displayRectangle(){return this.selectRectangle}set displayRectangle(t){this.selectRectangle=t}get headerSize(){return this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0}createNew(){return new t}};Ae.ap.StiCrossFooterBand=t}{let t=class extends Ae.ap.StiGroupFooterBand{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,30,50)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("NewPageBefore"),new gs("NewPageAfter"),new gs("NewColumnBefore"),new gs("NewColumnAfter"),new gs("SkipFirst"),new gs("BreakIfLessThan"),new gs("GrowToHeight"),new gs("ResetPageNumber"),new gs("PrintAtBottom"),new Wi("CanBreak"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("MaxHeight"),new gs("MinHeight"),new ji("MinWidth","",0),new ji("MaxWidth","",0)])}get componentId(){return Ae.c.StiComponentId.StiCrossGroupFooterBand}get helpUrl(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"}get growToHeight(){return!0}set growToHeight(t){}get resetPageNumber(){return!1}set resetPageNumber(t){}get printAtBottom(){return!1}set printAtBottom(t){}get localizedCategory(){return ne.get("Report","CrossBands")}get localizedName(){return ne.get("Components","StiCrossGroupFooterBand")}get isCross(){return!0}getDockStyle(){return Ae.ap.StiDockStyle.Left}setDockStyle(t){}get minWidth(){return this.minSize.width}set minWidth(t){this.minSize.width!=t&&(this.minSize=new ls(t,0))}get maxWidth(){return this.maxSize.width}set maxWidth(t){this.maxSize.width!=t&&(this.maxSize=new ls(t,0))}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return new os(this.left,this.top,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e}get displayRectangle(){return this.selectRectangle}set displayRectangle(t){this.selectRectangle=t}get headerSize(){return this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0}createNew(){return new t}};Ae.ap.StiCrossGroupFooterBand=t}{let t=class extends Ae.ap.StiGroupHeaderBand{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,30,50)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("NewPageBefore"),new gs("NewPageAfter"),new gs("NewColumnBefore"),new gs("NewColumnAfter"),new gs("SkipFirst"),new gs("BreakIfLessThan"),new gs("GrowToHeight"),new gs("ResetPageNumber"),new gs("StartNewPage"),new gs("PrintOnAllPages"),new gs("PrintAtBottom"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("MaxHeight"),new gs("MinHeight"),new ji("MinWidth","",0),new ji("MaxWidth","",0)])}get componentId(){return Ae.c.StiComponentId.StiCrossGroupHeaderBand}get helpUrl(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"}get growToHeight(){return!0}set growToHeight(t){}get resetPageNumber(){return!1}set resetPageNumber(t){}get startNewPage(){return!1}set startNewPage(t){}get printOnAllPages(){return super.printOnAllPages,!0}set printOnAllPages(t){}get printAtBottom(){return!1}set printAtBottom(t){}get localizedCategory(){return ne.get("Report","CrossBands")}get localizedName(){return ne.get("Components","StiCrossGroupHeaderBand")}get isCross(){return!0}getDockStyle(){return Ae.ap.StiDockStyle.Left}setDockStyle(t){}get minWidth(){return this.minSize.width}set minWidth(t){this.minSize.width!=t&&(this.minSize=new ls(t,0))}get maxWidth(){return this.maxSize.width}set maxWidth(t){this.maxSize.width!=t&&(this.maxSize=new ls(t,0))}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return new os(this.left,this.top,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e}get displayRectangle(){return this.selectRectangle}set displayRectangle(t){this.selectRectangle=t}get headerSize(){return this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0}createNew(){return new t}};Ae.ap.StiCrossGroupHeaderBand=t}Ae.ap.StiCrossHeaderBand=class extends Ae.ap.StiHeaderBand{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,30,50)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("NewPageBefore"),new gs("NewPageAfter"),new gs("NewColumnBefore"),new gs("NewColumnAfter"),new gs("SkipFirst"),new gs("BreakIfLessThan"),new gs("GrowToHeight"),new gs("ResetPageNumber"),new gs("StartNewPage"),new gs("StartNewPageIfLessThan"),new gs("PrintAtBottom"),new gs("PrintOnAllPages"),new gs("PrintIfEmpty"),new gs("PrintOnEvenOddPages"),new gs("PrintOn"),new gs("DockStyle"),new gs("MinSize"),new gs("MaxSize"),new gs("MaxHeight"),new gs("MinHeight"),new ji("MinWidth","",0),new ji("MaxWidth","",0)])}get componentId(){return Ae.c.StiComponentId.StiCrossHeaderBand}get helpUrl(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"}get growToHeight(){return!0}set growToHeight(t){}get resetPageNumber(){return!1}set resetPageNumber(t){}get startNewPage(){return!1}set startNewPage(t){}get startNewPageIfLessThan(){return 0}set startNewPageIfLessThan(t){}get printAtBottom(){return!1}set printAtBottom(t){}get printOnAllPages(){return!0}set printOnAllPages(t){}get localizedCategory(){return ne.get("Report","CrossBands")}get localizedName(){return ne.get("Components","StiCrossHeaderBand")}get isCross(){return!0}getDockStyle(){return Ae.ap.StiDockStyle.Left}setDockStyle(t){}get minWidth(){return this.minSize.width}set minWidth(t){this.minSize.width!=t&&(this.minSize=new ls(t,0))}get maxWidth(){return this.maxSize.width}set maxWidth(t){this.maxSize.width!=t&&(this.maxSize=new ls(t,0))}get selectRectangle(){var t=this.page.unit.convertFromHInches(this.headerSize);return new os(this.left,this.top,this.width,this.height+t)}set selectRectangle(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e}get displayRectangle(){return this.selectRectangle}set displayRectangle(t){this.selectRectangle=t}get headerSize(){return this.report.info.showHeaders?fs.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0}createNew(){return new Ae.ap.StiCrossFooterBand}},Ae.ap.StiIndicator=class{implements(){return[Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static loadFromJsonObjectInternal(t){let e=null;var r;switch(t.properties().firstOrDefault(t=>"Ident"==t.name).value){case"StiIconSetIndicator":e=new Ae.ap.StiIconSetIndicator;break;case"StiDataBarIndicator":e=new Ae.ap.StiDataBarIndicator;break}return e.loadFromJsonObject(t),e}static loadFromXml(t){let e=t.split(",");if("DataBar"==e[0])return new Ae.ap.StiDataBarIndicator(Zt.parse(Ae.ap.StiBrushType,Ae.bl.XMLConvert.decodeName(e[1])),Ae.bl.StiReportObjectStringConverter.convertStringToColor(e[2]),Ae.bl.StiReportObjectStringConverter.convertStringToColor(e[3]),"true"==e[4].toLowerCase(),Ae.bl.StiReportObjectStringConverter.convertStringToColor(e[5]),Ae.bl.StiReportObjectStringConverter.convertStringToColor(e[6]),Zt.parse(Ae.ap.StiDataBarDirection,Ae.bl.XMLConvert.decodeName(e[7])),e[8].stimulsoft().toNumber(),e[9].stimulsoft().toNumber(),e[10].stimulsoft().toNumber());if("IconSet"==e[0])return new Ae.ap.StiIconSetIndicator(Zt.parse(Ae.ap.StiIcon,Ae.bl.XMLConvert.decodeName(e[1])),Zt.parse(xr,Ae.bl.XMLConvert.decodeName(e[2])));return null}},Ae.ap.StiDataBarIndicator=class extends Ae.ap.StiIndicator{constructor(t=Bg.Gradient,e=Fe.green,r=Fe.red,i=!1,n=Fe.darkGreen,a=Fe.darkRed,s=Ae.ap.StiDataBarDirection.Default,o=0,l=0,u=100){super(),this.brushType=Bg.Gradient,this.positiveColor=Fe.green,this.negativeColor=Fe.red,this.positiveBorderColor=Fe.darkGreen,this.negativeBorderColor=Fe.darkRed,this.showBorder=!1,this.value=0,this.minimum=0,this.maximum=100,this.direction=Ae.ap.StiDataBarDirection.Default,this.brushType=t,this.positiveColor=e,this.negativeColor=r,this.showBorder=i,this.positiveBorderColor=n,this.negativeBorderColor=a,this.direction=s,this.value=o,this.minimum=l,this.maximum=u}implements(){return super.implements().concat([Ae.ap.IStiDataBarIndicator,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("BrushType","",Bg,Bg.Gradient),new dl("PositiveColor","",Fe.green),new dl("NegativeColor","",Fe.red),new dl("PositiveBorderColor","",Fe.darkGreen),new dl("NegativeBorderColor","",Fe.darkRed),new Wi("ShowBorder"),new ji("Value","",0),new ji("Minimum","",0),new ji("Maximum","",100),new Gi("Direction","",Ae.ap.StiDataBarDirection,Ae.ap.StiDataBarDirection.Default)])}};let Eg=Ae.ap.StiIcon;Ae.ap.StiIconSetHelper=class{static getIconSet(t){switch(t){case Ae.ap.StiIconSet.ArrowsColored3:return[Eg.ArrowUpGreen,Eg.ArrowRightYellow,Eg.ArrowDownRed];case Ae.ap.StiIconSet.ArrowsColored4:return[Eg.ArrowUpGreen,Eg.ArrowRightUpYellow,Eg.ArrowRightDownYellow,Eg.ArrowDownRed];case Ae.ap.StiIconSet.ArrowsColored5:return[Eg.ArrowUpGreen,Eg.ArrowRightUpYellow,Eg.ArrowRightYellow,Eg.ArrowRightDownYellow,Eg.ArrowDownRed];case Ae.ap.StiIconSet.ArrowsGray3:return[Eg.ArrowUpGray,Eg.ArrowRightGray,Eg.ArrowDownGray];case Ae.ap.StiIconSet.ArrowsGray4:return[Eg.ArrowUpGray,Eg.ArrowRightUpGray,Eg.ArrowRightDownGray,Eg.ArrowDownGray];case Ae.ap.StiIconSet.ArrowsGray5:return[Eg.ArrowUpGray,Eg.ArrowRightUpGray,Eg.ArrowRightGray,Eg.ArrowRightDownGray,Eg.ArrowDownGray];case Ae.ap.StiIconSet.Flags3:return[Eg.FlagGreen,Eg.FlagYellow,Eg.FlagRed];case Ae.ap.StiIconSet.Latin4:return[Eg.Latin1,Eg.Latin2,Eg.Latin3,Eg.Latin4];case Ae.ap.StiIconSet.Quarters5:return[Eg.QuarterFull,Eg.QuarterThreeFourth,Eg.QuarterHalf,Eg.QuarterQuarter,Eg.QuarterNone];case Ae.ap.StiIconSet.QuartersGreen5:return[Eg.QuarterFullGreen,Eg.QuarterThreeFourthGreen,Eg.QuarterHalfGreen,Eg.QuarterQuarterGreen,Eg.QuarterNoneGreen];case Ae.ap.StiIconSet.QuartersRed5:return[Eg.QuarterFullRed,Eg.QuarterThreeFourthRed,Eg.QuarterHalfRed,Eg.QuarterQuarterRed,Eg.QuarterNoneRed];case Ae.ap.StiIconSet.Ratings3:return[Eg.Rating4,Eg.Rating2,Eg.Rating0];case Ae.ap.StiIconSet.Ratings4:return[Eg.Rating4,Eg.Rating3,Eg.Rating2,Eg.Rating1];case Ae.ap.StiIconSet.Ratings5:return[Eg.Rating4,Eg.Rating3,Eg.Rating2,Eg.Rating1,Eg.Rating0];case Ae.ap.StiIconSet.RedToBlack4:return[Eg.FromRedToBlackRed,Eg.FromRedToBlackPink,Eg.FromRedToBlackGray,Eg.QuarterFull];case Ae.ap.StiIconSet.Signs3:return[Eg.CircleGreen,Eg.TriangleYellow,Eg.RhombRed];case Ae.ap.StiIconSet.Squares5:return[Eg.Square0,Eg.Square1,Eg.Square2,Eg.Square3,Eg.Square4];case Ae.ap.StiIconSet.Stars3:return[Eg.StarFull,Eg.StarHalf,Eg.StarNone];case Ae.ap.StiIconSet.Stars5:return[Eg.StarFull,Eg.StarThreeFourth,Eg.StarHalf,Eg.StarQuarter,Eg.StarNone];case Ae.ap.StiIconSet.SymbolsCircled3:return[Eg.CircleCheckGreen,Eg.CircleExclamationYellow,Eg.CircleCrossRed];case Ae.ap.StiIconSet.SymbolsUncircled3:return[Eg.CheckGreen,Eg.ExclamationYellow,Eg.CrossRed];case Ae.ap.StiIconSet.TrafficLights4:return[Eg.CircleGreen,Eg.CircleYellow,Eg.CircleRed,Eg.CircleBlack];case Ae.ap.StiIconSet.TrafficLightsRimmed3:return[Eg.LightsGreen,Eg.LightsYellow,Eg.LightsRed];case Ae.ap.StiIconSet.TrafficLightsUnrimmed3:return[Eg.CircleGreen,Eg.CircleYellow,Eg.CircleRed];case Ae.ap.StiIconSet.Triangles3:return[Eg.TriangleGreen,Eg.MinusYellow,Eg.TriangleRed];case Ae.ap.StiIconSet.Full:return[Eg.ArrowUpGreen,Eg.ArrowRightYellow,Eg.ArrowDownRed,Eg.ArrowUpGray,Eg.ArrowRightGray,Eg.ArrowDownGray,Eg.ArrowRightUpYellow,Eg.ArrowRightDownYellow,Eg.ArrowRightUpGray,Eg.ArrowRightDownGray,Eg.TriangleGreen,Eg.MinusYellow,Eg.TriangleRed,Eg.FlagGreen,Eg.FlagYellow,Eg.FlagRed,Eg.Latin1,Eg.Latin2,Eg.Latin3,Eg.Latin4,Eg.CheckGreen,Eg.ExclamationYellow,Eg.CrossRed,Eg.CircleCheckGreen,Eg.CircleExclamationYellow,Eg.CircleCrossRed,Eg.CircleGreen,Eg.CircleYellow,Eg.CircleRed,Eg.CircleBlack,Eg.TriangleYellow,Eg.RhombRed,Eg.FromRedToBlackRed,Eg.FromRedToBlackPink,Eg.FromRedToBlackGray,Eg.LightsGreen,Eg.LightsYellow,Eg.LightsRed,Eg.QuarterFull,Eg.QuarterThreeFourth,Eg.QuarterHalf,Eg.QuarterQuarter,Eg.QuarterNone,Eg.QuarterFullGreen,Eg.QuarterThreeFourthGreen,Eg.QuarterHalfGreen,Eg.QuarterQuarterGreen,Eg.QuarterNoneGreen,Eg.QuarterFullRed,Eg.QuarterThreeFourthRed,Eg.QuarterHalfRed,Eg.QuarterQuarterRed,Eg.QuarterNoneRed,Eg.Rating0,Eg.Rating1,Eg.Rating2,Eg.Rating3,Eg.Rating4,Eg.Square0,Eg.Square1,Eg.Square2,Eg.Square3,Eg.Square4,Eg.StarFull,Eg.StarThreeFourth,Eg.StarHalf,Eg.StarQuarter,Eg.StarNone];default:return null}}static getIcons(t){var e,r;let i=[],n=0;for(r of this.getIconSet(t))i[n]=this.getIcon2(r),n++;return i}static getIcon2(t){if(t==Eg.None)return null;return this.icons[Zt.getName(Eg,t)]}static getIcon(t){if(null!=t.customIcon)return ie.fromBytes(t.customIcon);return t.icon==Eg.None?null:this.icons[Zt.getName(Eg,t.icon)]}static get icons(){return null==this._icons&&(this._icons={ArrowDownGray:ie.fromBase64(Ae.b.decompressLiteral("\bIQBa_^ \b\tHa:'Ӌ5Bg2Knsvb0׬S1PXi+IuנK#YmtƅA'jVB*g P(%A P*42A P(%;i^5,(ƅX)JtBI(bF!I\fy-($i94VJ4)DW#K%2)XY+TFV˘l((ƅ1%HT2UJN8צrhΐ)Tƹ\b01PI$!I*Tu=FS(U3e`CY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2UJN8%u<^P;SҔƅjI:QMd+V+'ӕ#P0:PLW!aLB4-b=fCG\v\t5(*$j\tΰ%ʆIIe+)gRe\bs(R\treNb4QMc)ew,PHKM϶;U.IB<YO2jp1S-dJ50L$RhDCiBJ6\bYPSΙ))QTo!ƴjPvYNu)Z6PMt2*Yo$Z(Q<Zf%J`jm2e5ˈjΛHVB\tVEΕ/ӣK-\bӻ-M(UHIBQ Se6z]+$ҥ\v\bU(N)*K6T.6ƕσ=iG9<V/L(:-p8Yfd!ש4*EPg\b#QX<\brv8֭t\vQN77Xnbw8VLns3ǨӃh6-k\v5G9jaI1)Pj3˘C[IG;5K#ƗS-nBϐgƝQ)Lʓ+%dMΔzZ3Yjқiv[(Tϩ.Y7S-Taӄ5MT3FI#\f5nmJX`x*Rd+-5#s;BDM'Y\bL3IJ<b9#PhuS@bQ).2H`wӕHJQ,P.$s%*N7ZhnA P(Ǎ*V'TI3*ʲI$O$ €€"))}),this._icons}},Ae.ap.StiIconSetIndicator=class extends Ae.ap.StiIndicator{constructor(t=Ae.ap.StiIcon.None,e=xr.MiddleLeft,r=null,i=null){super(),this.icon=Ae.ap.StiIcon.None,this.alignment=xr.MiddleLeft,this.icon=t,this.alignment=e,this.customIcon=r,this.customIconSize=i}implements(){return super.implements().concat([Yt,"StiIndicator"])}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Icon","",Ae.ap.StiIcon,Ae.ap.StiIcon.None),new Gi("Alignment","",xr,xr.MiddleLeft)])}},Ae.ap.IStiAnchor=new Ae.b.Interface("IStiAnchor"),Ae.ap.IStiAutoWidth=new Ae.b.Interface("IStiAutoWidth"),Ae.ap.IStiBorderColor=new Ae.b.Interface("IStiBorderColor"),Ae.ap.IStiCanGrow=new Ae.b.Interface("IStiCanGrow"),Ae.ap.IStiCanShrink=new Ae.b.Interface("IStiCanShrink"),Ae.ap.IStiClone=new Ae.b.Interface("IStiClone"),Ae.ap.IStiComponent=new Ae.b.Interface("IStiComponent"),Ae.ap.IStiComponentGuid=new Ae.b.Interface("IStiComponentGuid"),Ae.ap.IStiCornerRadius=new Ae.b.Interface("IStiCornerRadius"),Ae.ap.ImplementsIStiCornerRadius=[],Ae.ap.IStiDataBarIndicator=new Ae.b.Interface("IStiDataBarIndicator"),Ae.ap.IStiGroup=new Ae.b.Interface("IStiGroup"),Ae.ap.IStiGrowToHeight=new Ae.b.Interface("IStiGrowToHeight"),Ae.ap.IStiIgnoreBorderWhenExport=new Ae.b.Interface("IStiIgnoreBorderWhenExport"),Ae.ap.IStiIndicatorCondition=new Ae.b.Interface("IStiIndicatorCondition"),Ae.ap.IStiKeepChildTogether=new Ae.b.Interface("IStiKeepChildTogether"),Ae.ap.IStiKeepDetailsTogether=new Ae.b.Interface("IStiKeepDetailsTogether"),Ae.ap.IStiKeepFooterTogether=new Ae.b.Interface("IStiKeepFooterTogether"),Ae.ap.IStiKeepGroupFooterTogether=new Ae.b.Interface("IStiKeepGroupFooterTogether"),Ae.ap.IStiKeepGroupTogether=new Ae.b.Interface("IStiKeepGroupTogether"),Ae.ap.IStiKeepHeaderTogether=new Ae.b.Interface("IStiKeepHeaderTogether"),Ae.ap.IStiKeepReportSummaryTogether=new Ae.b.Interface("IStiKeepReportSummaryTogether"),Ae.ap.IStiOddEvenStyles=new Ae.b.Interface("IStiOddEvenStyles"),Ae.ap.IStiPrintAtBottom=new Ae.b.Interface("IStiPrintAtBottom"),Ae.ap.IStiPrintIfDetailEmpty=new Ae.b.Interface("IStiPrintIfDetailEmpty"),Ae.ap.IStiPrintOn=new Ae.b.Interface("IStiPrintOn"),Ae.ap.IStiPrintOnEvenOddPages=new Ae.b.Interface("IStiPrintOnEvenOddPages"),Ae.ap.IStiShape=new Ae.b.Interface("IStiShape"),Ae.ap.IStiShift=new Ae.b.Interface("IStiShift"),Ae.ap.IStiSimpleBorder=new Ae.b.Interface("IStiSimpleBorder"),Ae.ap.IStiSimpleShadow=new Ae.b.Interface("IStiSimpleShadow"),Ae.ap.ImplementsIStiSimpleShadow=[],Ae.ap.IStiTextFont=new Ae.b.Interface("IStiTextFont"),Ae.ap.IStiTextOptions=new Ae.b.Interface("IStiTextOptions");{let t=class extends Ae.ap.StiComponent{constructor(){super(...arguments),this.horAlignment=Ds.Left,this.vertAlignment=Go.Top,this.brush=new si,this.border=new Zr,this.textBrush=new si(Fe.black),this._font=new Ar("Arial",12),this.defaultClientRectangle=new os(0,0,100,30)}implements(){return t.implementsStiMathFormula||(t.implementsStiMathFormula=super.implements().concat([Ae.ap.IStiFont,Ae.ap.IStiBorder,Ae.ap.IStiBrush,Ae.ap.IStiTextBrush,Ae.ap.IStiHorAlignment,Ae.ap.IStiVertAlignment])),t.implementsStiMathFormula}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("LaTexExpression"),new Gi("HorAlignment","",Ds,Ds.Left),new Gi("VertAlignment","",Go,Go.Top),new Ui("Font","_").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Ui("Border").get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds("Brush"),new ds("TextBrush")])}clone(t){var t,t,t;let e=super.clone(t);return e.border=null===(t=this.border)||void 0===t?void 0:t.clone(),e.brush=null===(t=this.brush)||void 0===t?void 0:t.clone(),e.textBrush=null===(t=this.textBrush)||void 0===t?void 0:t.clone(),e.horAlignment=this.horAlignment,e.vertAlignment=this.vertAlignment,e}get font(){return this._font}set font(t){null==t&&this.isDesigning||(this._font=t)}get priority(){return Ae.ap.StiComponentPriority.ChildBand}get localizedCategory(){return ne.get("Report","Components")}get localizedName(){return ne.get("Components","StiMathFormula")}createNew(){return new t}getFormulaString(){try{if(null==this.report||this.report.isDesigning)return this.laTexExpression}catch(t){}return this.laTexExpression}construct(t=os.empty){super.construct(t)}};Ae.ap.StiMathFormula=t}(v=Ig=Ae.ap.StiShapeDirection||(Ae.ap.StiShapeDirection={}))[v["Up"]=0]="Up",v[v["Down"]=1]="Down",v[v["Left"]=2]="Left",v[v["Right"]=3]="Right",Ae.ap.StiShapeTypeService=class extends K{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}static loadFromJsonObjectInternal(t){let e=t.properties().firstOrDefault(t=>"Ident"==t.name).value,r=Hd.Services.shapes.firstOrDefault(t=>t.serviceEnabled&&t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();return i.loadFromJsonObject(t),i}static createFromJsonObject(t){let e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.shapes.firstOrDefault(t=>t.serviceEnabled&&t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw new Error("Type is not found!");let i=r.createNew();return i.loadFromJsonObject(t),i}static convertFromXml(t){var t,t=null===(t=t.attributes.getNamedItem("type").value)||void 0===t?void 0:t.split(".").pop();if(null==t)return null;return new Ae.ap[t]}get componentId(){return Ae.c.StiComponentId.StiShapeTypeService}createNew(){return null}};{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Up,e=.3,r=.4){super(),this.direction=Ae.ap.StiShapeDirection.Up,this._arrowWidth=.3,this._arrowHeight=.4,this.direction=t,this.arrowWidth=e,this.arrowHeight=r}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Up),new ji("ArrowWidth","",.3),new ji("ArrowHeight","",.4)])}get componentId(){return Ae.c.StiComponentId.StiArrowShapeType}get arrowWidth(){return this._arrowWidth}set arrowWidth(t){0<=t&&t<=.5&&(this._arrowWidth=t)}get arrowHeight(){return this._arrowHeight}set arrowHeight(t){0<=t&&t<=1&&(this._arrowHeight=t)}createNew(){return new t}};Ae.ap.StiArrowShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Up){super(),this.direction=Ae.ap.StiShapeDirection.Up,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Up)])}get componentId(){return Ae.c.StiComponentId.StiBentArrowShapeType}createNew(){return new t}};Ae.ap.StiBentArrowShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Right){super(),this.direction=Ae.ap.StiShapeDirection.Right,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Right)])}get componentId(){return Ae.c.StiComponentId.StiChevronShapeType}createNew(){return new t}};Ae.ap.StiChevronShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Left){super(),this.direction=Ae.ap.StiShapeDirection.Left,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Left)])}get componentId(){return Ae.c.StiComponentId.StiComplexArrowShapeType}createNew(){return new t}};Ae.ap.StiComplexArrowShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiDiagonalDownLineShapeType}createNew(){return new t}};Ae.ap.StiDiagonalDownLineShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiDiagonalUpLineShapeType}createNew(){return new t}};Ae.ap.StiDiagonalUpLineShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiDivisionShapeType}createNew(){return new t}};Ae.ap.StiDivisionShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiEqualShapeType}createNew(){return new t}};Ae.ap.StiEqualShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiFlowchartCardShapeType}createNew(){return new t}};Ae.ap.StiFlowchartCardShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Down){super(),this.direction=Ae.ap.StiShapeDirection.Left,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Up)])}get componentId(){return Ae.c.StiComponentId.StiFlowchartCollateShapeType}createNew(){return new t}};Ae.ap.StiFlowchartCollateShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiFlowchartDecisionShapeType}createNew(){return new t}};Ae.ap.StiFlowchartDecisionShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiFlowchartManualInputShapeType}createNew(){return new t}};Ae.ap.StiFlowchartManualInputShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Down){super(),this.direction=Ae.ap.StiShapeDirection.Up,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Up)])}get componentId(){return Ae.c.StiComponentId.StiFlowchartOffPageConnectorShapeType}createNew(){return new t}};Ae.ap.StiFlowchartOffPageConnectorShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Left){super(),this.direction=Ae.ap.StiShapeDirection.Left,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Left)])}get componentId(){return Ae.c.StiComponentId.StiFlowchartPreparationShapeType}createNew(){return new t}};Ae.ap.StiFlowchartPreparationShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiFlowchartSortShapeType}createNew(){return new t}};Ae.ap.StiFlowchartSortShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiFrameShapeType}createNew(){return new t}};Ae.ap.StiFrameShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiHorizontalLineShapeType}createNew(){return new t}};Ae.ap.StiHorizontalLineShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiLeftAndRightLineShapeType}createNew(){return new t}};Ae.ap.StiLeftAndRightLineShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiMinusShapeType}createNew(){return new t}};Ae.ap.StiMinusShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiMultiplyShapeType}createNew(){return new t}};Ae.ap.StiMultiplyShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=!0,e=0){super(),this.autoSize=!0,this._bevel=0,this.autoSize=t,this.bevel=e}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("AutoSize","",!0),new ji("Bevel","_",0)])}get componentId(){return Ae.c.StiComponentId.StiOctagonShapeType}get bevel(){return this._bevel}set bevel(t){0<=t&&(this._bevel=t)}createNew(){return new t}};Ae.ap.StiOctagonShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiOvalShapeType}createNew(){return new t}};Ae.ap.StiOvalShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiParallelogramShapeType}createNew(){return new t}};Ae.ap.StiParallelogramShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiPlusShapeType}createNew(){return new t}};Ae.ap.StiPlusShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiRectangleShapeType}createNew(){return new t}};Ae.ap.StiRectangleShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiRegularPentagonShapeType}createNew(){return new t}};Ae.ap.StiRegularPentagonShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=.2){super(),this._round=.2,this.round=t}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Round","_",.2)])}get componentId(){return Ae.c.StiComponentId.StiRoundedRectangleShapeType}get round(){return this._round}set round(t){0<t&&t<=.5&&(this._round=t)}createNew(){return new t}};Ae.ap.StiRoundedRectangleShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiSnipDiagonalSideCornerRectangleShapeType}createNew(){return new t}};Ae.ap.StiSnipDiagonalSideCornerRectangleShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiSnipSameSideCornerRectangleShapeType}createNew(){return new t}};Ae.ap.StiSnipSameSideCornerRectangleShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiTopAndBottomLineShapeType}createNew(){return new t}};Ae.ap.StiTopAndBottomLineShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiTrapezoidShapeType}createNew(){return new t}};Ae.ap.StiTrapezoidShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{constructor(t=Ae.ap.StiShapeDirection.Up){super(),this.direction=Ae.ap.StiShapeDirection.Up,this.direction=t}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Direction","",Ae.ap.StiShapeDirection,Ae.ap.StiShapeDirection.Up)])}get componentId(){return Ae.c.StiComponentId.StiTriangleShapeType}clone(){let t=this.stimulsoft().memberwiseClone();return t.direction=this.direction,t}createNew(){return new t}};Ae.ap.StiTriangleShapeType=t}{let t=class extends Ae.ap.StiShapeTypeService{get componentId(){return Ae.c.StiComponentId.StiVerticalLineShapeType}createNew(){return new t}};Ae.ap.StiVerticalLineShapeType=t}Ae.ap.StiContourText=class extends Ae.ap.StiText{constructor(t=null,e=""){super(t),this.contourColor=Fe.black,this.size=1,this.textBrush=new si(Fe.white)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("LinesOfUnderline"),new dl("ContourColor","",Fe.black),new ji("Size","",1)])}},Ae.ap.StiPrimitive=class extends Ae.ap.StiComponent{meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new gs("Shift"),new gs("UseParentStyles"),new gs("DockStyle"),new gs("GrowToHeight")])}get canShrink(){return super.getCanShrink()}set canShrink(t){}get canGrow(){return super.getCanGrow()}set canGrow(t){}get shift(){return super.getShift()}set shift(t){}get useParentStyles(){return super.getUseParentStyles()}set useParentStyles(t){super.setUseParentStyles(t)}get dockStyle(){return super.getDockStyle()}set dockStyle(t){}get growToHeight(){return super.getGrowToHeight()}set growToHeight(t){}get localizedCategory(){return ne.get("Report","Shapes")}get componentType(){return Ae.ap.StiComponentType.Simple}get priority(){return Ae.ap.StiComponentPriority.Primitive}get clientRectangle(){return new os(this.left,this.top,this.width,this.height)}set clientRectangle(t){this.left=Ne.round2(t.left,2),this.top=Ne.round2(t.top,2),this.width=Ne.round2(t.width,2),this.height=Ne.round2(t.height,2)}getDisplayRectangle(){return new os(this.left,this.top,this.width,this.height)}setDisplayRectangle(t){this.left=Ne.round2(t.left,2),this.top=Ne.round2(t.top,2),this.width=Ne.round2(t.width,2),this.height=Ne.round2(t.height,2)}setDirectDisplayRectangle(t){this.displayRectangle=t}constructor(t,e=!1){super(),e||this.construct(t)}construct(t){null==t&&(t=os.empty),super.construct(t)}},Ae.ap.StiLinePrimitive=class extends Ae.ap.StiPrimitive{constructor(t=os.empty){super(t),this.defaultClientRectangle=new os(0,0,60,60),this.style=Jr.Solid,this.color=Fe.black,this.size=1}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Style","",Jr,Jr.Solid),new dl("Color","",Fe.black),new ji("Size","",1)])}get invalidateOnMouseOver(){return!0}};{let i=class extends Ae.ap.StiLinePrimitive{constructor(t=os.empty){super(t),this.storedStartPoint=null,this.storedEndPoint=null,this.newGuid()}onRemoveComponent(){let t=this.getStartPoint();null!=t&&null!=t.parent&&t.parent.components.contains(t)&&(t.referenceToGuid=null,t.parent.components.remove(t));let e=this.getEndPoint();null!=e&&null!=e.parent&&e.parent.components.contains(e)&&(e.referenceToGuid=null,e.parent.components.remove(e))}canContainIn(t){return t.is(Ae.ap.StiPage)}get linked(){return super.getLinked()}set linked(t){super.setLinked(t);let e=this.getStartPoint();null!=e&&(e.linked=t);let r=this.getEndPoint();null!=r&&(r.linked=t)}get left(){let t=this.getStartPoint();if(null==t)return super.getLeft();var e=new Fp(t.left,t.top);return Ne.round2(t.componentToPage(e).x,2)}set left(t){let e=this.getStartPoint();var t,t;null==e?super.setLeft(t):this.isParentContainerSelected(e)||(t=new Fp(t,0),t=e.pageToComponent(t),e.left=t.x)}get top(){let t=this.getStartPoint();if(null==t)return super.getTop();var e=new Fp(t.left,t.top);return Ne.round2(t.componentToPage(e).y,2)}set top(t){let e=this.getStartPoint();var t,t;null==e?super.setTop(t):this.isParentContainerSelected(e)||(t=new Fp(0,t),t=e.pageToComponent(t),e.top=t.y)}get height(){let t=this.getStartPoint(),e=this.getEndPoint();if(null==t||null==e)return super.getHeight();var r=new Fp(t.left,t.top),i=new Fp(e.left,e.top),r=t.componentToPage(r),i=e.componentToPage(i);return Ne.round2(i.y-r.y,2)}set height(t){super.setHeight(t);let e=this.getStartPoint(),r=this.getEndPoint();var i,i,t,t;null!=e&&null!=r&&(i=new Fp(e.left,e.top),i=e.componentToPage(i),t=new Fp(i.x,i.y+t),t=r.pageToComponent(t),r.top=t.y)}getStartPoint(t=null){if(null!=t){for(var e of t.components.list){var r=e.as(Ae.ap.StiStartPointPrimitive);if(null!=r&&r.referenceToGuid==this.guid)return r;var e=e.as(Ae.ap.StiContainer);if(null!=e){var e=this.getStartPoint(e);if(null!=e)return e}}return null}if(null!=this.report&&!this.report.isRendering&&!this.isDesigning)return null;if(this.guid==i.nullGuid)return null;if(this.isDesigning&&null!=this.storedStartPoint)return this.storedStartPoint;if(null==this.page)return null;return this.storedStartPoint=this.getStartPoint(this.page),this.storedStartPoint}getEndPoint(t=null){if(null!=t){for(var e of t.components.list){var r=e.as(Ae.ap.StiEndPointPrimitive);if(null!=r&&r.referenceToGuid==this.guid)return r;var e=e.as(Ae.ap.StiContainer);if(null!=e){var e=this.getEndPoint(e);if(null!=e)return e}}return null}if(null!=this.report&&!this.report.isRendering&&!this.getStartPoint)return null;if(this.getStartPoint&&null!=this.storedEndPoint)return this.storedEndPoint;if(null==this.page)return null;return this.storedEndPoint=this.getEndPoint(this.page),this.storedEndPoint}isParentContainerSelected(t){let e=t.parent;while(1){if(null==e)return!1;e=e.parent}}};i.nullGuid="nullGuid",Ae.ap.StiCrossLinePrimitive=i}Ae.ap.StiPointPrimitive=class extends Ae.ap.StiPrimitive{constructor(t=os.empty){super(t),this.referenceToGuid=null,this.storedColumn=0}meta(){return this._hash||(this._hash=[...super.meta(),new gs("IsSelected"),new In("ReferenceToGuid")])}get isSelected(){return!1}set isSelected(t){}get width(){return 0}set width(t){}get height(){return 0}set height(t){}},Ae.ap.StiEndPointPrimitive=class extends Ae.ap.StiPointPrimitive{constructor(t=os.empty){super(t)}};{let t=class extends Ae.ap.StiLinePrimitive{constructor(t=os.empty){super(t),this._border=null,this.startCap=new Kr,this.endCap=new Kr}implements(){return super.implements().concat([Ae.ap.IStiBorder,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("StartCap").get(()=>ci.Serialize.jCap(this.startCap)).set(t=>this.startCap=ci.Deserialize.jCap(t.value)).setXml(t=>this.startCap.loadFromXml(t)),new Ui("EndCap").get(()=>ci.Serialize.jCap(this.endCap)).set(t=>this.endCap=ci.Deserialize.jCap(t.value)).setXml(t=>this.endCap.loadFromXml(t))])}clone(t=!0){let e=super.clone(t);return null!=this.startCap?e.startCap=this.startCap.clone():e.startCap=null,null!=this.endCap?e.endCap=this.endCap.clone():e.endCap=null,e}get border(){return null==this._border&&(this._border=new Zr(Xr.Top,this.color,this.size,this.style,!1,0,null)),this._border}set border(t){}get height(){if(null!=this.page&&null!=this.page.unit)return this.page.unit.convertFromHInches(1);return 1}set height(t){}createNew(){return new t}};Ae.ap.StiHorizontalLinePrimitive=t}{let t=class extends Ae.ap.StiCrossLinePrimitive{constructor(t=os.empty){super(t),this._border=null,this.topSide=!0,this.leftSide=!0,this.bottomSide=!0,this.rightSide=!0}implements(){return super.implements().concat([Ae.ap.IStiBorder,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("TopSide","",!0),new Wi("LeftSide","",!0),new Wi("BottomSide","",!0),new Wi("RightSide","",!0)])}get border(){return null==this._border&&(this._border=new Zr(Xr.All,this.color,this.size,this.style,!1,0,null)),this._border}set border(t){}convert(t,e,r=!1){null==this.getStartPoint()&&null==this.getEndPoint()&&super.convert(t,e,r)}get width(){let t=this.getStartPoint(),e=this.getEndPoint();if(null==t||null==e)return super.getWidth();var r=new Fp(t.left,t.top),i=new Fp(e.left,e.top),r=t.componentToPage(r),i=e.componentToPage(i);return Ne.round2(i.x-r.x,2)}set width(t){super.setWidth(t);let e=this.getStartPoint(),r=this.getEndPoint();var i,i,i,i;null!=e&&null!=r&&(i=new Fp(e.left,e.top),i=e.componentToPage(i),i=new Fp(i.x+t,i.y),i=r.pageToComponent(i),r.left=i.x)}createNew(){return new t}};Ae.ap.StiRectanglePrimitive=t}{let t=class extends Ae.ap.StiRectanglePrimitive{constructor(t=os.empty){super(t),this._round=.2}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Round","_",.2)])}get round(){return this._round}set round(t){0<t&&t<=.5&&(this._round=t)}createNew(){return new t}};Ae.ap.StiRoundedRectanglePrimitive=t}let kg=Ae.ap.IStiBorderColor,Ng=Ae.ap.IStiShape,Fg=Ae.bm.XmlTextWriter;Ae.ap.StiShape=class extends Ae.ap.StiComponent{constructor(t=os.empty){super(t),this.font=new Ar("Arial",8),this.horAlignment=Bs.Center,this.vertAlignment=Go.Center,this.foreColor=Fe.black,this.margins=new Ae.ap.StiMargins,this.backgroundColor=Fe.transparent,this.brush=new si,this.borderColor=Fe.black,this.defaultClientRectangle=new os(0,0,64,64),this.style=Jr.Solid,this._size=1,this.shapeType=new Ae.ap.StiRectangleShapeType}implements(){return this._implementsStiShape||(this._implementsStiShape=super.implements().concat([Ae.ap.IStiBrush,kg,Ae.ap.IStiExportImageExtended,Ae.ap.IStiExportImage,Ng,Ae.ap.IStiForeColor,Ae.ap.IStiFont,Ae.ap.IStiTextHorAlignment,Ae.ap.IStiVertAlignment,Yt])),this._implementsStiShape}meta(){return this._hash||(this._hash=[...super.meta(),new gs("CanShrink"),new gs("CanGrow"),new ds(["Brush","bh"]),new dl("BorderColor","",Fe.black),new Gi("Style","",Jr,Jr.Solid),new ji("Size","",1),new Ma("ShapeType").set(t=>this.shapeType=Ae.ap.StiShapeTypeService.loadFromJsonObjectInternal(t.value)).setXml(t=>{this.shapeType=Ae.ap.StiShapeTypeService.convertFromXml(t),this.shapeType.loadFromXml(t)}),new Ui("Text"),new dl("ForeColor","",Fe.black),new Ui("Font").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent)),new Gi("HorAlignment","",Bs,Bs.Center),new Gi("VertAlignment","",Go,Go.Center),new Ma("Margins").get(t=>this.margins.saveToJsonObject(t,0,0,0,0)).set(t=>this.margins.loadFromJsonObject(t.value)).setXml(t=>this.margins=Ae.ap.StiMargins.loadFromXml(t)),new dl("BackgroundColor","",Fe.transparent)])}clone(t){let e=super.clone(t);return null!=this.shapeType?e.shapeType=this.shapeType.clone():e.shapeType=null,e}convert(t,e,r=!1){super.convert(t,e,r),this.shapeType.is(Ae.ap.StiOctagonShapeType)&&(this.shapeType.bevel=e.convertFromHInches(t.convertToHInches(this.shapeType.bevel)))}getImage(t,e=Ae.c.StiExportFormat.None){if(null!=this.report&&null!=this.report.preparedExportImages){var r=this.report.preparedExportImages.get(this);if(null!=r)return r}let i=new ie,n=new Ae.ax.StiSvgData;n.x=0,n.y=0,n.width=this.report.unit.convertToHInches(this.width),n.height=this.report.unit.convertToHInches(this.height),n.component=this;var a=-1,r=new Dt;let s=new Fg(Ot.UTF8);Ae.ax.StiSvgHelper.writeShape(s,n,a,!0,r),s.flush();var r=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',n.width+10,n.height+10,s.textWriter.getStringBuilder().toString());return i.bytes=Ot.UTF8.getBytes(r),i}isExportAsImage(t){return!0}shouldSerializeForeColor(){return this.foreColor!=Fe.black}get size(){return this._size}set size(t){t!=this._size&&(this._size=t<1?1:t)}},Ae.ap.StiStartPointPrimitive=class extends Ae.ap.StiPointPrimitive{get componentId(){return Ae.c.StiComponentId.StiStartPointPrimitive}constructor(t=os.empty){super(t)}};{let e=class extends Ae.ap.StiText{constructor(t=os.empty,e=""){super(t),this.textBrush=new si(Fe.black),this.brush=new si(Fe.white),this.border.side=Xr.All,this.border.color=Fe.black,this.border.size=2,this.setTextInternal(e),this.placeOnToolbox=!1,this.font=new Ar("Arial",14,se.Bold)}implements(){return e.ImplementsTextInCells||(e.ImplementsTextInCells=super.implements().concat([Ae.ap.IStiTextOptions,Ae.ap.IStiAutoWidth,Ae.ap.IStiTextHorAlignment,Ae.ap.IStiVertAlignment,Ae.ap.IStiBorder,Ae.ap.IStiFont,Ae.ap.IStiBrush,Ae.ap.IStiTextBrush,Ae.ap.IStiBreakable,Ae.c.IStiGlobalizationProvider,Mo,Yt])),e.ImplementsTextInCells}meta(){return this._hash||(this._hash=[...super.meta(),new gs("VertAlignment"),new gs("AutoWidth"),new gs("CanShrink"),new gs("AllowHtmlTags"),new gs("ShrinkFontToFit"),new gs("ShrinkFontToFitMinimumSize"),new gs("Angle"),new gs("LinesOfUnderline"),new gs("MaxNumberOfLines"),new gs("ProcessingDuplicates"),new gs("RenderTo"),new gs("TextQuality"),new gs("ExcelValue"),new gs("Font"),new Al("Font","","Arial",14,se.Bold),new ji("CellWidth","",0),new ji("CellHeight","",0),new ji("HorSpacing","",0),new ji("VertSpacing","",0),new Wi("WordWrap"),new Wi("RightToLeft"),new Wi("ContinuousText","",!0)])}getImage(t,e=Ae.c.StiExportFormat.None){let r=Ae.aF.StiPainter.getPainter(this.stimulsoft().getType());return r.getImage(this,t,e)}convert(t,e,r=!1){super.convert(t,e,r),this.cellWidth=e.convertFromHInches(t.convertToHInches(this.cellWidth)),this.cellHeight=e.convertFromHInches(t.convertToHInches(this.cellHeight)),this.horSpacing=e.convertFromHInches(t.convertToHInches(this.horSpacing)),this.vertSpacing=e.convertFromHInches(t.convertToHInches(this.vertSpacing))}get cellWidth(){return this.properties.getNumber(e.propertyCellWidth,0)}set cellWidth(t){this.properties.setNumber(e.propertyCellWidth,t,0)}get cellHeight(){return this.properties.getNumber(e.propertyCellHeight,0)}set cellHeight(t){t<0?this.properties.setNumber(e.propertyCellHeight,0,0):this.properties.setNumber(e.propertyCellHeight,t,0)}get horSpacing(){return this.properties.getNumber(e.propertyHorSpacing,0)}set horSpacing(t){t<0?this.properties.setNumber(e.propertyHorSpacing,0,0):this.properties.setNumber(e.propertyHorSpacing,t,0)}get vertSpacing(){return this.properties.getNumber(e.propertyVertSpacing,0)}set vertSpacing(t){t<0?this.properties.setNumber(e.propertyVertSpacing,0,0):this.properties.setNumber(e.propertyVertSpacing,t,0)}get wordWrap(){return this.textOptions.wordWrap}set wordWrap(t){this.textOptions.wordWrap=t}get rightToLeft(){return this.textOptions.rightToLeft}set rightToLeft(t){this.textOptions.rightToLeft=t}get continuousText(){return this.properties.getBool(e.propertyContinuousText,!1)}set continuousText(t){this.properties.setBool(e.propertyContinuousText,t,!1)}getActualSize(){return new ls(this.width,this.height)}static splitByCells(t,e,r){return this.splitByCells2(t,e,r,!1)}static splitByCells2(s,u,h,c){let d=new Ae.ap.StiContainer;d.clientRectangle=u.clientRectangle,d.name=u.name,d.canGrow=u.canGrow;let m=d.clientRectangle;m.x=0,m.y=0;let t=s.page.unit;var p=t.convertFromHInches(s.border.size/2*s.page.zoom),g=s.horSpacing,f=s.vertSpacing;let S=s.cellWidth,b=s.cellHeight;var e=s.border.isLeftBorderSidePresent||s.border.isRightBorderSidePresent;if(0==s.cellWidth&&(S=t.convertFromHInches(1.5*s.font.getHeight()*Ae.c.StiDpiHelper.deviceCapsScale+(e?s.border.size:0))),0==s.cellHeight&&(b=t.convertFromHInches(1.5*s.font.getHeight()*Ae.c.StiDpiHelper.deviceCapsScale)),s.continuousText){let r=m.x+p,t=m.y+p,i=!0,n=0;while(1==1){var a=Ne.round2(r,2),o=Ne.round2(t,2),l=Ne.round2(r+S,2)-a,y=Ne.round2(t+b,2)-o,y=new os(a,o,l,y);if(y.right+g<m.right||i){let t=u.clone();t.clientRectangle=y,t.horAlignment=Bs.Center,t.vertAlignment=Go.Center,t.wordWrap=!1,d.components.add(t);let e="";null!=h&&n<h.length&&(e=h[n]),t.setTextInternal(e),r+=S+g,n++,i=!1}else{if(t+=b+f,r=m.x+p,i=!0,!s.wordWrap)break;if(c&&s.canGrow){if(n>=h.length)break}else if(m.bottom<t+b+f)break}}}else{let o=new Fr(1,1),n=m.x+p+S;while(n+g+S<m.right)n+=g+S,o.width++;let a=m.y+p+b;while(a+f+b<m.bottom)a+=f+b,o.height++;s.wordWrap||(o.height=1);let l=new Ee,e="";if(null!=h)for(let t=0;t<h.length;t++){var r=h[t];Be.isControl(r)?"\n"==r&&(l.add(Ae.ap.StiTextInCellsHelper.trimEndWhiteSpace(e)),e=""):e+=r}if(""!=e&&l.add(Ae.ap.StiTextInCellsHelper.trimEndWhiteSpace(e)),0==l.length&&l.add(e),s.wordWrap)for(let s=0;s<l.length;s++){let a=l[s];if(a.length>o.width){let e=[],r=0,i=0;while(i<a.length&&Be.isWhitespace(a[i]))e[i]=r,i++;for(let t=i;t<a.length;t++)Be.isWhitespace(a[t])&&r++,e[t]=r;let t=o.width,n=t-1;if(0<e[t])if(e[t]!=e[n])while(Be.isWhitespace(a[t]))t++;else{while(!Be.isWhitespace(a[t]))t--;n=t++;while(Be.isWhitespace(a[n]))n--}l.setByIndex(s,a.substring(0,n+1)),l.insert(s+1,a.substring(t,a.length-t))}}c&&s.canGrow&&(o.height=l.length),a=m.y+p;for(let e=0;e<o.height;e++){let i=e<l.length?l[e]:"",t=0;s.horAlignment==Bs.Center&&(t=(o.width-i.length)/2),s.horAlignment==Bs.Right&&(t=o.width-i.length),0<t&&(i=De.repeat(" ",t)+i),n=m.x+p;for(let r=0;r<o.width;r++){var v=Ne.round2(n,2),w=Ne.round2(a,2),C=Ne.round2(n+S,2)-v,T=Ne.round2(a+b,2)-w,T=new os(v,w,C,T);let t=u.clone();t.clientRectangle=T,t.horAlignment=Bs.Center,t.vertAlignment=Go.Center,t.wordWrap=!1,d.components.add(t);let e="";var T=s.rightToLeft?o.width-r-1:r;T<i.length&&(e=i[T]),t.setTextInternal(e),n+=S+g}a+=b+f}}return d}static replaceContainerWithContentCells(t,e){let r=t.parent.components.indexOf(t);t.parent.components.removeAt(r);for(var i of e.components.toList())i.left+=e.left,i.top+=e.top,t.parent.components.insert(r++,i)}createNew(){return new e}};e.propertyCellWidth=Math.random().toString().substr(2),e.propertyCellHeight=Math.random().toString().substr(2),e.propertyHorSpacing=Math.random().toString().substr(2),e.propertyVertSpacing=Math.random().toString().substr(2),e.propertyContinuousText=Math.random().toString().substr(2),Ae.ap.StiTextInCells=e}Ae.ap.StiTextInCellsHelper=class{static trimEndWhiteSpace(r){if(Hd.Engine.measureTrailingSpaces)return r;{let t="",e=r.length;while(0<e&&Be.isWhitespace(r[e-1]))e--;return e==r.length?t=r:0<e&&(t=r.substring(0,e)),t}}};{let t=class extends Ae.ap.StiCrossLinePrimitive{constructor(t=os.empty){super(t),this._border=null,this.startCap=new Kr,this.endCap=new Kr}implements(){return super.implements().concat([Ae.ap.IStiBorder,Yt])}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("StartCap").get(()=>ci.Serialize.jCap(this.startCap)).set(t=>this.startCap=ci.Deserialize.jCap(t.value)).setXml(t=>this.startCap.loadFromXml(t)),new Ui("EndCap").get(()=>ci.Serialize.jCap(this.endCap)).set(t=>this.endCap=ci.Deserialize.jCap(t.value)).setXml(t=>this.endCap.loadFromXml(t))])}clone(t){let e=super.clone(t);return null!=this.startCap?e.startCap=this.startCap.clone():e.startCap=null,null!=this.endCap?e.endCap=this.endCap.clone():e.endCap=null,e}get border(){return null==this._border&&(this._border=new Zr(Xr.Left,this.color,this.size,this.style,!1,0,null)),this._border}set border(t){}convert(t,e,r=!1){null==this.getStartPoint()&&null==this.getEndPoint()&&super.convert(t,e,r)}get width(){if(null!=this.page)return this.page.unit.convertFromHInches(1);return 0}set width(r){if(this.isDesigning){super.setWidth(r);let t=this.getStartPoint(),e=this.getEndPoint();var r,r,r,r;null!=t&&null!=e&&(r=new Fp(t.left,t.top),r=t.componentToPage(r),r=new Fp(r.x,r.y),r=e.pageToComponent(r),e.left=r.x)}}createNew(){return new t}};Ae.ap.StiVerticalLinePrimitive=t}Ae.be.IStiTableComponent=new Ae.b.Interface("IStiTableComponent");{let r=class extends Ae.ap.StiText{constructor(){super(...arguments),this.cellDockStyle=Ae.ap.StiDockStyle.None,this.parentJoinCell=null,this._joinCells=new Array(0),this._parentJoin=-1,this._join=!1,this.id=-1,this.joinWidth=0,this.joinHeight=0,this.tableTag=null,this._cellType=Ae.be.StiTablceCellType.Text,this.fixedWidth=!1,this.column=0}implements(){return r.ImplementsStiTableCell||(r.ImplementsStiTableCell=super.implements().concat([Ae.be.IStiTableCell,Ae.be.IStiTableComponent,Yt])),r.ImplementsStiTableCell}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Locked"),new gs("Linked"),new Gi("CellDockStyle","",Ae.ap.StiDockStyle,Ae.ap.StiDockStyle.None),new Ma("JoinCells").get(()=>ci.Serialize.numberArray(this.joinCells)).set(t=>this._joinCells=ci.Deserialize.numberArray(t.value)).setXml(t=>this._joinCells=this.loadJoinCellsFromXml(t)),new ji("ParentJoin","",-1),new Wi("Join"),new ji("ID","id",-1),new ji("JoinWidth"),new ji("JoinHeight"),new Gi("CellType","",Ae.be.StiTablceCellType,Ae.be.StiTablceCellType.Text),new Wi("FixedWidth")])}loadJoinCellsFromXml(r){let i=[],n=0;for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];"value"==t.nodeName&&(i[n]=t.textContent.stimulsoft().toNumber(),n++)}return i}get componentId(){return Ae.c.StiComponentId.StiTableCell}clone(t){let e=super.clone(t).as(r);return e._join=this._join,e.minSize=new ls(0,0),e.maxSize=new ls(0,0),e.cellDockStyle=this.cellDockStyle,e.joinWidth=this.joinWidth,e.joinHeight=this.joinHeight,e._cellType=this._cellType,e.column=this.column,e.fixedWidth=this.fixedWidth,e.id=this.id,e._joinCells=this._joinCells.stimulsoft().clone(),-1!=this._parentJoin?e._parentJoin=this._parentJoin:e._parentJoin=-1,e}get locked(){return this.isDesigning&&!this.report.isPageDesigner}get linked(){return this.isDesigning&&!this.report.isPageDesigner}get canGrow(){return super.getCanGrow()}set canGrow(t){super.getCanGrow()!=t&&(super.setCanGrow(t),this.parent.is(Ae.be.StiTable)&&this.parent.changeGrowToHeightAtCell(this))}get autoWidth(){return!1}get joinCells(){return this._joinCells}set joinCells(t){this._joinCells=t}get parentJoin(){return this._parentJoin}set parentJoin(t){this._parentJoin=t}get join(){return this._join}set join(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))}get merged(){return-1!=this._parentJoin}get changeTopPosition(){var t;if(this.parent.is(Ae.be.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1}get changeLeftPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=0;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}return!0}return!1}get changeRightPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=this.parent.columnCount-1;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}}return!0}get cellType(){return this._cellType}set cellType(t){this._cellType=t;let e=this.parent.stimulsoft().as(Ae.be.StiTable);if(null!=e)switch(t){case Ae.be.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case Ae.be.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case Ae.be.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}}getJoinComponentByGuid(t){if(null==this.parent&&0==this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==t)return e;return null}getJoinComponentByIndex(t){if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==this._joinCells[t])return e;return null}containsGuid(e){if(0==this._joinCells.length)return!1;for(let t=0;t<this._joinCells.length;t++)if(this._joinCells[t]==e)return!0;return!1}createJoin(){let t=this.parent.stimulsoft().as(Ae.be.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},n={ref:r},a={ref:this.joinWidth},s={ref:this.joinHeight};if(this._joinCells=t.createJoin(i,n,a,s),0==this._joinCells.length)return;e=i.ref,r=n.ref,this.joinWidth=a.ref,this.joinHeight=s.ref;let o=0,l=0;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);0==e&&(o=t.left,l=t.top),t.enabled=!1,t.as(Ae.be.IStiTableCell).parentJoin=this.id}this._parentJoin=this.id,this.clientRectangle=new os(o,l,e,r)}deleteJoin(){if(null==this.page&&0==this._joinCells.length)return;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);t.enabled=!0,t.as(Ae.be.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this.joinWidth=0,this.joinHeight=0}getNewClientRectangle(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new os(t.right,t.top,this.right-t.right,t.height):new os(t.left,t.bottom,t.width,this.bottom-t.bottom)}setJoinSize(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new os(e,t,this.right-e,this.bottom-t)}getRealHeightAfterInsertRows(){if(this._join){if(1==this.joinHeight)return super.getHeight();let e=0;var r=Ne.trunc(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),i=Ne.trunc(this.parent.components.indexOf(this)/this.parent.columnCount);for(let t=r;t<i;t++){var n=t*this.parent.columnCount;e+=this.parent.components.getByIndex(n).height}return super.getHeight()-e}return super.getHeight()}getRealHeight(){if(this._join){let t=this.getJoinComponentByIndex(this._joinCells.length-2);var e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount?e-r==1?t.height:this.bottom-t.top-t.as(Ae.be.IStiTableCell).getRealHeight():super.getBottom()-t.bottom}return super.getHeight()}getRealTop(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return super.getTop()}getRealWidth(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return super.getWidth()}getRealLeft(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left}createNew(){return new r}};Ae.be.StiTableCell=r}{let r=class extends Ae.ap.StiCheckBox{constructor(){super(...arguments),this.cellDockStyle=Ae.ap.StiDockStyle.None,this.parentJoinCell=null,this._joinCells=new Array(0),this._parentJoin=-1,this._join=!1,this.id=-1,this.joinWidth=0,this.joinHeight=0,this.tableTag=null,this._cellType=Ae.be.StiTablceCellType.CheckBox,this.fixedWidth=!1,this.column=0}implements(){return r.ImplementsStiTableCellCheckBox||(r.ImplementsStiTableCellCheckBox=super.implements().concat([Ae.be.IStiTableCell,Ae.be.IStiTableComponent,Yt])),r.ImplementsStiTableCellCheckBox}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Locked"),new gs("Linked"),new Gi("CellDockStyle","",Ae.ap.StiDockStyle,Ae.ap.StiDockStyle.None),new Ma("JoinCells","_").get(()=>ci.Serialize.numberArray(this.joinCells)).set(t=>this._joinCells=ci.Deserialize.numberArray(t.value)).setXml(t=>this._joinCells=this.loadJoinCellsFromXml(t)),new ji("ParentJoin","_",-1),new Wi("Join","_"),new ji("ID","id",-1),new ji("JoinWidth"),new ji("JoinHeight"),new Gi("CellType","_",Ae.be.StiTablceCellType,Ae.be.StiTablceCellType.CheckBox),new Wi("FixedWidth")])}loadJoinCellsFromXml(r){let i=[],n=0;for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];"value"==t.nodeName&&(i[n]=t.textContent.stimulsoft().toNumber(),n++)}return i}get componentId(){return Ae.c.StiComponentId.StiTableCellCheckBox}clone(t){let e=super.clone(t).as(r);return e._join=this._join,e.minSize=new ls(0,0),e.maxSize=new ls(0,0),e.cellDockStyle=this.cellDockStyle,e.joinWidth=this.joinWidth,e.joinHeight=this.joinHeight,e._cellType=this.cellType,e.column=this.column,e.fixedWidth=this.fixedWidth,e.id=this.id,e._joinCells=this._joinCells.stimulsoft().clone(),-1!=this._parentJoin?e._parentJoin=this._parentJoin:e._parentJoin=-1,e}get locked(){return this.isDesigning&&!this.report.isPageDesigner}get linked(){return this.isDesigning&&!this.report.isPageDesigner}get canShrink(){return!1}set canShrink(t){}get canGrow(){return super.getCanGrow()}set canGrow(t){super.getCanGrow()!=t&&(super.setCanGrow(t),this.parent.is(Ae.be.StiTable)&&this.parent.changeGrowToHeightAtCell(this))}get joinCells(){return this._joinCells}set joinCells(t){this._joinCells=t}get parentJoin(){return this._parentJoin}set parentJoin(t){this._parentJoin=t}get join(){return this._join}set join(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))}get merged(){return-1!=this._parentJoin}get changeTopPosition(){var t;if(this.parent.is(Ae.be.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1}get changeLeftPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=0;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}return!0}return!1}get changeRightPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=this.parent.columnCount-1;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}}return!0}get cellType(){return this._cellType}set cellType(t){this._cellType=t;let e=this.parent.stimulsoft().as(Ae.be.StiTable);if(null!=e)switch(t){case Ae.be.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case Ae.be.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case Ae.be.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}}getJoinComponentByGuid(t){if(null==this.parent&&0==this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==t)return e;return null}getJoinComponentByIndex(t){if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.as(Ae.be.IStiTableCell).id==this._joinCells[t])return e;return null}containsGuid(e){if(0==this._joinCells.length)return!1;for(let t=0;t<this._joinCells.length;t++)if(this._joinCells[t]==e)return!0;return!1}createJoin(){let t=this.parent.stimulsoft().as(Ae.be.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},n={ref:r},a={ref:this.joinWidth},s={ref:this.joinHeight};if(this._joinCells=t.createJoin(i,n,a,s),e=i.ref,r=n.ref,this.joinWidth=a.ref,this.joinHeight=s.ref,null==this._joinCells||0==this._joinCells.length)return;let o=0,l=0;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);0==e&&(o=t.left,l=t.top),t.enabled=!1,t.as(Ae.be.IStiTableCell).parentJoin=this.id}this._parentJoin=this.id,this.clientRectangle=new os(o,l,e,r)}deleteJoin(){if(null==this.page&&0==this._joinCells.length)return;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);t.enabled=!0,t.as(Ae.be.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this.joinWidth=0,this.joinHeight=0}getNewClientRectangle(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new os(t.right,t.top,this.right-t.right,t.height):new os(t.left,t.bottom,t.width,this.bottom-t.bottom)}setJoinSize(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new os(e,t,this.right-e,this.bottom-t)}getRealHeightAfterInsertRows(){if(this._join){if(1==this.joinHeight)return super.getHeight();let e=0;var r=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),i=+(this.parent.components.indexOf(this)/this.parent.columnCount);for(let t=r;t<i;t++){var n=t*this.parent.columnCount;e+=this.parent.components.getByIndex(n).height}return super.getHeight()-e}return super.getHeight()}getRealHeight(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:super.getBottom()-t.bottom}return super.getHeight()}getRealTop(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return super.getTop()}getRealWidth(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return super.getWidth()}getRealLeft(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left}createNew(){return new r}};Ae.be.StiTableCellCheckBox=r}{let r=class extends Ae.ap.StiRichText{constructor(){super(),this.cellDockStyle=Ae.ap.StiDockStyle.None,this.parentJoinCell=null,this._joinCells=new Array(0),this._parentJoin=-1,this._join=!1,this.id=-1,this.joinWidth=0,this.joinHeight=0,this.tableTag=null,this._cellType=Ae.be.StiTablceCellType.RichText,this.fixedWidth=!1,this.column=0,this.backColor=Fe.white}implements(){return r.ImplementsStiTableCellRichText||(r.ImplementsStiTableCellRichText=super.implements().concat([Ae.be.IStiTableCell,Ae.be.IStiTableComponent,Yt])),r.ImplementsStiTableCellRichText}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Locked"),new gs("Linked"),new Gi("CellDockStyle","",Ae.ap.StiDockStyle,Ae.ap.StiDockStyle.None),new Ma("JoinCells","_").get(()=>ci.Serialize.numberArray(this.joinCells)).set(t=>this._joinCells=ci.Deserialize.numberArray(t.value)).setXml(t=>this._joinCells=this.loadJoinCellsFromXml(t)),new ji("ParentJoin","_",-1),new Wi("Join","_"),new ji("ID","id",-1),new ji("JoinWidth"),new ji("JoinHeight"),new Gi("CellType","_",Ae.be.StiTablceCellType,Ae.be.StiTablceCellType.RichText),new Wi("FixedWidth")])}loadJoinCellsFromXml(r){let i=[],n=0;for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];"value"==t.nodeName&&(i[n]=t.textContent.stimulsoft().toNumber(),n++)}return i}get componentId(){return Ae.c.StiComponentId.StiTableCellRichText}clone(t){let e=super.clone(t).stimulsoft().as(r);return e._join=this._join,e.minSize=new ls(0,0),e.maxSize=new ls(0,0),e.cellDockStyle=this.cellDockStyle,e.joinWidth=this.joinWidth,e.joinHeight=this.joinHeight,e._cellType=this._cellType,e.column=this.column,e.fixedWidth=this.fixedWidth,e.id=this.id,e._joinCells=this._joinCells.stimulsoft().clone(),-1!=this._parentJoin?e._parentJoin=this._parentJoin:e._parentJoin=-1,e}get locked(){return this.isDesigning&&!this.report.isPageDesigner}get linked(){return this.isDesigning&&!this.report.isPageDesigner}get canShrink(){return!1}set canShrink(t){}get canGrow(){return super.getCanGrow()}set canGrow(t){super.getCanGrow()!=t&&(super.setCanGrow(t),this.parent.is(Ae.be.StiTable)&&this.parent.changeGrowToHeightAtCell(this))}get joinCells(){return this._joinCells}set joinCells(t){this._joinCells=t}get parentJoin(){return this._parentJoin}set parentJoin(t){this._parentJoin=t}get join(){return this._join}set join(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))}get merged(){return-1!=this._parentJoin}get changeTopPosition(){var t;if(this.parent.is(Ae.be.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1}get changeLeftPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=0;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}return!0}return!1}get changeRightPosition(){if(this.parent.is(Ae.be.StiTable)){var e=this.parent.components.indexOf(this);let t=this.parent.columnCount-1;while(t<this.parent.components.count){if(t==e)return!1;t+=this.parent.columnCount}}return!0}get cellType(){return this._cellType}set cellType(t){this._cellType=t;let e=this.parent.stimulsoft().as(Ae.be.StiTable);if(null!=e)switch(t){case Ae.be.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case Ae.be.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case Ae.be.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break}}getJoinComponentByGuid(t){if(null==this.parent&&0==this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.stimulsoft().as(Ae.be.IStiTableCell).id==t)return e;return null}getJoinComponentByIndex(t){if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;for(var e of this.parent.components.list)if(e.stimulsoft().as(Ae.be.IStiTableCell).id==this._joinCells[t])return e;return null}containsGuid(e){if(0==this._joinCells.length)return!1;for(let t=0;t<this._joinCells.length;t++)if(this._joinCells[t]==e)return!0;return!1}createJoin(){let t=this.parent.stimulsoft().as(Ae.be.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},n={ref:r},a={ref:this.joinWidth},s={ref:this.joinHeight};if(this._joinCells=t.createJoin(i,n,a,s),0==this._joinCells.length)return;e=i.ref,r=n.ref,this.joinWidth=a.ref,this.joinHeight=s.ref;let o=0,l=0;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);0==e&&(o=t.left,l=t.top),t.enabled=!1,t.stimulsoft().as(Ae.be.IStiTableCell).parentJoin=this.id}this._parentJoin=this.id,this.clientRectangle=new os(o,l,e,r)}deleteJoin(){if(null==this.page&&0==this._joinCells.length)return;for(let e=0;e<this._joinCells.length-1;e++){let t=this.getJoinComponentByIndex(e);t.enabled=!0,t.stimulsoft().as(Ae.be.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this.joinWidth=0,this.joinHeight=0}getNewClientRectangle(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new os(t.right,t.top,this.right-t.right,t.height):new os(t.left,t.bottom,t.width,this.bottom-t.bottom)}setJoinSize(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new os(e,t,this.right-e,this.bottom-t)}getRealHeightAfterInsertRows(){if(this._join&&this.parent.is(Ae.be.StiTable)){if(1==this.joinHeight)return super.getHeight();let e=0;var r=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),i=+(this.parent.components.indexOf(this)/this.parent.columnCount);for(let t=r;t<i;t++){var n=t*this.parent.columnCount;e+=this.parent.components.getByIndex(n).height}return super.getHeight()-e}return super.getHeight()}getRealHeight(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:super.getBottom()-t.bottom}return super.getHeight()}getRealTop(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return super.getTop()}getRealWidth(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return super.getWidth()}getRealLeft(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left}createNew(){return new r}};Ae.be.StiTableCellRichText=r}{let e=class{constructor(t,e,r,i,n){this.falseValue=t,this.trueValue=e,this.falseDisplay=r,this.trueDisplay=i,this.nullDisplay=n}implements(){return[Jt]}clone(){return this.stimulsoft().memberwiseClone()}},t=class extends Ae.bc.StiFormatService{constructor(t="false",e="true",r=ne.get("FormFormatEditor","nameFalse"),i=ne.get("FormFormatEditor","nameTrue"),n=" "){super(),this.falseValue=t,this.trueValue=e,this.falseDisplay=r,this.trueDisplay=i,this.nullDisplay=n}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("FalseValue").get(()=>this.bits.falseValue).check(()=>null!=this.bits),new Ui("TrueValue").get(()=>this.bits.trueValue).check(()=>null!=this.bits),new Ui("FalseDisplay").get(()=>this.bits.falseDisplay).check(()=>null!=this.bits),new Ui("TrueDisplay").get(()=>this.bits.trueDisplay).check(()=>null!=this.bits),new Ui("NullDisplay").get(()=>this.bits.nullDisplay).check(()=>null!=this.bits)])}clone(){let t=super.clone();return null!=this.bits&&(t.bits=this.bits.clone()),t}get falseValue(){return null==this.bits?"false":this.bits.falseValue}set falseValue(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseValue=t:this.bits=new e(t,this.trueValue,this.falseDisplay,this.trueDisplay,this.nullDisplay)}get trueValue(){return null==this.bits?"true":this.bits.trueValue}set trueValue(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueValue=t:this.bits=new e(this.falseValue,t,this.falseDisplay,this.trueDisplay,this.nullDisplay)}get falseDisplay(){return null==this.bits?"false":this.bits.falseDisplay}set falseDisplay(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseDisplay=t:this.bits=new e(this.falseValue,this.trueValue,t,this.trueDisplay,this.nullDisplay)}get trueDisplay(){return null==this.bits?"true":this.bits.trueDisplay}set trueDisplay(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueDisplay=t:this.bits=new e(this.falseValue,this.trueValue,this.falseDisplay,t,this.nullDisplay)}get nullDisplay(){return null==this.bits?" ":this.bits.nullDisplay}set nullDisplay(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new e(this.falseValue,this.trueValue,this.falseDisplay,this.trueDisplay,t)}get sample(){return!1}equals(t){var e;if(null==t)return!1;if(this.falseValue!=t.falseValue)return!1;if(this.trueValue!=t.trueValue)return!1;if(this.falseDisplay!=t.falseDisplay)return!1;if(this.trueDisplay!=t.trueDisplay)return!1;if(this.nullDisplay!=t.nullDisplay)return!1;if(this.stringFormat!=t.stringFormat)return!1;return!0}format(t){return this.format2(this.stringFormat,t)}format2(t,e){if(null==e)return this.nullDisplay;let r=e.toString();if(null!=r&&null!=this.trueValue&&r.toLowerCase()==this.trueValue.toLowerCase())return this.trueDisplay;if(null!=r&&null!=this.trueValue&&r.toLowerCase()==this.falseValue.toLowerCase())return this.falseDisplay;return this.nullDisplay}createNew(){return new t}};Ae.bc.StiBooleanFormatService=t}Ae.bc.StiNegativeColorChecker=class{static isNegativeInRed(t){if(null==t)return!1;if(t.is(Ae.bc.StiNumberFormatService)&&0<(t.state&Ae.ap.StiTextFormatState.NegativeInRed))return!0;if(t.is(Ae.bc.StiCurrencyFormatService)&&0<(t.state&Ae.ap.StiTextFormatState.NegativeInRed))return!0;if(t.is(Ae.bc.StiPercentageFormatService)&&0<(t.state&Ae.ap.StiTextFormatState.NegativeInRed))return!0;return!1}},(D=Ag=Ae.at.StiCrossHorAlignment||(Ae.at.StiCrossHorAlignment={}))[D["Left"]=0]="Left",D[D["Center"]=1]="Center",D[D["Right"]=2]="Right",D[D["None"]=3]="None",D[D["Width"]=4]="Width";let Rg=Ae.aY.StiEnumeratorType;{let t=class extends Ae.at.StiCrossHeader{constructor(){super(...arguments),this.enumeratorType=Rg.None,this.enumeratorSeparator="."}implements(){return t.ImplementsStiCrossColumn||(t.ImplementsStiCrossColumn=super.implements().concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),t.ImplementsStiCrossColumn}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("EnumeratorType","",Rg,Rg.None),new In("EnumeratorSeparator","",".")])}get componentId(){return Ae.c.StiComponentId.StiCrossColumn}get localizedName(){return ne.get("Components","StiCrossColumn")}createNew(){return new t}};Ae.at.StiCrossColumn=t}{let t=class extends Ae.at.StiCrossField{constructor(){super(),this.brush=new si(Fe.whiteSmoke)}implements(){return t.ImplementsStiCrossTotal||(t.ImplementsStiCrossTotal=super.implements().concat(["StiCrossField"])),t.ImplementsStiCrossTotal}meta(){return this._hash||(this._hash=[...super.meta(),new gs("TextFormat"),new gs("HideZeros")])}get cellText(){return this.text}get componentId(){return Ae.c.StiComponentId.StiCrossTotal}createNew(){return new t}};Ae.at.StiCrossTotal=t}{let t=class extends Ae.at.StiCrossTotal{get componentId(){return Ae.c.StiComponentId.StiCrossColumnTotal}get localizedName(){return ne.get("Components","StiCrossColumnTotal")}createNew(){return new t}constructor(){super(),this.text="Total"}};Ae.at.StiCrossColumnTotal=t}{let t=class extends Ae.at.StiCrossHeader{constructor(){super(...arguments),this.enumeratorType=Rg.None,this.enumeratorSeparator="."}implements(){return t.ImplementsStiCrossRow||(t.ImplementsStiCrossRow=super.implements().concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),t.ImplementsStiCrossRow}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("EnumeratorType","",Rg,Rg.None),new In("EnumeratorSeparator","",".")])}get componentId(){return Ae.c.StiComponentId.StiCrossRow}get localizedName(){return ne.get("Components","StiCrossRow")}getCrossRowTitle(){let t=this.parent.as(Ae.at.StiCrossTab);if(null==t)return null;let e=De.format("{0}_Title",this.name);return t.components.toList().firstOrDefault(t=>t.is(Ae.at.StiCrossTitle)&&t.name==e).as(Ae.at.StiCrossTitle)}getCrossRowTotal(){let t=this.parent.as(Ae.at.StiCrossTab);if(null==t)return null;let e=this.name.stimulsoft().replaceAll("Row","RowTotal");return t.components.toList().firstOrDefault(t=>t.is(Ae.at.StiCrossRowTotal)&&t.name==e).as(Ae.at.StiCrossRowTotal)}createNew(){return new t}};Ae.at.StiCrossRow=t}{let t=class extends Ae.at.StiCrossTotal{get componentId(){return Ae.c.StiComponentId.StiCrossRowTotal}get localizedName(){return ne.get("Components","StiCrossRowTotal")}createNew(){return new t}constructor(){super(),this.text="Total"}};Ae.at.StiCrossRowTotal=t}let Lg=Ae.aY.StiSummaryType,Mg=Ae.aY.StiSummaryValues;{let t=class extends Ae.at.StiCrossCell{constructor(){super(),this.aspectRatio=!1,this.stretch=!0,this.imageHorAlignment=Ds.Left,this.imageVertAlignment=Go.Top,this.indexOfSelectValue=-1,this.summary=Lg.Sum,this.summaryValues=Mg.AllValues,this.useStyleOfSummaryInRowTotal=!1,this.useStyleOfSummaryInColumnTotal=!1,this.showPercents=!1,this.horAlignment=Bs.Right,this.hideZeros=!0}implements(){return t.ImplementsStiCrossSummary||(t.ImplementsStiCrossSummary=super.implements().concat(["StiCrossCell","StiCrossField"])),t.ImplementsStiCrossSummary}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("HorAlignment","",Bs,Bs.Right),new Wi("HideZeros","",!0),new Wi("AspectRatio"),new Wi("Stretch","",!0),new Gi("Summary","",Lg,Lg.Sum),new Gi("SummaryValues","",Mg,Mg.AllValues),new Wi("UseStyleOfSummaryInRowTotal"),new Wi("UseStyleOfSummaryInColumnTotal"),new Wi("ShowPercents")])}get componentId(){return Ae.c.StiComponentId.StiCrossSummary}clone(t){let e=super.clone(t);return e.aspectRatio=this.aspectRatio,e.stretch=this.stretch,e.imageHorAlignment=this.imageHorAlignment,e.imageVertAlignment=this.imageVertAlignment,e.summary=this.summary,e.summaryValues=this.summaryValues,e.useStyleOfSummaryInRowTotal=this.useStyleOfSummaryInRowTotal,e.useStyleOfSummaryInColumnTotal=this.useStyleOfSummaryInColumnTotal,e}get defaultHorAlignment(){return Bs.Right}get cellText(){return"0"}get localizedName(){return ne.get("Components","StiCrossSummary")}createNew(){return new t}};Ae.at.StiCrossSummary=t}{let t=class extends Ae.at.StiCrossField{get cellText(){return this.getTextInternal()}get localizedName(){return ne.get("Components","StiCrossSummaryHeader")}get componentId(){return Ae.c.StiComponentId.StiCrossSummaryHeader}createNew(){return new t}};Ae.at.StiCrossSummaryHeader=t}Ae.aY.StiGrid=class{constructor(){this.fields=new Dt,this.designTime=!1,this.maxWidth=10,this.maxHeight=10}get gridSize(){return this.report.info.gridSize}get rowCount(){return this.heights.length}set rowCount(t){this.init(this.widths.length,t)}get colCount(){return this.widths.length}set colCount(t){this.init(t,this.heights.length)}setTextOfCell(t,e,r){this.cells[t][e].text=r}align(t){return fs.alignToMaxGrid(t,this.gridSize,!0)}getCellTotalWidth(e,r){let i=0;for(let t=e;t<e+r;t++)t<this.widths.length&&(i+=this.widths[t]);return i}getCellTotalHeight(e,r){let i=0;for(let t=e;t<e+r;t++)i+=this.heights[t];return i}doAutoSize(){for(let e=0;e<this.colCount;e++)for(let t=0;t<this.rowCount;t++){let r=this.cells[e][t];if(null!=r.field&&r.parentCell==r){let t=1e4;0!=r.field.maxSize.width&&(t=this.getFieldWidth(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.width))),0==r.field.maxSize.height||90!=r.field.angle&&270!=r.field.angle||(t=this.getFieldHeight(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.height))),r.field.wordWrap||(t=0);let e=ls.empty;e=Ko.measureString(t,r.field.font,r.text,r.field.angle),e.width+=r.field.margins.left+r.field.margins.right,e.height+=r.field.margins.top+r.field.margins.bottom;var i=r.field.indicator;null!=i&&null!=i.customIcon&&null!=i.customIconSize&&(e.height=Math.max(e.height,i.customIconSize.height),i.alignment!=xr.BottomCenter&&i.alignment!=xr.MiddleCenter&&i.alignment!=xr.TopCenter&&(e.width+=i.customIconSize.width)),e.width=this.report.unit.convertFromHInches(e.width),e.height=this.report.unit.convertFromHInches(e.height),0!=r.field.maxSize.width&&r.field.maxSize.width<e.width&&(e.width=r.field.maxSize.width),0!=r.field.minSize.width&&r.field.minSize.width>e.width&&(e.width=r.field.minSize.width),r.size=e}else r.size=ls.empty,0<e&&null==r.parentCell&&1==this.cells[e-1][t].width&&this.cells[e-1][t].width++}for(let i=0;i<this.colCount;i++){let r=this.report.unit.convertFromHInches(Hd.Engine.CrossTab.defaultWidth);for(let e=0;e<this.rowCount;e++){var n=this.cells[i][e];if(1<n.width)continue;let t=n.size.width;null!=n.field&&(0!=n.field.minSize.width&&(t=Math.max(t,n.field.minSize.width)),0!=n.field.maxSize.width&&(t=Math.min(t,n.field.maxSize.width))),r=Math.max(r,t)}r=Math.min(r,this.maxWidth),r=this.align(r),this.widths[i]=r}for(let i=0;i<this.rowCount;i++){let r=this.report.unit.convertFromHInches(Hd.Engine.CrossTab.defaultHeight);for(let e=0;e<this.colCount;e++){var a=this.cells[e][i];if(1<a.height)continue;let t=a.size.height;null!=a.field&&(0!=a.field.minSize.height&&(t=Math.max(t,a.field.minSize.height)),0!=a.field.maxSize.height&&(t=Math.min(t,a.field.maxSize.height))),r=Math.max(r,t)}r=Math.min(r,this.maxHeight),r=this.align(r),this.heights[i]=r}for(let r=0;r<this.colCount;r++)for(let e=0;e<this.rowCount;e++){var s=this.cells[r][e];if(null!=s.field&&s.parentCell==s&&(1<s.width||1<s.height)){var t=this.getCellTotalWidth(r,s.width),o=this.getCellTotalHeight(e,s.height);if(s.size.width>t&&0<t){var l=s.size.width/t;for(let t=r;t<r+s.size.width;t++)t<this.widths.length&&(this.widths[t]*=l)}if(s.size.height>o&&0<o){var u=s.size.height/o;for(let t=e;t<e+s.size.height;t++)t<this.heights.length&&(this.heights[t]*=u)}}}for(let t=0;t<this.colCount;t++)this.widths[t]=fs.alignToMaxGrid(this.widths[t],this.report.info.gridSize,!0);for(let t=0;t<this.rowCount;t++)this.heights[t]=fs.alignToMaxGrid(this.heights[t],this.report.info.gridSize,!0);let e=0;for(let t=0;t<this.colCount;t++)this.coordX[t]=e,e+=this.widths[t];let r=0;for(let t=0;t<this.rowCount;t++)this.coordY[t]=r,r+=this.heights[t]}getFieldWidth(t,e){var e=new os(0,0,e,t.height),e=t.convertTextMargins(e,!1);return(e=t.convertTextBorders(e,!1)).width}getFieldHeight(t,e){var e=new os(0,0,t.height,e),e=t.convertTextMargins(e,!1);return(e=t.convertTextBorders(e,!1)).height}setCell(r,i,n,a,s,o,l,u,h,c,d,m,p=-1,g=null,f=null,S=Ae.aY.StiCellType.Cell){var b=this.cells[r][i],t=(l=!this.designTime?l.clone(!0).stimulsoft().as(Ae.at.StiCrossField):l).tagValue,e=l.toolTipValue,y=l.hyperlinkValue,v=l.textValue,w=new ns(o);l.tagValue=d,l.toolTipValue=c,l.hyperlinkValue=h,l.originalValue=o;let C=l.stimulsoft().as(Ae.at.StiCrossSummary);null!=C&&(this.cellExists(0,i)&&(C.crossRowValue=this.cells[0][i].value),this.cellExists(r,1)&&(C.crossColumnValue=this.cells[r][1].value)),l.invokeTextProcess(l,w),l.tagValue=t,l.toolTipValue=e,l.hyperlinkValue=y,l.is(Ae.at.StiCrossSummary)&&(l.crossRowValue=null,l.crossColumnValue=null),l.textValue!=v&&(s=l.textValue);let T=S;switch(S){case Ae.aY.StiCellType.HeaderCol:T=Ae.aY.StiCellType.HeaderColMain;break;case Ae.aY.StiCellType.HeaderColTotal:T=Ae.aY.StiCellType.HeaderColTotalMain;break;case Ae.aY.StiCellType.HeaderRow:T=Ae.aY.StiCellType.HeaderRowMain;break;case Ae.aY.StiCellType.HeaderRowTotal:T=Ae.aY.StiCellType.HeaderRowTotalMain;break;case Ae.aY.StiCellType.CornerCol:T=Ae.aY.StiCellType.CornerColMain;break;case Ae.aY.StiCellType.CornerRow:T=Ae.aY.StiCellType.CornerRowMain;break;case Ae.aY.StiCellType.LeftTopLine:T=Ae.aY.StiCellType.LeftTopLineMain;break;case Ae.aY.StiCellType.RightTopLine:T=Ae.aY.StiCellType.RightTopLineMain;break}for(let e=r;e<r+n;e++)for(let t=i;t<i+a;t++)null!=s&&(this.cells[e][t].text=s.toString()),this.cells[e][t].parentCell=b,this.cells[e][t].value=o,this.cells[e][t].width=n-(e-r),this.cells[e][t].height=a-(t-i),this.cells[e][t].field=l,this.cells[e][t].isNumeric=u,this.cells[e][t].hyperlinkValue=h,this.cells[e][t].toolTipValue=c,this.cells[e][t].tagValue=d,this.cells[e][t].drillDownParameters=m,this.cells[e][t].level=p,this.cells[e][t].parentGuid=g,this.cells[e][t].guid=f,this.cells[e][t].cellType=S;return this.cells[r][i].cellType=T,this.designTime&&null==this.fields.get(l)&&this.fields.set(l,new kr(r,i)),this.cells[r][i]}cellExists(t,e){return this.cells.stimulsoft().getLength(0)>t&&this.cells[t].stimulsoft().getLength(0)>e}setCellField(t,e,r){null!=this.cells[t][e]&&(this.cells[t][e].field=r)}init(e,r){this.widths=[],this.heights=[],this.coordX=ke.create(Number,e),this.coordY=ke.create(Number,r);for(let t=0;t<e;t++)this.widths[t]=10;for(let t=0;t<r;t++)this.heights[t]=10;this.cells=[];for(let t=0;t<e;t++){let e=[];this.cells.push(e);for(let t=0;t<r;t++)e.push(new Ae.aY.StiCell)}}};let Og=Ae.C.StiDataTopNMode;{let p=class extends Ae.aY.StiGrid{constructor(){super(...arguments),this.crossTab=null,this.strNull="",this.emptyField=p.emptyField,this.oneCellSize=0,this.oneCellWidth=0,this.oneCellHeight=0,this.summaryDirection=Ae.aY.StiSummaryDirection.LeftToRight,this.widthCorrection=0,this.heightCorrection=0,this.columnsCell=new Dt,this.rowsCell=new Dt,this.rows=new Ae.aY.StiRowCollection,this.cols=new Ae.aY.StiColumnCollection,this.summaryContainer=null,this.leftCrossTitle=null,this.rightCrossTitle=null,this.summaryCrossTitle=null}invokeEvents2(i,n){let t=!0;if(null!=this.report&&(t=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),t){let t=new ns;t.displayValue=n,i.invokeGetHyperlink(i,t),i.hyperlinkValue=t.value;let e=new ns;e.displayValue=n,i.invokeGetToolTip(i,e),i.toolTipValue=e.value;let r=new ns;r.displayValue=n,i.invokeGetTag(i,r),i.tagValue=r.value}else{var n,e,e;0<i.hyperlink.length&&(n=Ae.bb.StiParser.parseTextValue(i.hyperlink,i),i.hyperlinkValue=this.report.toString2(n)),0<i.toolTip.length&&(e=Ae.bb.StiParser.parseTextValue(i.toolTip,i),i.toolTipValue=this.report.toString2(e)),0<i.tag.length&&(e=Ae.bb.StiParser.parseTextValue(i.tag,i),i.tagValue=this.report.toString2(e))}i.invokeBeforePrint(i,Un.empty),i.invokeAfterPrint(i,Un.empty)}invokeEvents(t){let e=!0;var r,r,r,r,i,i;null!=this.report&&(e=this.report.calculationMode==Ae.c.StiCalculationMode.Compilation),e?(r=new ns,t.invokeGetHyperlink(t,r),t.hyperlinkValue=r.value,r=new ns,t.invokeGetToolTip(t,r),t.toolTipValue=r.value,r=new ns,t.invokeGetTag(t,r),t.tagValue=r.value):(0<t.hyperlink.length&&(r=Ae.bb.StiParser.parseTextValue(t.hyperlink,t),t.hyperlinkValue=this.report.toString2(r)),0<t.toolTip.length&&(i=Ae.bb.StiParser.parseTextValue(t.toolTip,t),t.toolTipValue=this.report.toString2(i)),0<t.tag.length&&(i=Ae.bb.StiParser.parseTextValue(t.tag,t),t.tagValue=this.report.toString2(i))),t.invokeBeforePrint(t,Un.empty),t.invokeAfterPrint(t,Un.empty)}addRowTotal(r,i,n,a){while(1){let t=new Ae.aY.StiRow("","");t.isTotal=!0,t.level=a;var s=new Oo;let e=this.rowFields.getByIndex(a).total;if(null!=e&&e.invokeGetValue(e,s),t.displayValue=s.value,r.add(t),n<=++i)return;r=r.getByIndex(r.count-1).rows}}addColTotal(r,i,n,a){while(1){let t=new Ae.aY.StiColumn("","");t.isTotal=!0,t.level=a;var s=new Oo;let e=this.colFields.getByIndex(a).total;if(null!=e&&e.invokeGetValue(e,s),t.displayValue=s.value,r.add(t),n<=++i)return;r=r.getByIndex(r.count-1).cols}}sortRows(t=this.rows,e=0,r=this.getRowsHeaderWidth()){for(var i of t.list)this.sortRows(i.rows,e+1,r);var n;e<r&&((n=this.rowFields.getByIndex(e).sortDirection)!=Ae.aY.StiSortDirection.None&&t.sort(n,this.rowFields.getByIndex(e).sortType))}sortCols(t=this.cols,e=0,r=this.getColsHeaderHeight()){for(var i of t.list)this.sortCols(i.cols,e+1,r);var n;e<r&&((n=this.colFields.getByIndex(e).sortDirection)!=Ae.aY.StiSortDirection.None&&t.sort(n,this.colFields.getByIndex(e).sortType))}createRowTotals(){var t=this.getRowsHeaderWidth();0<t&&this.createRowTotals2(this.rows,0,t)}createRowTotals2(t,e,r){if(0<t.count){for(var i of t.list)this.createRowTotals2(i.rows,e+1,r);var n=this.rowFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossRow),a=0==e?null:this.rowFields.getByIndex(e-1).stimulsoft().as(Ae.at.StiCrossRow);this.allowTotal(n,a)&&this.addRowTotal(t,e,r,e)}}createColTotals(){var t=this.getColsHeaderHeight();0<t&&this.createColTotals2(this.cols,0,t)}createColTotals2(t,e,r){if(0<t.count){for(var i of t.list)this.createColTotals2(i.cols,e+1,r);var n=this.colFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossColumn),a=0==e?null:this.colFields.getByIndex(e-1).stimulsoft().as(Ae.at.StiCrossColumn);this.allowTotal(n,a)&&this.addColTotal(t,e,r,e)}}getDataFromDataRow(t,e){if(null==t)return this.strNull;return null!=t.gett(e)?t.gett(e):this.strNull}getValueFromDataRow(t,e){if(null==t)return null;try{var i=t.gett(e.name),r=e.summary;if(r==Ae.aY.StiSummaryType.Image)return i;if(r==Ae.aY.StiSummaryType.Count)return i;if(r==Ae.aY.StiSummaryType.CountDistinct)return i;if(r==Ae.aY.StiSummaryType.None){if(null!=i&&i instanceof z)return i;if(e.hideZeros){if(null==i)return"";let t=0;try{if("string"==typeof i){let e=i,r=!1;for(let t=0;t<e.length;t++)if(Be.isDigit(e[t])){r=!0;break}if(!r)return i;e=e.replace(".",",").replace(",",Ae.bh.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator).stimulsoft().replaceAll(" ",""),t=e.stimulsoft().toNumber()}else t=Ae.b.Convert.changeType(i,Number);if(0==t)return""}catch(t){}return i}return i}if(null==i)return 0;if("string"==typeof i){let t=i;if(0==t.length)return null;t=t.replace(".",",").replace(",",Ae.bh.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);var n=t.stimulsoft().toNumber();return isNaN(n)?0:n}if(i instanceof z)return i;if(null==i)return 0;if(i==No)return 0;return Ae.b.Convert.changeType(i,Number)}catch(t){return 0}}allowTotal(t,e){if(null==t)return!1;if(null!=e){var e=null==e.interaction?null:e.interaction.stimulsoft().as(Ae.ap.StiCrossHeaderInteraction);if(null!=e&&e.collapsingEnabled)return!1}return t.isTotalVisible}getRow(r){let i=!1,n=this.rows,a=null,s=0;for(var o of this.rowFields.toCast()){let t=this.strNull,e=this.strNull;var l,l,l;o.name!=this.emptyField&&(t=this.getDataFromDataRow(r,o.name),e=this.getDataFromDataRow(r,"Display__"+o.name)),i&&(t="all",e="all"),a=n.getByValue(t),null==a&&(a=new Ae.aY.StiRow(t,e),l=new ns,o.invokeGetHyperlink(o,l),a.hyperlinkValue=l.value,l=new ns,o.invokeGetToolTip(o,l),a.toolTipValue=l.value,l=new ns,o.invokeGetTag(o,l),a.tagValue=l.value,n.add(a)),i=o.is(Ae.at.StiCrossHeader)&&Ae.aq.StiCrossTabBuilder.isCollapsed2(o,s,t.toString()),n=a.rows,s++}return a}getColumn(r){let i=!1,n=this.cols,a=null,s=0;for(var o of this.colFields.toCast()){let t="",e="";var l,l,l;o.name!=this.emptyField&&(t=this.getDataFromDataRow(r,o.name),e=this.getDataFromDataRow(r,"Display__"+o.name)),i&&(t="all",e="all"),a=n.getByValue(t),null==a&&(a=new Ae.aY.StiColumn(t,e),l=new ns,o.invokeGetHyperlink(o,l),a.hyperlinkValue=l.value,l=new ns,o.invokeGetToolTip(o,l),a.toolTipValue=l.value,l=new ns,o.invokeGetTag(o,l),a.tagValue=l.value,n.add(a)),i=o.is(Ae.at.StiCrossHeader)&&Ae.aq.StiCrossTabBuilder.isCollapsed2(o,s,t.toString()),n=a.cols,s++}return a}calculateTopN(){for(let t=this.colFields.count-1;0<=t;t--){var e=this.colFields.getByIndex(t),r=this.getSumFiledIndex(e.topN);0<=r&&this.processTopNColumns(t,0,r,this.cols,e.topN)}for(let t=this.rowFields.count-1;0<=t;t--){var i=this.rowFields.getByIndex(t),n=this.getSumFiledIndex(i.topN);0<=n&&this.processTopNRows(t,0,n,this.rows,i.topN)}}processTopNRows(t,e,a,s,o){if(e<t)for(var r of s.list)this.processTopNRows(t,e+1,a,r.rows,o);else{let r=new Dt;for(var l of s.list){let t=new Ee;this.getRowsArray2(l.rows,t),0==t.length&&t.add(l);let e=[];for(var u of t)for(var h of this.summaryContainer.getDataCol().keys){let t=this.summaryContainer.getDataCol().get(h).get(u);if(null!=t&&(t=t.stimulsoft().as(Ae.aY.StiSummary)),null!=t)for(var c of t.sums[a])e.push(c)}var d=this.getSummaryResult(e,a,!1);null==r.get(d)&&r.set(d,new Ee),r.get(d).add(l)}let e=new Ee;for(var m of r.keys)e.addRange(r.get(m));let i=new Ee;for(let t=o.mode==Og.Top?Math.max(0,e.length-o.count):0;t<(o.mode==Og.Top?e.length:Math.min(e.length,o.count));t++)i.add(e[t]);let t=0,n=new Ee;while(t<s.count)i.contains(s.getByIndex(t))?t++:(n.add(s.getByIndex(t)),s.removeAt(t));if(o.showOthers&&0<n.length){let t=new Ae.aY.StiRow(o.othersText,o.othersText);t.othersText=o.othersText,s.add(t),this.fillOtherRows(t,n)}}}fillOtherRows(i,t){for(var e of t)if(0==e.rows.count)for(var n of this.summaryContainer.getDataCol().keys){let r=this.summaryContainer.getDataCol().get(n).get(e);if(null!=r&&(r=r.stimulsoft().as(Ae.aY.StiSummary)),null!=r){let t=this.summaryContainer.getSummary(n,i),e=0;for(var a of this.sumFields.list)a.name!=this.emptyField&&(0==t.sums[e].length&&(t.hyperlinkValues=r.hyperlinkValues,t.toolTipValues=r.toolTipValues,t.tagValues=r.tagValues,t.drillDownParameters=r.drillDownParameters),t.sums[e].stimulsoft().addRange(r.sums[e]),e++)}}else for(var r of e.rows.list)if(null==i.rows.getByValue(r.value))i.rows.add(r);else{let t=new Ee;t.add(r),this.fillOtherRows(i.rows.getByValue(r.value),t)}}processTopNColumns(t,e,a,s,o){if(e<t)for(var r of s.list)this.processTopNColumns(t,e+1,a,r.cols,o);else{let r=new Dt;for(var l of s.list){let t=new Ee;this.getColsArray2(l.cols,t),0==t.length&&t.add(l);let e=[];for(var u of t){var u=this.summaryContainer.getDataCol().get(u).stimulsoft().as(Dt);if(null!=u)for(var h of u.values)for(var c of h.sums[a])e.push(c)}var d=this.getSummaryResult(e,a,!1);null==r.get(d)&&r.set(d,new Ee),r.get(d).add(l)}let e=new Ee;for(var m of r.keys)e.addRange(r.get(m));let i=new Ee;for(let t=o.mode==Og.Top?Math.max(0,e.length-o.count):0;t<(o.mode==Og.Top?e.length:Math.min(e.length,o.count));t++)i.add(e[t]);let t=0,n=new Ee;while(t<s.count)i.contains(s.getByIndex(t))?t++:(n.add(s.getByIndex(t)),s.removeAt(t));if(o.showOthers&&0<n.length){let t=new Ae.aY.StiColumn(o.othersText,o.othersText);t.othersText=o.othersText,s.add(t),this.fillOtherColumns(t,n)}}}fillOtherColumns(i,t){for(var e of t)if(0==e.cols.count){let r=this.summaryContainer.getDataCol().get(e).stimulsoft().as(Dt);if(null!=r)for(var n of r.keys){let t=this.summaryContainer.getSummary(i,n);var a=r.get(n),s;let e=0;for(s of this.sumFields.list)s.name!=this.emptyField&&(0==t.sums[e].length&&(t.hyperlinkValues=a.hyperlinkValues,t.toolTipValues=a.toolTipValues,t.tagValues=a.tagValues,t.drillDownParameters=a.drillDownParameters),t.sums[e].stimulsoft().addRange(a.sums[e]),e++)}}else for(var r of e.cols.list)if(null==i.cols.getByValue(r.value))i.cols.add(r);else{let t=new Ee;t.add(r),this.fillOtherColumns(i.cols.getByValue(r.value),t)}}getSumFiledIndex(e){if(null!=e&&e.mode!=Og.None&&!De.isNullOrEmpty(e.measureField))for(let t=0;t<this.sumFields.count;t++)if(this.sumFields.getByIndex(t).alias.stimulsoft().endsWith(`${e.measureField})`))return t;return-1}calculateDataTable(e){if(null==e||0==e.rows.count)this.calculateDataRow(null);else if(null!=this.crossTab.dataSource){var r=this.crossTab.dataSource.position,i;let t=0;for(i of e.rows.list)this.crossTab.dataSource.position=t++,this.calculateDataRow(i);this.crossTab.dataSource.position=r}else if(null!=this.crossTab.businessObject){var r=this.crossTab.businessObject.position,n;let t=0;for(n of e.rows.list)this.crossTab.businessObject.position=t++,this.calculateDataRow(n);this.crossTab.businessObject.position=r}}calculateDataRow(t){let e=this.getRow(t),r=this.getColumn(t),i=this.summaryContainer.getSummary(r,e),n=0;for(var a of this.sumFields.toCast()){var s;a.name!=this.emptyField&&(s=this.getValueFromDataRow(t,a),i.sums[n].push(s),this.invokeEvents(a),i.hyperlinkValues[n]=a.hyperlinkValue,i.toolTipValues[n]=a.toolTipValue,i.tagValues[n]=a.tagValue,null!=a.drillDownParameters&&(null==i.drillDownParameters&&(i.drillDownParameters=ke.create(Object,i.tagValues.length)),i.drillDownParameters[n]=a.drillDownParameters),n++)}for(var o of this.rowFields.toCast())o.name!=this.emptyField&&(this.invokeEvents(o),e.hyperlinkValue=o.hyperlinkValue,e.toolTipValue=o.toolTipValue,e.tagValue=o.tagValue,null!=o.drillDownParameters&&(null==e.drillDownParameters&&(e.drillDownParameters={}),e.drillDownParameters=o.drillDownParameters));for(var l of this.colFields.toCast())l.name!=this.emptyField&&(this.invokeEvents(l),r.hyperlinkValue=l.hyperlinkValue,r.toolTipValue=l.toolTipValue,r.tagValue=l.tagValue,null!=l.drillDownParameters&&(null==r.drillDownParameters&&(r.drillDownParameters={}),r.drillDownParameters=l.drillDownParameters))}copyRows(t,n,a,s,o,l,u){let h=0;u.ref=yr.newGuid().toString();for(var c of t.list){var d={ref:""},m=this.copyRows(c.rows,n+1,a,s+1,o,l,d);let e=this.rowFields.getByIndex(s).stimulsoft().as(Ae.at.StiCrossField);h+=m;let r=1;if(Ae.aq.StiCrossTabBuilder.isCollapsed2(e.stimulsoft().as(Ae.at.StiCrossHeader),s,c.value.toString())){let t=c;while(1){if(0==t.rows.count)break;r++,t=t.rows.getByIndex(0)}}let i=new Tr(n,a,r,m);c.isTotal&&(i.width=this.rowsHeaderWidth+this.widthCorrection-i.x-(this.isSummarySubHeadersPresent&&this.summaryDirection==Ae.aY.StiSummaryDirection.UpToDown?1:0),e=e.total);var p=e.textFormat.format(c.displayValue);this.invokeEvents2(e,p);var g=null!=e&&e.is(Ae.at.StiCrossRow)&&!e.textFormat.is(Wo);if(e.mergeHeaders||this.report.isDesigning)this.setCell(i.x,i.y,i.width,i.height,p,p,e,g,c.hyperlinkValue,c.toolTipValue,c.tagValue,c.drillDownParameters,s,u.ref,d.ref,c.isTotal?Ae.aY.StiCellType.HeaderRowTotal:Ae.aY.StiCellType.HeaderRow);else for(let t=0;t<i.height;t++)this.setCell(i.x,i.y+t,i.width,1,p,p,e,g,c.hyperlinkValue,c.toolTipValue,c.tagValue,c.drillDownParameters,s,u.ref,d.ref,c.isTotal?Ae.aY.StiCellType.HeaderRowTotal:Ae.aY.StiCellType.HeaderRow);a+=i.height}return Math.max(h,this.oneCellHeight)}copyCols(t,n,a,s,o,l,u){let h=0;u.ref=yr.newGuid().toString();for(var c of t.list){var d={ref:""},m=this.copyCols(c.cols,n,a+1,s+1,o,l,d);let e=this.colFields.getByIndex(s).stimulsoft().as(Ae.at.StiCrossField);h+=m;let r=1;if(Ae.aq.StiCrossTabBuilder.isCollapsed2(e.stimulsoft().as(Ae.at.StiCrossHeader),s,c.value.toString())){let t=c;while(1){if(0==t.cols.count)break;r++,t=t.cols.getByIndex(0)}}let i=new Tr(n,a,m,r);c.isTotal&&(i.height=this.colsHeaderHeight+this.heightCorrection-i.y-(this.isSummarySubHeadersPresent&&this.summaryDirection==Ae.aY.StiSummaryDirection.LeftToRight?1:0),e=e.total);var p=e.textFormat.format(c.displayValue);this.invokeEvents2(e,p);var g=null!=e&&e.is(Ae.at.StiCrossColumn)&&!e.textFormat.is(Wo);if(e.mergeHeaders||this.report.isDesigning)this.setCell(i.x,i.y,i.width,i.height,p,p,e,g,c.hyperlinkValue,c.toolTipValue,c.tagValue,c.drillDownParameters,s,u.ref,d.ref,c.isTotal?Ae.aY.StiCellType.HeaderColTotal:Ae.aY.StiCellType.HeaderCol);else for(let t=0;t<i.width;t++)this.setCell(i.x+t,i.y,1,i.height,p,p,e,g,c.hyperlinkValue,c.toolTipValue,c.tagValue,c.drillDownParameters,s,u.ref,d.ref,c.isTotal?Ae.aY.StiCellType.HeaderColTotal:Ae.aY.StiCellType.HeaderCol);n+=i.width}return Math.max(h,this.oneCellWidth)}convertToDecimal(t){try{if("string"==typeof t&&("-"==t||""==t))return 0;return t.stimulsoft().toNumber()}catch(t){return 0}}isAllowConvertToDecimal(t){if(null==t||No.stimulsoft().equals(t))return!1;if("number"==typeof t)return!0;return!1}getSummary2(t,e,r,i=!1){var n=this.sumFields.getByIndex(e),i=this.getSummaryResult(t,e,r,i);return this.isHideZeros(i)&&n.hideZeros?this.crossTab.emptyValue:i}getSummaryResult(a,r,t,e=!1){let n=this.sumFields.getByIndex(r).stimulsoft().as(Ae.at.StiCrossSummary),i=n.summary;var s=n.summaryValues,o,l,u,h,c;!t||i!=Ae.aY.StiSummaryType.Count&&i!=Ae.aY.StiSummaryType.CountDistinct||(i=Ae.aY.StiSummaryType.Sum),!e||i!=Ae.aY.StiSummaryType.Count&&i!=Ae.aY.StiSummaryType.CountDistinct||(i=Ae.aY.StiSummaryType.Sum);let d=0,m=!0;switch(i){case Ae.aY.StiSummaryType.None:case Ae.aY.StiSummaryType.Image:{let e=0;if(0!=r)for(let t=r-1;0<=t;t--)if(-1!=this.sumFields.getByIndex(t).indexOfSelectValue){if(e=this.sumFields.getByIndex(t).indexOfSelectValue,e<a.length)break;e=0}if(null==a||0==a.length)return"";return a[e]}case Ae.aY.StiSummaryType.Sum:for(var p of a){if(null==p||No.stimulsoft().equals(p))continue;m=!1,this.isAllowConvertToDecimal(d)&&(d+=this.convertToDecimal(p))}if(m)return this.crossTab.emptyValue;return d;case Ae.aY.StiSummaryType.Max:if(null!=a&&0<a.length&&this.isDateTime(a)){let t=!1,e=null,r=-1,i=0;for(var o of a){if(null==o||No.stimulsoft().equals(o))continue;m=!1,o instanceof z&&(o=o,t?e<o&&(e=o,r=i):(e=o,t=!0,r=0)),i++}if(n.indexOfSelectValue=r,m)return this.crossTab.emptyValue;return t?e:null}{let t=-1,e=0;for(var l of a){if(null==l||No.stimulsoft().equals(l))continue;m=!1,0==e?this.isAllowConvertToDecimal(l)&&(d=this.convertToDecimal(l),t=e):this.isAllowConvertToDecimal(l)&&(l=this.convertToDecimal(l),d<l&&(d=l,t=e)),e++}if(n.indexOfSelectValue=t,m)return this.crossTab.emptyValue;return d}case Ae.aY.StiSummaryType.Min:if(null!=a&&0<a.length&&this.isDateTime(a)){let t=!1,e=null,r=-1,i=0;for(var u of a){if(null==u||No.stimulsoft().equals(u))continue;m=!1,u instanceof z&&(u=u,t?e>u&&(e=u,r=i):(e=u,t=!0,r=0)),i++}if(n.indexOfSelectValue=r,m)return this.crossTab.emptyValue;return t?e:null}{let t=0,e=-1;for(var h of a){if(null==h||No.stimulsoft().equals(h))continue;m=!1,0==t?this.isAllowConvertToDecimal(h)&&(d=this.convertToDecimal(h),e=0):this.isAllowConvertToDecimal(h)&&(h=this.convertToDecimal(h),d>h&&(d=h,e=t)),t++}if(n.indexOfSelectValue=e,m)return this.crossTab.emptyValue;return d}case Ae.aY.StiSummaryType.Count:{if(null==a||0==a.length)return 0;let e=0;for(var g of a){m=!1;let t=0;this.isAllowConvertToDecimal(g)&&(t=this.convertToDecimal(g)),s==Ae.aY.StiSummaryValues.AllValues&&e++,s==Ae.aY.StiSummaryValues.SkipNulls&&null!=g&&e++,s==Ae.aY.StiSummaryValues.SkipZerosAndNulls&&null!=g&&0!=t&&e++}if(m)return this.crossTab.emptyValue;return e}case Ae.aY.StiSummaryType.Average:if(null!=a&&0<a.length&&this.isDateTime(a)){let t=0,e=0;for(var c of a){if(null==c||No.stimulsoft().equals(c))continue;m=!1,c instanceof z&&(c=c,t+=c.ticks,e++)}if(0==e)return null;if(m)return this.crossTab.emptyValue;return new z(t/e)}{if(null==a||0==a.length)return 0;let e=0;for(var f of a){if(null==f||No.stimulsoft().equals(f))continue;m=!1;let t=0;this.isAllowConvertToDecimal(f)&&(t=this.convertToDecimal(f),d+=t),s==Ae.aY.StiSummaryValues.AllValues&&e++,s==Ae.aY.StiSummaryValues.SkipNulls&&null!=f&&e++,s==Ae.aY.StiSummaryValues.SkipZerosAndNulls&&null!=f&&0!=t&&e++}if(0==e)return 0;if(m)return this.crossTab.emptyValue;return Ne.round2(d/e,4)}case Ae.aY.StiSummaryType.CountDistinct:{if(null==a||0==a.length)return 0;let r=new Dt,i=0,n=!1;for(var S of a){m=!1;let t=0,e=!1;if(this.isAllowConvertToDecimal(S)&&(t=this.convertToDecimal(S),e=!0),null==S)s==Ae.aY.StiSummaryValues.AllValues&&(n||(n=!0,i++));else if(null==r.get(S)){if(0==t&&e&&s==Ae.aY.StiSummaryValues.SkipZerosAndNulls)continue;r.set(S,S),i++}}if(m)return this.crossTab.emptyValue;return i}}return d}copySummaries(l,u,t){var a=this.getRowsArray(),h,e;let s=this.getColsArray(),c=ke.create(Array,this.colsHeaderHeight*this.oneCellSize);for(let t=0;t<c.length;t++)c[t]=[];let d=0,m=0;for(h of a){for(let t=0;t<c.length;t++)c[t].stimulsoft().clear();m=0;for(var p of s){if(p.isTotal)for(let o=0;o<this.oneCellSize;o++){let t=c[p.level*this.oneCellSize+o];var g=this.getSummary2(t,o,!0);t.stimulsoft().clear();let e=0,i=0;i=this.summaryDirection==Ae.aY.StiSummaryDirection.UpToDown?(e=l+m,u+d*this.oneCellSize+o):(e=l+m*this.oneCellSize+o,u+d);let r=this.summaryContainer.getSummary(p,h,!0);r.sums[o].push(g),this.invokeEvents(this.sumFields.getByIndex(o));let n=this.setCellValue(e,i,g,o,p.level,Ae.aY.StiFieldType.Column,this.sumFields.getByIndex(o).hyperlinkValue,this.sumFields.getByIndex(o).toolTipValue,this.sumFields.getByIndex(o).tagValue,this.sumFields.getByIndex(o).drillDownParameters);n.summaryIndex=o,n.isCrossSummary=!0,this.sumFields.getByIndex(o).summary!=Ae.aY.StiSummaryType.Image&&this.sumFields.getByIndex(o).summary!=Ae.aY.StiSummaryType.None||(n.value=null,n.text="");let a=0;n.isNumeric&&null!=n.value&&(a=n.value.stimulsoft().toNumber());let s=!1;for(let r=e-1;0<=r;r--){let t=this.cells[r][i];if(null!=t.field&&!t.field.is(Ae.at.StiCrossSummary))break;let e=0;t.isNumeric&&(e=t.value.stimulsoft().toNumber()),e=0!=a?Ne.round2(e/a*100,2):0,t.isNumeric&&null!=t.field&&t.field.is(Ae.at.StiCrossSummary)&&t.field.showPercents&&(t.value=e,t.text=De.format("{0}%",e),s=!0)}s&&null!=n.field&&n.field.is(Ae.at.StiCrossTotal)&&(n.text="100%"),this.sumFields.getByIndex(o).useStyleOfSummaryInColumnTotal&&this.setCellField(e,i,this.sumFields.getByIndex(o).clone().stimulsoft().as(Ae.at.StiCrossField))}else{var r=this.summaryContainer.getSummary(p,h,!1),i=this.copySummary(r,l,u,m,d,!0,!1,t);for(let r=0;r<this.colsHeaderHeight;r++)for(let e=0;e<this.oneCellSize;e++){let t=c[r*this.oneCellSize+e];t.push(i[e])}}m++}d++}c=ke.create(Array,this.rowsHeaderWidth*this.oneCellSize);for(let t=0;t<c.length;t++)c[t]=[];m=0;for(e of s){for(let t=0;t<this.rowsHeaderWidth*this.oneCellSize;t++)c[t].stimulsoft().clear();d=0;for(var o of a){if(o.isTotal)for(let n=0;n<this.oneCellSize;n++){let t=c[o.level*this.oneCellSize+n];var f=m==s.length-1&&d==a.length-1,f=this.getSummary2(t,n,!0,f);t.stimulsoft().clear();let e=0,r=0;r=this.summaryDirection==Ae.aY.StiSummaryDirection.UpToDown?(e=l+m,u+d*this.oneCellSize+n):(e=l+m*this.oneCellSize+n,u+d),this.invokeEvents(this.sumFields.getByIndex(n));let i=this.setCellValue(e,r,f,n,o.level,Ae.aY.StiFieldType.Row,this.sumFields.getByIndex(n).hyperlinkValue,this.sumFields.getByIndex(n).toolTipValue,this.sumFields.getByIndex(n).tagValue,this.sumFields.getByIndex(n).drillDownParameters);i.summaryIndex=n,this.sumFields.getByIndex(n).summary!=Ae.aY.StiSummaryType.Image&&this.sumFields.getByIndex(n).summary!=Ae.aY.StiSummaryType.None||(i.value=null,i.text=""),this.sumFields.getByIndex(n).useStyleOfSummaryInRowTotal&&this.setCellField(e,r,this.sumFields.getByIndex(n).clone().stimulsoft().as(Ae.at.StiCrossField))}else{var n=this.summaryContainer.getSummary(e,o,!1),S=this.copySummary(n,l,u,m,d,!1,s.indexOf(e)==s.length-1,t);for(let r=0;r<this.rowsHeaderWidth;r++)for(let e=0;e<this.oneCellSize;e++){let t=c[r*this.oneCellSize+e];t.push(S[e])}}d++}m++}}copySummary(a,s,o,l,u,h,c,d){let m=ke.create(Object,this.oneCellSize);for(let n=0;n<this.oneCellSize;n++){let t=d;null!=a&&(t=this.getSummary(a,n,c),m[n]=t);let e=0,r=0;r=this.summaryDirection==Ae.aY.StiSummaryDirection.UpToDown?(e=s+l,o+u*this.oneCellSize+n):(e=s+l*this.oneCellSize+n,o+u);var p=null!=a?a.hyperlinkValues[n]:null,g=null!=a?a.toolTipValues[n]:null,f=null!=a?a.tagValues[n]:null,S=null!=a&&null!=a.drillDownParameters?a.drillDownParameters[n]:null;if(!h||e>=this.widths.length||r>=this.heights.length)continue;let i=this.setCellValue(e,r,t,n,0,Ae.aY.StiFieldType.Cell,p,g,f,S);i.summaryIndex=n}return m}getSummary(t,e,r){var i=this.sumFields.getByIndex(e),n;let a=[];for(n of t.sums[e])a.push(n);var r=this.getSummaryResult(a,e,r);return this.isHideZeros(r)&&i.hideZeros?this.crossTab.emptyValue:r}isHideZeros(t){return null!=t&&Wr.isNumericType(Wr.getType(t))&&0==zi.tryToNumber(t)}isDateTime(t){for(var e of t)if(null!=e&&e instanceof z)return!0;return!1}static convertValueToString(t,e){if(null==t)return"";if("number"==typeof t&&0==t&&e.hideZeros)return"";if("number"==typeof t)return e.textFormat.format(t);if(t instanceof z)return e.textFormat.format(t);return t.toString()}setCellValue(t,e,r,i,n,a,s,o,l,u){switch(a){case Ae.aY.StiFieldType.Column:var h=this.getColumnTotalCell(n,i),c=p.convertValueToString(r,h),c=this.setCell(t,e,1,1,c,r,h,null!=r&&"number"==typeof r,s,o,l,u);return p.checkNegativeColor(r,h,c),c;case Ae.aY.StiFieldType.Row:var d=this.getRowTotalCell(n,i),m=p.convertValueToString(r,d),m=this.setCell(t,e,1,1,m,r,d,null!=r&&"number"==typeof r,s,o,l,u);return p.checkNegativeColor(r,d,m),m;case Ae.aY.StiFieldType.Cell:var d=this.sumFields.getByIndex(i),m=p.convertValueToString(r,d),m=this.setCell(t,e,1,1,m,r,d,null!=r&&"number"==typeof r,s,o,l,u);return p.checkNegativeColor(r,d,m),m}return null}static checkNegativeColor(t,e,r){var t;Ae.bc.StiNegativeColorChecker.isNegativeInRed(e.textFormat)&&(t=zi.tryToNullableNumber(t),r.isNegativeColor=null!=t&&t<0)}getColumnTotalCell(e,r){var e,e,i,i;let n=this.columnsCell.get(e*this.oneCellSize+r);if(null==n){let t=this.colFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossHeader);n=t.total.clone(!0).stimulsoft().as(Ae.at.StiCrossField),this.columnsCell.set(e*this.oneCellSize+r,n),!De.isNullOrEmpty(null===(e=this.crossTab)||void 0===e?void 0:e.crossTabStyle)&&null!=(null===(e=this.report)||void 0===e?void 0:e.styles.getByName(this.crossTab.crossTabStyle))&&null!==(i=this.report)&&void 0!==i&&i.styles.getByName(this.crossTab.crossTabStyle).is(lu)&&null!=n.componentStyle&&(i=this.report.styles.getByName(this.crossTab.crossTabStyle).as(lu),n.textBrush=new si(i.totalCellColumnForeColor),n.brush=new si(i.totalCellColumnBackColor)),n.horAlignment=this.sumFields.getByIndex(r).horAlignment,n.vertAlignment=this.sumFields.getByIndex(r).vertAlignment,n.textFormat=this.sumFields.getByIndex(r).textFormat.clone().stimulsoft().as(jo)}return n}getRowTotalCell(t,e){var t,t,r,r;let i=this.rowsCell.get(t*this.oneCellSize+e);return null==i&&(i=this.rowFields.getByIndex(t).total.clone(!0).stimulsoft().as(Ae.at.StiCrossField),this.rowsCell.set(t*this.oneCellSize+e,i),!De.isNullOrEmpty(null===(t=this.crossTab)||void 0===t?void 0:t.crossTabStyle)&&null!=(null===(t=this.report)||void 0===t?void 0:t.styles.getByName(this.crossTab.crossTabStyle))&&null!==(r=this.report)&&void 0!==r&&r.styles.getByName(this.crossTab.crossTabStyle).is(lu)&&null!=i.componentStyle&&(r=this.report.styles.getByName(this.crossTab.crossTabStyle).as(lu),i.textBrush=new si(r.totalCellRowForeColor),i.brush=new si(r.totalCellRowBackColor)),i.horAlignment=this.sumFields.getByIndex(e).horAlignment,i.vertAlignment=this.sumFields.getByIndex(e).vertAlignment,i.textFormat=this.sumFields.getByIndex(e).textFormat.clone().stimulsoft().as(jo)),i}getRowsArray(){var t=[];return this.getRowsArray2(this.rows,t),t}getRowsArray2(t,e){for(var r of t.list)0==r.rows.count&&e.push(r),this.getRowsArray2(r.rows,e)}getColsArray(){var t=[];return this.getColsArray2(this.cols,t),t}getColsArray2(t,e){for(var r of t.list)0==r.cols.count&&e.push(r),this.getColsArray2(r.cols,e)}getRowsHeaderWidth(){if(this.isRowsEmpty)return 0;return this.getRowsHeaderWidth2(this.rows)}getRowsHeaderWidth2(t){let e=0;while(0<t.count)e++,t=t.getByIndex(0).rows;return e}getColsHeaderHeight(){if(this.isColsEmpty)return 0;return this.getColsHeaderHeight2(this.cols)}getColsHeaderHeight2(t){let e=0;while(0<t.count)e++,t=t.getByIndex(0).cols;return e}getRowsHeight(t=this.rows,e=this.getRowsHeaderWidth(),r=0){let i=0;for(var n of t.list)i+=this.getRowsHeight(n.rows,e,r+1),r==e-1&&(i+=this.oneCellHeight);return i}getColsWidth(t=this.cols,e=this.getColsHeaderHeight(),r=0){let i=0;for(var n of t.list)i+=this.getColsWidth(n.cols,e,r+1),r==e-1&&(i+=this.oneCellWidth);return i}enumerateRows(t,e){var r=this.rowFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossRow),i=r.enumeratorSeparator,n;let a=0;for(n of t.list)if(null!=n.rows&&0<n.rows.count&&this.enumerateRows(n.rows,e+1),r.enumeratorType!=Ae.aY.StiEnumeratorType.None){a++;let t=null;t=r.enumeratorType==Ae.aY.StiEnumeratorType.Arabic?a.toString():r.enumeratorType==Ae.aY.StiEnumeratorType.ABC?Ae.av.Convert.toABC(a):Ae.av.Convert.toRoman(a),n.displayValue=De.format("{0}{1}{2}",t,i,n.displayValue)}}enumerateColumns(t,e){var r=this.colFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossColumn),i=r.enumeratorSeparator,n;let a=0;for(n of t.list)if(null!=n.cols&&0<n.cols.count&&this.enumerateColumns(n.cols,e+1),r.enumeratorType!=Ae.aY.StiEnumeratorType.None){a++;let t=null;t=r.enumeratorType==Ae.aY.StiEnumeratorType.Arabic?a.toString():r.enumeratorType==Ae.aY.StiEnumeratorType.ABC?Ae.av.Convert.toABC(a):Ae.av.Convert.toRoman(a),n.displayValue=De.format("{0}{1}{2}",t,i,n.displayValue)}}checkSeparators(){let t=0,a=new Dt,r=new Dt,n=!1;for(let e=0;e<this.colCount;e++){let i=1;for(let t=0;t<this.rowCount;t++){let r=this.cells[e][t];if(r.parentCell==r&&r.text.stimulsoft().contains("#|#")&&1==r.width){let e=1;for(let t=0;t<r.text.length;t++)t<r.text.length-3&&"#"==r.text[t]&&"|"==r.text[t+1]&&"#"==r.text[t+2]&&(a.set(r,r),n=!0,e++);i=Math.max(i,e)}}r.set(e,i),t+=i}if(t>this.colCount||n){var i=this.colCount,s=this.cells;this.init(t,this.rowCount);let n=0;for(let e=0;e<i;e++){var o=Ne.trunc(r.get(e));let t=1;for(let i=0;i<this.rowCount;i++){let r=s[e][i];if(null!=a.get(r)&&r.parentCell==r){var l=r.text.split("#|#");t=Math.max(t,l.length+1),r.text=l[0],this.cells[n][i]=r;for(let e=1;e<l.length;e++){let t=r.clone().stimulsoft().as(Ae.aY.StiCell);this.cells[n+e][i]=t,t.text=l[e]}}else r.parentCell.width+=o-1,this.cells[n][i]=r}n+=o}}}create(t,a,r,i){this.summaryDirection=r,this.report=a,this.oneCellSize=this.sumFields.count,this.oneCellWidth=this.summaryDirection==Ae.aY.StiSummaryDirection.LeftToRight?this.oneCellSize:1,this.oneCellHeight=this.summaryDirection==Ae.aY.StiSummaryDirection.UpToDown?this.oneCellSize:1,this.summaryContainer=new Ae.aY.StiSummaryContainer(this.oneCellSize),this.rows.clear(),this.cols.clear(),this.calculateDataTable(t),this.calculateTopN(),this.sortRows(),this.sortCols(),0<this.rows.count&&this.enumerateRows(this.rows,0),0<this.cols.count&&this.enumerateColumns(this.cols,0),this.createRowTotals(),this.createColTotals(),this.colsHeaderHeight=this.getColsHeaderHeight(),this.rowsHeaderWidth=this.getRowsHeaderWidth(),this.isSummarySubHeadersPresent&&(r==Ae.aY.StiSummaryDirection.LeftToRight?this.colsHeaderHeight++:this.rowsHeaderWidth++),this.colsWidth=this.getColsWidth(),this.rowsHeight=this.getRowsHeight();let e=this.colsWidth+this.rowsHeaderWidth,n=this.rowsHeight+this.colsHeaderHeight;if(this.isRowsEmpty&&(n+=this.oneCellHeight),this.isColsEmpty&&(e+=this.oneCellWidth),this.widthCorrection=0,this.heightCorrection=0,this.isColsEmpty&&this.isSummaryPresent&&(this.heightCorrection=1),this.isRowsEmpty&&this.isSummaryPresent&&(this.widthCorrection=1),this.isRowsEmpty&&!this.isColsEmpty&&this.isSummariesEmpty&&(this.widthCorrection=1),this.isTopLinePresent&&this.heightCorrection++,super.init(e+this.widthCorrection,n+this.heightCorrection),this.isRowsEmpty&&this.isColsEmpty)return;let s=0;for(var o of this.colFields.toCast()){let t=null;for(var l of this.colTitleFields.toCast())if(l.typeOfComponent=="Col:"+o.name){t=l;break}var u,h;null!=t&&t.isEnabled&&(u=1,h=Math.max(this.rowsHeaderWidth,1),this.invokeEvents(t),this.setCell(0,s++,h,u,null==t.textValue?t.getTextInternal():t.textValue,i,t,!1,t.hyperlinkValue,t.toolTipValue,t.tagValue,t.drillDownParameters,-1,null,null,Ae.aY.StiCellType.CornerCol))}var c=this.isRowTitlePresent,d,t,m;s=0;for(d of this.rowFields.toCast()){let e=null;for(var p of this.rowTitleFields.toCast())if(p.typeOfComponent=="Row:"+d.name){e=p;break}if(null!=e&&c){var g=1;let t=Math.max(this.colsHeaderHeight,1);var f=this.isTopLinePresent?1:0;this.invokeEvents(e),r==Ae.aY.StiSummaryDirection.LeftToRight&&this.isColsEmpty&&1<this.sumFields.count&&t++,this.setCell(s++,f,g,t,null==e.textValue?e.getTextInternal():e.textValue,i,e,!1,e.hyperlinkValue,e.toolTipValue,e.tagValue,e.drillDownParameters,-1,null,null,Ae.aY.StiCellType.CornerRow)}}if(this.isSummarySubHeadersPresent)if(r==Ae.aY.StiSummaryDirection.LeftToRight){var S=this.colsHeaderHeight+this.heightCorrection-1;s=this.rowsHeaderWidth+this.widthCorrection;let e=0;var b=0==this.colsWidth?this.sumFields.count:this.colsWidth,y;for(let t=0;t<b;t++){let t=this.sumHeaderFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossSummaryHeader);this.designTime||(null!=t.text&&(null==t.originalValue?t.originalValue=t.text:t.text=t.originalValue),y=new Oo,t.invokeGetValue(t,y),t.setTextInternal(y.value)),this.invokeEvents(t),this.setCell(s,S,1,1,null==t.textValue?t.getTextInternal():t.textValue,i,t,!1,t.hyperlinkValue,t.toolTipValue,t.tagValue,t.drillDownParameters,-1,null,null,Ae.aY.StiCellType.HeaderColSummaryTotal),s++,e++,e==this.sumHeaderFields.count&&(e=0)}}else{var v=this.rowsHeaderWidth+this.widthCorrection-1,w;s=this.colsHeaderHeight+this.heightCorrection;let e=0,r=0;r=0==this.rowsHeight?this.sumHeaderFields.count:this.rowsHeight;for(let t=0;t<r;t++){let t=this.sumHeaderFields.getByIndex(e).stimulsoft().as(Ae.at.StiCrossSummaryHeader);this.designTime||(null!=t.text&&(null==t.originalValue?t.originalValue=t.text:t.text=t.originalValue),w=new Oo,t.invokeGetValue(t,w),t.setTextInternal(w.value)),this.invokeEvents(t),this.setCell(v,s,1,1,null==t.textValue?t.getTextInternal():t.textValue,i,t,!1,t.hyperlinkValue,t.toolTipValue,t.tagValue,t.drillDownParameters,-1,null,null,Ae.aY.StiCellType.HeaderRowSummaryTotal),s++,e++,e==this.sumHeaderFields.count&&(e=0)}}this.isTopLinePresent&&(this.isLeftTopLinePresent&&(this.invokeEvents(this.leftCrossTitle),this.setCell(0,0,this.rowsHeaderWidth,1,null==this.leftCrossTitle.textValue?this.leftCrossTitle.getTextInternal():this.leftCrossTitle.textValue,i,this.leftCrossTitle,!1,this.leftCrossTitle.hyperlinkValue,this.leftCrossTitle.toolTipValue,this.leftCrossTitle.tagValue,this.leftCrossTitle.drillDownParameters,-1,null,null,Ae.aY.StiCellType.LeftTopLine)),this.isRightTopLinePresent&&0<e-this.rowsHeaderWidth&&(this.invokeEvents(this.rightCrossTitle),this.setCell(this.rowsHeaderWidth,0,e-this.rowsHeaderWidth,1,null==this.rightCrossTitle.textValue?this.rightCrossTitle.getTextInternal():this.rightCrossTitle.textValue,i,this.rightCrossTitle,!1,this.rightCrossTitle.hyperlinkValue,this.rightCrossTitle.toolTipValue,this.rightCrossTitle.tagValue,this.rightCrossTitle.drillDownParameters,-1,null,null,Ae.aY.StiCellType.RightTopLine))),null!=this.summaryCrossTitle&&(this.isColsEmpty&&(this.invokeEvents(this.summaryCrossTitle),this.setCell(this.rowsHeaderWidth,0,this.oneCellWidth,1,null==this.summaryCrossTitle.textValue?this.summaryCrossTitle.getTextInternal():this.summaryCrossTitle.textValue,i,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters,-1,null,null,Ae.aY.StiCellType.HeaderCol)),this.isRowsEmpty&&(this.invokeEvents(this.summaryCrossTitle),t=r==Ae.aY.StiSummaryDirection.LeftToRight?this.colsHeaderHeight-1:this.colsHeaderHeight,m=r==Ae.aY.StiSummaryDirection.LeftToRight?this.oneCellHeight+1:this.oneCellHeight,this.setCell(0,t,1,m,null==this.summaryCrossTitle.textValue?this.summaryCrossTitle.getTextInternal():this.summaryCrossTitle.textValue,i,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters,-1,null,null,Ae.aY.StiCellType.HeaderRow)));var m={ref:""};this.isRowsEmpty||this.copyRows(this.rows,0,this.colsHeaderHeight+this.heightCorrection,0,i,this.colsWidth,m),this.isColsEmpty||this.copyCols(this.cols,this.rowsHeaderWidth+this.widthCorrection,this.heightCorrection,0,i,this.rowsHeight,m),this.copySummaries(this.rowsHeaderWidth+this.widthCorrection,this.colsHeaderHeight+this.heightCorrection,i),this.designTime||this.checkSeparators(),this.report.cells.clear();for(let r=0;r<this.colCount;r++)for(let e=0;e<this.rowCount;e++){let t=this.cells[r][e];t.isNumeric&&null!=t.value&&"number"==typeof t.value?this.report.cells.setCell(r,e,t.value.stimulsoft().toNumber()):this.report.cells.setCell(r,e,0)}for(let n=0;n<this.colCount;n++)for(let i=0;i<this.rowCount;i++){let r=this.cells[n][i];if(r.parentCell==r){r.field.is(Ae.at.StiCrossSummary)&&r.field.summary==Ae.aY.StiSummaryType.Image&&(r.isImage=!0);let t=new Ae.at.StiProcessCellEventArgs;t.row=i,t.column=n,t.cell=r;let e=0;if(null!=r.value&&"number"==typeof r.value&&(e=r.value.stimulsoft().toNumber()),t.text=r.text,t.value=e,a.cells.distX=n,a.cells.distY=i,r.field.is(Ae.at.StiCrossTotal)&&(r.field=r.field),null!=r.field&&r.field.invokeProcessCell(t),t.value!=e?(this.report.cells.setCell(n,i,t.value),r.value=t.value,r.text=r.field.textFormat.format(t.value)):r.text=t.text,r.isNumeric&&null!=r.field){if(r.field.hideZeros&&null!=r.value&&"number"==typeof r.value&&0==r.value.stimulsoft().toNumber())continue;null!=r.value&&(r.field.excelDataValue=r.value.toString())}}}if(this.isRowsEmpty&&!this.isColsEmpty&&this.isSummariesEmpty){this.heights.splice(this.heights.length-1,1);for(let t=0;t<this.cells.length;t++)this.cells[t].splice(this.cells[t].length-1,1)}}clear(){let t=!1;var e;return null!=this.cells&&1<this.cells.length&&null!=this.cells[0]&&5e4<this.cells.length*this.cells[0].length&&(t=!0),this.cells=null,t}getCorrectedColumnsHeaderHeight(){return this.colsHeaderHeight+this.heightCorrection}get isSummaryPresent(){if(this.report.isDesigning)return!0;return null!=this.summaryCrossTitle&&this.summaryCrossTitle.isEnabled}get isRowTitlePresent(){if(this.report.isDesigning)return!0;for(var t of this.rowFields.toCast())if(!t.isEnabled)return!1;return!0}get isTopLinePresent(){if(this.isColsEmpty)return!1;if(null==this.leftCrossTitle&&null==this.rightCrossTitle)return!1;if(this.report.isDesigning)return!0;if(this.leftCrossTitle.isEnabled&&this.rightCrossTitle.isEnabled)return!0;return!1}get isTopCrossTitleVisible(){return!this.isRowsEmpty&&this.isCrossTitleEnabled}get isLeftCrossTitleVisible(){return!this.isTopCrossTitleVisible&&this.isCrossTitleEnabled}get isCrossTitleEnabled(){return null!=this.leftCrossTitle&&this.leftCrossTitle.enabled&&null!=this.rightCrossTitle&&this.rightCrossTitle.enabled||null!=this.summaryCrossTitle&&this.summaryCrossTitle.enabled}get isCrossTitlePrintOnAllPages(){return null!=this.leftCrossTitle&&this.leftCrossTitle.printOnAllPages&&null!=this.rightCrossTitle&&this.rightCrossTitle.printOnAllPages||null!=this.summaryCrossTitle&&this.summaryCrossTitle.printOnAllPages}get isShowSummarySubHeaders(){if(this.designTime)return!0;for(var t of this.sumHeaderFields.toCast())if(t.enabled)return!0;return!1}get isSummarySubHeadersPresent(){return 1<this.sumFields.count&&this.isShowSummarySubHeaders&&1<this.sumHeaderFields.count}get isLeftTopLinePresent(){if(!this.isTopLinePresent)return!1;if(null==this.leftCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.leftCrossTitle.isEnabled}get isRightTopLinePresent(){if(!this.isTopLinePresent)return!1;if(null==this.rightCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.rightCrossTitle.isEnabled}get isRowsEmpty(){return 1==this.rowFields.count&&this.rowFields.getByIndex(0).name==this.emptyField}get isColsEmpty(){return 1==this.colFields.count&&this.colFields.getByIndex(0).name==this.emptyField}get isSummariesEmpty(){return 1==this.sumFields.count&&this.sumFields.getByIndex(0).name==this.emptyField}get rowFields(){return this._rowFields}set rowFields(e){if(null==e||0==e.count){null==e?e=new Eu:e.clear();let t=new Ae.at.StiCrossRow;t.name=this.emptyField,e.add(t)}this._rowFields=e}get colFields(){return this._colFields}set colFields(e){if(null==e||0==e.count){null==e?e=new Eu:e.clear();let t=new Ae.at.StiCrossColumn;t.name=this.emptyField,e.add(t)}this._colFields=e}get sumFields(){return this._sumFields}set sumFields(e){if(null==e||0==e.count){null==e?e=new Eu:e.clear();let t=new Ae.at.StiCrossSummary;t.name=this.emptyField,e.add(t)}this._sumFields=e}get sumHeaderFields(){return this._sumHeaderFields}set sumHeaderFields(e){if(null==e||0==e.count){null==e?e=new Eu:e.clear();let t=new Ae.at.StiCrossSummaryHeader;t.name=this.emptyField,e.add(t)}this._sumHeaderFields=e}};p.emptyField="EMPTY_FIELD",Ae.aY.StiCross=p}{let e=class{constructor(){this.size=ls.empty,this.isChangeWidthForRightToLeft=!1,this.isNumeric=!1,this.isNegativeColor=!1,this.isImage=!1,this.field=null,this.text="",this.hyperlinkValue=null,this.toolTipValue=null,this.tagValue=null,this.width=1,this.height=1,this.summaryIndex=-1,this.level=-1,this.cellType=Ae.aY.StiCellType.Cell,this.drillDownParameters=null}clone(){let t=this.stimulsoft().memberwiseClone().stimulsoft().as(e);return t.parentCell=t,t}};Ae.aY.StiCell=e}let Hg=Ae.aY.StiCross,_g=Ae.aY.StiCell;var B=class{static getCellRect(e,r,i){let n=0,a=0;var s=e.crossTabInfo.cross.cells[r][i];for(let t=r;t<r+s.width;t++)n+=e.crossTabInfo.cross.widths[t];for(let t=i;t<i+s.height;t++)a+=e.crossTabInfo.cross.heights[t];return new os(e.crossTabInfo.cross.coordX[r],e.crossTabInfo.cross.coordY[i],n,a)}static getCellsRect(e,r,i,n,a){let s=0,o=0;for(let t=r;t<n;t++)s+=e.crossTabInfo.cross.widths[t];for(let t=i;t<a;t++)o+=e.crossTabInfo.cross.heights[t];return new ls(s,o)}static renderCells(u,h,t,e,c,d,r){u.crossTabInfo.hidedCells.clear();var m=r.left-u.crossTabInfo.cross.coordX[t],p=r.top-u.crossTabInfo.cross.coordY[e];for(let l=e;l<d;l++)for(let o=t;o<c;o++){let s=u.crossTabInfo.cross.cells[o][l];if(null==u.crossTabInfo.hidedCells.get(s)){let r=null;if(s.isImage){let t=null;null!=s.field?(t=new yd,t.border=s.field.border.clone().stimulsoft().as(Zr)):(t=new yd,t.border.side=Xr.All),null!=s.value&&(t.image=Rc.getImageFromObject(s.value)),s.field.is(Ae.at.StiCrossSummary)&&(t.stretch=s.field.stretch,t.aspectRatio=s.field.aspectRatio,t.horAlignment=s.field.imageHorAlignment,t.vertAlignment=s.field.imageVertAlignment),r=t}else{let e=null;if(null!=s.field){e=1<s.width||1<s.height||!s.isNumeric||s.field.is(Ae.at.StiCrossHeader)?s.field.clone(!0):s.field;let t=e.as(Ae.at.StiCrossHeader);null!=t&&(t.headerLevel=s.level,t.headerValue=null!=s.value?s.value.toString():null),e.border=s.field.border.clone().stimulsoft().as(Zr),e.maxSize=new ls(0,0),e.minSize=new ls(0,0),e.guid=Ts.newGuid(),1<s.height&&(e.canBreak=!0)}else s.width<=1&&s.height<=1||(e=new $o,e.border.side=Xr.All);s.isNegativeColor&&(e.textBrush=new si(Hd.Engine.negativeColor)),null!=e&&(e.setTextInternal(s.text),r=e)}null!=r&&(r.hyperlinkValue=s.hyperlinkValue,r.toolTipValue=s.toolTipValue,r.tagValue=s.tagValue,r.drillDownParameters=s.drillDownParameters,s.field.is(Ae.at.StiCrossColumn)||s.field.is(Ae.at.StiCrossHeader)?Hd.Export.optimizeDataOnlyMode?r.componentPlacement="d":r.componentPlacement="h":s.field.is(Ae.at.StiCrossTitle)?r.componentPlacement="h":r.componentPlacement="d",0<r.componentPlacement.length&&null!=s.field&&null!=s.field.parent&&(r.componentPlacement+="."+s.field.parent.name),h.components.add(r));let i=o+s.width,n=l+s.height;i>c&&(i=c),n>d&&(n=d);for(let e=o;e<i;e++)for(let t=l;t<n;t++){var g=u.crossTabInfo.cross.cells[e][t];u.crossTabInfo.hidedCells.set(g,g)}let e=0,a=0;for(let t=o;t<i;t++)e+=u.crossTabInfo.cross.widths[t];for(let t=l;t<n;t++)a+=u.crossTabInfo.cross.heights[t];let t=new os(u.crossTabInfo.cross.coordX[o],u.crossTabInfo.cross.coordY[l],e,a);t.x+=m,t.y+=p,null!=r&&(r.clientRectangle=t.clone())}}}static createCrossForCrossTabDataSource(t){return pd.setData(t,!0,t.parent.stimulsoft().as(Jl)),this.buildCrossForCrossTabDataSource(t,!1)}static buildCrossForCrossTabDataSource(t,e){let i=new Eu(null),n=new Eu(null),a=new Eu(null),s=new Eu(null),o=new Eu(null),l=new Eu(null),u=new ze;for(var h of t.components.list)if(h.is(Ae.at.StiCrossCell)||h.is(Ae.at.StiCrossTitle)||h.is(Ae.at.StiCrossSummaryHeader)){let t=h.as(Ae.at.StiCrossRow),e=h.as(Ae.at.StiCrossColumn);var c=h.as(Ae.at.StiCrossSummary),d=h.as(Ae.at.StiCrossSummaryHeader);let r=h.as(Ae.at.StiCrossTitle);if(null!=r){r.typeOfComponent.stimulsoft().startsWith("Row:")&&o.add(r),r.typeOfComponent.stimulsoft().startsWith("Col:")&&l.add(r);continue}null!=t&&(n.add(t),t.isTotalVisible||(t.total.height=0)),null!=e&&(i.add(e),e.isTotalVisible||(e.total.width=0)),null!=c&&a.add(c),null!=d&&s.add(d);var d=new it(h.name,Object);u.columns.add(d),h.is(Ae.at.StiCrossHeader)&&(d=new it("Display__"+h.name,Object),u.columns.add(d))}if(!e){t.first();while(!t.isEof){let e=u.newRow();for(var r of t.components.list){if(r.is(Ae.at.StiCrossSummaryHeader))continue;let t=r.as(Ae.at.StiCrossCell);var m,m;null!=t?(m=new Ae.at.StiGetCrossValueEventArgs,t.invokeGetCrossValue(m),e.sett(t.name,m.value),t.is(Ae.at.StiCrossHeader)&&(m=new Ae.at.StiGetCrossValueEventArgs,t.invokeGetDisplayCrossValue(m),e.sett("Display__"+r.name,m.value))):r.is(Ae.at.StiCrossTitle)&&(m=new Oo,r.invokeGetValue(r,m),r.textValue=m.value)}u.rows.add(e),t.next()}}return u}static buildCross(t,e){let i=new Eu(null),n=new Eu(null),a=new Eu(null),s=new Eu(null),o=new Eu(null),l=new Eu(null),u=null,h=null,c=null,d=new ze;for(var m of t.components.list)if(m.is(Ae.at.StiCrossCell)||m.is(Ae.at.StiCrossTitle)||m.is(Ae.at.StiCrossSummaryHeader)){let t=m.as(Ae.at.StiCrossRow),e=m.as(Ae.at.StiCrossColumn);var p=m.as(Ae.at.StiCrossSummary),g=m.as(Ae.at.StiCrossSummaryHeader);let r=m.as(Ae.at.StiCrossTitle);if(null!=r){r.typeOfComponent.stimulsoft().startsWith("Row:")&&o.add(r),r.typeOfComponent.stimulsoft().startsWith("Col:")&&l.add(r),r.typeOfComponent.stimulsoft().startsWith("LeftTitle")&&(u=r),r.typeOfComponent.stimulsoft().startsWith("RightTitle")&&(h=r),r.typeOfComponent.stimulsoft().startsWith("SummaryTitle")&&(c=r);continue}null!=t&&(n.add(t),t.isTotalVisible||(t.total.height=0)),null!=e&&(i.add(e),e.isTotalVisible||(e.total.width=0)),null!=p&&a.add(p),null!=g&&s.add(g);var g=new it(m.name,Object);d.columns.add(g),m.is(Ae.at.StiCrossHeader)&&(g=new it("Display__"+m.name,Object),d.columns.add(g))}if(!e){t.first();while(!t.isEof){let i=d.newRow();for(var f of t.components.list){if(f.is(Ae.at.StiCrossSummaryHeader))continue;let r=f.as(Ae.at.StiCrossCell);if(null!=r){let t=new Ae.at.StiGetCrossValueEventArgs;r.invokeGetCrossValue(t);let e=t.value;"string"!=typeof e&&(e=zi.tryToNullableNumber(t.value),null==e&&(e=t.value)),i.sett(r.name,e),r.is(Ae.at.StiCrossHeader)&&(t=new Ae.at.StiGetCrossValueEventArgs,r.invokeGetDisplayCrossValue(t),i.sett("Display__"+f.name,t.value))}else{var S;f.is(Ae.at.StiCrossTitle)&&(S=new Oo,f.invokeGetValue(f,S),f.textValue=S.value)}}d.rows.add(i),t.next()}}t.crossTabInfo.cross=new Hg,t.crossTabInfo.cross.designTime=e,t.crossTabInfo.cross.colFields=i,t.crossTabInfo.cross.rowFields=n,t.crossTabInfo.cross.sumFields=a,t.crossTabInfo.cross.sumHeaderFields=s,t.crossTabInfo.cross.colTitleFields=l,t.crossTabInfo.cross.rowTitleFields=o,t.crossTabInfo.cross.leftCrossTitle=u,t.crossTabInfo.cross.rightCrossTitle=h,t.crossTabInfo.cross.summaryCrossTitle=c,(t.crossTabInfo.cross.crossTab=t).crossTabInfo.cross.create(d,t.report,t.summaryDirection,t.emptyValue),t.crossTabInfo.cross.crossTab=null}static getEndCol(e,r,i,t){var n=e.crossTabInfo.cross.colCount;if(e.horAlignment!=Ae.at.StiCrossHorAlignment.None&&e.horAlignment!=Ae.at.StiCrossHorAlignment.Left&&!e.wrap)return n;let a=r,s=0;for(let t=r;t<e.crossTabInfo.cross.colCount;t++){if(s+=e.crossTabInfo.cross.widths[t],s>i.width)break;a++}return(a==r||t)&&a+1<=n&&a++,a}static getEndRow(e,r,i,t){var n=e.crossTabInfo.cross.rowCount;let a=r,s=0;for(let t=r;t<e.crossTabInfo.cross.rowCount;t++){if(s+=e.crossTabInfo.cross.heights[t],s>i.height)break;a++}return(a==r||t)&&a+1<=n&&a++,a}static getPageSegmentsRequired(t){if(t.horAlignment==Ae.at.StiCrossHorAlignment.Width||t.wrap)return 1;var e=t.crossTabInfo.cross,t=t.page,r=t.pageWidth-t.margins.left-t.margins.right;let i=1,n=0;for(let t=0;t<e.colCount;t++)r<n+e.widths[t]&&(i++,n=0),n+=e.widths[t];return i}static checkMergedRowCells(t,e,r,i,n){var a=t.crossTabInfo.cross.cells;let s=0;for(let t=i;t<n;t++){var o=a[t][r-1],l=o.parentCell;null!=o.field&&1<o.height&&null!=l&&l.keepMergedCellsTogether&&(s=Math.max(s,l.height-o.height+1))}return Math.max(r-s,e+1)}static isColFieldsEmpty(t){return 1==t.crossTabInfo.cross.colFields.count&&t.crossTabInfo.cross.colFields.getByIndex(0).name==Hg.emptyField}static isRowFieldsEmpty(t){var e=t.crossTabInfo.cross;if(e.isRowsEmpty&&!e.isColsEmpty&&e.isSummariesEmpty)return!1;return 1==t.crossTabInfo.cross.rowFields.count&&t.crossTabInfo.cross.rowFields.getByIndex(0).name==Hg.emptyField}static createCross(t){pd.setData(t,!0,t.parent.stimulsoft().as(Jl)),this.buildCross(t,!1),t.crossTabInfo.cross.maxWidth=t.page.width,t.crossTabInfo.cross.maxHeight=t.page.height,t.rightToLeft&&this.makeRightToLeft(t),t.crossTabInfo.cross.doAutoSize()}static makeRightToLeft(t){let a=t.crossTabInfo.cross,s=ke.create(Array,a.colCount);for(let e=0;e<a.colCount;e++){s[e]=ke.create(_g,a.rowCount);for(let t=0;t<a.rowCount;t++){var r=a.cells[a.colCount-e-1][t];s[e][t]=r}}let o=new Dt;for(let n=0;n<a.colCount;n++)for(let i=0;i<a.rowCount;i++)if(i<2){let r=s[a.colCount-n-1][i];if(null!=r&&1<r.width&&!r.isChangeWidthForRightToLeft){let t=0;o.contains(r.text)?(t=Ne.trunc(o.get(r.text)),2==r.width&&o.remove(r.text)):(t=n,o.set(r.text,n));let e=s[a.colCount-t-r.width][i];r.isChangeWidthForRightToLeft=!0,e.isChangeWidthForRightToLeft=!0,s[a.colCount-t-r.width][i]=r,s[a.colCount-n-1][i]=e}}else{var e=s[n][i],l;null!=e&&1<e.width&&(l=s[n-e.width+1][i],s[n-e.width+1][i]=e,s[n][i]=l)}o.clear(),a.cells=s;let i=new Eu;for(let t=a.colFields.count-1;0<=t;t--)i.add(a.colFields.getByIndex(t))}static calculateMaxAndMin(e,t,r,i){let n=t.ref,a=r.ref;n=0,a=0;for(let t=i;t<e.components.count;t++){var s=e.components.getByIndex(t);a=t==i?(n=s.left,s.right):(n=Math.min(n,s.left),Math.max(a,s.right))}t.ref=n,r.ref=a}static makeHorAlignmentByWidth(n,e){var t=0,r=0,i={ref:t},a={ref:r};this.calculateMaxAndMin(n,i,a,e),t=i.ref,r=a.ref;let s=new Dt;for(let t=e;t<n.components.count;t++){var o=n.components.getByIndex(t);s.set(o.left,o.left),s.set(o.right,o.right)}var l=n.width/(r-t),r=ke.create(Number,s.count),u;s.keys.copyTo(r,0);for(u of r){var h=u-t,h=fs.alignToGrid(h*l,.01,!0);s.set(u,h)}for(let i=e;i<n.components.count;i++){let e=n.components.getByIndex(i),t=0;s.containsKey(e.left)&&(t=s.get(e.left));let r=0;if(s.containsKey(e.right)&&(r=s.get(e.right)),e.left=t,e.width=r-t,l<1){let t=e.stimulsoft().as($o);null!=t&&(t.font=Dg.changeFontSize(t.font,t.font.size*l))}}}static clearCross(t){null!=t&&null!=t.crossTabInfo&&null!=t.crossTabInfo.cross&&(t.crossTabInfo.cross=null)}};B.isCrossTabRendering=!1,Ae.at.StiCrossTabHelper=B,Ae.at.StiCrossTabInfo=class extends q{constructor(){super(...arguments),this.defaultWidth=60,this.defaultHeight=14,this.hidedCells=new Dt,this.cross=null,this.renderRect=os.empty,this.finishRender=!1}},Ae.at.StiCrossTabParams=class{constructor(){this.startRow=0,this.startColumn=0,this.renderingIsFinished=!1,this.allowRendering=!0,this.destinationRectangle=os.empty,this.shiftX=0,this.forceNoBreak=!1}};{let t=class extends Ae.at.StiCrossField{constructor(){super(),this.printOnAllPages=!0,this.typeOfComponent="",this.brush=new si(Fe.lightGray)}meta(){return this._hash||(this._hash=[...super.meta(),new gs("TextFormat"),new gs("HideZeros"),new gs("Conditions"),new Wi("PrintOnAllPages","",!0),new Ui("TypeOfComponent")])}get componentId(){return Ae.c.StiComponentId.StiCrossTitle}get localizedName(){return ne.get("Components","StiCrossTitle")}get cellText(){return this.getTextInternal()}createNew(){return new t}};Ae.at.StiCrossTitle=t}Ae.aY.StiColumn=class{constructor(t,e){this.hyperlinkValue=null,this.tagValue=null,this.toolTipValue=null,this.drillDownParameters=null,this.isTotal=!1,this.level=-1,this.value=t,this.displayValue=e,this.cols=new Ae.aY.StiColumnCollection}},Ae.aY.StiColumnCollection=class extends J{constructor(){super(...arguments),this.directionFactor=1,this.sortType=Ae.aY.StiSortType.ByDisplayValue,this.items=new Dt}compare(t,e){let r=t.stimulsoft().as(Ae.aY.StiColumn);var i=e.stimulsoft().as(Ae.aY.StiColumn),t=r.parentCollection.sortType,e=r.parentCollection.directionFactor;if(t==Ae.aY.StiSortType.ByDisplayValue){if(null!=r.displayValue){if(null!=i.othersText)return-1;if(null!=r.othersText)return 1;return r.displayValue.stimulsoft().compareTo(i.displayValue)*e}return 1}if(null!=r.value){if(null!=i.othersText)return-1;if(null!=r.othersText)return 1;return r.value.stimulsoft().compareTo(i.value)*e}return 1}add2(t,e){var e=new Ae.aY.StiColumn(t,e);this.add(e)}add(t){super.add(t),t.isTotal||this.items.add(t.value,t),t.parentCollection=this}sort(t,e){this.sortType=e,t==Ae.aY.StiSortDirection.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(this.compare)}clear(){this.list.stimulsoft().clear(),this.items.clear()}getByValue(t){for(var e of this.list)if(e.value==t)return e;return null}},Ae.aY.StiRow=class{constructor(t,e){this.hyperlinkValue=null,this.tagValue=null,this.toolTipValue=null,this.drillDownParameters=null,this.isTotal=!1,this.level=-1,this.value=t,this.displayValue=e,this.rows=new Ae.aY.StiRowCollection}},Ae.aY.StiRowCollection=class extends J{constructor(){super(...arguments),this.directionFactor=1,this.sortType=Ae.aY.StiSortType.ByDisplayValue,this.items=new Dt}compare(t,e){let r=t.stimulsoft().as(Ae.aY.StiRow);var i=e.stimulsoft().as(Ae.aY.StiRow),t=r.parentCollection.sortType,e=r.parentCollection.directionFactor;if(t==Ae.aY.StiSortType.ByDisplayValue){if(null!=r.displayValue&&r.displayValue!=No.value){if(i.displayValue==No.value)return-1;if(null!=i.othersText)return-1;if(null!=r.othersText)return 1;return r.displayValue.stimulsoft().compareTo(i.displayValue)*e}return 1}if(null!=r.value&&r.value!=No.value){if(i.value==No.value)return-1;if(null!=i.othersText)return-1;if(null!=r.othersText)return 1;return r.value.stimulsoft().compareTo(i.value)*e}return 1}add2(t,e){var e=new Ae.aY.StiRow(t,e);this.add(e)}add(t){super.add(t),t.parentCollection=this,t.isTotal||this.items.add(t.value,t)}clear(){this.list.stimulsoft().clear(),this.items.clear()}sort(t,e){this.sortType=e,t==Ae.aY.StiSortDirection.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(this.compare)}getByValue(t){for(var e of this.list)if(e.value==t)return e;return null}},Ae.aY.StiSummary=class{constructor(e){this.sums=null,this.hyperlinkValues=null,this.tagValues=null,this.toolTipValues=null,this.drillDownParameters=null,this.sums=ke.create(Array,e),this.hyperlinkValues=ke.create(Object,e),this.tagValues=ke.create(Object,e),this.toolTipValues=ke.create(Object,e);for(let t=0;t<e;t++)this.sums[t]=[]}},Ae.aY.StiSummaryContainer=class{constructor(t){this.level=0,this.dataCol=new Dt,this.level=t}getSummary(t,e,r=!0){let i=this.dataCol.get(t);if(null==i){if(!r)return null;this.dataCol.set(t,new Dt),i=this.dataCol.get(t)}let n=i.get(e);if(null==n){if(!r)return null;n=new Ae.aY.StiSummary(this.level),i.set(e,n)}return n}getDataCol(){return this.dataCol}};var L=Ae.an.StiEvent,Vg,Gg,Ug,jg,Wg,qg,zg,Xg,Jg,Yg,Qg,Kg,Zg,$g,tf,ef,rf,nf,af,sf,of,lf,uf,hf,cf,df,mf,pf,gf,ff,Sf,bf,yf,vf,wf,Cf,Tf,Pf,tt,Z,ft,V,H,M,W,F,k,l,e,B,D,v,b,x,P,p,m,u,wt,yt,pt,dt,ht,ot,rt,tt,Z,ft,V,H,M,W,F,k,l,e;Ae.at.StiGetCrossValueEvent=class extends L{toString(){return"GetCrossValue"}},Ae.at.StiGetCrossValueEventArgs=class extends Un{},Ae.at.StiGetDisplayCrossValueEvent=class extends L{toString(){return"GetDisplayCrossValue"}},Ae.at.StiProcessCellEvent=class extends L{toString(){return"ProcessCell"}},Ae.at.StiProcessCellEventArgs=class extends Un{},(e=Vg=Ae.aA.StiElementStyleIdent||(Ae.aA.StiElementStyleIdent={}))[e["Auto"]=1]="Auto",e[e["Blue"]=2]="Blue",e[e["Orange"]=3]="Orange",e[e["Green"]=4]="Green",e[e["Turquoise"]=5]="Turquoise",e[e["SlateGray"]=6]="SlateGray",e[e["DarkBlue"]=7]="DarkBlue",e[e["DarkGray"]=8]="DarkGray",e[e["DarkGreen"]=9]="DarkGreen",e[e["DarkTurquoise"]=10]="DarkTurquoise",e[e["Silver"]=11]="Silver",e[e["AliceBlue"]=12]="AliceBlue",e[e["Sienna"]=13]="Sienna",e[e["Custom"]=14]="Custom",(l=Gg=Ae.aA.StiItemSelectionMode||(Ae.aA.StiItemSelectionMode={}))[l["One"]=0]="One",l[l["Multi"]=1]="Multi",(k=Ug=Ae.aA.StiDateSelectionMode||(Ae.aA.StiDateSelectionMode={}))[k["Single"]=0]="Single",k[k["Range"]=1]="Range",k[k["AutoRange"]=2]="AutoRange",(F=jg=Ae.aA.StiInitialDateRangeSelectionSource||(Ae.aA.StiInitialDateRangeSelectionSource={}))[F["Selection"]=0]="Selection",F[F["Variable"]=1]="Variable",(W=Wg=Ae.aA.StiInitialDateRangeSelection||(Ae.aA.StiInitialDateRangeSelection={}))[W["DayTomorrow"]=0]="DayTomorrow",W[W["DayToday"]=1]="DayToday",W[W["DayYesterday"]=2]="DayYesterday",W[W["WeekNext"]=3]="WeekNext",W[W["WeekCurrent"]=4]="WeekCurrent",W[W["WeekPrevious"]=5]="WeekPrevious",W[W["MonthNext"]=6]="MonthNext",W[W["MonthCurrent"]=7]="MonthCurrent",W[W["MonthPrevious"]=8]="MonthPrevious",W[W["QuarterNext"]=9]="QuarterNext",W[W["QuarterCurrent"]=10]="QuarterCurrent",W[W["QuarterPrevious"]=11]="QuarterPrevious",W[W["QuarterFirst"]=12]="QuarterFirst",W[W["QuarterSecond"]=13]="QuarterSecond",W[W["QuarterThird"]=14]="QuarterThird",W[W["QuarterFourth"]=15]="QuarterFourth",W[W["YearNext"]=16]="YearNext",W[W["YearCurrent"]=17]="YearCurrent",W[W["YearPrevious"]=18]="YearPrevious",W[W["Last7Days"]=19]="Last7Days",W[W["Last14Days"]=20]="Last14Days",W[W["Last30Days"]=21]="Last30Days",W[W["DateToWeek"]=22]="DateToWeek",W[W["DateToMonth"]=23]="DateToMonth",W[W["DateToQuarter"]=24]="DateToQuarter",W[W["DateToYear"]=25]="DateToYear",(M=qg=Ae.aA.StiProgressElementMode||(Ae.aA.StiProgressElementMode={}))[M["Pie"]=0]="Pie",M[M["Circle"]=1]="Circle",M[M["DataBars"]=2]="DataBars",(H=zg=Ae.aA.StiDateCondition||(Ae.aA.StiDateCondition={}))[H["EqualTo"]=0]="EqualTo",H[H["NotEqualTo"]=1]="NotEqualTo",H[H["GreaterThan"]=2]="GreaterThan",H[H["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",H[H["LessThan"]=4]="LessThan",H[H["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",(V=Xg=Ae.aA.StiTableSizeMode||(Ae.aA.StiTableSizeMode={}))[V["AutoSize"]=0]="AutoSize",V[V["Fit"]=1]="Fit",(ft=Jg=Ae.aA.StiChartLabelsPosition||(Ae.aA.StiChartLabelsPosition={}))[ft["None"]=0]="None",ft[ft["Center"]=1]="Center",ft[ft["InsideBase"]=2]="InsideBase",ft[ft["InsideEnd"]=3]="InsideEnd",ft[ft["Left"]=4]="Left",ft[ft["Outside"]=5]="Outside",ft[ft["OutsideBase"]=6]="OutsideBase",ft[ft["OutsideEnd"]=7]="OutsideEnd",ft[ft["OutsideLeft"]=8]="OutsideLeft",ft[ft["OutsideRight"]=9]="OutsideRight",ft[ft["Right"]=10]="Right",ft[ft["TwoColumns"]=11]="TwoColumns",ft[ft["Value"]=12]="Value",ft[ft["Total"]=13]="Total",(Z=Yg=Ae.aA.StiInteractionIdent||(Ae.aA.StiInteractionIdent={}))[Z["Chart"]=1]="Chart",Z[Z["Gauge"]=2]="Gauge",Z[Z["Image"]=3]="Image",Z[Z["Indicator"]=4]="Indicator",Z[Z["OnlineMap"]=5]="OnlineMap",Z[Z["Page"]=6]="Page",Z[Z["PivotTable"]=7]="PivotTable",Z[Z["Progress"]=8]="Progress",Z[Z["RegionMap"]=9]="RegionMap",Z[Z["Table"]=10]="Table",Z[Z["TableColumn"]=11]="TableColumn",Z[Z["Text"]=12]="Text",(tt=Qg=Ae.aA.StiAvailableInteractionOnHover||(Ae.aA.StiAvailableInteractionOnHover={}))[tt["ShowToolTip"]=1]="ShowToolTip",tt[tt["ShowHyperlink"]=2]="ShowHyperlink",tt[tt["None"]=0]="None",tt[tt["All"]=3]="All",(rt=Kg=Ae.aA.StiAvailableInteractionOnClick||(Ae.aA.StiAvailableInteractionOnClick={}))[rt["ShowDashboard"]=1]="ShowDashboard",rt[rt["OpenHyperlink"]=2]="OpenHyperlink",rt[rt["ApplyFilter"]=4]="ApplyFilter",rt[rt["DrillDown"]=8]="DrillDown",rt[rt["None"]=0]="None",rt[rt["All"]=15]="All",(ot=Zg=Ae.aA.StiAvailableInteractionOnDataManipulation||(Ae.aA.StiAvailableInteractionOnDataManipulation={}))[ot["AllowSorting"]=1]="AllowSorting",ot[ot["AllowFiltering"]=2]="AllowFiltering",ot[ot["AllowDrillDown"]=4]="AllowDrillDown",ot[ot["All"]=7]="All",ot[ot["None"]=0]="None",(ht=$g=Ae.aA.StiInteractionOnHover||(Ae.aA.StiInteractionOnHover={}))[ht["None"]=0]="None",ht[ht["ShowToolTip"]=1]="ShowToolTip",ht[ht["ShowHyperlink"]=2]="ShowHyperlink",(dt=tf=Ae.aA.StiInteractionOnClick||(Ae.aA.StiInteractionOnClick={}))[dt["None"]=0]="None",dt[dt["ShowDashboard"]=1]="ShowDashboard",dt[dt["OpenHyperlink"]=2]="OpenHyperlink",dt[dt["ApplyFilter"]=3]="ApplyFilter",dt[dt["DrillDown"]=4]="DrillDown",(pt=ef=Ae.aA.StiInteractionOpenHyperlinkDestination||(Ae.aA.StiInteractionOpenHyperlinkDestination={}))[pt["NewTab"]=0]="NewTab",pt[pt["CurrectTab"]=1]="CurrectTab",(yt=rf=Ae.aA.StiElementMeterAction||(Ae.aA.StiElementMeterAction={}))[yt["None"]=0]="None",yt[yt["Rename"]=1]="Rename",yt[yt["Delete"]=2]="Delete",yt[yt["ClearAll"]=3]="ClearAll",(wt=nf=Ae.aA.StiOnlineMapLocationType||(Ae.aA.StiOnlineMapLocationType={}))[wt["Auto"]=0]="Auto",wt[wt["AdminDivision1"]=1]="AdminDivision1",wt[wt["AdminDivision2"]=2]="AdminDivision2",wt[wt["CountryRegion"]=3]="CountryRegion",wt[wt["Neighborhood"]=4]="Neighborhood",wt[wt["PopulatedPlace"]=5]="PopulatedPlace",wt[wt["Postcode1"]=6]="Postcode1",wt[wt["Postcode2"]=7]="Postcode2",wt[wt["Postcode3"]=8]="Postcode3",wt[wt["Postcode4"]=9]="Postcode4",(u=af=Ae.aA.StiOnlineMapLocationColorType||(Ae.aA.StiOnlineMapLocationColorType={}))[u["Single"]=0]="Single",u[u["ColorEach"]=1]="ColorEach",u[u["Group"]=2]="Group",u[u["Value"]=3]="Value",(m=sf=Ae.aA.StiOnlineMapValueViewMode||(Ae.aA.StiOnlineMapValueViewMode={}))[m["Bubble"]=0]="Bubble",m[m["Value"]=1]="Value",m[m["Icon"]=2]="Icon",m[m["Chart"]=3]="Chart",(p=of=Ae.aA.StiOnlineMapCulture||(Ae.aA.StiOnlineMapCulture={}))[p["ar_SA"]=0]="ar_SA",p[p["eu"]=1]="eu",p[p["bg"]=2]="bg",p[p["bg_BG"]=3]="bg_BG",p[p["ca"]=4]="ca",p[p["ku_Arab"]=5]="ku_Arab",p[p["zh_CN"]=6]="zh_CN",p[p["zh_HK"]=7]="zh_HK",p[p["zh_Hans"]=8]="zh_Hans",p[p["zh_TW"]=9]="zh_TW",p[p["zh_Hant"]=10]="zh_Hant",p[p["cs"]=11]="cs",p[p["cs_CZ"]=12]="cs_CZ",p[p["da"]=13]="da",p[p["da_DK"]=14]="da_DK",p[p["nl_BE"]=15]="nl_BE",p[p["nl"]=16]="nl",p[p["nl_NL"]=17]="nl_NL",p[p["en_AU"]=18]="en_AU",p[p["en_CA"]=19]="en_CA",p[p["en_IN"]=20]="en_IN",p[p["en_GB"]=21]="en_GB",p[p["en_US"]=22]="en_US",p[p["fi"]=23]="fi",p[p["fi_FI"]=24]="fi_FI",p[p["fr_BE"]=25]="fr_BE",p[p["fr_CA"]=26]="fr_CA",p[p["fr"]=27]="fr",p[p["fr_FR"]=28]="fr_FR",p[p["fr_CH"]=29]="fr_CH",p[p["gl"]=30]="gl",p[p["de"]=31]="de",p[p["de_DE"]=32]="de_DE",p[p["el"]=33]="el",p[p["he"]=34]="he",p[p["he_IL"]=35]="he_IL",p[p["hi"]=36]="hi",p[p["hi_IN"]=37]="hi_IN",p[p["hu"]=38]="hu",p[p["hu_HU"]=39]="hu_HU",p[p["is_IS"]=40]="is_IS",p[p["it"]=41]="it",p[p["it_IT"]=42]="it_IT",p[p["ja"]=43]="ja",p[p["ja_JP"]=44]="ja_JP",p[p["ko"]=45]="ko",p[p["Ko_KR"]=46]="Ko_KR",p[p["ky_Cyrl"]=47]="ky_Cyrl",p[p["lv"]=48]="lv",p[p["lv_LV"]=49]="lv_LV",p[p["lt"]=50]="lt",p[p["lt_LT"]=51]="lt_LT",p[p["nb"]=52]="nb",p[p["nb_NO"]=53]="nb_NO",p[p["nn"]=54]="nn",p[p["pl"]=55]="pl",p[p["pl_PL"]=56]="pl_PL",p[p["pt_BR"]=57]="pt_BR",p[p["pt_P"]=58]="pt_P",p[p["ru"]=59]="ru",p[p["ru_RU"]=60]="ru_RU",p[p["es_MX"]=61]="es_MX",p[p["es"]=62]="es",p[p["es_ES"]=63]="es_ES",p[p["es_US"]=64]="es_US",p[p["sv"]=65]="sv",p[p["sv_SE"]=66]="sv_SE",p[p["tt_Cyrl"]=67]="tt_Cyrl",p[p["th"]=68]="th",p[p["th_TH"]=69]="th_TH",p[p["tr"]=70]="tr",p[p["tr_TR"]=71]="tr_TR",p[p["uk"]=72]="uk",p[p["uk_UA"]=73]="uk_UA",p[p["ug_Arab"]=74]="ug_Arab",p[p["ca_ES_valencia"]=75]="ca_ES_valencia",p[p["vi"]=76]="vi",p[p["vi_VN"]=77]="vi_VN",(P=lf=Ae.aA.StiIconAlignment||(Ae.aA.StiIconAlignment={}))[P["None"]=0]="None",P[P["Left"]=1]="Left",P[P["Right"]=2]="Right",P[P["Top"]=3]="Top",P[P["Bottom"]=4]="Bottom",(x=uf=Ae.aA.StiIndicatorFieldCondition||(Ae.aA.StiIndicatorFieldCondition={}))[x["Value"]=0]="Value",x[x["Series"]=1]="Series",x[x["Target"]=2]="Target",x[x["Variation"]=3]="Variation",(b=hf=Ae.aA.StiProgressFieldCondition||(Ae.aA.StiProgressFieldCondition={}))[b["Value"]=0]="Value",b[b["Series"]=1]="Series",b[b["Target"]=2]="Target",b[b["Percentage"]=3]="Percentage",(v=cf=Ae.aA.StiProgressConditionPermissions||(Ae.aA.StiProgressConditionPermissions={}))[v["None"]=0]="None",v[v["Font"]=1]="Font",v[v["FontSize"]=2]="FontSize",v[v["FontStyleBold"]=4]="FontStyleBold",v[v["FontStyleItalic"]=8]="FontStyleItalic",v[v["FontStyleUnderline"]=16]="FontStyleUnderline",v[v["FontStyleStrikeout"]=32]="FontStyleStrikeout",v[v["TextColor"]=64]="TextColor",v[v["Color"]=128]="Color",v[v["TrackColor"]=256]="TrackColor",v[v["All"]=511]="All",(D=df=Ae.aA.StiIndicatorConditionPermissions||(Ae.aA.StiIndicatorConditionPermissions={}))[D["None"]=0]="None",D[D["Font"]=1]="Font",D[D["FontSize"]=2]="FontSize",D[D["FontStyleBold"]=4]="FontStyleBold",D[D["FontStyleItalic"]=8]="FontStyleItalic",D[D["FontStyleUnderline"]=16]="FontStyleUnderline",D[D["FontStyleStrikeout"]=32]="FontStyleStrikeout",D[D["TextColor"]=64]="TextColor",D[D["BackColor"]=128]="BackColor",D[D["Borders"]=256]="Borders",D[D["Icon"]=512]="Icon",D[D["TargetIcon"]=1024]="TargetIcon",D[D["All"]=2047]="All",(B=mf=Ae.aA.StiTableConditionPermissions||(Ae.aA.StiTableConditionPermissions={}))[B["None"]=0]="None",B[B["Font"]=1]="Font",B[B["FontSize"]=2]="FontSize",B[B["FontStyleBold"]=4]="FontStyleBold",B[B["FontStyleItalic"]=8]="FontStyleItalic",B[B["FontStyleUnderline"]=16]="FontStyleUnderline",B[B["FontStyleStrikeout"]=32]="FontStyleStrikeout",B[B["ForeColor"]=64]="ForeColor",B[B["BackColor"]=128]="BackColor",B[B["All"]=255]="All",(e=pf=Ae.aA.StiTargetMode||(Ae.aA.StiTargetMode={}))[e["Percentage"]=0]="Percentage",e[e["Variation"]=1]="Variation",(l=gf=Ae.aA.StiChartTrendLineType||(Ae.aA.StiChartTrendLineType={}))[l["None"]=0]="None",l[l["Exponential"]=1]="Exponential",l[l["Linear"]=2]="Linear",l[l["Logarithmic"]=3]="Logarithmic",(k=ff=Ae.aA.StiChartSeriesType||(Ae.aA.StiChartSeriesType={}))[k["ClusteredColumn"]=1]="ClusteredColumn",k[k["StackedColumn"]=2]="StackedColumn",k[k["FullStackedColumn"]=3]="FullStackedColumn",k[k["Pareto"]=4]="Pareto",k[k["Histogram"]=5]="Histogram",k[k["Line"]=6]="Line",k[k["StackedLine"]=7]="StackedLine",k[k["FullStackedLine"]=8]="FullStackedLine",k[k["Spline"]=9]="Spline",k[k["StackedSpline"]=10]="StackedSpline",k[k["FullStackedSpline"]=11]="FullStackedSpline",k[k["SteppedLine"]=12]="SteppedLine",k[k["Area"]=13]="Area",k[k["StackedArea"]=14]="StackedArea",k[k["FullStackedArea"]=15]="FullStackedArea",k[k["SplineArea"]=16]="SplineArea",k[k["StackedSplineArea"]=17]="StackedSplineArea",k[k["FullStackedSplineArea"]=18]="FullStackedSplineArea",k[k["SteppedArea"]=19]="SteppedArea",k[k["Range"]=20]="Range",k[k["SplineRange"]=21]="SplineRange",k[k["SteppedRange"]=22]="SteppedRange",k[k["RangeBar"]=23]="RangeBar",k[k["ClusteredBar"]=24]="ClusteredBar",k[k["StackedBar"]=25]="StackedBar",k[k["FullStackedBar"]=26]="FullStackedBar",k[k["Scatter"]=27]="Scatter",k[k["ScatterLine"]=28]="ScatterLine",k[k["ScatterSpline"]=29]="ScatterSpline",k[k["Pie"]=30]="Pie",k[k["Pie3d"]=31]="Pie3d",k[k["RadarPoint"]=32]="RadarPoint",k[k["RadarLine"]=33]="RadarLine",k[k["RadarArea"]=34]="RadarArea",k[k["Funnel"]=35]="Funnel",k[k["FunnelWeightedSlices"]=36]="FunnelWeightedSlices",k[k["Candlestick"]=37]="Candlestick",k[k["Stock"]=38]="Stock",k[k["Treemap"]=39]="Treemap",k[k["Gantt"]=40]="Gantt",k[k["Doughnut"]=41]="Doughnut",k[k["Bubble"]=42]="Bubble",k[k["Pictorial"]=43]="Pictorial",k[k["Sunburst"]=44]="Sunburst",k[k["Waterfall"]=45]="Waterfall",k[k["BoxAndWhisker"]=46]="BoxAndWhisker",(F=Sf=Ae.aA.StiEmptyCellsAs||(Ae.aA.StiEmptyCellsAs={}))[F["Gap"]=0]="Gap",F[F["Zero"]=1]="Zero",F[F["ConnectPointsWithLine"]=2]="ConnectPointsWithLine",(W=bf=Ae.aA.StiFontSizeMode||(Ae.aA.StiFontSizeMode={}))[W["Auto"]=0]="Auto",W[W["Value"]=1]="Value",W[W["Target"]=2]="Target",(M=yf=Ae.aA.StiLabelPlacement||(Ae.aA.StiLabelPlacement={}))[M["Outside"]=0]="Outside",M[M["Inside"]=1]="Inside",(H=vf=Ae.aA.StiItemOrientation||(Ae.aA.StiItemOrientation={}))[H["Vertical"]=0]="Vertical",H[H["Horizontal"]=1]="Horizontal",(V=wf=Ae.aA.StiDashboardContentAlignment||(Ae.aA.StiDashboardContentAlignment={}))[V["Left"]=0]="Left",V[V["Center"]=1]="Center",V[V["Right"]=2]="Right",V[V["StretchXY"]=3]="StretchXY",V[V["StretchX"]=4]="StretchX",(ft=Cf=Ae.aA.StiIndicatorIconMode||(Ae.aA.StiIndicatorIconMode={}))[ft["Auto"]=1]="Auto",ft[ft["Custom"]=2]="Custom",(Z=Tf=Ae.aA.StiIndicatorIconRangeMode||(Ae.aA.StiIndicatorIconRangeMode={}))[Z["Percentage"]=1]="Percentage",Z[Z["Value"]=2]="Value",(tt=Pf=Ae.aA.StiTextSizeMode||(Ae.aA.StiTextSizeMode={}))[tt["Fit"]=1]="Fit",tt[tt["WordWrap"]=2]="WordWrap",tt[tt["Trimming"]=3]="Trimming",Ae.aA.IStiAllowUserColumnSelectionDashboardInteraction=new Ae.b.Interface("IStiAllowUserColumnSelectionDashboardInteraction"),Ae.aA.IStiAllowUserDrillDownDashboardInteraction=new Ae.b.Interface("IStiAllowUserDrillDownDashboardInteraction"),Ae.aA.IStiAllowUserFilteringDashboardInteraction=new Ae.b.Interface("IStiAllowUserFilteringDashboardInteraction"),Ae.aA.IStiAllowUserSortingDashboardInteraction=new Ae.b.Interface("IStiAllowUserSortingDashboardInteraction"),Ae.aA.IStiAltProperties=new Ae.b.Interface("IStiAltProperties"),Ae.aA.ImplementsIStiAltProperties=[];var rt=Ae.C.ImplementsIStiQueryObject;Ae.aA.IStiElement=new Ae.b.Interface("IStiElement"),Ae.aA.ImplementsIStiElement=[us,jd,...rt],Ae.aA.IStiDashboardElementStyle=new Ae.b.Interface("IStiDashboardElementStyle"),Ae.aA.ImplementsIStiDashboardElementStyle=[],Ae.aA.IStiConvertibleElement=new Ae.b.Interface("IStiConvertibleElement"),Ae.aA.ImplementsIStiConvertibleElement=[];var ot=Ae.C.ImplementsIStiDataFilters;let If=Ae.C.IStiDataFilters;Ae.aA.IStiCardsElement=new Ae.b.Interface("IStiCardsElement"),Ae.aA.ImplementsIStiCardsElement=[Ae.aA.IStiElement,Ae.aA.IStiDashboardElementStyle,If,Ae.aA.IStiConvertibleElement,...Ae.aA.ImplementsIStiElement,...Ae.aA.ImplementsIStiDashboardElementStyle,...ot,...Ae.aA.ImplementsIStiConvertibleElement],Ae.aA.IStiChartArea=new Ae.b.Interface("IStiChartArea"),Ae.aA.ImplementsIStiChartArea=[],Ae.aA.IStiChartConstantLines=new Ae.b.Interface("IStiChartConstantLines"),Ae.aA.ImplementsIStiChartConstantLines=[],Ae.aA.IStiGroupElement=new Ae.b.Interface("IStiGroupElement"),Ae.aA.ImplementsIStiGroupElement=[],Ae.aA.IStiManuallyEnteredData=new Ae.b.Interface("IStiManuallyEnteredData"),Ae.aA.ImplementsIStiManuallyEnteredData=[];let Af=Ae.C.IStiCrossFiltering;var ht=Ae.C.ImplementsIStiCrossFiltering;let xf=Ae.C.IStiUserSorts;var dt=Ae.aA.ImplementsIStiConvertibleElement,pt=Ae.aA.IStiConvertibleElement,yt=Ae.C.ImplementsIStiDataTransformationElement,wt=Ae.C.ImplementsIStiDataTopN,u=Ae.C.IStiDataTransformationElement;let Df=Ae.C.IStiDataTopN;var m=Ae.aA.ImplementsIStiGroupElement,p=Ae.aA.IStiGroupElement,P=Ae.aA.ImplementsIStiDashboardElementStyle;let Bf=Ae.aA.IStiDashboardElementStyle;var x=Ae.aA.ImplementsIStiElement,b=Ae.aA.IStiElement,v=Ae.C.IStiUserFilters,D=Ae.C.ImplementsIStiUserFilters,B=Ae.C.ImplementsIStiUserSorts;let Ef=Ae.C.IStiTransformActions;var e=Ae.C.ImplementsIStiTransformActions;let kf=Ae.C.IStiTransformFilters;var l=Ae.C.ImplementsIStiTransformFilters;let Nf=Ae.C.IStiTransformSorts;var k=Ae.C.ImplementsIStiTransformSorts,F=Ae.aA.ImplementsIStiManuallyEnteredData,W=Ae.aA.IStiManuallyEnteredData;Ae.aA.IStiChartElement=new Ae.b.Interface("IStiChartElement"),Ae.aA.ImplementsIStiChartElement=[b,v,xf,Bf,Ef,kf,Nf,Df,u,p,Af,If,pt,W,...x,...D,...B,...P,...e,...l,...k,...wt,...yt,...m,...ht,...ot,...dt,...F],Ae.aA.IStiChartElementCondition=new Ae.b.Interface("IStiChartElementCondition"),Ae.aA.ImplementsIStiChartElementCondition=[],Ae.aA.IStiChartLabels=new Ae.b.Interface("IStiChartLabels"),Ae.aA.ImplementsIStiChartLabels=[],Ae.aA.IStiItemElement=new Ae.b.Interface("IStiItemElement"),Ae.aA.ImplementsIStiItemElement=[],Ae.aA.IStiFilterElement=new Ae.b.Interface("IStiFilterElement"),Ae.aA.ImplementsIStiFilterElement=[ku,pt,...dt];var M=Ae.aA.ImplementsIStiFilterElement,H=Ae.aA.IStiFilterElement,V=Ae.ap.ImplementsIStiBackColor,ft=Ae.ap.ImplementsIStiForeColor,Z=Ae.ap.ImplementsIStiTextFormat,tt=Ae.ap.ImplementsIStiFont;Ae.aA.IStiControlElement=new Ae.b.Interface("IStiControlElement"),Ae.aA.ImplementsIStiControlElement=[b,Bf,v,H,il,nd,id,Tc,...x,...P,...D,...M,...tt,...ft,...V,...Z];var H=Ae.aA.ImplementsIStiItemElement,x=Ae.aA.ImplementsIStiControlElement,M=Ae.aA.IStiItemElement,Z=Ae.aA.IStiControlElement;Ae.aA.IStiComboBoxElement=new Ae.b.Interface("IStiComboBoxElement"),Ae.aA.ImplementsIStiComboBoxElement=[Z,M,Ef,kf,Nf,u,p,If,...x,...H,...e,...l,...k,...yt,...m,...ot],Ae.aA.IStiPanel=new Ae.b.Interface("IStiPanel"),Ae.aA.ImplementsIStiPanel=[Ae.aA.IStiElement,id,...Ae.aA.ImplementsIStiElement,...V];var H=Ae.aA.IStiPanel,m=Ae.aA.ImplementsIStiPanel;Ae.aA.IStiDashboard=new Ae.b.Interface("IStiDashboard"),Ae.aA.ImplementsIStiDashboard=[H,jd,Bf,...m,...rt,...P],Ae.aA.IStiDashboardDrillDownParameter=new Ae.b.Interface("IStiDashboardDrillDownParameter"),Ae.aA.ImplementsIStiDashboardDrillDownParameter=[];var P=Ae.W.IStiDefault;Ae.aA.IStiDashboardInteraction=new Ae.b.Interface("IStiDashboardInteraction"),Ae.aA.ImplementsIStiDashboardInteraction=[Jt,P],Ae.aA.IStiDashboardWatermark=new Ae.b.Interface("IStiDashboardWatermark"),Ae.aA.ImplementsIStiDashboardWatermark=[],Ae.aA.IStiDatePickerElement=new Ae.b.Interface("IStiDatePickerElement"),Ae.aA.ImplementsIStiDatePickerElement=[Ae.aA.IStiControlElement,If,...Ae.aA.ImplementsIStiControlElement,...ot],Ae.aA.IStiElementInteraction=new Ae.b.Interface("IStiElementInteraction"),Ae.aA.IStiElementLayout=new Ae.b.Interface("IStiElementLayout"),Ae.aA.ImplementsIStiElementLayout=[],Ae.aA.IStiFixedHeightElement=new Ae.b.Interface("IStiFixedHeightElement"),Ae.aA.ImplementsIStiFixedHeightElement=[],Ae.aA.IStiGaugeElement=new Ae.b.Interface("IStiGaugeElement"),Ae.aA.ImplementsIStiGaugeElement=[Ae.aA.IStiElement,xf,Ae.aA.IStiDashboardElementStyle,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,Af,If,pt,W,...Ae.aA.ImplementsIStiElement,...B,...Ae.aA.ImplementsIStiDashboardElementStyle,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot,...dt,...F],Ae.aA.IStiGaugeLabels=new Ae.b.Interface("IStiGaugeLabels"),Ae.aA.ImplementsIStiGaugeLabels=[],Ae.aA.IStiGaugeRange=new Ae.b.Interface("IStiGaugeRange"),Ae.aA.ImplementsIStiGaugeRange=[],Ae.aA.IStiGaugeTarget=new Ae.b.Interface("IStiGaugeTarget"),Ae.aA.ImplementsIStiGaugeTarget=[],Ae.aA.IStiImageElement=new Ae.b.Interface("IStiImageElement"),Ae.aA.ImplementsIStiImageElement=[Ae.aA.IStiElement,Ae.aA.IStiGroupElement,Af,...Ae.aA.ImplementsIStiElement,...Ae.aA.ImplementsIStiGroupElement,...ht],Ae.aA.IStiIndicatorElement=new Ae.b.Interface("IStiIndicatorElement"),Ae.aA.ImplementsIStiIndicatorElement=[Ae.aA.IStiElement,xf,Ae.aA.IStiDashboardElementStyle,Ef,kf,Nf,Df,u,Ae.aA.IStiGroupElement,Af,If,pt,W,...Ae.aA.ImplementsIStiElement,...B,...Ae.aA.ImplementsIStiDashboardElementStyle,...e,...l,...k,...wt,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot,...dt,...F],Ae.aA.IStiIndicatorElementCondition=new Ae.b.Interface("IStiIndicatorElementCondition"),Ae.aA.ImplementsIStiIndicatorElementCondition=[],Ae.aA.IStiIndicatorIconRange=new Ae.b.Interface("IStiIndicatorIconRange"),Ae.aA.ImplementsStiIndicatorIconRange=[],Ae.aA.IStiInteractionLayout=new Ae.b.Interface("IStiInteractionLayout"),Ae.aA.IStiListBoxElement=new Ae.b.Interface("IStiListBoxElement"),Ae.aA.ImplementsIStiListBoxElement=[Ae.aA.IStiControlElement,Ae.aA.IStiItemElement,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,If,...Ae.aA.ImplementsIStiControlElement,...Ae.aA.ImplementsIStiItemElement,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ot],Ae.aA.IStiMargin=new Ae.b.Interface("IStiMargin"),Ae.aA.ImplementsIStiMargin=[],Ae.aA.IStiMeterRules=new Ae.b.Interface("IStiMeterRules"),Ae.aA.IStiNegativeSeriesColors=new Ae.b.Interface("IStiNegativeSeriesColors"),Ae.aA.ImplementsIStiNegativeSeriesColors=[],Ae.aA.IStiOnlineMapElement=new Ae.b.Interface("IStiOnlineMapElement"),Ae.aA.ImplementsIStiOnlineMapElement=[Ae.aA.IStiElement,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,Af,If,...Ae.aA.ImplementsIStiElement,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot],Ae.aA.IStiPadding=new Ae.b.Interface("IStiPadding"),Ae.aA.ImplementsIStiPadding=[],Ae.aA.IStiParetoSeriesColors=new Ae.b.Interface("IStiParetoSeriesColors"),Ae.aA.ImplementsIStiParetoSeriesColors=[],Ae.aA.IStiPivotTableCreator=new Ae.b.Interface("IStiPivotTableCreator"),Ae.aA.ImplementsIStiPivotTableCreator=[],Ae.aA.IStiPivotGridContainer=new Ae.b.Interface("IStiPivotGridContainer"),Ae.aA.ImplementsIStiPivotGridContainer=[],Ae.aA.IStiPivotTableElement=new Ae.b.Interface("IStiPivotTableElement"),Ae.aA.ImplementsIStiPivotTableElement=[Ae.aA.IStiElement,Ae.aA.IStiDashboardElementStyle,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,Af,If,pt,...Ae.aA.ImplementsIStiElement,...Ae.aA.ImplementsIStiDashboardElementStyle,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot,...dt],Ae.aA.IStiPivotTableElementCondition=new Ae.b.Interface("IStiPivotTableElementCondition"),Ae.aA.ImplementsIStiPivotTableElementCondition=[Yt],Ae.aA.IStiProgressElement=new Ae.b.Interface("IStiProgressElement"),Ae.aA.ImplementsIStiProgressElement=[Ae.aA.IStiElement,xf,Ae.aA.IStiDashboardElementStyle,Ef,kf,Nf,Df,u,Ae.aA.IStiGroupElement,Af,If,pt,W,...Ae.aA.ImplementsIStiElement,...B,...Ae.aA.ImplementsIStiDashboardElementStyle,...e,...l,...k,...wt,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot,...dt,...F],Ae.aA.IStiProgressElementCondition=new Ae.b.Interface("IStiProgressElementCondition"),Ae.aA.ImplementsIStiProgressElementCondition=[],Ae.aA.IStiRegionMapElement=new Ae.b.Interface("IStiRegionMapElement"),Ae.aA.ImplementsIStiRegionMapElement=[Ae.aA.IStiElement,Ae.aA.IStiDashboardElementStyle,v,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,Af,If,...Ae.aA.ImplementsIStiElement,...Ae.aA.ImplementsIStiDashboardElementStyle,...D,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot],Ae.aA.IStiSeriesColors=new Ae.b.Interface("IStiSeriesColors"),Ae.aA.ImplementsIStiSeriesColors=[],Ae.aA.IStiShapeElement=new Ae.b.Interface("IStiShapeElement"),Ae.aA.ImplementsIStiShapeElement=[Ae.aA.IStiElement,...Ae.aA.ImplementsIStiElement],Ae.aA.IStiSkipOwnFilter=new Ae.b.Interface("IStiSkipOwnFilter"),Ae.aA.ImplementsIStiSkipOwnFilter=[],Ae.aA.IStiTableColumnSize=new Ae.b.Interface("IStiTableColumnSize"),Ae.aA.ImplementsIStiTableColumnSize=[];var F=Ae.aA.IStiDashboardInteraction;Ae.aA.IStiTableDashboardInteraction=new Ae.b.Interface("IStiTableDashboardInteraction"),Ae.aA.ImplementsIStiTableDashboardInteraction=[F],Ae.aA.IStiTableElement=new Ae.b.Interface("IStiTableElement"),Ae.aA.ImplementsIStiTableElement=[Ae.aA.IStiElement,xf,v,Ae.aA.IStiDashboardElementStyle,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,Af,If,il,pt,...Ae.aA.ImplementsIStiElement,...B,...D,...Ae.aA.ImplementsIStiDashboardElementStyle,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ht,...ot,...tt,...dt],Ae.aA.IStiTableElementAutoSizer=new Ae.b.Interface("IStiTableElementAutoSizer"),Ae.aA.ImplementsIStiTableElementAutoSizer=[],Ae.aA.IStiTableElementCondition=new Ae.b.Interface("IStiTableElementCondition"),Ae.aA.ImplementsIStiTableElementCondition=[],Ae.aA.IStiTextElement=new Ae.b.Interface("IStiTextElement"),Ae.aA.ImplementsIStiTextElement=[Ae.aA.IStiElement,Ae.aA.IStiGroupElement,Af,...Ae.aA.ImplementsIStiElement,...Ae.aA.ImplementsIStiGroupElement,...ht];var ht=Ae.ap.ImplementsIStiHorAlignment;Ae.aA.IStiTitle=new Ae.b.Interface("IStiTitle"),Ae.aA.ImplementsIStiTitle=[il,od,nd,id,...tt,...ht,...ft,...V],Ae.aA.IStiTitleElement=new Ae.b.Interface("IStiTitleElement"),Ae.aA.ImplementsIStiTitleElement=[],Ae.aA.IStiTreeViewBoxElement=new Ae.b.Interface("IStiTreeViewBoxElement"),Ae.aA.ImplementsIStiTreeViewBoxElement=[Ae.aA.IStiControlElement,Ae.aA.IStiItemElement,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,If,...Ae.aA.ImplementsIStiControlElement,...Ae.aA.ImplementsIStiItemElement,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ot],Ae.aA.IStiTreeViewElement=new Ae.b.Interface("IStiTreeViewElement"),Ae.aA.ImplementsIStiTreeViewElement=[Ae.aA.IStiControlElement,Ae.aA.IStiItemElement,Ef,kf,Nf,u,Ae.aA.IStiGroupElement,If,...Ae.aA.ImplementsIStiControlElement,...Ae.aA.ImplementsIStiItemElement,...e,...l,...k,...yt,...Ae.aA.ImplementsIStiGroupElement,...ot],Ae.aA.IStiUserViewStates=new Ae.b.Interface("IStiUserViewStates"),Ae.aA.ImplementsIStiUserViewStates=[];var l=class{static getKey(t){let e=Tn.getOrGeneratedKey(t);null==e&&(e="");let r=null!=t?t.getKey():"";return null==r&&(r=""),`${e}.${r}`}static getLastImage(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null}static existsLastImage(t){var t=this.getKey(t);return this.cache.contains(t)}static storeLastImage(t,e){var t=this.getKey(t);this.cache.set(t,e)}static clean(e){null==e?this.cache.clear():this.cache.keys.toList().where(t=>t.stimulsoft().startsWith(e),this).forEach(t=>this.cache.remove(t))}};l.cache=new Ri,Ae.aA.StiOnlineMapLastImageCache=l;var k=class{static getIntKey(t){let e=t.getMeters();if(null==e||!e.any())return"0";let r=0,i=e.select(t=>(r++).toString()+t.getUniqueCode().toString()).toList(),n=t.title.text;null==n&&(n=""),i.add(n.stimulsoft().getHashCode().toString());let a=0;for(var s of i)a+=s.stimulsoft().getHashCode();return`${a}`}static getKey(t){let e=Tn.getOrGeneratedKey(t);null==e&&(e="");let r=null!=t?t.getKey():"";null==r&&(r="");let i=null!=t?this.getIntKey(t):"";return null==i&&(i=""),`${e}.${r}.${i}`}static isConverted(t){var t=this.getKey(t);return this.cache.contains(t)&&this.cache.get(t)}static putTrue(t){this.put(t,!0)}static putFalse(t){this.put(t,!1)}static put(t,e){var t=this.getKey(t);this.cache.set(t,e)}static contains(t){var t=this.getKey(t);return this.cache.contains(t)}static clean(e=null){null==e?this.cache.clear():this.cache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t))}};k.cache=new Ri,Ae.aA.StiPivotToConvertedStateCache=k;var yt=class{static getKey(t){let e=Tn.getOrGeneratedKey(t);null==e&&(e="");let r=null!=t?t.getKey():"";return null==r&&(r=""),`${e}.${r}`}static get(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null}static put(t,e){var t=this.getKey(t);this.cache.set(t,e)}static contains(t){var t=this.getKey(t);return this.cache.contains(t)}static remove(t){var t=this.getKey(t);this.cache.contains(t)&&this.cache.remove(t)}static clean(e){null==e?this.cache.clear():this.cache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t))}};yt.cache=new Ri,Ae.aA.StiPivotTableToCrossTabCache=yt;var ot=class{static get(t){var t=Ae.aA.StiElementDataCache.getKey(t);return this.cache.contains(t)?this.cache.get(t):null}static put(t,e){var t=Ae.aA.StiElementDataCache.getKey(t);this.cache.set(t,e)}static remove(t){var t=Ae.aA.StiElementDataCache.getKey(t);this.cache.contains(t)&&this.cache.remove(t)}static contains(t){var t=Ae.aA.StiElementDataCache.getKey(t);return this.cache.contains(t)}static clean(e){null==e?this.cache.clear():this.cache.keys.where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t),this)}};ot.cache=new Ri,Ae.aA.StiPivotToContainerCache=ot;let Ff=Ae.bb.StiParserGetDataFieldValueEventArgs;var l=class{static parse(t,e,r=!0,i=null,n=!0,a=!1){let s=this.parseObject(t,e,r,i,n,a);return null!=s?s.toString():""}static parse2(t,e,r=!0,i=null,n=!0,a=!1){return this.parse(t,e.fetchPages().firstOrDefault(),r,i,n,a)}static parseAsync(e,r,i=!0){return Y.tsfb(this,void 0,void 0,function*(){if(null!=e&&!e.stimulsoft().contains("{"))return e;var t=i?this.getFromCache(e,r):null;if(null!=t)return t;var t=yield this.parseOrDefaultAsync(e,r);return i&&this.addToCache(e,t,r),t})}static parseObject(t,e,r=!0,i=null,n=!0,a=!1){if(null==e)return t;if(null!=(t=a&&null!=t?this.prepareExpression(t):t)&&!t.stimulsoft().contains("{"))return t;let s=this.getFromWrongCache(t,e);if(null!=s)return s;if(s=r&&null!=i?this.getFromCache(t,e):null,null!=s)return s;if(s=this.parseOrDefault(t,e,i,n),s==t&&null!=t&&t.stimulsoft().contains("{"))return this.addToWrongCache(t,s,e),s;return r&&null!=i&&this.addToCache(t,s,e),s}static parseOrDefault(t,e,r=null,i=!0){var n={ref:null};return this.tryParse(t,n,e,r,i)?n.ref:t}static parseOrDefaultAsync(r,i){return Y.tsfb(this,void 0,void 0,function*(){var t={ref:null},e;return 1==(yield this.tryParseAsync(r,t,i))?t.ref:r})}static tryParse(e,r,i,n=null,t=!0){try{if(null==e||!e.stimulsoft().contains("{"))return r.ref=e,!0;let t=new Zc;return t.syntaxCaseSensitive=!1,t.constants=n,r.ref=Ae.bb.StiParser.parseTextValue2(e,i,i,t),!0}catch(t){return r.ref="",!1}}static tryParseAsync(i,n,a,t=null,s=!0){return Y.tsfb(this,void 0,void 0,function*(){try{if(null==i||!i.stimulsoft().contains("{"))return n.ref=i,!0;let t=new wd;var e=Ae.bb.StiParser.parseTextValue(i,a,null,{ref:!1},!0,!0,t);if(s&&e&&0<e.length)for(var r of e)switch(r.type){case Cd.PushDataSourceField:{let t=null;t=ke.isArray(r.parameter2)?r.parameter2:r.parameter1.split(".");let e=new Ff(t[0],t[1]);e.asmCommand=r,yield this.getDataFieldValueProcessorAsync(a.report,e),e.asmCommand.type=Cd.PushValue,e.asmCommand.parameter1=e.value}}return n.ref=t.executeAsm(e),!0}catch(t){return n.ref="",!1}})}static getDataFieldValueProcessorAsync(i,n){return Y.tsfb(this,void 0,void 0,function*(){var t=i;let e=yield Nu.fetch2(t,n.dataSourceName);if(null==e)return;var t=`${n.dataSourceName}.${n.dataColumnName}`;let r=e.rows.toList().cast().firstOrDefault();if(null==r)return;n.value=r.gett(t),n.processed=!0})}static prepareExpression(t){return(t=!(t=t.trim()).stimulsoft().contains("{")?"{"+t:t).stimulsoft().contains("}")||(t+="}"),t}static getCacheKey(t,e){let r=Tn.getOrGeneratedKey(e);var i;return null==r&&(r=""),`${r}.${null!=t?t:""}`}static addToCache(t,e,r){null==e&&(e="");var r=this.getCacheKey(t,r);this.cache.set(r,e)}static addToWrongCache(t,e,r){null==e&&(e="");var r=this.getCacheKey(t,r);this.wrongCache.set(r,e)}static getFromCache(t,e){if(De.isNullOrEmpty(t))return"";if(De.isNullOrWhiteSpace(t))return t;var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null}static getFromWrongCache(t,e){if(De.isNullOrEmpty(t))return"";if(De.isNullOrWhiteSpace(t))return t;var e=this.getCacheKey(t,e);return this.wrongCache.contains(e)?this.wrongCache.get(e):null}static cleanCache(e){null==e?this.cache.clear():this.cache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t)),null==e?this.wrongCache.clear():this.wrongCache.keys.toList().where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.wrongCache.remove(t))}};l.cache=new Ri,l.wrongCache=new Ri,Ae.aA.StiReportParser=l;var k=class{static get(t,e){var r=this.getCacheKey(t,e);let i=this.cache.contains(r)?this.getFromCache(r,e):null;if(null==i)return i=Ps.getImage(e,t),null==i&&(i=new ie),this.addToCache(t,i,e),i;return i}static getCacheKey(t,e){e.setKey(_i.getOrGeneratedKey(e.getKey()));let r=e.getKey();return null==r&&(r=""),De.isNullOrWhiteSpace(t)?`${r}.0`:`${r}.${t}`}static getFromCache(t,e){var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null}static addToCache(t,e,r){var r=this.getCacheKey(t,r);null==e&&(e=new ie),this.cache.set(r,e)}static clean(e){null==e?this.cache.clear():this.cache.keys.where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t),this)}};k.cache=new Ri,Ae.aP.StiDashboardImageHyperlinkCache=k;let Rf=Ae.X.StiOnlineMapRepaintHelper,Lf=Ae.aP.StiDashboardImageHyperlinkCache,Mf=Ae.aA.StiPivotToConvertedStateCache,Of=Ae.aA.StiPivotTableToCrossTabCache,Hf=Ae.aA.StiPivotToContainerCache,_f=Ae.aA.StiReportParser,Vf=Ae.C.StiDataActionOperator,Gf=Ae.C.StiDataSorter,Uf=Ae.C.StiDataFiltrator,jf=Ae.C.StiDataJoiner;Ae.aA.StiCacheCleaner=class{static clean(t=null){if(null!=t){if(t.stimulsoft().is2(Ae.aA.IStiElement))return this.clean1(t);if(t.stimulsoft().is2(Fm))return this.clean2(t);if(t.stimulsoft().is2(mm))return this.clean3(t)}this.clean4(t)}static clean1(t){this.clean4(t.getApp().getKey())}static clean2(t){this.clean4(t.getApp().getKey())}static clean3(t){this.clean4(t.getKey())}static clean4(t=null){Ae.aA.StiElementDataCache.cleanCache(t),Nu.cleanCache(t),jf.cleanCache(t),Uf.cleanCache(t),Gf.cleanCache(t),Vf.cleanCache(t),_f.cleanCache(t),Rf.clean(t),Hf.clean(t),Of.clean(t),Mf.clean(t),Lf.clean(t)}},Ae.aA.StiDashboardAssembly=class{static get isAssemblyLoaded(){return null!=Y["Dashboard"]}};let Wf=Ae.aA.IStiDashboard;Ae.aA.StiDashboardCreator=class{static createDashboard(t){if(!Ae.aA.StiDashboardAssembly.isAssemblyLoaded){var e=new pm;return Is.showError(e,!0),null}var e=Hd.Services.components.toList().firstOrDefault(t=>t==Y["Dashboard"].Components.StiDashboard);let r=Sc.createInstance(e).stimulsoft().as(gl);return null!=r&&(r.report=t),r.as(Wf)}static createDashboardElement(t){let e=null;switch(t){case"StiCardsElement":case"Stimulsoft.Dashboard.Components.Cards.StiCardsElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Cards.StiCardsElement");break;case"StiTableElement":case"Stimulsoft.Dashboard.Components.Table.StiTableElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Table.StiTableElement");break;case"StiChartElement":case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Chart.StiChartElement");break;case"StiGaugeElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement");break;case"StiPivotTableElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement");break;case"StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement");break;case"StiProgressElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Progress.StiProgressElement");break;case"StiRegionMapElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement");break;case"StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement");break;case"StiImageElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Image.StiImageElement");break;case"StiTextElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Text.StiTextElement");break;case"StiPanelElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Panel.StiPanelElement");break;case"StiShapeElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.Shape.StiShapeElement");break;case"StiListBoxElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement");break;case"StiComboBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement");break;case"StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement");break;case"StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement");break;case"StiDatePickerElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":e=Ge.createObject2("Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement");break}return e}},Ae.aA.StiDashboardDesignAssembly=class{static getHtmlTextHelper(){try{return Ge.createObject2("Stimulsoft.Dashboard.Design.Helpers.StiHtmlTextHelper")}catch(t){}return null}};let qf=Ae.ax.StiPdfAutoPrintMode;Ae.aA.StiDashboardExport=class{static exportAsync(t,r,e){let i=new _r;if(!Ae.aA.StiDashboardAssembly.isAssemblyLoaded)throw new pm;var n=Ae.aA.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","Helpers.StiExportSettingsHelper","getDashboardExportSettings",[e]);return e.getExportFormat()==Ae.c.StiExportFormat.Pdf&&e.autoPrintMode==qf.Dialog&&Ae.aA.StiInvokeMethodsHelper.setPropertyValue(n,"autoPrint",!0),Ae.aA.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","StiDashboardExportTools","exportToStreamAsync",[t,n]).try(t=>{let e=new Kt(t);null!=e&&e.copyTo(r),i.callTry()}),i}},Ae.aB.StiDashboardHelperCreator=class{static createTableElementAutoSizer(){try{return Ge.createObject2("Stimulsoft.Dashboard.Drawing.Helpers.StiTableElementAutoSizer")}catch(t){}return null}static createProgressVisualSvgHelper(){try{return Ge.createObject2("Stimulsoft.Dashboard.Helpers.StiProgressVisualSvgHelper")}catch(t){}return null}static createIndicatorVisualSvgHelper(){try{return Ge.createObject2("Stimulsoft.Dashboard.Helpers.StiIndicatorVisualSvgHelper")}catch(t){}return null}static createCardsVisualSvgHelper(){try{return Ge.createObject2("Stimulsoft.Dashboard.Helpers.StiCardsVisualSvgHelper")}catch(t){}return null}static createGaugeVisualSvgHelper(){try{return Ge.createObject2("Stimulsoft.Dashboard.Helpers.StiGaugeVisualSvgHelper")}catch(t){}return null}};let zf=Ae.C.StiDataFilterCondition;Ae.aA.StiDataFilterCreator=class{static createEqualBasedOnValue(t,e,r){var r=Ae.am.StiDataColumn.getDataColumnFromColumnName(r.report.dictionary,e),i;return(null==r?void 0:r.type)==String&&("string"==typeof t&&De.isNullOrEmpty(t)||null==t||t==No.value)?new Jd(null,e,zf.IsBlankOrNull,t.toString()):null==t||t==No.value?new Jd(null,e,zf.IsNull):new Jd(null,e,zf.EqualTo,t.toString())}};let Xf=Ae.c.StiElementMeterAction;{let i=class{constructor(){this.action=Xf.None}static createEmptyArgs(){return new i}static createRenamingArgs(t,e){let r=new i;return r.action=Xf.Rename,r.oldName=t,r.newName=e,r}static createDeletingArgs(t){let e=new i;return e.action=Xf.Delete,e.oldName=t,e}static createClearingAllArgs(){let t=new i;return t.action=Xf.ClearAll,t}};Ae.aA.StiElementChangedArgs=i}Ae.aA.StiElementChangedProcessor=class{static processElementChanging(t,e){switch(e.action){case Ae.aA.StiElementMeterAction.Rename:this.processElementRenaming(t,e);break;case Ae.aA.StiElementMeterAction.ClearAll:this.processElementClearing(t);break;case Ae.aA.StiElementMeterAction.Delete:this.processElementDeleting(t,e);break}}static processElementRenaming(t,e){let r=t.stimulsoft().as(Ef);null!=r&&null!=r.transformActions&&r.transformActions.where(t=>t.path==e.oldName).toList().forEach(t=>t.path=e.newName);let i=t.stimulsoft().as(kf);null!=i&&null!=i.transformFilters&&i.transformFilters.where(t=>t.path==e.oldName).toList().forEach(t=>t.path=e.newName)}static processElementClearing(t){let e=t.stimulsoft().as(Ef);null!=e&&null!=e.transformActions&&e.transformActions.clear();let r=t.stimulsoft().as(kf);null!=r&&null!=r.transformFilters&&r.transformFilters.clear()}static processElementDeleting(t,e){let r=t.stimulsoft().as(Ef);null!=r&&null!=r.transformActions&&r.transformActions.where(t=>t.path==e.oldName).toList().forEach(t=>r.transformActions.remove(t));let i=t.stimulsoft().as(kf);null!=i&&null!=i.transformFilters&&i.transformFilters.where(t=>t.path==e.oldName).toList().forEach(t=>i.transformFilters.remove(t))}};let Jf=Ae.C.StiDataJoinEngine,Yf=Ae.C.IStiDrillDownElement,Qf=Ae.C.StiDataTable,Kf=Ae.X.StiComponentProgressHelper;var yt=class{static tryToGetOrCreate(t,e=zd.All){return Y.tsfb(this,void 0,void 0,function*(){try{return yield this.getOrCreate(t,e)}catch(t){return null}})}static getOrCreate(e,r=zd.All){return Y.tsfb(this,void 0,void 0,function*(){let t=this.get(e);if(null!=t)return t;return t=yield this.create(e,r),this.add(e,t),t})}static getOrCreatePivot(r,i,n=zd.All){return Y.tsfb(this,void 0,void 0,function*(){if(Ae.aA.StiPivotToContainerCache.contains(r)&&null!=this.get(r))return Ae.aA.StiPivotToContainerCache.get(r);var t=this.get(r),e;return null==t&&(e=yield this.create(r,n),this.add(r,e),Ae.aA.StiPivotToContainerCache.remove(r),i.create(r,e)),t})}static getOrCreateWithProgress(e,r=zd.All){return Y.tsfb(this,void 0,void 0,function*(){var t=this.get(e);if(null!=t)return t;if(this.elements.contains(e))return null;return Kf.add(e),this.elements.add(e),yield this.initWorker(r),null})}static getOrCreatePivotWithProgress(t,e,r=zd.All){return Y.tsfb(this,void 0,void 0,function*(){if(Ae.aA.StiPivotToContainerCache.contains(t)&&null!=this.get(t))return Ae.aA.StiPivotToContainerCache.get(t);if(this.elements.contains(t))return null;return this.pivotCreator=e,Kf.add(t),this.elements.add(t),yield this.initWorker(r),null})}static get(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null}static create(d,m){return Y.tsfb(this,void 0,void 0,function*(){var t=0<(m&zd.DisallowTransform),e=d.page.as(Ae.aA.IStiDashboard);let r=d.getMeters();if(null==r||!r.any())return Qf.nullTable;let i=Ae.aA.StiGroupElementHelper.getGroup(d),n=this.getUserFilters(d,e);var a=this.getUserSorts(d,m),s=this.getDataFilters(d),o=t?null:this.getTransformActions(d),l=t?null:this.getTransformFilters(d),u=t?null:this.getTransformSorts(d),h=this.getDrillDownFilters(d),t=jf.joinEngine==Jf.V4?d:e,e=d.as(Af),c;return null==e||e.crossFiltering||(i="",n=null),yield Qd.analyze(t,i,r,m,a,n,s,null,u,l,o,h)})}static add(t,e){var t=this.getKey(t);this.cache.set(t,e)}static initWorker(i=zd.All){return Y.tsfb(this,void 0,void 0,function*(){if(null!=this.worker)return;this.worker={};while(1){if(0==this.elements.length)continue;let e;e=this.elements.firstOrDefault(),this.elements.remove(e);try{var t=this.get(e),r;null==t&&(r=yield this.create(e,i),this.add(e,r),e.is(Ae.aA.IStiPivotTableElement)&&Ae.aA.StiPivotToContainerCache.remove(e)),e.is(Ae.aA.IStiPivotTableElement)&&this.pivotCreator.create(e,t)}catch(t){this.add(e,Qf.nullTable)}finally{}}})}static getKey(e){let t=Tn.getOrGeneratedKey(e);null==t&&(t="");let r=null!=e?e.getMeters():null;if(null==r||!r.any())return`${t}.0`;let i=e.page.as(Ae.aA.IStiDashboard),n=0,a=r.select(t=>(n++).toString()+t.getUniqueCode().toString());var s,o,o,l,l,u;if(null!=i){let t=i.getUserFilters(e);null==t||null!=(o=t.select(t=>(n++).toString()+t.getUniqueCode().toString()))&&a.addRange(o)}let h=this.getDataFilters(e);null==h||null!=(o=h.select(t=>(n++).toString()+t.getUniqueCode().toString()))&&a.addRange(o);let c=this.getDrillDownFilters(e);if(null==c||null!=(l=c.select(t=>(n++).toString()+t.getUniqueCode().toString()))&&a.addRange(l),!e.is(xf)||null!=(l=e.userSorts.select(t=>(n++).toString()+t.getUniqueCode().toString()))&&a.addRange(l),e.is(Ae.aA.IStiPivotTableElement)&&e.is(Ae.aA.IStiTitleElement)){let t=e.title.text;null==t&&(t=""),a.add(t.stimulsoft().getHashCode().toString()),a.addRange(e.pivotTableConditions.select(t=>t.getUniqueCode().toString()).toList()),a.add(e.summaryDirection.toString())}let d=0;for(u of a)d+=u.stimulsoft().getHashCode();var s=bn.getFilterRulesHash(i.getApp(),s);return d+=s,`${t}.${d}`}static cleanCache(e){null==e?this.cache.clear():this.cache.keys.where(t=>t.stimulsoft().startsWith(e)).forEach(t=>this.cache.remove(t))}static getUserFilters(t,e){if(null==e)return null;return e.getUserFilters(t)}static getUserSorts(t,e){if(!t.is(xf))return null;return 0<(e&zd.AllowDataSort)?t.userSorts:null}static getDataFilters(t){return t.is(If)?t.dataFilters:null}static getTransformActions(t){return t.is(Ef)?t.transformActions:null}static getTransformFilters(t){return t.is(kf)?t.transformFilters:null}static getTransformSorts(t){return t.is(Nf)?t.transformSorts:null}static getDrillDownFilters(t){return t.is(Yf)?t.drillDownFilters:null}};yt.elements=new Ee,yt.cache=new Ri,Ae.aA.StiElementDataCache=yt;{let r=class{constructor(t,e){this.fullScreenButton=!0,this.saveButton=!0,null!=t&&(this.saveButton=t),null!=e&&(this.fullScreenButton=e)}meta(){return this._hash||(this._hash=[new Wi("FullScreenButton","",!0),new Wi("SaveButton","",!0)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static createFromJsonObject(t){let e=new r;return e.loadFromJsonObject(t),e}static createFromXml(t){let e=new r;return e.loadFromXml(t),e}clone(){return this.stimulsoft().memberwiseClone()}isDefault(){return this.fullScreenButton&&this.saveButton}StiElementLayout(){}};Ae.aA.StiElementLayout=r}Ae.aA.StiGroupElementHelper=class{static getGroup(e){if(null==e)return null;if(e.is(Ae.aA.IStiGroupElement)){let t=e.group;if(null==t)return null;var e=e.as(Af);if(null!=e&&!e.crossFiltering)return null;return t.toLowerCase().trim()}return null}},Ae.aA.StiInvokeMethodsHelper=class{static invokeStaticMethod(t,e,r,i,n){let a=t.split(".").concat(...e.split("."));if("Stimulsoft"!=a.splice(0,1)[0])return null;let s=Y;while(0<a.length){var o=a.splice(0,1)[0];s=s[o]}if(s==Y)return null;let l=s[r];if(null!=l)return l.apply(s,i);return null}static setPropertyValue(t,e,r){null!=t&&(t[e]=r)}static getPropertyValue(t,e){if(null!=t)return t[e];return null}};{let e=class{constructor(t,e,r,i){this.left=3,this.top=3,this.right=3,this.bottom=3,this.left=t,this.right=r,this.top=e,this.bottom=i}saveToJsonObject(t=3,e=3,r=3,i=3){let n=new te;return n.addPropertyNumber("Left",this.left,t),n.addPropertyNumber("Top",this.top,e),n.addPropertyNumber("Right",this.right,r),n.addPropertyNumber("Bottom",this.bottom,i),n}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Left":this.left=e.value.stimulsoft().toNumber();break;case"Top":this.top=e.value.stimulsoft().toNumber();break;case"Right":this.right=e.value.stimulsoft().toNumber();break;case"Bottom":this.bottom=e.value.stimulsoft().toNumber();break}}loadFromXml(t){let e=t.textContent.split(",");this.left=e[0].stimulsoft().toNumber(),this.top=e[1].stimulsoft().toNumber(),this.right=e[2].stimulsoft().toNumber(),this.bottom=e[3].stimulsoft().toNumber()}clone(){return this.stimulsoft().memberwiseClone()}get isEmpty(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom}equals(t){var e;return null!=t&&t.left==this.left&&t.top==this.top&&t.right==this.right&&t.bottom==this.bottom}static create(t=3){return new e(t,t,t,t)}};e.empty=e.create(),Ae.aA.StiMargin=e}{let e=class{constructor(t,e,r,i){this.left=5,this.top=5,this.right=5,this.bottom=5,this.left=t,this.right=r,this.top=e,this.bottom=i}saveToJsonObject(t=5,e=5,r=5,i=5){let n=new te;return n.addPropertyNumber("Left",this.left,t),n.addPropertyNumber("Top",this.top,e),n.addPropertyNumber("Right",this.right,r),n.addPropertyNumber("Bottom",this.bottom,i),n}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"Left":this.left=e.value.stimulsoft().toNumber();break;case"Top":this.top=e.value.stimulsoft().toNumber();break;case"Right":this.right=e.value.stimulsoft().toNumber();break;case"Bottom":this.bottom=e.value.stimulsoft().toNumber();break}}loadFromXml(t){let e=t.textContent.split(",");this.left=e[0].stimulsoft().toNumber(),this.top=e[1].stimulsoft().toNumber(),this.right=e[2].stimulsoft().toNumber(),this.bottom=e[3].stimulsoft().toNumber()}clone(){return this.stimulsoft().memberwiseClone()}get isEmpty(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom}equals(t){var e;return null!=t&&t.left==this.left&&t.top==this.top&&t.right==this.right&&t.bottom==this.bottom}static create(t=5){return new e(t,t,t,t)}};e.empty=e.create(),Ae.aA.StiPadding=e}var ot=class{};ot.sets=new Ee([qr.get2("2f528f","3960a7","406dbb","6d89cb","9eadd8","c0c9e4"),qr.get2("ae5a21","ca6a28","e2772e","ef9164","f3b29a","f6ccbe"),qr.get2("787878","8c8c8c","9d9d9d","b1b1b1","c6c6c6","d8d8d8"),qr.get2("bc8c00","daa400","f3b700","ffc859","ffd695","ffe2bc"),qr.get2("41719c","4c84b6","5694cb","7aa9da","a4c0e3","c4d5eb"),qr.get2("507e32","5f933b","6ba543","88b76e","acca9e","c9dbc1"),qr.get2("5f5f5f","b3b3b3","898989","212121","dadada","aaaaaa"),qr.get2("c0c9e4","9eadd8","6d89cb","406dbb","3960a7","2f528f"),qr.get2("f6ccbe","f3b29a","ef9164","e2772e","ca6a28","ae5a21"),qr.get2("d8d8d8","c6c6c6","b1b1b1","9d9d9d","8c8c8c","787878"),qr.get2("ffe2bc","ffd695","ffc859","f3b700","daa400","bc8c00"),qr.get2("c4d5eb","a4c0e3","7aa9da","5694cb","4c84b6","41719c"),qr.get2("c9dbc1","acca9e","88b76e","6ba543","5f933b","507e32")]),ot.negativeSets=new Ee([qr.get2("ee0e1b","d20213","b3030f","9d040c","7f0005","6b0004"),qr.get2("f36642","f24e29","e64926","d74222","c93c1e","af3017"),qr.get2("de3a70","c81a57","c81a57","b21852","9c144e","780d46"),qr.get2("718792","5b7481","4f6570","41525b","344047","252e32")]),Ae.aA.StiPredefinedColors=ot,Ae.aA.StiStringMeasureCache=class{};{let r=class{constructor(t,e,r,i){this._width=0,this._minWidth=30,this._maxWidth=300,this.wordWrap=!1,null!=t&&(this.width=t),null!=e&&(this.minWidth=e),null!=r&&(this.maxWidth=r),null!=i&&(this.wordWrap=i)}meta(){return this._hash||(this._hash=[new ji("Width"),new ji("MinWidth"),new ji("MaxWidth"),new Wi("WordWrap")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static createFromJsonObject(t){let e=new r;return e.loadFromJsonObject(t),e}static createFromXml(t){let e=new r;return e.loadFromXml(t),e}clone(){return this.stimulsoft().memberwiseClone()}get width(){return this._width}set width(t){this._width!=t&&(this._width=t=t<0?0:t)}get minWidth(){return this._minWidth}set minWidth(t){this._minWidth!=t&&(this._minWidth=t=t<0?0:t)}get maxWidth(){return this._maxWidth}set maxWidth(t){this._maxWidth!=t&&(this._maxWidth=t=t<=0?300:t)}isDefault(){return 0==this.width&&30==this.minWidth&&300==this.maxWidth&&this.wordWrap}checkRules(){this.maxWidth<this.minWidth&&(this.minWidth=this.maxWidth),this.width<this.minWidth&&0!=this.width&&(this.width=this.minWidth),this.width>this.maxWidth&&(this.width=this.maxWidth)}getUniqueCode(){var t=this.width,t;return t=297*(t=297*(t=297*t^this.minWidth)^this.maxWidth)^this.wordWrap.stimulsoft().getHashCode(),Math.abs(t)}};Ae.aA.StiTableColumnSize=r}let Zf=Ae.aA.StiChartSeriesType;{let i=class{constructor(t,e,r,i){this.seriesType=Zf.ClusteredColumn,this.key=null!=t?t:_i.generateKey(),this.name=null!=e?e:"Name",this.state=r||null,this.seriesType=null!=i?i:Zf.ClusteredColumn}meta(){return this._hash||(this._hash=[new Ui("Key"),new Ui("Name"),new Ui("State"),new Gi("SeriesType","",Zf,Zf.ClusteredColumn)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}saveToString(){try{let t=this.saveToJsonObject(as.Report);if(t)return t.serialize()}catch(t){Ae.b.StiError.showError(t,!1)}return""}toList(){return new Ee([this])}static loadFromJson(t){let e=new i;return e.loadFromJsonObject(t),e}static loadFromJson2(t){let e=new i,r=new te;return r.deserialize(t),e.loadFromJsonObject(r),e}static loadFromXml(t){let e=new i;return e.loadFromXml(t),e}};Ae.aA.StiUserViewState=i}Ae.aQ.IStiDashboardExportSettings=new Ae.b.Interface("IStiDashboardExportSettings"),Ae.aQ.IStiDataDashboardExportSettings=new Ae.b.Interface("IStiDataDashboardExportSettings"),Ae.aQ.IStiExcelDashboardExportSettings=new Ae.b.Interface("IStiExcelDashboardExportSettings"),Ae.aQ.IStiHtmlDashboardExportSettings=new Ae.b.Interface("IStiHtmlDashboardExportSettings"),Ae.aQ.IStiImageDashboardExportSettings=new Ae.b.Interface("IStiImageDashboardExportSettings"),Ae.aQ.IStiPdfDashboardExportSettings=new Ae.b.Interface("IStiPdfDashboardExportSettings");let $f=Ae.ap.IStiSimpleBorder;Ae.aP.StiBorderElementHelper=class{static getBorderContentRect(t,e,r=!0){var i=e.as($f);if(null!=i&&null==i.border2)return t;return this.getBorderContentRect2(t,i.border2,Ae.aP.StiElementScale.factor(e),r)}static getBorderContentRect2(t,e,r,i=!0){let n=e.getSizeIncludingSide();return 1<=n&&(n-=i?1:0),t.inflate(Math.ceil(-n*r),Math.ceil(-n*r)),t}static getBorderContentRect3(t,e,r,i=!0){let n=e.getSizeIncludingSide();return 1<=n&&(n-=i?1:0),t.inflate(Math.ceil(-n*r),Math.ceil(-n*r)),t}},Ae.aP.StiCrossLinkedFilterHelper=class{static isCrossLinkedFilter(t){if(null==t)return!1;let r=t.as(gl).page.getComponents().toList().where(t=>t.is(Ae.aA.IStiFilterElement));if(null==r)return!1;let i=new Ee;while(1){let e=t.getParentKey();if(De.isNullOrWhiteSpace(e))return!1;if(null==(t=r.cast().firstOrDefault(t=>null!=t&&t.getKey()==e)))return!1;if(i.contains(t))return!0;i.add(t)}}};let tS=Ae.d.StiAppExpressionHelper;Ae.aP.StiDashboardExpressionHelper=class{static getBackColor(t,e){return this.getColor(t,e,"backColor")}static getForeColor(t,e){return this.getColor(t,e,"foreColor")}static getColor(t,e,r){var t=t;return tS.isExpressionSpecified(t,r)?Ae.al.StiAppExpressionParser.parseColorExpression(t,r,!0):e}};var l=class{static getSettingsPath(){return""}static getNewSettingsPath(){return""}static save(){if(null==this.dbsFiles)return!1;try{}catch(t){return!0}return!0}static load(){if(null!=this.dbsFiles)return;try{}catch(t){}if(null==this.dbsFiles||null==this.reportFiles)try{}catch(t){}null==this.dbsFiles&&(this.dbsFiles=new Ee),null==this.reportFiles&&(this.reportFiles=new Ee)}static add(t,e,r=!0){if(null==t||null==e)return;this.load();let i=!1;var e=e.toLowerCase();t.pages.containsDashboards?(this.dbsFiles.contains(e)||(this.dbsFiles.add(e),i=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),i=!0)):(this.reportFiles.contains(e)||(this.reportFiles.add(e),i=!0),this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),i=!0)),i&&r&&this.save()}static add2(t,e,r=!0){if(null==e)return;this.load();let i=!1;var e=e.toLowerCase();t?(this.dbsFiles.contains(e)||(this.dbsFiles.add(e),i=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),i=!0)):(this.reportFiles.contains(e)||(this.reportFiles.add(e),i=!0),this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),i=!0)),i&&r&&this.save()}static remove(t){if(null==t)return;this.load();var t=t.toLowerCase();let e=!1;this.dbsFiles.contains(t)&&(this.dbsFiles.remove(t),e=!0),this.reportFiles.contains(t)&&(this.reportFiles.remove(t),e=!0),e&&this.save()}static containsDbs(t){if(null==t)return!1;return this.load(),this.dbsFiles.contains(t.toLowerCase())}static containsFile(t){if(null==t)return!1;this.load();var t=t.toLowerCase();if(this.dbsFiles.contains(t))return!0;if(this.reportFiles.contains(t))return!0;return!1}},eS,rS,iS,nS,aS,sS,yt,k,l,ot,yt,k;l.dbsFiles=null,l.reportFiles=null,Ae.aP.StiDashboardRecentHelper=l,Ae.aP.StiElementScale=class{static factor(t){return 1}},Ae.aP.StiIndicatorElementMouseOverHelper=class{static setMouseOverPoint(t,e){this.indicatorElement=t,this.mouseOverPoint=e}static getMouseOverPoint(t,e=!1){if(null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&null!=this.mouseOverPoint)return e?new Fp(this.mouseOverPoint.x*t.zoom,this.mouseOverPoint.y*t.zoom):this.mouseOverPoint;return null}static resetMouseOverPoint(t){null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&(this.indicatorElement=null,this.mouseOverPoint=null)}},Ae.aP.StiMarginHelper=class{static applyMargin(t,e,r){null==r&&(r=Ae.aP.StiElementScale.factor(t));var t=t.as(Ae.aA.IStiMargin).margin;if(null==t)return e;return e.x+=t.left*r,e.y+=t.top*r,e.width-=t.left*r+t.right*r,e.height-=t.top*r+t.bottom*r,e}},Ae.aP.StiPaddingHelper=class{static applyPadding(t,e,r){null==r&&(r=Ae.aP.StiElementScale.factor(t));var t=t.as(Ae.aA.IStiPadding).padding;if(null==t)return e;return e.x+=t.left*r,e.y+=t.top*r,e.width-=t.left*r+t.right*r,e.height-=t.top*r+t.bottom*r,e}},Ae.aP.StiSortMenuHelper=class{static isAllowUserSorting(t){var e,r,i,n=t.as(Df);if(null!=n&&n.topN.mode!=Og.None)return!1;let a=t.as(Ae.aA.IStiElementInteraction);if(null!=a){var s=a.dashboardInteraction.as(Ae.aA.IStiAllowUserSortingDashboardInteraction);if(null!=s&&!s.allowUserSorting)return!1}var s=t.as(Ae.aA.IStiChartElement);if(null!=s)return s.isAxisAreaChart&&!s.isParetoChart&&!s.isScatterChart||s.isPieChart||s.isDoughnutChart;if(t.is(Ae.aA.IStiGaugeElement)&&null!=(null==t?void 0:t.getSeries())&&(null===t||void 0===t?void 0:t.dataMode)==Ae.c.StiDataMode.UsingDataFields)return!0;if(t.is(Ae.aA.IStiProgressElement)&&null!=(null==t?void 0:t.getSeries())&&(null===t||void 0===t?void 0:t.dataMode)==Ae.c.StiDataMode.UsingDataFields)return!0;if(t.is(Ae.aA.IStiIndicatorElement)&&null!=(null==t?void 0:t.getSeries())&&(null===t||void 0===t?void 0:t.dataMode)==Ae.c.StiDataMode.UsingDataFields)return!0;return!1}},Ae.aP.StiTableElementClickEventArgs=class extends Un{},Ae.aP.StiTableElementClickRightHelper=class{},Ae.aP.StiTableElementMouseOverHelper=class{},Ae.aP.StiTablePartDrawer=class{},Ae.aP.StiTableSizer=class{},Ae.aR.IStiCellIndicatorStyle=new Ae.b.Interface("IStiCellIndicatorStyle"),Ae.aR.ImplementsIStiCellIndicatorStyle=[],(k=eS=Ae.aC.StiMapSource||(Ae.aC.StiMapSource={}))[k["Manual"]=0]="Manual",k[k["DataColumns"]=1]="DataColumns",(yt=rS=Ae.aC.StiDisplayNameType||(Ae.aC.StiDisplayNameType={}))[yt["None"]=1]="None",yt[yt["Full"]=2]="Full",yt[yt["Short"]=3]="Short",(ot=iS=Ae.aC.StiMapMode||(Ae.aC.StiMapMode={}))[ot["Choropleth"]=0]="Choropleth",ot[ot["Online"]=1]="Online",(l=nS=Ae.aC.StiMapID||(Ae.aC.StiMapID={}))[l["World"]=1]="World",l[l["Australia"]=2]="Australia",l[l["Austria"]=3]="Austria",l[l["Brazil"]=4]="Brazil",l[l["Canada"]=5]="Canada",l[l["China"]=6]="China",l[l["ChinaWithHongKongAndMacau"]=7]="ChinaWithHongKongAndMacau",l[l["ChinaWithHongKongMacauAndTaiwan"]=8]="ChinaWithHongKongMacauAndTaiwan",l[l["Taiwan"]=9]="Taiwan",l[l["EU"]=10]="EU",l[l["Europe"]=11]="Europe",l[l["EuropeWithRussia"]=12]="EuropeWithRussia",l[l["France"]=13]="France",l[l["Germany"]=14]="Germany",l[l["Italy"]=15]="Italy",l[l["Netherlands"]=16]="Netherlands",l[l["Russia"]=17]="Russia",l[l["UK"]=18]="UK",l[l["UKCountries"]=19]="UKCountries",l[l["USAAndCanada"]=20]="USAAndCanada",l[l["NorthAmerica"]=21]="NorthAmerica",l[l["SouthAmerica"]=22]="SouthAmerica",l[l["USA"]=23]="USA",l[l["Albania"]=24]="Albania",l[l["Andorra"]=25]="Andorra",l[l["Argentina"]=26]="Argentina",l[l["ArgentinaFD"]=27]="ArgentinaFD",l[l["Afghanistan"]=28]="Afghanistan",l[l["Armenia"]=29]="Armenia",l[l["Azerbaijan"]=30]="Azerbaijan",l[l["Belarus"]=31]="Belarus",l[l["Belgium"]=32]="Belgium",l[l["Bolivia"]=33]="Bolivia",l[l["BosniaAndHerzegovina"]=34]="BosniaAndHerzegovina",l[l["Bulgaria"]=35]="Bulgaria",l[l["Chile"]=36]="Chile",l[l["Colombia"]=37]="Colombia",l[l["Croatia"]=38]="Croatia",l[l["Cyprus"]=39]="Cyprus",l[l["CzechRepublic"]=40]="CzechRepublic",l[l["Denmark"]=41]="Denmark",l[l["Ecuador"]=42]="Ecuador",l[l["Estonia"]=43]="Estonia",l[l["FalklandIslands"]=44]="FalklandIslands",l[l["Finland"]=45]="Finland",l[l["Georgia"]=46]="Georgia",l[l["Greece"]=47]="Greece",l[l["Guyana"]=48]="Guyana",l[l["Hungary"]=49]="Hungary",l[l["Iceland"]=50]="Iceland",l[l["India"]=51]="India",l[l["Indonesia"]=52]="Indonesia",l[l["Ireland"]=53]="Ireland",l[l["Israel"]=54]="Israel",l[l["Japan"]=55]="Japan",l[l["Kazakhstan"]=56]="Kazakhstan",l[l["Latvia"]=57]="Latvia",l[l["Liechtenstein"]=58]="Liechtenstein",l[l["Lithuania"]=59]="Lithuania",l[l["Luxembourg"]=60]="Luxembourg",l[l["Macedonia"]=61]="Macedonia",l[l["Malaysia"]=62]="Malaysia",l[l["Malta"]=63]="Malta",l[l["Mexico"]=64]="Mexico",l[l["Moldova"]=65]="Moldova",l[l["Monaco"]=66]="Monaco",l[l["Montenegro"]=67]="Montenegro",l[l["NewZealand"]=68]="NewZealand",l[l["Norway"]=69]="Norway",l[l["Oceania"]=70]="Oceania",l[l["Paraguay"]=71]="Paraguay",l[l["Peru"]=72]="Peru",l[l["Philippines"]=73]="Philippines",l[l["Poland"]=74]="Poland",l[l["Portugal"]=75]="Portugal",l[l["Romania"]=76]="Romania",l[l["SanMarino"]=77]="SanMarino",l[l["SaudiArabia"]=78]="SaudiArabia",l[l["Serbia"]=79]="Serbia",l[l["Slovakia"]=80]="Slovakia",l[l["Slovenia"]=81]="Slovenia",l[l["SouthAfrica"]=82]="SouthAfrica",l[l["SouthKorea"]=83]="SouthKorea",l[l["Spain"]=84]="Spain",l[l["Suriname"]=85]="Suriname",l[l["Sweden"]=86]="Sweden",l[l["Switzerland"]=87]="Switzerland",l[l["Thailand"]=88]="Thailand",l[l["Turkey"]=89]="Turkey",l[l["Ukraine"]=90]="Ukraine",l[l["Uruguay"]=91]="Uruguay",l[l["Vatican"]=92]="Vatican",l[l["Venezuela"]=93]="Venezuela",l[l["Vietnam"]=94]="Vietnam",l[l["MiddleEast"]=95]="MiddleEast",l[l["Oman"]=96]="Oman",l[l["Qatar"]=97]="Qatar",l[l["Benelux"]=98]="Benelux",l[l["Scandinavia"]=99]="Scandinavia",l[l["FranceDepartments"]=100]="FranceDepartments",l[l["France18Regions"]=101]="France18Regions",l[l["CentralAfricanRepublic"]=102]="CentralAfricanRepublic",l[l["Asia"]=103]="Asia",l[l["SoutheastAsia"]=104]="SoutheastAsia",(k=aS=Ae.aC.StiMapStyleIdent||(Ae.aC.StiMapStyleIdent={}))[k["Style21"]=0]="Style21",k[k["Style24"]=1]="Style24",k[k["Style25"]=2]="Style25",k[k["Style26"]=3]="Style26",k[k["Style27"]=4]="Style27",k[k["Style28"]=5]="Style28",k[k["Style29"]=6]="Style29",k[k["Style30"]=7]="Style30",k[k["Style31"]=8]="Style31",k[k["Style32"]=9]="Style32",k[k["Style33"]=10]="Style33",k[k["Style34"]=11]="Style34",k[k["Style35"]=12]="Style35",(yt=sS=Ae.aC.StiMapType||(Ae.aC.StiMapType={}))[yt["None"]=0]="None",yt[yt["Individual"]=4]="Individual",yt[yt["Group"]=1]="Group",yt[yt["Heatmap"]=2]="Heatmap",yt[yt["HeatmapWithGroup"]=3]="HeatmapWithGroup";{let a=class extends Ae.ar.StiBaseStyle{constructor(t="",e="",r=null){super(t,e,r),this.defaultColors=[re.fromHtml("#70ad47"),re.fromHtml("#4472c4"),re.fromHtml("#ffc000"),re.fromHtml("#43682b"),re.fromHtml("#fd6a37"),re.fromHtml("#997300")],this.heatmap=new Ae.ar.StiHeatmapStyleData,this.heatmapWithGroup=new Ae.ar.StiHeatmapWithGroupStyleData,this._individualColor=re.fromHtml("#70ad47"),this._colors=[],this._defaultColor=re.fromHtml("#4472c4"),this._backColor=Fe.white,this._foreColor=Fe.white,this.borderSize=.7,this._borderColor=Fe.white,this.labelShadowForeground=Fe.fromArgb(255,251,251,251),this.labelForeground=Fe.fromArgb(255,37,37,37),this.bubbleBackColor=Fe.red,this.bubbleBorderColor=Fe.white,this.colors=this.defaultColors.stimulsoft().clone()}meta(){return this._hash||(this._hash=[...super.meta(),new Ma("HeatmapColors").check(()=>!1).setXml(t=>this.heatmapColors=Ae.bl.StiReportObjectStringConverter.convertStringToColorArray(t.textContent)),new Ma("Heatmap").check(()=>null!=this.heatmap),new Ma("HeatmapWithGroup").check(()=>null!=this.heatmapWithGroup),new dl("IndividualColor","",re.fromHtml("#70ad47")),new Ma("Colors").get(()=>ci.Serialize.colorArray(this.colors)).set(t=>this.colors=ci.Deserialize.colorArray(t.value)).setXml(t=>this.colors=Ae.bl.StiReportObjectStringConverter.convertStringToColorArray(t.textContent)),new dl("DefaultColor","",re.fromHtml("#4472c4")),new dl("BackColor","",Fe.white),new ji("BorderSize","",.7),new dl("BorderColor","",Fe.white),new dl("LabelShadowForeground","",Fe.fromArgb(255,251,251,251)),new dl("LabelForeground","",Fe.fromArgb(255,37,37,37)),new dl("BubbleBackColor","",Fe.red),new dl("BubbleBorderColor","",Fe.white)])}clone(){var t;let e=super.clone().as(a);return e.colors=null===(t=this.colors)||void 0===t?void 0:t.stimulsoft().clone(),e.heatmap=this.heatmap.clone(),e.heatmapWithGroup=this.heatmapWithGroup.clone(),e}get componentId(){return Ae.c.StiComponentId.StiMapStyle}get heatmapColors(){return null}set heatmapColors(t){null!=t&&0<t.length&&(this.heatmap.color=t[0],this.heatmapWithGroup.colors=t)}shouldSerializeHeatmap(){var t;return!(null!==(t=this.heatmap)&&void 0!==t&&t.isDefault())}shouldSerializeHeatmapWithGroup(){var t;return!(null!==(t=this.heatmapWithGroup)&&void 0!==t&&t.isDefault())}get individualColor(){return this._individualColor}set individualColor(t){this._individualColor=t}get colors(){return this._colors}set colors(t){this._colors=t}get defaultColor(){return this._defaultColor}set defaultColor(t){this._defaultColor=t}get backColor(){return this._backColor}set backColor(t){this._backColor=t}get foreColor(){return this._foreColor}set foreColor(t){this._foreColor=t}get borderColor(){return this._borderColor}set borderColor(t){this._borderColor=t}shouldSerializeBubbleBorderColor(){return!this.bubbleBorderColor.equals(Fe.white)}getStyleFromComponent(t,e){var r,r;if(e!=Ae.c.StiStyleElements.All)throw new Ue("StiCrossTabStyle support only StiStyleElements.All.");let i=t.stimulsoft().as(Ae.aC.StiMap);if(null==i)return;let n=i.getComponentStyle2().stimulsoft().as(a);if(null==n)return;this.individualColor=n.individualColor,null==n.colors?this.colors=null:this.colors=n.colors.stimulsoft().clone(),this.heatmap=null==n.heatmap?null:null===(r=n.heatmap.clone())||void 0===r?void 0:r.as(Ae.ar.StiHeatmapStyleData),this.heatmapWithGroup=null==n.heatmapWithGroup?null:null===(r=n.heatmapWithGroup.clone())||void 0===r?void 0:r.as(Ae.ar.StiHeatmapWithGroupStyleData),this.defaultColor=n.defaultColor,this.backColor=n.backColor,this.borderSize=n.borderSize,this.borderColor=n.borderColor,this.labelShadowForeground=n.labelShadowForeground,this.labelForeground=n.labelForeground}setStyleToComponent(t){}};Ae.ar.StiMapStyle=a}let oS=Ae.ar.StiMapStyle;Ae.aC.StiMapStyleFX=class extends oS{constructor(){super(...arguments),this.allowDashboard=!1}get localizeName(){return null}get styleId(){return null}};let lS=Ae.aA.StiElementStyleIdent;Ae.aC.StiMap35StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Sienna,this.heatmapWithGroup.colors=[qr.get("#c7986a"),qr.get("#260d09")],this.heatmap.color=qr.get("#c7986a")}get dashboardName(){return ne.get("PropertyColor","Sienna")}get styleId(){return Ae.aC.StiMapStyleIdent.Style35}get localizeName(){return ne.get("Chart","Style")+"35"}get borderColor(){return qr.get("#442513")}set borderColor(t){}get individualColor(){return qr.get("#c2b39c")}set individualColor(t){}get colors(){return[qr.get("#794d26"),qr.get("#c7986a"),qr.get("#c4b49a"),qr.get("#894d29"),qr.get("#422515"),qr.get("#564438"),qr.get("#876c57"),qr.get("#d8814b"),qr.get("#532525"),qr.get("#59413f")]}set colors(t){}get defaultColor(){return qr.get("#c2b39c")}set defaultColor(t){}get backColor(){return qr.get("#fefefe")}set backColor(t){}},Ae.aC.StiMap34StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkGreen,this.heatmapWithGroup.colors=[qr.get("#539790"),qr.get("#264945")],this.heatmap.color=qr.get("#539790")}get dashboardName(){return ne.get("PropertyColor","DarkGreen")}get styleId(){return Ae.aC.StiMapStyleIdent.Style34}get localizeName(){return ne.get("Chart","Style")+"34"}get borderColor(){return qr.get("e3911c")}set borderColor(t){}get individualColor(){return qr.get("e3c08e")}set individualColor(t){}get colors(){return[qr.get("144b45"),qr.get("ecb92f"),qr.get("d66153"),qr.get("25775b"),qr.get("319491"),qr.get("f7f7f7"),qr.get("dd7c21")]}set colors(t){}get defaultColor(){return qr.get("#e3c08e")}set defaultColor(t){}get backColor(){return qr.get("#3f745e")}set backColor(t){}},Ae.aC.StiMap33StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.AliceBlue,this.heatmapWithGroup.colors=[qr.get("#40568d"),qr.get("#ccd5f0")],this.heatmap.color=qr.get("#40568d")}get dashboardName(){return ne.get("PropertyColor","AliceBlue")}get styleId(){return Ae.aC.StiMapStyleIdent.Style33}get localizeName(){return ne.get("Chart","Style")+"33"}get borderColor(){return qr.get("647cb9")}set borderColor(t){}get individualColor(){return qr.get("40568d")}set individualColor(t){}get colors(){return[qr.get("40568d"),qr.get("4569bb"),qr.get("e47334"),qr.get("9d9c9c"),qr.get("f8b92d"),qr.get("5e93cc"),qr.get("6ea548")]}set colors(t){}get defaultColor(){return qr.get("#40568d")}set defaultColor(t){}get backColor(){return qr.get("#ffffff")}set backColor(t){}},Ae.aC.StiMap32StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Silver,this.heatmapWithGroup.colors=[qr.get("#3a5263"),qr.get("#c9d5dc")],this.heatmap.color=qr.get("#3a5263")}get dashboardName(){return ne.get("PropertyColor","Silver")}get styleId(){return Ae.aC.StiMapStyleIdent.Style32}get localizeName(){return ne.get("Chart","Style")+"32"}get borderColor(){return qr.get("bb8698a2")}set borderColor(t){}get individualColor(){return qr.get("3a5263")}set individualColor(t){}get colors(){return[qr.get("3a5263"),qr.get("90a1ab"),qr.get("c9d5dc")]}set colors(t){}get defaultColor(){return qr.get("#fefef9")}set defaultColor(t){}get backColor(){return qr.get("#6d7e8b")}set backColor(t){}},Ae.aC.StiMap31StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkTurquoise,this.heatmapWithGroup.colors=[qr.get("#a8d7e2"),qr.get("#1c4458")],this.heatmap.color=qr.get("#a8d7e2")}get dashboardName(){return ne.get("PropertyColor","DarkTurquoise")}get styleId(){return Ae.aC.StiMapStyleIdent.Style31}get localizeName(){return ne.get("Chart","Style")+"31"}get borderColor(){return qr.get("aa1c4458")}set borderColor(t){}get individualColor(){return qr.get("#5ea8bf")}set individualColor(t){}get colors(){return[re.fromHtml("#fefef9"),re.fromHtml("#a8d7e2"),re.fromHtml("#5ea8bf"),re.fromHtml("#2b7f9e"),re.fromHtml("#1c4458")]}set colors(t){}get defaultColor(){return qr.get("#fefef9")}set defaultColor(t){}get backColor(){return qr.get("#235e6d")}set backColor(t){}},Ae.aC.StiMap30StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkGray,this.heatmapWithGroup.colors=[qr.get("#d3d3d5"),qr.get("#4a4c55")],this.heatmap.color=qr.get("#d3d3d5")}get dashboardName(){return ne.get("PropertyColor","DarkGray")}get styleId(){return Ae.aC.StiMapStyleIdent.Style30}get localizeName(){return ne.get("Chart","Style")+"30"}get borderColor(){return qr.get("aadb7b46")}set borderColor(t){}get individualColor(){return qr.get("#4a4c55")}set individualColor(t){}get colors(){return[qr.get("#db7b46"),qr.get("#d3d3d5"),qr.get("#6b6e75"),qr.get("#4a4c55")]}set colors(t){}get defaultColor(){return qr.get("#d0d0d0")}set defaultColor(t){}get backColor(){return qr.get("#595b65")}set backColor(t){}},Ae.aC.StiMap29StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Blue,this.heatmapWithGroup.colors=[qr.get("#3498db"),qr.get("#ef717a")],this.heatmap.color=qr.get("#3498db")}get dashboardName(){return ne.get("PropertyColor","Blue")}get styleId(){return Ae.aC.StiMapStyleIdent.Style29}get localizeName(){return ne.get("Chart","Style")+"29"}get colors(){return[re.fromHtml("#3498db"),re.fromHtml("#ef717a"),re.fromHtml("#6dcbb3"),re.fromHtml("#f28161"),re.fromHtml("#fccd1b")]}set colors(t){}get individualColor(){return qr.get("#3498db")}set individualColor(t){}get defaultColor(){return re.fromHtml("#d0d0d0")}set defaultColor(t){}get backColor(){return re.fromHtml("#ffffff")}set backColor(t){}get borderColor(){return re.fromHtml("#b4b4b5")}set borderColor(t){}},Ae.aC.StiMap28StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkBlue,this.heatmapWithGroup.colors=[qr.get("#165d9e"),qr.get("#569436")],this.heatmap.color=qr.get("#165d9e")}get dashboardName(){return ne.get("PropertyColor","DarkBlue")}get styleId(){return Ae.aC.StiMapStyleIdent.Style28}get localizeName(){return ne.get("Chart","Style")+"28"}get colors(){return[re.fromHtml("#165d9e"),re.fromHtml("#577eb6"),re.fromHtml("#569436"),re.fromHtml("#225056"),re.fromHtml("#d4dae0")]}set colors(t){}get individualColor(){return qr.get("#165d9e")}set individualColor(t){}get defaultColor(){return re.fromHtml("#ffffff")}set defaultColor(t){}get backColor(){return re.fromHtml("#0a325a")}set backColor(t){}get borderColor(){return re.fromHtml("#99bbbbbb")}set borderColor(t){}},Ae.aC.StiMap27StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.SlateGray,this.heatmapWithGroup.colors=[qr.get("#0bac45"),qr.get("#ec334d")],this.heatmap.color=qr.get("#0bac45")}get dashboardName(){return ne.get("PropertyColor","SlateGray")}get styleId(){return Ae.aC.StiMapStyleIdent.Style27}get localizeName(){return ne.get("Chart","Style")+"27"}get individualColor(){return re.fromHtml("#0bac45")}set individualColor(t){}get borderColor(){return re.fromHtml("#bb33475b")}set borderColor(t){}get colors(){return[re.fromHtml("#0bac45"),re.fromHtml("#585257"),re.fromHtml("#ec334d"),re.fromHtml("#a1ae94"),re.fromHtml("#ed7d31"),re.fromHtml("#5ab0ee")]}set colors(t){}get defaultColor(){return re.fromHtml("#ffffff")}set defaultColor(t){}get backColor(){return re.fromHtml("#33475B")}set backColor(t){}},Ae.aC.StiMap26StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Turquoise,this.heatmapWithGroup.colors=[qr.get("#2ec6c8"),qr.get("#f4984e")],this.heatmap.color=qr.get("#2ec6c8")}get dashboardName(){return ne.get("PropertyColor","Turquoise")}get styleId(){return Ae.aC.StiMapStyleIdent.Style26}get localizeName(){return ne.get("Chart","Style")+"26"}get individualColor(){return re.fromHtml("#2ec6c8")}set individualColor(t){}get borderColor(){return re.fromHtml("#b4b4b5")}set borderColor(t){}get colors(){return[re.fromHtml("#2ec6c8"),re.fromHtml("#b5a1dd"),re.fromHtml("#5ab0ee"),re.fromHtml("#f4984e"),re.fromHtml("#d77a80"),re.fromHtml("#d04456")]}set colors(t){}get defaultColor(){return re.fromHtml("#d0d0d0")}set defaultColor(t){}get backColor(){return re.fromHtml("#ffffff")}set backColor(t){}},Ae.aC.StiMap25StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Green,this.heatmapWithGroup.colors=[qr.get("#70ad47"),qr.get("#ffc000")],this.heatmap.color=qr.get("#70ad47")}get dashboardName(){return ne.get("PropertyColor","Green")}get styleId(){return Ae.aC.StiMapStyleIdent.Style25}get localizeName(){return ne.get("Chart","Style")+"25"}get individualColor(){return re.fromHtml("#70ad47")}set individualColor(t){}get borderColor(){return re.fromHtml("#b4b4b5")}set borderColor(t){}get colors(){return[re.fromHtml("#70ad47"),re.fromHtml("#4472c4"),re.fromHtml("#ffc000"),re.fromHtml("#43682b"),re.fromHtml("#fd6a37"),re.fromHtml("#997300")]}set colors(t){}get defaultColor(){return re.fromHtml("#d0d0d0")}set defaultColor(t){}get backColor(){return re.fromHtml("#ffffff")}set backColor(t){}},Ae.aC.StiMap24StyleFX=class extends Ae.aC.StiMapStyleFX{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Orange,this.heatmapWithGroup.colors=[qr.get("#ed7d31"),qr.get("#70ad47")],this.heatmap.color=qr.get("#ed7d31")}get dashboardName(){return ne.get("PropertyColor","Blue")}get styleId(){return Ae.aC.StiMapStyleIdent.Style24}get localizeName(){return ne.get("Chart","Style")+"24"}get individualColor(){return re.fromHtml("#ed7d31")}set individualColor(t){}get colors(){return[re.fromHtml("#ed7d31"),re.fromHtml("#ffc000"),re.fromHtml("#70ad47"),re.fromHtml("#9e480e"),re.fromHtml("#997300"),re.fromHtml("#43682b")]}set colors(t){}get defaultColor(){return re.fromHtml("#d0d0d0")}set defaultColor(t){}get backColor(){return re.fromHtml("#ffffff")}set backColor(t){}get borderColor(){return re.fromHtml("#b4b4b5")}set borderColor(t){}};let uS=Ae.U.StiElementConsts;Ae.ar.StiDialogStyle=class extends Ae.ar.StiBaseStyle{constructor(){super(...arguments),this.font=new Ar("Arial",8),this.foreColor=Fe.black,this.backColor=Fe.white,this.glyphColor=Fe.dimGray,this.separatorColor=Fe.lightGray,this.selectedBackColor=re.fromHtml("#3498db"),this.selectedForeColor=Fe.white,this.selectedGlyphColor=Fe.white,this.hotBackColor=jl.light(Fe.lightGray,15),this.hotForeColor=uS.ForegroundColor,this.hotGlyphColor=uS.ForegroundColor,this.hotSelectedBackColor=jl.light(re.fromHtml("#3498db"),30),this.hotSelectedForeColor=Fe.white,this.hotSelectedGlyphColor=Fe.white,this.allowUseFont=!0,this.allowUseBackColor=!0,this.allowUseForeColor=!0}meta(){return this._hash||(this._hash=[...super.meta(),new dl("ForeColor","",Fe.black),new dl("BackColor","",Fe.white),new dl("GlyphColor","",Fe.dimGray),new dl("SeparatorColor","",Fe.lightGray),new dl("SelectedBackColor","",re.fromHtml("#3498db")),new dl("SelectedForeColor","",Fe.white),new dl("SelectedGlyphColor","",Fe.white),new dl("HotBackColor","",jl.light(Fe.lightGray,15)),new dl("HotForeColor","",uS.ForegroundColor),new dl("HotGlyphColor","",uS.ForegroundColor),new dl("HotSelectedBackColor","",jl.light(re.fromHtml("#3498db"),30)),new dl("HotSelectedForeColor","",Fe.white),new dl("HotSelectedGlyphColor","",Fe.white),new Wi("AllowUseFont","",!0),new Wi("AllowUseBackColor","",!0),new Wi("AllowUseForeColor","",!0),new Ui("Font").get(()=>ci.Serialize.fontArial8(this.font)).set(t=>this.font=ci.Deserialize.font(t.value,this.font)).setXml(t=>this.font=Ae.b.Convert.toFont(t.textContent))])}clone(){let t=super.clone();return t.font=this.font.clone(),t}sshouldSerializeFont(){return!(null!=this.font&&"Arial"==this.font.name&&8==this.font.size&&this.font.style==se.Regular)}shouldSerializeForeColor(){return!Fe.black.equals(this.foreColor)}shouldSerializeBackColor(){return!Fe.white.equals(this.backColor)}shouldSerializeGlyphColor(){return!Fe.dimGray.equals(this.glyphColor)}shouldSerializeSeparatorColor(){return!Fe.lightGray.equals(this.separatorColor)}shouldSerializeSelectedBackColor(){return!re.fromHtml("#3498db").equals(this.selectedBackColor)}shouldSerializeSelectedForeColor(){return!Fe.white.equals(this.selectedForeColor)}shouldSerializeSelectedGlyphColor(){return!Fe.white.equals(this.selectedGlyphColor)}shouldSerializeHotBackColor(){return!this.hotBackColor.equals(jl.light(Fe.lightGray,15))}shouldSerializeHotForeColor(){return!this.hotForeColor.equals(uS.ForegroundColor)}shouldSerializeHotGlyphColor(){return!this.hotGlyphColor.equals(uS.ForegroundColor)}shouldSerializeHotSelectedBackColor(){return!this.hotSelectedBackColor.equals(jl.light(re.fromHtml("#3498db"),30))}shouldSerializeHotSelectedForeColor(){return!Fe.white.equals(this.hotSelectedForeColor)}shouldSerializeHotSelectedGlyphColor(){return!Fe.white.equals(this.hotSelectedGlyphColor)}getStyleFromComponent(t,e,r=null){}setStyleToComponent(t){}},Ae.c.StiTableStyle=class extends bl{constructor(t="",e="",r){super(t,e,r),this.backColor=Fe.white,this.dataColor=Fe.white,this.dataForeground=re.fromHtml("#222"),this.selectedDataColor=re.fromHtml("#3498db"),this.selectedDataForeground=Fe.white,this.alternatingDataColor=re.fromHtml("#eee"),this.alternatingDataForeground=re.fromHtml("#222"),this.headerColor=re.fromHtml("#3498db"),this.headerForeground=Fe.white,this.hotHeaderColor=Fe.transparent,this.footerColor=Fe.white,this.footerForeground=Fe.black,this.gridColor=Fe.gainsboro}meta(){return this._hash||(this._hash=[...super.meta(),new dl("BackColor","",Fe.transparent),new dl("DataColor","",Fe.white),new dl("DataForeground","",re.fromHtml("#222")),new dl("SelectedDataColor","",re.fromHtml("#3498db")),new dl("SelectedDataForeground","",Fe.white),new dl("AlternatingDataColor","",re.fromHtml("#eee")),new dl("AlternatingDataForeground","",re.fromHtml("#222")),new dl("HeaderColor","",re.fromHtml("#3498db")),new dl("HeaderForeground","",Fe.white),new dl("HotHeaderColor","",Fe.transparent),new dl("FooterColor","",Fe.white),new dl("FooterForeground","",Fe.black),new dl("GridColor","",Fe.black)])}getColor(t){return Fe.white.equals(t)?Fe.fromArgb(180,255,255,255):t}getStyleFromComponent(t,e){}setStyleToComponent(t){}};{let t=Ae.c.StiBrushType,a=class extends Ae.ar.StiBaseStyle{constructor(){super(...arguments),this.border=new Zr,this.brush=new si(Fe.white),this.chartAreaBrush=new si(Fe.white),this.chartAreaBorderColor=Fe.fromArgb(171,172,173),this.chartAreaShowShadow=!1,this.seriesLighting=!1,this.seriesShowShadow=!1,this.seriesShowBorder=!1,this.seriesBorderThickness=1,this.seriesLabelsLineColor=Fe.fromArgb(140,140,140),this.trendLineColor=Fe.fromArgb(140,140,140),this.trendLineShowShadow=!1,this.seriesLabelsBrush=new si(Fe.white),this.seriesLabelsColor=Fe.fromArgb(90,90,90),this.seriesLabelsBorderColor=Fe.fromArgb(140,140,140),this.legendBrush=new si(Fe.white),this.legendLabelsColor=Fe.fromArgb(140,140,140),this.legendBorderColor=Fe.fromArgb(105,105,105),this.legendTitleColor=Fe.fromArgb(105,105,105),this.axisTitleColor=Fe.fromArgb(140,140,140),this.axisLineColor=Fe.fromArgb(140,140,140),this.axisLabelsColor=Fe.fromArgb(140,140,140),this.markerVisible=!0,this.interlacingHorBrush=new si(Fe.fromArgb(10,155,155,155)),this.interlacingVertBrush=new si(Fe.fromArgb(10,155,155,155)),this.gridLinesHorColor=Fe.fromArgb(100,105,105,105),this.gridLinesVertColor=Fe.fromArgb(100,105,105,105),this.brushType=t.Solid,this.styleColors=[Fe.fromArgb(112,173,71),Fe.fromArgb(68,114,196),Fe.fromArgb(255,192,0),Fe.fromArgb(67,104,43),Fe.fromArgb(253,106,55),Fe.fromArgb(153,115,0)],this.basicStyleColor=Fe.whiteSmoke,this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0,this.allowUseBrush=!0}meta(){return this._hash||(this._hash=[...super.meta(),new Ui(["Border","br"]).get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds(["Brush","bh"]),new Gi("BrushType","",t,t.Glare),new Ma("StyleColors").get(()=>ci.Serialize.colorArray(this.styleColors)).set(t=>this.styleColors=ci.Deserialize.colorArray(t.value)).setXml(t=>this.styleColors=Ae.bl.StiReportObjectStringConverter.convertStringToColorArray(t.textContent)),new dl("BasicStyleColor","",Fe.whiteSmoke),new Wi("AllowUseBorderFormatting","",!0),new Wi("AllowUseBorderSides","",!0),new Wi("AllowUseBrush","",!0),new ds("ChartAreaBrush"),new dl("ChartAreaBorderColor","",Fe.fromArgb(171,172,173)),new Wi("ChartAreaShowShadow"),new ds("SeriesLabelsBrush"),new dl("SeriesLabelsColor","",Fe.fromArgb(90,90,90)),new dl("SeriesLabelsLineColor","",Fe.fromArgb(140,140,140)),new dl("SeriesLabelsBorderColor","",Fe.fromArgb(90,90,90)),new Wi("SeriesShowShadow"),new Wi("SeriesShowBorder"),new ji("SeriesBorderThickness","",1),new Wi("SeriesLighting"),new dl("TrendLineColor","",Fe.fromArgb(140,140,140)),new Wi("TrendLineShowShadow"),new ds("LegendBrush"),new dl("LegendLabelsColor","",Fe.fromArgb(140,140,140)),new dl("LegendBorderColor","",Fe.fromArgb(105,105,105)),new dl("LegendTitleColor","",Fe.fromArgb(105,105,105)),new dl("AxisTitleColor","",Fe.fromArgb(140,140,140)),new dl("AxisLineColor","",Fe.fromArgb(140,140,140)),new dl("AxisLabelsColor","",Fe.fromArgb(140,140,140)),new Wi("MarkerVisible","",!0),new ds("InterlacingHorBrush"),new ds("InterlacingVertBrush"),new dl("GridLinesHorColor","",Fe.fromArgb(105,105,105)),new dl("GridLinesVertColor","",Fe.fromArgb(105,105,105))])}getStyleFromComponent(e,t,r=null){let i=e.as(Ae.as.IStiChart);if(null!=i){var n,e;if(i.style.stimulsoft().is(Ae.as.IStiCustomStyle)?(n=i.customStyleName,!De.isNullOrEmpty(n)&&null!=i.report&&i.report.styles.getByName(n)&&i.report.styles.getByName(n).is(a)&&(this.basicStyleColor=i.report.styles.getByName(n).basicStyleColor,this.styleColors=i.report.styles.getByName(n).styleColors,this.axisLabelsColor=i.report.styles.getByName(n).axisLabelsColor)):(this.basicStyleColor=i.style.core.basicStyleColor,this.styleColors=i.style.core.styleColors,this.axisLabelsColor=i.style.core.axisLabelsColor),0<(t&Ae.c.StiStyleElements.Border)){let t=e.stimulsoft().as(el);this.border=t.border.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0}if(0<(t&Ae.c.StiStyleElements.Brush)){let t=e.as(rl);this.brush=t.brush.clone(),this.allowUseBrush=!0}e.is(id)&&0<(t&Ae.c.StiStyleElements.Brush)&&(e=e,this.brush=new si(e.backColor),this.allowUseBrush=!0)}}};Ae.ar.StiChartStyle=a}Ae.aR.StiElementStyle=class extends bl{drawBox(t,e,r,i){}drawStyle(t,e,r,i){}getStyleFromComponent(t,e){}setStyleToComponent(t){}};var ot=Ae.aR.StiElementStyle;Ae.aR.StiCardsElementStyle=class extends ot{constructor(){super(...arguments),this.lineColor=Fe.gainsboro,this.cellForeColor=qr.get("222"),this.backColor=Fe.white,this.cellDataBarsOverlapped=Fe.fromArgb(255,51,94,150),this.cellDataBarsPositive=Fe.fromArgb(255,99,142,198),this.cellDataBarsNegative=Fe.fromArgb(255,255,0,0),this.cellWinLossPositive=Fe.fromArgb(255,99,142,198),this.cellWinLossNegative=Fe.fromArgb(255,255,0,0),this.cellSparkline=Fe.fromArgb(255,83,126,182),this.cellIndicatorPositive=Fe.green,this.cellIndicatorNegative=Fe.red,this.cellIndicatorNeutral=Fe.lightGray}get localizedName(){return""}},Ae.aT.StiDarkGreenCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=Ae.c.StiComponentId.StiDarkGrayDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.cellForeColor=qr.get("f6f3f5"),this.cellBackColor=qr.get("3f745e"),this.backColor=qr.get("595b65"),this.lineColor=qr.get("66d3d3d5"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("db7b46"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","DarkGreen")}};let hS=Ae.aC.StiMap35StyleFX,cS=Ae.aT.StiDarkGreenCardsElementStyle,dS=Ae.aP.StiDashboardExpressionHelper,mS=Ae.c.StiTableStyle,pS=Ae.aC.StiMap28StyleFX,gS=Ae.aC.StiMap27StyleFX,fS=Ae.aC.StiMap26StyleFX,SS=Ae.aC.StiMap25StyleFX,bS=Ae.aC.StiMap24StyleFX,yS=Ae.aC.StiMap29StyleFX,vS=Ae.aC.StiMap30StyleFX,wS=Ae.aC.StiMap31StyleFX,CS=Ae.aC.StiMap32StyleFX,TS=Ae.aC.StiMap33StyleFX,PS=Ae.aC.StiMap34StyleFX,IS=Ae.ar.StiDialogStyle,AS=Ae.aC.StiMapStyleIdent,xS=Ae.ar.StiChartStyle;Ae.aR.StiDashboardStyleHelper=class{static cloneColors(e){if(null==e)return null;let r=[];for(let t=0;t<e.length;t++)r.push(e[t]);return r}static getCopyChartStyle(t,e){let r=t.core,i=new xS;return i.brush=new si(this.getBackColor(e)),i.chartAreaBrush=r.chartAreaBrush.clone(),i.chartAreaBorderColor=r.chartAreaBorderColor,i.seriesLighting=r.seriesLighting,i.seriesShowShadow=r.seriesShowShadow,i.seriesShowBorder=r.seriesShowBorder,i.seriesLabelsBrush=r.seriesLabelsBrush.clone(),i.seriesLabelsColor=r.seriesLabelsColor,i.seriesLabelsBorderColor=r.seriesLabelsBorderColor,i.legendBrush=r.legendBrush,i.legendLabelsColor=r.legendLabelsColor,i.legendBorderColor=r.legendBorderColor,i.legendTitleColor=r.legendTitleColor,i.axisTitleColor=r.axisTitleColor,i.axisLineColor=r.axisLineColor,i.axisLabelsColor=r.axisLabelsColor,i.markerVisible=r.markerVisible,i.interlacingHorBrush=r.interlacingHorBrush.clone(),i.interlacingVertBrush=r.interlacingVertBrush.clone(),i.gridLinesHorColor=r.gridLinesHorColor,i.gridLinesVertColor=r.gridLinesVertColor,i.styleColors=this.cloneColors(r.styleColors),i.basicStyleColor=r.basicStyleColor,i}static getCopyTableStyle(t){let e=new mS;return e.backColor=t.backColor,e.alternatingDataColor=t.alternatingCellBackColor,e.alternatingDataForeground=t.alternatingCellForeColor,e.dataColor=t.cellBackColor,e.dataForeground=t.cellForeColor,e.gridColor=t.lineColor,e.headerColor=t.headerBackColor,e.headerForeground=t.headerForeColor,e.hotHeaderColor=t.hotHeaderBackColor,e.selectedDataColor=t.selectedCellBackColor,e.selectedDataForeground=t.selectedCellForeColor,e.footerColor=t.footerColor,e.footerForeground=t.footerForeground,e}static convertToReportGaugeStyle(e){let t=null;var r,r;e.style!=lS.Custom||De.isNullOrEmpty(e.customStyleName)?(r=(e.style==lS.Auto?e.page:e).style,t=this.getGaugeStyle2(r)):null!=(r=e.report.styles.toList().firstOrDefault(t=>t.name==e.customStyleName))&&(t=new Ae.c["Gauge"].StiCustomGaugeStyle(r)),null==t&&(t=new Ae.c["Gauge"].StiGaugeStyleXF29);let i=t.core,n=new Ae.c.StiGaugeStyle;return n.brush=i.brush.clone(),n.borderColor=i.borderColor,n.foreColor=i.foreColor,n.targetColor=i.targetColor,n.borderWidth=i.borderWidth,n.tickMarkMajorBrush=new ei,n.tickMarkMajorBorder=i.tickMarkMajorBorder.clone(),n.tickMarkMinorBrush=i.tickMarkMinorBrush.clone(),n.tickMarkMinorBorder=i.tickMarkMinorBorder.clone(),n.tickLabelMajorTextBrush=i.tickLabelMajorTextBrush.clone(),n.tickLabelMajorFont=i.tickLabelMajorFont.clone(),n.tickLabelMinorTextBrush=i.tickLabelMinorTextBrush.clone(),n.tickLabelMinorFont=i.tickLabelMinorFont.clone(),n.markerBrush=i.markerBrush.clone(),n.linearBarBrush=i.linearBarBrush.clone(),n.linearBarBorderBrush=i.linearBarBorderBrush.clone(),n.linearBarEmptyBrush=i.linearBarEmptyBrush.clone(),n.linearBarEmptyBorderBrush=i.linearBarEmptyBorderBrush.clone(),n.radialBarBrush=i.radialBarBrush.clone(),n.radialBarBorderBrush=i.radialBarBorderBrush.clone(),n.radialBarEmptyBrush=i.radialBarEmptyBrush.clone(),n.radialBarEmptyBorderBrush=i.radialBarEmptyBorderBrush.clone(),n.needleBrush=i.needleBrush.clone(),n.needleBorderBrush=i.needleBorderBrush.clone(),n.needleCapBrush=i.needleCapBrush.clone(),n.needleCapBorderBrush=i.needleCapBorderBrush.clone(),n}static convertToReportPivotTableStyle(t){var t=this.getPivotTableStyle(t);let e=new lu;return e.backColor=t.backColor,e.alternatingCellForeColor=t.alternatingCellForeColor,e.alternatingCellBackColor=t.alternatingCellBackColor,e.cellBackColor=t.cellBackColor,e.cellForeColor=t.cellForeColor,e.lineColor=t.lineColor,e.columnHeaderBackColor=t.columnHeaderBackColor,e.columnHeaderForeColor=t.columnHeaderForeColor,e.hotColumnHeaderBackColor=t.hotColumnHeaderBackColor,e.hotRowHeaderBackColor=t.hotRowHeaderBackColor,e.rowHeaderBackColor=t.rowHeaderBackColor,e.rowHeaderForeColor=t.rowHeaderForeColor,e.selectedCellBackColor=t.selectedCellBackColor,e.selectedCellForeColor=t.selectedCellForeColor,e}static convertToReportIndicatorStyle(t){var e=this.getIndicatorStyle(t);let r=new Ae.c.StiIndicatorStyle;return r.backColor=this.getBackColor(t),r.foreColor=this.getForeColor(t),r.hotBackColor=this.getHotBackColor(t),r.glyphColor=e.glyphColor,r.positiveColor=e.positiveColor,r.negativeColor=e.negativeColor,r}static convertToReportProgressStyle(t){var t=this.getProgressStyle(t);let e=new Ae.c.StiProgressStyle;return e.backColor=t.backColor,e.trackColor=t.trackColor,e.bandColor=t.bandColor,e.seriesColors=t.seriesColors,e}static convertToReportRegionMapStyle(e){let t;var r;t=e.style!=lS.Custom||De.isNullOrEmpty(e.customStyleName)?(r=(e.style==lS.Auto?e.page:e).style,this.getMapStyle2(r)):e.report.styles.toList().firstOrDefault(t=>t.name==e.customStyleName),null==t&&(t=new yS);let i=new oS;return i.backColor=t.backColor,i.borderColor=t.borderColor,i.borderSize=t.borderSize,i.colors=t.colors,i.defaultColor=t.defaultColor,i.individualColor=t.individualColor,i.labelForeground=t.labelForeground,i.labelShadowForeground=t.labelShadowForeground,i.bubbleBackColor=t.bubbleBackColor,i.bubbleBorderColor=t.bubbleBorderColor,i.heatmap=t.heatmap.clone(),i.heatmapWithGroup=t.heatmapWithGroup.clone(),i}static convertToReportControlStyle(t){var t=this.getControlStyle(t);let e=new IS;return e.backColor=t.backColor,e.foreColor=t.foreColor,e.glyphColor=t.glyphColor,e.hotBackColor=t.hotBackColor,e.hotForeColor=t.hotForeColor,e.hotGlyphColor=t.hotGlyphColor,e.hotSelectedBackColor=t.hotSelectedBackColor,e.hotSelectedForeColor=t.hotSelectedForeColor,e.hotSelectedGlyphColor=t.hotSelectedGlyphColor,e.selectedBackColor=t.selectedBackColor,e.selectedForeColor=t.selectedForeColor,e.selectedGlyphColor=t.selectedGlyphColor,e.separatorColor=t.separatorColor,e}static getDashboardBackColor(t,e){if(null==t)return Fe.white;var r=t.as(id);let i=dS.getBackColor(t,r.backColor);if(null!=i&&!i.equals(Fe.transparent))return i;switch(t.style){case lS.SlateGray:case lS.DarkBlue:case lS.DarkGray:return qr.get("#333333");case lS.DarkGreen:return qr.get("144b45");case lS.DarkTurquoise:return qr.get("#1e4a61");case lS.Silver:return qr.get("43545e");case lS.AliceBlue:return qr.get("40508d");case lS.Sienna:return qr.get("ede5d8");default:return e?qr.get("#f3f3f3"):Fe.white}}static isDarkStyle(t){if(null==t)return!1;return this.isDarkStyle2(t.style)}static isDarkStyle3(t){let e=this.getStyle(t);if(e!=lS.Custom&&e!=lS.Auto||null==t.page||(e=this.getStyle(t.page.as(Ae.aA.IStiDashboard))),e==lS.AliceBlue&&!t.is(Ae.aA.IStiDashboard))return!1;return this.isDarkStyle2(e)}static isDarkStyle2(t){switch(t){case lS.SlateGray:case lS.DarkBlue:case lS.DarkGray:case lS.DarkGreen:case lS.DarkTurquoise:case lS.Silver:case lS.AliceBlue:return!0;default:return!1}}static getFont(t){var e;if(this.getStyle(t)==lS.Custom){var r=t.report.styles.getByName(t.customStyleName).as(IS);if(null!=r&&r.allowUseFont&&null!=r.font)return r.font}return t.font}static getDataEmptyColor(t){return this.isDarkStyle3(t)?Fe.fromArgb(255,196,196,196):Fe.fromArgb(255,240,240,240)}static getDataEmptyForeColor(t){return this.isDarkStyle3(t)?Fe.fromArgb(255,196,196,196):Fe.dimGray}static getForeColor(e,t=null){var r=e.as(nd);if(null!=r){let t=dS.getForeColor(e,r.foreColor);if(!t.equals(Fe.transparent))return t}let i=this.getStyleForeColor(e);if(!i.equals(Fe.transparent))return i;var r=e.as(Ae.aA.IStiControlElement);if(null!=r&&!Fe.transparent.equals(this.getControlStyle(r).foreColor))return this.getControlStyle(r).foreColor;if(null!=t)return t;return this.getNativeForeColor(e)}static getStyleForeColor(t){var e;if(this.getStyle(t)!=lS.Custom)return Fe.transparent;var r=t.as(Ae.aA.IStiDashboardElementStyle),r=null!=r?r.customStyleName:null;if(t.is(Ae.aA.IStiIndicatorElement)){var i=this.getIndicatorStyle(t).as(Ae.aR.StiCustomIndicatorElementStyle);return null==i?Fe.transparent:i.foreColor}if(t.is(Ae.aA.IStiProgressElement)){var i=this.getProgressStyle(t).as(Ae.aR.StiCustomProgressElementStyle);return null==i?Fe.transparent:i.foreColor}if(t.is(Ae.aA.IStiGaugeElement)){var n=t.report.styles.getCustomGaugeStyle(r);return null!=n&&null!=n.core&&null!=n.core.foreColor?n.core.foreColor:Fe.transparent}if(t.is(Ae.aA.IStiRegionMapElement)){var n=t.report.styles.getByName(r).as(oS);return null==n?Fe.transparent:n.labelForeground}if(t.is(Ae.aA.IStiControlElement)){var r=t.report.styles.getByName(r).as(IS);return null==r?Fe.transparent:r.foreColor}return Fe.transparent}static getForeColor2(t){if(t==lS.Silver)return qr.get("e9f4fc");if(t==lS.AliceBlue)return qr.get("2e2e2e");if(t==lS.Sienna)return qr.get("4c453d");return this.isDarkStyle2(t)?re.fromHtml("#dddddd"):uS.ForegroundColor}static getNativeForeColor(t=null){return this.getForeColor2(this.getStyle(t))}static getSelectedForeColor(t){var e;if(this.getStyle(t)==lS.Custom){var r=t.report.styles.getByName(t.customStyleName).as(IS);if(null!=r&&!Fe.transparent.equals(r.selectedForeColor))return r.selectedForeColor}return this.getControlStyle(t).foreColor}static getSelectedBackColor(t){var e;if(this.getStyle(t)==lS.Custom){var r=t.report.styles.getByName(t.customStyleName).as(IS);if(null!=r&&!Fe.transparent.equals(r.selectedBackColor))return r.selectedBackColor}return this.getControlStyle(t).backColor}static getGlyphColor2(t){var e;if(this.getStyle(t)==lS.Custom){var r=t.report.styles.getByName(t.customStyleName).as(IS);if(null!=r&&!Fe.transparent.equals(r.glyphColor))return r.glyphColor}return this.getControlStyle(t).glyphColor}static getGlyphColor(t){if(!Fe.transparent.equals(t.glyphColor))return t.glyphColor;var e,r;if(this.getStyle(t)==lS.Custom){var i=t.report.styles.getByName(t.customStyleName).as(Ae.c.StiIndicatorStyle);if(null!=i&&!Fe.transparent.equals(i.glyphColor))return i.glyphColor}return this.getIndicatorStyle(t).glyphColor}static getSeparatorColor(t){var e;if(this.getStyle(t)==lS.Custom){var r=t.report.styles.getByName(t.customStyleName).as(IS);if(null!=r&&!Fe.transparent.equals(r.separatorColor))return r.separatorColor}return this.getControlStyle(t).separatorColor}static getBackColor(e,t=null,r){var i=e.as(id);if(null!=i){let t=dS.getBackColor(e,i.backColor);if(!t.equals(Fe.transparent))return 255==t.a||r?t:Fe.fromArgb(255,t)}let n=this.getStyleBackColor(e);if(r&&this.getStyle(e)==lS.Custom)return n;if(!n.equals(Fe.transparent))return n;var r=e.as(Ae.aA.IStiControlElement);if(null!=r&&!Fe.transparent.equals(this.getControlStyle(r).backColor))return this.getControlStyle(r).backColor;if(null!=t)return t;return this.getBackColor2(this.getStyle(e))}static getStyleBackColor(t){var e,r,i,i,n,n,a,s;if(this.getStyle(t)!=lS.Custom)return Fe.transparent;var e=t.as(Ae.aA.IStiDashboardElementStyle),a=null!=e?e.customStyleName:null;if(t.is(Ae.aA.IStiIndicatorElement)){var e=null===(e=this.getIndicatorStyle(t))||void 0===e?void 0:e.as(Ae.aR.StiCustomIndicatorElementStyle);return null==e?Fe.transparent:e.backColor}if(t.is(Ae.aA.IStiProgressElement)){var r=null===(r=this.getProgressStyle(t))||void 0===r?void 0:r.as(Ae.aR.StiCustomProgressElementStyle);return null==r?Fe.transparent:r.backColor}if(t.is(Ae.aA.IStiGaugeElement)){var r=t.report.styles.getCustomGaugeStyle(a);return null!=r&&null!=r.core&&null!=r.core.brush?hi.toColor(r.core.brush):Fe.transparent}if(t.is(Ae.aA.IStiChartElement)){var i=null===(i=t.report.styles.getByName(a))||void 0===i?void 0:i.as(xS);return null!=i&&null!=i.brush?hi.toColor(i.brush):Fe.transparent}if(t.is(Ae.aA.IStiRegionMapElement)){var i=null===(i=t.report.styles.getByName(a))||void 0===i?void 0:i.as(oS);return null==i?Fe.transparent:i.backColor}if(t.is(Ae.aA.IStiTableElement)){var n=null===(n=t.report.styles.getByName(a))||void 0===n?void 0:n.as(mS);return null==n?Fe.transparent:n.backColor}if(t.is(Ae.aA.IStiPivotTableElement)){var n=null===(n=t.report.styles.getByName(a))||void 0===n?void 0:n.as(lu);return null==n?Fe.transparent:n.backColor}if(t.is(Ae.aA.IStiControlElement)){var a=null===(a=t.report.styles.getByName(a))||void 0===a?void 0:a.as(IS);return null==a?Fe.transparent:a.backColor}return Fe.transparent}static getStyleHotBackColor(t){var e;if(this.getStyle(t)!=lS.Custom)return Fe.transparent;var r=t.as(Ae.aA.IStiDashboardElementStyle),i=null!=r?r.customStyleName:null;if(t.is(Ae.aA.IStiIndicatorElement)){var r=this.getIndicatorStyle(t);return null==r?Fe.transparent:r.hotBackColor}if(t.is(Ae.aA.IStiControlElement)){var i=t.report.styles.getByName(i);return null==i?Fe.transparent:i.hotBackColor}return Fe.transparent}static getHotBackColor(t){var e=this.getStyle(t);if(e==lS.Custom)return this.getStyleHotBackColor(t);return this.isDarkStyle2(e)?jl.light(this.getBackColor(t),15):jl.dark(this.getBackColor(t),15)}static getBackColor2(t){switch(t){case lS.DarkBlue:return re.fromHtml("#0a325a");case lS.SlateGray:return re.fromHtml("#33475b");case lS.DarkGray:return re.fromHtml("#595b65");case lS.DarkGreen:return qr.get("3f745e");case lS.DarkTurquoise:return re.fromHtml("#235e6d");case lS.Silver:return qr.get("6d7e8b");case lS.AliceBlue:return qr.get("f2f5fc");case lS.Sienna:return qr.get("#fefefe");default:return uS.BackgroundColor}}static getTitleForeColor(t){var e=this.getStyle(t);if(e==lS.Silver)return qr.get("e9f4fc");if(e==lS.AliceBlue)return qr.get("1f377f");return this.isDarkStyle2(this.getStyle(t))?re.fromHtml("#dddddd"):uS.TitleFont.Color}static getGaugeStyle(t){return this.getGaugeStyle2(this.getStyle(t))}static getGaugeStyle2(t){switch(t){case lS.Orange:return new Ae.c["Gauge"].StiGaugeStyleXF24;case lS.Green:return new Ae.c["Gauge"].StiGaugeStyleXF25;case lS.Turquoise:return new Ae.c["Gauge"].StiGaugeStyleXF26;case lS.SlateGray:return new Ae.c["Gauge"].StiGaugeStyleXF27;case lS.DarkBlue:return new Ae.c["Gauge"].StiGaugeStyleXF28;case lS.Blue:return new Ae.c["Gauge"].StiGaugeStyleXF29;case lS.DarkGray:return new Ae.c["Gauge"].StiGaugeStyleXF30;case lS.DarkTurquoise:return new Ae.c["Gauge"].StiGaugeStyleXF31;case lS.Silver:return new Ae.c["Gauge"].StiGaugeStyleXF32;case lS.AliceBlue:return new Ae.c["Gauge"].StiGaugeStyleXF33;case lS.DarkGreen:return new Ae.c["Gauge"].StiGaugeStyleXF34;case lS.Sienna:return new Ae.c["Gauge"].StiGaugeStyleXF35;default:return new Ae.c["Gauge"].StiGaugeStyleXF29}}static getChartStyle(t){return this.getChartStyle2(this.getStyle(t))}static getChartStyle2(t){switch(t){case lS.Orange:{let t=new Ae.as["StiStyle24"];return t.core.markerVisible=!1,t}case lS.Green:{let t=new Ae.as["StiStyle25"];return t.core.markerVisible=!1,t}case lS.Turquoise:{let t=new Ae.as["StiStyle26"];return t.core.markerVisible=!1,t}case lS.SlateGray:{let t=new Ae.as["StiStyle27"];return t.core.markerVisible=!1,t}case lS.DarkBlue:{let t=new Ae.as["StiStyle28"];return t.core.markerVisible=!1,t}case lS.Blue:{let t=new Ae.as["StiStyle29"];return t.core.markerVisible=!1,t}case lS.DarkGray:{let t=new Ae.as["StiStyle30"];return t.core.markerVisible=!1,t}case lS.DarkTurquoise:{let t=new Ae.as["StiStyle31"];return t.core.markerVisible=!1,t}case lS.Silver:{let t=new Ae.as["StiStyle32"];return t.core.markerVisible=!1,t}case lS.AliceBlue:{let t=new Ae.as["StiStyle33"];return t.core.markerVisible=!1,t}case lS.DarkGreen:{let t=new Ae.as["StiStyle34"];return t.core.markerVisible=!1,t}case lS.Sienna:{let t=new Ae.as["StiStyle35"];return t.core.markerVisible=!1,t}default:{let t=new Ae.as["StiStyle29"];return t.core.markerVisible=!1,t}}}static getMapStyleIdent(t){switch(this.getStyle(t)){case lS.Orange:return AS.Style24;case lS.Green:return AS.Style25;case lS.Turquoise:return AS.Style26;case lS.SlateGray:return AS.Style27;case lS.DarkBlue:return AS.Style28;case lS.Blue:return AS.Style29;case lS.DarkGray:return AS.Style30;case lS.DarkTurquoise:return AS.Style31;case lS.Silver:return AS.Style32;case lS.AliceBlue:return AS.Style33;case lS.DarkGreen:return AS.Style34;case lS.Sienna:return AS.Style35;default:return AS.Style29}}static getMapStyle(t){return this.getMapStyle2(this.getStyle(t))}static getMapStyle2(t){switch(t){case lS.Orange:return new bS;case lS.Green:return new SS;case lS.Turquoise:return new fS;case lS.SlateGray:return new gS;case lS.DarkBlue:return new pS;case lS.Blue:return new yS;case lS.DarkGray:return new vS;case lS.DarkTurquoise:return new wS;case lS.Silver:return new CS;case lS.AliceBlue:return new TS;case lS.DarkGreen:return new PS;case lS.Sienna:return new hS;default:return new yS}}static getControlStyle(r){switch(this.getStyle(r)){case lS.Orange:return new Ae.aR.StiOrangeControlElementStyle;case lS.Green:return new Ae.aR.StiGreenControlElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseControlElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayControlElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueControlElementStyle;case lS.Blue:return new Ae.aR.StiBlueControlElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayControlElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseControlElementStyle;case lS.Silver:return new Ae.aR.StiSilverControlElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueControlElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenControlElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaControlElementStyle;case lS.Custom:{let t=r.as(Ae.aA.IStiControlElement);if(null!=t&&!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var i=r.report.styles.toList().where(t=>t.is(IS)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=i)return new Ae.aR.StiCustomControlElementStyle(i)}break}}return new Ae.aR.StiDarkBlueControlElementStyle}static getIndicatorStyle(t){switch(this.getStyle(t)){case lS.Orange:return new Ae.aR.StiOrangeIndicatorElementStyle;case lS.Green:return new Ae.aR.StiGreenIndicatorElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseIndicatorElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayIndicatorElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueIndicatorElementStyle;case lS.Blue:return new Ae.aR.StiBlueIndicatorElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayIndicatorElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseIndicatorElementStyle;case lS.Silver:return new Ae.aR.StiSilverIndicatorElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueIndicatorElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenIndicatorElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaIndicatorElementStyle;case lS.Custom:if(!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var r=t.report.styles.toList().where(t=>t.is(Ae.c.StiIndicatorStyle)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=r)return new Ae.aR.StiCustomIndicatorElementStyle(r)}break}return new Ae.aR.StiOrangeIndicatorElementStyle}static getProgressStyle(t){switch(this.getStyle(t)){case lS.Blue:return new Ae.aR.StiBlueProgressElementStyle;case lS.Orange:return new Ae.aR.StiOrangeProgressElementStyle;case lS.Green:return new Ae.aR.StiGreenProgressElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseProgressElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayProgressElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueProgressElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayProgressElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseProgressElementStyle;case lS.Silver:return new Ae.aR.StiSilverProgressElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueProgressElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenProgressElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaProgressElementStyle;case lS.Custom:if(!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var r=t.report.styles.toList().where(t=>t.is(Ae.c.StiProgressStyle)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=r)return new Ae.aR.StiCustomProgressElementStyle(r)}break}return new Ae.aR.StiOrangeProgressElementStyle}static getTableStyle(t){switch(this.getStyle(t)){case lS.Orange:return new Ae.aR.StiOrangeTableElementStyle;case lS.Green:return new Ae.aR.StiGreenTableElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseTableElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayTableElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueTableElementStyle;case lS.Blue:return new Ae.aR.StiBlueTableElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayTableElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseTableElementStyle;case lS.Silver:return new Ae.aR.StiSilverTableElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueTableElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenTableElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaTableElementStyle;case lS.Custom:if(!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var r=t.report.styles.toList().where(t=>t.is(mS)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=r)return new Ae.aR.StiCustomTableElementStyle(r)}break}return new Ae.aR.StiBlueTableElementStyle}static getTableStyle2(t){switch(t){case lS.Orange:return new Ae.aR.StiOrangeTableElementStyle;case lS.Green:return new Ae.aR.StiGreenTableElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseTableElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayTableElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueTableElementStyle;case lS.Blue:return new Ae.aR.StiBlueTableElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayTableElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseTableElementStyle;case lS.Silver:return new Ae.aR.StiSilverTableElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueTableElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenTableElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaTableElementStyle}return new Ae.aR.StiBlueTableElementStyle}static getPivotTableStyle(t){switch(this.getStyle(t)){case lS.Orange:return new Ae.aR.StiOrangePivotElementStyle;case lS.Green:return new Ae.aR.StiGreenPivotElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoisePivotElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayPivotElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBluePivotElementStyle;case lS.Blue:return new Ae.aR.StiBluePivotElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayPivotElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoisePivotElementStyle;case lS.Silver:return new Ae.aR.StiSilverPivotElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBluePivotElementStyle;case lS.DarkGreen:return new Ae.aR.StiDarkGreenPivotElementStyle;case lS.Sienna:return new Ae.aR.StiSiennaPivotElementStyle;case lS.Custom:if(!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var r=t.report.styles.toList().where(t=>t.is(lu)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=r)return new Ae.aR.StiCustomPivotElementStyle(r)}break}return new Ae.aR.StiOrangePivotElementStyle}static getCardsStyle(t){switch(this.getStyle(t)){case lS.Orange:return new Ae.aR.StiOrangeCardsElementStyle;case lS.Green:return new Ae.aR.StiGreenCardsElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseCardsElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayCardsElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueCardsElementStyle;case lS.Blue:return new Ae.aR.StiBlueCardsElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayCardsElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseCardsElementStyle;case lS.Silver:return new Ae.aR.StiSilverCardsElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueCardsElementStyle;case lS.DarkGreen:return new cS;case lS.Sienna:return new Ae.aR.StiSiennaCardsElementStyle;case lS.Custom:if(!De.isNullOrWhiteSpace(t.customStyleName)){let e=t.customStyleName.toLowerCase();var r=t.report.styles.toList().where(t=>t.is(Ae.c.StiCardsStyle)&&null!=t.name).cast().firstOrDefault(t=>t.name.toLowerCase()==e);if(null!=r)return new Ae.aR.StiCustomCardsElementStyle(r)}break}return new Ae.aR.StiBlueCardsElementStyle}static getCardsStyle2(t){switch(t){case lS.Orange:return new Ae.aR.StiOrangeCardsElementStyle;case lS.Green:return new Ae.aR.StiGreenCardsElementStyle;case lS.Turquoise:return new Ae.aR.StiTurquoiseCardsElementStyle;case lS.SlateGray:return new Ae.aR.StiSlateGrayCardsElementStyle;case lS.DarkBlue:return new Ae.aR.StiDarkBlueCardsElementStyle;case lS.Blue:return new Ae.aR.StiBlueCardsElementStyle;case lS.DarkGray:return new Ae.aR.StiDarkGrayCardsElementStyle;case lS.DarkTurquoise:return new Ae.aR.StiDarkTurquoiseCardsElementStyle;case lS.Silver:return new Ae.aR.StiSilverCardsElementStyle;case lS.AliceBlue:return new Ae.aR.StiAliceBlueCardsElementStyle;case lS.DarkGreen:return new cS}return new Ae.aR.StiBlueCardsElementStyle}static getStyle(t){var e=t.as(Ae.aA.IStiDashboardElementStyle),t=null!=t.page?t.page.as(Ae.aA.IStiDashboardElementStyle):null;if(null==e&&null==t)return lS.Blue;if(null==e)return t.style;if(null==t)return e.style;return(e.style==lS.Auto?t:e).style}static getIconFontFamily(){if(null==this.iconFontFamily){var e=Y["Dashboard"]["Helpers"]["StiFontIconsHelper"];if(null!=e){let t=e["getFontFamaliIcons"];null!=t&&(this.iconFontFamily=t.apply())}}return null==this.iconFontFamily&&(this.iconFontFamily=new ae("Arial")),this.iconFontFamily}},Ae.aR.StiAliceBlueCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.cellForeColor=qr.get("1e1e1e"),this.cellBackColor=qr.get("f2f5fc"),this.backColor=qr.get("595b65"),this.lineColor=qr.get("c0cae9"),this.cellDataBarsOverlapped=qr.get("40568d"),this.cellDataBarsPositive=qr.get("40568d"),this.cellDataBarsNegative=qr.get("d43642"),this.cellWinLossPositive=qr.get("40568d"),this.cellSparkline=qr.get("273946"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardCardsStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}},Ae.aR.StiBlueCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=Ae.c.StiComponentId.StiBlueDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.Blue,this.cellBackColor=Fe.white,this.cellForeColor=qr.get("323a45")}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiCustomCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.name2=t.name,this.backColor=t.backColor,this.lineColor=t.lineColor}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardTableStyle}get localizedName(){return this.name2}},Ae.aR.StiDarkBlueCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.cellForeColor=qr.get("ddd"),this.cellBackColor=qr.get("1f4265"),this.backColor=qr.get("0a325a"),this.lineColor=qr.get("758696")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardCardsStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiDarkGrayDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.cellForeColor=qr.get("ddd"),this.cellBackColor=qr.get("595b65"),this.backColor=qr.get("595b65"),this.lineColor=qr.get("66d3d3d5"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("db7b46"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkTurquoiseCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiDarkTurquoiseDashboardTableStyle,this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.cellForeColor=qr.get("fefdff"),this.cellBackColor=qr.get("235e6d"),this.backColor=qr.get("235e6d"),this.lineColor=qr.get("5da0b7"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("5daac1"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiGreenDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.Green,this.cellBackColor=Fe.white,this.cellSparkline=qr.get("70ad47"),this.cellDataBarsOverlapped=qr.get("74c93a"),this.cellDataBarsPositive=qr.get("70ad47"),this.cellDataBarsNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangeCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiOrangeDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.Orange,this.cellBackColor=Fe.white,this.cellSparkline=qr.get("ed7d31"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("db7b46"),this.cellDataBarsNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=Ae.c.StiComponentId.StiSiennaDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.cellBackColor=qr.get("#eee8dc"),this.cellForeColor=qr.get("#270e09"),this.backColor=qr.get("#595b65"),this.lineColor=qr.get("#c9c2b2"),this.cellDataBarsOverlapped=qr.get("#d8834d"),this.cellDataBarsPositive=qr.get("#8a693c"),this.cellDataBarsNegative=qr.get("#e83437"),this.cellWinLossPositive=qr.get("#8a693c"),this.cellSparkline=qr.get("#906e3e"),this.сellIndicatorPositive=qr.get("#8a693c"),this.сellIndicatorNegative=qr.get("#e83437")}get localizedName(){return ne.get("PropertyColor","Sienna")}},Ae.aR.StiSilverCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiSilverDashboardTableStyle,this.ident=Ae.aA.StiElementStyleIdent.Silver,this.cellForeColor=qr.get("e9f5fc"),this.cellBackColor=qr.get("6d7e8b"),this.backColor=qr.get("595b65"),this.lineColor=qr.get("66e9f5fc"),this.cellDataBarsOverlapped=qr.get("273946"),this.cellDataBarsPositive=qr.get("273946"),this.cellDataBarsNegative=qr.get("d43642"),this.cellWinLossPositive=qr.get("273946"),this.cellSparkline=qr.get("273946"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayCardsElementStyle=class extends Ae.aR.StiCardsElementStyle{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiSlateGrayDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.cellForeColor=qr.get("ddd"),this.cellBackColor=qr.get("475b6f"),this.backColor=qr.get("33475b"),this.lineColor=qr.get("c0c0c0")}get localizedName(){return ne.get("PropertyColor","SlateGray")}};var l=Ae.aR.StiCardsElementStyle,yt;Ae.aR.StiTurquoiseCardsElementStyle=class extends l{constructor(){super(...arguments),this.componentId=()=>Ae.c.StiComponentId.StiTurquoiseDashboardCardsStyle,this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.cellBackColor=Fe.white,this.cellSparkline=qr.get("2ec6c8"),this.cellDataBarsOverlapped=qr.get("23d9db"),this.cellDataBarsPositive=qr.get("2ec6c8"),this.cellDataBarsNegative=qr.get("dd5555")}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aR.StiControlElementStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.backColor=uS.BackgroundColor,this.foreColor=uS.ForegroundColor,this.glyphColor=Fe.dimGray,this.separatorColor=Fe.lightGray,this.selectedBackColor=re.fromHtml("#3498db"),this.selectedForeColor=Fe.white,this.selectedGlyphColor=Fe.white,this.hotBackColor=jl.light(Fe.lightGray,15),this.hotForeColor=uS.ForegroundColor,this.hotGlyphColor=uS.ForegroundColor,this.hotSelectedBackColor=jl.light(re.fromHtml("#3498db"),30),this.hotSelectedForeColor=Fe.white,this.hotSelectedGlyphColor=Fe.white,this.font=new Ar("Arial",8)}get localizedName(){return""}},Ae.aR.StiAliceBlueControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.backColor=qr.get("f2f5fc"),this.foreColor=qr.get("1e1e1e"),this.glyphColor=qr.get("1e1e1e"),this.separatorColor=qr.get("c0cae9"),this.selectedBackColor=qr.get("40568d"),this.selectedForeColor=qr.get("e4ffff"),this.selectedGlyphColor=qr.get("e4ffff"),this.hotBackColor=qr.get("f5cc84"),this.hotForeColor=qr.get("1e1e1e"),this.hotGlyphColor=qr.get("1e1e1e"),this.hotSelectedBackColor=qr.get("5d6b99"),this.hotSelectedForeColor=qr.get("e4ffff"),this.hotSelectedGlyphColor=qr.get("e4ffff")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","AliceBlue")}},Ae.aR.StiBlueControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Blue")}},Ae.aR.StiCustomControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Custom,this.font=t.font,this.styleName=t.name,this.backColor=t.backColor,this.foreColor=t.foreColor,this.glyphColor=t.glyphColor,this.hotBackColor=t.hotBackColor,this.hotForeColor=t.hotForeColor,this.hotGlyphColor=t.hotGlyphColor,this.hotSelectedBackColor=t.hotSelectedBackColor,this.hotSelectedForeColor=t.hotSelectedForeColor,this.hotSelectedGlyphColor=t.hotSelectedGlyphColor,this.selectedBackColor=t.selectedBackColor,this.selectedForeColor=t.selectedForeColor,this.selectedGlyphColor=t.selectedGlyphColor,this.separatorColor=t.separatorColor}get componentId(){return Ae.c.StiComponentId.StiCustomDashboardControlStyle}get localizedName(){return this.styleName}},Ae.aR.StiDarkBlueControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.separatorColor=re.fromHtml("#758696"),this.backColor=re.fromHtml("#0a325a"),this.foreColor=re.fromHtml("#ccc"),this.glyphColor=re.fromHtml("#eee"),this.selectedBackColor=jl.light(re.fromHtml("#0a325a"),20),this.selectedForeColor=re.fromHtml("#eee"),this.selectedGlyphColor=re.fromHtml("#eee"),this.hotBackColor=jl.dark(re.fromHtml("#0a325a"),10),this.hotForeColor=re.fromHtml("#eee"),this.hotGlyphColor=re.fromHtml("#eee"),this.hotSelectedBackColor=jl.light(re.fromHtml("#0a325a"),40),this.hotSelectedForeColor=re.fromHtml("#eee"),this.hotSelectedGlyphColor=re.fromHtml("#ddd")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.backColor=re.fromHtml("#595b65"),this.foreColor=re.fromHtml("#ddd"),this.selectedBackColor=re.fromHtml("#db7b46"),this.selectedForeColor=re.fromHtml("#eee"),this.glyphColor=re.fromHtml("#db7b46"),this.separatorColor=re.fromHtml("#66d3d3d5"),this.selectedGlyphColor=re.fromHtml("#eee"),this.hotBackColor=jl.dark(re.fromHtml("#db7b46"),10),this.hotForeColor=re.fromHtml("#eee"),this.hotGlyphColor=re.fromHtml("#eee"),this.hotSelectedBackColor=jl.light(re.fromHtml("#db7b46"),50),this.hotSelectedForeColor=re.fromHtml("#eee"),this.hotSelectedGlyphColor=re.fromHtml("#ddd")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkGreenControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.backColor=re.fromHtml("#3f745e"),this.foreColor=re.fromHtml("#f6f7f7"),this.selectedBackColor=re.fromHtml("#cf822e"),this.selectedForeColor=re.fromHtml("#f6f7f7"),this.glyphColor=re.fromHtml("#e3ba41"),this.separatorColor=re.fromHtml("#66d3d3d5"),this.selectedGlyphColor=re.fromHtml("#f6f7f7"),this.hotBackColor=jl.dark(re.fromHtml("#cf822e"),10),this.hotForeColor=re.fromHtml("#f6f7f7"),this.hotGlyphColor=re.fromHtml("#f6f7f7"),this.hotSelectedBackColor=re.fromHtml("#c76858"),this.hotSelectedForeColor=re.fromHtml("#eeecdd"),this.hotSelectedGlyphColor=re.fromHtml("#eeecdd")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","DarkGreen")}},Ae.aR.StiDarkTurquoiseControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.backColor=re.fromHtml("#235e6d"),this.foreColor=re.fromHtml("#fbffff"),this.selectedBackColor=re.fromHtml("#f0621e"),this.selectedForeColor=re.fromHtml("#eee"),this.glyphColor=re.fromHtml("#fbffff"),this.separatorColor=re.fromHtml("#aed2e5"),this.selectedGlyphColor=re.fromHtml("#fbffff"),this.hotBackColor=jl.dark(re.fromHtml("#f0621e"),10),this.hotForeColor=re.fromHtml("#fbffff"),this.hotGlyphColor=re.fromHtml("#fbffff"),this.hotSelectedBackColor=jl.light(re.fromHtml("#f0621e"),50),this.hotSelectedForeColor=re.fromHtml("#fbffff"),this.hotSelectedGlyphColor=re.fromHtml("#fbffff")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.selectedBackColor=re.fromHtml("#70ad47"),this.hotSelectedBackColor=jl.light(re.fromHtml("#70ad47"),30)}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Green")}},Ae.aR.StiOrangeControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.selectedBackColor=re.fromHtml("#ed7d31"),this.hotSelectedBackColor=jl.light(re.fromHtml("#ed7d31"),30)}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Orange")}},Ae.aR.StiSiennaControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.backColor=qr.get("#fefefe"),this.foreColor=qr.get("#1e1e1e"),this.glyphColor=qr.get("#1e1e1e"),this.separatorColor=qr.get("#c9c2b2"),this.selectedBackColor=qr.get("#c1b59b"),this.selectedForeColor=qr.get("#170a00"),this.selectedGlyphColor=qr.get("#170a00"),this.hotBackColor=jl.light(qr.get("#c1b59b"),30),this.hotForeColor=qr.get("#170a00"),this.hotGlyphColor=qr.get("#170a00"),this.hotSelectedBackColor=qr.get("#895530"),this.hotSelectedForeColor=qr.get("#e4b16f"),this.hotSelectedGlyphColor=qr.get("#e4b16f")}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Sienna")}},Ae.aR.StiSilverControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.backColor=qr.get("6d7e8b"),this.foreColor=qr.get("e9f5fc"),this.glyphColor=qr.get("e9f5fc"),this.separatorColor=qr.get("e9f5fc"),this.selectedBackColor=qr.get("3a5263"),this.selectedForeColor=qr.get("e9f5fc"),this.selectedGlyphColor=qr.get("e9f5fc"),this.hotBackColor=jl.light(qr.get("3a5263"),60),this.hotForeColor=qr.get("e9f5fc"),this.hotGlyphColor=qr.get("e9f5fc"),this.hotSelectedBackColor=jl.light(qr.get("3a5263"),30),this.hotSelectedForeColor=jl.light(qr.get("e9f5fc"),30),this.hotSelectedGlyphColor=jl.light(qr.get("e9f5fc"),30)}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.backColor=re.fromHtml("#33475b"),this.foreColor=re.fromHtml("#ddd"),this.selectedBackColor=jl.light(re.fromHtml("#33475b"),20),this.selectedForeColor=re.fromHtml("#eee"),this.glyphColor=re.fromHtml("#ddd"),this.separatorColor=re.fromHtml("#c0c0c0"),this.selectedGlyphColor=re.fromHtml("#eee"),this.hotBackColor=jl.dark(re.fromHtml("#33475b"),10),this.hotForeColor=re.fromHtml("#eee"),this.hotGlyphColor=re.fromHtml("#eee"),this.hotSelectedBackColor=jl.light(re.fromHtml("#33475b"),50),this.hotSelectedForeColor=re.fromHtml("#eee"),this.hotSelectedGlyphColor=re.fromHtml("#ddd")}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoiseControlElementStyle=class extends Ae.aR.StiControlElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.selectedBackColor=re.fromHtml("#2ec6c8"),this.hotSelectedBackColor=jl.light(re.fromHtml("#2ec6c8"),30)}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardControlStyle}get localizedName(){return nn.get("PropertyColor","Turquoise")}},Ae.aR.StiDashboardStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.backColor=Fe.white}get localizedName(){return this.name}get borderColor(){return this.titleBackColor}drawStyleForGallery(t,e){}},Ae.aR.StiAliceBlueDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.foreColor=qr.get("3a3a3a"),this.backColor=qr.get("f2f5fc"),this.titleBackColor=qr.get("40568d"),this.titleForeColor=qr.get("ffffff")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}get borderColor(){return qr.get("40568d")}},Ae.aR.StiBlueDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.foreColor=re.fromHtml("#3498db"),this.backColor=Fe.white,this.titleBackColor=re.fromHtml("#3498db"),this.titleForeColor=Fe.white}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiDarkBlueDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.foreColor=re.fromHtml("#dddddd"),this.backColor=re.fromHtml("#1f4265"),this.titleBackColor=re.fromHtml("#0a325a"),this.titleForeColor=re.fromHtml("#dddddd")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.foreColor=re.fromHtml("#f1f1f1"),this.backColor=re.fromHtml("#595b65"),this.titleForeColor=re.fromHtml("#4a4c55"),this.titleBackColor=re.fromHtml("#db7b46")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","DarkGray")}get borderColor(){return Fe.transparent}},Ae.aR.StiDarkGreenDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.foreColor=re.fromHtml("#f3f7f7"),this.backColor=re.fromHtml("#144b45"),this.titleForeColor=re.fromHtml("#feedf6"),this.titleBackColor=re.fromHtml("#26775d")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","DarkGreen")}get borderColor(){return Fe.transparent}},Ae.aR.StiDarkTurquoiseDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.foreColor=re.fromHtml("#f4fcff"),this.backColor=re.fromHtml("#2c8590"),this.titleForeColor=re.fromHtml("#f4fcff"),this.titleBackColor=re.fromHtml("#216275")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}get borderColor(){return re.fromHtml("#1c475c")}},Ae.aR.StiGreenDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.foreColor=re.fromHtml("#70ad47"),this.backColor=Fe.white,this.titleBackColor=re.fromHtml("#70ad47"),this.titleForeColor=Fe.white}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangeDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.foreColor=re.fromHtml("#ed7d31"),this.backColor=Fe.white,this.titleBackColor=re.fromHtml("#ed7d31"),this.titleForeColor=Fe.white}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.foreColor=re.fromHtml("#422d1c"),this.backColor=re.fromHtml("#f0eadc"),this.titleBackColor=re.fromHtml("#5c4841"),this.titleForeColor=re.fromHtml("#eaeeef")}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Sienna")}get borderColor(){return re.fromHtml("#9f9282")}},Ae.aR.StiSilverDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.foreColor=qr.get("3a5263"),this.backColor=qr.get("e9f5fc"),this.titleBackColor=qr.get("3a5263"),this.titleForeColor=qr.get("e9f5fc")}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Silver")}get borderColor(){return qr.get("3a5263")}},Ae.aR.StiSlateGrayDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.foreColor=Fe.white,this.backColor=re.fromHtml("#708090"),this.titleBackColor=re.fromHtml("#475b6f"),this.titleForeColor=Fe.white}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoiseDashboardStyle=class extends Ae.aR.StiDashboardStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.foreColor=re.fromHtml("#2ec6c8"),this.backColor=Fe.white,this.titleBackColor=re.fromHtml("#2ec6c8"),this.titleForeColor=Fe.white}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardPageStyle}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aR.StiIndicatorElementStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.backColor=Fe.white,this.foreColor=Fe.white,this.hotBackColor=Fe.white,this.positiveColor=Fe.green,this.negativeColor=Fe.red}get localizedName(){return""}},Ae.aR.StiAliceBlueIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.glyphColor=qr.get("40568d")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}},Ae.aR.StiBlueIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.glyphColor=re.fromHtml("#3498db")}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiCustomIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Custom,this.name=t.name,this.glyphColor=t.glyphColor,this.foreColor=t.foreColor,this.backColor=t.backColor,this.hotBackColor=t.hotBackColor,this.positiveColor=t.positiveColor,this.negativeColor=t.negativeColor}get componentId(){return Ae.c.StiComponentId.StiCustomDashboardIndicatorStyle}get localizedName(){return this.name}},Ae.aR.StiDarkBlueIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.glyphColor=re.fromHtml("#165d9e"),this.backColor=re.fromHtml("#0a325a")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.glyphColor=re.fromHtml("#db7b46"),this.backColor=re.fromHtml("#595b65"),this.positiveColor=Fe.limeGreen,this.negativeColor=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkGreenIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.glyphColor=qr.get("e1bb41"),this.backColor=qr.get("3f745e"),this.positiveColor=qr.get("e2ba41"),this.negativeColor=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","DarkGreen")}},Ae.aR.StiDarkTurquoiseIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.glyphColor=re.fromHtml("#f0621e"),this.backColor=re.fromHtml("#235e6d"),this.positiveColor=Fe.limeGreen,this.negativeColor=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.glyphColor=re.fromHtml("#70ad47")}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangeIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.glyphColor=re.fromHtml("#ed7d31")}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.positiveColor=qr.get("#8a693c"),this.negativeColor=qr.get("#e83437"),this.glyphColor=qr.get("#8b5234")}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Sienna")}},Ae.aR.StiSilverIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.glyphColor=qr.get("3a5263")}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.glyphColor=re.fromHtml("#0bac45"),this.backColor=re.fromHtml("#33475b")}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoiseIndicatorElementStyle=class extends Ae.aR.StiIndicatorElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.glyphColor=re.fromHtml("#2ec6c8")}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardIndicatorStyle}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aR.StiPivotElementStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.cellForeColor=re.fromHtml("#222"),this.selectedCellForeColor=re.fromHtml("#222"),this.alternatingCellForeColor=re.fromHtml("#222"),this.columnHeaderForeColor=Fe.white,this.rowHeaderForeColor=Fe.white,this.lineColor=Fe.gainsboro,this.backColor=Fe.white}get localizedName(){return null}},Ae.aR.StiAliceBluePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.cellBackColor=qr.get("#f2f5fc"),this.cellForeColor=qr.get("#1e1e1e"),this.alternatingCellBackColor=qr.get("#ccd5f0"),this.alternatingCellForeColor=qr.get("#1e1e1e"),this.selectedCellBackColor=qr.get("f5cc84"),this.selectedCellForeColor=qr.get("1e1e1e"),this.columnHeaderBackColor=qr.get("#5d6b99"),this.columnHeaderForeColor=qr.get("#e4ffff"),this.rowHeaderBackColor=qr.get("#5d6b99"),this.rowHeaderForeColor=qr.get("#e4ffff"),this.hotColumnHeaderBackColor=jl.light(qr.get("#5d6b99"),30),this.hotRowHeaderBackColor=jl.light(qr.get("#5d6b99"),30),this.lineColor=qr.get("c0cae9"),this.backColor=qr.get("#595b65")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}},Ae.aR.StiBluePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#3498db"),30),this.selectedCellForeColor=Fe.white,this.columnHeaderBackColor=re.fromHtml("#3498db"),this.columnHeaderForeColor=re.fromHtml("#fff"),this.rowHeaderBackColor=re.fromHtml("#3498db"),this.rowHeaderForeColor=re.fromHtml("#eee"),this.hotColumnHeaderBackColor=jl.dark(re.fromHtml("#3498db"),30),this.hotRowHeaderBackColor=jl.dark(re.fromHtml("#3498db"),30),this.cellForeColor=re.fromHtml("#323a45")}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiCustomPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Custom,this.name2=t.name,this.backColor=t.backColor,this.alternatingCellForeColor=t.alternatingCellForeColor,this.alternatingCellBackColor=t.alternatingCellBackColor,this.cellBackColor=t.cellBackColor,this.cellForeColor=t.cellForeColor,this.columnHeaderBackColor=t.columnHeaderBackColor,this.columnHeaderForeColor=t.columnHeaderForeColor,this.hotColumnHeaderBackColor=t.hotColumnHeaderBackColor,this.hotRowHeaderBackColor=t.hotRowHeaderBackColor,this.rowHeaderBackColor=t.rowHeaderBackColor,this.rowHeaderForeColor=t.rowHeaderForeColor,this.selectedCellBackColor=t.selectedCellBackColor,this.selectedCellForeColor=t.selectedCellForeColor,this.lineColor=t.lineColor}get componentId(){return Ae.c.StiComponentId.StiCustomDashboardPivotStyle}get localizedName(){return this.name2}},Ae.aR.StiDarkBluePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.cellBackColor=re.fromHtml("#1f4265"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#0a325a"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.selectedCellBackColor=jl.light(re.fromHtml("#0a325a"),50),this.selectedCellForeColor=re.fromHtml("#eee"),this.columnHeaderBackColor=re.fromHtml("#0a325a"),this.columnHeaderForeColor=re.fromHtml("#ddd"),this.rowHeaderBackColor=re.fromHtml("#0a325a"),this.rowHeaderForeColor=re.fromHtml("#ddd"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#0a325a"),20),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#0a325a"),20),this.lineColor=re.fromHtml("#758696"),this.backColor=re.fromHtml("#0a325a")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.cellBackColor=re.fromHtml("#595b65"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#6b6e75"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.selectedCellBackColor=re.fromHtml("#db7b46"),this.selectedCellForeColor=re.fromHtml("#eee"),this.columnHeaderBackColor=re.fromHtml("#6b6e75"),this.columnHeaderForeColor=re.fromHtml("#ddd"),this.rowHeaderBackColor=re.fromHtml("#6b6e75"),this.rowHeaderForeColor=re.fromHtml("#ddd"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#db7b46"),30),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#db7b46"),30),this.lineColor=re.fromHtml("#66d3d3d5"),this.backColor=re.fromHtml("#595b65")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkGreenPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.cellBackColor=re.fromHtml("#3f745e"),this.cellForeColor=re.fromHtml("#f6f3f5"),this.alternatingCellBackColor=re.fromHtml("#509190"),this.alternatingCellForeColor=re.fromHtml("#e3ba41"),this.selectedCellBackColor=re.fromHtml("#c87f2e"),this.selectedCellForeColor=re.fromHtml("#f5f0ea"),this.columnHeaderBackColor=re.fromHtml("#264945"),this.columnHeaderForeColor=re.fromHtml("#f2f6f6"),this.rowHeaderBackColor=re.fromHtml("#264945"),this.rowHeaderForeColor=re.fromHtml("#f2f6f6"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#264945"),30),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#264945"),30),this.lineColor=re.fromHtml("#66d3d3d5"),this.backColor=re.fromHtml("#595b65")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","DarkGreen")}},Ae.aR.StiDarkTurquoisePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.cellBackColor=re.fromHtml("#235e6d"),this.cellForeColor=re.fromHtml("#fefdff"),this.alternatingCellBackColor=re.fromHtml("#215667"),this.alternatingCellForeColor=re.fromHtml("#fefdff"),this.selectedCellBackColor=re.fromHtml("#f0621e"),this.selectedCellForeColor=re.fromHtml("#1c445b"),this.columnHeaderBackColor=re.fromHtml("#2a7f9e"),this.columnHeaderForeColor=re.fromHtml("#fefdff"),this.rowHeaderBackColor=re.fromHtml("#2a7f9e"),this.rowHeaderForeColor=re.fromHtml("#fefdff"),this.hotColumnHeaderBackColor=re.fromHtml("#f0621e"),this.hotRowHeaderBackColor=re.fromHtml("#f0621e"),this.lineColor=re.fromHtml("#5da0b7"),this.backColor=re.fromHtml("#235e6d")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#70ad47"),30),this.selectedCellForeColor=Fe.white,this.columnHeaderBackColor=re.fromHtml("#70ad47"),this.rowHeaderBackColor=re.fromHtml("#70ad47"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#70ad47"),20),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#70ad47"),20)}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#ed7d31"),30),this.selectedCellForeColor=Fe.white,this.columnHeaderBackColor=re.fromHtml("#ed7d31"),this.rowHeaderBackColor=re.fromHtml("#ed7d31"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#ed7d31"),20),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#ed7d31"),20)}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.cellBackColor=qr.get("#eee8dc"),this.cellForeColor=qr.get("#270e09"),this.alternatingCellBackColor=qr.get("#e8e0d3"),this.alternatingCellForeColor=qr.get("#270e09"),this.selectedCellBackColor=qr.get("#c0b49c"),this.selectedCellForeColor=qr.get("#270e09"),this.columnHeaderBackColor=qr.get("#5d4942"),this.columnHeaderForeColor=qr.get("#eeeeee"),this.rowHeaderBackColor=qr.get("#5d4942"),this.rowHeaderForeColor=qr.get("#eeeeee"),this.hotColumnHeaderBackColor=qr.get("#270e09"),this.hotRowHeaderBackColor=qr.get("#270e09"),this.lineColor=qr.get("#c9c2b2"),this.backColor=qr.get("#595b65")}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Sienna")}},Ae.aR.StiSilverPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.cellBackColor=qr.get("#6d7e8b"),this.cellForeColor=qr.get("#e9f5fc"),this.alternatingCellBackColor=qr.get("#3a5263"),this.alternatingCellForeColor=qr.get("#e9f5fc"),this.selectedCellBackColor=qr.get("e9f5fc"),this.selectedCellForeColor=qr.get("3a5263"),this.columnHeaderBackColor=qr.get("#3a5263"),this.columnHeaderForeColor=qr.get("#e9f5fc"),this.rowHeaderBackColor=qr.get("#3a5263"),this.rowHeaderForeColor=qr.get("#e9f5fc"),this.hotColumnHeaderBackColor=jl.light(qr.get("#6d7e8b"),30),this.hotRowHeaderBackColor=jl.light(qr.get("#6d7e8b"),30),this.lineColor=qr.get("66e9f5fc"),this.backColor=qr.get("#595b65")}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayPivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.cellBackColor=re.fromHtml("#475b6f"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#33475b"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.selectedCellBackColor=jl.light(re.fromHtml("#33475b"),50),this.selectedCellForeColor=re.fromHtml("#eee"),this.columnHeaderBackColor=re.fromHtml("#33475b"),this.columnHeaderForeColor=re.fromHtml("#ddd"),this.rowHeaderBackColor=re.fromHtml("#33475b"),this.rowHeaderForeColor=re.fromHtml("#ddd"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#33475b"),20),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#33475b"),20),this.lineColor=re.fromHtml("#c0c0c0"),this.backColor=re.fromHtml("#33475b")}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoisePivotElementStyle=class extends Ae.aR.StiPivotElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#2ec6c8"),30),this.selectedCellForeColor=Fe.white,this.columnHeaderBackColor=re.fromHtml("#2ec6c8"),this.rowHeaderBackColor=re.fromHtml("#2ec6c8"),this.hotColumnHeaderBackColor=jl.light(re.fromHtml("#2ec6c8"),20),this.hotRowHeaderBackColor=jl.light(re.fromHtml("#2ec6c8"),20)}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardPivotStyle}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aR.StiProgressElementStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.foreColor=Fe.transparent,this.backColor=Fe.white}get localizedName(){return null}},Ae.aR.StiAliceBlueProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.trackColor=qr.get("3a5263"),this.bandColor=qr.get("e9f5fc"),this.seriesColors=[qr.get("4569bb"),qr.get("e47334"),qr.get("9d9c9c"),qr.get("f8b92d"),qr.get("5e93cc"),qr.get("6ea548")]}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}},Ae.aR.StiBlueProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.trackColor=re.fromHtml("#e7ebec"),this.bandColor=re.fromHtml("#3498db"),this.seriesColors=[re.fromHtml("#3498db"),re.fromHtml("#ef717a"),re.fromHtml("#6dcbb3"),re.fromHtml("#f28161"),re.fromHtml("#fccd1b")]}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiCustomProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Custom,this.name=t.name,this.trackColor=t.trackColor,this.bandColor=t.bandColor,this.seriesColors=t.seriesColors,this.foreColor=t.foreColor,this.backColor=t.backColor}get componentId(){return Ae.c.StiComponentId.StiCustomDashboardProgressStyle}get localizedName(){return this.name}},Ae.aR.StiDarkBlueProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.trackColor=re.fromHtml("#1f4265"),this.bandColor=re.fromHtml("#165d9e"),this.seriesColors=[re.fromHtml("#165d9e"),re.fromHtml("#577eb6"),re.fromHtml("#569436"),re.fromHtml("#225056"),re.fromHtml("#d4dae0")],this.backColor=re.fromHtml("#0a325a")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.trackColor=re.fromHtml("#4a4c55"),this.bandColor=re.fromHtml("#6b6e75"),this.seriesColors=[re.fromHtml("#db7b46"),re.fromHtml("#d3d3d5"),re.fromHtml("#6b6e75"),re.fromHtml("#4a4c55")],this.backColor=re.fromHtml("#595b65")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkGreenProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.trackColor=re.fromHtml("#144b45"),this.bandColor=re.fromHtml("#3f745e"),this.seriesColors=[qr.get("ecb92f"),qr.get("d66153"),qr.get("319491"),qr.get("f7f7f7"),qr.get("dd7c21")],this.backColor=re.fromHtml("#cf822e")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","DarkGreen")}},Ae.aR.StiDarkTurquoiseProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.trackColor=re.fromHtml("#1c445b"),this.bandColor=re.fromHtml("#f0621e"),this.seriesColors=[re.fromHtml("#99a8d7e2"),re.fromHtml("#995ea8bf"),re.fromHtml("#992b7f9e")],this.backColor=re.fromHtml("#235e6d")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.trackColor=re.fromHtml("#e6e6e6"),this.bandColor=re.fromHtml("#70ad47"),this.seriesColors=[re.fromHtml("#70ad47"),re.fromHtml("#4472c4"),re.fromHtml("#ffc000"),re.fromHtml("#43682b"),re.fromHtml("#fd6a37"),re.fromHtml("#997300")]}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangeProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.trackColor=re.fromHtml("#e6e6e6"),this.bandColor=re.fromHtml("#ed7d31"),this.seriesColors=[re.fromHtml("#ed7d31"),re.fromHtml("#ffc000"),re.fromHtml("#70ad47"),re.fromHtml("#9e480e"),re.fromHtml("#997300"),re.fromHtml("#43682b")]}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.trackColor=qr.get("e5ddd0"),this.bandColor=qr.get("3d2211"),this.seriesColors=[qr.get("794d26"),qr.get("c7986a"),qr.get("c4b49a"),qr.get("894d29"),qr.get("422515"),qr.get("564438"),qr.get("876c57"),qr.get("d8814b"),qr.get("532525"),qr.get("59413f")]}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Sienna")}},Ae.aR.StiSilverProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.trackColor=qr.get("3a5263"),this.bandColor=qr.get("e9f5fc"),this.seriesColors=[qr.get("73829a"),qr.get("343c49"),qr.get("4f737a"),qr.get("cfd3dd")]}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.trackColor=re.fromHtml("#3b4d5f"),this.bandColor=re.fromHtml("#0BAC45"),this.seriesColors=[re.fromHtml("#0bac45"),re.fromHtml("#ec334d"),re.fromHtml("#a1ae94"),re.fromHtml("#ed7d31"),re.fromHtml("#5ab0ee"),re.fromHtml("#3dde77")],this.backColor=re.fromHtml("#33475b")}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoiseProgressElementStyle=class extends Ae.aR.StiProgressElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.trackColor=re.fromHtml("#e6e6e6"),this.bandColor=re.fromHtml("#2ec6c8"),this.seriesColors=[re.fromHtml("#2ec6c8"),re.fromHtml("#b5a1dd"),re.fromHtml("#5ab0ee"),re.fromHtml("#f4984e"),re.fromHtml("#d77a80"),re.fromHtml("#d04456")]}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardProgressStyle}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aR.StiTableElementStyle=class extends Ae.aR.StiElementStyle{constructor(){super(...arguments),this.cellForeColor=re.fromHtml("#222"),this.selectedCellBackColor=re.fromHtml("#3498db"),this.selectedCellForeColor=Fe.white,this.alternatingCellForeColor=re.fromHtml("#222"),this.headerForeColor=Fe.white,this.lineColor=Fe.gainsboro,this.footerColor=Fe.white,this.footerForeground=Fe.black,this.backColor=Fe.white,this.cellDataBarsOverlapped=Fe.fromArgb(255,51,94,150),this.cellDataBarsPositive=Fe.fromArgb(255,99,142,198),this.cellDataBarsNegative=Fe.fromArgb(255,255,0,0),this.cellWinLossPositive=Fe.fromArgb(255,99,142,198),this.cellWinLossNegative=Fe.fromArgb(255,255,0,0),this.cellSparkline=Fe.fromArgb(255,83,126,182),this.cellIndicatorPositive=Fe.green,this.cellIndicatorNegative=Fe.red,this.cellIndicatorNeutral=Fe.lightGray}get localizedName(){return null}},Ae.aR.StiAliceBlueTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.AliceBlue,this.cellBackColor=qr.get("#f2f5fc"),this.cellForeColor=qr.get("#1e1e1e"),this.alternatingCellBackColor=qr.get("#ccd5f0"),this.alternatingCellForeColor=qr.get("#1e1e1e"),this.headerBackColor=qr.get("#5d6b99"),this.headerForeColor=qr.get("#e4ffff"),this.footerColor=qr.get("#5d6b99"),this.footerForeground=qr.get("#e4ffff"),this.selectedCellBackColor=qr.get("f5cc84"),this.selectedCellForeColor=qr.get("1e1e1e"),this.hotHeaderBackColor=jl.light(qr.get("#5d6b99"),30),this.lineColor=qr.get("c0cae9"),this.backColor=qr.get("#595b65"),this.cellDataBarsOverlapped=qr.get("40568d"),this.cellDataBarsPositive=qr.get("40568d"),this.cellDataBarsNegative=qr.get("d43642"),this.cellWinLossPositive=qr.get("40568d"),this.cellSparkline=qr.get("273946"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiAliceBlueDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","AliceBlue")}},Ae.aR.StiBlueTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.headerBackColor=re.fromHtml("#3498db"),this.headerForeColor=Fe.white,this.footerColor=re.fromHtml("#3498db"),this.footerForeground=Fe.white,this.cellForeColor=re.fromHtml("#323a45"),this.selectedCellBackColor=jl.light(re.fromHtml("#3498db"),30),this.selectedCellForeColor=Fe.white,this.hotHeaderBackColor=jl.dark(re.fromHtml("#3498db"),20)}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Blue")}},Ae.aR.StiCustomTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(t){super(),this.ident=Ae.aA.StiElementStyleIdent.Blue,this.name2=t.name,this.alternatingCellBackColor=t.alternatingDataColor,this.alternatingCellForeColor=t.alternatingDataForeground,this.cellBackColor=t.dataColor,this.cellForeColor=t.dataForeground,this.lineColor=t.gridColor,this.headerBackColor=t.headerColor,this.headerForeColor=t.headerForeground,this.hotHeaderBackColor=t.hotHeaderColor,this.selectedCellBackColor=t.selectedDataColor,this.selectedCellForeColor=t.selectedDataForeground,this.footerColor=t.footerColor,this.footerForeground=t.footerForeground}get componentId(){return Ae.c.StiComponentId.StiBlueDashboardTableStyle}get localizedName(){return this.name2}},Ae.aR.StiDarkBlueTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkBlue,this.cellBackColor=re.fromHtml("#1f4265"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#0a325a"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.headerBackColor=re.fromHtml("#0a325a"),this.headerForeColor=re.fromHtml("#ddd"),this.footerColor=re.fromHtml("#0a325a"),this.footerForeground=re.fromHtml("#ddd"),this.selectedCellBackColor=jl.light(re.fromHtml("#0a325a"),50),this.selectedCellForeColor=re.fromHtml("#eee"),this.hotHeaderBackColor=jl.light(re.fromHtml("#0a325a"),30),this.lineColor=re.fromHtml("#758696"),this.backColor=re.fromHtml("#0a325a")}get componentId(){return Ae.c.StiComponentId.StiDarkBlueDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","DarkBlue")}},Ae.aR.StiDarkGrayTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGray,this.cellBackColor=re.fromHtml("#595b65"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#6b6e75"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.headerBackColor=re.fromHtml("#6b6e75"),this.headerForeColor=re.fromHtml("#ddd"),this.footerColor=re.fromHtml("#6b6e75"),this.footerForeground=re.fromHtml("#ddd"),this.selectedCellBackColor=re.fromHtml("#db7b46"),this.selectedCellForeColor=re.fromHtml("#eee"),this.hotHeaderBackColor=jl.light(re.fromHtml("#db7b46"),30),this.lineColor=re.fromHtml("#66d3d3d5"),this.backColor=re.fromHtml("#595b65"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("db7b46"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkGrayDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","DarkGray")}},Ae.aR.StiDarkGreenTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkGreen,this.cellBackColor=re.fromHtml("#3f745e"),this.cellForeColor=re.fromHtml("#f6f3f5"),this.alternatingCellBackColor=re.fromHtml("#509190"),this.alternatingCellForeColor=re.fromHtml("#e3ba41"),this.headerBackColor=re.fromHtml("#264945"),this.headerForeColor=re.fromHtml("#f2f6f6"),this.footerColor=re.fromHtml("#3f745e"),this.footerForeground=re.fromHtml("#f2f6f6"),this.selectedCellBackColor=re.fromHtml("#c87f2e"),this.selectedCellForeColor=re.fromHtml("#f5f0ea"),this.hotHeaderBackColor=jl.light(re.fromHtml("#db7b46"),30),this.lineColor=re.fromHtml("#66d3d3d5"),this.backColor=re.fromHtml("#595b65"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("db7b46"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkGreenDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","DarkGreen")}},Ae.aR.StiDarkTurquoiseTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.DarkTurquoise,this.cellBackColor=re.fromHtml("#235e6d"),this.cellForeColor=re.fromHtml("#fefdff"),this.alternatingCellBackColor=re.fromHtml("#215667"),this.alternatingCellForeColor=re.fromHtml("#fefdff"),this.headerBackColor=re.fromHtml("#2a7f9e"),this.headerForeColor=re.fromHtml("#fefdff"),this.footerColor=re.fromHtml("#2a7f9e"),this.footerForeground=re.fromHtml("#fefdff"),this.selectedCellBackColor=re.fromHtml("#f0621e"),this.selectedCellForeColor=re.fromHtml("#1c445b"),this.hotHeaderBackColor=re.fromHtml("#f0621e"),this.lineColor=re.fromHtml("#5da0b7"),this.backColor=re.fromHtml("#235e6d"),this.cellDataBarsOverlapped=qr.get("db7b46"),this.cellDataBarsPositive=qr.get("5daac1"),this.cellDataBarsNegative=qr.get("dd5555"),this.cellWinLossPositive=qr.get("db7b46"),this.cellSparkline=qr.get("db7b46"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiDarkTurquoiseDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","DarkTurquoise")}},Ae.aR.StiGreenTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Green,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#70ad47"),30),this.headerBackColor=re.fromHtml("#70ad47"),this.hotHeaderBackColor=jl.light(re.fromHtml("#70ad47"),30),this.footerColor=re.fromHtml("#70ad47"),this.footerForeground=Fe.white}get componentId(){return Ae.c.StiComponentId.StiGreenDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Green")}},Ae.aR.StiOrangeTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Orange,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#ed7d31"),30),this.headerBackColor=re.fromHtml("#ed7d31"),this.hotHeaderBackColor=jl.light(re.fromHtml("#ed7d31"),30),this.footerColor=re.fromHtml("#ed7d31"),this.footerForeground=Fe.white}get componentId(){return Ae.c.StiComponentId.StiOrangeDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Orange")}},Ae.aR.StiSiennaTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Sienna,this.cellBackColor=qr.get("#eee8dc"),this.cellForeColor=qr.get("#270e09"),this.alternatingCellBackColor=qr.get("#e8e0d3"),this.alternatingCellForeColor=qr.get("#270e09"),this.headerBackColor=qr.get("#5c4942"),this.headerForeColor=qr.get("#e1dfe0"),this.footerBackColor=qr.get("#5c4942"),this.footerForeColor=qr.get("#e1dfe0"),this.selectedCellBackColor=qr.get("#c0b49c"),this.selectedCellForeColor=qr.get("#270e09"),this.hotHeaderBackColor=qr.get("#5d4942"),this.lineColor=qr.get("#c9c2b2"),this.backColor=qr.get("#595b65"),this.cellDataBarsOverlapped=qr.get("#d8834d"),this.cellDataBarsPositive=qr.get("#8a693c"),this.cellDataBarsNegative=qr.get("#e83437"),this.cellWinLossPositive=qr.get("#8a693c"),this.cellSparkline=qr.get("#906e3e"),this.cellIndicatorPositive=qr.get("#8a693c"),this.cellIndicatorNegative=qr.get("#e83437")}get componentId(){return Ae.c.StiComponentId.StiSiennaDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Sienna")}},Ae.aR.StiSilverTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Silver,this.cellBackColor=qr.get("#6d7e8b"),this.cellForeColor=qr.get("#e9f5fc"),this.alternatingCellBackColor=qr.get("#3a5263"),this.alternatingCellForeColor=qr.get("#e9f5fc"),
this.headerBackColor=qr.get("#3a5263"),this.headerForeColor=qr.get("#e9f5fc"),this.footerColor=qr.get("#3a5263"),this.footerForeground=qr.get("#e9f5fc"),this.selectedCellBackColor=qr.get("e9f5fc"),this.selectedCellForeColor=qr.get("3a5263"),this.hotHeaderBackColor=jl.light(qr.get("#6d7e8b"),30),this.lineColor=qr.get("66e9f5fc"),this.backColor=qr.get("#595b65"),this.cellDataBarsOverlapped=qr.get("273946"),this.cellDataBarsPositive=qr.get("273946"),this.cellDataBarsNegative=qr.get("d43642"),this.cellWinLossPositive=qr.get("273946"),this.cellSparkline=qr.get("273946"),this.cellIndicatorPositive=Fe.limeGreen,this.cellIndicatorNegative=qr.get("dd5555")}get componentId(){return Ae.c.StiComponentId.StiSilverDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Silver")}},Ae.aR.StiSlateGrayTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.SlateGray,this.cellBackColor=re.fromHtml("#475b6f"),this.cellForeColor=re.fromHtml("#ddd"),this.alternatingCellBackColor=re.fromHtml("#33475b"),this.alternatingCellForeColor=re.fromHtml("#ddd"),this.headerBackColor=re.fromHtml("#33475b"),this.headerForeColor=re.fromHtml("#ddd"),this.footerColor=re.fromHtml("#33475b"),this.footerForeground=re.fromHtml("#ddd"),this.selectedCellBackColor=jl.light(re.fromHtml("#33475b"),50),this.selectedCellForeColor=re.fromHtml("#eee"),this.hotHeaderBackColor=jl.light(re.fromHtml("#33475b"),30),this.lineColor=re.fromHtml("#c0c0c0"),this.backColor=re.fromHtml("#33475b")}get componentId(){return Ae.c.StiComponentId.StiSlateGrayDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","SlateGray")}},Ae.aR.StiTurquoiseTableElementStyle=class extends Ae.aR.StiTableElementStyle{constructor(){super(...arguments),this.ident=Ae.aA.StiElementStyleIdent.Turquoise,this.cellBackColor=Fe.white,this.alternatingCellBackColor=re.fromHtml("#eee"),this.selectedCellBackColor=jl.light(re.fromHtml("#2ec6c8"),30),this.headerBackColor=re.fromHtml("#2ec6c8"),this.hotHeaderBackColor=jl.light(re.fromHtml("#2ec6c8"),30),this.footerColor=re.fromHtml("#2ec6c8"),this.footerForeground=Fe.white}get componentId(){return Ae.c.StiComponentId.StiTurquoiseDashboardTableStyle}get localizedName(){return ne.get("PropertyColor","Turquoise")}},Ae.aS.IStiCardsVisualSvgHelper=new Ae.b.Interface("IStiCardsVisualSvgHelper"),Ae.aS.IStiGaugeVisualSvgHelper=new Ae.b.Interface("IStiGaugeVisualSvgHelper"),Ae.aS.IStiIndicatorVisualSvgHelper=new Ae.b.Interface("IStiIndicatorVisualSvgHelper"),Ae.aS.IStiProgressVisualSvgHelper=new Ae.b.Interface("IStiProgressVisualSvgHelper"),Ae.au.StiHundredthsOfInchUnit=class extends Ae.au.StiUnit{get rulerStep(){return 100}get factor(){return 100}get shortName(){return"hi"}get name(){return"HundredthsOfInch"}convertToHInches(t){return t}convertFromHInches(t){return t}},Ae.au.StiCentimetersUnit=class extends Ae.au.StiUnit{get rulerStep(){return 1}get factor(){return 100/2.54}get shortName(){return"cm"}get name(){return"Centimeters"}convertToHInches(t){return 100*t/2.54}convertFromHInches(t){return 2.54*t/100}},Ae.au.StiMillimetersUnit=class extends Ae.au.StiUnit{get rulerStep(){return 1}get factor(){return 100/2.54}get shortName(){return"mm"}get name(){return"Millimeters"}convertToHInches(t){return 10*t/2.54}convertFromHInches(t){return 2.54*t/10}};let DS=Ae.S.StiAction,BS=Ae.au.StiMillimetersUnit,ES=Ae.au.StiCentimetersUnit,kS=Ae.au.StiHundredthsOfInchUnit,NS=Ae.ap.StiQuickInfoType;{let r=class{constructor(t=null){this.forceDesigningMode=!1,this.quickInfoType=NS.None,this.generateLocalizedName=!1,this.showDimensionLines=!0,this.quickInfoOverlay=!0,this.isComponentsMoving=!1,this.currentAction=DS.None,this.isTableMode=!1,this.drawEventMarkers=!0,this.drawMarkersWhenMoving=!0,this.runDesignerAfterInsert=!0,this.useLastFormat=!1,this.autoSaveInterval=15,this.enableAutoSaveMode=!1,this.showOrder=!1,this.alignToGrid=!0,this.autoSaveReportToReportClass=!1,this.showHeaders=!0,this.showGrid=!0,this.showInteractive=!0,this.zoom=.75,this.showRulers=!0,this.gridSizePoints=20,this.gridSizePixels=8,this.gridSizeCentimetres=.2,this.gridSizeHundredthsOfInch=10,this.gridSizeInch=.1,this.gridSizeMillimeters=2,this.fillBands=!0,this.fillCrossBands=!0,this.fillContainer=!0,this.fillComponent=!0,this.useComponentColor=!0,this.gridMode=Ae.c.StiGridMode.Lines,this.report=t}clone(t){let e=new r(t);return e.forceDesigningMode=this.forceDesigningMode,e.quickInfoType=this.quickInfoType,e.generateLocalizedName=this.generateLocalizedName,e.showDimensionLines=this.showDimensionLines,e.quickInfoOverlay=this.quickInfoOverlay,e.isComponentsMoving=this.isComponentsMoving,e.currentAction=this.currentAction,e.isTableMode=this.isTableMode,e.drawMarkersWhenMoving=this.drawMarkersWhenMoving,e.runDesignerAfterInsert=this.runDesignerAfterInsert,e.useLastFormat=this.useLastFormat,e.autoSaveInterval=this.autoSaveInterval,e.enableAutoSaveMode=this.enableAutoSaveMode,e.showOrder=this.showOrder,e.alignToGrid=this.alignToGrid,e.autoSaveReportToReportClass=this.autoSaveReportToReportClass,e.showGrid=this.showGrid,e.showInteractive=this.showInteractive,e.zoom=this.zoom,e.showRulers=this.showRulers,e.gridSizePixels=this.gridSizePixels,e.gridSizeCentimetres=this.gridSizeCentimetres,e.gridSizeHundredthsOfInch=this.gridSizeHundredthsOfInch,e.gridSizeInch=this.gridSizeInch,e.gridSizeMillimeters=this.gridSizeMillimeters,e.fillBands=this.fillBands,e.fillCrossBands=this.fillCrossBands,e.fillContainer=this.fillContainer,e.fillComponent=this.fillComponent,e.useComponentColor=this.useComponentColor,e.gridMode=this.gridMode,e.forceDesigningMode=this.forceDesigningMode,e.quickInfoType=this.quickInfoType,e.generateLocalizedName=this.generateLocalizedName,e.showDimensionLines=this.showDimensionLines,e.quickInfoOverlay=this.quickInfoOverlay,e.isComponentsMoving=this.isComponentsMoving,e.currentAction=this.currentAction,e.isTableMode=this.isTableMode,e.drawEventMarkers=this.drawEventMarkers,e.drawMarkersWhenMoving=this.drawMarkersWhenMoving,e.runDesignerAfterInsert=this.runDesignerAfterInsert,e.useLastFormat=this.useLastFormat,e.autoSaveInterval=this.autoSaveInterval,e.enableAutoSaveMode=this.enableAutoSaveMode,e.showOrder=this.showOrder,e.alignToGrid=this.alignToGrid,e.autoSaveReportToReportClass=this.autoSaveReportToReportClass,e.showHeaders=this.showHeaders,e.showGrid=this.showGrid,e.showInteractive=this.showInteractive,e.zoom=this.zoom,e.showRulers=this.showRulers,e.gridSizePixels=this.gridSizePixels,e.gridSizeCentimetres=this.gridSizeCentimetres,e.gridSizeHundredthsOfInch=this.gridSizeHundredthsOfInch,e.gridSizeInch=this.gridSizeInch,e.gridSizeMillimeters=this.gridSizeMillimeters,e.fillBands=this.fillBands,e.fillCrossBands=this.fillCrossBands,e.fillContainer=this.fillContainer,e.fillComponent=this.fillComponent,e.useComponentColor=this.useComponentColor,e.gridMode=this.gridMode,e}get gridSize(){if(this.report.unit.is2(BS))return this.report.info.gridSizeMillimeters;if(this.report.unit.is2(ES))return this.report.info.gridSizeCentimetres;if(this.report.unit.is2(kS))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch}getFillColor(t){let e=Fe.empty;return e=this.useComponentColor?Fe.fromArgb(40,t):(e=jl.dark(Fe.white,40),Fe.fromArgb(100,e)),e}};Ae.aD.StiDesignerInfo=r}{let p=class{constructor(t,e){this.first=t,this.second=e}};Ae.aD.StiExpressionPacker=class{static packExpression(t,e,r){let i={ref:new Dt},n={ref:new Dt};this.buildDictionary(e,i,n,!0);let a=0,s=new Li(t),o=null,l=null,u=t,h=0;do{let t=s.getToken();if(t.type==Mi.EOF)break;if(r&&t.type==Mi.LBrace)h++;else if(r&&t.type==Mi.RBrace)h--;else if(t.type==Mi.Ident&&(!r||r&&0<h)){var c=t.data.stimulsoft().replaceAll(" ","").toLowerCase(),c;let e=null;if(null!=o&&o.type==Mi.Dot){var d=ke.isArray(n.ref.get(c))?n.ref.get(c):null;if(null!=d)for(var m of d){let t=m.stimulsoft().as(p);null!=t&&(null==l||l.type==Mi.Ident&&l.data.toLowerCase()==t.first.toLowerCase())&&(e=t.second)}}else e=i.ref.get(c);null!=e&&(c=e.length-t.length,u=u.stimulsoft().remove(t.index+a,t.length),u=u.stimulsoft().insert(t.index+a,e,0),a+=c)}l=o,o=t}while(1==1);return u}static unPackExpression(a,t,e){let s={ref:new Dt},o={ref:new Dt};this.buildDictionary(t,s,o,!1);let l=0,u=new Li(a),h=null,c=null,d=a,r=0,m=null;do{let n=u.getToken();if(n.type==Mi.EOF)break;if(e&&n.type==Mi.LBrace)r++;else if(e&&n.type==Mi.RBrace)r--;else if((!e||e&&0<r)&&(n.type==Mi.LBracket||n.type==Mi.Ident)){let t=-1,e=-1,r=null;if(n.type==Mi.LBracket){t=n.index+l,e=t;do{var p=u.getToken();if(null==n&&(n=p),p.type==Mi.EOF){t=-1;break}if(p.type==Mi.RBracket)break;e=p.index+p.length+l}while(1==1);if(-1==t)break;t-=l,e-=l,r=a.substr(t,e-t+1)}else t=n.index,e=n.index+n.length,r=n.data;var g=r.length,f;r=r.stimulsoft().replaceAll(" ","").toLowerCase();let i=null;if(null!=h&&h.type==Mi.Dot){var f=o.ref.get(r);if(null!=f)for(var S of f){let t=S;null!=t&&(null==c||null!=m&&m.toLowerCase()==t.first.toLowerCase())&&(i=t.second)}}else i=s.ref.get(r);null!=i&&(f=i.length-g,d=d.stimulsoft().remove(n.index+l,g),d=d.stimulsoft().insert(n.index+l,i,0),l+=f),m=i}c=h,h=n}while(1==1);return d}static isValidName(e){if(De.isNullOrEmpty(e)||!Be.isLetter(e[0])&&"_"!=e[0])return!1;for(let t=0;t<e.length;t++)if(!Be.isLetterOrDigit(e[t])&&"_"!=e[t])return!1;return!0}static getCorrectedAlias(t,e){if(this.isValidName(e))return e;return De.format("[{0}]",e)}static addWord(e,r,i){if(e.containsKey(r)){let t=e.get(r);t.push(i)}else{let t=[];t.push(i),e.set(r,t)}}static buildDictionary(i,n,a,s){if(n.ref=new Dt,a.ref=new Dt,null!=i){for(var e of i.dictionary.dataSources.list){let r=e.name,t=this.getCorrectedAlias(i,e.alias);s?(r=r.stimulsoft().replaceAll(" ","").toLowerCase(),e.name!=e.alias&&n.ref.set(r,t),Ae.c.StiNameValidator.correctName(e.name,!0,i)!=e.alias&&(n.ref.set(Ae.c.StiNameValidator.correctName(r,!0,i),t),n.ref.set(Ae.c.StiNameValidator.correctName(e.name,!0,i).toLowerCase(),t))):(t=t.stimulsoft().replaceAll(" ","").toLowerCase(),n.ref.set(t,Ae.c.StiNameValidator.correctName(r,!0,i)));for(var o of e.columns.list){let t=o.name,e=this.getCorrectedAlias(i,o.alias);s?(t=t.stimulsoft().replaceAll(" ","").toLowerCase(),Ae.c.StiNameValidator.correctName(t,!0,i),o.name!=o.alias&&this.addWord(a.ref,t,new p(r,e)),Ae.c.StiNameValidator.correctName(o.name,!0,i)!=o.alias&&(this.addWord(a.ref,Ae.c.StiNameValidator.correctName(t,!0,i),new p(r,e)),this.addWord(a.ref,Ae.c.StiNameValidator.correctName(o.name,!0,i).toLowerCase(),new p(r,e)))):(e=e.stimulsoft().replaceAll(" ","").toLowerCase(),this.addWord(a.ref,e,new p(r,Ae.c.StiNameValidator.correctName(t,!0,i))))}}for(var t of i.dictionary.businessObjects.list)this.buildBusinessObject(i,t,n,a,s)}if(null!=i)for(var r of i.dictionary.relations.list){let t=r.name,e=this.getCorrectedAlias(i,r.alias);s?(t=t.stimulsoft().replaceAll(" ","").toLowerCase(),Ae.c.StiNameValidator.correctName(t,!0,i),r.name!=r.alias&&this.addWord(a.ref,t,e),Ae.c.StiNameValidator.correctName(r.name,!0,i)!=r.alias&&(this.addWord(a.ref,Ae.c.StiNameValidator.correctName(t,!0,i),e),this.addWord(a.ref,Ae.c.StiNameValidator.correctName(r.name,!0,i).toLowerCase(),e))):(e=e.stimulsoft().replaceAll(" ","").toLowerCase(),this.addWord(a.ref,e,Ae.c.StiNameValidator.correctName(t,!0,i)))}if(null!=i)for(var l of i.dictionary.variables.list){let t=l.name,e=this.getCorrectedAlias(i,l.alias);s?(t=t.stimulsoft().replaceAll(" ","").toLowerCase(),Ae.c.StiNameValidator.correctName(t,!0,i),l.name!=l.alias&&n.ref.set(t,e),Ae.c.StiNameValidator.correctName(l.name,!0,i)!=l.alias&&(n.ref.set(Ae.c.StiNameValidator.correctName(t,!0,i),e),n.ref.set(Ae.c.StiNameValidator.correctName(l.name,!0,i).toLowerCase(),e))):(e=e.stimulsoft().replaceAll(" ","").toLowerCase(),n.ref.set(e,Ae.c.StiNameValidator.correctName(t,!0,i)))}}static buildBusinessObject(r,t,e,i,n){let a=t.name,s=this.getCorrectedAlias(r,t.alias);n?(a=a.stimulsoft().replaceAll(" ","").toLowerCase(),t.name!=t.alias&&e.ref.set(a,s),Ae.c.StiNameValidator.correctName(t.name,!0,r)!=t.alias&&(e.ref.set(Ae.c.StiNameValidator.correctName(a,!0,r),s),e.ref.set(Ae.c.StiNameValidator.correctName(t.name,!0,r).toLowerCase(),s))):(s=s.stimulsoft().replaceAll(" ","").toLowerCase(),e.ref.set(s,Ae.c.StiNameValidator.correctName(a,!0,r)));for(var o of t.columns.list){let t=o.name,e=this.getCorrectedAlias(r,o.alias);n?(t=t.stimulsoft().replaceAll(" ","").toLowerCase(),Ae.c.StiNameValidator.correctName(t,!0,r),o.name!=o.alias&&this.addWord(i.ref,t,new p(a,e)),Ae.c.StiNameValidator.correctName(o.name,!0,r)!=o.alias&&(this.addWord(i.ref,Ae.c.StiNameValidator.correctName(t,!0,r),new p(a,e)),this.addWord(i.ref,Ae.c.StiNameValidator.correctName(o.name,!0,r).toLowerCase(),new p(a,e)))):(e=e.stimulsoft().replaceAll(" ","").toLowerCase(),this.addWord(i.ref,e,new p(a,Ae.c.StiNameValidator.correctName(t,!0,r))))}for(var l of t.businessObjects.list)this.buildBusinessObject(r,l,e,i,n)}}}Ae.am.StiAliasAttribute=class{constructor(t){this.alias=t}};let FS=Ae.ap.StiGroupSortDirection;Ae.am.StiBusinessObjectSort=class{constructor(t,e,r,i){this.businessObject=null,this.businessObject=e,this.sortColumns=t,this.conditions=i,this.rowToConditions=r}compare(e,r){try{if(e==r)return 0;if(null!=this.rowToConditions&&null!=this.conditions){var i=this.rowToConditions.get(e),n=this.rowToConditions.get(r),a=this.conditions.length;for(let t=0;t<a;t++){var s=this.conditions[i][t][0],o=this.conditions[n][t][0],l=+this.conditions[i][t][1],u=this.compareValues(s,o,l==FS.Ascending);if(0==u)continue;return u}}if(null==this.sortColumns||0==this.sortColumns.length)return 0;let t=0;while(t<this.sortColumns.length){var h=t;while(t<this.sortColumns.length&&"ASC"!=this.sortColumns[t]&&"DESC"!=this.sortColumns[t])t++;t}return 0}catch(t){return Ae.b.StiError.showError(t,!1),0}}compareValues(t,e,r=!0){let i=r?1:-1;if(t==No.value&&e==No.value)return 0;if(t==No.value)return-1*i;if(e==No.value)return 1*i;let n=t;var a;if(null==n&&null==e)return 0;if(null==n)return-1*i;if(null==e)return 1*i;if(n!=e){let t=n.compareTo(e);if(r||(t=-t),0!=t)return t}return 0}clear(){this.sortColumns=null}},Ae.am.StiBusinessObjectToDataSet=class{constructor(){this.dataSet=null,this.relations=null,this.uniques=null,this.level=0}convertBusinessObjectToDataSet(t,e){var r;return new Xe(t)}};{let t=class extends Ae.am.StiDataColumn{constructor(t="CalcColumn",e="CalcColumn",r=new Wr,i="",n=""){super(t,t,e,r),this.value=i,""!=n&&(this.key=n)}implements(){return t.ImplementsStiCalcDataColumn||(t.ImplementsStiCalcDataColumn=super.implements().concat([Cn])),t.ImplementsStiCalcDataColumn}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>"Calc"),new In("Expression")])}get expression(){return this.value}set expression(t){this.value=t}};Ae.am.StiCalcDataColumn=t}Ae.am.StiData=class{constructor(t,e,r){this.OriginalConnectionState=null,this._name=t,this.data=e,(this.viewData=r)||(this.viewData=e)}get name(){return this._name}set name(t){this._name!=t&&(this.alias==this._name&&(this.alias=t),this._name=t)}get isBusinessObjectData(){return this.isReportData}set isBusinessObjectData(t){this._isBusinessObjectData=t}toString(){return this.name==this.alias?this.name+"("+this.viewData.stimulsoft().getTypeName()+")":this.name+"("+this.alias+")"}};let RS=Ae.c.StiNameValidator;Ae.am.StiDataBuilder=class{static getColumnFromPath(t,e){var r,i=t.split(".")[0],n;for(n of e.dataSources.list)if(RS.correctName(n.name)==i&&t.length>n.name.length+1){var a=t.substring(n.name.length+1);return this.getColumnFromPath2(a,n)}return null}static getColumnFromPath2(t,e){var r=t.split("."),i,n;let a=0,s=r[a];while(1==1){for(var o of e.columns.list)if(RS.correctName(o.name)==s&&a==r.length-1)return o;for(n of e.getParentRelations().list)if(RS.correctName(n.name)==s){var l=t.substring(n.name.length+1);return this.getColumnFromPath2(l,n.parentSource)}if(a==r.length-1)return null;a++,s+="."+r[a]}return null}};{let s=class extends J{getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}setByName(t,r){var i=t.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==i)return void(this.list[e]=r)}this.add(r)}regData(e,r,i,n=li.ParentToChild){if(null!=i){if(De.isNullOrEmpty(r)&&!De.isNullOrEmpty(e)&&(r=e),i.stimulsoft().is(ze))return void(De.isNullOrEmpty(r)?this.regDataDataTable2(i):this.regDataDataTable(e,r,i));if(i.stimulsoft().is(Xe))return De.isNullOrEmpty(r)&&this.regDataDataSet2(i),void this.regDataDataSet(e,r,i);if("string"==typeof i)try{let t=new Xe(e);return i.trim().stimulsoft().startsWith("<?xml")?t.readXml(i):t.readJson(i,n),void this.regDataDataSet(e,r,t)}catch(t){Ae.b.StiError.showError(t,!1)}if(i.stimulsoft().is(s))return void this.regDataStiDataCollection(i);if(i.stimulsoft().is(Object))try{let t=new Xe(e);return void 0!==i["firstChild"]&&void 0!==i["lastChild"]?t.readXml(i):t.readJson(i,n),void this.regDataDataSet(e,r,t)}catch(t){Ae.b.StiError.showError(t,!1)}let t=new Ae.am.StiBusinessObjectToDataSet;var n=t.convertBusinessObjectToDataSet(e,i);if(null!=n)for(var a of n.tables.list)this.regDataDataTable(a.tableName,r,a),this.getByIndex(this.length-1).data=i,this.getByIndex(this.length-1).isBusinessObjectData=!0;else this.add(new Ae.am.StiData(e,i)),this.getByIndex(this.length-1).alias=r,this.getByIndex(this.length-1).isBusinessObjectData=!0}}regDataDataTable(t,e,r){null!=r&&(null==this.getByName(t)?(this.add(new Ae.am.StiData(t,r,r)),this.getByIndex(this.length-1).alias=e):(this.getByName(t).data=r,this.getByName(t).viewData=r,this.getByName(t).alias=e))}regDataDataSet(t,e,r){if(null!=r)for(var i of r.tables.list)this.regDataDataTable(t+"."+i.tableName,e,i)}regDataDataTable2(t){let e=t.tableName;De.isNullOrEmpty(e)&&(e="Table"),this.regData(e,"",t)}regDataDataSet2(t){let e=t.dataSetName;De.isNullOrEmpty(t.dataSetName)&&(e="DataSet"),this.regData(e,"",t)}regDataStiDataCollection(t){if(t==this)return;for(var e of t.list)this.add(e)}clearReportDatabase(){let t=0;while(t<this.length)this.getByIndex(t).isReportData?this.removeAt(t):t++}contains(t){if(t.stimulsoft().is(Ae.am.StiData))return this.list.stimulsoft().contains(t.stimulsoft().as(Ae.am.StiData));if("string"==typeof t)return null!=this.getByName(t);return!1}getData(t){let e=new s;for(var r of this.list)r.viewData.stimulsoft().getType()==t&&e.add(r);return e}};Ae.am.StiDataCollection=s}Ae.am.StiDataColumnExt=class{static getDataSourceByColumnKey(t,e){if(_i.isEmptyKey(e))return null;for(var r of t.dictionary.dataSources.list){var i;if(null!=r.columns.toList().firstOrDefault(t=>t.key==e))return r}return null}static getColumnByKey(t,e){if(_i.isEmptyKey(e))return null;for(var r of t.dictionary.dataSources.list){var r=r.columns.toList().firstOrDefault(t=>t.key==e);if(null!=r)return r}return null}static isNumericType(t){return null!=t&&null!=t.type&&Wr.isNumericType(t.type)}static isDateType(t){return null!=t&&null!=t.type&&Wr.isDateType(t.type)}static isIntegerType(t){return null!=t&&null!=t.type&&Wr.isIntegerType(t.type)}static isArray(t){return null!=t&&null!=t.type&&Wr.isArrayType(t.type)}};{let l=class extends J{constructor(e){if(super(),this.cachedDataColumns=new Dt,this.directionFactor=1,null!=e)if(ke.isArray(e)){let t;0<e.length&&(e[0].stimulsoft().is(Ae.am.StiDataColumn)?t=e:e[0].stimulsoft().is(it)&&(t=e.stimulsoft().toList().select(t=>new Ae.am.StiDataColumn(t.columnName,t.columnName,t.columnName,t.dataType))),this.addRange(t))}else e.is(Ae.am.StiDataSource)?this.dataSource=e:e.is(Ae.am.StiBusinessObject)&&(this.businessObject=e)}implements(){return[Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var r of t.properties()){let t=null,e=r.value;var i=e.properties().firstOrDefault(t=>"Ident"==t.name);t=new(null!=i&&"Calc"==i.value?Ae.am.StiCalcDataColumn:null!=i&&"Transform"==i.value?Ae.am.StiDataTransformationColumn:Ae.am.StiDataColumn),t.loadFromJsonObject(r.value),this.add(t)}}decodeTypeName(t){return t.stimulsoft().replaceAll("_x002c_",",")}loadFromXml(r){for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];if("value"==t.nodeName){var i=t.textContent.split(",");if(7==i.length||6==i.length)if("CALC"==i[0]){let t=String;try{t=ll.getStiType(this.decodeTypeName(i[3]))}catch(t){Ae.b.StiError.showError(t,!1)}var n=new Ae.am.StiCalcDataColumn(nt.decodeName(i[1]),nt.decodeName(i[2]),t,nt.decodeName(i[4]),nt.decodeName(i[5]));this.add(n)}else if("TRANSFORM"==i[0]){var n=ll.getStiType(this.decodeTypeName(i[3])),n=l.checkType(this.decodeTypeName(i[2]),n),a=6==i.length?Ae.am.StiDataTransformationMode.Dimension:Zt.parse(Ae.am.StiDataTransformationMode,nt.decodeName(i[6])),a=new Ae.am.StiDataTransformationColumn(nt.decodeName(i[1]),nt.decodeName(i[2]),n,nt.decodeName(i[4]),nt.decodeName(i[5]),a);this.add(a)}else{let t=String;try{t=ll.getStiType(this.decodeTypeName(i[4]))}catch(t){Ae.b.StiError.showError(t,!1)}var a=new Ae.am.StiDataColumn(nt.decodeName(i[1]),nt.decodeName(i[2]),nt.decodeName(i[3]),t,nt.decodeName(i[5]));this.add(a)}else if(5==i.length)if("ORIGINAL"==i[0]){let t=String;try{t=ll.getStiType(this.decodeTypeName(i[4]))}catch(t){Ae.b.StiError.showError(t,!1)}var s=new Ae.am.StiDataColumn(nt.decodeName(i[1]),nt.decodeName(i[2]),nt.decodeName(i[3]),t);this.add(s)}else{let t=String;try{t=ll.getStiType(this.decodeTypeName(i[2]))}catch(t){Ae.b.StiError.showError(t,!1)}var s=new Ae.am.StiCalcDataColumn(nt.decodeName(i[0]),nt.decodeName(i[1]),t,nt.decodeName(i[4]));this.add(s)}else if(4==i.length){let t=String;try{t=ll.getStiType(this.decodeTypeName(i[2]))}catch(t){Ae.b.StiError.showError(t,!1)}var o=new Ae.am.StiCalcDataColumn(nt.decodeName(i[0]),nt.decodeName(i[1]),t,nt.decodeName(i[3]));this.add(o)}else if(3==i.length){let t=String;try{t=ll.getStiType(this.decodeTypeName(i[2]))}catch(t){Ae.b.StiError.showError(t,!1)}var o=new Ae.am.StiDataColumn(nt.decodeName(i[0]),nt.decodeName(i[0]),nt.decodeName(i[1]),t);this.add(o)}else{let t=String;try{t=ll.getStiType(this.decodeTypeName(i[1]))}catch(t){Ae.b.StiError.showError(t,!1)}var i=new Ae.am.StiDataColumn(nt.decodeName(i[0]),nt.decodeName(i[0]),nt.decodeName(i[0]),t);this.add(i)}}}}static checkType(t,e){return e=null==e?Object:e}onInsert(t){let e=t;null!=e&&(null==e.dataSource&&(e.dataSource=this.dataSource),null==e.businessObject&&(e.businessObject=this.businessObject),null==e.dataColumnsCollection&&(e.dataColumnsCollection=this))}add(t,e,r){var r;t.stimulsoft().is(Ae.am.StiDataColumn)&&(this.list.push(t.stimulsoft().as(Ae.am.StiDataColumn)),this.onInsert(t)),"string"==typeof t&&null!=e&&e.stimulsoft().is(Wr)&&this.add(t,t,e),"string"==typeof t&&null!=e&&"string"==typeof e&&null!=r&&(r=new Ae.am.StiDataColumn("",t,e,r),this.add(r),this.onInsert(r))}contains(t){if("string"==typeof t){for(var e of this.list)if(e.name==t)return!0}else if(t.is(Ae.am.StiDataColumn))return this.list.stimulsoft().contains(t);return!1}insert(t,e){this.list.stimulsoft().insert(t,e),this.onInsert(e)}remove(t){this.list.stimulsoft().remove(t);var t=t.name.toLowerCase();this.cachedDataColumns.contains(t)&&this.cachedDataColumns.remove(t)}getByName(t){t=t.toLowerCase();var e=this.cachedDataColumns.get(t),r;if(null!=e)return e;for(r of this.list)if(r.name.toLowerCase()==t)return this.cachedDataColumns.set(t,r),r;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}sort(t){t==Ae.am.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()}};Ae.am.StiDataColumnsCollection=l}let LS=Ae.aj;Ae.am.StiDataParameter=class extends Ch{constructor(t,e,r,i,n){super(),this.dataParametersCollection=null,this._inherited=!1,this.type=0,this.size=0,this.key=null,null==t&&(t="Parameter"),null==e&&(t=""),null==i&&(i=0),this.type=r=null==r?0:r,this.name=t,this.value=e,this.size=i,null!=n&&(this.key=n)}implements(){return[Ae.c.IStiName,Yt]}meta(){return this._hash||(this._hash=[...super.meta(),new gs("Value"),new In("Name"),new Ui("Expression"),new ji("Type"),new ji("Size"),new Ui("Key")])}get inherited(){if(null!=this.dataSource)return this.dataSource.inherited;return!1}set inherited(t){this._inherited=t}get applyFormat(){return!1}get expression(){return this.value}set expression(t){this.value=t}getParameterValue(){let t=null;null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&(t=this.dataSource.dictionary.report.variables);let e=null;return null!=t&&t.containsKey(this.name)?(e=t.get(this.name),"string"==typeof e&&"#null#"==e&&(e=null)):e=this.parameterValue,e}toString(){return this.name}isStringType(t){if(null==t)return!1;var t=t.stimulsoft().getType();if(t==Ae.am.StiSqlSource)return 3==this.type||31==this.type||4==this.type||33==this.type||34==this.type||10==this.type||11==this.type||12==this.type||18==this.type||32==this.type||19==this.type||22==this.type;if(t==Ae.am.StiOdbcSource)return 8==this.type||129==this.type||7==this.type||133==this.type||134==this.type||135==this.type||64==this.type||72==this.type||201==this.type||203==this.type||200==this.type||202==this.type||130==this.type;if(t==Ae.am.StiFirebirdSource)return 3==this.type||4==this.type||8==this.type||12==this.type||13==this.type||14==this.type||15==this.type;if(t==Ae.am.StiMySqlSource)return 252==this.type||10==this.type||12==this.type||8==this.type||251==this.type||751==this.type||250==this.type||248==this.type||254==this.type||752==this.type||11==this.type||249==this.type||749==this.type||253==this.type||15==this.type;if(t==Ae.am.StiOracleSource)return 1042==this.type||1082==this.type||25==this.type||1083==this.type||1114==this.type||1184==this.type||1266==this.type||1043==this.type;return 1001==this.type||1005==this.type}isNumberType(t){if(null==t)return!1;var t=t.stimulsoft().getType();if(t==Ae.am.StiSqlSource)return 0==this.type||5==this.type||6==this.type||8==this.type||13==this.type||16==this.type||20==this.type;if(t==Ae.am.StiOdbcSource)return 20==this.type||14==this.type||5==this.type||3==this.type||131==this.type||4==this.type||2==this.type||16==this.type||21==this.type||19==this.type||18==this.type||17==this.type||139==this.type;if(t==Ae.am.StiFirebirdSource)return 1==this.type||5==this.type||6==this.type||7==this.type||9==this.type||10==this.type||11==this.type;if(t==Ae.am.StiMySqlSource)return 0<=this.type&&this.type<=5||8==this.type||9==this.type||246==this.type||501==this.type||502==this.type||509==this.type||503==this.type||508==this.type;if(t==Ae.am.StiOracleSource)return 20==this.type||701==this.type||23==this.type||1186==this.type||1700==this.type||700==this.type||21==this.type;return 1002==this.type||1003==this.type}isDateType(t){if(null==t)return!1;var t=t.stimulsoft().getType();if(t==Ae.am.StiSqlSource)return this.type==LS.MsSql.Date||this.type==LS.MsSql.DateTime||this.type==LS.MsSql.DateTime2||this.type==LS.MsSql.DateTimeOffset;if(t==Ae.am.StiOdbcSource)return this.type==LS.Odbc.Date||this.type==LS.Odbc.DateTime||this.type==LS.Odbc.SmallDateTime;if(t==Ae.am.StiFirebirdSource)return this.type==LS.Firebird.Date;if(t==Ae.am.StiMySqlSource)return this.type==LS.MySql.Date||this.type==LS.MySql.DateTime||this.type==LS.MySql.Newdate;if(t==Ae.am.StiOracleSource)return this.type==LS.Oracle.Date;return!1}isTimeType(t){if(null==t)return!1;var t=t.stimulsoft().getType();if(t==Ae.am.StiSqlSource)return this.type==LS.MsSql.DateTime||this.type==LS.MsSql.DateTime2||this.type==LS.MsSql.DateTimeOffset||this.type==LS.MsSql.Time||this.type==LS.MsSql.Timestamp;if(t==Ae.am.StiOdbcSource)return this.type==LS.Odbc.DateTime||this.type==LS.Odbc.SmallDateTime||this.type==LS.Odbc.Time||this.type==LS.Odbc.Timestamp;if(t==Ae.am.StiFirebirdSource)return this.type==LS.Firebird.Time||this.type==LS.Firebird.TimeStamp;if(t==Ae.am.StiMySqlSource)return this.type==LS.MySql.DateTime||this.type==LS.MySql.Time||this.type==LS.MySql.Timestamp;if(t==Ae.am.StiOracleSource)return this.type==LS.Oracle.TimeStamp||this.type==LS.Oracle.TimeStampLTZ||this.type==LS.Oracle.TimeStampTZ;return!1}isDateTimeType(t){return this.isDateType(t)&&this.isTimeType(t)}},Ae.am.StiDataParametersCollection=class extends J{constructor(t=null){super(),this.cachedDataParameters=new Dt,this.dataSource=t}implements(){return[Yt]}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.am.StiDataParameter;t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if("value"==e.nodeName){let t=e.textContent.split(",");var i,i;4==t.length?(i=new Ae.am.StiDataParameter(Ae.bl.XMLConvert.decodeName(t[0]),Ae.bl.XMLConvert.decodeName(t[1]),t[2].stimulsoft().toNumber(),t[3].stimulsoft().toNumber()),this.list.push(i)):(i=new Ae.am.StiDataParameter(Ae.bl.XMLConvert.decodeName(t[0]),Ae.bl.XMLConvert.decodeName(t[1]),t[2].stimulsoft().toNumber(),t[3].stimulsoft().toNumber(),t[4]),this.list.push(i))}}}onInsert(t,e){null==e.dataSource&&(e.dataSource=this.dataSource),null==e.dataParametersCollection&&(e.dataParametersCollection=this)}contains(t){if(t.stimulsoft().is(Ae.am.StiDataParameter))return this.list.stimulsoft().contains(t);if("string"==typeof t)for(var e of this.list)if(e.name==t)return!0;return!1}getByName(t){t=t.toLowerCase();var e=this.cachedDataParameters.get(t),r;if(null!=e)return e;for(r of this.list)if(r.name.toLowerCase()==t)return this.cachedDataParameters.set(t,r),r;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}};let MS=Ae.d.IStiAppDataRelation;Ae.am.StiDataRelation=class{constructor(t="",e=t,r=t,i=null,n=null,a=[],s=[],o=null){this.inherited=!1,this.isCloud=!1,this.active=!1,this.nameInSource=t,this.name=e,this.alias=r,this.parentSource=i,this.childSource=n,this.parentColumns=a,this.childColumns=s,this.key=o}implements(){return[Ae.c.IStiName,Ae.c.IStiAlias,Ae.c.IStiInherited,Jt,ku,MS,Yt]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[new Wi("Inherited"),new Ui("Name","_"),new Ma("ChildColumns").get(()=>ci.Serialize.stringArray(this.childColumns)).set(t=>this.childColumns=ci.Deserialize.stringArray(t.value)).setXml(t=>this.childColumns=this.parseStringArray(t)),new Ma("ParentColumns").get(()=>ci.Serialize.stringArray(this.parentColumns)).set(t=>this.parentColumns=ci.Deserialize.stringArray(t.value)).setXml(t=>this.parentColumns=this.parseStringArray(t)),new Ui(["NameInSource","RelationName"]),new Ui("Alias"),new Wi("IsCloud"),new Wi("Active"),new Ui("Key"),new Ui("ParentSource").check(()=>null!=this.parentSource).get(()=>this.parentSource.name).set(t=>this.parentSource=this.dictionary.dataSources.getByName(t.value)).setXml(t=>{t.attributes.getNamedItem("isRef")&&(this.parentSource=this.dictionary.dataSources.getByXmlRef(t.attributes.getNamedItem("isRef").value))}),new Ui("ChildSource").check(()=>null!=this.childSource).get(()=>this.childSource.name).set(t=>this.childSource=this.dictionary.dataSources.getByName(t.value)).setXml(t=>{t.attributes.getNamedItem("isRef")&&(this.childSource=this.dictionary.dataSources.getByXmlRef(t.attributes.getNamedItem("isRef").value))})])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}parseStringArray(e){let r=[];for(let t=0;t<e.childNodes.length;t++){var i=e.childNodes[t];"value"==i.nodeName&&(r[t]=i.textContent)}return r}get name(){return this._name}set name(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&Hd.Designer.autoCorrectDataRelationName&&(t=Ae.c.StiNameValidator.correctName(t)),this._name=t}getName(){return this.name}getDictionary(){return this.dictionary}getParentDataSource(){return this.parentSource}getChildDataSource(){return this.childSource}fetchParentColumns(){return this.parentColumns.stimulsoft().toList()}fetchChildColumns(){return this.childColumns.stimulsoft().toList()}getActiveState(){return this.active}getKey(){return this.key=_i.getOrGeneratedKey(this.key),this.key}setKey(t){this.key=t}clone(){return this.stimulsoft().memberwiseClone()}toString(){if(Hd.Dictionary.showOnlyAliasForDataRelation)return this.alias;return this.alias==this.name?this._name:this.name+" ["+this.alias+"]"}},Ae.am.StiDataRelationSetName=class{static setName(t,e,r,i){if(t.nameInSource=i,null==t.parentSource)return;var e=Ae.c.StiNameCreation.createRelationName(e,t,t.parentSource.name);t.name=e,t.alias=e}};{var k=class{constructor(){this.usedColumns=new Dt,this.usedRelations=new Dt,this.usedDataSources=new Dt}dispose(){this.usedColumns.clear(),this.usedColumns=null,this.usedRelations.clear(),this.usedRelations=null,this.usedDataSources.clear(),this.usedDataSources=null}buildTokens(t){let e=new Dt,r=0,i=l.Find,n="";while(r<t.length){var a=t[r],s,o;if(i==l.Find)!Be.isLetter(a)&&"_"!=a||(i=l.Lexem,n+=a),'"'!=a||-1!=(s=t.indexOf('"',r+1))&&(o=t.substr(r+1,s-r-1),e.set(o,o),r=s+1);else if(i==l.Lexem)if(Be.isLetterOrDigit(a)||"_"==a||"."==a)i=l.Lexem,n+=a;else if(""!=n){while(r<t.length){if("."==t[r]||" "!=t[r])break;r++}if(r<t.length&&"."==t[r]){n+=".";while(r<t.length){if(" "!=t[r])break;r++}}else r--,e.set(n,n),n="",i=l.Find}r++}return i==l.Lexem&&e.set(n,n),e}retrieval(r){if(null!=r){var n=r.script,a,s,o,l,u;let t=this.buildTokens(r.script);r.script=n;let e=new P,i=new Dt;e.build(i,r.dictionary);for(a of i.keys)if(null!=t.get(a)){let t=i.get(a);t.stimulsoft().is(Ae.am.StiDataSource)&&null==this.usedDataSources.get(t)?this.usedDataSources.set(t,t):t.stimulsoft().is(Ae.am.StiDataColumn)&&null==this.usedColumns.get(t)?this.usedColumns.set(t,t):t.stimulsoft().is(Ae.am.StiDataRelation)&&null==this.usedRelations.get(t)&&this.usedRelations.set(t,t);var h=a.split(".");if(0<h.length)for(var c of h){let t=i.get(c);null!=t&&(t.stimulsoft().is(Ae.am.StiDataSource)&&null==this.usedDataSources.get(t)?this.usedDataSources.set(t,t):t.stimulsoft().is(Ae.am.StiDataColumn)&&null==this.usedColumns.get(t)?this.usedColumns.set(t,t):t.stimulsoft().is(Ae.am.StiDataRelation)&&null==this.usedRelations.get(t)&&this.usedRelations.set(t,t))}}for(o of r.getComponents().list){var d=o.as(fu);null!=d&&null!=d.dataSource&&this.usedDataSources.set(d.dataSource,d.dataSource);var d=o.as(vu);null!=d&&null!=d.dataRelation&&this.usedRelations.set(d.dataRelation,d.dataRelation);var m=o.as(yu);if(null!=m&&null!=m.sort){let e="";var d=o.as(fu);null!=d&&null!=d.dataSource&&(e=Ae.c.StiNameValidator.correctName(d.dataSource.name)+".");let r=1;while(r<m.sort.length){let t="";while(r<m.sort.length&&"ASC"!=m.sort[r]&&"DESC"!=m.sort[r])0==t.length?t=m.sort[r]:t+="."+m.sort[r],r++;r++,t=Ae.c.StiNameValidator.correctName(t);var p=i.get(e+t);null!=p&&this.usedColumns.set(p,p)}}}for(u of this.usedColumns.values)null!=u.dataSource&&(this.usedDataSources.contains(u.dataSource)||this.usedDataSources.set(u.dataSource,u.dataSource));var r=this.usedRelations.values,g,f,S,b;for(g of r)this.usedDataSources.set(g.parentSource,g.parentSource),this.usedDataSources.set(g.childSource,g.childSource);for(S of this.usedDataSources.values){var y=S.getParentRelations(),v,w;for(v of y.list)null!=this.usedDataSources.get(v.parentSource)&&this.usedRelations.set(v,v);for(w of(y=S.getChildRelations()).list)null!=this.usedDataSources.get(w.childSource)&&this.usedRelations.set(w,w)}for(b of r=this.usedRelations.values){if(null!=b.parentSource)for(var C of b.parentColumns){var C=b.parentSource.columns.getByName(C);null!=C&&this.usedColumns.set(C,C)}if(null!=b.childSource)for(var T of b.childColumns){var T=b.childSource.columns.getByName(T);null!=T&&this.usedColumns.set(T,T)}}}}};Ae.am.StiDataRetrieval=k;let l;(yt=l=l||{})[yt["Lexem"]=0]="Lexem",yt[yt["Find"]=1]="Find";let P=class{buildColumns(t,e,r){for(var i of e.list){var n=r+"."+Ae.c.StiNameValidator.correctName(i.name);t.set(n,i)}}buildRelations(t,e,r,i){if(0<e.count)for(var n of e.list){var a=i+"."+Ae.c.StiNameValidator.correctName(n.name);t.set(a,n),this.buildData(t,n.parentSource,r,a,!0),n.name!=n.nameInSource&&(a=i+"."+Ae.c.StiNameValidator.correctName(n.nameInSource),t.set(a,n),t.set(Ae.c.StiNameValidator.correctName(n.nameInSource),n),this.buildData(t,n.parentSource,r,a,!0))}}buildData(t,e,r,i,n){let a="";""!=i?a=i+"."+Ae.c.StiNameValidator.correctName(e.name):""==i&&(a=Ae.c.StiNameValidator.correctName(e.name)),this.level++,r.contains(e)||(r.add(e),n?this.buildRelations(t,e.getParentRelations(),r,i):this.buildRelations(t,e.getParentRelations(),r,a),r.remove(e)),n?this.buildColumns(t,e.columns,i):this.buildColumns(t,e.columns,a),this.level--}build(t,e){var e=e.dataSources,r=new Ae.am.StiDataSourcesCollection(null),i;for(i of e.list){var n=Ae.c.StiNameValidator.correctName(i.name);t.set(n,i),this.buildData(t,i,r,"",!1)}}}}{let r=class{constructor(t,e){this.dataSource=t,this.row=e}createDataRow(t){return new r(null!=t?t.dataSource:null,null!=t?t.row:null)}get dictionary(){return this.dataSource.dictionary}getByColumnName(t){if(null==this.row)return null;return this.row.getValueByIndex(this.dataSource.getColumnIndex(t))}getParentData(t){if(null==this.row)return null;var e=this.row.getParentRows(t);if(null==e||0==e.length)return null;return new r(this.dataSource.getParentDataSource(t),e[0])}};Ae.am.StiDataRow=r}var ot=class{constructor(t,e,r,i){if(this.rowToConditions=null,this.dataSource=null,this.textComp=null,this.dataSource=i,this.sortColumns=r,this.conditions=e,this.rowToConditions=t,null!=this.sortColumns){let t=0,e=0;while(t<this.sortColumns.length)"ASC"==this.sortColumns[t]&&e++,"DESC"==this.sortColumns[t]&&e++,t++;this.hashValues=[];for(let t=0;t<e;t++)this.hashValues[t]=new Dt}if(null!=this.dataSource.dictionary){let t=this.dataSource.dictionary.report;null!=t&&(this.textComp=new $o,this.textComp.name="**StiDataSort**",this.textComp.page=t.pages.getByIndex(0))}}compare(t,e){return this.compareRows(t,e)}compareRows(s,o){if(s==o)return 0;var t,e=o;if(null!=this.rowToConditions&&null!=this.conditions){var r=this.rowToConditions.get(s.recordIndex),i=this.rowToConditions.get(e.recordIndex),n=this.conditions.stimulsoft().getLength(1);for(let t=0;t<n;t++){var a=this.conditions[r][t][0],l=this.conditions[i][t][0],u=this.conditions[r][t][1],u=this.compareValues(a,l,u==FS.Ascending);if(0==u)continue;return u}}if(null==this.sortColumns||0==this.sortColumns.length)return 0;let h=0,c=0;while(c<this.sortColumns.length){var d="ASC"==this.sortColumns[c++],m=c,p,p;while(c<this.sortColumns.length&&"ASC"!=this.sortColumns[c]&&"DESC"!=this.sortColumns[c])c++;let n=this.hashValues[h].get(s),a=this.hashValues[h].get(o);if(null==n||null==a){let e=this.dataSource,r=s,i=o,t=this.sortColumns[m];if(t.stimulsoft().startsWith("{")&&t.stimulsoft().endsWith("}")){var g=this.rowToConditions.get(r.recordIndex),f=this.rowToConditions.get(i.recordIndex),S=e.position;e.position=g,n=wd.parseTextValue(t,this.textComp),e.position=f,a=wd.parseTextValue(t,this.textComp),e.position=S}else{if(1<c-m){let t=m;while(t<c-1){if(e=e.getParentDataSource(this.sortColumns[t]),null==e)return null;null==n&&(p=null!=r?r.getParentRows(this.sortColumns[t]):null,r=null!=p&&0<p.length?p[0]:null),null==a&&(p=null!=i?i.getParentRows(this.sortColumns[t]):null,i=null!=p&&0<p.length?p[0]:null),t++}}var m=e.getColumnIndex(this.sortColumns[c-1]);if(-1!=m)null==n&&(n=null!=r?r.gett(m):null,null==this.hashValues[h].get(s)&&this.hashValues[h].set(s,n)),null==a&&(a=null!=i?i.gett(m):null,null==this.hashValues[h].get(o)&&this.hashValues[h].set(o,a));else{let t=e.columns.getByName(this.sortColumns[c-1]);var m=null!=t?t.as(Ae.am.StiCalcDataColumn):null,b,y,b,y;null!=m&&null!=this.rowToConditions&&(null==n&&(null!=r?(b=this.rowToConditions.get(r.recordIndex),y=e.position,e.position=b,n=wd.parseTextValue("{"+m.expression+"}",this.textComp),e.position=y):n=null,null==this.hashValues[h].get(s)&&this.hashValues[h].set(s,n)),null==a&&(null!=i?(b=this.rowToConditions.get(i.recordIndex),y=e.position,e.position=b,a=wd.parseTextValue("{"+m.expression+"}",this.textComp),e.position=y):a=null,null==this.hashValues[h].get(o)&&this.hashValues[h].set(o,a)))}}}h++;var d=this.compareValues(n,a,d);if(0==d)continue;return d}return 0}compareValues(t,e,r){let i=(r=null==r?!0:r)?1:-1;if(t==No.value&&e==No.value)return 0;if(t==No.value)return-1*i;if(e==No.value)return 1*i;let n=t,a=e;if(void 0===n.stimulsoft().compareTo&&(n=null),void 0===a.stimulsoft().compareTo&&(a=null),null==n&&null==a)return 0;if(null==n)return-1*i;if(null==a)return 1*i;if(n!=a){let t=n.stimulsoft().compareTo(a);if(r||(t=-t),0!=t)return t}return 0}clear(){this.sortColumns=null,null!=this.rowToConditions&&(this.rowToConditions.clear(),this.rowToConditions=null),this.conditions=null,this.hashValues=null,this.dataSource=null,this.textComp=null}};ot.nullObject=new Object,Ae.am.StiDataSort=ot;{let t=class extends K{get serviceCategory(){return ne.get("Services","categoryDictionary")}get serviceType(){return t.stimulsoft().getType()}setName(t,e,r,i){t.nameInSource=r.dataSetName+"."+i,t.name=i,t.alias=i}};Ae.am.StiDataTableSetNameService=t}Ae.am.StiDatabaseInformation=class{constructor(){this.tables=new Ee,this.views=new Ee,this.storedProcedures=new Ee}};let OS=Ae.C.StiDataConnections,HS=Ae.F.StiSystemVariableNotRecognizedException;{let e=class{constructor(t=null){this.cachedUserNamesAndPasswords=null,this.useInternalData=!1,this.restrictions=new Ae.am.StiRestrictions,this.dataStore=new Ae.am.StiDataCollection,this.variables=new Ae.am.StiVariablesCollection,this.resources=new Ae.am.StiResourcesCollection,this.report=t,this.dataSources=new Ae.am.StiDataSourcesCollection(this),this.relations=new Ae.am.StiDataRelationsCollection(this),this.databases=new hh(this),this.businessObjects=new Oa(this,null)}implements(){return[Jt,Fm,Yt]}meta(){return this._hash||(this._hash=[new Ma("Resources"),new Ma("Variables").set(t=>this.variables.loadFromJsonObject(t.value,this.report)).setXml(t=>this.variables.loadFromXml(t,this.report)),new Ma("DataSources"),new Ma("Databases"),new Ma("BusinessObjects"),new Ma("Relations")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){var t;return new e}fetchDataSources(){return this.dataSources.toList().cast()}fetchDataRelations(){return this.relations.toList().cast()}fetchVariables(){return this.variables.toList().cast()}getDataSourceByName(t){if(De.isNullOrWhiteSpace(t))return null;return this.dataSources.getByName(t)}getColumnByName(t){return Ae.am.StiDataColumn.getDataColumnFromColumnName(this,t,!0)}getVariableByName(e){if(e=Ae.c.StiVariableExpressionHelper.getSimpleName(e),De.isNullOrWhiteSpace(e))return null;var t=this.variables.toList().cast().where(t=>!De.isNullOrWhiteSpace(t.name)).firstOrDefault(t=>t.name.trim().toLowerCase()==e);if(null!=t)return t;if(e.stimulsoft().endsWith(".from"))return e=e.substr(0,e.length-".from".length),this.variables.toList().cast().where(t=>!De.isNullOrWhiteSpace(t.name)).firstOrDefault(t=>t.name.trim().toLowerCase()==e);if(e.stimulsoft().endsWith(".to"))return e=e.substr(0,e.length-".to".length),this.variables.toList().cast().where(t=>!De.isNullOrWhiteSpace(t.name)).firstOrDefault(t=>t.name.trim().toLowerCase()==e);return null}getVariableValueByName(t){if(t=Ae.c.StiVariableExpressionHelper.getSimpleName(t),De.isNullOrWhiteSpace(t))return null;var e=this.getVariableByName(t);if(Ae.c.Range.isRangeType(null==e?void 0:e.type)){if(t.stimulsoft().endsWith(".from")){t=t.substr(0,t.length-".from".length);var r=this.getVariableValueInternal(t).as(Ae.c.Range);return null!=r?r.fromObject:null}if(t.stimulsoft().endsWith(".to")){t=t.substr(0,t.length-".to".length);var r=this.getVariableValueInternal(t).as(Ae.c.Range);return null!=r?r.toObject:null}}return this.getVariableValueInternal(t)}getVariableValueInternal(t){var e,e,t;if((null===(e=this.report)||void 0===e?void 0:e.calculationMode)==Ae.c.StiCalculationMode.Interpretation){var e=null===(e=this.getVariableByName(t))||void 0===e?void 0:e.as(Ae.am.StiVariable);if(null!=e&&e.readOnly&&e.initBy==Ae.am.StiVariableInitBy.Expression)return _f.parse2("{"+e.value+"}",this.report,!1)}if(null!=this.report&&null!=this.report.getVariable(t))return this.report.getVariable(t);return null===(t=this.getVariableByName(t))||void 0===t?void 0:t.getValue()}isSystemVariable(t){return["reportname","reportalias","reportauthor","reportdescription","reportcreated","reportchanged","time","today"].stimulsoft().contains(t.toLowerCase())}isReadOnlyVariable(t){var t=this.getVariableByName(t).as(Ae.am.StiVariable);return null!=t&&t.readOnly}getSystemVariableValue(t){var e;switch(t.toLowerCase()){case"reportname":return this.report.reportName;case"reportalias":return this.report.reportAlias;case"reportauthor":return this.report.reportAuthor;case"reportdescription":return this.report.reportDescription;case"reportcreated":return this.report.reportCreated;case"reportchanged":return this.report.reportChanged;case"time":return z.now;case"today":return z.today;default:throw new HS(t)}}getApp(){return this.report}openConnections(t){for(var e of t=(t=null==t?this.databases.toList():t).where(t=>!OS.isConnectionActive(t))){var r=this.dataStore.toList();e&&e.invokeConnecting(),Ae.am.StiDataLeader.regData(e,this,!0),e&&e.invokeConnected();var r=this.dataStore.toList().except(r).cast().toList();OS.registerConnection(e,r)}return t}closeConnections(t){for(var e of t=null==t?this.databases.toList():t){e&&e.invokeDisconnecting();let t=OS.unRegisterConnection(e).cast();if(null==t)continue;this.disconnectingConnectionInDataStore(t),t.forEach(t=>{this.dataStore.contains(t)&&this.dataStore.remove(t)},this)}}static get autoSynchronize(){return Hd.Dictionary.autoSynchronize}static set autoSynchronize(t){Hd.Dictionary.autoSynchronize=t}static doAutoSynchronize(t){if(null==t)return;(e.autoSynchronize==Ae.am.StiAutoSynchronizeMode.Always||e.autoSynchronize==Ae.am.StiAutoSynchronizeMode.IfDictionaryEmpty&&0==t.dictionary.dataSources.count)&&t.dictionary.synchronize()}get isRequestFromUserVariablesPresent(){if(null==this.variables)return!1;for(var t of this.variables.list)if(t.requestFromUser)return!0;return!1}equalsColumns(t,e){for(var r of t){let t=!1;for(var i of e)if(i.columnName==r.columnName&&i.table==r.table){t=!0;break}if(!t)return!1}return!0}createDatabases(t){this.dataStore.clearReportDatabase();for(var e of this.databases.list)e.invokeConnecting(),e.regData(this,t),e.invokeConnected()}createDatabasesAsync(r){let i=new _r,n=this;return setTimeout(function(){n.dataStore.clearReportDatabase();let e=n.databases.count;for(let t of n.databases.list)t.invokeConnecting(),t.regDataAsync(n,r).try(()=>{t.invokeConnected(),e--,0==e&&i.callTry()}).abort(i);0==n.databases.count&&i.callTry()}),i}removeUnusedData(){let t=new Ae.am.StiDataRetrieval;t.retrieval(this.report);let e=0;while(e<this.relations.count)null==t.usedRelations.get(this.relations.getByIndex(e))?this.relations.remove(this.relations.getByIndex(e)):e++;for(var r of this.dataSources.list){e=0;while(e<r.columns.count)null==t.usedColumns.get(r.columns.getByIndex(e))?r.columns.remove(r.columns.getByIndex(e)):e++}e=0;while(e<this.dataSources.count)null==t.usedDataSources.get(this.dataSources.getByIndex(e))?this.dataSources.remove(this.dataSources.getByIndex(e)):e++;t.dispose()}removeUnusedDataSourcesV2(){let t=Ae.am.StiDataSourceHelper.getUsedDataSourcesNames(this.report),e=0;while(e<this.dataSources.count)t.containsKey(this.dataSources.getByIndex(e).name)?e++:this.dataSources.remove(this.dataSources.getByIndex(e))}retrievalData(t,e,r){var i=t.ref,n=e.ref,a=r.ref;let s=new Ae.am.StiDataRetrieval;s.retrieval(this.report),i=s.usedRelations,n=s.usedDataSources,a=s.usedColumns,t.ref=i,e.ref=n,r.ref=a}getUnusedRelationsFromDataStore(){let e=new Ae.am.StiDataRelationsCollection(this);var t=this.dataSources.toList().where(t=>null!=t.is(Ae.am.StiDataTableSource)).where(t=>null!=t.dataTable),r;for(r of t)for(var i of r.dataTable.parentRelations.list)for(var n of t){if(n.dataTable!=i.parentTable)continue;let t=0;for(var a of this.relations.list){if(Ae.am.StiStrFix.Del_(a.nameInSource)==Ae.am.StiStrFix.Del_(i.relationName))break;t++}if(t==this.relations.count){var n=new Ae.am.StiDataRelation(i.relationName,"","",n,r,i.parentColumns.map(function(t){return t.columnName}),i.childColumns.map(function(t){return t.columnName}));Ae.am.StiDataRelationSetName.setName(n,this.report,i.dataSet,i.relationName),e.add(n);break}}return e}synchronize2(t){for(var e of t.list){var r=e.getBusinessObjectData();null!=r&&this.synchronizeColumns2(r,e),this.synchronize2(e.businessObjects)}}synchronize(){for(var t of this.dataSources.list)t.columns.cachedDataColumns.clear();this.dataSources.cachedDataSources.clear(),this.connect(!1);for(let t=0;t<this.dataStore.count;t++){let r=this.dataStore.getByIndex(t).stimulsoft().as(Ae.am.StiData);if(null!=r.viewData){let t=null;for(var e of this.dataSources.list)if(e.is(Ae.am.StiDataStoreSource)&&!e.is(Ae.am.StiSqlSource)&&e.nameInSource.toLowerCase()==r.name.toLowerCase()){t=e;break}if(null==t){let e=Ae.am.StiDataAdapterService.getDataAdapter2(r);if(null!=e){let t=e.create(this,!1);t.columns.addRange(Ae.am.StiDataLeader.getColumnsFromData(e,r,t)),e.setDataSourceNames(r,t),t.name=Ae.c.StiNameCreation.createName(this.report,t.name,!1,!1,!0),this.dataSources.add(t),this.synchronizeColumns(r,t)}}else this.synchronizeColumns(r,t)}}var r;this.connect(!1);for(let e of this.getUnusedRelationsFromDataStore().list){if(this.relations.toList().firstOrDefault(function(t){return Ae.am.StiStrFix.Del_(e.nameInSource)==Ae.am.StiStrFix.Del_(t.nameInSource)}))continue;e.name=this.getRelationName(e),this.relations.add(e)}this.connect(!1)}synchronizeBusinessObjects(){for(var e of this.report.businessObjectsStore){let t=!1;for(var r of this.businessObjects.list)if(r.name==e.name){t=!0,r.alias=e.alias,r.category=e.category,this.synchronizeColumns3(e,r),this.synchronize2(r.businessObjects);break}var i;t||(i=new Ae.am.StiBusinessObject(e.category,e.name,e.alias,null),this.businessObjects.add(i),this.synchronizeColumns3(e,i))}}synchronizeColumns(e,r){var i=null,i;if(null!=(i=Ae.am.StiDataAdapterService.getDataAdapter2(e))){let n;n=Ae.am.StiDataLeader.getColumnsFromData(i,e,r);for(var s of r.columns.list){let t=!1;for(var o of n.list)s.nameInSource==o.nameInSource&&(o.name=s.name,Hd.Designer.autoCorrectDataColumnName&&(o.name=Ae.c.StiNameValidator.correctName(o.name)),o.alias=s.alias,o.nameInSource=s.nameInSource,s.type!=Ae.b.DateTime&&s.type!=Ae.b.NullableDateTime||!Hd.Dictionary.useNullableDateTime?s.type!=Ae.b.TimeSpan&&s.type!=Ae.b.NullableTimeSpan||!Hd.Dictionary.useNullableTimeSpan||(o.type=Ae.b.NullableTimeSpan):o.type=Ae.b.NullableDateTime,t=!0);(!t&&Hd.Dictionary.columnsSynchronizationMode==Ae.am.StiColumnsSynchronizationMode.KeepAbsentColumns||s.is(Ae.am.StiCalcDataColumn))&&n.add(s)}let a=new Dt;for(let i=n.count-1;0<=i;i--){let t=n.getByIndex(i),e=1,r=null;while(1){if(r=1!=e?De.format("{0}{1}",t.name,e):t.name,null==a.get(r)){a.set(r,r);break}e++}t.name=r}let t=new Ae.am.StiDataColumnsCollection;for(var l of r.columns.list)for(var u of n.list)if(l.nameInSource==u.nameInSource){t.add(u),n.remove(u);break}t.addRange(n),r.columns.clear(),r.columns.addRange(t)}}synchronizeColumnsAsync(t,o){let l=new _r,e=null;return e=Ae.am.StiDataAdapterService.getDataAdapter2(t),null!=e&&e.getColumnsFromDataAsync(t,o,"").try(n=>{for(var e of o.columns.list){let t=!1;for(var r of n.list)e.nameInSource==r.nameInSource&&(r.name=e.name,Hd.Designer.autoCorrectDataColumnName&&(r.name=Ae.c.StiNameValidator.correctName(r.name)),r.alias=e.alias,r.nameInSource=e.nameInSource,e.type!=Ae.b.DateTime&&e.type!=Ae.b.NullableDateTime||!Hd.Dictionary.useNullableDateTime?e.type!=Ae.b.TimeSpan&&e.type!=Ae.b.NullableTimeSpan||!Hd.Dictionary.useNullableTimeSpan||(r.type=Ae.b.NullableTimeSpan):r.type=Ae.b.NullableDateTime,t=!0);(!t&&Hd.Dictionary.columnsSynchronizationMode==Ae.am.StiColumnsSynchronizationMode.KeepAbsentColumns||e.is(Ae.am.StiCalcDataColumn))&&n.add(e)}let a=new Dt;for(let i=n.count-1;0<=i;i--){let t=n.getByIndex(i),e=1,r=null;while(1){if(r=1!=e?De.format("{0}{1}",t.name,e):t.name,null==a.get(r)){a.set(r,r);break}e++}t.name=r}let t=new Ae.am.StiDataColumnsCollection;for(var i of o.columns.list)for(var s of n.list)if(i.nameInSource==s.nameInSource){t.add(s),n.remove(s);break}t.addRange(n),o.columns.clear(),o.columns.addRange(t),l.callTry()}).abort(l),l}synchronizeColumns3(t,e){this.synchronizeColumns2(t.businessObjectValue,e)}synchronizeColumns2(t,e){let n=Ae.am.StiBusinessObjectHelper.getColumnsFromData(t);for(var r of e.columns.list){let t=!1;for(var i of n.list)if(r.nameInSource==i.nameInSource){i.name=r.name,Hd.Designer.autoCorrectDataColumnName&&(i.name=Ae.c.StiNameValidator.correctName(i.name)),i.alias=r.alias,i.nameInSource=r.nameInSource,r.type==z&&Hd.Dictionary.useNullableDateTime?i.type=z:r.type==lt&&Hd.Dictionary.useNullableTimeSpan&&(i.type=lt),t=!0;break}t||Hd.Dictionary.BusinessObjects.columnsSynchronizationMode!=Ae.am.StiColumnsSynchronizationMode.KeepAbsentColumns||n.add(r)}let a=new Dt;for(let i=n.count-1;0<=i;i--){let t=n.getByIndex(i),e=1,r=null;while(1){if(r=1!=e?De.format("{0}{1}",t.name,e):t.name,null==a.get(r)){a.set(r,r);break}e++}t.name=r}e.columns.clear(),e.columns.addRange(n)}clear(){this.variables.clear(),this.databases.clear(),this.dataSources.clear(),this.relations.clear(),this.dataStore.clearReportDatabase(),this.resources.clear(),this.restrictions.clear()}disposeCacheDataSet(){null!=this.cacheDataSet&&(this.cacheDataSet.relations.clear(),this.cacheDataSet.tables.clear(),this.cacheDataSet.dispose(),this.cacheDataSet=null)}renameDatabase(r,i){if(r.name==i)return;var n=r.name+".",a=i+".";for(let e=0;e<this.dataSources.count;e++){let t=this.dataSources.getByIndex(e).as(Ae.am.StiDataTableSource);null!=t&&(t.nameInSource.stimulsoft().startsWith(n)?t.nameInSource=t.nameInSource.stimulsoft().replaceAll(n,a):t.nameInSource==r.name&&(t.nameInSource=i))}r.name=i}connectToDatabasesAsync(e=null,r=!0){let i=new _r;null==e&&(e=this.databases.toList()),this.dataStore.clearReportDatabase();let n=e.length;for(let t of e)t.invokeConnecting(),Ae.am.StiDataLeader.regDataAsync(t,this,r).try(()=>{n--,t.invokeConnected()}),0==n&&i.callTry();return 0==n&&i.callTry(),i}connectAsync(r=!0,i=null){let s=new _r,o=this;try{let a=function(){try{o.businessObjects.connect(),r&&o.regRelations2(),s.callTry()}catch(t){s.callCatch(t)}};null!=o.cacheDataSet&&o.cacheDataSet.dispose(),o.cacheDataSet=new Xe("CacheDataSet"),o.createDatabasesAsync(r).try(()=>{if(null!=i&&0<i.length){let t=0;for(var e of i)t++,Ae.am.StiDataLeader.connectAsync(e,null,r).try(()=>{t--,0==t&&a()}).catch(t=>{s.callCatch(t)}).abort(s)}else if(o.report.retrieveOnlyUsedData&&r){let e=Ae.am.StiDataSourceHelper.getUsedDataSourcesNames(o.report),r=!1,i=o.dataSources.count;for(let t=0;t<o.dataSources.count;t++){var n=o.dataSources.getByIndex(t);e.containsKey(n.name)?(r=!0,Ae.am.StiDataLeader.connectAsync(n,null,!0).try(()=>{try{i--,0==i&&a()}catch(t){Ae.b.StiError.showError(t,!1),s.callCatch(t)}}).catch(t=>{s.callCatch(t)}).abort(s)):i--}r||0!=i||a()}else o.dataSources.connectAsync(r).try(()=>{try{a()}catch(t){Ae.b.StiError.showError(t,!1),s.callCatch(t)}}).catch(t=>{s.callCatch(t)}).abort(s)}).abort(s)}catch(t){s.callCatch(t.message)}return s}connect(e=!0,t=null){if(null!=this.cacheDataSet&&this.cacheDataSet.dispose(),this.cacheDataSet=new Xe("CacheDataSet"),this.createDatabases(e),null!=t)t.forEach(t=>Ae.am.StiDataLeader.connect(t,null,e));else if(this.report.retrieveOnlyUsedData&&e){let e=Ae.am.StiDataSourceHelper.getUsedDataSourcesNames(this.report);for(let t=0;t<this.dataSources.count;t++){var r=this.dataSources.getByIndex(t);e.containsKey(r.name)&&Ae.am.StiDataLeader.connect(r,null,!0)}}else this.dataSources.connect(e);this.businessObjects.connect(),e&&this.regRelations2()}connectVirtualDataSourcesAsync(){let e=new _r,r=new Dt,i=0,n=!0;while(n){n=!1;for(var a of this.dataSources.fetchAllVirtualDataSources()){let t=this.report.dictionary.dataSources.getByName(a.nameInSource);if(null==t||t.name==a.name){r.set(a,a);continue}if(t.is(Ae.am.StiVirtualSource)&&null==r.get(t)){n=!0;continue}r.set(a,a),i++,a.connectToDataAsync().try(()=>{i--,0==i&&e.callTry()})}}return 0==i&&e.callTry(),e}connectDataTransformationsAsync(){let e=new _r,r=0;return this.dataSources.fetchAllDataTransformations().forEach(t=>{r++,t.connectToDataAsync().try(()=>{r--,0==r&&e.callTry()})}),0==r&&e.callTry(),e}connectCrossTabDataSources(){}disconnect(){this.disconnectingDatabases(this.databases.toList()),this.disconnectingConnectionInDataStore(),this.disposeCacheDataSet(),this.businessObjects.disconnect(),this.dataSources.disconnect(),this.dataStore.clearReportDatabase(),this.disconnectedDatabases(this.databases.toList()),OS.unRegisterConnections(this.databases.toList().cast())}disconnectingDatabases(t){for(var e of t)e.invokeDisconnecting()}disconnectedDatabases(t){for(var e of t)e.invokeDisconnected()}disconnectingConnectionInDataStore(t=null){null==t&&(t=this.dataStore.toList().where(t=>null!=t.data))}checkRelation(t,e,r,i){let n=t.relations.getByName(e)?t.relations.getByName(e):t.relations.getByName(e.trim());if(null!=n){if(this.equalsRelationColumns(r,n.parentColumns)&&this.equalsRelationColumns(i,n.childColumns))return!0;t.relations.remove(n)}let a=0;while(a<t.relations.count)n=t.relations.getByIndex(a),this.equalsRelationColumns(n.parentColumns,r)&&this.equalsRelationColumns(n.childColumns,i)?t.relations.removeAt(a):a++;return!1}equalsRelationColumns(t,e){for(var r of t)for(var i of e){var i=i.columnName==r.columnName&&i.table==r.table;if(i)return i}return!1}getRelationName(t){let e=!0,r=2,i=t.name,n=i;for(var a of t.childSource.columns.list)if(a.name==n){i=n="Parent"+n;break}while(e){e=!1;for(var s of this.relations.list){var s=s.stimulsoft().as(Ae.am.StiDataRelation);if(s.childSource==t.childSource&&s!=t&&s.name==n){let t=r++;n=i+"_"+t.toString(),e=!0;break}}}e=!0;while(e){e=!1;for(var o of this.dataSources.list){var l;if("Parent"+o.as(_u).name==n){let t=r++;n=i+"_"+t.toString(),e=!0;break}}}return n}regRelations2(t=!1){for(var e of this.relations.list)this.regRelation(e,t)}regRelation(s,o){try{let t=null,e=null;null!=s.parentSource&&(t=s.parentSource),null!=s.childSource&&(e=s.childSource);var l=null!=t&&t.is(Ae.am.StiVirtualSource)||null!=e&&e.is(Ae.am.StiVirtualSource),u,h;if(!o&&l)return;if(o&&!l)return;if(!this.report.isDesigning&&null==t)throw De.format("Please, check relation '{0}'. "+"Report engine can't find parent Data Source!",s.name);if(null==e)throw De.format("Please, check relation '{0}'. "+"Report engine can't find child Data Source!",s.name);if(null==t.dataTable)return;if(null==e.dataTable)return;if(!this.report.isDesigning&&null==t.dataTable.dataSet)throw De.format("Parent Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",t.name,s.name);if(null==e.dataTable.dataSet)throw De.format("Child Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",e.name,s.name);if(!this.report.isDesigning&&t.dataTable.dataSet!=e.dataTable.dataSet)throw De.format("Parent Data Source '{0}' and "+"Child Data Source '{1}' is not located"+" in one DataSet and can't be used in relation '{2}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",t.name,e.name,s.name);if(!this.report.isDesigning&&0==s.parentColumns.length)throw De.format("Parent columns is specified in "+"in relation '{0}'! Relation can't be created!",s.name);if(0==s.childColumns.length)throw De.format("Child columns is specified in "+"in relation '{0}'! Relation can't be created!",s.name);if(!this.report.isDesigning&&s.parentColumns.length!=s.childColumns.length)throw De.format("Count of parent columns is not equal to "+"count of child columns in relation '{0}'! Relation can't be created!",s.name);let r=[],i=0;for(u of s.parentColumns){if(null==t.dataTable.columns.getByName(u))throw De.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",u,t.name,s.name);r[i]=t.dataTable.columns.getByName(u),i++}let n=[];i=0;for(h of s.childColumns){if(null==e.dataTable.columns.getByName(h))throw De.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",h,e.name,s.name);n[i]=e.dataTable.columns.getByName(h),i++}let a=t.dataTable.dataSet;0<r.length&&0<n.length&&(this.checkRelation(a,s.nameInSource,r,n)||(a.enforceConstraints=!1,a.relations.add(new gr(s.nameInSource,r,n))))}catch(t){if(Ae.b.StiError.showError(t,!1),Ae.c.StiLogService.write(this.stimulsoft().getType(),"Creating relation '"+s.nameInSource+"'...ERROR"),Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Dictionary.hideRelationExceptions&&!this.report.isDesigning)throw t}}};Ae.am.StiDictionary=e}Ae.am.StiGroupSummaryDataSort=class{constructor(t,e,r,i){this.groupHeaders=null,this.groupSummaries=t,this.groupLines=e,this.groupHeaders=r,this.baseRowOrder=i}compare(n,a){if(n==a)return 0;for(var s of this.groupHeaders.toCast()){if(s.summarySortDirection==FS.None)continue;var o=s.summarySortDirection==FS.Ascending?1:-1;let t=this.groupSummaries.get(s.guid),e=this.groupLines.get(s.guid);var l=t.get(n.recordIndex),s=t.get(a.recordIndex);let r=this.compareValues(l,s);if(0!=r)return r*o;let i=e.get(n.recordIndex);var s=e.get(a.recordIndex);if(r=i.stimulsoft().compareTo(s),0!=r)return r*o}let t=this.baseRowOrder.get(n.recordIndex);var e=this.baseRowOrder.get(a.recordIndex);return t.stimulsoft().compareTo(e)}compareValues(t,e){if("number"==typeof t||"number"==typeof e)return t<e?-1:e<t?1:0;if(t instanceof z||e instanceof z)return t.compareTo(e);if(t instanceof lt||e instanceof lt)return t.compareTo(e);return 0}clear(){this.groupSummaries.clear(),this.groupSummaries=null,this.groupLines.clear(),this.groupLines=null,this.groupHeaders=null,this.baseRowOrder.clear(),this.baseRowOrder=null}},Ae.am.StiHierarchicalBusinessObjectSort=class{constructor(t,e,r){if(this.businessObject=null,this.businessObject=t,this.keyColumn=e.keyDataColumn,this.masterKeyColumn=e.masterKeyDataColumn,this.parentValue=e.parentValue,this.sortColumns=r,null==this.keyColumn||0==this.keyColumn.trim().length)throw new Error("Property 'KeyDataColumn' of '"+e.name+"'is not filled!");if(null==this.masterKeyColumn||0==this.masterKeyColumn.trim().length)throw new Error("Property 'MasterKeyDataColumn' of '"+e.name+"'is not filled!");if(!t.columns.contains(this.keyColumn))throw new Error("Column '"+this.keyColumn+"' does not present in '"+t.name+"'");if(!t.columns.contains(this.masterKeyColumn))throw new Error("Column '"+this.masterKeyColumn+"' does not present in '"+t.name+"'");null==this.parentValue&&(this.parentValue="")}compare(t,e){return 0}getParentValue(t){if(null==(t=t.stimulsoft().is(Wr)?null:t))return"";if(t==fc.value)return"";let e=t.toString();if(0==e.trim().length)return"";return e}process(){var t=new Dt,e;this.createTree(t),this.setLevelAndSort(t,this.parentValue,0),this.createRowList(t,[],this.parentValue),this.businessObject.enumerator=null}createTree(t){this.businessObject.enumerator.reset()}setLevelAndSort(t,e,r){let i=t.get(this.getParentValue(e)).stimulsoft().as(Array);if(null!=i){let t=new Ae.am.StiBusinessObjectSort(this.businessObject.ownerBand.sort,this.businessObject,null,null);i.Sort(t),t.clear()}}createRowList(t,e,r){var r=t.get(this.getParentValue(r)).stimulsoft().as(Array);if(null!=r)for(var i of r)e.push(i)}},Ae.am.StiHierarchicalDataSort=class{constructor(t,e,r){if(this.dataSource=null,this.keyColumn=null,this.masterKeyColumn=null,this.parentValue=null,this.sortColumns=null,this.dataSource=t,this.keyColumn=e.keyDataColumn,this.masterKeyColumn=e.masterKeyDataColumn,this.parentValue=e.parentValue,this.sortColumns=r,null==this.keyColumn||0==this.keyColumn.trim().length)throw new Error("Property 'KeyDataColumn' of '"+e.name+"'is not filled!");if(null==this.masterKeyColumn||0==this.masterKeyColumn.trim().length)throw new Error("Property 'MasterKeyDataColumn' of '"+e.name+"'is not filled!");if(!this.dataSource.columns.contains(this.keyColumn))throw new Error("Column '"+this.keyColumn+"' does not present in '"+t.name+"'");if(!this.dataSource.columns.contains(this.masterKeyColumn))throw new Error("Column '"+this.masterKeyColumn+"' does not present in '"+t.name+"'");null==this.parentValue&&(this.parentValue="")}compare(i,n){try{if(i==n)return 0;let t=i.stimulsoft().as(Sn),e=n.stimulsoft().as(Sn);var a=t.gett(this.keyColumn),s=e.gett(this.keyColumn);let r=new Ae.am.StiDataSort(null,null,null,null);return r.compareValues(a,s)}catch(t){return Ae.b.StiError.showError(t.message,!1),0}}getParentValue(t){if(null==t)return"";if(t==fc)return"";let e=t.toString();if(0==e.trim().length)return"";return e}process(t){if(null==this.dataSource.detailRows)return;var e=new Dt;this.createTree(e),this.dataSource.rowToLevel=new Dt,this.setLevelAndSort(t,e,this.parentValue,0);let r=[];this.createRowList(e,r,this.parentValue),this.dataSource.detailRows=ke.create(Sn,r.length),r.stimulsoft().copyTo(this.dataSource.detailRows)}createTree(e){for(var r of this.dataSource.detailRows){var i=r.gett(this.masterKeyColumn),i=this.getParentValue(i);let t=e.get(i);null==t&&(t=[],e.set(i,t)),t.push(r)}}setLevelAndSort(r,i,t,n){let a=i.get(this.getParentValue(t));if(null!=a){for(var s of a){this.dataSource.rowToLevel.set(s,n);var s=s.gett(this.keyColumn);this.setLevelAndSort(r.clone(),i,s,n+1)}let t=new Ae.am.StiDataSort(r,null,this.sortColumns,this.dataSource),e=[];for(var o of a)e.push(o);e.stimulsoft().sort2(t),a.stimulsoft().clear();for(var l of e)a.push(l);t.clear()}}createRowList(t,e,r){var r=t.get(this.getParentValue(r));if(null!=r)for(var i of r){e.push(i);var i=i.gett(this.keyColumn);this.createRowList(t,e,i)}}};{let r=class extends J{constructor(){super(...arguments),this.directionFactor=1}implements(){return[La,Yt]}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(as.Report)),r++;return e}loadFromJsonObject(t,e){for(var r of t.properties()){let t=new Ae.am.StiResource;t.loadFromJsonObject(r.value),this.list.push(t)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if("value"==r.nodeName){let t=new Ae.am.StiResource;t.loadFromXml(r),this.list.push(t)}}}compare(t,e){let r=t;var e=e;return Hd.Designer.sortDictionaryByAliases?r.alias.stimulsoft().compareTo(e.alias)*this.directionFactor:r.name.stimulsoft().compareTo(e.name)*this.directionFactor}sort(t=Ae.am.StiSortOrder.Asc){t==Ae.am.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.stimulsoft().sort2(this)}contains2(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return!0;return!1}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.name.toLowerCase()==t)return e;return null}getByAlias(t){t=t.toLowerCase();for(var e of this.list)if(e.alias.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.name.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}};Ae.am.StiResourcesCollection=r}Ae.am.StiRestrictions=class{clear(){null!=this.restrictionsDataSource&&(this.restrictionsDataSource.clear(),this.restrictionsDataSource=null),null!=this.restrictionsDataRelation&&(this.restrictionsDataRelation.clear(),this.restrictionsDataRelation=null),null!=this.restrictionsDataColumn&&(this.restrictionsDataColumn.clear(),this.restrictionsDataColumn=null),null!=this.restrictionsDatabase&&(this.restrictionsDatabase.clear(),this.restrictionsDatabase=null),null!=this.restrictionsVariable&&(this.restrictionsVariable.clear(),this.restrictionsVariable=null),null!=this.restrictionsTotal&&(this.restrictionsTotal.clear(),this.restrictionsTotal=null),null!=this.restrictionsBusinessObject&&(this.restrictionsBusinessObject.clear(),this.restrictionsBusinessObject=null)}getHashtable(t,e){switch(t){case Ae.am.StiDataType.Database:return null==this.restrictionsDatabase&&e&&(this.restrictionsDatabase=new Dt),this.restrictionsDatabase;case Ae.am.StiDataType.DataColumn:return null==this.restrictionsDataColumn&&e&&(this.restrictionsDataColumn=new Dt),this.restrictionsDataColumn;case Ae.am.StiDataType.DataRelation:return null==this.restrictionsDataRelation&&e&&(this.restrictionsDataRelation=new Dt),this.restrictionsDataRelation;case Ae.am.StiDataType.DataSource:return null==this.restrictionsDataSource&&e&&(this.restrictionsDataSource=new Dt),this.restrictionsDataSource;case Ae.am.StiDataType.BusinessObject:return null==this.restrictionsBusinessObject&&e&&(this.restrictionsBusinessObject=new Dt),this.restrictionsBusinessObject;case Ae.am.StiDataType.Total:return null==this.restrictionsTotal&&e&&(this.restrictionsTotal=new Dt),this.restrictionsTotal;default:return null==this.restrictionsVariable&&e&&(this.restrictionsVariable=new Dt),this.restrictionsVariable}}add(t,e,r){var e;let i=this.getHashtable(e,!0),n=null===(e=i.get(t))||void 0===e?void 0:e.stimulsoft().as(Array);null==n&&(n=new Array,i.set(t,n)),n.push(r)}isAllowEdit(t,e){var t;let r=this.getHashtable(e,!1);if(null==r||null==r.get(t))return!0;var t=null===(t=r.get(t))||void 0===t?void 0:t.stimulsoft().as(Array);if(null!=t)for(var i of t)if(0!=(i&Ae.am.StiRestrictionTypes.DenyEdit))return!1;return!0}isAllowDelete(t,e){var t;let r=this.getHashtable(e,!1);if(null==r||null==r.get(t))return!0;var t=null===(t=r.get(t))||void 0===t?void 0:t.stimulsoft().as(Array);if(null!=t)for(var i of t)if(0!=(i&Ae.am.StiRestrictionTypes.DenyDelete))return!1;return!0}isAllowShow(t,e){var t;let r=this.getHashtable(e,!1);if(null==r||null==r.get(t))return!0;var t=null===(t=r.get(t))||void 0===t?void 0:t.stimulsoft().as(Array);if(null!=t)for(var i of t)if(0!=(i&Ae.am.StiRestrictionTypes.DenyShow))return!1;return!0}isAllowMove(t,e){var t;let r=this.getHashtable(e,!1);if(null==r||null==r.get(t))return!0;var t=null===(t=r.get(t))||void 0===t?void 0:t.stimulsoft().as(Array);if(null!=t)for(var i of t)if(0!=(i&Ae.am.StiRestrictionTypes.DenyMove))return!1;return!0}},Ae.am.StiRow=class{constructor(t,e){this.dataSource=t,this.rowIndex=e}getByName(t){return this.dataSource.getData(t,this.rowIndex)}},Ae.am.StiRowsCollection=class{constructor(t){this.dataSource=null,this.dataSource=t}getEnumerator(){return this}get current(){return new Ae.am.StiRow(this.dataSource,this.dataSource.position)}moveNext(){return this.dataSource.next(),!this.dataSource.isEof}reset(){this.dataSource.first()}getbyIndex(t){return new Ae.am.StiRow(this.dataSource,t)}get count(){return this.dataSource.count}},Ae.am.StiStrFix=class{static Del_(t){return De.isNullOrWhiteSpace(t)?t:t.stimulsoft().replaceAll("_","")}};{let t=class{static getSystemVariableInfo(t){return ne.get("SystemVariables",t)}static getSystemVariables(t){if(null!=t)return this.getSystemVariablesV2();return[]}static getSystemVariablesV2(){return null==t.systemVariablesV2&&(t.systemVariablesV2=["Column","Line","LineThrough","LineABC","LineRoman","GroupLine","PageNumber","PageNumberThrough","PageNofM","PageNofMThrough","TotalPageCount","TotalPageCountThrough","IsFirstPage","IsFirstPageThrough","IsLastPage","IsLastPageThrough","PageCopyNumber","ReportAlias","ReportAuthor","ReportChanged","ReportCreated","ReportDescription","ReportName","Time","Today"]),t.systemVariablesV2}};Ae.am.StiSystemVariablesHelper=t}let _S=Ae.d.StiTypeWrapper;{let r=class{constructor(t,e){this.name="",this.name=t,this.type=e}static getTypes(){let t=new Ae.am.StiTypesCollection;for(var e of _S.simpleTypes)t.add(new r(_S.toString(e),e));return t}static getBaseTypes(){let t=new Ae.am.StiTypesCollection;for(var e of _S.simpleBaseTypes)t.add(new r(_S.toString(e),e));return t}static getTypeModeFromType(t,e){if(e.ref=Ae.am.StiTypeMode.Value,null==t)return t;if(t==String)return t;if(t==Boolean)return t;if(t==Ae.b.Byte)return t;if(t==Ae.b.SByte)return t;if(t==Ae.b.UInt16)return t;if(t==Ae.b.UShort)return t;if(t==Ae.b.Int16)return t;if(t==Ae.b.Short)return t;if(t==Ae.b.UInt)return t;if(t==Ae.b.Int)return t;if(t==Ae.b.Int32)return t;if(t==Ae.b.UInt64)return t;if(t==Ae.b.ULong)return t;if(t==Ae.b.Int64)return t;if(t==Ae.b.Long)return t;if(t==Ae.b.Single)return t;if(t==Ae.b.Double)return t;if(t==Ae.b.Decimal)return t;if(t==Ae.b.Char)return t;if(t==Ae.b.TimeSpan)return t;if(t==Ae.b.DateTime)return t;if(t==Ae.b.Guid)return t;if(t==Ae.bn.Image)return t;if(t==Object)return t;if(e.ref=Ae.am.StiTypeMode.NullableValue,t==Ae.b.NullableBoolean)return Boolean;if(t==Ae.b.NullableByte)return Ae.b.Byte;if(t==Ae.b.NullableSByte)return Ae.b.SByte;if(t==Ae.b.NullableUInt16)return Ae.b.UInt16;if(t==Ae.b.NullableUShort)return Ae.b.UShort;if(t==Ae.b.NullableInt16)return Ae.b.Int16;if(t==Ae.b.NullableShort)return Ae.b.Short;if(t==Ae.b.NullableUInt)return Ae.b.UInt;if(t==Ae.b.NullableInt)return Ae.b.Int;if(t==Ae.b.NullableInt32)return Ae.b.Int32;if(t==Ae.b.NullableUInt32)return Ae.b.UInt32;if(t==Ae.b.NullableUInt64)return Ae.b.UInt64;if(t==Ae.b.NullableULong)return Ae.b.ULong;if(t==Ae.b.NullableInt64)return Ae.b.Int64;if(t==Ae.b.NullableLong)return Ae.b.Long;if(t==Ae.b.NullableSingle)return Ae.b.Single;if(t==Ae.b.NullableDouble)return Ae.b.Double;if(t==Ae.b.NullableDecimal)return Ae.b.Decimal;if(t==Ae.b.NullableChar)return Ae.b.Char;if(t==Ae.b.NullableTimeSpan)return Ae.b.TimeSpan;if(t==Ae.b.NullableDateTime)return Ae.b.DateTime;if(t==Ae.b.NullableGuid)return Ae.b.Guid;if(e.ref=Ae.am.StiTypeMode.List,t==Ae.b.StimulsoftStringList)return String;if(t==Ae.b.StimulsoftBoolList)return Boolean;if(t==Ae.b.StimulsoftByteList)return Ae.b.Byte;if(t==Ae.b.StimulsoftShortList)return Ae.b.Short;if(t==Ae.b.StimulsoftIntList)return Ae.b.Int;if(t==Ae.b.StimulsoftLongList)return Ae.b.Long;if(t==Ae.b.StimulsoftFloatList)return Ae.b.Single;if(t==Ae.b.StimulsoftDoubleList)return Ae.b.Double;if(t==Ae.b.StimulsoftDecimalList)return Ae.b.Decimal;if(t==Ae.b.StimulsoftCharList)return Ae.b.Char;if(t==Ae.b.StimulsoftTimeSpanList)return Ae.b.TimeSpan;if(t==Ae.b.StimulsoftDateTimeList)return Ae.b.DateTime;if(t==Ae.b.StimulsoftGuidList)return Ae.b.Guid;if(e.ref=Ae.am.StiTypeMode.Range,t==Ae.b.StimulsoftStringRange)return String;if(t==Ae.b.StimulsoftByteRange)return Ae.b.Byte;if(t==Ae.b.StimulsoftShortRange)return Ae.b.Short;if(t==Ae.b.StimulsoftIntRange)return Ae.b.Int;if(t==Ae.b.StimulsoftLongRange)return Ae.b.Long;if(t==Ae.b.StimulsoftFloatRange)return Ae.b.Single;if(t==Ae.b.StimulsoftDoubleRange)return Ae.b.Double;if(t==Ae.b.StimulsoftDecimalRange)return Ae.b.Decimal;if(t==Ae.b.StimulsoftCharRange)return Ae.b.Char;if(t==Ae.b.StimulsoftTimeSpanRange)return Ae.b.TimeSpan;if(t==Ae.b.StimulsoftDateTimeRange)return Ae.b.DateTime;if(t==Ae.b.StimulsoftGuidRange)return Ae.b.Guid;if(t==Ae.c.StringRange)return String;if(t==Ae.c.ByteRange)return Ae.b.Byte;if(t==Ae.c.ShortRange)return Ae.b.Short;if(t==Ae.c.IntRange)return Ae.b.Int;if(t==Ae.c.LongRange)return Ae.b.Long;if(t==Ae.c.FloatRange)return Ae.b.Single;if(t==Ae.c.DoubleRange)return Ae.b.Double;if(t==Ae.c.DecimalRange)return Ae.b.Decimal;if(t==Ae.c.CharRange)return Ae.b.Char;if(t==Ae.c.TimeSpanRange)return Ae.b.TimeSpan;if(t==Ae.c.DateTimeRange)return Ae.b.DateTime;if(t==Ae.c.GuidRange)return Ae.b.Guid;return e.ref=Ae.am.StiTypeMode.Value,t}static getTypeFromTypeMode(t,e){if(null==t)return null;switch(e){case Ae.am.StiTypeMode.Value:return t;case Ae.am.StiTypeMode.NullableValue:if(t==Boolean)return Ae.b.NullableBoolean;if(t==Ae.b.Byte)return Ae.b.NullableByte;if(t==Ae.b.SByte)return Ae.b.NullableSByte;if(t==Ae.b.UInt16)return Ae.b.NullableUInt16;if(t==Ae.b.Int16)return Ae.b.NullableInt16;if(t==Ae.b.UInt32)return Ae.b.NullableUInt32;if(t==Ae.b.Int32)return Ae.b.NullableInt32;if(t==Ae.b.UInt64)return Ae.b.NullableUInt64;if(t==Ae.b.Int64)return Ae.b.NullableInt64;if(t==Ae.b.Single)return Ae.b.NullableSingle;if(t==Ae.b.Double)return Ae.b.NullableDouble;if(t==Ae.b.Decimal)return Ae.b.NullableDecimal;if(t==Ae.b.Char)return Ae.b.NullableChar;if(t==Ae.b.TimeSpan)return Ae.b.NullableTimeSpan;if(t==Ae.b.DateTime)return Ae.b.NullableDateTime;if(t==Ae.b.Guid)return Ae.b.NullableGuid;break;case Ae.am.StiTypeMode.List:if(t==String)return Ae.b.StimulsoftStringList;if(t==Boolean)return Ae.b.StimulsoftBoolList;if(t==Ae.b.Byte)return Ae.b.StimulsoftByteList;if(t==Ae.b.Int16)return Ae.b.StimulsoftShortList;if(t==Ae.b.Int32)return Ae.b.StimulsoftIntList;if(t==Ae.b.Int64)return Ae.b.StimulsoftLongList;if(t==Ae.b.Single)return Ae.b.StimulsoftFloatList;if(t==Ae.b.Double)return Ae.b.StimulsoftDoubleList;if(t==Ae.b.Decimal)return Ae.b.StimulsoftDecimalList;if(t==Ae.b.Char)return Ae.b.StimulsoftCharList;if(t==Ae.b.TimeSpan)return Ae.b.StimulsoftTimeSpanList;if(t==Ae.b.DateTime)return Ae.b.StimulsoftDateTimeList;if(t==Ae.b.Guid)return Ae.b.StimulsoftGuidList;break;case Ae.am.StiTypeMode.Range:if(t==String)return Ae.b.StimulsoftStringRange;if(t==Ae.b.Byte)return Ae.b.StimulsoftByteRange;if(t==Ae.b.Int16)return Ae.b.StimulsoftShortRange;if(t==Ae.b.Int32)return Ae.b.StimulsoftIntRange;if(t==Ae.b.Int64)return Ae.b.StimulsoftLongRange;if(t==Ae.b.Single)return Ae.b.StimulsoftFloatRange;if(t==Ae.b.Double)return Ae.b.StimulsoftDoubleRange;if(t==Ae.b.Decimal)return Ae.b.StimulsoftDecimalRange;if(t==Ae.b.Char)return Ae.b.StimulsoftCharRange;if(t==Ae.b.TimeSpan)return Ae.b.StimulsoftTimeSpanRange;if(t==Ae.b.DateTime)return Ae.b.StimulsoftDateTimeRange;if(t==Ae.b.Guid)return Ae.b.StimulsoftGuidRange;break}return t}toString(){return this.name}};Ae.am.StiType=r}Ae.am.StiTypesCollection=class extends J{getByName(t){for(var e of this.list)if(e.name==t)return e;return null}setByName(e,r){for(let t=0;t<this.list.length;t++){var i;if(this.getByIndex(t).name==e)return void(this.list[t]=r)}this.add(r)}get(t){for(var e of this.list)if(e.type==t)return e;return null}set(t,e){let r=0;for(var i of this.list)i.type==t&&(this.list[r]=e),r++}regType(t,e){this.add(new Ae.am.StiType(t,e))}},Ae.am.StiUserNameAndPassword=class{constructor(t,e){this.userName=t,this.password=e}},Ae.am.StiVariableAsParameterHelper=class{static parameterExists(e,r){r=r.toLowerCase();for(let t=1;t<e.length;t++){var i=e[t-1],n=e[t];if(i.type==Mi.Ampersand&&n.type==Mi.Ident&&"string"==typeof n.data&&n.data==r)return!0}return!1}static fetchAll(t,e,r){t=t.toLowerCase();let i=Li.getAllTokens(t);return r.dictionary.variables.toList().where(t=>t.allowUseAsSqlParameter&&this.parameterExists(i,t.name)&&!this.parameterExists2(e,t.name))}static parameterExists2(t,e){return e=e.toLowerCase(),t.any(t=>t.name.toLowerCase()==e||t.name.toLowerCase()=="@"+e)}},Ae.c.StiVariableExpressionHelper=class{static getVariableSpecifiedAsExpression(t,e){var t,t;return e=this.getSimpleName(e),null===(t=null===(t=null==t?void 0:t.getReport())||void 0===t?void 0:t.getDictionary())||void 0===t?void 0:t.getVariableByName(e)}static isVariableSpecifiedAsExpression(t,e){return null!=this.getVariableSpecifiedAsExpression(t,e)}static extractVariableName(t){if(De.isNullOrWhiteSpace(t))return t;return(t=(t=(t=t.trim()).stimulsoft().startsWith("[")?t.substr(1):t).stimulsoft().endsWith("]")?t.substr(0,t.length-1):t).trim()}static getSimpleName(t){if(De.isNullOrWhiteSpace(t))return t;return t=t.toLowerCase().trim(),(t=this.extractVariableName(t)).trim()}};{let r=class extends Ae.am.StiSqlAdapterService{constructor(){super(),this._name="Custom"}static registerCustomAdapterService(t){let e=new r;e._name=t.name,e.processUserFunction=t.process,Hd.Services.dataAdapters.add(e)}get name(){return this._name}getDataSourceType(){return Ae.am.StiCustomSource}getDataAdapter(){var t=Hd.Services.dataAdapters.firstOrDefault(t=>t.is(r)&&t.name==this.name);if(t)return t;throw De.format("Data adapter for the {0} database is not found!",this)}create(t,e=!0){let r=new Ae.am.StiCustomSource(this.name);return null!=r&&e&&(r.name=r.alias=Ae.c.StiNameCreation.createName(t.report,ne.get("PropertyMain","DataSource")),t.dataSources.add(r)),r}callRemoteApi(t,e){let r=new _r,i,n;try{i=setTimeout(()=>{null!=n&&clearTimeout(n),delete t.event,this.processUserFunction(t,t=>{t.checkVersion=!1,r.callTry(t)})}),n=setTimeout(()=>{r.catch(t=>{null!=i&&clearTimeout(i)})},e)}catch(t){Ae.b.StiError.showError(t,!1),r.callCatch(t.message)}return r}retrieveDataAsync(t,e,r,i){let S=new _r;var i={command:"RetrieveData",connectionString:r=De.isNullOrEmpty(r)?"":r,queryString:(i=De.isNullOrEmpty(i)?"":i).stimulsoft().replaceAll("\t"," ").stimulsoft().replaceAll("\\t"," ").stimulsoft().replaceAll("\r"," ").stimulsoft().replaceAll("\n"," "),database:this.name,dataSource:null==e?void 0:e.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};let b=e.name;return this.process(t,i).try(i=>{var n;try{let t=new Xe;t.readJson({root:i.data});let e=null;if(1==t.tables.count)e=t.tables.getByIndex(0);else if(0<t.tables.count){for(var a of t.tables.list)if(a.tableName==b){e=a;break}if(null==e)for(var s of t.tables.list)if(0==b.indexOf(s.tableName)){e=s;break}}if(null==e&&(e=new ze),i.columns)for(var o of i.columns)e.columns.contains(o)||e.columns.add(new it(o));let r=new ze(e.tableName);for(var l of e.columns.list){let t=l.columnName;i.columns&&ke.isArray(i.types)&&(t=i.columns.indexOf(t));let e=l.dataType;if(Object.prototype.hasOwnProperty.call(i,"types")&&null!=i.types){var u=null===(n=i.types[t])||void 0===n?void 0:n.replace("Stimulsoft.System.","");switch(i.types[t]){case"boolean":e=Boolean;break;case"int":e=Ae.b.Int32;break;case"number":e=Ae.b.Decimal;break;case"string":e=String;break;case"array":e=Ae.b.ByteArray;break;case"datetime":e=Ae.b.DateTime;break;case"datetimeoffset":e=Ae.b.DateTime;break;case"time":e=Ae.b.TimeSpan;break;default:Ae.b[u]&&(e=Ae.b[u])}}var h=new it(l.columnName,e);r.columns.add(h)}for(var c of e.rows.list){let e=r.addNewRow();for(var d in c.columns.list){var m=r.columns.getByIndex(d.stimulsoft().toNumber());let t=c.getValue(d.stimulsoft().toNumber());m.dataType==z&&"string"==typeof t&&(t=0<t.indexOf("Z")?z.fromString2("YYYY-MM-DDTHH:mm:ss.SSSZ",t,!1):z.fromString2("YYYY-MM-DDTHH:mm:ss.SSS",t,!1)),m.dataType==lt&&"string"==typeof t&&(t=lt.fromString(t,"hh:mm:ss")),e.setValue(m,t)}}if(i.rows)for(var p of i.rows){let e=r.addNewRow();for(var g in p){var f=r.columns.getByIndex(g.stimulsoft().toNumber());let t=p[g];f.dataType==z&&"string"==typeof t&&(t=0<t.indexOf("Z")?z.fromString2("YYYY-MM-DDTHH:mm:ss.SSSZ",t,!1):z.fromString2("YYYY-MM-DDTHH:mm:ss.SSS",t,!1)),f.dataType==lt&&"string"==typeof t&&(t=lt.fromString(t,"hh:mm:ss")),e.setValue(f,t)}}S.callTry(r||t.tables.getByIndex(0))}catch(t){Ae.b.StiError.showError(t,!1),S.callCatch(t.message)}}).catch(t=>{S.callCatch(t.notice)}).abort(S),S}retrieveSchemaAsync(t,e,r,i=null){let u=new _r;if(De.isNullOrEmpty(r))return u.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),u;var e={command:"RetrieveSchema",connectionString:r,database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};return this.process(t,e).try(r=>{var i,n;let e=new Xe;if(e.readJson(r.data),0==e.tables.count&&Object.prototype.hasOwnProperty.call(r,"types")&&null!=r.types)for(var a in r.types){let t=new ze(a);for(var s in e.tables.add(t),r.types[a])t.columns.add(new it(s,String))}let o=new Cc;for(n of e.tables.list){let t=wc.newTableOrView(n.tableName);for(var l of n.columns.list){let e=l.dataType;if(Object.prototype.hasOwnProperty.call(r,"types")&&null!=r.types){let t=null===(i=r.types[n.tableName][l.columnName])||void 0===i?void 0:i.replace("Stimulsoft.System.","");switch(t.toLowerCase()){case"boolean":e=Boolean;break;case"number":e=Ae.b.Decimal;break;case"string":e=String;break;case"array":e=Ae.b.ByteArray;break;case"datetime":e=Ae.b.DateTime;break;default:Ae.b[t]&&(e=Ae.b[t])}}var l=new vc(l.columnName,e);t.columns.push(l)}o.tables.add(t)}u.callTry(o)}).catch(t=>{u.callCatch(t.notice)}).abort(u),u}};Ae.am.StiCustomAdapterService=r}{let c=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterDataTables")}getDataCategoryName(t){let e=t.name,r=t.viewData.stimulsoft().as(ze);if(null==r&&t.viewData.stimulsoft().is(ze)&&(r=t.viewData),null!=r)if(null!=t.name&&t.data.stimulsoft().is(ze)){var i=e.lastIndexOf("."),n;-1!=r.tableName.indexOf(".")?e.length>r.tableName.length&&(e=e.substr(0,e.length-r.tableName.length-1)):-1!=i&&-1!=e.indexOf(r.tableName)&&(e=e.substr(0,i))}else if(null!=r.dataSet)return r.dataSet.dataSetName;if(t.alias!=e&&!De.isNullOrEmpty(t.alias)){if(Hd.Dictionary.showOnlyAliasForData)return t.alias;e=De.format("{0} [{1}]",e,t.alias)}return e}getColumnsFromDataAsync(t,e){let r=new _r;return r.callTry(this.getColumnsFromData(t,e)),r}getColumnsFromData(t,e){let r=new Ae.am.StiDataColumnsCollection,i=t.viewData.stimulsoft().as(ze);null==i&&t.viewData.stimulsoft().is(ze)&&(i=t.viewData.stimulsoft().as(ze));for(var n of i.columns.list)r.add(new Ae.am.StiDataColumn(n.columnName,n.caption,n.caption,n.dataType));for(let e=0;e<r.count;e++){let t=r.getByIndex(e).stimulsoft().as(Ae.am.StiDataColumn);var a=t.name,s=t.alias,o=t.name;Hd.Designer.autoCorrectDataColumnName&&(t.name=Ae.c.StiNameValidator.correctName(t.name)),t.nameInSource=o,t.alias=o,s!=a&&(t.alias=s)}return r}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}setDataSourceNames(t,e){super.setDataSourceNames(t,e);let r=t.viewData;null==r&&t.viewData.stimulsoft().is(ze)&&(r=t.viewData),e.name=r.tableName,e.alias=r.tableName;let i=r.tableName;De.isNullOrEmpty(i)||(i=i.trim(),i.stimulsoft().startsWith("'")&&i.stimulsoft().endsWith("'")&&(e.alias=i.substr(1,i.length-2)))}create(t,e=!0){return super.create(t,e)}getDataSourceType(){return Ae.am.StiDataTableSource}getDataTypes(){return[ze.stimulsoft().getType()]}getDataFromDataSource(t,e){let r=e,i=r.nameInSource.toLowerCase();for(var n of e.dictionary.dataStore.list)if(n.name.toLowerCase()==i&&n.viewData.stimulsoft().is(ze))return n;if(!Hd.Dictionary.useAdvancedDataSearch)return null;if(null!=e.dictionary&&null!=e.dictionary.report&&e.dictionary.report.isDesigning)return null;let a=null;-1!=i.indexOf(".")&&(a=i.substr(i.indexOf(".")+1));for(var s of e.dictionary.dataStore.list){if(null!=s.viewData&&!s.viewData.stimulsoft().is(ze))continue;let t=s.name.toLowerCase();if(t==i||t==a)return s;if(-1!=t.indexOf(".")&&(t=t.substr(t.indexOf(".")+1)),t==i||t==a)return s}if(!Hd.Dictionary.allowConnectToFirstTableForEmptyDataSource)return null;let o=0,l=null;for(var u of e.dictionary.dataStore.list)if(null!=u.viewData&&u.viewData.stimulsoft().is(ze)){if(o++,1<o)return null;l=u}if(1==o&&1<e.dictionary.dataSources.count){let t=0;for(var h of e.dictionary.dataSources.list)h.getDataAdapter().is(c)&&t++;if(1<t)return null}return l}connectDataSourceToDataAsync(t,e,r){let i=new _r,n=this;return setTimeout(()=>{try{n.connectDataSourceToData(t,e,r),i.callTry()}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(t.message)}}),i}connectDataSourceToData(t,e,r){Ae.am.StiDataLeader.disconnect(e);let i=this.getDataFromDataSource(t,e);if(null==i)return;let n=i.viewData.stimulsoft().as(ze);if(null==n&&i.viewData.stimulsoft().is(ze)&&(n=i.viewData),null==n)return;e.dictionary.report.cacheAllData&&r?e.dataTable=e.getDataTable(n):e.dictionary.report.cacheAllData?(e.dictionary.report.cacheAllData=!1,e.dataTable=n,e.dictionary.report.cacheAllData=!0):e.dataTable=n}};Ae.am.StiDataTableAdapterService=c}Ae.am.StiFileAdapterService=class extends Ae.am.StiDataStoreAdapterService{get serviceName(){return De.format(ne.get("Adapters","AdapterConnection"))}getDataCategoryName(t){return t.name}};let VS=Ae.d.StiCsvHelper;Ae.am.StiCsvAdapterService=class extends Ae.am.StiFileAdapterService{get name(){return"CSV"}getColumnsFromData(t,e){let r=new Ae.am.StiDataColumnsCollection;var e=e.stimulsoft().as(Ae.am.StiCsvSource),i,n;if(null==e)return r;try{for(n of VS.getTable(e.path,e.codePage,e.separator).columns.list){var a=Ae.c.StiNameValidator.correctName(n.columnName);r.add(new Ae.am.StiDataColumn(a,n.caption,"",n.dataType))}}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}return r}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}setDataSourceNames(t,e){super.setDataSourceNames(t,e);let r=e.path;r=null==r||0==r.trim().length?"Csv":r.substr(r.lastIndexOf(".")),e.name=r,e.alias=r}getDataSourceType(){return Ae.am.StiCsvSource}getDataTypes(){return[Ae.am.StiCsvSource]}connectDataSourceToData(t,e,r){try{yc.disconnect(e);var i=e;let t=VS.getTable(i.path,i.codePage,i.separator);r||t.rows.clear(),t.tableName=i.name,e.dataTable=t,this.checkConvertNulls(i)}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}checkConvertNulls(t){if(null==t.dictionary||null==t.dictionary.report)return;if(!t.convertEmptyStringToNull)return;var e=t.dataTable,r,i,n;let a=[];for(r of e.columns.list){var s=t.columns.getByName(r.columnName);null!=s&&s.type!=String?a.push(!0):a.push(!1)}for(i of e.rows.list)for(let t=0;t<e.columns.count;t++){!a[t]||"string"==typeof(n=i.getValueByIndex(t))&&""==n&&i.setValueByIndex(t,null)}}},Ae.am.StiNoSqlAdapterService=class extends Ae.am.StiDataStoreAdapterService{getDataCategoryName(t){return t.name}testConnection(t){try{return""}catch(t){return Ae.b.StiError.showError(t,!1),ne.get("DesignerFx","ConnectionError")+": "+t.message}}},Ae.am.StiMongoDbAdapterService=class extends Ae.am.StiNoSqlAdapterService{get name(){return"MongoDB"}getDataSourceType(){return Ae.am.StiMongoDbSource}getColumnsFromData(t,e){var r;return new Ae.am.StiDataColumnsCollection}connectDataSourceToData(t,e,r){if(yc.disconnect(e),!r)return}},Ae.am.StiBusinessObjectAdapterService=class extends Ae.am.StiDataTableAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterBusinessObjects")}getDataSourceType(){return Ae.am.StiBusinessObjectSource}getDataTypes(){return[Ae.am.StiBusinessObject]}},Ae.am.StiCrossTabAdapterService=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterCrossTabDataSource")}getDataSourceType(){return Ae.am.StiCrossTabDataSource}},Ae.am.StiDataTransformationAdapterService=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return De.format(nn.get("Adapters","AdapterConnection"),nn.get("PropertyMain","DataTransformation"))}edit(t,e){throw new Error("NotImplementedException")}new(t,e){throw new Error("NotImplementedException")}getDataTypes(){return null}getColumnsFromData(t,e){return new Ae.am.StiDataColumnsCollection}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}getDataCategoryName(t){return this.serviceName}getDataSourceType(){return Ae.am.StiDataTransformation}connectDataSourceToData(t,e,r){yc.disconnect(e)}},Ae.am.StiDataViewAdapterService=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterDataViews")}getDataSourceType(){return Ae.am.StiDataViewSource}},Ae.am.StiUserAdapterService=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterUserSources")}getDataSourceType(){return Ae.am.StiCrossTabDataSource}},Ae.am.StiVirtualAdapterService=class extends Ae.am.StiDataStoreAdapterService{constructor(){super(...arguments),this.isObjectAdapter=!0}get serviceName(){return ne.get("Adapters","AdapterVirtualSource")}getDataTypes(){return null}getColumnsFromDataAsync(t,e,r){let i=new _r;return i.callTry(new Ae.am.StiDataColumnsCollection),i}getColumnsFromData(t,e,r){return new Ae.am.StiDataColumnsCollection}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}getDataCategoryName(t){return this.serviceName}getDataSourceType(){return Ae.am.StiVirtualSource}connectDataSourceToDataAsync(t,e,r){let i=new _r;return yc.disconnect(e),i.callTry(),i}connectDataSourceToData(t,e,r){yc.disconnect(e)}};let GS=Ae.d.StiDataWorldConnector,US=Ae.d.StiDataWorldHelper;Ae.am.StiDataWorldAdapterService=class extends Ae.am.StiNoSqlAdapterService{getDataSourceType(){return Ae.am.StiDataWorldSource}createConnector(t){return GS.get(t)}getColumnsFromData(t,r){let e=new Ae.am.StiDataColumnsCollection;var i=r,n,a;let s;for(let e=0;e<r.dictionary.databases.count;e++){let t=r.dictionary.databases.getByIndex(e).stimulsoft().as(Ae.am.StiDatabase);if(null!=t&&t.name==i.nameInSource){s=t.stimulsoft().as(Ae.am.StiDataWorldDatabase);break}}if(null==s)return e;let o=this.createConnector(s.connectionString);for(a of o.getColumns(i.name))e.add(new Ae.am.StiDataColumn(a.name,a.name,"",a.type));return e}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}connectDataSourceToDataAsync(t,e,r){let i=new _r,n=this;return setTimeout(function(){try{n.connectDataSourceToData(t,e,r),i.callTry()}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(t.message)}}),i}connectDataSourceToData(e,t,r){if(yc.disconnect(t),!r)return void(t.dataTable=new ze);var i=t.stimulsoft().as(Ae.am.StiDataWorldSource);let n;for(let t=0;t<e.databases.count;t++){var a=e.databases.getByIndex(t).as(Ae.am.StiDataWorldDatabase);if(null!=a&&a.name==i.nameInSource){n=a;break}}let s=this.createConnector(n.connectionString);if(null==s)return;var r=i.query;t.dataTable=s.getDataTable(i.name,r)}testConnectionAsync(t,e){let r=new _r;try{let t=new US(e);var i=t.testConnection();1==i.success?r.callTry(ne.get("DesignerFx","ConnectionSuccessfull")):r.callCatch(ne.get("DesignerFx","ConnectionError")+": "+i.notice)}catch(t){Ae.b.StiError.showError(t,!1),r.callCatch(ne.get("DesignerFx","ConnectionError")+": "+t.message)}return r}retrieveSchemaAsync(t,e,r,i=null){let n=new _r;if(De.isNullOrEmpty(r))return n.callCatch("The connection string is empty."),n;var a=new Cc;try{let t=new US(r);a=t.retrieveSchema(),n.callTry(a)}catch(t){Ae.b.StiError.showError(t,!1),n.callCatch(t.message)}return n}};let jS=Ae.d.StiQuickBooksConnector;var l=Ae.am.StiSqlAdapterService,WS,k,qS,yt;Ae.am.StiQuickBooksAdapterService=class extends l{getDataSourceType(){return Ae.am.StiQuickBooksSource}createConnector(t=null){return new jS(t)}getColumnsFromData(e,r){let i=new Ae.am.StiDataColumnsCollection;var r=r,t,n;try{if(!De.isNullOrEmpty(r.sqlCommand)){let t=e.viewData;for(n of t.getDataTable(null,r.sqlCommand).columns.list)i.add(new Ae.am.StiDataColumn(n.columnName,n.columnName,n.columnName,n.dataType))}}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}return i}getParametersFromData(t,e){return new Ae.am.StiDataParametersCollection}connectDataSourceToData(t,e,r){if(!r)return;Ae.am.StiDataLeader.disconnect(e);let i=e,n=t.databases.toList().firstOrDefault(t=>t.name==i.nameInSource);if(null==n)return;let a=this.createConnector(n.connectionString),s=new ze(i.name);i.columns.toList().forEach(t=>s.columns.add(new it(t.name,t.type))),a.fillDataTable(s,i.sqlCommand),n.connectionString=a.connectionString,i.dataTable=s}createConnectionInDataStore(e,r){try{if(null==r.name)return;var i=e.dataStore.toList().firstOrDefault(t=>null!=t.name&&t.name.toLowerCase()==r.name.toLowerCase());null!=i&&e.dataStore.remove(i);var n=this.createConnector(r.connectionString);let t=new Ae.am.StiData(r.name,n);t.isReportData=!0,e.dataStore.add(t)}catch(t){if(Ae.c.StiLogService.write(this.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}}};let zS=Ae.d.StiODataHelper;Ae.am.StiODataAdapterService=class extends Ae.am.StiSqlAdapterService{get serviceName(){return ne.get("Adapters","AdapterDataTables")}get name(){return"OData"}getDataSourceType(){return Ae.am.StiODataSource}connectDataSourceToDataAsync(t,e,r){let i=new _r,n=this;return setTimeout(function(){try{n.connectDataSourceToData(t,e,r),i.callTry()}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(t.message)}}),i}connectDataSourceToData(e,r,t){if(!t)return;yc.disconnect(r);let i=r.stimulsoft().as(Ae.am.StiODataSource),n;for(let t=0;t<e.databases.count;t++){var a=e.databases.getByIndex(t).stimulsoft().as(Ae.am.StiODataDatabase);if(null!=a&&a.name==i.nameInSource){n=a;break}}if(null==n)return;let s=new ze(i.name);for(let t=0;t<i.columns.count;t++){var o=i.columns.getByIndex(t);s.columns.add(new it(o.name,o.type))}let l={database:this.serviceName,command:"ExecuteQuery",connectionString:Ae.am.StiFileDatabase.parsePathExpression(e,n.connectionString),preventDefault:!1,headers:[]};if(r){let t=r.nameInSource.indexOf(".");-1==t&&(t=r.nameInSource.length);var u=r.nameInSource.substring(0,t);l.dataSource=r.name,l.connection=u}var u=function(t){let e=new zS(t.connectionString);e.headers=t.headers,e.fillDataTable(s,i.sqlCommand),i.dataTable=s};e.report.invokeBeginProcessData(l,u),0==l.preventDefault&&u(l)}testConnectionAsync(e,r){let i=new _r;try{let t=new zS(Ae.am.StiFileDatabase.parsePathExpression(e.dictionary,r));var n=t.testConnection();1==n.success?i.callTry(ne.get("DesignerFx","ConnectionSuccessfull")):i.callCatch(ne.get("DesignerFx","ConnectionError")+": "+n.notice)}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(ne.get("DesignerFx","ConnectionError")+": "+t.message)}return i}retrieveSchemaAsync(t,r,i,e=null){let n=new _r;if(De.isNullOrEmpty(i))return n.callCatch("The connection string is empty."),n;let a=new Cc;try{let e={database:this.serviceName,command:"ExecuteQuery",connectionString:Ae.am.StiFileDatabase.parsePathExpression(t.dictionary,i),preventDefault:!1,headers:[]};if(r){let t=r.nameInSource.indexOf(".");-1==t&&(t=r.nameInSource.length);var s=r.nameInSource.substring(0,t);e.dataSource=r.name,e.connection=s}var o=function(t){let e=new zS(t.connectionString);e.headers=t.headers,a=e.retrieveSchema(),n.callTry(a)};t.invokeBeginProcessData(e,o),0==e.preventDefault&&o(e)}catch(t){Ae.b.StiError.showError(t,!1),n.callCatch(t.message)}return n}getColumnsFromDataAsync(t,r,i){let n=new _r;if(De.isNullOrEmpty(i))return n.callCatch("The connection string is empty."),n;let a=new Ae.am.StiDataColumnsCollection;try{let e={database:this.serviceName,command:"ExecuteQuery",connectionString:Ae.am.StiFileDatabase.parsePathExpression(r.dictionary,i),preventDefault:!1,headers:[]};if(r){let t=r.nameInSource.indexOf(".");-1==t&&(t=r.nameInSource.length);var s=r.nameInSource.substring(0,t);e.dataSource=r.name,e.connection=s,e.collectionName=r.sqlCommand}var o=function(t){let e=new zS(t.connectionString);e.headers=t.headers;for(var r of e.getColumns(t.collectionName))a.add(new Ae.am.StiDataColumn(r.name,r.name,r.name,r.type));n.callTry(a)};r.dictionary.report.invokeBeginProcessData(e,o),0==e.preventDefault&&o(e)}catch(t){Ae.b.StiError.showError(t,!1),n.callCatch(t.message)}return n}},Ae.am.StiFirebirdAdapterService=class extends Ae.am.StiSqlAdapterService{get name(){return"Firebird"}getDatabaseSpecificName(t){return De.format('"{0}"',t)}getDataSourceType(){return Ae.am.StiFirebirdSource}retrieveSchemaAsync(o,e,t,r=null){let l=new _r;if(De.isNullOrEmpty(t))return l.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),l;let u={command:"ExecuteQuery",connectionString:t,queryString:r=r||"SELECT RDB$RELATION_NAME, RDB$VIEW_BLR FROM RDB$RELATIONS WHERE (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)",database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var r=e.nameInSource.substring(0,t);u.dataSource=e.name,u.connection=r}let h=this;return h.process(o,u).try(e=>{let r=new Cc,s=new Dt,t="";for(let t=0;t<e.columns.length;t++)e.columns[t]=e.columns[t].toLowerCase();for(var i of e.rows){var n=i[e.columns.indexOf("rdb$relation_name")].trim(),a=i[e.columns.indexOf("rdb$view_blr")],i=wc.newTableOrView(n);s.set(n,i),De.isNullOrEmpty(t)?t=" AND (":t+=" OR ",t+="b.RDB$RELATION_NAME='"+n+"'",(null==a?r.tables:r.views).add(i)}De.isNullOrEmpty(t)||(t+=") "),u.queryString="SELECT b.RDB$FIELD_NAME, d.RDB$TYPE_NAME, b.RDB$RELATION_NAME "+"FROM   RDB$RELATIONS a "+"INNER JOIN RDB$RELATION_FIELDS b "+"ON     a.RDB$RELATION_NAME = b.RDB$RELATION_NAME "+"INNER JOIN RDB$FIELDS c "+"ON     b.RDB$FIELD_SOURCE = c.RDB$FIELD_NAME "+"INNER JOIN RDB$TYPES d "+"ON     c.RDB$FIELD_TYPE = d.RDB$TYPE "+"WHERE  a.RDB$SYSTEM_FLAG = 0 "+"AND  d.RDB$FIELD_NAME = 'RDB$FIELD_TYPE'"+t+"ORDER BY a.RDB$RELATION_NAME, b.RDB$FIELD_ID",h.process(o,u).try(r=>{for(let t=0;t<r.columns.length;t++)r.columns[t]=r.columns[t].toLowerCase();for(var i of r.rows){var n=i[r.columns.indexOf("rdb$relation_name")].trim(),a=i[r.columns.indexOf("rdb$field_name")].trim(),i=i[r.columns.indexOf("rdb$type_name")].trim();let t=String;switch(i){case"BLOB":t=Ae.b.ByteArray;break;case"CHAR":case"CHARACTER":case"VARCHAR":case"VARYING":case"CHAR VARYING":case"CHARACTER VARYING":case"NCHAR":case"NATIONAL CHAR":case"NATIONAL CHARACTER":t=String;break;case"DATE":case"TIME":case"TIMESTAMP":t=Ae.b.DateTime;break;case"DECIMAL":case"NUMERIC":t=Ae.b.Decimal;break;case"FLOAT":t=Ae.b.Float;break;case"DOUBLE PRECISION":t=Ae.b.Double;break;case"LONG":t=Ae.b.Long;break;case"SHORT":t=Ae.b.Short;break;case"SMALLINT":t=Ae.b.Int16;break;case"INTEGER":t=Ae.b.Int32;break;case"INT64":t=Ae.b.Int64;break}var a=new vc(a,t);let e=s.get(n).stimulsoft().as(wc);null!=e&&e.columns.push(a)}}).catch(t=>{Ae.b.StiError.showError(t.notice)}).finally(t=>{l.callTry(r)})}).catch(t=>{l.callCatch(t.notice)}).abort(l),l}},Ae.am.StiOdbcAdapterService=class extends Ae.am.StiSqlAdapterService{get name(){return"ODBC"}getDataSourceType(){return Ae.am.StiOdbcSource}},Ae.am.StiOracleAdapterService=class extends Ae.am.StiSqlAdapterService{get name(){return"Oracle"}getDataSourceType(){return Ae.am.StiOracleSource}getDatabaseSpecificName(t){return t}retrieveSchemaAsync(a,e,t,r=null){let s=new _r;if(De.isNullOrEmpty(t))return s.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),s;let o={command:"ExecuteQuery",connectionString:t,queryString:r=r||"SELECT OWNER, TABLE_NAME FROM ALL_TABLES WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','WMSYS','CTXSYS','ORDSYS','XDB','MDSYS','TSMSYS','LBACSYS')",database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var r=e.nameInSource.substring(0,t);o.dataSource=e.name,o.connection=r}let l=this,u=new Cc;return l.process(a,o).try(t=>{let n=new Dt,e="";for(var r of t.rows){var i=r[t.columns.indexOf("OWNER")],r=r[t.columns.indexOf("TABLE_NAME")],i=wc.newTableOrView(i+"."+r);n.set(r,i),De.isNullOrEmpty(e)?e=" WHERE ":e+=" OR ",e+="TABLE_NAME='"+r+"'",u.tables.add(i)}if(e.length<=0)return void s.callTry(u);o.queryString="SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLS"+e,l.process(a,o).try(e=>{for(var r of e.rows){var i=r[e.columns.indexOf("TABLE_NAME")],r=r[e.columns.indexOf("COLUMN_NAME")],r=new vc(r);let t=n.get(i).stimulsoft().as(wc);null!=t&&t.columns.push(r)}}).catch(t=>{Ae.b.StiError.showError(t.notice)}).finally(t=>{s.callTry(u)}).abort(s)}).catch(t=>{s.callCatch(t.notice)}).abort(s),s}},Ae.am.StiPostgreSQLAdapterService=class extends Ae.am.StiSqlAdapterService{get name(){return"PostgreSQL"}getDatabaseSpecificName(t){return De.format('public."{0}"',t)}getDataSourceType(){return Ae.am.StiPostgreSQLSource}retrieveSchemaAsync(a,e,t,r=null){let s=new _r;if(De.isNullOrEmpty(t))return s.callCatch(ne.get("DesignerFx","ConnectionError")+": Connection string empty"),s;let l={command:"ExecuteQuery",connectionString:t,queryString:r=r||"SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+Hd.Engine.retrieveSchemaNamePostgreSql+"'",database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};if(e){let t=e.nameInSource.indexOf(".");-1==t&&(t=e.nameInSource.length);var r=e.nameInSource.substring(0,t);l.dataSource=e.name,l.connection=r}let u=this,h=new Cc;u.process(a,l).try(t=>{let o=new Dt,e="";for(var r of t.rows){var i=r[t.columns.indexOf(t.columns.stimulsoft().toList().firstOrDefault(t=>"TABLE_TYPE"==t.toUpperCase()))],n=r[t.columns.indexOf(t.columns.stimulsoft().toList().firstOrDefault(t=>"TABLE_NAME"==t.toUpperCase()))],r=wc.newTableOrView(n);o.set(n,r),De.isNullOrEmpty(e)?e=" WHERE ":e+=" OR ",e+="TABLE_NAME='"+n+"'","BASE TABLE"==i&&h.tables.add(r),"VIEW"==i&&h.views.add(r)}if(e.length<=0)return void c(h);l.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+e,u.process(a,l).try(i=>{for(var n of i.rows){var a=n[i.columns.indexOf(i.columns.stimulsoft().toList().firstOrDefault(t=>"TABLE_NAME"==t.toUpperCase()))],s=n[i.columns.indexOf(i.columns.stimulsoft().toList().firstOrDefault(t=>"COLUMN_NAME"==t.toUpperCase()))];let t=n[i.columns.indexOf(i.columns.stimulsoft().toList().firstOrDefault(t=>"DATA_TYPE"==t.toUpperCase()))],e=String;switch(t.toLowerCase()){case"boolean":case"bool":e=Boolean;break;case"bytea":case"array":e=Ae.b.ByteArray;break;case"smallint":case"smallserial":e=Ae.b.Int16;case"integer":case"serial":case"int":case"int4":e=Ae.b.Int32;case"bigint":e=Ae.b.Int64;break;case"numeric":case"real":e=Ae.b.Decimal;break;case"double":case"double precision":e=Ae.b.Double;case"date":case"time with time zone":case"timestamp":case"timestamp with time zone":case"timestamp without time zone":case"interval":e=Ae.b.DateTime;break;case"time":case"time without time zone":e=Ae.b.TimeSpan;break}var s=new vc(s,e);let r=o.get(a).stimulsoft().as(wc);null!=r&&r.columns.push(s)}}).catch(t=>{Ae.b.StiError.showError(t.notice)}).finally(t=>{c(h)}).abort(s)}).catch(t=>{s.callCatch(t.notice)}).abort(s);let c=function(r){l.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'",u.process(a,l).try(t=>{for(var e of t.rows){var e=e[t.columns.indexOf(t.columns.stimulsoft().toList().firstOrDefault(t=>"ROUTINE_NAME"==t.toUpperCase()))],e=wc.newProcedure(e);r.storedProcedures.add(e)}s.callTry(r)}).catch(t=>{s.callCatch(t.notice)}).abort(s)};return s}},Ae.am.StiBusinessObjectCategory=class{constructor(t){this.category=t}};{let t=class extends Ae.am.StiDataTableSource{constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,o),this.allowExpressions=!0,this.type=Ae.am.StiSqlSourceType.Table,this.commandTimeout=30,this.reconnectOnEachRow=!1,this.sqlCommand="",this.sqlCommand=i,this.connectOnStart=n,this.reconnectOnEachRow=a,this.commandTimeout=s,this.connectionOrder=Ae.am.StiConnectionOrder.Sql}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("ConnectOnStart","",!0),new Wi("AllowExpressions","",!0),new Gi("Type","",Ae.am.StiSqlSourceType,Ae.am.StiSqlSourceType.Table),new ji("CommandTimeout","",30),new Wi("ReconnectOnEachRow"),new Ui("SqlCommand"),new Ma("Parameters")])}getDataAdapterType(){return Ae.am.StiSqlAdapterService}getParameterTypesEnum(){return Ae.aj.MsSql}updateParameters(){if(null==this.dataTable||0==this.parameters.count)return;this.invokeConnecting()}retrieveDataAsync(t=!1){let r=new _r,e=this.getDataAdapter();if(0<this.parameters.count){this.invokeConnecting();for(var i of this.parameters.list){let t=i.getParameterValue();null==t&&(t=""),e.parameters.get(i.name).value=t}}let n=this.nameInSource.indexOf(".");-1==n&&(n=this.nameInSource.length);let a=this.nameInSource.substring(0,n);var s=this.dictionary.databases.toList().firstOrDefault(function(t){return t.name==a});let o=this;if(null==s)return r.callTry(),r;return(t?e.retrieveSchemaAsync(o.dictionary.report,o,s.connectionString,this.sqlCommand).try(t=>{try{for(var e of t.tables)e.name==o.name&&e.columns.forEach(function(t){null==o.dataTable.columns.getByName(t.name)&&o.dataTable.columns.add(new it(t.name,t.type))});this.checkColumnsIndexs(),r.callTry()}catch(t){Ae.b.StiError.showError(t,!1),r.callCatch(t.message)}}).catch(t=>{r.callCatch(t)}):e.retrieveDataAsync(this.dictionary.report,this,s.connectionString,this.sqlCommand).try(t=>{o.dataTable=t,o.checkColumnsIndexs(),r.callTry()}).catch(t=>{r.callCatch(t)})).abort(r),r}getFinalSqlCommand(){return null}get componentId(){return Ae.c.StiComponentId.StiSqlSource}createNew(){return new t}};Ae.am.StiSqlSource=t}{let r=class extends Ae.am.StiSqlSource{constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o),this.serviceName="Custom"}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("ServiceName")])}static registerCustomSource(t){let e=new r;e.serviceName=t,Hd.Services.dataSource.add(e)}getDataAdapter(){let e=this.getDataAdapterType();var t;return Hd.Services.dataAdapters.firstOrDefault(t=>t.serviceEnabled&&t.stimulsoft().getType()==e&&t.name==this.serviceName)}getDataAdapterType(){return Ae.am.StiCustomAdapterService}get componentId(){return Ae.c.StiComponentId.StiSqlSource}createNew(){return new r}};Ae.am.StiCustomSource=r}Ae.am.StiDataSourceParserHelper=class{static connectSqlSource(t){let e=new $o;e.name="**DataSourceParameter**",e.page=t.dictionary.report.pages.getByIndex(0);for(var r of t.parameters.list)r.parameterValue=wd.parseTextValue("{"+r.value+"}",e);t.sqlCommand=wd.parseTextValue(t.sqlCommand,e)}},Ae.am.StiNoSqlSource=class extends Ae.am.StiSqlSource{get query(){return this.sqlCommand}set query(t){this.sqlCommand=t}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};{let t=class extends Ae.am.StiNoSqlSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiAzureTableStorageSource}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiAzureTableStorageSource=t}{let t=class extends Ae.am.StiNoSqlSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiCosmosDbSource}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiCosmosDbSource=t}Ae.am.StiFileDataSource=class extends Ae.am.StiDataStoreSource{constructor(t="",e="",r="",i=0,n=null){super(e,e,r,n),this.path=t,this.codePage=i}get componentId(){return Ae.c.StiComponentId.StiFileDataSource}get path(){return this.nameInSource}set path(t){this.nameInSource=t}};{let t=class extends Ae.am.StiFileDataSource{constructor(t="",e="",r="",i=0,n=null,a=""){super(t,e,r,i,a),this.convertEmptyStringToNull=!0,this.separator=n}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Path"),new ji("CodePage"),new Ui("Separator"),new Wi("ConvertEmptyStringToNull","",!0)])}get componentId(){return Ae.c.StiComponentId.StiCsvSource}getDataAdapterType(){return Ae.am.StiCsvAdapterService}createNew(){return new t}};Ae.am.StiCsvSource=t}{let t=class extends Ae.am.StiFileDataSource{meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Path"),new ji("CodePage","",0)])}get componentId(){return Ae.c.StiComponentId.StiDBaseSource}createNew(){return new t}constructor(t="",e="",r=e,i=0,n){super(t,e,r,i,n)}};Ae.am.StiDBaseSource=t}{let t=class extends Ae.am.StiNoSqlSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiBigQueryDatabase}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiBigQuerySource=t}{let t=class extends Ae.am.StiNoSqlSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiFirebaseDatabase}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiFirebaseSource=t}{let t=class extends Ae.am.StiDataStoreSource{createNew(){return new t}constructor(t="",e="",r=e,i){super(t,e,r,i)}};Ae.am.StiGoogleSheetsSource=t}{let t=class extends Ae.am.StiNoSqlSource{getDataAdapterType(){return Ae.am.StiMongoDbAdapterService}get componentId(){return Ae.c.StiComponentId.StiMongoDbSource}createNew(){return new t}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiMongoDbSource=t}{let t=class extends Ae.am.StiDataTableSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiBusinessObjectSource}constructor(t="",e="",r=""){super(t,e,e,r)}};Ae.am.StiBusinessObjectSource=t}{let t=class extends Ae.am.StiDataStoreSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiUserSource}constructor(t="",e="",r=""){super(t,e,e,r),this.connectionOrder=Ae.am.StiConnectionOrder.None}};Ae.am.StiUserSource=t}{let t=class extends Ae.am.StiDataStoreSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiCrossTabDataSource}constructor(t="",e="",r=""){super(t,e,e,r),this.connectionOrder=Ae.am.StiConnectionOrder.None}};Ae.am.StiCrossTabDataSource=t}{let t=class extends Ae.am.StiDataStoreSource{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiDataViewSource}constructor(t="",e="",r=""){super(t,e,e,r),this.connectionOrder=Ae.am.StiConnectionOrder.None}};Ae.am.StiDataViewSource=t}{let t=class extends Ae.am.StiDataStoreSource{constructor(t="",e="",r=""){super(t,e,e,r),this.filterOn=!0,this.filterMode=pu.And,this.filters=new Ae.ap.StiFiltersCollection,this.groupColumns=[],this.results=[],this.sort=[],this.connectionOrder=Ae.am.StiConnectionOrder.None}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("FilterMode","",pu,pu.And),new Ma("Filters"),new Ma("GroupColumns").get(()=>ci.Serialize.stringArray(this.groupColumns)).set(t=>this.groupColumns=ci.Deserialize.stringArray(t.value)).setXml(e=>{for(let t=0;t<e.childNodes.length;t++)"value"==e.childNodes[t].nodeName&&this.groupColumns.push(e.childNodes[t].textContent)}),new Ma("Results").get(()=>ci.Serialize.stringArray(this.groupColumns)).set(t=>this.results=ci.Deserialize.stringArray(t.value)).setXml(e=>{for(let t=0;t<e.childNodes.length;t++)"value"==e.childNodes[t].nodeName&&this.results.push(e.childNodes[t].textContent)}),new Ma("Sort").get(()=>ci.Serialize.stringArray(this.sort)).set(t=>this.groupColumns=ci.Deserialize.stringArray(t.value)).setXml(e=>{for(let t=0;t<e.childNodes.length;t++)"value"==e.childNodes[t].nodeName&&this.sort.push(e.childNodes[t].textContent)})])}getDataAdapterType(){return Ae.am.StiVirtualAdapterService}connectToDataAsync(t=!1){let r=new _r;if(!t)return this.connectToDataInternal(),r.callTry();{let e=this.dictionary.dataSources.getByName(this.nameInSource);if(null!=e.dataTable)return this.connectToDataInternal(),r.callTry();if(Nu.existsInCache(e))return e.dataTable=Nu.getFromCache(e).copy(),this.connectToDataInternal(),r.callTry();setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){let t=yield Nu.getDataTable(this.dictionary.report,e);return t&&(e.dataTable=t.copy(),this.connectToDataInternal()),r.callTry()}),0)}return r}connectToDataAsync2(t=!1){return Y.tsfb(this,void 0,void 0,function*(){if(t){let e=this.dictionary.dataSources.getByName(this.nameInSource);if(null==e.dataTable)if(Nu.existsInCache(e))e.dataTable=Nu.getFromCache(e).copy();else{let t=yield Nu.getDataTable(this.dictionary.report,e);t&&(e.dataTable=t.copy())}}this.connectToDataInternal()})}connectToDataInternal(){let e=null;if(Ae.c.StiNameValidator.correctName(this.name),null==e&&this.dictionary.report.calculationMode==Ae.c.StiCalculationMode.Interpretation||this.dictionary.report.isDesigning){let t=new Jl;t.name="VirtualSourceBand",t.page=this.dictionary.report.pages.getByIndex(0),t.dataSourceName=this.nameInSource,t.filters=this.filters,e=pd.getFilterEventHandler(t,t)}let i=this.dictionary.dataSources.getByName(this.nameInSource);if(null==i)throw De.format("'{0}' filter. Datasource '{1}' is not found.",this.name,this.nameInSource);let r=[];for(var n of this.groupColumns){let t=n;if(t.stimulsoft().startsWith("DESC"))null!=i.columns.getByName(t)&&null==i.columns.getByName(t.substr(4))?r.push("ASC"):(r.push("DESC"),t=t.substr(4));else{if(t.stimulsoft().startsWith("NONE"))continue;r.push("ASC")}var a=t.split("."),s=0,o;for(o of a){let t=o;(0==s&&1<a.length||s<a.length-1)&&(t=Ae.am.StiDataColumn.getRelationName(this.dictionary,i,o)),r.push(t)}}for(var t of this.sort)r.push(t);let l=r.stimulsoft().toArray();0==l.length&&(l=null),i.resetDetailsRows(),i.first(),i.setSort(null,l,null,null,null),i.setFilter(e);let u=new ze;for(var h of this.columns.list){var h=new it(h.name,h.type);u.columns.add(h)}let c=!1,d=new Dt,m=[];for(var p of this.groupColumns){let t=p;t.stimulsoft().startsWith("DESC")?null!=i.columns.getByName(t)&&null==i.columns.getByName(t.substr(4))||(t=t.substr(4)):t.stimulsoft().startsWith("NONE")&&(t=t.substr(4));var p=new Ae.am.StiFirstFunctionService;d.set(t,p),m.push(p)}let g=0;while(g<this.results.length){this.results[g++];var f=this.results[g++],S=this.results[g++];switch(f){case"Sum":var b=new Ae.am.StiSumFunctionService;d.set(S,b),m.push(b),c=!0;break;case"SumDistinct":var b=new Ae.am.StiSumDistinctFunctionService;d.set(S,b),m.push(b),c=!0;break;case"Count":var y=new Ae.am.StiCountFunctionService;d.set(S,y),m.push(y),c=!0;break;case"CountDistinct":var y=new Ae.am.StiCountDistinctFunctionService;d.set(S,y),m.push(y),c=!0;break;case"Min":var v=new Ae.am.StiMinFunctionService;d.set(S,v),m.push(v),c=!0;break;case"Max":var v=new Ae.am.StiMaxFunctionService;d.set(S,v),m.push(v),c=!0;break;case"Avg":var w=new Ae.am.StiAvgFunctionService;d.set(S,w),m.push(w),c=!0;break;case"First":var w=new Ae.am.StiFirstFunctionService;d.set(S,w),m.push(w),c=!0;break;case"Last":var C=new Ae.am.StiLastFunctionService;d.set(S,C),m.push(C),c=!0;break;case"MinDate":var C=new Ae.am.StiMinDateFunctionService;d.set(S,C),m.push(C),c=!0;break;case"MaxDate":var T=new Ae.am.StiMaxDateFunctionService;d.set(S,T),m.push(T),c=!0;break;case"MinTime":var T=new Ae.am.StiMinTimeFunctionService;d.set(S,T),m.push(T),c=!0;break;case"MaxTime":var P=new Ae.am.StiMaxTimeFunctionService;d.set(S,P),m.push(P),c=!0;break;case"MinStr":var P=new Ae.am.StiMinStrFunctionService;d.set(S,P),m.push(P),c=!0;break;case"MaxStr":var I=new Ae.am.StiMaxStrFunctionService;d.set(S,I),m.push(I),c=!0;break;case"Mode":var I=new Ae.am.StiModeFunctionService;d.set(S,I),m.push(I),c=!0;break;case"Median":var A=new Ae.am.StiMedianFunctionService;d.set(S,A),m.push(A),c=!0;break;default:var A=new Ae.am.StiFirstFunctionService;d.set(S,A),m.push(A);break}}var x=0<this.groupColumns.length;let D=ke.create(Object,this.groupColumns.length),B=!0,E=0;!x&&c&&this.initTotals(m);var k=!c&&!x;i.first(),this.dictionary.report.line=1,this.dictionary.report.lineThrough=1;while(!i.isEof){if(x){let e=[];for(var N of this.groupColumns){let t=N;t.stimulsoft().startsWith("DESC")?null!=i.columns.getByName(t)&&null==i.columns.getByName(t.substr(4))||(t=t.substr(4)):t.stimulsoft().startsWith("NONE")&&(t=t.substr(4)),e.push(Ae.am.StiDataColumn.getDataFromDataColumn(this.dictionary,Ae.c.StiNameValidator.correctName(i.name)+"."+t,!1))}let t=!1;B?this.initTotals(m):t=this.compare(D,e),t&&(this.addRow(u,d),this.initTotals(m),E=0),D=e,B=!1}let t=null;k&&(t=u.newRow());try{for(var F of this.groupColumns){let e=F;e.stimulsoft().startsWith("DESC")?null!=i.columns.getByName(e)&&null==i.columns.getByName(e.substr(4))||(e=e.substr(4)):e.stimulsoft().startsWith("NONE")&&(e=e.substr(4));let r=Ae.am.StiDataColumn.getDataFromDataColumn(this.dictionary,Ae.c.StiNameValidator.correctName(i.name)+"."+e,!1);if(null==r&&(r=No.value),k)t.sett(F,r);else{let t=d.get(e).stimulsoft().as(Ae.am.StiAggregateFunctionService);null!=t&&t.calcItem(r)}}}catch(t){Is.showError(t,!1)}let r=0;while(r<this.results.length)try{var R=this.results[r++];this.results[r++];var L=this.results[r++];let e=No.value;if(De.isNullOrEmpty(R)||(e=Ae.am.StiDataColumn.getDataFromDataColumn(this.dictionary,Ae.c.StiNameValidator.correctName(i.name)+"."+R,!1),null==e&&(e=No.value)),k)t.sett(L,e);else{let t=d.get(L).stimulsoft().as(Ae.am.StiAggregateFunctionService);null!=t&&t.calcItem(e)}}catch(t){Is.showError(t,!1)}E++,k&&u.rows.add(t),i.next(),this.dictionary.report.line++,this.dictionary.report.lineThrough++}0<E&&(c||x)&&this.addRow(u,d),this.dataTable=u,i.resetData(),i.first()}compare(t,e){let r=0;for(var i of t){if(null==i){if(null==e[r]){r++;continue}return!0}if(!Sr.stimulsoft().equals(i,e[r++]))return!0}return!1}initTotals(t){for(var e of t)e.init()}addRow(t,r){let i=t.newRow();for(var n of this.columns.list){let e=null!=r.get(n.name)?r.get(n.name).stimulsoft().as(Ae.am.StiAggregateFunctionService):null;if(null!=e){let t=e.getValue();null==t&&(t=No.value),i.sett(n.name,t)}}t.rows.add(i)}get componentId(){return Ae.c.StiComponentId.StiVirtualSource}createNew(){return new t}};Ae.am.StiVirtualSource=t}{let t=class extends Ae.am.StiNoSqlSource{getDataAdapterType(){return Ae.am.StiDataWorldAdapterService}get componentId(){return Ae.c.StiComponentId.StiDataWorldSource}createNew(){return new t}constructor(t="",e="",r="",i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiDataWorldSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiODataAdapterService}createNew(){return new t}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiODataSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiQuickBooksAdapterService}createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiQuickBooksSource}constructor(t="",e="",r="",i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiQuickBooksSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiDB2Source}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Db2}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiDB2Source=t}Ae.am.StiDotConnectUniversalSource=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}getParameterTypesEnum(){return Ae.aj.Universal}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiFirebirdAdapterService}get componentId(){return Ae.c.StiComponentId.StiFirebirdSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Firebird}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiFirebirdSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiInformixSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Informix}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiInformixSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiMSAccessSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.OleDb}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiMSAccessSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiMySqlAdapterService}get componentId(){return Ae.c.StiComponentId.StiMySqlSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.MySql}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiMySqlSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiOdbcAdapterService}get componentId(){return Ae.c.StiComponentId.StiOdbcSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Odbc}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiOdbcSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiOleDbSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.OleDb}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiOleDbSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiOracleAdapterService}get componentId(){return Ae.c.StiComponentId.StiOracleSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Oracle}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=100,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiOracleSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return Ae.am.StiPostgreSQLAdapterService}get componentId(){return Ae.c.StiComponentId.StiPostgreSQLSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.PostgreSql}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiPostgreSQLSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiSQLiteSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.SqLite}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiSQLiteSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiSqlCeSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.SqlCe}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiSqlCeSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiSybaseAdsSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Sybase}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiSybaseAdsSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiSybaseSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Sybase}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiSybaseSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiTeradataSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.Teradata}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiTeradataSource=t}{let t=class extends Ae.am.StiSqlSource{getDataAdapterType(){return null}get componentId(){return Ae.c.StiComponentId.StiVistaDBSource}createNew(){return new t}getParameterTypesEnum(){return Ae.aj.VistaDb}constructor(t="",e="",r=e,i="",n=!0,a=!1,s=30,o=""){super(t,e,r,i,n,a,s,o)}};Ae.am.StiVistaDBSource=t}(k=WS=Ae.am.StiDataTransformationMode||(Ae.am.StiDataTransformationMode={}))[k["Dimension"]=0]="Dimension",k[k["Measure"]=1]="Measure",Ae.am.StiDataTransformationColumn=class extends Ae.am.StiDataColumn{constructor(t="DataTransformationColumn",e="DataTransformationColumn",r,i="",n="",a){null==r&&(r=Number),null==a&&(a=Ae.am.StiDataTransformationMode.Dimension),super(t,t,e,r),this.expression=i,this.key=n,this.mode=a}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>"Transform"),new In("Expression"),new Gi("Mode","",Ae.am.StiDataTransformationMode,Ae.am.StiDataTransformationMode.Dimension)])}getDictionaryColumn(){let r=this.dataSource;if(null!=r){let e=Oi.removeFunction(this.expression),t=r.getDataSources(new Ee([e])).firstOrDefault().stimulsoft().as(Ae.am.StiDataSource);if(null!=t)return t.columns.toList().firstOrDefault(t=>t.getColumnPath().toLowerCase()==e.toLowerCase())}return null}},Ae.am.StiDataTransformationMeter=class{constructor(t,e){this.expression=t,this.label=e}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}implements(){return[]}clone(){return this.stimulsoft().memberwiseClone(!0)}getUniqueCode(){var t=null!=this.expression?this.expression.stimulsoft().getHashCode():0,t;return t=397*(t=397*t^Wr.stimulsoft().getHashCode(this))^(null!=this.label?this.label.stimulsoft().getHashCode():0),Math.abs(t)}};{let t=class extends Ae.am.StiDataTransformationMeter{constructor(t,e,r){super(t,e),this.key=r}implements(){return t.ImplementsStiDimensionTransformationMeter||(t.ImplementsStiDimensionTransformationMeter=[un]),t.ImplementsStiDimensionTransformationMeter}getUniqueCode(){var t=null!=this.expression?this.expression.stimulsoft().getHashCode():0,t;return t=397*(t=397*(t=397*t^Wr.stimulsoft().getHashCode(this))^(null!=this.label?this.label.stimulsoft().getHashCode():0))^(null!=this.key?this.key.stimulsoft().getHashCode():0),Math.abs(t)}};Ae.am.StiDimensionTransformationMeter=t}{let t=class extends Ae.am.StiDataTransformationMeter{constructor(t,e,r){super(t,e),this.key=r}implements(){return t.ImplementsStiMeasureTransformationMeter||(t.ImplementsStiMeasureTransformationMeter=[hn]),t.ImplementsStiMeasureTransformationMeter}getUniqueCode(){var t=null!=this.expression?this.expression.stimulsoft().getHashCode():0,t;return t=397*(t=397*(t=397*t^Wr.stimulsoft().getHashCode(this))^(null!=this.label?this.label.stimulsoft().getHashCode():0))^(null!=this.key?this.key.stimulsoft().getHashCode():0),Math.abs(t)}};Ae.am.StiMeasureTransformationMeter=t}{let a=class extends Ae.am.StiDatabase{constructor(t="",e="",r="",i=!1,n=null){super(t,e,n),this.promptUserNameAndPassword=!1,this.connectionString=r,this.promptUserNameAndPassword=i}createNew(){return new a}get serviceName(){return"MS SQL"}set serviceName(t){}get componentId(){return Ae.c.StiComponentId.StiSqlDatabase}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("ConnectionStringEncrypted"),new Wi("PromptUserNameAndPassword")])}get connectionType(){return Ae.am.StiConnectionType.Sql}get connectionStringEncrypted(){return ee.encryptS(this.connectionString,a.encryptedId)}set connectionStringEncrypted(t){this.connectionString=ee.decryptS(t,a.encryptedId)}createDataSource(t,e){return new Ae.am.StiSqlSource(t,e)}getDataAdapterType(){return Ae.am.StiSqlAdapterService}regData(t,e){let r=this.getDataAdapter();if(null==r){var i="Database '"+this.serviceName+"' not supported!";return void Ae.b.StiError.showError(i)}r.createConnectionInDataStore(t,this)}applyDatabaseInformation(t,e,r=null){this.applyDatabaseInformationTables(t,e,r),this.applyDatabaseInformationViews(t,e,r),this.applyDatabaseInformationProcedures(t,e,r)}applyDatabaseInformationTables(t,e,r){for(var i of t.tables)this.applyDatabaseInformationSource(t,e,r,i)}applyDatabaseInformationViews(t,e,r){for(var i of t.views)this.applyDatabaseInformationSource(t,e,r,i)}applyDatabaseInformationProcedures(t,e,r){for(var i of t.storedProcedures)this.applyDatabaseInformationSource(t,e,r,i,Ae.am.StiSqlSourceType.StoredProcedure)}applyDatabaseInformationSource(t,e,r,i,n=Ae.am.StiSqlSourceType.Table){let a=this.createDataSource(this.name,Ae.c.StiNameCreation.createName(e,i.tableName,!1,!1,!0)),s=a.getDataAdapter();a.sqlCommand=null!=i.extendedProperties["Query"]?a.sqlCommand=i.extendedProperties["Query"]:De.format("select * from {0}",null!=s?s.getDatabaseSpecificName(i.tableName):i.tableName);let o=new Mt;for(var l of i.columns.list)o=0==o.length?o.append(l.columnName):o.appendFormat(", {0}",l.columnName),a.columns.add(new Ae.am.StiDataColumn(l.columnName,l.columnName,l.columnName,l.dataType));a.type=n;var r=null!=r?r.tables.firstOrDefault(function(t){return t.tableName==i.tableName}):null;null!=r&&i.columns.count!=r.columns.count&&a.sqlCommand.stimulsoft().contains("*")&&0<o.length&&(a.sqlCommand=a.sqlCommand.stimulsoft().replaceAll("*",o.toString())),e.dictionary.dataSources.add(a)}getDatabaseInformationAsync(t){let e=new _r,r=new Ae.am.StiDatabaseInformation,i=this.getDataAdapter();var n;return null==i?(n="Database '"+this.serviceName+"' not supported!",Ae.b.StiError.showError(n),e.callTry(r)):i.retrieveSchemaAsync(t.report,null,this.connectionString).try(t=>{r.tables.addRange(a.getDatabaseInformationTables(t)),r.views.addRange(a.getDatabaseInformationViews(t)),r.storedProcedures.addRange(a.getDatabaseInformationProcedures(t))}).catch(t=>{Ae.b.StiError.showError(t)}).finally(()=>{e.callTry(r)}).abort(e),e}static getDatabaseInformationTables(t){let r=[];for(var i of t.tables)try{let e=new ze(i.name);i.columns.forEach(function(t){null==e.columns.getByName(t.name)&&e.columns.add(new it(t.name,t.type))}),De.isNullOrWhiteSpace(i.query)||(e.extendedProperties["Query"]=i.query),r.push(e)}catch(t){throw Ae.b.StiError.showError(t,!1),t}return r}static getDatabaseInformationViews(t){let r=[];for(var i of t.views)try{let e=new ze(i.name);i.columns.forEach(function(t){null==e.columns.getByName(t.name)&&e.columns.add(new it(t.name,t.type))}),De.isNullOrWhiteSpace(i.query)||(e.extendedProperties["Query"]=i.query),r.push(e)}catch(t){throw Ae.b.StiError.showError(t,!1),t}return r}static getDatabaseInformationProcedures(t){let e=[];for(var i of t.storedProcedures)try{let r=new ze(i.name);i.columns.forEach(function(e){if(null==r.columns.getByName(e.name)){let t=new it(e.name,e.type);t.caption="Columns",r.columns.add(t)}}),i.parameters.forEach(function(e){if(null==r.columns.getByName(e.name)){let t=new it(e.name,e.type);t.caption="Parameters",r.columns.add(t)}}),De.isNullOrWhiteSpace(i.query)||(r.extendedProperties["Query"]=i.query),e.push(r)}catch(t){throw Ae.b.StiError.showError(t,!1),t}return e}getSampleConnectionString(){return"Integrated Security=False; Data Source=myServerAddress;"+"\r\n"+"Initial Catalog=myDataBase; User ID=myUsername; Password=myPassword;"}};a.encryptedId="8pTP5X15uKADcSw7",Ae.am.StiSqlDatabase=a}{let r=class extends Ae.am.StiSqlDatabase{constructor(t="",e="",r=""){super(t,e,r),this._serviceName="Custom",this._sampleConnectionString="Sample ConnectionString"}meta(){return this._hash||(this._hash=[...super.meta(),new In("ServiceName","","Custom")])}static registerCustomDatabase(t){let e=new r;e.serviceName=t.serviceName,"sampleConnectionString"in t&&(e._sampleConnectionString=t.sampleConnectionString),Hd.Services.databases.add(e),Ae.am.StiCustomAdapterService.registerCustomAdapterService({name:t.serviceName,process:t.process}),Ae.am.StiCustomSource.registerCustomSource(t.serviceName)}createNew(){return new r}get serviceName(){return this._serviceName}set serviceName(t){this._serviceName=t}get connectionType(){return Ae.am.StiConnectionType.Custom}createDataSource(t,e){let r=new Ae.am.StiCustomSource(t,e);return r.serviceName=this.serviceName,r}getDataAdapter(){var t=Hd.Services.dataAdapters.firstOrDefault(t=>t.is(Ae.am.StiCustomAdapterService)&&t.name==this.serviceName);if(t)return t;throw De.format("Data adapter for the {0} database is not found!",this)}getDataAdapterType(){return Ae.am.StiCustomAdapterService}applyDatabaseInformationSource(t,e,r,i,n=Ae.am.StiSqlSourceType.Table){i.extendedProperties["Query"]=i.tableName,super.applyDatabaseInformationSource(t,e,r,i,n)}getSampleConnectionString(){return this._sampleConnectionString}};Ae.am.StiCustomDatabase=r}{let t=class extends Ae.am.StiDatabase{createNew(){return new t}constructor(t="",e="",r="",i=!1,n=""){super(t,e,n)}};Ae.am.StiUndefinedDatabase=t}(yt=qS=Ae.am.StiConnectionType||(Ae.am.StiConnectionType={}))[yt["Sql"]=0]="Sql",yt[yt["NoSql"]=1]="NoSql",yt[yt["Azure"]=2]="Azure",yt[yt["Google"]=3]="Google",yt[yt["OnlineServices"]=4]="OnlineServices",yt[yt["Other"]=5]="Other",yt[yt["Rest"]=6]="Rest",yt[yt["Custom"]=7]="Custom",Ae.am.StiNoSqlDatabase=class extends Ae.am.StiDatabase{constructor(t="",e=null,r="",i=!1,n=null){super(t,e,n),this.connectionString=r,this.promptUserNameAndPassword=i}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("ConnectionStringEncrypted"),new Wi("PromptUserNameAndPassword")])}get connectionType(){return Ae.am.StiConnectionType.NoSql}get connectionStringEncrypted(){return ee.encryptS(this.connectionString,"8pTP5X15uKADcSw7")}set connectionStringEncrypted(t){this.connectionString=ee.decryptS(t,"8pTP5X15uKADcSw7")}get canEditConnectionString(){return!0}regData(t,e){var r,i;null==this.getDataAdapter()&&(i="Database '"+this.serviceName+"' not supported!",Ae.b.StiError.showError(i))}applyDatabaseInformation(t,e,r=null){for(var i of t.tables)this.applyDatabaseInformationSource(t,e,r,i)}applyDatabaseInformationSource(t,e,r,i,n=Ae.am.StiSqlSourceType.Table){let a=this.createDataSource(this.name,Ae.c.StiNameCreation.createName(e,i.tableName,!1,!1,!0));a.alias=i.tableName;for(var s of i.columns.list)a.columns.add(new Ae.am.StiDataColumn(s.columnName,s.columnName,s.columnName,s.dataType));e.dictionary.dataSources.add(a)}getDatabaseInformation(){try{let t=new Ae.am.StiDatabaseInformation,e=this.createConnector(this.connectionString);var r=e.retrieveSchema();if(null==r)return t;return t.tables.addRange(this.getDatabaseInformationTables(r)),t}catch(t){return Ae.b.StiError.showError(t,!1),null}}getDatabaseInformationTables(t){let e=[];for(var r of t.tables)try{let t=new ze(r.name);for(var i of r.columns)null==t.columns.getByName(i.name)&&t.columns.add(new it(i.name,i.type));De.isNullOrWhiteSpace(r.query)||(t.extendedProperties["Query"]=r.query),e.push(t)}catch(t){Ae.b.StiError.showError(t,!1)}return e}createDataSource(t,e){return null}getConnectionStringHelper(){return null}createConnector(t=null){return null}getSampleConnectionString(){return""}};{let t=class extends Ae.am.StiNoSqlDatabase{get connectionType(){return Ae.am.StiConnectionType.Azure}get componentId(){return Ae.c.StiComponentId.StiAzureBlobStorageDatabase}createNew(){return new t}get serviceName(){return"Azure Blob Storage"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiAzureBlobStorageDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get connectionType(){return Ae.am.StiConnectionType.Azure}createNew(){return new t}getDataAdapterType(){return null}get serviceName(){return"Azure SQL"}getSampleConnectionString(){return"Server =<server address>; User ID =<username>; Password =<password>; Initial Catalog =<database name>;"}getConnectionStringHelper(){return"StiAzureSqlConnectionHelper"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiAzureSqlDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{get connectionType(){return Ae.am.StiConnectionType.Azure}get componentId(){return Ae.c.StiComponentId.StiAzureTableStorageDatabase}createNew(){return new t}get serviceName(){return"Azure Table Storage"}getSampleConnectionString(){return"DefaultEndpointsProtocol=https;AccountName=<AccountName>;AccountKey=<AccountKey>;EndpointSuffix=core.windows.net"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiAzureTableStorageDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiCosmosDbDatabase}get connectionType(){return Ae.am.StiConnectionType.Azure}createNew(){return new t}get serviceName(){return"Cosmos DB"}getSampleConnectionString(){return"Database=<myDataBase>;AccountEndpoint=<EndpointUrl>;AccountKey=<PrimaryKey>;"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiCosmosDbDatabase=t}let XS=Ae.d.StiDataLoaderHelper,JS=Ae.d.StiDataLoaderHelperData;Ae.al.StiUniversalDataLoader=class{static loadMutiple(t,e,r,i,n){if(De.isNullOrEmpty(e))return null;if(Ae.al.StiHyperlinkProcessor.isResourceHyperlink(e))return new JS(Ae.al.StiHyperlinkProcessor.getResourceNameFromHyperlink(e),Ae.al.StiHyperlinkProcessor.getBytes(t,e)).toList();return XS.loadMultiple(e,r,i,n)}static loadSingle(t,e,r,i){if(De.isNullOrEmpty(e))return null;if(Ae.al.StiHyperlinkProcessor.isResourceHyperlink(e))return new JS(Ae.al.StiHyperlinkProcessor.getResourceNameFromHyperlink(e),Ae.al.StiHyperlinkProcessor.getBytes(t,e));return XS.loadSingle(e,r,i)}};let YS=Ae.al.StiUniversalDataLoader;{let t=class extends Ae.am.StiFileDatabase{constructor(t="",e="",r=0,i=null,n=""){super(t,e,n),this.codePage=r,this.separator=i}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Separator"),new ji("CodePage")])}get serviceName(){return"CSV"}createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiCsvDatabase}getDataSet(e,i){let n=Ae.am.StiFileDatabase.parsePathExpression(e,this.pathData),a={pathData:n,database:this.serviceName,command:"GetData",connection:this.name,preventDefault:!1,headers:[]},s=new Xe,o=this;var t=function(t){if(null==t){if(null==(t=YS.loadMutiple(e.report,a.pathData,".csv",!0,a.headers)))return;for(var r of t){let t=r.array;if(null!=t){let e=Ae.d.StiCsvHelper.getTable2(t,o.codePage,o.separator,i);if(null!=e){if(Ps.isResourceHyperlink(a.pathData))e.tableName=Ps.getResourceNameFromHyperlink(a.pathData);else if(r.name)e.tableName=r.name;else{let t=a.pathData.substring(n.lastIndexOf("/"));a.pathData!=t?t=t.substr(1):(t=a.pathData.substring(a.pathData.lastIndexOf("\\")),a.pathData!=t&&(t=t.substr(1))),e.tableName=0<=t.lastIndexOf(".")?t.substring(0,t.lastIndexOf(".")):t}null==s&&(s=new Xe,s.enforceConstraints=!1),s.tables.add(e)}}t=null}}};e.report.invokeBeginProcessData(a,t),0==a.preventDefault&&t(null);var t={command:"GetData",database:this.serviceName,connection:this.name,dataSet:s};return e.report.invokeEndProcessData(t),s}getDatabaseInformation(e){try{var r=this.getDataSet(e,!1),i;let t=new Ae.am.StiDatabaseInformation;for(i of r.tables.list)t.tables.add(i);return t}catch(t){throw Ae.b.StiError.showError(t,!1),t}}regData(e,t){let r=this.getDataSet(e,t);if(null!=r){r.dataSetName=this.name;for(var i of r.tables.list){let t=new Ae.am.StiData(this.name+"."+i.tableName,i);t.isReportData=!0,e.dataStore.setByName(t.name,t)}}}};Ae.am.StiCsvDatabase=t}{let t=class extends Ae.am.StiFileDatabase{constructor(t,e,r=0,i){super(t,e,i),this.codePage=0,this.codePage=r}meta(){return this._hash||(this._hash=[...super.meta(),new ji("CodePage","",0)])}createNew(){return new t}get serviceName(){return"DBase"}get componentId(){return Ae.c.StiComponentId.StiDBaseDatabase}};Ae.am.StiDBaseDatabase=t}{let t=class extends Ae.am.StiFileDatabase{constructor(t="",e="",r=null,i=!0){super(t,e,r),this.firstRowIsHeader=!0,this.pathData=e,this.firstRowIsHeader=i}meta(){return this._hash||(this._hash=[...super.meta(),new Wi("FirstRowIsHeader","",!0)])}createNew(){return new t}get serviceName(){return"Excel"}get componentId(){return Ae.c.StiComponentId.StiExcelDatabase}getDatabaseInformation(e){try{var r=this.getDataSet(e),i;let t=new Ae.am.StiDatabaseInformation;for(i of r.tables.list)t.tables.add(i);return t}catch(t){throw 0==t.message.indexOf("Unsupported file")&&(t.message="Unsupported file."),Ae.b.StiError.showError(t,!1),t}}regData(e,t){try{let t=this.getDataSet(e);if(null!=t){t.dataSetName=this.name;for(var r of t.tables.list){let t=new Ae.am.StiData(this.name+"."+r.tableName,r);t.isReportData=!0,e.dataStore.setByName(t.name,t)}}}catch(t){throw 0==t.message.indexOf("Unsupported file")&&(t.message="Unsupported file."),Ae.b.StiError.showError(t,!1),t}}getDataSet(r){var t;let i={pathData:Ae.am.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,headers:[],connection:this.name},n=new Xe;var e=function(t){var e;null!=t||null!=(e=YS.loadSingle(r.report,i.pathData,!0,i.headers))&&(t=e.array),n=Ae.al.StiResourceArrayToDataSet.get(Ae.am.StiResourceType.Excel,t,r.report,i.pathData)};r.report.invokeBeginProcessData(i,e),0==i.preventDefault&&e(null);var e={command:"GetData",database:this.serviceName,connection:this.name,dataSet:n};return r.report.invokeEndProcessData(e),n}getDataSetPrivate(a){if(null==a)return null;let s=new Xe;for(var o of a.SheetNames){var l=a.Sheets[o],u;let e=[];for(u in l){if("!range"==u||"!ref"==u||"!merges"==u||"!margins"==u||"!autofilter"==u)continue;var h=l[u],c=u.match(/(\w+?)(\d+)/),d=c[1],c=+c[2];let t=e[c];t?t[d]=h:(t={},t[d]=h,e[c]=t)}let r=new Ae.bk.DataTable(o);s.tables.add(r),e.splice(0,1);let i={},t=0,n=e[0];this.firstRowIsHeader&&(n=e.splice(0,1)[0]);try{for(var m in n){var p=this.getType1(m,e);i[m]=t++,r.columns.add(new it(n[m].w,p))}for(var g of e){let t=r.addNewRow();for(var f in g)t.sett(i[f],g[f].v)}}catch(t){}}return s}getType1(t,e){for(var r of e)if(null!=r&&null!=r[t])switch(r[t].t){case"b":return Boolean;case"n":return Number;case"d":return z;case"s":return String}return String}};Ae.am.StiExcelDatabase=t}let QS=Ae.d.StiGisDataType;{let t=class extends Ae.am.StiFileDatabase{constructor(t,e,r,i){super(t,e,r),this.separator="|",this.dataType=QS.Wkt}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Separator"),new Gi("DataType","",QS,QS.Wkt)])}get componentId(){return Ae.c.StiComponentId.StiGisDatabase}createNew(){return new t}get serviceName(){return"GIS"}};Ae.am.StiGisDatabase=t}let KS=Ae.d.StiRelationDirection;{let t=class extends Ae.am.StiFileDatabase{constructor(t="",e="",r=null){super(t,t,r),this.relationDirection=KS.ParentToChild,this.pathData=e}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("RelationDirection","",KS,KS.ParentToChild)])}createNew(){return new t}get serviceName(){return"JSON"}getDataSet(r){var t;let i={pathData:Ae.am.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,relationDirection:this.relationDirection,headers:[],connection:this.name},n=new Xe;var e=function(t){var e;null!=t||null!=(e=YS.loadSingle(r.report,i.pathData,!1,i.headers))&&(t=e.array),n=Ae.al.StiResourceArrayToDataSet.get(Ae.am.StiResourceType.Json,t,r.report,i.pathData,i.tryParseDateTime,i.relationDirection)};return r.report.invokeBeginProcessData(i,e),0==i.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:n}),n}getDataSetAsync(r){let i=new _r;var t;let n={pathData:Ae.am.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,relationDirection:this.relationDirection,headers:[],connection:this.name},a=new Xe;var e=function(t){var e;null!=t||null!=(e=YS.loadSingle(r.report,n.pathData,!1,n.headers))&&(t=e.array),a=Ae.al.StiResourceArrayToDataSet.get(Ae.am.StiResourceType.Json,t,r.report,n.pathData,n.tryParseDateTime,n.relationDirection),i.callTry(a)};r.report.invokeBeginProcessData(n,e),0==n.preventDefault&&e(null);var e={command:"GetData",database:this.serviceName,connection:this.name,dataSet:a};return r.report.invokeEndProcessData(e),i}getDatabaseInformation(e){try{var r=this.getDataSet(e),i;let t=new Ae.am.StiDatabaseInformation;for(i of r.tables.list)t.tables.add(i);return t}catch(t){throw Ae.b.StiError.showError(t,!1),t}}getDatabaseInformationAsync(t){let i=new _r;try{this.getDataSetAsync(t).try(t=>{let e=new Ae.am.StiDatabaseInformation;for(var r of t.tables.list)e.tables.add(r);i.callTry(e)}).abort(i)}catch(t){Ae.b.StiError.showError(t,!1);let e=t;null!=t&&null!=t["message"]&&(e=t.message),i.callCatch(e)}return i}regData(e,t){let r=this.getDataSet(e);if(null!=r){r.dataSetName=this.name;for(var i of r.tables.list){let t=new Ae.am.StiData(this.name+"."+i.tableName,i);t.isReportData=!0,e.dataStore.setByName(t.name,t)}}}regDataAsync(r,t){let i=new _r,n=this;return n.getDataSetAsync(r).try(t=>{if(null!=t){t.dataSetName=n.name;for(var e of t.tables.list){let t=new Ae.am.StiData(n.name+"."+e.tableName,e);t.isReportData=!0,r.dataStore.setByName(t.name,t)}}i.callTry()}).abort(i),i}};Ae.am.StiJsonDatabase=t}{let t=class extends Ae.am.StiFileDatabase{constructor(t="",e="",r="",i=null,n=Ae.c.StiXmlType.AdoNetXml){super(t,t,i),this.adonetErrorMessage="This type of data is not supported! Please use the ADO.NET XML type.",this.xmlType=Ae.c.StiXmlType.AdoNetXml,this.pathSchema=e,this.pathData=r,this.xmlType=n}createNew(){return new t}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("PathSchema"),new Ui("PathData"),new Gi("XmlType","",Ae.c.StiXmlType,Ae.c.StiXmlType.AdoNetXml)])}get serviceName(){return"XML"}getDataSet(r){var t=Ae.am.StiFileDatabase.parsePathExpression(r,this.pathSchema),e=Ae.am.StiFileDatabase.parsePathExpression(r,this.pathData);let i={pathSchema:t,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[],connection:this.name},n={pathData:e,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[],connection:this.name},a=new Xe,s;var t=function(t){var t;s=t,null!=s||De.isNullOrEmpty(i.pathSchema)||null!=(t=YS.loadSingle(r.report,i.pathSchema,!1,i.headers))&&(s=t.array),a.readXmlSchema(s)},e=function(t){var e;null!=t||De.isNullOrEmpty(n.pathData)||null!=(e=YS.loadSingle(r.report,n.pathData,!1,n.headers))&&(t=e.array),s?a.readXml(t):a=Ae.al.StiResourceArrayToDataSet.get(Ae.am.StiResourceType.Xml,t,r.report,n.pathData,n.tryParseDateTime)};return r.report.invokeBeginProcessData(i,t),r.report.invokeBeginProcessData(n,e),0==i.preventDefault&&t(null),0==n.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:a}),a}getDataSetAsync(e){let r=new _r;var t=Ae.am.StiFileDatabase.parsePathExpression(e,this.pathSchema),i=Ae.am.StiFileDatabase.parsePathExpression(e,this.pathData);let n={pathSchema:t,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[],connection:this.name},a={pathData:i,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[],connection:this.name},s=new Xe,o=!1,l=!1,u;var t=function(t){u=t,o=!0,null!=u||De.isNullOrEmpty(n.pathSchema)||(u=YS.loadSingle(e.report,n.pathSchema,!1,n.headers).array),s.readXmlSchema(u),l&&r.callTry(s)},i=function(t){l=!0,null!=t||De.isNullOrEmpty(a.pathData)||(t=YS.loadSingle(e.report,a.pathData,!1,a.headers).array),u?s.readXml(t):s=Ae.al.StiResourceArrayToDataSet.get(Ae.am.StiResourceType.Xml,t,e.report,a.pathData,a.tryParseDateTime),o&&r.callTry(s)};e.report.invokeBeginProcessData(n,t),e.report.invokeBeginProcessData(a,i),0==n.preventDefault&&t(null),0==a.preventDefault&&i(null);var i={command:"GetData",database:this.serviceName,connection:this.name,dataSet:s};return e.report.invokeEndProcessData(i),r}regData(e,t){if(this.xmlType!=Ae.c.StiXmlType.AdoNetXml)return void Ae.b.StiError.showError(this.adonetErrorMessage);let r=this.getDataSet(e);if(null!=r){r.dataSetName=this.name;for(var i of r.tables.list){let t=new Ae.am.StiData(this.name+"."+i.tableName,i);t.isReportData=!0,e.dataStore.setByName(t.name,t)}}}regDataAsync(r,t){let i=new _r;if(this.xmlType!=Ae.c.StiXmlType.AdoNetXml)return Ae.b.StiError.showError(this.adonetErrorMessage),i.callTry();return this.getDataSetAsync(r).try(t=>{if(null!=t){t.dataSetName=this.name;for(var e of t.tables.list){let t=new Ae.am.StiData(this.name+"."+e.tableName,e);t.isReportData=!0,r.dataStore.setByName(t.name,t)}}i.callTry()}).abort(i),i}getDatabaseInformation(e){if(this.xmlType!=Ae.c.StiXmlType.AdoNetXml)return Ae.b.StiError.showError(this.adonetErrorMessage),new Ae.am.StiDatabaseInformation;try{var r=this.getDataSet(e),i;let t=new Ae.am.StiDatabaseInformation;for(i of r.tables.list)t.tables.add(i);return t}catch(t){throw Ae.b.StiError.showError(t,!1),t}}getDatabaseInformationAsync(t){let i=new _r;if(this.xmlType!=Ae.c.StiXmlType.AdoNetXml)return Ae.b.StiError.showError(this.adonetErrorMessage),i.callTry(new Ae.am.StiDatabaseInformation);try{this.getDataSetAsync(t).try(t=>{let e=new Ae.am.StiDatabaseInformation;for(var r of t.tables.list)e.tables.add(r);i.callTry(e)}).abort(i)}catch(t){Ae.b.StiError.showError(t,!1),i.callCatch(t.message)}return i}};Ae.am.StiXmlDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{get connectionType(){return Ae.am.StiConnectionType.Google}get componentId(){return Ae.c.StiComponentId.StiBigQueryDatabase}createNew(){return new t}get serviceName(){return"BigQuery"}getSampleConnectionString(){return"Base64EncodedAuthSecret=<secret>;ProjectId=<projectID>;DatasetId=<datasetID>"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiBigQueryDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{get connectionType(){return Ae.am.StiConnectionType.Google}get componentId(){return Ae.c.StiComponentId.StiFirebaseDatabase}createNew(){return new t}get serviceName(){return"Firebase"}getSampleConnectionString(){return"AuthSecret=<secret>;BasePath=<path>"}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiFirebaseDatabase=t}{let t=class extends Ae.am.StiDatabase{constructor(t,e,r,i,n,a,s){super(t,e,r),this.firstRowIsHeader=!0,this.clientId=i,this.clientSecret=n,this.spreadsheetId=a,this.firstRowIsHeader=s}get componentId(){return Ae.c.StiComponentId.StiGoogleSheetsDatabase}createNew(){return new t}get serviceName(){return"Google Sheets"}getSampleConnectionString(){return""}};Ae.am.StiGoogleSheetsDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiMongoDbDatabase}createDataSource(t,e){return new Ae.am.StiMongoDbSource(t,e)}get serviceName(){return"MongoDB"}getSampleConnectionString(){return"mongodb://<user>:<password>@localhost/test"}constructor(t="",e=null,r="",i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiMongoDbDatabase=t}{let t=class extends Ae.am.StiNoSqlDatabase{get serviceName(){return"Data.World"}get connectionType(){return Ae.am.StiConnectionType.OnlineServices}get owner(){return new US(this.connectionString).owner}get token(){return new US(this.connectionString).token}get database(){return new US(this.connectionString).database}createNew(){return new t}get componentId(){return Ae.c.StiComponentId.StiDataWorldDatabase}getSampleConnectionString(){return"Owner=<owner>;Database=<id>;Token=<token>"}createConnector(t=null){return GS.get(t)}getDataAdapterType(){return Ae.am.StiDataWorldAdapterService}createDataSource(t,e){return new Ae.am.StiDataWorldSource(t,e)}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiDataWorldDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{createNew(){return new t}get serviceName(){return"OData"}get componentId(){return Ae.c.StiComponentId.StiODataDatabase}createDataSource(t,e){return new Ae.am.StiODataSource(t,e)}getDataAdapterType(){return Ae.am.StiODataAdapterService}getConnectionStringHelper(){return"StiODataConnectionHelper"}mapUserNameAndPassword(t,e){return De.format("UserName = {0}; Password = {1}",t,e)}get connectionType(){return Ae.am.StiConnectionType.Rest}getSampleConnectionString(){return"https://services.odata.org/v3/odata/OData.svc/"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiODataDatabase=t}let ZS=Ae.am.StiQuickBooksSource;var ot=Ae.am.StiSqlDatabase;{let t=class extends ot{get connectionType(){return Ae.am.StiConnectionType.OnlineServices}createNew(){return new t}get serviceName(){return"Quickbooks"}getSampleConnectionString(){return""}get componentId(){return Ae.c.StiComponentId.StiQuickBooksDatabase}getDataAdapterType(){return Ae.am.StiQuickBooksAdapterService}createDataSource(t,e){return new ZS(t,e)}regData(t,e){let r=this.getDataAdapter();var i;null==r&&(i="Database '"+this.serviceName+"' not supported!",Ae.b.StiError.showError(i)),r.createConnectionInDataStore(t,this)}constructor(t="",e="",r="",i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiQuickBooksDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiDB2Database}createNew(){return new t}get serviceName(){return"DB2"}getSampleConnectionString(){return"Server=myAddress:myPortNumber;Database=myDataBase;UID=myUsername;PWD=myPassword;\r\n"+"Max Pool Size=100;Min Pool Size=10;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiDB2Database=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiDotConnectUniversalDatabase}createNew(){return new t}get serviceName(){return"Universal (dotConnect)"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiDotConnectUniversalDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiFirebirdDatabase}get serviceName(){return"Firebird"}createNew(){return new t}createDataSource(t,e){return new Ae.am.StiFirebirdSource(t,e)}getDataAdapterType(){return Ae.am.StiFirebirdAdapterService}getSampleConnectionString(){return"User=SYSDBA; Password=masterkey; Database=SampleDatabase.fdb;"+"\r\n"+"DataSource=myServerAddress; Port=3050; Dialect=3; Charset=NONE;"+"\r\n"+"Role=; Connection lifetime=15; Pooling=true; MinPoolSize=0;"+"\r\n"+"MaxPoolSize=50; Packet Size=8192; ServerType=0;"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiFirebirdDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiInformixDatabase}createNew(){return new t}get serviceName(){return"Informix"}getSampleConnectionString(){return"Database=myDataBase;Host=192.168.10.10;Server=db_engine_tcp;Service=1492;\r\n"+"Protocol=onsoctcp;UID=myUsername;Password=myPassword;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiInformixDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiMSAccessDatabase}createNew(){return new t}get serviceName(){return"MS Access"}getSampleConnectionString(){return"Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Password=pass;"+"Data Source=C:\\myAccessFile.accdb;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiMSAccessDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiMySqlDatabase}createNew(){return new t}get serviceName(){return"MySQL"}createDataSource(t,e){return new Ae.am.StiMySqlSource(t,e)}getDataAdapterType(){return Ae.am.StiMySqlAdapterService}getSampleConnectionString(){return"Server=myServerAddress; Database=myDataBase;"+"\r\n"+"UserId=myUsername; Pwd=myPassword;"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiMySqlDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiOdbcDatabase}createNew(){return new t}get serviceName(){return"ODBC"}createDataSource(t,e){return new Ae.am.StiOdbcSource(t,e)}getDataAdapterType(){return Ae.am.StiOdbcAdapterService}getSampleConnectionString(){return"Driver={SQL Server}; Server=myServerAddress; "+"\r\n"+"Database=myDataBase; Uid=myUsername; Pwd=myPassword;"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiOdbcDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiOleDbDatabase}createNew(){return new t}get serviceName(){return"OLE DB"}getSampleConnectionString(){return"Provider=SQLOLEDB.1; Integrated Security=SSPI;\r\n"+"Persist Security Info=False; Initial Catalog=myDataBase;\r\n"+"Data Source=myServerAddress"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiOleDbDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiOracleDatabase}get serviceName(){return"Oracle"}createNew(){return new t}createDataSource(t,e){return new Ae.am.StiOracleSource(t,e)}getDataAdapterType(){return Ae.am.StiOracleAdapterService}getSampleConnectionString(){return"Data Source=TORCL;User Id=myUsername;Password=myPassword;"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiOracleDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiPostgreSQLDatabase}get serviceName(){return"PostgreSQL"}createNew(){return new t}createDataSource(t,e){return new Ae.am.StiPostgreSQLSource(t,e)}getDataAdapterType(){return Ae.am.StiPostgreSQLAdapterService}getSampleConnectionString(){return"Server=myServerAddress; Port=5432; Database=myDataBase;"+"\r\n"+"User Id=myUsername; Password=myPassword;"}constructor(t="",e="",r=null,i=!1,n=null){super(t,e,r,i,n)}};Ae.am.StiPostgreSQLDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiSQLiteDatabase}createNew(){return new t}get serviceName(){return"SQLite"}getSampleConnectionString(){return"Data Source=c:mydb.db; Version=3;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiSQLiteDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiSqlCeDatabase}createNew(){return new t}get serviceName(){return"SQL CE"}getSampleConnectionString(){return"Data Source=c:MyData.sdf; Persist Security Info=False;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiSqlCeDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiSybaseAdsDatabase}createNew(){return new t}get serviceName(){return"Sybase ADS"}getSampleConnectionString(){return"Data Source=\\myservermyvolumemypatmydd.add;User ID=myUsername;Password=myPassword;ServerType=REMOTE;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiSybaseAdsDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiSybaseDatabase}createNew(){return new t}get serviceName(){return"Sybase"}getSampleConnectionString(){return"Data Source=myASEserver;Port=5000;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiSybaseDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiTeradataDatabase}createNew(){return new t}get serviceName(){return"Teradata"}getSampleConnectionString(){return"Data Source=myServerAddress;User ID=myUsername;Password=myPassword;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiTeradataDatabase=t}{let t=class extends Ae.am.StiSqlDatabase{get componentId(){return Ae.c.StiComponentId.StiVistaDBDatabase}createNew(){return new t}get serviceName(){return"VistaDB"}getSampleConnectionString(){return"Data Source=D:\foldermyVistaDatabaseFile.vdb4;Open Mode=ExclusiveReadWrite;"}getDataAdapterType(){return null}constructor(t,e,r,i,n){super(t,e,r,i,n)}};Ae.am.StiVistaDBDatabase=t}{let e=class{constructor(t,e,r,i,n,a,s="",o=null,l=null,u=null){this.key=_i.generateKey(),this.useFullPath=!0,this.category="",this.groupFunctionName="",this.functionName="",this.description="",this.typeOfFunction=null,this.returnType=null,this.returnDescription="",this._argumentTypes=null,this._argumentNames=null,this._argumentDescriptions=null,this.category=t,this.description=i,this.returnDescription=s,this.groupFunctionName=e,this.functionName=r,this.typeOfFunction=n,this.returnType=a,this.argumentTypes=o,this.argumentNames=l,this.argumentDescriptions=u}implements(){return[Yc]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}compareTo(t){var t=t.stimulsoft().as(e);return this.functionName.stimulsoft().compareTo(t.functionName)}getKey(){return this.key}setKey(t){this.key=t}getName(){return this.functionName}invoke(t){var e;return null===(e=this.jsFunction)||void 0===e?void 0:e.apply(null,t)}get argumentTypes(){return this._argumentTypes}set argumentTypes(t){this._argumentTypes=t}get argumentNames(){return this._argumentNames}set argumentNames(t){this._argumentNames=t}get argumentDescriptions(){return this._argumentDescriptions}set argumentDescriptions(t){this._argumentDescriptions=t}toString(){return this.functionName}getLongFunctionString(r){if(r==Ae.c.StiReportLanguageType.CSharp){let t=new Mt;t.append(this.convertTypeToString(this.returnType,r)),t.append("  "),t.append(this.functionName),t.append(" (");let e=0;if(null!=this.argumentTypes)for(var i of this.argumentTypes){var n=this.argumentNames[e];i.stimulsoft().is(Array)||(t.append(this.convertTypeToString(i,r)),t.append(" ")),t.append(n),e++,e!=this.argumentTypes.length&&t.append(", ")}return t.append(")"),t.toString()}{let t=new Mt;t.append(this.functionName),t.append("(");let e=0;if(null!=this.argumentTypes)for(var a of this.argumentTypes){var s=this.argumentNames[e];t.append(s),t.append(" As "),t.append(this.convertTypeToString(a,r)),e++,e!=this.argumentTypes.length&&t.append(", ")}return t.append(")"),"void"!=this.returnType.toString()&&t.append(" As "+this.convertTypeToString(this.returnType,r)),t.toString()}}getFunctionString(t,e=!0){let r=new Mt;e&&r.append(this.functionName),r.append(" (");let i=0;if(null!=this.argumentTypes)for(var n of this.argumentTypes){var a=this.argumentNames[i];n.stimulsoft().is(Array)?r.append(a):r.append(this.convertTypeToString(n,t)),i++,i!=this.argumentTypes.length&&r.append(", ")}return r.append(")"),"void"!=this.returnType.toString()&&r.append(" : "+this.convertTypeToString(this.returnType,t)),r.toString()}convertTypeToString(t,e){if(t==Ae.b.Int32)return"int";if(t==Ae.b.UInt32)return"uint";if(t==Ae.b.Int64)return"long";if(t==Ae.b.UInt64)return"ulong";if(t==String)return"string";if(t==Boolean)return"bool";if(t==Ae.b.Byte)return"byte";if(t==Ae.b.SByte)return"sbyte";if(t==Ae.b.Int16)return"short";if(t==Ae.b.UInt16)return"ushort";if(t==Ae.b.Char)return"char";if(t==Ae.b.Double)return"double";if(t==Ae.b.Single)return"float";if(t==Ae.b.Decimal)return"decimal";if(t==Ae.b.DateTime)return"DateTime";if(t==Ae.b.TimeSpan)return"TimeSpan";if(t==Ae.b.Guid)return"Guid";if(t==Ae.b.NullableByte)return"byte?";if(t==Ae.b.NullableSByte)return"sbyte?";if(t==Ae.b.NullableBoolean)return"bool?";if(t==Ae.b.NullableByte)return"char?";if(t==Ae.b.NullableInt16)return"short?";if(t==Ae.b.NullableUInt16)return"ushort?";if(t==Ae.b.NullableInt32)return"int?";if(t==Ae.b.NullableUInt32)return"uint?";if(t==Ae.b.NullableInt64)return"long?";if(t==Ae.b.NullableUInt64)return"ulong?";if(t==Ae.b.NullableDouble)return"double?";if(t==Ae.b.NullableSingle)return"float?";if(t==Ae.b.NullableDecimal)return"decimal?";if(t==Ae.b.NullableDateTime)return"DateTime?";if(t==Ae.b.NullableTimeSpan)return"TimeSpan?";if(t==Ae.b.NullableGuid)return"Guid?";if(t==Object)return"object";return t.stimulsoft().getType().stimulsoft().getTypeName()}};Ae.am.StiFunction=e}{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Drawing","","ARGB","Creates a Color from the four ARGB component (alpha, red, green, and blue) values.","Stimulsoft.Report.Dictionary.StiFunctionsDrawing",Fe,"A color value.",[Number,Number,Number,Number],["alpha","red","green","blue"],["An alpha component, which ranges from 0 (fully transparent) to 255 (fully opaque).","A red component, which ranges from 0 (no saturation) to 255 (full saturation).","A green component, which ranges from 0 (no saturation) to 255 (full saturation).","A blue component, which ranges from 0 (no saturation) to 255 (full saturation)."]),Ae.am.StiFunctions.addFunction("Drawing","","RGB","Creates a Color from the three RGB component (red, green, and blue) values.","Stimulsoft.Report.Dictionary.StiFunctionsDrawing",Fe,"A color value.",[Number,Number,Number],["red","green","blue"],["A red component, which ranges from 0 (no saturation) to 255 (full saturation).","A green component, which ranges from 0 (no saturation) to 255 (full saturation).","A blue component, which ranges from 0 (no saturation) to 255 (full saturation)."]),Ae.am.StiFunctions.addFunction("Drawing","","ColorValue",'Translates a string representation to a color. For example: ColorValue("red"), ColorValue("#FF0000"), ColorValue("#55009900").',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",Fe,"A color value.",[String],["value"],["A string representation of a color to translate."]),Ae.am.StiFunctions.addFunction("Drawing","","ColorFade","Makes a color darker or lighter on a specified fade value. For example: ColorFade(Color.red, -0.5), ColorFade(Color.green, 0.3).","Stimulsoft.Report.Dictionary.StiFunctionsDrawing",Fe,"A color value.",[Object,Number],["color","fadeAmount"],["A color value.","A number between -1 and 1. -1 fully darkens a color to black, 0 doesn't affect the color, and 1 fully brightens a color to white."]),Ae.am.StiFunctions.addFunction("Drawing","","SolidBrushValue",'Makes a solid brush. For example: SolidBrushValue("red"), SolidBrushValue(Color.yellow).',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",si,"A solid brush.",[Fe],["color"],["A color value for the solid brush."]),Ae.am.StiFunctions.addFunction("Drawing","","GradientBrushValue",'Makes a gradient brush. For example: GradientBrushValue("red", "green", 45), GradientBrushValue(Color.red, Color.green, 45).',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",ni,"A gradient brush.",[Object,Object,Number],["startColor","endColor","angle"],["A starting color for the gradient.","An ending color for the gradient.","An angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line."]),Ae.am.StiFunctions.addFunction("Drawing","","GlareBrushValue",'Makes a glare brush. For example: GlareBrushValue("red", "green", 45), GlareBrushValue(Color.red, Color.green, 45).',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",ri,"A glare brush.",[Object,Object,Number,Number,Number],["startColor","endColor","angle","focus","scale"],["A string representation of a starting color for the gradient.","A string representation of a ending color for the gradient.","An angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.","A value from 0 through 1 that specifies the center of the gradient (the point where the gradient is composed of only the ending color).","A value from 0 through 1 that specifies how fast the colors falloff from the focus."]),Ae.am.StiFunctions.addFunction("Drawing","","GlassBrushValue",'Makes a glass brush. For example: GlassBrushValue("#ff0000", 0.2), GlassBrushValue(Color.red, 0.2).',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",ii,"A glass brush.",[Object,Boolean,Number],["color","drawHatch","blendFactor"],["A color for the glass brush.","Draw hatch at background or not.","A blend factor of the glass brush. The value must be in range between 0 and 1."]),Ae.am.StiFunctions.addFunction("Drawing","","HatchBrushValue",'Makes a hatch brush. For example: HatchBrushValue(1, "gray", "white").',"Stimulsoft.Report.Dictionary.StiFunctionsDrawing",ai,"A hatch brush..",[Number,Object,Object],["style","foreColor","backColor"],["A hatch style of the brush.","A foreground color for the hatch brush.","A background color for the hatch brush."]),t.isCreated=!0)}static aRGB(t,e,r,i){return Fe.fromArgb(t,e,r,i)}static rGB(t,e,r){return Fe.fromArgb(t,e,r)}static colorValue(t){return qr.get(t)}static colorFade(t,e){return 0==e?this.getColor(t):0<e?jl.light(this.getColor(t),255*e):jl.dark(this.getColor(t),255*e)}static solidBrushValue(t){return new si(this.getColor(t))}static gradientBrushValue(t,e,r){return new ni(this.getColor(t),this.getColor(e),r)}static glareBrushValue(t,e,r,i,n){return new ri(this.getColor(t),this.getColor(e),r,i,n)}static glassBrushValue(t,e,r){return new ii(this.getColor(t),e,r)}static hatchBrushValue(t,e,r){return new ai(t,this.getColor(e),this.getColor(r))}static getColor(t){if(null==t)return Fe.transparent;if(t.stimulsoft().is(Fe))return t;if(t.stimulsoft().is(hi))return hi.toColor(t);return qr.get(t.toString())}};t.isCreated=!1,Ae.am.StiFunctionsDrawing=t}{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of an integer.","System.Math",Ae.b.Int64,"An integer.",[Ae.b.Int64],["value"],["integer."]),Ae.am.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a decimal number.","System.Math",Ae.b.Decimal,"A decimal number.",[Ae.b.Decimal],["value"],["A decimal number."]),Ae.am.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a floating-point number.","System.Math",Ae.b.Double,"A floating-point number.",[Ae.b.Double],["value"],["A floating-point number."]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Int64,"Result of checking.",[Ae.b.Int64,Ae.b.Int64],["value1","value2"],["Divisible","Divisor"]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Int64,"The result of checking.",[Ae.b.Int64,Ae.b.Int64,Ae.b.Int64],["value1","value2","zeroResult"],["Divisible","Divisor"]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is equal to 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Double,"Result of checking.",[Ae.b.Double,Ae.b.Double],["value1","value2"],["Divisible","Divisor"]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Double,"Result of checking.",[Ae.b.Double,Ae.b.Double,Ae.b.Double],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Decimal,"Result of checking.",[Ae.b.Decimal,Ae.b.Decimal],["value1","value2"],["Divisible","Divisor"]),Ae.am.StiFunctions.addFunction("Math","","Div","Returns result of dividing value1 and value2. If value2 is zero, then result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Decimal,"Result of checking.",[Ae.b.Decimal,Ae.b.Decimal,Ae.b.Decimal],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),Ae.am.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of an integer.","System.Math",Ae.b.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[Ae.b.Int64],["value"],["integer."]),Ae.am.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a decimal number.","System.Math",Ae.b.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[Ae.b.Decimal],["value"],["A decimal number."]),Ae.am.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a floating-point number.","System.Math",Ae.b.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[Ae.b.Double],["value"],["A floating-point number."]),Ae.am.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",Ae.b.Decimal,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other is odd, then the even number is returned.",[Ae.b.Decimal],["value"],["A decimal number to be rounded."]),Ae.am.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",Ae.b.Decimal,"The number nearest to a value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of value is less than decimals, then value is returned unchanged.",[Ae.b.Decimal,Ae.b.Int32],["value","decimals"],["A decimal number to be rounded.","The number of significant decimal places (precision) in the return value."]),Ae.am.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",Ae.b.Double,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other odd, then the even number is returned.",[Ae.b.Double],["value"],["A floating-point number to be rounded."]),Ae.am.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",Ae.b.Double,"The number nearest value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of a value is less than decimals, then the value is returned unchanged.",[Ae.b.Double,Ae.b.Int32],["value","decimals"],["A floating-point number to be rounded.","The number of significant decimal places (precision) in the return value."]),Ae.am.StiFunctions.addFunction("Math","","Truncate","Calculates an integral part of the specified decimal number.","System.Math",Ae.b.Decimal,"The integral part of a value; that is, the number that remains after any fractional digits have been discarded.",[Ae.b.Decimal],["value"],["A number to truncate."]),Ae.am.StiFunctions.addFunction("Math","","Truncate","Calculates the integral part of a specified floating-point number.","System.Math",Ae.b.Double,"An integral part of a value; that is, the number that remains after any fractional digits were discarded.",[Ae.b.Double],["value"],["A number to truncate."]),Ae.am.StiFunctions.addFunction("Math","","Sin","Returns the sine of the specified angle.","System.Math",Ae.b.Double,"The sine of an angle.",[Ae.b.Double],["angle"],["angle, measured in radians."]),Ae.am.StiFunctions.addFunction("Math","","Cos","Returns the cosine of the specified angle.","System.Math",Ae.b.Double,"The cosine of an angle.",[Ae.b.Double],["angle"],["angle, measured in radians."]),Ae.am.StiFunctions.addFunction("Math","","Tan","Returns the tangent of the specified angle.","System.Math",Ae.b.Double,"The tangent of an angle.",[Ae.b.Double],["angle"],["angle, measured in radians."]),Ae.am.StiFunctions.addFunction("Math","","Acos","Returns an angle which cosine is the specified number.","System.Math",Ae.b.Double,"An angle, measured in radians.",[Ae.b.Double],["value"],["A number representing a cosine."]),Ae.am.StiFunctions.addFunction("Math","","Asin","Returns the angle which sine is the specified number.","System.Math",Ae.b.Double,"An angle, measured in radians.",[Ae.b.Double],["value"],["A number representing a sine."]),Ae.am.StiFunctions.addFunction("Math","","Atan","Returns the angle which tangent is the specified number.","System.Math",Ae.b.Double,"An angle, measured in radians.",[Ae.b.Double],["value"],["A number representing a tangent."]),Ae.am.StiFunctions.addFunction("Math","","Sqrt","Returns the square root of a specified number.","System.Math",Ae.b.Double,"Return the positive square root of value.",[Ae.b.Double],["value"],["A number."]),Ae.am.StiFunctions.addFunction("Math","","Exp","Returns e raised to the specified power.","System.Math",Ae.b.Double,"The number e raised to the power value.",[Ae.b.Int64],["value"],["A number specifying a power."]),Ae.am.StiFunctions.addFunction("Math","","Log","Returns the natural (base e) logarithm of a specified number.","System.Math",Ae.b.Double,"Returns the natural logarithm of a value.",[Ae.b.Double],["value"],["A number which logarithm is to be found."]),Ae.am.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Double,"Parameter val1 or val2, whichever is larger.",[Ae.b.Double,Ae.b.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Decimal,"Parameter val1 or val2, whichever is larger.",[Ae.b.Decimal,Ae.b.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two integers numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Int64,"Parameter val1 or val2, whichever is larger.",[Ae.b.Int64,Ae.b.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Double,"Parameter val1 or val2, whichever is smaller.",[Ae.b.Double,Ae.b.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Decimal,"Parameter val1 or val2, whichever is smaller.",[Ae.b.Decimal,Ae.b.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two integer numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Int64,"Parameter val1 or val2, whichever is smaller.",[Ae.b.Int64,Ae.b.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),Ae.am.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater than or equal to the specified floating-point number.","Stimulsoft.Report.Dictionary.StiFunctionsMath",Ae.b.Double,"The smallest integer greater or equal to value.",[Ae.b.Double],["value"],["A floating-point number. "]),Ae.am.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater or equal to the specified decimal number.","System.Math",Ae.b.Decimal,"The smallest integer greater or equal to value.",[Ae.b.Decimal],["value"],["A decimal number."]),Ae.am.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified floating-point number.","System.Math",Ae.b.Double,"The largest integer less or equal to value.",[Ae.b.Double],["value"],["A floating-point number. "]),Ae.am.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified decimal number.","System.Math",Ae.b.Decimal,"The largest integer less or equal to d.",[Ae.b.Decimal],["value"],["A decimal number."]),t.isCreated=!0)}};t.isCreated=!1,Ae.am.StiFunctionsMath=t}{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Print State","","IsNull","Returns true if the specified row value is equal to null or DBNull.Value.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["Data Source for processing.","Name of Data Column."]),Ae.am.StiFunctions.addFunction("Print State","","NextIsNull","Returns true if the next row value is equal to null or DBNull.Value. If the next row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","Name of the Data Column."]),Ae.am.StiFunctions.addFunction("Print State","","PreviousIsNull","Returns true if the previous row value is equal to null or DBNull.Value. If the previous row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),Ae.am.StiFunctions.addFunction("Print State","","Previous","Returns a value of the specified field in the previous entry. If the previous row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),Ae.am.StiFunctions.addFunction("Print State","","Next","Returns a value of the specified field in the previous entry. If the next row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),t.isCreated=!0)}static isNull(t,e){let r=t;var i;if(null!=r)return null==r.getData(e);return!0}static next(t,e){let r=t;var t="*nextFunction*";null!=r&&r.saveState(t);let i=null;try{if(null!=r){if(r.next(),r.isEof)return null;i=r.getData(e)}}finally{null!=r&&r.restoreState(t)}return i}static nextIsNull(t,e){var r;return null==this.next(t,e)}static previous(t,e){let r=t;var t="*prevFunction*";null!=r&&r.saveState(t);let i=null;try{if(null!=r){if(r.prior(),r.isBof)return null;i=r.getData(e)}}finally{null!=r&&r.restoreState(t)}return i}static previousIsNull(t,e){var r;return null==this.previous(t,e)}};t.isCreated=!1,Ae.am.StiFunctionsPrintState=t}{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Programming","","Choose","Choose returns a value from the list of choices based on the value of index.","Stimulsoft.Report.Dictionary.StiFunctionsProgramming",Object,"A value from the given list of choices.",[Object],["index, choice1, choice2, ..."],["The index is a number that specifies the index of the choice. It should be between 1 and the number of available choices. If it is out of bounds, Choose returns null."]),Ae.am.StiFunctions.addFunction("Programming","","Switch","The Switch evaluates the expressions from left to right, and returns the value associated with the first expression to evaluate to True. If all of the expressions are False, then Switch returns null.","Stimulsoft.Report.Dictionary.StiFunctionsProgramming",Object,"One of the values in the value list value1, value2, and so on.",[Object],["condition1, value1, condition2, value2, ..."],["Condition1, condition2, and so on are Boolean expressions. value1, value2, and so on are the possible values that may be returned."]),Ae.am.StiFunctions.addFunction("Programming","","IIF","Returns one of two parts, depending on the evaluation of the expression.","IsNull",Object,"truePart if an expression is True and falsePart if an expression is False.",[Boolean,Object,Object],["condition","truePart","falsePart"],["A Boolean expression.","A value is returned if an expression is True.","A value is returned if an expression is False."]),t.isCreated=!0)}};t.isCreated=!1,Ae.am.StiFunctionsProgramming=t}let $S=Ae.d.StringExt;{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Strings","","Length","Returns the number of characters of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Ae.b.Int32,"A number of characters.",[String],["str"],["The Text String."]),Ae.am.StiFunctions.addFunction("Strings","","Trim","Removes all occurrences of white space characters from the beginning and end of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String after white space characters are removed.",[String],["str"],["The Text String."]),Ae.am.StiFunctions.addFunction("Strings","","ToLowerCase","Returns a string converted to lowercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the lowercase.",[String],["str"],["The Text String."]),Ae.am.StiFunctions.addFunction("Strings","","ToUpperCase","Returns a string converted to uppercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the uppercase.",[String],["str"],["The Text String."]),Ae.am.StiFunctions.addFunction("Strings","","ToProperCase","Capitalizes the first letter of each word in the string and converts all other letters to lower case.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A converted String.",[String],["str"],["The Text String."]),Ae.am.StiFunctions.addFunction("Strings","","Substring","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,Ae.b.Int32,Ae.b.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),Ae.am.StiFunctions.addFunction("Strings","","Mid","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,Ae.b.Int32,Ae.b.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),Ae.am.StiFunctions.addFunction("Strings","","Left","Returns a string containing a specified number of characters from the left side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the left side of a string, or Empty if length is zero.",[String,Ae.b.Int32],["str","length"],["Text String.","The number of characters in the subString."]),Ae.am.StiFunctions.addFunction("Strings","","Right","Returns a string containing a specified number of characters from the right side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the right side of a string, or Empty if length is zero.",[String,Ae.b.Int32],["str","length"],["Text String.","The number of characters in the subString."]),Ae.am.StiFunctions.addFunction("Strings","","Roman","Converts an Arabic numeral to a Roman numeral, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the roman numeral representation of value.",[Ae.b.Int32],["value"],["Arabic numeral to be converted."]),Ae.am.StiFunctions.addFunction("Strings","","Arabic","Converts Number to Arabic numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the arabic numeral representation of value.",[Ae.b.Int32],["value"],["Number to be converted."]),Ae.am.StiFunctions.addFunction("Strings","","Arabic","Converts all digits in string to Arabic digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with arabic digits.",[String],["value"],["String to be converted."]),Ae.am.StiFunctions.addFunction("Strings","","Persian","Converts Number to Persian numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the persian numeral representation of value.",[Ae.b.Int32],["value"],["Number to be converted."]),Ae.am.StiFunctions.addFunction("Strings","","Persian","Converts all digits in string to Persian digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with persian digits.",[String],["value"],["String to be converted."]),Ae.am.StiFunctions.addFunction("Strings","","Replace","Replaces all occurrences of a specified string in the specified instance, with another specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string equivalent to specified string but with all instances of an oldValue replaced with a newValue.",[String,String,String],["str","oldValue","newValue"],["A string to be processed.","A string to be replaced.","A string to replace all occurrences of oldValue."]),Ae.am.StiFunctions.addFunction("Strings","","Remove","Deletes a specified number of characters from this instance beginning at a specified position.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string that is equivalent to the specified string less count number of characters.",[String,Ae.b.Int32,Ae.b.Int32],["str","startIndex","count"],["A string to be processed.","The position to begin deleting characters. ","The number of characters to delete."]),Ae.am.StiFunctions.addFunction("Strings","","Insert","Inserts a specified instance of a string to the specified index position in the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string equivalent to the specified string but with value inserted at the startIndex position.",[String,Ae.b.Int32,String],["str","startIndex","value"],["A string to be processed.","The index position of the insertion.","The String to insert."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[Ae.b.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[Ae.b.DateTime],["value"],["A value containing a datetime to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with cents.",[Ae.b.Int64],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with or without cents with the first symbol in the uppercase.",[Ae.b.Int64,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with cents.",[Ae.b.Decimal],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with cents.",[Ae.b.Double],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase.",[Ae.b.Double,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),Ae.am.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase. Names of cents and dollars of the currency is to be specified in the dollars and cents parameters.",[Ae.b.Double,Boolean,Boolean,String,String],["value","upperCase","showCents","dollars","cents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String.",'A string in format "dollar/ dollars" ("pound/ pounds"), etc.','A string in format "cent/ cents" ("penny/ pence"), etc.']),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[Ae.b.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[Ae.b.DateTime],["value"],["A value containing a datetime to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[Ae.b.Int64],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[Ae.b.Decimal],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[Ae.b.Double],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float- point value with the first symbol in the uppercase.",[Ae.b.Double,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value.",[Ae.b.Int64],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value.",[Ae.b.Double],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[Ae.b.Decimal],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[Ae.b.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[Ae.b.DateTime],["value"],["A value containing a datetime to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[Ae.b.Int64],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[Ae.b.Decimal],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[Ae.b.Double],["value"],["A value containing a currency to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Double,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[Ae.b.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPtBr","Converts the specified value to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Decimal],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrPt","Converts the specified value: DateTime to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[Ae.b.DateTime],["value"],["A value containing a datetime to convert."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrPtBr","Converts the specified value: DateTime to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[Ae.b.DateTime],["value"],["A value containing a datetime to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsFr","Converts the specified value to its equivalent string representation in French (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Ae.b.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Ae.b.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("USD", "EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean,Boolean],["value","upperCase","female"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then the female form will be used."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsNl","Converts the specified value to its equivalent string representation in Dutch (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Ae.b.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnGb","Converts the specified value to its equivalent string representation in English (United Kingdom) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Ae.b.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsFa","Converts the specified value to its equivalent string representation in Persian (Farsi) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the value: number.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsPl","Converts the specified value to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","DateToStr","DateToStrPl","Converts the specified value: DateTime to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[Ae.b.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPl","Converts the specified value to its equivalent string representation with using specified currency in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[Ae.b.Decimal,String,Boolean,Boolean],["value","currencyISO","showCents","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "USD", "EUR", "PLN".',"If this parameter is true then cents of the value will be added to the resulting String.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","ToWords","ToWordsEnIn","Converts the specified value to its equivalent string representation in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value.",[Ae.b.Int64,Boolean],["value","blankIfZero"],["A value containing a number to convert.","If this parameter is true and the value to convert is zero then return a empty String."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnIn","Converts the specified value to its equivalent string representation with using specified currency in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value.",[String,String,Ae.b.Decimal,Ae.b.Int32,Boolean],["currencyBasicUnit","currencyFractionalUnit","value","decimalPlaces","blankIfZero"],['The basic unit of the currency ("Rupees").','The fractional unit of the currency ("paisa").',"A value containing a currency to convert.","The number of decimal places to use while converting.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),Ae.am.StiFunctions.addFunction("Strings","StrToDateTime","StrToDateTime","Converts the object representation of a date to its DateTime equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Ae.b.DateTime,"Returns the converted DateTime value.",[String],["value"],["An object containing the value to convert."]),Ae.am.StiFunctions.addFunction("Strings","StrToDateTime","StrToNullableDateTime","Converts the object representation of a date to its DateTime equivalent or to null.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Ae.b.DateTime,"Returns the converted DateTime value, if value was converted successfully; otherwise, null.",[String],["value"],["An object containing the value to convert."]),Ae.am.StiFunctions.addFunction("Strings","","TryParseDateTime","Converts the object representation of a date to its DateTime equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing the value to convert."]),Ae.am.StiFunctions.addFunction("Strings","","TryParseDecimal","Converts the object representation of a number to its Decimal equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing the value to convert."]),Ae.am.StiFunctions.addFunction("Strings","","TryParseDouble","Converts the object representation of a number to its double-precision floating-point number equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","","TryParseLong","Converts the object representation of a number to its 64-bit signed integer equivalent","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","","ToOrdinal","Converts the specified value to its ordinal representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A value containing an ordinal representation of the number.",[Ae.b.Int64],["value"],["An object containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsZh","Converts the specified value to its equivalent string representation in Chinese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),Ae.am.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsAr","Converts the specified value to its equivalent string representation in Arabic language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[Ae.b.Int64],["value"],["A value containing a number to convert."]),t.isCreated=!0)}static toProperCase(t){if(null==t||t==No.value)return"";return t.toLowerCase().replace(/(^|[\s\xA0])[^\s\xA0]/g,t=>t.toUpperCase())}static substring(t,e,r){if(null==t||t==No.value)return"";let i=t.toString();if(e+r>=i.length)return i.substr(e);return i.substr(e,r)}static left(t,e){if(null==t||t==No.value)return"";let r=t.toString();if(e>=r.length)return r;return r.substr(0,e)}static right(t,e){if(null==t||t==No.value)return"";let r=t.toString();if(e>=r.length)return r;return r.substr(r.length-e,e)}static mid(t,e,r){return this.substring(t,e,r)}static roman(t){return Ae.av.Convert.toRoman(t)}static abc(t){return Ae.av.Convert.toABC(+t)}static arabic(t){return Ae.av.Convert.toArabic(t,!1)}static persian(t){return Ae.av.Convert.toArabic(t,!0)}static toWords(t,e=null,r=null){return Ae.av.En.numToStr(t,e)}static dateToStr(t,e=null){return Ae.av.En.dateToStr(t,e)}static toCurrencyWords(t,e,r,i="dollar/dollars",n="cent/cents"){return Ae.av.En.currToStr(t,e,r,i,n)}static toCurrencyWords2(t,e=null,r=null,i=null,n=null){return"EN only implemented"}static toOrdinal(t){var e=t.toString();if(t<1)return e;if(11<=(t%=100)&&t<=13)return e+"th";switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}static toWordsRu(t,e=!0){return Ae.av.Ru.numToStr(t,e)}static strToDateTime(t){var e={ref:null};return $S.tryParseDateTime(t,e)?e.ref:z.now}static strToNullableDateTime(t){var e={ref:null};return $S.tryParseDateTime(t,e)?e.ref:null}static dateToStrRu(t,e=!1){return Ae.av.Ru.dateToStr(t,e)}static toCurrencyWordsRu(t,e=!0,r="RUR",i=!0){return Ae.av.Ru.currToStr(t,e,r,i)}static toCurrencyWordsThai(t){return this.SP_STRtNumToMny(t)}static SP_STRtNumToMny(t){let e="";var r="",i=null;let n="",a="",s="",o="";if(o=Ne.round2(t,2).toString(),1<(i=o.split(".")).length-1)return"";if(r=i[0],0<i.length-1&&(e=i[1],2<e.length))return"";if(n=De.isNullOrEmpty(r)?this.tC_0:this.SP_XCGtNumToMny(r),De.isNullOrEmpty(e))a=this.tC_0;else{switch(e.length){case 1:e+="0";break;case 2:break;default:e=e.stimulsoft().remove(2);break}a=this.SP_XCGtNumToMny(e)}return n==this.tC_0&&a==this.tC_0?s=n+this.tC_Baht+this.tC_Complete:n==this.tC_0&&a!=this.tC_0?s=a+this.tC_Satang:n!=this.tC_0&&a==this.tC_0?s=n+this.tC_Baht+this.tC_Complete:n!=this.tC_0&&a!=this.tC_0&&(s=n+this.tC_Baht+a+this.tC_Satang),s}static SP_XCGtNumToMny(t){let e=t;if(De.isNullOrEmpty(t))return"";while("0"==e[0]&&1<e.length)e=e.stimulsoft().remove(1,1);e=this.reverseString(e);let r=0,i="";var n=e;for(r=0;r<=n.length-1;r++){let t="",e="";var a=0,a=r%6;switch(n[r]){case"0":e="";break;case"1":switch(a){case 0:e=n.length%6==0&&r==n.length-1?this.tC_1:this.tC_01;break;case 1:e=this.tC_10;break;default:e=this.tC_1;break}break;case"2":switch(a){case 1:e=this.tC_20;break;default:e=this.tC_2;break}break;case"3":e=this.tC_3;break;case"4":e=this.tC_4;break;case"5":e=this.tC_5;break;case"6":e=this.tC_6;break;case"7":e=this.tC_7;break;case"8":e=this.tC_8;break;case"9":e=this.tC_9;break}if(!De.isNullOrEmpty(e)||r%6==0)switch(a){case 0:t=r/6<=0?"":this.tC_1000000;break;case 1:t=e==this.tC_10?"":this.tC_10;break;case 2:t=this.tC_100;break;case 3:t=this.tC_1000;break;case 4:t=this.tC_10000;break;case 5:t=this.tC_100000;break}i=e+t+i}return De.isNullOrEmpty(i)&&(i=this.tC_0),i}static reverseString(t){let e=t.split("");return ke.reverse(e),e.join("")}static toWordsUa(t,e=!0,r=Ae.av.Gender.Masculine){return Ae.av.Ua.numToStr(t,e,r)}static dateToStrUa(t,e=!1){return Ae.av.Ua.dateToStr(t,e)}static toCurrencyWordsUa(t,e=!0,r="UAH",i=!0){return Ae.av.Ua.currToStr(t,e,r,i)}static toWordsPt(t,e){return Ae.av.Pt.numToStr(t,e)}static toCurrencyWordsPt(t,e,r){return Ae.av.Pt.currToStr(t,e,r)}static toCurrencyWordsPtBr(t){return Ae.av.PtBr.numToStr(t)}static DateToStrPt(t){return Ae.av.Pt.dateToStr(t)}static dateToStrPtBr(t){return Ae.av.Pt.dateToStr(t).toLowerCase()}static toCurrencyWordsFr(t,e,r){return Ae.av.Fr.convertToWord(t,e,r)}static toCurrencyWordsEs(t,e,r){return Ae.av.Es.convertToWord(t,e,r)}static toWordsEs(t,e){return Ae.av.Es.numToStr(t,e)}static toWordsEs2(t,e,r){return Ae.av.Es.numToStr2(t,e,r)}static toCurrencyWordsNl(t,e,r){return Ae.av.Nl.convertToWord(t,e,r)}static toCurrencyWordsEnGb(t,e,r){return Ae.av.EnGb.convertToWord(t,e,r)}static toWordsPl(t,e){return Ae.av.Pl.numToStr(t,e)}static dateToStrPl(t,e){return Ae.av.Pl.dateToStr(t,e)}static toCurrencyWordsPl(t,e,r,i){return Ae.av.Pl.currToStr(t,e,r,i)}static toWordsEnIn(t,e){return Ae.av.EnIn.numberToStr(t,e)}static toCurrencyWordsEnIn(t,e,r,i,n=!1){return Ae.av.EnIn.currencyToStr(t,e,r,i,n)}static toWordsFa(t){return Ae.av.Fa.convertToWord(t)}static toWordsZh(t){return Ae.av.Zh.toWordsZh(t)}static toCurrencyWordsZh(t){return Ae.av.Zh.toCurrencyWordsZh(t)}static toWordsTr(t){return Ae.av.Tr.numToStr(t)}static toCurrencyWordsTr(t){return Ae.av.Tr.currToStr(t)}static toCurrencyWordsTr2(t,e,r){return Ae.av.Tr.currToStr(t,e,r)}static toWordsAr(t){return Ae.av.Ar.numToStr(t,"","").trim()}static toCurrencyWordsAr(t,e,r){return Ae.av.Ar.numToStr(t,e,r)}};t.isCreated=!1,t.tC_0="ศูนย์",t.tC_1="หนึ่ง",t.tC_2="สอง",t.tC_3="สาม",t.tC_4="สี่",t.tC_5="ห้า",t.tC_6="หก",t.tC_7="เจ็ด",t.tC_8="แปด",t.tC_9="เก้า",t.tC_01="เอ็ด",t.tC_10="สิบ",t.tC_20="ยี่",t.tC_100="ร้อย",t.tC_1000="พัน",t.tC_10000="หมื่น",t.tC_100000="แสน",t.tC_1000000="ล้าน",t.tC_Baht="บาท",t.tC_Satang="สตางค์",t.tC_Complete="ถ้วน",Ae.am.StiFunctionsStrings=t}{let t=class{static create(){0==t.isCreated&&(Ae.am.StiFunctions.addFunction("Totals","Max","Max","Function returns the largest value in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["Expression - can be a decimal field in the data souce or formula which returns decimal number."]),Ae.am.StiFunctions.addFunction("Totals","Max","Max","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxD","Function returns the largest value in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxD","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.DateTime,"A DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",Ae.b.TimeSpan,"A TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxStr","The function adds string values and sorts them alphabetically. Then returns the bottom value from the sorted list.","IsNull",String,"A string.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Max","MaxStr","The function adds string values and sorts them alphabetically. Then returns the bottom value from the sorted list.","IsNull",String,"A string.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["The DataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinI","Function returns the lowest value in the column or expression.","IsNull",Ae.b.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinI","A function returns the lowest value in the column or expression.","IsNull",Ae.b.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",Ae.b.DateTime,"The DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",Ae.b.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",Ae.b.TimeSpan,"The TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",Ae.b.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinStr","A function adds string values and sorts them alphabetically. Then returns the top value from the sorted list.","IsNull",String,"The string.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Min","MinStr","A function adds string values and sorts them alphabetically. Then returns the top value from the sorted list.","IsNull",String,"The string.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",Ae.b.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object,Object],["dataSource","conditionExpression","sumExpression"],["The Data Source for processing.","A condition expression to perform summing on.","An expression to sum up."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",Ae.b.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","ModeD","A Function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","ModeD","A function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",Ae.b.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","First","First","A function returns the first value in a set of the given values in the specified column or expression.","IsNull",Object,"A first value in a set of the given values.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","First","First","A function returns the first value in a set of the given values in the specified column or expression.","IsNull",Object,"The first value in a set of given values.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Last","Last","A function returns the last value in a set of given values in the specified column or expression.","IsNull",Object,"A first value in a set of the given values.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Last","Last","A function returns the last value in a set of given values in the specified column or expression.","IsNull",Object,"The first value in a set of given values.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",Ae.b.Int64,"An integer number.",[Object],["dataSource"],["The Data Source for processing."]),Ae.am.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",Ae.b.Int64,"An integer number."),Ae.am.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",Ae.b.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",Ae.b.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),Ae.am.StiFunctions.addFunction("Totals","Rank","Rank","A function returns a rank of the number in the list of numbers from the specified data source. Works only with 'Totals' prefix.","IsNull",Ae.b.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the calculation."]),Ae.am.StiFunctions.addFunction("Totals","Rank","Rank","A function returns a rank of the number in the list of numbers from the specified data source. Works only with 'Totals' prefix.","IsNull",Ae.b.Int64,"An integer number.",[Object,Object,Boolean,Object],["dataSource","expression","dense","sortOrder"],["The Data Source for processing.","An expression on what to perform the calculation.","Use dense rank mode.","Sorting order."]),t.isCreated=!0)}};t.isCreated=!1,Ae.am.StiFunctionsTotals=t}Ae.aq.IStiReportProperty=new Ae.b.Interface("IStiReportProperty");{let r=class{constructor(t,e){this.dataBand=t,this.band=e}};Ae.aq.StiBandsOnAllPages=class{constructor(t){this.bands=[],this.engine=null,this._denyRendering=!1,this.engine=t}get denyRendering(){return this._denyRendering}set denyRendering(t){this._denyRendering=t}add(t,e){this.bands.push(new r(t,e))}remove(t){let e=0;while(e<this.bands.length){var r;this.bands[e].dataBand==t?this.bands.stimulsoft().removeAt(e):e++}}allowRenderBand(t){if(0==this.engine.bandsInProgress.length)return!0;let e=this.engine.bandsInProgress[this.engine.bandsInProgress.length-1];if(t==e&&!t.is(Ru))return!1;if(e.is(Au)&&t.is(Au)){if(e.getDataBand()!=t.getDataBand())return!0;var r=t.parent.components.indexOf(t),i;if(t.parent.components.indexOf(e)<r)return!1}return!0}getBandsList(){let t=[];for(var e of this.bands)t.push(e.band);return t}renderAsync(){return Y.tsfb(this,void 0,void 0,function*(){if(this.denyRendering)return;var t=this.denyRendering,r;this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0;for(r of this.bands){let e=r.band;if(!this.allowRenderBand(e))continue;let t=yield this.renderBandAsync(e,!0,!1);if(null!=t)for(var i of t.toCast())if(null!=i.containerInfo.parentBand){i.containerInfo.isAutoRendered=!0;let t=!e.is(Ru)||!e.printOnAllPages;e.is(Jl)&&(t=!1),t&&this.engine.printOnAllPagesIgnoreList.set(i.containerInfo.parentBand,i.containerInfo.parentBand)}}this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=t})}render(){if(this.denyRendering)return;var t=this.denyRendering,r;this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0;for(r of this.bands){let e=r.band;if(!this.allowRenderBand(e))continue;let t=this.renderBand(e,!0,!1);if(null!=t)for(var i of t.toCast())if(null!=i.containerInfo.parentBand){i.containerInfo.isAutoRendered=!0;let t=!e.is(Ru)||!e.printOnAllPages;e.is(Jl)&&(t=!1),t&&this.engine.printOnAllPagesIgnoreList.set(i.containerInfo.parentBand,i.containerInfo.parentBand)}}this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=t}renderBandAsync(s,o,l){return Y.tsfb(this,void 0,void 0,function*(){if(!s.is(Ru))return yield this.engine.renderBandAsync(s,o,l);{let r=new Eu,i=s;i.saveState("TreeBandPrintOnAllPages");var t=i.printOnAllPages,e,n;i.printOnAllPages=!1;try{let e=[];i.brush=new si(Fe.green);let t=i.dataSource.getLevel();i.prior();while(0<=t&&!i.isBof){var a=i.dataSource.getLevel();t>a&&(e.push(i.position),t=a),i.prior()}for(let t=e.length-1;0<=t;t--){i.position=e[t];for(n of(yield this.engine.renderBandAsync(i,o,l)).list)r.add(n)}return i.brush=new si(Fe.transparent),i.restoreState("TreeBandPrintOnAllPages"),r}finally{i.printOnAllPages=t}}})}renderBand(t,n,a){if(!t.is(Ru))return this.engine.renderBand(t,n,a);{let r=new Eu,i=t;i.saveState("TreeBandPrintOnAllPages");var t=i.printOnAllPages,e,s;i.printOnAllPages=!1;try{let e=[];i.brush=new si(Fe.green);let t=i.dataSource.getLevel();i.prior();while(0<=t&&!i.isBof){var o=i.dataSource.getLevel();t>o&&(e.push(i.position),t=o),i.prior()}for(let t=e.length-1;0<=t;t--){i.position=e[t];for(s of this.engine.renderBand(i,n,a).list)r.add(s)}return i.brush=new si(Fe.transparent),i.restoreState("TreeBandPrintOnAllPages"),r}finally{i.printOnAllPages=t}}}isBandInBandsList(t){if(null!=t)for(var e of this.bands)if(e.band==t)return!0;return!1}}}Ae.aq.StiBreakableHelper=class{constructor(t){this.engine=null,this.engine=t}isCanBreak(t){let e=null==t.containerInfo.parentBand?null:t.containerInfo.parentBand.as(Ae.ap.IStiBreakable);if(null!=e&&e.canBreak)return!0;if(e=t.as(Ae.ap.IStiBreakable),null!=e&&e.canBreak)return!0;return!1}isNeedBreak(t){var e=this.engine.containerForRender?this.engine.containerForRender.as(Kl):null;if(null!=e&&e.unlimitedHeight&&!e.unlimitedBreakable&&(null==t.containerInfo||null==t.containerInfo.parentBand||!t.containerInfo.parentBand.components.toList().exists(t=>t.is(bu))))return!1;if(t.height>this.engine.freeSpace&&this.isCanBreak(t))return!0;return!1}breakAsync(a){var s;return Y.tsfb(this,void 0,void 0,function*(){var t=a.containerInfo,e;let r=a.height;for(e of a.components.list)r=Math.min(r,e.top);var i=a.components.count;let n=ps.breakContainer(this.engine.freeSpace,a);n.containerInfo.ignoreResetPageNumber=!0;var i=0==r&&0<i&&0==a.components.count;return!i||null==a.containerInfo||null==a.containerInfo.dataSourceRow&&null==a.containerInfo.businessObjectCurrent?n.name="Continued":n.name="Continued_"+a.name,n.height-=a.height,i||null==a.containerInfo||null==a.containerInfo.dataSourceRow&&null==a.containerInfo.businessObjectCurrent?a.name="Breaked":a.name="Breaked_"+a.name,null!==(s=t.parentBand)&&void 0!==s&&s.is(Ae.ap.StiTableOfContents)&&(a.name=t.parentBand.name),a.height=this.engine.freeSpace,i||(this.engine.freeSpace+=a.height,yield this.engine.renderContainerAsync(a),this.engine.freeSpace-=a.height),yield this.engine.newDestinationAsync(!i),n.canGrow=!0,Wl.checkSize(n),n})}break(t){var e,r=t.containerInfo,i;let n=t.height;for(i of t.components.list)n=Math.min(n,i.top);var e=t.components.count;let a=ps.breakContainer(this.engine.freeSpace,t);a.containerInfo.ignoreResetPageNumber=!0;var s=0==n&&0<e&&0==t.components.count;return!s||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?a.name="Continued":a.name="Continued_"+t.name,a.height-=t.height,s||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?t.name="Breaked":t.name="Breaked_"+t.name,null!==(e=r.parentBand)&&void 0!==e&&e.is(Ae.ap.StiTableOfContents)&&(t.name=r.parentBand.name),t.height=this.engine.freeSpace,s||(this.engine.freeSpace+=t.height,this.engine.renderContainer(t),this.engine.freeSpace-=t.height),this.engine.newDestination(!s),a.canGrow=!0,Wl.checkSize(a),a}setCanBreak(r){r.canBreak=!0;let i=0;while(i<r.components.count){let e=r.components.getByIndex(i),t=e.as(Ae.ap.IStiBreakable);if(null!=t){if(!t.canBreak&&null!=this.engine&&null!=this.engine.report){let t=this.engine.report.getComponents().getByName(e.name);t=null!=t?t.as(gl):null,null!=t&&t.properties==e.properties&&null!=e.properties&&(e.properties=e.properties.clone())}t.canBreak=!0}var n=null!=e?e.as(Ql):null;null!=n&&this.setCanBreak(n),i++}}processBreakableAsync(i){return Y.tsfb(this,void 0,void 0,function*(){if(this.engine.isCrossBandsMode)return i;let t=!1;while(this.isNeedBreak(i)){var e;if(i.height==(i=yield this.breakAsync(i)).height){var r=ps.breakContainer(this.engine.freeSpace,i.clone());if(Wl.checkSize(r),i.height==r.height){if(t)break;this.setCanBreak(i),t=!0}}}return i})}processBreakable(t){if(this.engine.isCrossBandsMode)return t;let e=!1;while(this.isNeedBreak(t)){var r;if(t.height==(t=this.break(t)).height){var i=ps.breakContainer(this.engine.freeSpace,t.clone());if(Wl.checkSize(i),t.height==i.height){if(e)break;this.setCanBreak(t),e=!0}}}return t}};let tb=Ae.ap.StiColumnDirection;Ae.aq.StiColumnsContainer=class extends Ql{constructor(t=null){super(),this.countOfItems=0,this.columns=0,this.columnWidth=0,this.columnGaps=0,this.columnDirection=tb.AcrossThenDown,this.rightToLeft=!1,this.minRowsInColumn=0,this.engine=null,this.engine=t}addContainer(t){if(this.components.add(t),t.is(Ae.aq.StiLevelContainer))return;this.countOfItems++}howMuchAdditionalSpaceNeeded(t,e){this.countOfItems++,this.components.add(e);var r=this.finishColumns(!0);return this.components.remove(e),this.countOfItems--,Math.max(r-t,0)}finishColumns(l=!1){let u=0,h=1;var c=this.columns,d=this.columnWidth,m=this.columnGaps,p=d+m,r;if(this.columnDirection==tb.AcrossThenDown){let e=0,t=0,i=0;for(var n of this.components.list){if(n.is(Ae.aq.StiLevelContainer))e++,i++;else{null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable&&(r=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom,(this.top+u)/r!=(this.top+u+n.height)/r&&(u+=r-(this.top+u)%r));let t=0;t=this.rightToLeft?n.parent.width-p*h+m:p*(h-1),n.left=t,n.width=t-n.left+d,n.top=u,e++,i++,h++}if(h>c||e==this.components.count){let r=0;for(let e=t;e<i;e++){let t=this.components.getByIndex(e);if(t.is2(Ae.aq.StiLevelContainer))continue;r=Math.max(t.height,r)}if(!l)for(let e=t;e<i;e++){let t=this.components.getByIndex(e);if(t.is2(Ae.aq.StiLevelContainer))continue;for(var a of t.components.list)a.bottom==t.height&&(a.height=r-a.top);t.height=r}u+=r,h=1,t=e,i=e}}}else{let e=new Array(c),r=Ne.trunc(this.countOfItems/c);var t=Math.min(this.minRowsInColumn,this.countOfItems),g,f,S;0<t&&(r=Math.max(t,r));for(let t=0;t<c;t++)e[t]=r;if(0<this.minRowsInColumn){if(t<=r){r=this.countOfItems-r*c;for(let t=0;t<r;t++)e[t]++}}else if(0<this.countOfItems-r*c){r++;for(let t=0;t<c;t++)e[t]=r}let i=0,a=0,s=new Array(c);for(let t=0;t<c;t++)s[t]=[];let n=-1,o=!1;for(f of this.components.list){if(f.is(Ae.aq.StiLevelContainer))continue;o||(-1==n?n=f.height:n!=f.height&&(o=!0)),i++,i>e[h-1]&&(i=1,h++,a=0),null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable&&(S=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom,(this.top+a)/S!=(this.top+a+f.height)/S&&(a+=S-(this.top+a)%S));let t=0;t=this.rightToLeft?f.parent.width-p*h+m:p*(h-1),f.left=t,f.width=t-f.left+d,f.top=a,a+=f.height,u=Math.max(u,a),s[h-1].push(f)}if(o){let e=0;for(let t=0;t<c;t++){var b=s[t];e=Math.max(b.length,e)}let n=new Dt;for(let i=0;i<e;i++){let r=0;for(let e=0;e<c;e++)if(s[e].length>i){let t=s[e][i];if(t.is2(Ae.aq.StiLevelContainer))continue;r=Math.max(r,t.height)}for(let e=0;e<c;e++)if(s[e].length>i){let t=s[e][i];if(t.is2(Ae.aq.StiLevelContainer))continue;if(t.height!=r&&!l)for(var y of t.components.list)y.bottom==t.height&&(y.height=r-y.top);l?n.set(t,r):t.height=r}}for(let t=u=0;t<c;t++){a=0;for(var v of s[t]){if(v.is2(Ae.aq.StiLevelContainer))continue;v.top=a;var v=l?n.get(v):v.height;a+=v}u=Math.max(u,a)}}}return u}getCurrentColumn(){if(this.columnDirection==tb.DownThenAcross)return 1;var t=Ne.trunc(this.countOfItems/this.columns),e;return Ne.trunc(this.countOfItems-t*this.columns+1)}getLengthOfLastRow(){var t=this.countOfItems,e,r=t/this.columns*this.columns;return t==r?this.columns:t-r}},Ae.aq.StiColumnsOnDataBand=class{constructor(t){this.engine=null,this._enabled=!1,this.engine=t}get enabled(){return this._enabled}set enabled(t){this._enabled=t}renderColumnsAsync(e){return Y.tsfb(this,void 0,void 0,function*(){if(1<e.columns){var t=this.createColumns(e);return yield this.engine.renderContainerAsync(t),this.enabled=!0,t}return null})}renderColumns(t){if(1<t.columns){var t=this.createColumns(t);return this.engine.renderContainer(t),this.enabled=!0,t}return null}getColumns(){var t=this.engine.containerForRender.components.count;if(0<t)for(let e=t-1;0<=e;e--){let t=this.engine.containerForRender.components.getByIndex(e);if(t.is(Ae.aq.StiColumnsContainer))return t;if(t.is(Ae.aq.StiLevelContainer))continue}return null}createColumns(t){let e=new Ae.aq.StiColumnsContainer(this.engine);return e.name="Columns"+t.name,e.width=t.parent.width,e.height=0,e.columns=t.columns,e.columnDirection=t.columnDirection,e.columnGaps=t.columnGaps,e.columnWidth=t.getColumnWidth(),e.minRowsInColumn=t.minRowsInColumn,e.rightToLeft=t.rightToLeft,e}},Ae.aq.StiColumnsOnPanel=class{constructor(t){this.engine=null,this.currentColumn=1,this.engine=t}get count(){var t=this.engine.templateContainer.as(Du);if(null!=t)return t.columns;return 0}get rightToLeft(){var t=this.engine.templateContainer.as(Du);if(null!=t)return t.rightToLeft;return!1}get columnGaps(){var t=this.engine.templateContainer.as(Du);if(null!=t)return t.columnGaps;return 0}getColumnWidth(){let t=this.engine.templateContainer.as(Du);if(null!=t)return t.getColumnWidth();return 0}};let eb=Ae.ap.IStiOddEvenStyles,rb=Ae.ap.StiDockStyle,ib=Ae.ap.StiEmptySizeMode;Ae.aq.StiEmptyBandsHelper=class{constructor(t){this.engine=null,this.engine=t}register(t){null!=t&&0<t.count&&(this.emptyBand=t.getByIndex(0))}clear(){this.emptyBand=null}createEmptyBandContainerAsync(e){return Y.tsfb(this,void 0,void 0,function*(){this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=e.currentBookmark;let t=yield this.emptyBand.renderAsync();return null!=t&&(Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as(eb),t.as(Ql)),t.dockStyle=rb.None,t.left=this.engine.positionX,t.top=this.engine.positionY),t})}createEmptyBandContainer(t){this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=t.currentBookmark;let e=this.emptyBand.render();return null!=e&&(Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as(eb),e.as(Ql)),e.dockStyle=rb.None,e.left=this.engine.positionX,e.top=this.engine.positionY),e}renderAsync(s,o){return Y.tsfb(this,void 0,void 0,function*(){if(null==this.emptyBand)return;this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender();let t=-1;null!=s&&(t=s.components.indexOf(o)),-1==t&&(t=s.components.count);let e=null,r=null;while(1==1){if(e=yield this.createEmptyBandContainerAsync(s),null==e)break;if(0==e.height&&(e.height=this.engine.report.unit.convertFromHInches(10)),!(e.height<=this.engine.freeSpace))break;this.engine.positionY+=e.height,this.engine.freeSpace-=e.height,s.components.insert(t,e),t++,r=e;var i=e.doBookmark();if(e.doPointer(!i),999999999<this.engine.freeSpace)break}if(this.emptyBand.sizeMode==ib.DecreaseLastRow){e.height=this.engine.freeSpace,this.engine.positionY+=e.height,this.engine.freeSpace-=e.height,s.components.insert(t,e);var n=e.doBookmark();e.doPointer(!n)}else if(this.emptyBand.sizeMode==ib.IncreaseLastRow)null==r?0<this.engine.freeSpace&&(e=yield this.createEmptyBandContainerAsync(s),e.top=this.engine.positionY,e.height=this.engine.freeSpace):r.height+=this.engine.freeSpace;else if(this.emptyBand.sizeMode==ib.AlignFooterToTop)for(var a of s.components.list)a.top>this.engine.positionY&&!a.is(Ae.ap.StiCrossLinePrimitive)&&(a.top-=this.engine.freeSpace);this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1})}render(t,e){if(null==this.emptyBand)return;this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender();let r=-1;null!=t&&(r=t.components.indexOf(e)),-1==r&&(r=t.components.count);let i=null,n=null;while(1==1){if(i=this.createEmptyBandContainer(t),null==i)break;if(0==i.height&&(i.height=this.engine.report.unit.convertFromHInches(10)),!(i.height<=this.engine.freeSpace))break;this.engine.positionY+=i.height,this.engine.freeSpace-=i.height,t.components.insert(r,i),r++,n=i;var a=i.doBookmark();if(i.doPointer(!a),999999999<this.engine.freeSpace)break}if(this.emptyBand.sizeMode==ib.DecreaseLastRow){i.height=this.engine.freeSpace,this.engine.positionY+=i.height,this.engine.freeSpace-=i.height,t.components.insert(r,i);var e=i.doBookmark();i.doPointer(!e)}else if(this.emptyBand.sizeMode==ib.IncreaseLastRow)null==n?0<this.engine.freeSpace&&(i=this.createEmptyBandContainer(t),i.top=this.engine.positionY,i.height=this.engine.freeSpace):n.height+=this.engine.freeSpace;else if(this.emptyBand.sizeMode==ib.AlignFooterToTop)for(var s of t.components.list)s.top>this.engine.positionY&&!s.is(Ae.ap.StiCrossLinePrimitive)&&(s.top-=this.engine.freeSpace);this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1}};let nb=Ae.ap.StiPrintOnEvenOddPagesType;var K=class{constructor(t){this.isDynamicBookmarksMode=!1,this.isCrossBandsMode=!1,this.isFirstDataBandOnPage=!1,this.isLastDataBandOnPage=!1,this.printOnAllPagesIgnoreList=new Dt,this.printOnAllPagesIgnoreList2=new Dt,this.bandsOnAllPages=null,this.denyRenderMasterComponentsInContainer=!1,this.printAtBottom=null,this.footersOnAllPages=null,this.staticBands=null,this.threads=null,this.breakable=null,this.denyChangeThread=!1,this.slaveEngines=new Dt,this.masterEngine=null,this.emptyBands=null,this.pageNumbers=null,this.columnsOnDataBand=null,this.columnsOnPanel=null,this.freeSpace=0,this.crossFreeSpace=0,this.positionX=0,this.positionY=0,this.positionBottomY=0,this.containerForRender=null,this.page=null,this.templatePage=null,this.templateContainer=null,this.report=null,this.masterReport=null,this.ignoreUnlimitedHeightForNewPage=!1,this.keepFirstDetailTogetherList=new Dt,this.keepFirstDetailTogetherTablesList=new Dt,this.specialContainerHeight=1e11,this.specialContainerHeight2=1e11-100,this.startIndexPageForPageTotal=-1,this.indexPageForPageTotal=-1,this.childsBandHash=null,this.silentMode=!1,this.renderState=null,this.indexOfLatestDataBand=null,this.generateNewPageBeforeBand=!1,this.ignoreSkipFirst=!1,this.generateNewColumnBeforeBand=!1,this.pageBreakSkipFirstCollection=new Dt,this.indexOfStartList=0,this.skipFirstPageBeforePrintEvent=!1,this.firstCallNewPage=!1,this.denyClearPrintOnAllPagesIgnoreList=!1,this.duplilcatesLastValues=null,this.anchorsArguments=null,this.needResetPageNumberForNewPage=!1,this._parserConversionStore=null,this.hashParentStyles=null,this._hashUseParentStyles=null,this.lastInvokeTextProcessValueEventArgsValue=null,this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=0,this.bandsInProgress=[],this.allowEndOfPageProcessing=!1,this.flagRenderColumnsOnDataBandOnNewPage=!1,this.componentPlacementRemakeTable=null,this.hashCheckSize=null,this.hashDataSourceReferencesCounter=null,this.offsetNewColumnY=0,this.latestProgressValue=0,this.newPageTime=Date.now(),this.pageNumbers=new Ae.aq.StiPageNumberHelper(this),this.emptyBands=new Ae.aq.StiEmptyBandsHelper(this),this.bandsOnAllPages=new Ae.aq.StiBandsOnAllPages(this),this.printAtBottom=new Ae.aq.StiPrintAtBottom(this),this.footersOnAllPages=new Ae.aq.StiFootersOnAllPages(this),this.columnsOnDataBand=new Ae.aq.StiColumnsOnDataBand(this),this.columnsOnPanel=new Ae.aq.StiColumnsOnPanel(this),this.staticBands=new Ae.aq.StiStaticBandsHelper(this),this.breakable=new Ae.aq.StiBreakableHelper(this),this.threads=new Ae.aq.StiThreads(this),this.report=t;var e=Ae.d[["St","iL","ic","en","se"].join("")]._key,t=Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")];Ae.d[["St","iL","ic","en","se"].join("")]._key="1",Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]="2",(Ae.Z.UwgcI.JoOjX(Ae.Z.hCPKk.Ultimate)||Ae.Z.UwgcI.vHHoI()||Ae.Z.UwgcI.PspWp()||Ae.Z.UwgcI.HjnDR()||Ae.Z.UwgcI.WjOuC()||Ae.Z.UwgcI.kxISh()||Ae.Z.UwgcI.FrMMw())&&(Ae.Z.UwgcI.JoOjX=function(t){return!1},Ae.Z.UwgcI.vHHoI=function(){return!1},Ae.Z.UwgcI.PspWp=function(){return!1},Ae.Z.UwgcI.HjnDR=function(){return!1},Ae.Z.UwgcI.WjOuC=function(){return!1},Ae.Z.UwgcI.kxISh=function(){return!1},Ae.Z.UwgcI.FrMMw=function(){return!1}),Ae.d[["St","iL","ic","en","se"].join("")]._key=e,Ae.d[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]=t}get parserConversionStore(){return null==this._parserConversionStore&&(this._parserConversionStore=new Dt),this._parserConversionStore}set parserConversionStore(t){this._parserConversionStore=t}get hashUseParentStyles(){if(null==this._hashUseParentStyles){this._hashUseParentStyles=new Dt;for(var t of this.report.getComponents().list){var e=t.as(Ql);if(null!=e)for(var r of e.components.list)if(r.useParentStyles){this._hashUseParentStyles.set(t,null);break}}}return this._hashUseParentStyles}set hashUseParentStyles(t){this._hashUseParentStyles=t}newListAsync(t=!1){return Y.tsfb(this,void 0,void 0,function*(){if(null==this.containerForRender)return;!t&&(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2)&&(yield this.staticBands.renderAsync()),this.indexOfLatestDataBand=null,yield this.bandsOnAllPages.renderAsync()})}newList(t=!1){if(null==this.containerForRender)return;!t&&(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2)&&this.staticBands.render(),this.indexOfLatestDataBand=null,this.bandsOnAllPages.render()}newColumnAsync(a=!0){return Y.tsfb(this,void 0,void 0,function*(){this.columnsOnPanel.currentColumn++;let r=this.page;if(null==r&&(r=this.report.renderedPages.getByIndex(0)),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&Hd.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode)this.isCrossBandsMode||(r.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),yield this.newPageAsync(a);else{let e=this.containerForRender;r.invokeColumnEndRender(),this.finishColumns(e);let t=this.searchStartOfKeepContainer(e,this.indexOfStartList);a&&(t=null),null!=e&&null!=t&&0==e.components.indexOf(t)&&(t=null),this.changeEngineParamsByKeep(e,t);var i={ref:t};if(this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,i),t=i.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,t),yield this.renderEmptyBandsAsync(e,t),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!Hd.Engine.forceNewPageForExtraColumns&&this.containerForRender==e){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0;let t=0;for(var n of e.components.list)n.bottom>t&&(t=n.bottom);this.offsetNewColumnY=t-this.staticBands.reservedPositionY,this.positionY=t}yield this.newListAsync(),yield this.moveKeepComponentsOnNextContainerAsync(e,t),this.indexOfStartList=0<this.containerForRender.components.count?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),r.invokeColumnBeginRender()}})}newColumn(r=!0){this.columnsOnPanel.currentColumn++;let i=this.page;if(null==i&&(i=this.report.renderedPages.getByIndex(0)),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&Hd.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode)this.isCrossBandsMode||(i.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),this.newPage(r);else{let e=this.containerForRender;i.invokeColumnEndRender(),this.finishColumns(e);let t=this.searchStartOfKeepContainer(e,this.indexOfStartList);r&&(t=null),null!=e&&null!=t&&0==e.components.indexOf(t)&&(t=null),this.changeEngineParamsByKeep(e,t);var r={ref:t};if(this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,r),t=r.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,t),this.renderEmptyBands(e,t),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!Hd.Engine.forceNewPageForExtraColumns&&this.containerForRender==e){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0;let t=0;for(var n of e.components.list)n.bottom>t&&(t=n.bottom);this.offsetNewColumnY=t-this.staticBands.reservedPositionY,this.positionY=t}this.newList(),this.moveKeepComponentsOnNextContainer(e,t),this.indexOfStartList=0<this.containerForRender.components.count?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),i.invokeColumnBeginRender()}}newPageAsync(r=!0){return Y.tsfb(this,void 0,void 0,function*(){100<Date.now()-this.newPageTime?yield new Promise((t,e)=>setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){try{this.newPageTime=Date.now(),yield this.newPageAsync2(r),t(null)}catch(t){e(t)}}),0)):yield this.newPageAsync2(r)})}newPageAsync2(n=!0){return Y.tsfb(this,void 0,void 0,function*(){if(!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!Hd.Engine.forceNewPageInSubReports){var r=De.format("The NewPage feature is not supported in subreports and containers!");Ae.c.StiLogService.write1(r);let t=new Ae.aq.StiNewPageContainer;return t.top=this.positionY,t.height=this.templatePage.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=t.height,this.freeSpace-=t.height,this.containerForRender.components.add(t),void(this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY)}if(this.threads.isActive)yield this.newContainerAsync(n);else{if(this.isCrossBandsMode&&null!=this.page){var i=this.page.pageWidth-this.page.margins.left-this.page.margins.right;while(this.positionX+i>this.page.width)this.page.segmentPerWidth++;return void(this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width)}if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){0<this.freeSpace?this.positionY+=this.templatePage.height-this.positionY%this.templatePage.height:this.positionY+=this.freeSpace,this.freeSpace=this.positionBottomY;while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++}return}this.lastFreeSpaceOnPageAfterNewList=0,this.firstCallNewPage=!1,!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;let t=this.containerForRender;Hd.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering(),null!=this.page&&this.processPageAfterRendering(this.page,!1),this.page=yield Ae.aq.StiPageHelper.getPageFromTemplateAsync(this.templatePage),this.pageNumbers.addPageNumber(this.report.currentPrintPage,this.page.segmentPerWidth,this.page.segmentPerHeight),this.page.resetPageNumber&&(null!=this.page.pageInfo&&-1!=this.page.pageInfo.indexOfStartRenderedPages?this.page.report.engine.pageNumbers.resetPageNumber(this.page.pageInfo.indexOfStartRenderedPages):this.page.report.engine.pageNumbers.resetPageNumber()),this.needResetPageNumberForNewPage&&this.page.report.engine.pageNumbers.resetPageNumber(this.report.currentPrintPage),Hd.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(t),Ae.aq.StiPageHelper.prepareBookmark(this.page),Ae.aq.StiPageHelper.preparePointer(this.page),this.page.invokeColumnBeginRender();let e=this.searchStartOfKeepContainer(t,this.indexOfStartList);n&&(e=null),null!=t&&null!=e&&0==t.components.indexOf(e)&&(e=null),this.changeEngineParamsByKeep(t,e);var r={ref:e};this.renderFootersOnAllPages(t,this.indexOfStartList,r),e=r.ref,this.renderPrintAtBottom(t,this.indexOfStartList,e),yield this.renderEmptyBandsAsync(t,e),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(t,e,!1),yield this.newListAsync(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(t,e,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,yield this.moveKeepComponentsOnNextContainerAsync(t,e),this.indexOfStartList=0,this.finishResetPageNumberContainer(t,!1),this.finishContainer(t)}})}newPage(r=!0){if(!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!Hd.Engine.forceNewPageInSubReports){var e=De.format("The NewPage feature is not supported in subreports and containers!");Ae.c.StiLogService.write1(e);let t=new Ae.aq.StiNewPageContainer;return t.top=this.positionY,t.height=this.templatePage.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=t.height,this.freeSpace-=t.height,this.containerForRender.components.add(t),void(this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY)}if(this.threads.isActive)this.newContainer(r);else{if(this.isCrossBandsMode&&null!=this.page){var i=this.page.pageWidth-this.page.margins.left-this.page.margins.right;while(this.positionX+i>this.page.width)this.page.segmentPerWidth++;return void(this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width)}if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){0<this.freeSpace?this.positionY+=this.templatePage.height-this.positionY%this.templatePage.height:this.positionY+=this.freeSpace,this.freeSpace=this.positionBottomY;while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++}return}this.lastFreeSpaceOnPageAfterNewList=0,this.firstCallNewPage=!1,!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;let t=this.containerForRender;Hd.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering(),null!=this.page&&this.processPageAfterRendering(this.page,!1),this.page=Ae.aq.StiPageHelper.getPageFromTemplate(this.templatePage),this.pageNumbers.addPageNumber(this.report.currentPrintPage,this.page.segmentPerWidth,this.page.segmentPerHeight),this.page.resetPageNumber&&(null!=this.page.pageInfo&&-1!=this.page.pageInfo.indexOfStartRenderedPages?this.page.report.engine.pageNumbers.resetPageNumber(this.page.pageInfo.indexOfStartRenderedPages):this.page.report.engine.pageNumbers.resetPageNumber()),this.needResetPageNumberForNewPage&&this.page.report.engine.pageNumbers.resetPageNumber(this.report.currentPrintPage),Hd.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(t),Ae.aq.StiPageHelper.prepareBookmark(this.page),Ae.aq.StiPageHelper.preparePointer(this.page),this.page.invokeColumnBeginRender();let e=this.searchStartOfKeepContainer(t,this.indexOfStartList);r&&(e=null),null!=t&&null!=e&&0==t.components.indexOf(e)&&(e=null),this.changeEngineParamsByKeep(t,e);var r={ref:e};this.renderFootersOnAllPages(t,this.indexOfStartList,r),e=r.ref,this.renderPrintAtBottom(t,this.indexOfStartList,e),this.renderEmptyBands(t,e),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(t,e,!1),this.newList(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(t,e,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,this.moveKeepComponentsOnNextContainer(t,e),this.indexOfStartList=0,this.finishResetPageNumberContainer(t,!1),this.finishContainer(t)}}newContainerAsync(i){return Y.tsfb(this,void 0,void 0,function*(){!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;let t=this.containerForRender;this.finishColumns(t);let e=this.searchStartOfKeepContainer(t,this.indexOfStartList);i&&(e=null),null!=t&&null!=e&&0==t.components.indexOf(e)&&(e=null),this.changeEngineParamsByKeep(t,e);var r={ref:e};this.renderFootersOnAllPages(t,this.indexOfStartList,r),e=r.ref,this.renderPrintAtBottom(t,this.indexOfStartList,e),yield this.renderEmptyBandsAsync(t,e),yield this.threads.newPageAsync(),yield this.newListAsync(),this.atLeastOneDatabandRenderedOnPage=!1,yield this.moveKeepComponentsOnNextContainerAsync(t,e),this.indexOfStartList=0,this.finishResetPageNumberContainer(t,!1),this.finishContainer(t),null!=this.containerForRender&&this.containerForRender.parent.is(Kl)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace)})}newContainer(t){!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;let e=this.containerForRender;this.finishColumns(e);let r=this.searchStartOfKeepContainer(e,this.indexOfStartList);t&&(r=null),null!=e&&null!=r&&0==e.components.indexOf(r)&&(r=null),this.changeEngineParamsByKeep(e,r);var t={ref:r};this.renderFootersOnAllPages(e,this.indexOfStartList,t),r=t.ref,this.renderPrintAtBottom(e,this.indexOfStartList,r),this.renderEmptyBands(e,r),this.threads.newPage(),this.newList(),this.atLeastOneDatabandRenderedOnPage=!1,this.moveKeepComponentsOnNextContainer(e,r),this.indexOfStartList=0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),null!=this.containerForRender&&this.containerForRender.parent.is(Kl)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace)}newDestinationAsync(t=!1){return Y.tsfb(this,void 0,void 0,function*(){1<this.columnsOnPanel.count?yield this.newColumnAsync(t):yield this.newPageAsync(t)})}newDestination(t=!1){1<this.columnsOnPanel.count?this.newColumn(t):this.newPage(t)}addFooterMarker(t){let e=new Ae.aq.StiFooterMarkerContainer;e.top=this.positionY,e.left=this.positionX,e.width=e.width,e.height=0,e.name=t.name,this.addContainerToDestination(e)}addKeepLevelAtLatestDataBand(){if(null!=this.indexOfLatestDataBand){let e=this.containerForRender,r=this.indexOfLatestDataBand.index;if(-1!=this.indexOfLatestDataBand.indexInColumnContainer&&e.components.count>this.indexOfLatestDataBand.indexInColumnContainer){e=e.components.getByIndex(this.indexOfLatestDataBand.indexInColumnContainer);let t=e;t.columnDirection==tb.AcrossThenDown&&(r-=t.getLengthOfLastRow()-1)}r<e.components.count&&0<=r&&e.components.insert(r,new Ae.aq.StiLevelStartContainer)}}addLevel(){if(this.columnsOnDataBand.enabled){let t=this.columnsOnDataBand.getColumns();t.addContainer(new Ae.aq.StiLevelStartContainer)}else this.addContainerToDestination(new Ae.aq.StiLevelStartContainer)}removeLevel(){if(this.columnsOnDataBand.enabled){let t=this.columnsOnDataBand.getColumns();t.addContainer(new Ae.aq.StiLevelEndContainer)}else this.addContainerToDestination(new Ae.aq.StiLevelEndContainer)}getChildBands(t){null==this.childsBandHash&&(this.childsBandHash=new Dt);let e=this.childsBandHash.get(t);if(null!=e)return e;return e=Ae.aq.StiBandBuilder.getChildBands(t),this.childsBandHash.set(t,e),e}clearPageBreakSkipFirst(){this.pageBreakSkipFirstCollection.clear()}canGenerateNewContainer(t){if(null==t)return!0;if(!t.skipFirst)return!0;if(null!=this.pageBreakSkipFirstCollection.get(t))return!0;return this.pageBreakSkipFirstCollection.set(t,t),!1}removeBandFromPageBreakSkipList(t){if(null==t)return;null!=this.pageBreakSkipFirstCollection.get(t)&&this.pageBreakSkipFirstCollection.remove(t)}processPageAfterRendering(t,e){var r,i,n;if(this.allowEndOfPageProcessing)for(i of t.getComponents().list){let t=i.as($o);null!=t&&t.processAt==Kc.EndOfPage&&(n=new Oo,t.invokeGetValue(i,n),t.text=n.value)}let a=this.renderState;null!=this.masterEngine&&(a=this.masterEngine.renderState),Ae.aq.StiRenderProvider.processPageToCache(this.report,t,e),null!=a&&Ae.aq.StiRenderProvider.clearPagesWhichLessThenFromPageAndGreaterThenToPage(this.report,a),Ae.aq.StiRenderProvider.clearPagesForFirstPass(this.report)}processLastPageAfterRendering(){var t=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1);this.processPageAfterRendering(t,!1)}processRendering(){if(this.report.isStopped)throw new Error("StiReportRenderingStopException");if(this.report.invokeRendering(),null!=this.masterReport&&(this.masterReport.invokeRendering(),this.masterReport.isStopped))throw new Error("StiReportRenderingStopException")}reprocessRuntimeVariables(t){var e,r;for(r of t.getComponents().list){if(!r.is(vd))continue;var i=this.report.totals.get(r.name),n;if(null==i||0==i.length)continue;for(n of i)n.textBox==r&&(n.pageIndex=this.report.renderedPages.count,n.currentPrintPage=this.report.renderedPages.count)}}finalClearAsync(){return Y.tsfb(this,void 0,void 0,function*(){this.changeEngineParamsByKeep(this.containerForRender,null),this.renderFootersOnAllPages(null,0,{ref:null}),this.renderPrintAtBottom(null,0,null),yield this.renderEmptyBandsAsync(this.containerForRender,null),this.finishColumns(this.containerForRender),this.finishResetPageNumberContainer(this.containerForRender,!0),this.finishContainer(null),this.emptyBands.clear(),null!=this.childsBandHash&&(this.childsBandHash.clear(),this.childsBandHash=null),null!=this.duplilcatesLastValues&&(this.duplilcatesLastValues.clear(),this.duplilcatesLastValues=null),this.indexOfLatestDataBand=null,null!=this.hashCheckSize&&(this.hashCheckSize.clear(),this.hashCheckSize=null),null!=this.hashParentStyles&&(this.hashParentStyles.clear(),this.hashParentStyles=null),this.clearPageBreakSkipFirst()})}finalClear(){this.changeEngineParamsByKeep(this.containerForRender,null),this.renderFootersOnAllPages(null,0,{ref:null}),this.renderPrintAtBottom(null,0,null),this.renderEmptyBands(this.containerForRender,null),this.finishColumns(this.containerForRender),this.finishResetPageNumberContainer(this.containerForRender,!0),this.finishContainer(null),this.emptyBands.clear(),null!=this.childsBandHash&&(this.childsBandHash.clear(),this.childsBandHash=null),null!=this.duplilcatesLastValues&&(this.duplilcatesLastValues.clear(),this.duplilcatesLastValues=null),this.indexOfLatestDataBand=null,null!=this.hashCheckSize&&(this.hashCheckSize.clear(),this.hashCheckSize=null),null!=this.hashParentStyles&&(this.hashParentStyles.clear(),this.hashParentStyles=null),this.clearPageBreakSkipFirst()}isPrintAtBottomOrFooterOnAllPages(t){if(null==t)return!1;if(null==t.containerInfo.parentBand)return!1;var e=t.containerInfo.parentBand.as(Ae.ap.IStiPrintAtBottom);if(null!=e&&e.printAtBottom)return!0;var t=t.containerInfo.parentBand.as(ep);return null!=t&&t.printOnAllPages}changeEngineParamsByKeep(r,t){if(null==t)return;var e;for(let e=r.components.indexOf(t);e<r.components.count;e++){let t=r.components.getByIndex(e).as(gl);t.is(Ql)&&!this.isPrintAtBottomOrFooterOnAllPages(t.as(Ql))&&(this.positionY-=t.height),this.freeSpace+=t.height}}setNewColumnParameters(){this.isCrossBandsMode?(this.crossFreeSpace=this.staticBands.reservedCrossFreeSpace,this.positionX=this.staticBands.reservedPositionX,this.positionY=this.staticBands.reservedPositionY):(this.freeSpace=this.staticBands.reservedFreeSpace,this.columnsOnPanel.rightToLeft?this.positionX-=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps:this.positionX+=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps,this.positionY=this.staticBands.reservedPositionY+this.offsetNewColumnY,this.positionBottomY=this.staticBands.reservedPositionBottomY)}setNewPageParameters(){this.isCrossBandsMode?(this.crossFreeSpace=this.templateContainer.width,this.positionX=0,this.positionY=0):(this.freeSpace=this.templateContainer.height,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0,this.positionY=0,this.positionBottomY=this.templateContainer.height),this.columnsOnPanel.currentColumn=1}processNewContainerBeforeAsync(r){return Y.tsfb(this,void 0,void 0,function*(){if(this.needResetPageNumberForNewPage=r.resetPageNumber,this.generateNewPageBeforeBand){this.generateNewPageBeforeBand=!1,this.canGenerateNewContainer(r.as(ap));let t=!1;this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,yield this.newPageAsync(),t=!0):this.canGenerateNewContainer&&(yield this.newPageAsync(),t=!0),t&&r.is(Jl)&&1<r.columns&&null==this.columnsOnDataBand.getColumns()&&(yield this.columnsOnDataBand.renderColumnsAsync(r.as(Jl)))}else if(this.generateNewColumnBeforeBand)this.generateNewColumnBeforeBand=!1,this.canGenerateNewContainer(r.as(ap)),this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,yield this.newColumnAsync()):this.canGenerateNewContainer&&(yield this.newColumnAsync());else{var t=r.as(ap),e;if(null==t)return;(t.newPageBefore||t.newColumnBefore)&&(e=100*this.freeSpace/this.containerForRender.height,(t.breakIfLessThan>e||100==t.breakIfLessThan)&&(t.newPageBefore&&this.canGenerateNewContainer(r.as(ap))?(yield this.newPageAsync(),yield this.processNewContainerInDetailBandsAsync(r,!0,!1)):t.newColumnBefore&&this.canGenerateNewContainer(r.as(ap))&&(yield this.newColumnAsync(),yield this.processNewContainerInDetailBandsAsync(r,!1,!0))))}this.needResetPageNumberForNewPage=!1})}processNewContainerBefore(e){if(this.needResetPageNumberForNewPage=e.resetPageNumber,this.generateNewPageBeforeBand){this.generateNewPageBeforeBand=!1,this.canGenerateNewContainer(e.as(ap));let t=!1;this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newPage(),t=!0):this.canGenerateNewContainer&&(this.newPage(),t=!0),t&&e.is(Jl
)&&1<e.columns&&null==this.columnsOnDataBand.getColumns()&&this.columnsOnDataBand.renderColumns(e.as(Jl))}else if(this.generateNewColumnBeforeBand)this.generateNewColumnBeforeBand=!1,this.canGenerateNewContainer(e.as(ap)),this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newColumn()):this.canGenerateNewContainer&&this.newColumn();else{var t=e.as(ap),r;if(null==t)return;(t.newPageBefore||t.newColumnBefore)&&(r=100*this.freeSpace/this.containerForRender.height,(t.breakIfLessThan>r||100==t.breakIfLessThan)&&(t.newPageBefore&&this.canGenerateNewContainer(e.as(ap))?(this.newPage(),this.processNewContainerInDetailBands(e,!0,!1)):t.newColumnBefore&&this.canGenerateNewContainer(e.as(ap))&&(this.newColumn(),this.processNewContainerInDetailBands(e,!1,!0))))}this.needResetPageNumberForNewPage=!1}processNewContainerAfter(t){var e=t.as(ap),t;if(null==e)return;(e.newPageAfter||e.newColumnAfter)&&(t=100*this.freeSpace/this.containerForRender.height,(e.breakIfLessThan>t||100==e.breakIfLessThan)&&(e.newPageAfter?(this.generateNewPageBeforeBand=!0,this.ignoreSkipFirst=!0):e.newColumnAfter&&(this.generateNewColumnBeforeBand=!0,this.ignoreSkipFirst=!0)))}processNewContainerInDetailBandsAsync(i,n,a){return Y.tsfb(this,void 0,void 0,function*(){var t=i.as(Jl);if(null!=t)for(var r of t.dataBandInfo.detailDataBands.list)if(r.parent!=t.parent){let t=null!=this.masterEngine?this.masterEngine:this,e=t.slaveEngines.get(r.parent.name);null!=e&&(n?yield e.newPageAsync():a&&(null!=i.page&&i.page.columns<2?yield e.newPageAsync():yield e.newColumnAsync()))}})}processNewContainerInDetailBands(r,i,n){var t=r.as(Jl);if(null!=t)for(var a of t.dataBandInfo.detailDataBands.list)if(a.parent!=t.parent){let t=null!=this.masterEngine?this.masterEngine:this,e=t.slaveEngines.get(a.parent.name);null!=e&&(i?e.newPage():n&&(null!=r.page&&r.page.columns<2?e.newPage():e.newColumn()))}}searchStartOfKeepContainer(t,e){if(null==t)return null;let r=e,i=-1,n=-1,a=null;while(r<t.components.count){var s=t.components.getByIndex(r).as(Ae.aq.StiLevelStartContainer);null!=s&&(-1==i&&(a=s,n=r),i++);var o=t.components.getByIndex(r).as(Ae.aq.StiLevelEndContainer);null!=o&&(i--,i<0&&(i=-1,a=null,n=-1)),null!=s||null!=o?t.components.removeAt(r):r++}return null!=a&&(a=n>=t.components.count?null:t.components.getByIndex(n).as(Ql)),a}moveKeepComponentsOnNextContainerAsync(a,i){var s;return Y.tsfb(this,void 0,void 0,function*(){if(null==a)return;if(null!=i){var r=a.components.indexOf(i),t,r,r;let e=[];for(let t=r;t<a.components.count;t++){let i=a.components.getByIndex(t).as(Ql);if(null==i)continue;if(i.is2(Ae.aq.StiFooterMarkerContainer))continue;if(!i.containerInfo.isAutoRendered){e.push(i);for(let r=t+1;r<a.components.count;r++){let t=a.components.getByIndex(r).as(Ql),e=!1;if(null!=t){null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Ae.ap.StiColumnHeaderBand)&&(e=!0);var n=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.as(Ae.ap.IStiPrintAtBottom):null;if(null!=n&&n.printAtBottom)break}var n=a.components.getByIndex(r).top>i.top;!e&&n&&(a.components.getByIndex(r).top-=i.height)}}}for(t of e)this.breakable.setCanBreak(t),a.components.remove(t),t.parent=null,this.isNeedToSkip(t.containerInfo.parentBand)||(yield this.renderContainerAsync(t,this.printAtBottom.canProcess(t.containerInfo.parentBand),this.footersOnAllPages.canProcess(t.containerInfo.parentBand)));null==this.containerForRender||0<(r=this.containerForRender.components.count)&&(r=this.containerForRender.components.getByIndex(r-1).as(Ql),null!==(s=null==r?void 0:r.containerInfo.parentBand)&&void 0!==s&&s.is(Jl)&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0))}})}moveKeepComponentsOnNextContainer(n,r){var r;if(null==n)return;if(null!=r){var r=n.components.indexOf(r),t,r,r;let e=[];for(let t=r;t<n.components.count;t++){let i=n.components.getByIndex(t).as(Ql);if(null==i)continue;if(i.is2(Ae.aq.StiFooterMarkerContainer))continue;if(!i.containerInfo.isAutoRendered){e.push(i);for(let r=t+1;r<n.components.count;r++){let t=n.components.getByIndex(r).as(Ql),e=!1;if(null!=t){null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Ae.ap.StiColumnHeaderBand)&&(e=!0);var a=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.as(Ae.ap.IStiPrintAtBottom):null;if(null!=a&&a.printAtBottom)break}var a=n.components.getByIndex(r).top>i.top;!e&&a&&(n.components.getByIndex(r).top-=i.height)}}}for(t of e)this.breakable.setCanBreak(t),n.components.remove(t),t.parent=null,this.isNeedToSkip(t.containerInfo.parentBand)||this.renderContainer(t,this.printAtBottom.canProcess(t.containerInfo.parentBand),this.footersOnAllPages.canProcess(t.containerInfo.parentBand));null==this.containerForRender||0<(r=this.containerForRender.components.count)&&(null!==(r=null==(r=this.containerForRender.components.getByIndex(r-1).as(Ql))?void 0:r.containerInfo.parentBand)&&void 0!==r&&r.is(Jl)&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0))}}correctPrintOnAllPagesIgnoreListBeforeNewList(r,t,e){if(e){for(var i of this.printOnAllPagesIgnoreList2.keys)this.printOnAllPagesIgnoreList.remove(i);this.printOnAllPagesIgnoreList2.clear()}else{if(null==r||null==t)return;var n;this.printOnAllPagesIgnoreList2.clear();for(let e=r.components.indexOf(t);e<r.components.count;e++){let t=r.components.getByIndex(e).as(Ql);null==t||t.containerInfo.isAutoRendered||(this.bandsOnAllPages.isBandInBandsList(t.containerInfo.parentBand)||null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Yl)&&this.bandsOnAllPages.isBandInBandsList(t.containerInfo.parentBand.getMaster()))&&(this.printOnAllPagesIgnoreList.containsKey(t.containerInfo.parentBand)||this.printOnAllPagesIgnoreList2.set(t.containerInfo.parentBand,t.containerInfo.parentBand),this.printOnAllPagesIgnoreList.set(t.containerInfo.parentBand,t.containerInfo.parentBand))}}}isNeedToPrintOddEven(t){var e=t.as(Ae.ap.IStiPrintOnEvenOddPages);if(null==e)return!0;if(e.printOnEvenOddPages==nb.Ignore)return!0;var t=1&this.report.pageNumber;if(e.printOnEvenOddPages==nb.PrintOnEvenPages&&0==t)return!0;if(e.printOnEvenOddPages==nb.PrintOnOddPages&&1==t)return!0;return!1}isNeedToSkip(e){if(null==e)return!1;if(null!=this.printOnAllPagesIgnoreList.get(e))return!0;if(e.is(Jl)&&null!=this.containerForRender){let t=this.containerForRender.components;if(0<t.count){var r=t.getByIndex(t.count-1).as(Ql);if(null!=r&&r.containerInfo.parentBand==e&&r.containerInfo.isAutoRendered)return!0}}return!1}renderFootersOnAllPages(t,e=this.indexOfStartList,r={ref:null}){null!=t?this.footersOnAllPages.render(t,e,r):this.footersOnAllPages.render(this.containerForRender,e,r)}renderEmptyBandsAsync(t,e){return Y.tsfb(this,void 0,void 0,function*(){null!=t&&(yield this.emptyBands.renderAsync(t,e))})}renderEmptyBands(t,e){null!=t&&this.emptyBands.render(t,e)}renderPrintAtBottom(t,e,r){null!=t?this.printAtBottom.render(t,e,r):this.printAtBottom.render(this.containerForRender,e,r)}finishContainer(t){if(null==t)return;for(var e of t.components.list){let t=e.as(Ql);null!=t&&(t.componentType==Xl.Static&&null!=t.page&&1<t.page.columns||(t.containerInfo.parentBand=null))}}finishResetPageNumberContainer(t,e){if(null==t)return;for(var r of t.components.list){var r=r.as(Ql);if(null!=r&&null!=r.containerInfo.parentBand&&r.containerInfo.parentBand.resetPageNumber&&!r.containerInfo.ignoreResetPageNumber&&!r.containerInfo.isAutoRendered){let t=this.report.renderedPages.count-2;e&&t++,this.pageNumbers.resetPageNumber(t)}}}finishColumns(e){if(null==e)return;let r=0;while(r<e.components.count){let t=e.components.getByIndex(r).as(Ae.aq.StiColumnsContainer);if(null!=t){t.finishColumns(),e.components.remove(t);for(var i of t.components.list)i.left+=t.left,i.top+=t.top,(i.parent=e).components.insert(r,i),r++}else r++}}addContainerToDestination(t){if(null==this.containerForRender)return;-1!=t.containerInfo.setSegmentPerWidth&&null!=this.page&&t.containerInfo.setSegmentPerWidth>this.page.segmentPerWidth&&(this.page.segmentPerWidth=t.containerInfo.setSegmentPerWidth),this.containerForRender.components.add(t)}invokePageAfterPrint(){if(null!=this.templatePage&&null!=this.templatePage.report&&0!=this.templatePage.report.renderedPages.count){let t=this.report.renderedPages.toList().lastOrDefault();if(null==t)return;Hd.Engine.useTemplateForPagePrintEvents?t.invokeAfterPrint(this.templatePage,Un.empty):t.invokeAfterPrint(t,Un.empty)}}addPageToRenderedPages(t){if(this.invokePageAfterPrint(),0!=this.templatePage.stopBeforePrint&&this.templatePage.pageInfo.renderedCount-1==this.templatePage.stopBeforePrint)throw new Error("StiStopBeforePrintException");if(0!=this.report.stopBeforePage&&this.report.stopBeforePage<=this.report.currentPrintPage)throw new Error("StiStopBeforePageException");Hd.Engine.fixPageNumberInEvents?(this.report.currentPrintPage++,this.report.renderedPages.add(t),this.processRendering(),this.templatePage.invokeRendering()):(this.report.renderedPages.add(t),this.report.currentPrintPage++),0!=this.page.report.renderedPages.count&&(this.skipFirstPageBeforePrintEvent||(Hd.Engine.useTemplateForPagePrintEvents?this.page.invokeBeforePrint(this.templatePage,Un.empty):this.page.invokeBeforePrint(this.page,Un.empty)),this.skipFirstPageBeforePrintEvent=!1,this.page.paperSize=this.templatePage.paperSize,this.page.orientation=this.templatePage.orientation,this.page.pageWidth=this.templatePage.pageWidth,this.page.pageHeight=this.templatePage.pageHeight,this.page.margins=new Ml(this.templatePage.margins.left,this.templatePage.margins.right,this.templatePage.margins.top,this.templatePage.margins.bottom))}checkFreeSpace1Async(e){return Y.tsfb(this,void 0,void 0,function*(){if(this.isCrossBandsMode)return yield this.checkFreeSpace2Async(e.width);var t=yield this.checkFreeSpace2Async(e.height);if(t)return this.breakable.setCanBreak(e),!1;return t})}checkFreeSpace1(t){if(this.isCrossBandsMode)return this.checkFreeSpace2(t.width);var e=this.checkFreeSpace2(t.height);if(e)return this.breakable.setCanBreak(t),!1;return e}checkFreeSpace2Async(e){return Y.tsfb(this,void 0,void 0,function*(){if(this.isCrossBandsMode){if(e>this.crossFreeSpace){if(yield this.newDestinationAsync(),e>this.crossFreeSpace)return!1;return!0}}else if(e>this.freeSpace){if(!(this.templatePage.unlimitedHeight&&this.templatePage.columns<2))return yield this.newDestinationAsync(),!0;if(null==this.page)return this.freeSpace+=this.templatePage.pageHeight-this.templatePage.margins.top-this.templatePage.margins.bottom,!1;while(Math.floor((this.positionY+e)/this.templatePage.height+1)>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(e>this.freeSpace+(this.templatePage.height-this.positionBottomY)){var t;if(this.templatePage.unlimitedBreakable)if(0<this.positionY&&(this.freeSpace+=this.templatePage.height-this.positionBottomY,t=this.ignoreUnlimitedHeightForNewPage,this.ignoreUnlimitedHeightForNewPage=!1,yield this.newDestinationAsync(),this.ignoreUnlimitedHeightForNewPage=t),e>this.templatePage.height)return!0;return!1}}return!1})}checkFreeSpace2(t){if(this.isCrossBandsMode){if(t>this.crossFreeSpace){if(this.newDestination(),t>this.crossFreeSpace)return!1;return!0}}else if(t>this.freeSpace){if(!(this.templatePage.unlimitedHeight&&this.templatePage.columns<2))return this.newDestination(),!0;if(null==this.page)return this.freeSpace+=this.templatePage.pageHeight-this.templatePage.margins.top-this.templatePage.margins.bottom,!1;while(Math.floor((this.positionY+t)/this.templatePage.height+1)>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(t>this.freeSpace+(this.templatePage.height-this.positionBottomY)){var e;if(this.templatePage.unlimitedBreakable)if(0<this.positionY&&(this.freeSpace+=this.templatePage.height-this.positionBottomY,e=this.ignoreUnlimitedHeightForNewPage,this.ignoreUnlimitedHeightForNewPage=!1,this.newDestination(),this.ignoreUnlimitedHeightForNewPage=e),t>this.templatePage.height)return!0;return!1}}return!1}storeLatestDataBand(t){var e,t;t.is(Jl)&&(this.columnsOnDataBand.enabled?null==(e=this.columnsOnDataBand.getColumns())?this.indexOfLatestDataBand=new Ae.aq.StiIndex(0,this.containerForRender.components.count):(t=this.containerForRender.components.indexOf(e),this.indexOfLatestDataBand=new Ae.aq.StiIndex(e.components.count,t)):this.indexOfLatestDataBand=new Ae.aq.StiIndex(this.containerForRender.components.count))}setReportVariables(t){if(t.setReportVariables(),this.columnsOnDataBand.enabled&&t.is(Jl)){let t=this.columnsOnDataBand.getColumns();null!=t&&(this.report.column=t.getCurrentColumn())}else this.report.column=this.columnsOnPanel.currentColumn}checkForDuplicate(t,e,r){if(null==this.duplilcatesLastValues&&(this.duplilcatesLastValues=new Dt),this.duplilcatesLastValues.containsKey(t)&&e==this.duplilcatesLastValues.get(t)&&r==this.duplilcatesLastValues.get(t+"_tag"))return!0;return this.duplilcatesLastValues.set(t,e),this.duplilcatesLastValues.set(t+"_tag",r),!1}resetProcessingDuplicates1(t){null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(t)&&this.duplilcatesLastValues.set(t,null)}resetProcessingDuplicates2(t){var t=De.format("{0}_{1}",t.left,t.width);null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(t)&&this.duplilcatesLastValues.set(t,null)}getSumTagsOnPage(t,e){var r;return 0}getComponentByNameFromRenderedPage(t,e){for(var r of t.getComponents().list)if(r.name==e)return r;return null}renderBandAsync(m,p=!1,g=!1){return Y.tsfb(this,void 0,void 0,function*(){this.bandsInProgress.push(m);try{let t=new Eu,e=!0;m.is(Jl)&&1<m.columns&&(e=!1);let r=null;if(e){r=this.getChildBands(m);for(var n of r.list)n.keepChildTogether&&this.addLevel()}var a=!0,s={ref:a};let i=yield this.internalRenderBandAsync(m,p,g,s);if(a=s.ref,null!=i&&t.add(i),e)for(var o of r.list){var l=o.enabled;a||o.printIfParentDisabled||(o.enabled=!1);var u,h={ref:!(!a&&!o.printIfParentDisabled)},c=yield this.internalRenderBandAsync(o,p,g,h),u=h.ref;null!=c&&t.add(c),o.keepChildTogether&&this.removeLevel(),o.enabled=l}if((m.is($m)&&m.printOnAllPages||m.is(ep)&&m.printOnAllPages)&&null!=i&&0<i.components.count){let e=this;if(null!=this.report&&null!=this.report.engine&&(e=this.report.engine),null==e.componentPlacementRemakeTable&&(e.componentPlacementRemakeTable=new Dt),!e.componentPlacementRemakeTable.containsKey(m)){e.componentPlacementRemakeTable.set(m,null);let t=null;m.is($m)&&(t=Ae.aq.StiHeaderBandBuilder.getMaster(m)),m.is(ep)&&(t=Ae.aq.StiFooterBandBuilder.getMaster(m)),null!=t&&null!=t.masterComponent&&t.masterComponent.is(Jl)&&e.componentPlacementRemakeTable.set(m,t.masterComponent)}let r=e.componentPlacementRemakeTable.get(m);if(null!=r&&r.is(Jl)){let t=i.components.getByIndex(0).componentPlacement;if(!De.isNullOrEmpty(t)){t+="_r"+r.position.toString();for(var d of i.components.list)d.componentPlacement=t}}}return t}finally{this.bandsInProgress.stimulsoft().removeAt(this.bandsInProgress.length-1)}})}renderBand(n,a=!1,s=!1){this.bandsInProgress.push(n);try{let t=new Eu,e=!0;n.is(Jl)&&1<n.columns&&(e=!1);let r=null;if(e){r=this.getChildBands(n);for(var o of r.list)o.keepChildTogether&&this.addLevel()}var l=!0,u={ref:l};let i=this.internalRenderBand(n,a,s,u);if(l=u.ref,null!=i&&t.add(i),e)for(var h of r.list){var c=h.enabled;l||h.printIfParentDisabled||(h.enabled=!1);var d,m={ref:!(!l&&!h.printIfParentDisabled)},p=this.internalRenderBand(h,a,s,m),d=m.ref;null!=p&&t.add(p),h.keepChildTogether&&this.removeLevel(),h.enabled=c}if((n.is($m)&&n.printOnAllPages||n.is(ep)&&n.printOnAllPages)&&null!=i&&0<i.components.count){let e=this;if(null!=this.report&&null!=this.report.engine&&(e=this.report.engine),null==e.componentPlacementRemakeTable&&(e.componentPlacementRemakeTable=new Dt),!e.componentPlacementRemakeTable.containsKey(n)){e.componentPlacementRemakeTable.set(n,null);let t=null;n.is($m)&&(t=Ae.aq.StiHeaderBandBuilder.getMaster(n)),n.is(ep)&&(t=Ae.aq.StiFooterBandBuilder.getMaster(n)),null!=t&&null!=t.masterComponent&&t.masterComponent.is(Jl)&&e.componentPlacementRemakeTable.set(n,t.masterComponent)}let r=e.componentPlacementRemakeTable.get(n);if(null!=r&&r.is(Jl)){let t=i.components.getByIndex(0).componentPlacement;if(!De.isNullOrEmpty(t)){t+="_r"+r.position.toString();for(var g of i.components.list)g.componentPlacement=t}}}return t}finally{this.bandsInProgress.stimulsoft().removeAt(this.bandsInProgress.length-1)}}internalRenderBandAsync(g,f=!1,S=!1,b={ref:!0}){var y;return Y.tsfb(this,void 0,void 0,function*(){let e=null;this.storeLatestDataBand(g);let t=g.as(rl),r=g.as(el),i=null,n=Xr.None;null!=t&&(i=t.brush),null!=r&&null!=r.border&&(n=r.border.side);var a=g.enabled,s,o,o;let l=g.report,u=null,h=!1;if(g.useParentStyles&&null!=g.parent&&(null!=l&&null!=l.engine&&null!=l.engine.hashParentStyles&&0<l.engine.hashParentStyles.count&&(u=l.engine.hashParentStyles.get(g.parent).as(bl)),null==u&&(u=bl.getStyle(g.parent)),null!=u)){u.setStyleToComponent(g),h=!0;let t=g.getComponentStyle2();null!=t&&t.setStyleToComponent(g)}Hd.Engine.useParentStylesOldMode||null!=(s=Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,g.as(Jl),g))&&(u=s),g.invokeBeforePrint(g,Un.empty),null!=l&&null!=l.engine&&l.engine.hashUseParentStyles.containsKey(g)&&(null!=u||De.isNullOrWhiteSpace(g.componentStyle)||(u=l.styles.getByName(g.componentStyle)),null!=l.engine.hashParentStyles&&0<l.engine.hashParentStyles.count&&(null!=(o=null===(y=l.engine.hashParentStyles.get(g))||void 0===y?void 0:y.as(bl))&&(u=o)),o=bl.getStyle(g,u),null==l.engine.hashParentStyles&&(l.engine.hashParentStyles=new Dt),l.engine.hashParentStyles.set(g,o),h=!0);let c=null;g.is(Jl)&&(c=g),!g.is(Jl)||this.isNeedToSkip(g)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0);var o=b.ref,d,m;if(o||(g.enabled=!1),o=g.enabled,b.ref=o,this.isNeedToPrintOddEven(g)&&!this.isNeedToSkip(g)&&g.isEnabled){if(this.setReportVariables(g),f||(yield this.processNewContainerBeforeAsync(g)),e=(yield g.internalRenderAsync()).as(Ql),g.is(Jl)){let t=g;e.containerInfo.dataBandPosition=t.position;var p=null!=t.filterMethodHandler||null!=t.sort&&0<t.sort.length||null!=l.dataBandsUsedInPageTotals&&-1!=l.dataBandsUsedInPageTotals.indexOf(g.name);p&&null!=t.dataSource&&(e.containerInfo.dataSourceRow=t.dataSource.getDataRow(t.dataSource.position)),null==t.businessObject||null==t.masterComponent&&!p||(e.containerInfo.businessObjectCurrent=t.businessObject.current)}null==g.parent||g.isCross||(g.parent.is(Kl)?g.componentType==Xl.Static?e.width=g.parent.width:e.width=g.parent.getColumnWidth():g.isCross||(e.width=g.parent.width));var p=e.page;e.page=g.page,e.invokeEvents(),e.page=p,(e.containerInfo.parentBand=g).componentType!=Xl.Static&&(e.dockStyle=rb.None),Hd.Engine.useParentStylesOldMode&&Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,g.as(Jl),e),this.silentMode||(yield this.renderContainerAsync(e,this.printAtBottom.canProcess(g),this.footersOnAllPages.canProcess(g))),f||this.processNewContainerAfter(g)}return null!=c&&S&&(g.enabled||c.calcInvisible)&&(c.invokeRendering(),c.invokeGroupRendering()),g.invokeAfterPrint(g,Un.empty),h&&null!=l.engine.hashParentStyles&&l.engine.hashParentStyles.remove(g),null!=t&&(t.brush=i),null!=r&&null!=r.border&&(r.border.side=n),g.enabled=a,null!=g.as(el)&&(m=null==e?null:e.as(el)),this.checkContainerOnTable(e),e})}internalRenderBand(e,t=!1,r=!1,i={ref:!0}){let n=null;this.storeLatestDataBand(e);let a=e.as(rl),s=e.as(el),o=null,l=Xr.None;null!=a&&(o=a.brush),null!=s&&null!=s.border&&(l=s.border.side);var u=e.enabled,h,c,c;let d=e.report,m=null,p=!1;if(e.useParentStyles&&null!=e.parent&&(null!=d&&null!=d.engine&&null!=d.engine.hashParentStyles&&0<d.engine.hashParentStyles.count&&(m=d.engine.hashParentStyles.get(e.parent).as(bl)),null==m&&(m=bl.getStyle(e.parent)),null!=m)){m.setStyleToComponent(e),p=!0;let t=e.getComponentStyle2();null!=t&&t.setStyleToComponent(e)}Hd.Engine.useParentStylesOldMode||null!=(h=Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,e.as(Jl),e))&&(m=h),e.invokeBeforePrint(e,Un.empty),null!=d&&null!=d.engine&&d.engine.hashUseParentStyles.containsKey(e)&&(null!=m||De.isNullOrWhiteSpace(e.componentStyle)||(m=d.styles.getByName(e.componentStyle)),null!=d.engine.hashParentStyles&&0<d.engine.hashParentStyles.count&&(null!=(c=d.engine.hashParentStyles.get(e).as(bl))&&(m=c)),c=bl.getStyle(e,m),null==d.engine.hashParentStyles&&(d.engine.hashParentStyles=new Dt),d.engine.hashParentStyles.set(e,c),p=!0);let g=null;e.is(Jl)&&(g=e),!e.is(Jl)||this.isNeedToSkip(e)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0);var c=i.ref,f,S;if(c||(e.enabled=!1),c=e.enabled,i.ref=c,this.isNeedToPrintOddEven(e)&&!this.isNeedToSkip(e)&&e.isEnabled){if(this.setReportVariables(e),t||this.processNewContainerBefore(e),n=e.internalRender().as(Ql),e.is(Jl)){let t=e;n.containerInfo.dataBandPosition=t.position;var b=null!=t.filterMethodHandler||null!=t.sort&&0<t.sort.length||null!=d.dataBandsUsedInPageTotals&&-1!=d.dataBandsUsedInPageTotals.indexOf(e.name);b&&null!=t.dataSource&&(n.containerInfo.dataSourceRow=t.dataSource.getDataRow(t.dataSource.position)),null==t.businessObject||null==t.masterComponent&&!b||(n.containerInfo.businessObjectCurrent=t.businessObject.current)}null==e.parent||e.isCross||(e.parent.is(Kl)?e.componentType==Xl.Static?n.width=e.parent.width:n.width=e.parent.getColumnWidth():e.isCross||(n.width=e.parent.width));var b=n.page;n.page=e.page,n.invokeEvents(),n.page=b,(n.containerInfo.parentBand=e).componentType!=Xl.Static&&(n.dockStyle=rb.None),Hd.Engine.useParentStylesOldMode&&Ae.aq.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,e.as(Jl),n),this.silentMode||this.renderContainer(n,this.printAtBottom.canProcess(e),this.footersOnAllPages.canProcess(e)),t||this.processNewContainerAfter(e)}return null!=g&&r&&(e.enabled||g.calcInvisible)&&(g.invokeRendering(),g.invokeGroupRendering()),e.invokeAfterPrint(e,Un.empty),p&&null!=d.engine.hashParentStyles&&d.engine.hashParentStyles.remove(e),null!=a&&(a.brush=o),null!=s&&null!=s.border&&(s.border.side=l),e.enabled=u,null!=e.as(el)&&(S=null==n?null:n.as(el)),this.checkContainerOnTable(n),n}checkContainerOnTable(e){if(null==e||null==e.containerInfo.parentBand)return;if(e.containerInfo.parentBand.is($m)){if(!e.containerInfo.parentBand.headerBandInfo.isTableHeader)return;let t=e.getComponents();for(var r of t.list){var i=r.as(kd);if(null!=i&&i.join&&null!=i.parentJoinCell){null!=r.parent&&(r.parent.minSize=r.parent.maxSize=new ls(r.parent.width,r.parent.height));var n=t.getByName(i.parentJoinCell.name);null!=n&&(r.height=n.parent.bottom-r.parent.top,i.cellDockStyle!=rb.None&&(r.maxSize=r.minSize=new ls(r.width,r.height)));continue}}return}if(e.containerInfo.parentBand.is(Au)){if(!e.containerInfo.parentBand.groupHeaderBandInfo.isTableGroupHeader)return;let t=e.getComponents();for(var a of t.list){var s=a.as(kd);if(null!=s&&s.join&&null!=s.parentJoinCell){null!=a.parent&&(a.parent.minSize=a.parent.maxSize=new ls(a.parent.width,a.parent.height));var o=t.getByName(s.parentJoinCell.name);null!=o&&(a.height=o.parent.bottom-a.parent.top,s.cellDockStyle!=rb.None&&(a.maxSize=a.minSize=new ls(a.width,a.height)));continue}}return}if(e.containerInfo.parentBand.is(Nd)){let t=e.getComponents();for(var l of t.list){var u=l.as(kd);if(null!=u&&u.join&&null!=u.parentJoinCell){null!=l.parent&&(l.parent.minSize=l.parent.maxSize=new ls(l.parent.width,l.parent.height));var h=t.getByName(u.parentJoinCell.name);null!=h&&(l.height=h.parent.bottom-l.parent.top,u.cellDockStyle!=rb.None&&(l.maxSize=l.minSize=new ls(l.width,l.height)));continue}}return}if(e.containerInfo.parentBand.is(ep)){if(!e.containerInfo.parentBand.footerBandInfo.isTableFooter)return;let t=e.getComponents();for(var c of t.list){var d=c.as(kd);if(null!=d&&d.join&&null!=d.parentJoinCell){null!=c.parent&&(c.parent.minSize=c.parent.maxSize=new ls(c.parent.width,c.parent.height));var m=t.getByName(d.parentJoinCell.name);null!=m&&(c.height=m.parent.bottom-c.parent.top,d.cellDockStyle!=rb.None&&(c.maxSize=c.minSize=new ls(c.width,c.height)));continue}}return}if(e.containerInfo.parentBand.is(tp)){if(!e.containerInfo.parentBand.groupFooterBandInfo.isTableGroupFooter)return;let t=e.getComponents();for(var p of t.list){var g=p.as(kd);if(null!=g&&g.join&&null!=g.parentJoinCell){null!=p.parent&&(p.parent.minSize=p.parent.maxSize=new ls(p.parent.width,p.parent.height));var f=t.getByName(g.parentJoinCell.name);null!=f&&(p.height=f.parent.bottom-p.parent.top,g.cellDockStyle!=rb.None&&(p.maxSize=p.minSize=new ls(p.width,p.height)));continue}}return}}renderContainerAsync(e,r=!1,i=!1){return Y.tsfb(this,void 0,void 0,function*(){if(e.is(Ae.aq.StiColumnsContainer))return this.internalRenderColumnsContainer(e);e.containerInfo.isColumns&&null==this.columnsOnDataBand.getColumns()&&(yield this.columnsOnDataBand.renderColumnsAsync(e.containerInfo.parentBand));var t=null!=e.containerInfo.parentBand?e.containerInfo.parentBand.as(Jl):null;if(null!=t&&1<t.columns&&this.columnsOnDataBand.enabled)return yield this.internalRenderContainerToColumnsAsync(e,r,i);return yield this.internalRenderContainerAsync(e,r,i)})}renderContainer(t,e=!1,r=!1){if(t.is(Ae.aq.StiColumnsContainer))return this.internalRenderColumnsContainer(t);t.containerInfo.isColumns&&null==this.columnsOnDataBand.getColumns()&&this.columnsOnDataBand.renderColumns(t.containerInfo.parentBand);var i=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.as(Jl):null;if(null!=i&&1<i.columns&&this.columnsOnDataBand.enabled)return this.internalRenderContainerToColumns(t,e,r);return this.internalRenderContainer(t,e,r)}internalRenderColumnsContainer(t){return this.isCrossBandsMode?(t.top=this.positionY,t.left=this.positionX,this.addContainerToDestination(t),this.crossFreeSpace-=t.width,this.positionX+=t.width):(t.left=this.positionX,t.top=this.positionY,this.addContainerToDestination(t),this.freeSpace-=t.height,this.positionY+=t.height),t}internalRenderContainerToColumnsAsync(a,s,o){return Y.tsfb(this,void 0,void 0,function*(){a.containerInfo.isColumns=!0;let e=this.columnsOnDataBand.getColumns();if(null==e)return null;let r=e.howMuchAdditionalSpaceNeeded(e.height,a);if(0<r){let t=0;var i,n;if(null!=e.page&&e.page.unlimitedHeight&&e.page.unlimitedBreakable&&(i=e.page.pageHeight-e.page.margins.top-e.page.margins.bottom,(e.top+e.height)/i!=(e.top+e.height+r)/i&&(t+=i-(e.top+e.height)%i,r-=t)),this.freeSpace<r&&!this.flagRenderColumnsOnDataBandOnNewPage&&0!=this.positionY){let t=null!=e.containerInfo.parentBand?e.containerInfo.parentBand.as(Jl):null;return null==t&&(t=a.containerInfo.parentBand.as(Jl)),yield this.newDestinationAsync(),null==(n=this.columnsOnDataBand.getColumns())?n=yield this.columnsOnDataBand.renderColumnsAsync(t):this.columnsOnDataBand.enabled=!0,this.flagRenderColumnsOnDataBandOnNewPage=!0,yield this.renderContainerAsync(a,s,o),a}this.flagRenderColumnsOnDataBandOnNewPage=!1,e.height+=r+t,this.positionY+=r,this.freeSpace-=r}return e.addContainer(a),a})}internalRenderContainerToColumns(e,r,i){e.containerInfo.isColumns=!0;let n=this.columnsOnDataBand.getColumns();if(null==n)return null;let a=n.howMuchAdditionalSpaceNeeded(n.height,e);if(0<a){let t=0;var s,o;if(null!=n.page&&n.page.unlimitedHeight&&n.page.unlimitedBreakable&&(s=n.page.pageHeight-n.page.margins.top-n.page.margins.bottom,(n.top+n.height)/s!=(n.top+n.height+a)/s&&(t+=s-(n.top+n.height)%s,a-=t)),this.freeSpace<a&&!this.flagRenderColumnsOnDataBandOnNewPage&&0!=this.positionY){let t=null!=n.containerInfo.parentBand?n.containerInfo.parentBand.as(Jl):null;return null==t&&(t=e.containerInfo.parentBand.as(Jl)),this.newDestination(),null==(o=this.columnsOnDataBand.getColumns())?o=this.columnsOnDataBand.renderColumns(t):this.columnsOnDataBand.enabled=!0,this.flagRenderColumnsOnDataBandOnNewPage=!0,this.renderContainer(e,r,i),e}this.flagRenderColumnsOnDataBandOnNewPage=!1,n.height+=a+t,this.positionY+=a,this.freeSpace-=a}return n.addContainer(e),e}internalRenderContainerAsync(i,n,a){return Y.tsfb(this,void 0,void 0,function*(){if(this.columnsOnDataBand.enabled=!1,0<this.columnsOnPanel.count&&(null!=i.containerInfo&&null!=i.containerInfo.parentBand&&i.containerInfo.parentBand.parent.is(Kl)&&i.containerInfo.parentBand.componentType==Xl.Static?i.width=i.containerInfo.parentBand.parent.width:i.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(i.containerInfo.parentBand))return null;var t;null!=i.containerInfo.parentBand&&i.containerInfo.parentBand.is(Yl)&&i.containerInfo.parentBand.getMaster().componentType==Xl.Static&&this.breakable.setCanBreak(i);var e=null!=i.containerInfo.parentBand&&null!=i.containerInfo.parentBand.page&&i.containerInfo.parentBand.page.unlimitedHeight;0<this.lastFreeSpaceOnPageAfterNewList&&i.height>this.lastFreeSpaceOnPageAfterNewList&&!i.canBreak&&!e&&this.breakable.setCanBreak(i);var r=(i=yield this.breakable.processBreakableAsync(i)).canBreak,e=this.report.renderedPages.count;while(yield this.checkFreeSpace1Async(i));return e!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(i),r!=i.canBreak&&(i=yield this.breakable.processBreakableAsync(i)),this.isCrossBandsMode?(i.top=this.positionY,this.crossFreeSpace-=i.width):(i.left=this.positionX,this.freeSpace=this.freeSpace-i.height),null!=i.containerInfo.parentBand&&i.containerInfo.parentBand.is(Ae.ap.StiPageFooterBand)?(i.top=this.positionBottomY-i.height,this.positionBottomY-=i.height):(this.isCrossBandsMode?i.left=this.positionX:i.top=this.positionY,a||n?(a&&this.footersOnAllPages.add(i),n&&this.printAtBottom.add(i)):this.isCrossBandsMode?this.positionX+=i.width:this.positionY+=i.height),this.addContainerToDestination(i),null!=i.containerInfo.parentBand&&i.containerInfo.parentBand.is(Jl)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),i})}internalRenderContainer(t,e,r){if(this.columnsOnDataBand.enabled=!1,0<this.columnsOnPanel.count&&(null!=t.containerInfo&&null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.parent.is(Kl)&&t.containerInfo.parentBand.componentType==Xl.Static?t.width=t.containerInfo.parentBand.parent.width:t.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(t.containerInfo.parentBand))return null;var i;null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Yl)&&t.containerInfo.parentBand.getMaster().componentType==Xl.Static&&this.breakable.setCanBreak(t);var n=null!=t.containerInfo.parentBand&&null!=t.containerInfo.parentBand.page&&t.containerInfo.parentBand.page.unlimitedHeight;0<this.lastFreeSpaceOnPageAfterNewList&&t.height>this.lastFreeSpaceOnPageAfterNewList&&!t.canBreak&&!n&&this.breakable.setCanBreak(t);var a=(t=this.breakable.processBreakable(t)).canBreak,n=this.report.renderedPages.count;while(this.checkFreeSpace1(t));return n!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(t),a!=t.canBreak&&(t=this.breakable.processBreakable(t)),this.isCrossBandsMode?(t.top=this.positionY,this.crossFreeSpace-=t.width):(t.left=this.positionX,this.freeSpace=this.freeSpace-t.height),null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Ae.ap.StiPageFooterBand)?(t.top=this.positionBottomY-t.height,this.positionBottomY-=t.height):(this.isCrossBandsMode?t.left=this.positionX:t.top=this.positionY,r||e?(r&&this.footersOnAllPages.add(t),e&&this.printAtBottom.add(t)):this.isCrossBandsMode?this.positionX+=t.width:this.positionY+=t.height),this.addContainerToDestination(t),null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(Jl)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),t}},l;K.specialContainerHeight2=1e11-100,Ae.aq.StiEngine=K,Ae.aq.StiFooterMarkerContainer=class extends Ql{},Ae.aq.StiFootersOnAllPages=class{constructor(t){this.bands=new Dt,this.engine=null,this.engine=t}add(t){this.bands.set(t,t)}canProcess(t){var t=t.as(ep);return null!=t&&t.printOnAllPages}render(n,t,e){if(null==n||0==this.bands.count)return;let a=e.ref,s=new Dt,o=[],l=null,u=!0;for(let i=t;i<n.components.count;i++){let r=n.components.getByIndex(i).as(Ql);if(null==r)continue;if(null!=r.containerInfo.parentBand&&r.containerInfo.parentBand.is(Jl)&&(l=r.containerInfo.parentBand.as(Jl)),r==a&&(u=!1),u&&null!=this.bands.get(r)){null!=r.containerInfo.parentBand&&r.containerInfo.parentBand.is(ep)&&r.containerInfo.parentBand.invokeMoveFooterToBottom();let t=s.get(r.name);null==t&&(t=[],s.set(r.name,t)),t.push(r),o.push(r)}if(r.is(Ae.aq.StiFooterMarkerContainer)){let e=s.get(r.name);if(null!=e&&0<e.length){let t=e[e.length-1].as(Ql);var h=n.components.indexOf(t);e.stimulsoft().removeAt(e.length-1),n.components.removeAt(i),n.components.insert(i,t),n.components.removeAt(h),i--,o.stimulsoft().remove(t);var c=t.height;t.top=r.top,this.engine.positionY+=t.height;for(let e=i+1;e<n.components.count;e++){let t=n.components.getByIndex(e).as(Ql);if(null==t)continue;if(t==a)break;t.top+=c}t.containerInfo.isAutoRendered=!0,r==a&&(a=t)}}}for(var r of o){let e=null;if(null!=r.containerInfo.parentBand&&r.containerInfo.parentBand.is(ep))for(var i of n.components.list)if(i!=r&&i.is(Ql)&&!s.containsKey(i.name)){let t=i.as(Ql);if(null!=t.containerInfo&&null!=t.containerInfo.parentBand&&(t.containerInfo.parentBand.is(ep)||t.containerInfo.parentBand.is(Ae.ap.StiReportSummaryBand))){if(t.containerInfo.parentBand.is(Ae.ap.StiReportSummaryBand)){e=i;break}if(null==l){e=i;break}for(var d of l.dataBandInfo.footersOnAllPages.list)if(d.name==i.name){e=i;break}for(var m of l.dataBandInfo.footersOnLastPage.list)if(m.name==i.name){e=i;break}}}if(null!=e){n.components.remove(r);var p=n.components.indexOf(e);n.components.insert(p,r),r.top=e.top;for(let t=p+1;t<n.components.count;t++)n.components.getByIndex(t).top+=r.height;this.engine.positionY+=r.height}else n.components.remove(r),n.components.add(r),r.top=this.engine.positionY,this.engine.positionY+=r.height;r.containerInfo.isAutoRendered=!0}return this.bands.clear(),void(e.ref=a)}},Ae.aq.StiIndex=class{constructor(t,e=-1){this.index=-1,this.indexInColumnContainer=-1,this.index=t,this.indexInColumnContainer=e}},Ae.aq.StiLevelContainer=class extends Ql{},Ae.aq.StiLevelEndContainer=class extends Ae.aq.StiLevelContainer{constructor(){super(),this.name="LevelEnd",this.height=0,this.interaction=null}},Ae.aq.StiLevelStartContainer=class extends Ae.aq.StiLevelContainer{constructor(){super(),this.name="LevelStart",this.height=0,this.interaction=null}},Ae.aq.StiNewPageContainer=class extends Ql{constructor(){super(),this.name="NewPageContainer",this.height=0,this.interaction=null}},Ae.aq.StiOddEvenStylesHelper=class{static applyOddEvenStyles(r,i,n){let a=null;if(null!=r&&0<r.styles.count&&null!=i){let t=i.stimulsoft().as(gl),e=!0;if(t.isPropertyPresent(Jl.propertyEvenStyle)){let t=!1;if(t=i.stimulsoft().is(Jl)?1==(1&i.position):0==(1&r.lineThrough),t){var s=i.evenStyle;if(!De.isNullOrEmpty(s)){let t=r.styles.getByName(s);null!=t&&(t.setStyleToComponent(n),a=t,e=!1)}}}if(e&&t.isPropertyPresent(Jl.propertyOddStyle)){let t=!1;if(t=i.stimulsoft().is(Jl)?1==(1&i.position):0==(1&r.lineThrough),!t){var i=i.oddStyle;if(!De.isNullOrEmpty(i)){let t=r.styles.getByName(i);null!=t&&(t.setStyleToComponent(n),a=t)}}}}return a}};let ab=Ae.at.StiCrossHorAlignment,sb=Ae.at.StiCrossTabHelper,ob=Ae.at.StiCrossTabParams;{let A=class{static createListOfDataBands(i,n,a,t,e){let s=null;var r,o;for(o of i.getComponents().list){let r=o.as(Jl);if(null!=r&&(null==r.masterComponent||r.masterComponent==i.pageInfo.masterDataBand)){if(r.is(Nd)&&!r.enabled)continue;let e=!1;if(!r.isBusinessObjectEmpty){if(null!=r.businessObject.parentBusinessObject){let t=null;r.parent.is(Kl)&&0<n.length?t=n[n.length-1]:0<a.length&&(t=a[a.length-1]),null==t||(t.isBusinessObjectEmpty||t.businessObjectGuid!=r.businessObject.parentBusinessObject.guid)&&r.businessObject.parentBusinessObject.guid!=s||(e=!0)}s=r.businessObjectGuid}e||(r.parent.is(Kl)?n.push(r):null==Ae.aq.StiSubReportsHelper.getParentBand(r)&&a.push(r),s=null)}var l=o.as(yl);null!=l&&l.enabled&&(null!=Ae.aq.StiSubReportsHelper.getParentBand(l)||i.printOnPreviousPage||t.push(l));var l=o.as(Bu);null!=l&&o.enabled&&null==Ae.aq.StiSubReportsHelper.getParentBand(o.as(Bu))&&e.push(l)}let u=!0;while(u){u=!1;let t=new Dt,e=0;while(e<n.length){var h=n[e];if(!h.isBusinessObjectEmpty){var c=h.businessObject;if(null!=c.parentBusinessObject&&null==t.get(c.parentBusinessObject)&&null==h.masterComponent){let t=new Jl;t.businessObjectGuid=c.parentBusinessObject.guid,t.height=0,t.page=i,t.parent=h.parent,t.prepare(),t.dataBandInfo.detailDataBands.contains(h)||t.dataBandInfo.detailDataBands.add(h),n[e]=t,u=!0}else t.set(c,c)}e++}}}static getReportTitles(t){let e=[];if(t.titleBeforeHeader)return e;for(var r of t.components.list){var r=r.as(Ae.ap.StiReportTitleBand);null!=r&&e.push(r)}return e}static getReportSummaries(t){let e=[];for(var r of t.components.list){var r=r.as(Ae.ap.StiReportSummaryBand);null!=r&&e.push(r)}return e}static renderSimpleComponentsAsync(c,d){return Y.tsfb(this,void 0,void 0,function*(){let e=0,i=0,n=c.as(Du);null!=n&&(e=n.columns<2?1:n.columns,i=n.getColumnWidth()+n.columnGaps);for(let t=0;t<e;t++){c.report.column=t+1;for(var a of c.components.list)if(a.componentType==Xl.Simple){a.parentBookmark=d.currentBookmark,a.parentPointer=d.currentPointer;let e=null,r=new Dt;if(this.checkContainerForBandsAndOtherContainers(a,r)&&0<r.count){let t;for(t of r.keys)t.canShrink=!1;e=yield a.renderAsync();for(t of r.keys)t.canShrink=!0;r.clear()}else e=yield a.renderAsync();if(null==e)continue;if(null!=n&&1<n.columns&&!e.is(Ae.ap.StiCrossLinePrimitive)&&(n.rightToLeft?e.left+=c.width-i*(t+1)+n.columnGaps:e.left+=i*t),d.components.add(e),Hd.Engine.allowInteractionInChartWithComponents){var a=e;if(null!=a&&null!=a.chartInfo.interactiveComps)for(var s of a.chartInfo.interactiveComps)s.left+=e.left,s.top+=e.top,d.components.add(s)}}}Wl.checkSize(c.report.engine.containerForRender);let r=new Dt;var t,o,l;for(o of d.getComponents().list){var u=o.as(Ql);if(null!=u){let t=r.get(u.name);null==t&&(t=[],r.set(u.name,t)),t.push(u)}}for(l of r.values){let t=1;for(var h of l)h.containerInfo.renderStep=t,t++}c.report.column=1,d.dockToContainer()})}static renderSimpleComponents(r,i){let t=0,n=0,a=r.as(Du);null!=a&&(t=a.columns<2?1:a.columns,n=a.getColumnWidth()+a.columnGaps);for(let e=0;e<t;e++){r.report.column=e+1;for(var s of r.components.list)if(s.componentType==Xl.Simple){s.parentBookmark=i.currentBookmark,s.parentPointer=i.currentPointer;let t=s.render();if(null==t)continue;if(null!=a&&1<a.columns&&!t.is(Ae.ap.StiCrossLinePrimitive)&&(a.rightToLeft?t.left+=r.width-n*(e+1)+a.columnGaps:t.left+=n*e),i.components.add(t),Hd.Engine.allowInteractionInChartWithComponents){var s=t;if(null!=s&&null!=s.chartInfo.interactiveComps)for(var o of s.chartInfo.interactiveComps)o.left+=t.left,o.top+=t.top,i.components.add(o)}}}Wl.checkSize(r.report.engine.containerForRender);let e=new Dt;var l,u,h;for(u of i.getComponents().list){var c=u.as(Ql);if(null!=c){let t=e.get(c.name);null==t&&(t=[],e.set(c.name,t)),t.push(c)}}for(h of e.values){let t=1;for(var d of h)d.containerInfo.renderStep=t,t++}r.report.column=1,i.dockToContainer()}static checkContainerForBandsAndOtherContainers(t,e){if(null==t)return!1;var r=t.as(Ql);if(null!=r&&0<r.components.count){r.canShrink&&e.set(r,null);let t;for(t of r.components.list){if(t.is(Ae.ap.StiBand))return!0;if(t==r)return!1;if(this.checkContainerForBandsAndOtherContainers(t,e))return!0;break}}return!1}static prepareBookmark(t){t.parentBookmark=t.report.bookmark,t.doBookmark()}static preparePointer(t){t.parentPointer=t.report.pointer,t.doPointer()}static renderPageAsync(I){return Y.tsfb(this,void 0,void 0,function*(){I.invokeBeginRender(),I.resetPageNumber&&(null!=I.pageInfo&&-1!=I.pageInfo.indexOfStartRenderedPages?I.report.engine.pageNumbers.resetPageNumber(I.pageInfo.indexOfStartRenderedPages):I.report.engine.pageNumbers.resetPageNumber());var e=A.getReportTitles(I),r=A.getReportSummaries(I),i=[],t=[],n=[],a=[],s,o,l,u,h,c;A.createListOfDataBands(I,i,t,n,a);let d=I.report.engine;for(s of t){let t=yield d.threads.createContainerEngineAsync(s.parent.name,I.report,d,I.pageInfo.indexOfStartRenderedPages);I.report.engine.slaveEngines.set(s.parent.name,t),t.printOnAllPagesIgnoreList=d.printOnAllPagesIgnoreList}for(o of n){var m=yield d.threads.createContainerEngineAsync(o.name,I.report,d,I.pageInfo.indexOfStartRenderedPages);I.report.engine.slaveEngines.set(o.name,m)}for(l of a){var p=yield d.threads.createContainerEngineAsync(l.name,I.report,d,I.pageInfo.indexOfStartRenderedPages);I.report.engine.slaveEngines.set(l.name,p)}if(0<i.length){let t=1;for(var g of i){if(g.is(Nd)&&!g.enabled)continue;1==t&&(I.report.engine.isFirstDataBandOnPage=!0,g.dataBandInfo.reportTitles=e),t==i.length&&(I.report.engine.isLastDataBandOnPage=!0,g.dataBandInfo.reportSummaries=r),g.parentBookmark=(null!=I.report.engine.page?I.report.engine.page:I).currentBookmark,g.parentPointer=(null!=I.report.engine.page?I.report.engine.page:I).currentPointer,yield g.renderMasterAsync(),g.dataBandInfo.reportTitles=null,g.dataBandInfo.reportSummaries=null,I.report.engine.isFirstDataBandOnPage=!1,I.report.engine.isLastDataBandOnPage=!1,t++}}else{if(null!=e)for(var f of e){f.printIfEmpty&&(f.parentBookmark=(null!=I.report.engine.page?I.report.engine.page:I).currentBookmark,u=f.doBookmark(),f.parentPointer=(null!=I.report.engine.page?I.report.engine.page:I).currentPointer,f.doPointer(!u),yield I.report.engine.renderBandAsync(f))}if(null!=r)for(var S of r){S.printIfEmpty&&(S.parentBookmark=(null!=I.report.engine.page?I.report.engine.page:I).currentBookmark,h=S.doBookmark(),S.parentPointer=(null!=I.report.engine.page?I.report.engine.page:I).currentPointer,S.doPointer(!h),yield I.report.engine.renderBandAsync(S))}}try{for(var b of t){let t=d.slaveEngines.get(b.parent.name);0==t.freeSpace&&(t.freeSpace=b.parent.height),null!=b.parent&&b.parent.canGrow&&b.parent.parent.is(Kl)&&t.freeSpace<1e11/2&&(t.freeSpace=d.positionBottomY-b.parent.top,null!=t.containerForRender&&(t.containerForRender.height=t.freeSpace)),I.report.engine=t,null!=t.containerForRender&&(b.parentBookmark=t.containerForRender.currentBookmark,b.parentPointer=t.containerForRender.currentPointer),yield b.renderMasterAsync()}}finally{I.report.engine=d}try{for(var y of n){let t=d.slaveEngines.get(y.name);I.report.engine=t;let e=new Ql(y.clientRectangle);e.name="Temp Container",e.canBreak=!0,yield Ae.aq.StiSubReportsHelper.renderSubReportAsync(e,y);let r=0;for(var v of e.components.list)r=Math.max(v.bottom,r);e.height=r,null!=t.containerForRender&&(yield t.renderContainerAsync(e))}}finally{I.report.engine=d}try{for(var w of a){let r=d.slaveEngines.get(w.name);I.report.engine=r;let i=new ob;var C=w,T,P;sb.createCross(C);while(!i.renderingIsFinished&&null!=r.containerForRender){C.horAlignment==ab.None?r.containerForRender.width=r.containerForRender.parent.width-r.containerForRender.left:r.containerForRender.width=r.containerForRender.parent.width;let t=!1;r.containerForRender.parent.canShrink&&0==r.containerForRender.parent.height?(T=I.getComponents().getByName(r.containerForRender.parent.name),t=!0,r.containerForRender.parent.width=T.width,r.containerForRender.parent.height=T.height,r.containerForRender.width=T.width,r.containerForRender.height=T.height):r.containerForRender.height=r.containerForRender.parent.height-r.containerForRender.top,i.destinationRectangle=r.containerForRender.clientRectangle.clone(),i.destinationContainer=r.containerForRender;let e=Ae.aq.StiBuilder.getBuilder(Bu).stimulsoft().as(Ae.aq.StiCrossTabV2Builder);if(yield e.renderCrossTabAsync(i,C),t&&(P=r.containerForRender.parent.getActualSize(),r.containerForRender.parent.width=P.width,r.containerForRender.parent.height=P.height),!i.renderingIsFinished)if(r.containerForRender.parent.height>Ae.aq.StiEngine.specialContainerHeight2){let t=new Ae.aq.StiNewPageContainer;t.top=r.positionY,t.height=r.templatePage.height<Ae.aq.StiEngine.specialContainerHeight2?r.templatePage.height:r.templatePage.unit.convertFromHInches(1170),r.positionY+=t.height,r.freeSpace-=t.height,r.offsetNewColumnY=r.positionY-r.staticBands.reservedPositionY,r.containerForRender.parent.components.add(t);let e=r.containerForRender.clone(!0,!1).as(Ql);e.top=r.positionY,r.containerForRender.parent.components.add(e),r.containerForRender=e}else yield r.newDestinationAsync()}sb.clearCross(C)}}finally{I.report.engine=d}I.invokeEndRender(),I.invokeColumnEndRender(),I.isRendered=!0;for(c of d.slaveEngines.values)yield c.finalClearAsync();I.report.engine.slaveEngines.clear()})}static renderPage(n){n.invokeBeginRender(),n.resetPageNumber&&(null!=n.pageInfo&&-1!=n.pageInfo.indexOfStartRenderedPages?n.report.engine.pageNumbers.resetPageNumber(n.pageInfo.indexOfStartRenderedPages):n.report.engine.pageNumbers.resetPageNumber());var e=A.getReportTitles(n),r=A.getReportSummaries(n),i=[],t=[],a=[],s=[],o,l,u,h,c,d;A.createListOfDataBands(n,i,t,a,s);let m=n.report.engine;for(o of t){let t=m.threads.createContainerEngine(o.parent.name,n.report,m,n.pageInfo.indexOfStartRenderedPages);n.report.engine.slaveEngines.set(o.parent.name,t),t.printOnAllPagesIgnoreList=m.printOnAllPagesIgnoreList}for(l of a){var p=m.threads.createContainerEngine(l.name,n.report,m,n.pageInfo.indexOfStartRenderedPages);n.report.engine.slaveEngines.set(l.name,p)}for(u of s){var g=m.threads.createContainerEngine(u.name,n.report,m,n.pageInfo.indexOfStartRenderedPages);n.report.engine.slaveEngines.set(u.name,g)}if(0<i.length){let t=1;for(var f of i){if(f.is(Nd)&&!f.enabled)continue;1==t&&(n.report.engine.isFirstDataBandOnPage=!0,f.dataBandInfo.reportTitles=e),t==i.length&&(n.report.engine.isLastDataBandOnPage=!0,f.dataBandInfo.reportSummaries=r),f.parentBookmark=(null!=n.report.engine.page?n.report.engine.page:n).currentBookmark,f.parentPointer=(null!=n.report.engine.page?n.report.engine.page:n).currentPointer,f.renderMaster(),f.dataBandInfo.reportTitles=null,f.dataBandInfo.reportSummaries=null,n.report.engine.isFirstDataBandOnPage=!1,n.report.engine.isLastDataBandOnPage=!1,t++}}else{if(null!=e)for(var S of e){S.printIfEmpty&&(S.parentBookmark=(null!=n.report.engine.page?n.report.engine.page:n).currentBookmark,h=S.doBookmark(),S.parentPointer=(null!=n.report.engine.page?n.report.engine.page:n).currentPointer,S.doPointer(!h),n.report.engine.renderBand(S))}if(null!=r)for(var b of r){b.printIfEmpty&&(b.parentBookmark=(null!=n.report.engine.page?n.report.engine.page:n).currentBookmark,c=b.doBookmark(),b.parentPointer=(null!=n.report.engine.page?n.report.engine.page:n).currentPointer,b.doPointer(!c),n.report.engine.renderBand(b))}}try{for(var y of t){let t=m.slaveEngines.get(y.parent.name);0==t.freeSpace&&(t.freeSpace=y.parent.height),null!=y.parent&&y.parent.canGrow&&y.parent.parent.is(Kl)&&t.freeSpace<Ae.aq.StiEngine.specialContainerHeight2/2&&m.freeSpace<Ae.aq.StiEngine.specialContainerHeight2/2&&(t.freeSpace=m.positionBottomY-y.parent.top,null!=t.containerForRender&&(t.containerForRender.height=t.freeSpace),n.unlimitedHeight&&(t.freeSpace=Ae.aq.StiEngine.specialContainerHeight2)),n.report.engine=t,null!=t.containerForRender&&(y.parentBookmark=t.containerForRender.currentBookmark,y.parentPointer=t.containerForRender.currentPointer),y.renderMaster()}}finally{n.report.engine=m}try{for(var v of a){let t=m.slaveEngines.get(v.name);n.report.engine=t;let e=new Ql(v.clientRectangle);e.name="Temp Container",e.canBreak=!0,Ae.aq.StiSubReportsHelper.renderSubReport(e,v);let r=0;for(var w of e.components.list)r=Math.max(w.bottom,r);e.height=r,null!=t.containerForRender&&t.renderContainer(e)}}finally{n.report.engine=m}try{for(var C of s){let r=m.slaveEngines.get(C.name);n.report.engine=r;let i=new ob;var T=C,P,I;sb.createCross(T);while(!i.renderingIsFinished&&null!=r.containerForRender){T.horAlignment==ab.None?r.containerForRender.width=r.containerForRender.parent.width-r.containerForRender.left:r.containerForRender.width=r.containerForRender.parent.width;let t=!1;r.containerForRender.parent.canShrink&&0==r.containerForRender.parent.height?(P=n.getComponents().getByName(r.containerForRender.parent.name),t=!0,r.containerForRender.parent.width=P.width,r.containerForRender.parent.height=P.height,r.containerForRender.width=P.width,r.containerForRender.height=P.height):r.containerForRender.height=r.containerForRender.parent.height-r.containerForRender.top,i.destinationRectangle=r.containerForRender.clientRectangle.clone(),i.destinationContainer=r.containerForRender;let e=Ae.aq.StiBuilder.getBuilder(Bu).stimulsoft().as(Ae.aq.StiCrossTabBuilder);if(e.renderCrossTab(i,T),t&&(I=r.containerForRender.parent.getActualSize(),r.containerForRender.parent.width=I.width,r.containerForRender.parent.height=I.height),!i.renderingIsFinished)if(r.containerForRender.parent.height>Ae.aq.StiEngine.specialContainerHeight2){let t=new Ae.aq.StiNewPageContainer;t.top=r.positionY,t.height=r.templatePage.height<Ae.aq.StiEngine.specialContainerHeight2?r.templatePage.height:r.templatePage.unit.convertFromHInches(1170),r.positionY+=t.height,r.freeSpace-=t.height,r.offsetNewColumnY=r.positionY-r.staticBands.reservedPositionY,r.containerForRender.parent.components.add(t);let e=r.containerForRender.clone(!0,!1).as(Ql);e.top=r.positionY,r.containerForRender.parent.components.add(e),r.containerForRender=e}else r.newDestination()}sb.clearCross(T)}}finally{n.report.engine=m}n.invokeEndRender(),n.invokeColumnEndRender(),n.isRendered=!0;for(d of m.slaveEngines.values)d.finalClear();n.report.engine.slaveEngines.clear()}static renderOverlaysAsync(d,m){return Y.tsfb(this,void 0,void 0,function*(){var s=d.pageInfo.overlays;if(null!=s){let e=[],r=[],i=[];for(var o of s.list){let t=yield o.renderAsync();null!=t&&(t.dockStyle=rb.None,m.components.add(t),o.vertAlignment==Go.Top?e.push(t):o.vertAlignment==Go.Center?r.push(t):o.vertAlignment==Go.Bottom&&i.push(t),t=null)}let t=-d.margins.top;for(var l of e)l.top=t,t+=l.height;let n=d.height+d.margins.bottom;for(var u of i)u.top=n-u.height,n-=u.height;let a=0;for(var h of r)a+=h.height;t=(d.height-a)/2;for(var c of r)c.top=t,t+=c.height}})}static renderOverlays(s,o){var l=s.pageInfo.overlays;if(null!=l){let e=[],r=[],i=[];for(var u of l.list){let t=u.render();null!=t&&(t.dockStyle=rb.None,o.components.add(t),u.vertAlignment==Go.Top?e.push(t):u.vertAlignment==Go.Center?r.push(t):u.vertAlignment==Go.Bottom&&i.push(t),t=null)}let t=-s.margins.top;for(var h of e)h.top=t,t+=h.height;let n=s.height+s.margins.bottom;for(var c of i)c.top=n-c.height,n-=c.height;let a=0;for(var d of r)a+=d.height;t=(s.height-a)/2;for(var m of r)m.top=t,t+=m.height}}static getPageFromTemplateAsync(t){return Y.tsfb(this,void 0,void 0,function*(){let i=t.clone(!1,!1);if(Hd.Engine.Watermark.allowExpression&&null!=i.watermark&&null!=i.watermark.text&&0<i.watermark.text.length&&i.watermark.text.stimulsoft().contains("{")&&i.watermark.text.stimulsoft().contains("}")&&!i.watermark.text.stimulsoft().contains("{{")&&!i.watermark.text.stimulsoft().contains("}}"))try{let t=new Ae.ap.StiText;t.page=i;let e=Ae.bb.StiParser.parseTextValue(i.watermark.text,t);i.watermark.text=e.toString()}catch(t){}if(null!=i.watermark&&!De.isNullOrEmpty(i.watermark.enabledExpression))try{let t=new $o;t.page=i;let e=i.watermark.enabledExpression.trim();e.stimulsoft().startsWith("{")||(e="{"+e),e.stimulsoft().endsWith("}")||(e+="}");let r=wd.parseTextValue(e,t);i.watermark.enabled=r.stimulsoft().toBoolean()}catch(t){}return 0<t.pageInfo.renderedCount&&(i.guid=Ts.newGuid()),i.invokeEvents(),yield this.renderOverlaysAsync(t,i),t.pageInfo.renderedCount++,i})}static getPageFromTemplate(t){let i=t.clone(!1,!1);if(Hd.Engine.Watermark.allowExpression&&null!=i.watermark&&null!=i.watermark.text&&0<i.watermark.text.length&&i.watermark.text.stimulsoft().contains("{")&&i.watermark.text.stimulsoft().contains("}")&&!i.watermark.text.stimulsoft().contains("{{")&&!i.watermark.text.stimulsoft().contains("}}"))try{let t=new Ae.ap.StiText;t.page=i;let e=Ae.bb.StiParser.parseTextValue(i.watermark.text,t);i.watermark.text=e.toString()}catch(t){}if(null!=i.watermark&&!De.isNullOrEmpty(i.watermark.enabledExpression))try{let t=new $o;t.page=i;let e=i.watermark.enabledExpression.trim();e.stimulsoft().startsWith("{")||(e="{"+e),e.stimulsoft().endsWith("}")||(e+="}");let r=wd.parseTextValue(e,t);i.watermark.enabled=r.toBoolean()}catch(t){}return 0<t.pageInfo.renderedCount&&(i.guid=Ts.newGuid()),i.invokeEvents(),this.renderOverlays(t,i),t.pageInfo.renderedCount++,i}};Ae.aq.StiPageHelper=A}Ae.aq.StiPageNumber=class{constructor(){this.resetPageNumber=!1,this.pageNumber=-1,this.totalPageCount=-1,this.pageNumberThrough=-1,this.totalPageCountThrough=-1,this.segmentPerWidth=1,this.segmentPerHeight=1,this.fixedPosition=!1}get step(){return this.segmentPerWidth*this.segmentPerHeight}},Ae.aq.StiPageNumberCollection=class extends J{},Ae.aq.StiPageNumberHelper=class{constructor(t){this.engine=null,this.finished=!1,this.clearPageNumbersOnFinish=!0,this.pageNumbers=new Ae.aq.StiPageNumberCollection,this.engine=t}resetPageNumber(t=this.pageNumbers.count-1){t<this.pageNumbers.count&&(this.pageNumbers.getByIndex(t).resetPageNumber=!0)}addPageNumber(t,e,r){if(t>=this.pageNumbers.count){let t=new Ae.aq.StiPageNumber;t.segmentPerWidth=e,t.segmentPerHeight=r,this.pageNumbers.add(t)}}getPageNumber(t){let e;if(e=t.stimulsoft().is(Kl)?this.engine.report.renderedPages.indexOf(t):t,!this.finished){if(0==this.engine.report.renderedPages.count)return 1;if(null!=this.pageNumbers&&0<=e&&e<this.pageNumbers.count&&this.pageNumbers.getByIndex(e).resetPageNumber)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return e+1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).pageNumber}getTotalPageCount(t){let e;if(e=t.stimulsoft().is(Kl)?this.engine.report.renderedPages.indexOf(t):t,!this.finished){if(0==this.engine.report.renderedPages.count)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).totalPageCount}getPageNumberThrough(t){let e;if(e=t.stimulsoft().is(Kl)?this.engine.report.renderedPages.indexOf(t):t,!this.finished){if(0==this.engine.report.renderedPages.count)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).pageNumberThrough}getTotalPageCountThrough(t){if(0==this.pageNumbers.count)return 1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).totalPageCountThrough}setSystemVariables(e,r){if(e==r)return;let i=0;for(let t=e;t<r;t++)i+=this.pageNumbers.getByIndex(t).step;let n=1;for(let t=e;t<r;t++)this.pageNumbers.getByIndex(t).pageNumber=n,this.pageNumbers.getByIndex(t).totalPageCount=i,n+=this.pageNumbers.getByIndex(t).step}processPageNumbers(){if(null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages)while(this.pageNumbers.count>this.engine.report.renderedPages.count)this.pageNumbers.removeAt(this.engine.report.renderedPages.count);let t=0,e=0;for(var r of this.pageNumbers.list){var i;null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages&&e<this.engine.report.renderedPages.count&&(i=this.engine.report.renderedPages.getPageWithoutCache(e),r.segmentPerWidth=i.segmentPerWidth,r.segmentPerHeight=i.segmentPerHeight),t+=r.step,e++}let n=1,a=0,s=0;for(var o of this.pageNumbers.list)o.resetPageNumber&&(this.setSystemVariables(a,s),a=s),o.pageNumberThrough=n++,o.totalPageCountThrough=t,s++;this.setSystemVariables(a,s),this.finished=!0}clear(){this.clearPageNumbersOnFinish&&this.pageNumbers.clear()}clearNotFixed(){if(this.clearPageNumbersOnFinish&&0<this.pageNumbers.count){let t=this.pageNumbers.count-1;while(0<=t&&!this.pageNumbers.getByIndex(t).fixedPosition)this.pageNumbers.removeAt(t),t--}}};let lb=Ae.ap.StiImageProcessingDuplicatesType,ub=Ae.ap.StiProcessingDuplicatesType,hb=Ae.ap.IStiText;{let d;(l=d=Ae.aq.TypeOfDuplicates||(Ae.aq.TypeOfDuplicates={}))[l["Text"]=0]="Text",l[l["Image"]=1]="Image";let m=class{compare(t,e){return t.top.stimulsoft().compareTo(e.top)}};Ae.aq.StiMergeComparer=m;let p=class{static isImageEqual(t,e){return!1}static postProcessDuplicates(t,h,c=null){if(null==c)return p.postProcessDuplicates(t,h,d.Text),void p.postProcessDuplicates(t,h,d.Image);let r=[],i=!1,n=new Eu;for(var a of t.list)if(a.is(hb)&&a.processingDuplicates!=ub.None&&c==d.Text||a.is(yd)&&a.processingDuplicates!=lb.None&&c==d.Image){i=!0,n.add(a);let t=r[a.width];null==t&&(t=[],r[a.width]=t);let e=t[a.left];null==e&&(e=[],t[a.left]=e),e.push(a)}if(!i)return;for(var e in r){var s=r[e],o;for(o in s){let l=s[o];l.stimulsoft().sort2(new m);let u=0;while(u<l.stimulsoft().countItems){let n=l[u],a=h.get(n),s=n.bottom,o=u+1;while(o<l.stimulsoft().countItems){let r=l[o],t=h.get(r),i=ub.None,e=!1;if(c==d.Text?(i=n.processingDuplicates,i==ub.BasedOnValueRemoveText&&(i=ub.RemoveText),i==ub.BasedOnValueAndTagHide&&(i=ub.BasedOnTagHide),i==ub.BasedOnValueAndTagMerge&&(i=ub.BasedOnTagMerge),e=i==ub.GlobalHide||i==ub.GlobalMerge||i==ub.GlobalRemoveText||i==ub.GlobalBasedOnValueRemoveText||i==ub.GlobalBasedOnValueAndTagHide||i==ub.GlobalBasedOnValueAndTagMerge,i==ub.GlobalBasedOnValueRemoveText&&(i=ub.BasedOnTagRemoveText),i==ub.GlobalBasedOnValueAndTagHide&&(i=ub.BasedOnTagHide),i==ub.GlobalBasedOnValueAndTagMerge&&(i=ub.BasedOnTagMerge)):e=n.processingDuplicates==lb.GlobalHide||n.processingDuplicates==lb.GlobalMerge||n.processingDuplicates==lb.GlobalRemoveImage,r.name==n.name||e){if(Ne.round2(a.bottom,2)!=Ne.round2(t.top,2)||!(a.name==t.name||e||"Continued"==a.name||null!=a.name&&a.name.stimulsoft().startsWith("Continued_")||"Breaked"==t.name||null!=t.name&&t.name.stimulsoft().startsWith("Breaked_")))break;if(c==d.Text){let t=r.getTextInternal(),e=n.getTextInternal();if(i!=ub.BasedOnTagHide&&i!=ub.BasedOnTagMerge&&i!=ub.BasedOnTagRemoveText||(t=null==r.tagValue?"":r.tagValue.toString(),e=null==n.tagValue?"":n.tagValue.toString()),!(Ne.round2(r.top,2)>=Ne.round2(s,2)&&e==t))break;i!=ub.Merge&&i!=ub.GlobalMerge&&i!=ub.BasedOnTagMerge||(n.height+=r.bottom-n.bottom),i==ub.RemoveText||i==ub.GlobalRemoveText||i==ub.BasedOnTagRemoveText?(r.setTextInternal(""),u++,o++):(s+=r.height,r.parent.components.remove(r),l.stimulsoft().removeAt(o))}else if(c==d.Image){if(!(Ne.round2(r.top,2)>=Ne.round2(s,2)&&p.isImageEqual(r.imageToDraw,n.imageToDraw)))break;n.processingDuplicates!=lb.Merge&&n.processingDuplicates!=lb.GlobalMerge||(n.height+=r.bottom-n.bottom),n.processingDuplicates==lb.RemoveImage||n.processingDuplicates==lb.GlobalRemoveImage?(r.imageToDraw=null,u++,o++):(s+=r.height,r.parent.components.remove(r),l.stimulsoft().removeAt(o))}}else o++;a=t}u++}}}}};Ae.aq.StiPostProcessDuplicatesHelper=p}let cb=Ae.ap.StiPointPrimitive,db=Ae.ap.StiEndPointPrimitive,mb=Ae.ap.StiCrossLinePrimitive,pb=Ae.ap.StiPrimitive,gb=Ae.ap.StiStartPointPrimitive,fb=Ae.ap.StiRoundedRectanglePrimitive,Sb=Ae.ap.StiRectanglePrimitive,bb=Ae.ap.StiVerticalLinePrimitive,yb=Ae.ap.StiHorizontalLinePrimitive;{let w=class{static postProcessPages(t){let r=0,e=0;for(var i of t.list)e+=i.segmentPerWidth*i.segmentPerHeight;let n=ke.create(Boolean,e+1),a=ke.create(Boolean,e+1);0<e&&(n[1]=!0),a[e]=!0;let s=null;if(null!=t.report&&null!=t.report.engine&&null!=t.report.engine.pageNumbers){t.report.reportPass==Ae.c.StiReportPass.Second&&(s=t.report.engine.pageNumbers);let e=t.report.engine.pageNumbers;r=1;var o=Math.min(t.count,e.pageNumbers.count);for(let t=0;t<o;t++)e.pageNumbers.getByIndex(t).resetPageNumber&&(n[r]=!0,a[r-1]=!0),r+=e.pageNumbers.getByIndex(t).segmentPerWidth*e.pageNumbers.getByIndex(t).segmentPerHeight}r=1;for(var l of t.list)null!=s?(r=s.getPageNumber(l),e=s.getTotalPageCount(l),w.postProcessPage(l,1==r,r==e)):w.postProcessPage(l,n[r],a[r]),r+=l.segmentPerWidth*l.segmentPerHeight;w.postProcessPrimitives(t)}static removeAllPointPrimitives(t){let e=0;while(e<t.components.count){var r;t.components.getByIndex(e).is(cb)?t.components.removeAt(e):(null!=(r=t.components.getByIndex(e).as(Ql))&&w.removeAllPointPrimitives(r),e++)}}static postProcessPrimitives(t){let e=t;t.stimulsoft().is(Ae.ap.StiPage)&&(e=new Fd(null),e.add(t));var r={ref:new Dt},i={ref:new Dt},n={ref:new Dt},a={ref:new Array},s,o;for(s of e.list)w.postProcessPrimitivesInContainer2(s,e,r,i,n,a);for(o of e.list)w.removeAllPointPrimitives(o)}static postProcessPrimitivesInContainer(t){var e={ref:new Dt},r={ref:new Dt},i={ref:new Dt},n={ref:new Array};w.postProcessPrimitivesInContainer2(t,null,e,r,i,n),w.removeAllPointPrimitives(t)}static postProcessPrimitivesInContainer2(e,t,r,i,n,a){let s=r.ref;var o=i.ref,l;let u=n.ref,h=a.ref,c=new Eu;c.addRange(e.components);for(l of c.list){let t=l.as(mb);null!=t&&null!=t.guid&&t.guid!=w.nullGuid&&(u.set(t.guid,t),t.parent.components.remove(l))}if(0<u.count){c=e.getComponents(),h.stimulsoft().clear();for(var d of c.list){if(!d.is(pb))continue;var m=d.as(gb);if(null!=m){if(null==m.referenceToGuid)continue;var p=e.as(Du);let t=s.get(m.referenceToGuid);null==t&&(t=new Array,s.set(m.referenceToGuid,t),null!=p&&1<p.columns&&t.push(m)),(null!=p&&p.columns<2||null==p)&&t.push(m);continue}var d=d.as(db);if(null==d)continue;w.processOneEndPoint(s,u,e,t,d)||h.push(d)}for(var g of h)w.processOneEndPoint(s,u,e,t,g)}r.ref=s,i.ref=o,n.ref=u,a.ref=h}static processOneEndPoint(t,e,r,i,n){if(null==n.referenceToGuid)return!1;var a=t.get(n.referenceToGuid);if(null==a||0==a.length)return!1;t.set(n.referenceToGuid,null);var t=a[0],e=e.get(t.referenceToGuid);if(null==e)return!0;var t=a[0],a=null;return w.processOnePrimitive(i,r,e,t,a,n),!0}static processOnePrimitive(e,t,a,s,o,l){var u=s.componentToPage(new Fp(s.left,s.top)),h=l.componentToPage(new Fp(l.left,l.top));let c=s.storedColumn,d=l.storedColumn;if(c=Math.max(1,c),d=Math.max(1,d),s.page!=l.page||c!=d){var m=null==e?1:e.indexOf(s.page),p=null==e?1:e.indexOf(l.page);let t=-1;null!=o&&null!=e&&(t=e.indexOf(o.page));for(let n=m;n<=p;n++){if(m!=p&&null!=o&&t==p&&n==p)continue;let r=e.getByIndex(n);r!=s.page&&(c=1),r!=l.page&&(d=Math.max(r.columns,d));let i=0;for(let e=c;e<=d;e++){var g=r.pageInfo.positionFromTop,f=r.pageInfo.positionFromBottom,S=r.getColumnWidth()+r.columnGaps,b=u.x,y=u.y;let t=h.x;var v=h.y;if(c!=d){t-=S*Math.min(d-c,r.columns);while(t<b&&0<S)t+=S}n==m&&c==e?w.addPrimitive(a,new Fp(i+b,y),new Fp(i+t,f),r):n==p&&d==e?w.addPrimitive(a,new Fp(i+b,g),new Fp(i+t,v),r):w.addPrimitive(a,new Fp(i+b,g),new Fp(i+t,f),r),i+=S}}}else w.addPrimitive(a,u,h,t)}static addPrimitive(e,r,i,n){if(e.is(fb)){let t=e.clone();t.guid=w.nullGuid,t.left=r.x,t.top=r.y,t.width=i.x-r.x,t.height=i.y-r.y,n.components.add(t)}else if(e.is(Sb)){if(e.leftSide){let t=new bb;t.name=e.name+"_Left",t.guid=w.nullGuid,t.page=e.page,t.left=r.x,t.top=r.y,t.height=i.y-r.y,t.color=e.color,t.style=e.style,t.size=e.size,n.components.add(t)}if(e.rightSide){let t=new bb;t.name=e.name+"_Right",t.guid=w.nullGuid,t.page=e.page,t.left=i.x,t.top=r.y,t.height=i.y-r.y,t.color=e.color,t.style=e.style,t.size=e.size,n.components.add(t)}if(e.topSide){let t=new yb;t.name=e.name+"_Top",t.page=e.page,t.left=r.x,t.top=r.y,t.height=e.page.unit.convertFromHInches(1),t.width=i.x-r.x,t.color=e.color,t.style=e.style,t.size=e.size,n.components.add(t)}if(e.bottomSide){let t=new yb;t.name=e.name+"_Bottom",t.page=e.page,t.left=r.x,t.top=i.y,t.height=e.page.unit.convertFromHInches(1),t.width=i.x-r.x,t.color=e.color,t.style=e.style,t.size=e.size,n.components.add(t)}}else{let t=e.clone();t.guid=w.nullGuid,t.left=r.x,t.top=r.y,t.width=i.x-r.x,t.height=i.y-r.y,n.components.add(t)}}static copyStyles(t,e){t.style=e.style,t.color=e.color,t.size=e.size}static postProcessPage(e,r,i,t=!0){w.postProcessPrintOn(e.components,r,i);var n=e.getComponents(),a,s;e.dockToContainer();for(a of n.list){a.dockStyle=rb.None,a.page=e;let t=a.as($o);null!=t&&t.shrinkFontToFit&&(t.font=t.getActualFont(t.text,t.shrinkFontToFitMinimumSize))}let o=new Dt;for(s of n.list)s.is(hb)&&s.processingDuplicates!=ub.None&&o.set(s,s.parent),s.is(yd)&&s.processingDuplicates!=lb.None&&o.set(s,s.parent);if(t&&(e.clearPage(),(r||i)&&!Ae.Z.UwgcI.WjOuC()&&null!=e.report)){var r=e.report.unit.convertFromHInches(200),i=e.report.unit.convertFromHInches(52),i=new Tr((e.width-r)/2,e.height-i,r,i);let t=new yd(i);t.stretch=!0,t.printable=!1,t.image=Ae.ax.StiExportUtils.getAdditionalData2(192),t.name=Ae.c.StiNameValidator.correctName(Ts.newGuid().substr(0,8)),e.components.add(t)}Ae.aq.StiPostProcessDuplicatesHelper.postProcessDuplicates(n,o),o.clear(),o=null}static postProcessPrintOn(e,r,i){let n=0;while(n<e.count){let t=e.getByIndex(n);var a;w.allowPrintOn(t,r,i)?(null!=(a=t.as(Ql))&&w.postProcessPrintOn(a.components,r,i),n++):e.removeAt(n)}}static allowPrintOn(t,e,r){if(t.printOn==Rd.AllPages)return!0;if(0<(t.printOn&Rd.ExceptFirstPage)&&e)return!1;if(t.printOn==Rd.OnlyFirstAndLastPage)return!(!e&&!r);if(0<(t.printOn&Rd.OnlyFirstPage)&&!e)return!1;if(0<(t.printOn&Rd.OnlyLastPage)&&!r)return!1;if(0<(t.printOn&Rd.ExceptLastPage)&&r)return!1;return!0}};w.nullGuid="nullGuid",Ae.aq.StiPostProcessProvider=w}Ae.aq.StiPrintAtBottom=class{constructor(t){this.bands=new Dt,this.engine=null,this.engine=t}canProcess(t){var t=t.as(Ae.ap.IStiPrintAtBottom);return null!=t&&t.printAtBottom}add(t){this.bands.set(t,t)}render(n,t,a){if(null==n||0==this.bands.count)return;let e=[],s=-1,r=!1;for(let i=t;i<n.components.count;i++){let t=n.components.getByIndex(i).as(Ql);if(null==t)continue;if(t.is2(Ae.aq.StiLevelContainer))continue;if(t==a&&(r=!0),(null==t.containerInfo.parentBand||!t.containerInfo.parentBand.is(ep)||!t.containerInfo.parentBand.printOnAllPages)&&r)continue;if(null!=this.bands.get(t))e.stimulsoft().insert(0,t),-1==s&&(s=i);else if(-1!=s&&!t.is(Ae.aq.StiFooterMarkerContainer)){e.stimulsoft().clear();let r=0;for(let e=s;e<n.components.count;e++){let t=n.components.getByIndex(e).as(Ql);if(t==a)break;t.top+=r,null!=this.bands.get(t)&&e<i&&(t.containerInfo.parentBand.is(ep)&&t.containerInfo.parentBand.printOnAllPages||(r+=t.height,this.engine.positionY+=t.height))}s=-1}}for(var i of e)i.top=this.engine.positionBottomY-i.height,null!=this.engine.page&&1<this.engine.page.segmentPerHeight&&(i.top+=(this.engine.page.pageHeight-this.engine.page.margins.top-this.engine.page.margins.bottom)*(this.engine.page.segmentPerHeight-1)),this.engine.positionBottomY-=i.height,i.containerInfo.parentBand.is(ep)&&i.containerInfo.parentBand.printOnAllPages&&(this.engine.positionY-=i.height);this.bands.clear()}},Ae.aq.StiStaticBandsHelper=class{constructor(t){this.denyReportBands=!1,this.denyPageBands=!1,this.engine=null,this._reservedFreeSpace=0,this._reservedCrossFreeSpace=0,this._reservedPositionX=0,this._reservedPositionY=0,this._reservedPositionBottomY=0,this.engine=t}get reservedFreeSpace(){return this._reservedFreeSpace}get reservedCrossFreeSpace(){return this._reservedCrossFreeSpace}get reservedPositionX(){return this._reservedPositionX}get reservedPositionY(){return this._reservedPositionY}get reservedPositionBottomY(){return this._reservedPositionBottomY}renderAsync(){return Y.tsfb(this,void 0,void 0,function*(){this.engine.threads.isActive||this.engine.denyChangeThread||(this.engine.templatePage.titleBeforeHeader?yield this.renderTitleBeforeHeaderAsync():yield this.renderHeaderBeforeTitleAsync(),this.engine.denyRenderMasterComponentsInContainer=!0,yield Ae.aq.StiPageHelper.renderSimpleComponentsAsync(this.engine.templatePage,this.engine.containerForRender),this.engine.denyRenderMasterComponentsInContainer=!1),null!=this.engine.page&&(this.engine.page.pageInfo.positionFromTop=this.engine.positionY,this.engine.page.pageInfo.positionFromBottom=this.engine.positionBottomY);var t=this.engine.containerForRender.getDockRegion(this.engine.containerForRender,!1);this.engine.crossFreeSpace=t.width,this.engine.freeSpace=t.height,1<this.engine.columnsOnPanel.count&&this.engine.columnsOnPanel.rightToLeft&&!this.engine.isCrossBandsMode?this.engine.positionX=t.right-this.engine.columnsOnPanel.getColumnWidth():this.engine.positionX=t.left,this.engine.positionY=t.y,this.engine.positionBottomY=t.bottom,this._reservedCrossFreeSpace=this.engine.crossFreeSpace,this._reservedFreeSpace=this.engine.freeSpace,this._reservedPositionX=this.engine.positionX,this._reservedPositionY=this.engine.positionY,this._reservedPositionBottomY=this.engine.positionBottomY,Hd.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY)})}render(){this.engine.threads.isActive||this.engine.denyChangeThread||(this.engine.templatePage.titleBeforeHeader?this.renderTitleBeforeHeader():this.renderHeaderBeforeTitle(),this.engine.denyRenderMasterComponentsInContainer=!0,Ae.aq.StiPageHelper.renderSimpleComponents(this.engine.templatePage,this.engine.containerForRender),this.engine.denyRenderMasterComponentsInContainer=!1),null!=this.engine.page&&(this.engine.page.pageInfo.positionFromTop=this.engine.positionY,this.engine.page.pageInfo.positionFromBottom=this.engine.positionBottomY);var t=this.engine.containerForRender.getDockRegion(this.engine.containerForRender,!1);this.engine.crossFreeSpace=t.width,this.engine.freeSpace=t.height,1<this.engine.columnsOnPanel.count&&this.engine.columnsOnPanel.rightToLeft&&!this.engine.isCrossBandsMode?this.engine.positionX=t.right-this.engine.columnsOnPanel.getColumnWidth():this.engine.positionX=t.left,this.engine.positionY=t.y,this.engine.positionBottomY=t.bottom,this._reservedCrossFreeSpace=this.engine.crossFreeSpace,this._reservedFreeSpace=this.engine.freeSpace,this._reservedPositionX=this.engine.positionX,this._reservedPositionY=this.engine.positionY,this._reservedPositionBottomY=this.engine.positionBottomY,Hd.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY)}renderTitleBeforeHeaderAsync(){return Y.tsfb(this,void 0,void 0,function*(){var t,e,e,t;this.denyReportBands||(t=this.denyReportBands,e=this.denyPageBands,this.denyPageBands=!0,this.denyReportBands=!0,yield this.renderReportTitleBandsAsync(),this.denyPageBands=e,this.denyReportBands=t),this.denyPageBands||(e=this.denyPageBands,t=this.denyReportBands,this.denyPageBands=!0,this.denyReportBands=!0,yield this.renderPageHeaderBandsAsync(),yield this.renderPageFooterBandsAsync(),this.denyPageBands=e,this.denyReportBands=t)})}renderTitleBeforeHeader(){var t,e,e,t;this.denyReportBands||(t=this.denyReportBands,e=this.denyPageBands,this.denyPageBands=!0,this.denyReportBands=!0,this.renderReportTitleBands(),this.denyPageBands=e,this.denyReportBands=t),this.denyPageBands||(e=this.denyPageBands,t=this.denyReportBands,this.denyPageBands=!0,this.denyReportBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=e,this.denyReportBands=t)}renderHeaderBeforeTitleAsync(){return Y.tsfb(this,void 0,void 0,function*(){var t;this.denyPageBands||(t=this.denyPageBands,this.denyPageBands=!0,yield this.renderPageHeaderBandsAsync(),yield this.renderPageFooterBandsAsync(),this.denyPageBands=t)})}renderHeaderBeforeTitle(){var t;this.denyPageBands||(t=this.denyPageBands,this.denyPageBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=t)}renderReportTitleBandsAsync(){return Y.tsfb(this,void 0,void 0,function*(){if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return;for(var e of this.engine.templatePage.components.list){let t=e.as(Ae.ap.StiReportTitleBand);var e;null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,e=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!e),yield this.engine.renderBandAsync(t))}this.engine.templatePage.pageInfo.isReportTitlesRendered=!0})}renderReportTitleBands(){if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return;for(var e of this.engine.templatePage.components.list){let t=e.as(Ae.ap.StiReportTitleBand);var e;null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,e=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!e),this.engine.renderBand(t))}this.engine.templatePage.pageInfo.isReportTitlesRendered=!0}renderPageHeaderBandsAsync(){return Y.tsfb(this,void 0,void 0,function*(){var t,e,r;for(e of this.getPageHeaders().list){let t=e.as(Ae.ap.StiPageHeaderBand);null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,r=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!r),yield this.engine.renderBandAsync(t))}})}renderPageHeaderBands(){var t,e,r;for(e of this.getPageHeaders().list){let t=e.as(Ae.ap.StiPageHeaderBand);null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,r=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!r),this.engine.renderBand(t))}}renderPageFooterBandsAsync(){return Y.tsfb(this,void 0,void 0,function*(){var t,e,r;for(e of this.getPageFooters().list){let t=e.as(Ae.ap.StiPageFooterBand);null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,r=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!r),yield this.engine.renderBandAsync(t))}})}renderPageFooterBands(){var t,e,r;for(e of this.getPageFooters().list){let t=e.as(Ae.ap.StiPageFooterBand);null!=t&&(t.parentBookmark=this.engine.containerForRender.currentBookmark,r=t.doBookmark(),t.parentPointer=this.engine.containerForRender.currentPointer,t.doPointer(!r),this.engine.renderBand(t))}}getPageHeaders(){let e=new Eu;var r=this.engine.report.pages.indexOf(this.engine.templatePage),t;let i=r;while(0<=i){if(!this.engine.report.pages.getByIndex(i).printHeadersFootersFromPreviousPage)break;i--}i<=-1&&(i=0);for(let t=i;t<=r;t++){var n=this.engine.report.pages.getByIndex(t);e.addRange(this.getPageHeadersFromPage(n))}return e}getPageFooters(){let e=new Eu;var r=this.engine.report.pages.indexOf(this.engine.templatePage),t;let i=r;while(0<=i){if(!this.engine.report.pages.getByIndex(i).printHeadersFootersFromPreviousPage)break;i--}i<=-1&&(i=0);for(let t=i;t<=r;t++){var n=this.engine.report.pages.getByIndex(t);e.addRange(this.getPageFootersFromPage(n))}return e}getPageHeadersFromPage(t){let e=new Eu;for(var r of t.components.list){var r=r.as(Ae.ap.StiPageHeaderBand);null!=r&&e.add(r)}return e}getPageFootersFromPage(t){let e=new Eu;for(var r of t.components.list){var r=r.as(Ae.ap.StiPageFooterBand);null!=r&&e.add(r)}return e}},Ae.aq.StiThreads=class{constructor(t){this.isActive=!1,this.currentPage=-1,this.currentColumn=-1,this.destinationName=null,this.engine=null,this.engine=t}newPageAsync(){return Y.tsfb(this,void 0,void 0,function*(){this.engine.containerForRender=null,this.currentColumn++,this.engine.containerForRender=this.getDestinationContainer(),null==this.engine.containerForRender&&(this.currentColumn=1,this.currentPage++,this.currentPage>=this.engine.report.renderedPages.count&&(this.engine.report.engine=this.engine.masterEngine,yield this.engine.report.engine.newPageAsync(),this.engine.report.engine=this.engine),this.engine.containerForRender=this.getDestinationContainer())})}newPage(){this.engine.containerForRender=null,this.currentColumn++,this.engine.containerForRender=this.getDestinationContainer(),null==this.engine.containerForRender&&(this.currentColumn=1,this.currentPage++,this.currentPage>=this.engine.report.renderedPages.count&&(this.engine.report.engine=this.engine.masterEngine,this.engine.report.engine.newPage(),this.engine.report.engine=this.engine),this.engine.containerForRender=this.getDestinationContainer())}selectThreadFromContainerAsync(n){return Y.tsfb(this,void 0,void 0,function*(){if(this.engine.denyChangeThread)return;var t=null;let e=null;if(e=(null!=n.containerInfo.parentBand?n.containerInfo.parentBand:n).parent,t=e.name,e.is(Kl))return void(null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine));let r=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,i=r.slaveEngines.get(t);null==i&&(i=yield r.threads.createContainerEngineAsync(t,this.engine.report,r,null!=r.page?r.page.pageInfo.indexOfStartRenderedPages:0),r.slaveEngines.set(t,i),i.printOnAllPagesIgnoreList=r.printOnAllPagesIgnoreList),this.engine.report.engine=i})}selectThreadFromContainer(t){if(this.engine.denyChangeThread)return;var e=null;let r=null;if(r=(null!=t.containerInfo.parentBand?t.containerInfo.parentBand:t).parent,e=r.name,r.is(Kl))return void(null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine));let i=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,n=i.slaveEngines.get(e);null==n&&(n=i.threads.createContainerEngine(e,this.engine.report,i,null!=i.page?i.page.pageInfo.indexOfStartRenderedPages:0),i.slaveEngines.set(e,n),n.printOnAllPagesIgnoreList=i.printOnAllPagesIgnoreList),this.engine.report.engine=n}createContainerEngineAsync(e,r,i,n){return Y.tsfb(this,void 0,void 0,function*(){let t=new Ae.aq.StiEngine(r);return t.masterEngine=i,t.threads.isActive=!0,t.threads.currentPage=n,t.threads.currentColumn=1,t.threads.destinationName=e,t.templatePage=r.engine.templatePage,t.templateContainer=t.threads.getTemplateContainer(),t.parserConversionStore=r.engine.parserConversionStore.clone(),t.containerForRender=-1!=n?t.threads.getDestinationContainer():t.threads.getDestinationContainer2(i.containerForRender,t.threads.destinationName,t.threads.currentColumn),yield t.newListAsync(),-1==n&&(t.freeSpace=1e11),t})}createContainerEngine(t,e,r,i){let n=new Ae.aq.StiEngine(e);return n.masterEngine=r,n.threads.isActive=!0,n.threads.currentPage=i,n.threads.currentColumn=1,n.threads.destinationName=t,n.templatePage=e.engine.templatePage,n.templateContainer=n.threads.getTemplateContainer(),n.parserConversionStore=e.engine.parserConversionStore.clone(),n.containerForRender=-1!=i?n.threads.getDestinationContainer():n.threads.getDestinationContainer2(r.containerForRender,n.threads.destinationName,n.threads.currentColumn),n.newList(),-1==i&&(n.freeSpace=1e11),n}getTemplateContainer(t=this.engine.templatePage,e=this.destinationName){for(var r of t.components.list){var r=r.as(Ql);if(null==r)continue;if(r.name==e)return r;var r=this.getTemplateContainer(r,e);if(null!=r)return r}return null}getDestinationContainer(){let t=null;return t=this.engine.report.renderedPages.count<=this.currentPage?this.engine.report.renderedPages.getByIndex(this.engine.report.renderedPages.count-1):this.engine.report.renderedPages.getByIndex(this.currentPage),this.getDestinationContainer2(t,this.destinationName,this.currentColumn)}getDestinationContainer2(t,e,r){for(var i of t.components.list){var i=i.as(Ql);if(null==i)continue;if(i.name==e&&i.containerInfo.renderStep==r)return i;var i=this.getDestinationContainer2(i,e,r);if(null!=i)return i}return null}};let vb=Ae.am.StiDateTimeType,wb=Ae.am.StiSelectionMode,Cb=Ae.am.StiDataSourceParserHelper,Tb=Ae.am.StiSqlSource,Pb=Ae.am.StiRangeDialogInfoItem,Ib=Ae.am.StiLongDialogInfoItem,Ab=Ae.am.StiLongDialogInfoItem,xb=Ae.am.StiDoubleDialogInfoItem,Db=Ae.am.StiDecimalDialogInfoItem,Bb=Ae.am.StiDateTimeDialogInfoItem,Eb=Ae.am.StiTimeSpanDialogInfoItem,kb=Ae.am.StiBoolDialogInfoItem,Nb=Ae.am.StiCharDialogInfoItem,Fb=Ae.am.StiGuidDialogInfoItem;{let h=class{static fillItemsOfVariables(t){let e=!1;for(var r of t.dictionary.variables.list){var i={ref:e};if(this.fillItemsOfVariable(r,t,i))break;e=i.ref}return e}static fillItemsOfVariable(d,a,s){var m,p;if(null==d.dialogInfo)return!1;if(d.dialogInfo.itemsInitializationType==Ae.am.StiItemsInitializationType.Items){if(a.isReportRenderingAfterSubmit)return!1;var r=d.dialogInfo.getDialogInfoItems(d.type),r;if(null!=(r=d.dialogInfo.orderBy(r))&&0<r.length){let t=a.getVariable(d.name,!0);if(null==t)return!1;let e=t.stimulsoft().as(Array);if(null==e)return!1;if(0<e.length)return!0;e.stimulsoft().clear(),s.ref=!0;for(var i of r)try{e.push(i.keyObject)}catch(t){}}}else{if(null!=d.dialogInfo.keys&&0<d.dialogInfo.keys.length||null!=d.dialogInfo.values&&0<d.dialogInfo.values.length||null!=d.dialogInfo.checkedStates&&0<d.dialogInfo.checkedStates.length)return!1;let o=De.isNullOrEmpty(d.dialogInfo.keysColumn)?null:Ae.am.StiDataColumn.getDatasFromDataColumn(a.dictionary,d.dialogInfo.keysColumn),l=De.isNullOrEmpty(d.dialogInfo.valuesColumn)?null:Ae.am.StiDataColumn.getDatasFromDataColumn(a.dictionary,d.dialogInfo.valuesColumn),u=De.isNullOrEmpty(d.dialogInfo.bindingValuesColumn)?null:Ae.am.StiDataColumn.getDatasFromDataColumn(a.dictionary,d.dialogInfo.bindingValuesColumn),h=De.isNullOrEmpty(d.dialogInfo.checkedColumn)?null:this.getChecked(a.dictionary,d.dialogInfo.checkedColumn);null==o&&(o=[]),null==l&&(l=[]),null==h&&(h=[]),null==u&&(u=[]);let t=Math.max(o.length,l.length);t=Math.max(t,h.length);let c=new Dt;if(0<o.length){let i=[],n=[],a=[],s=[];for(let r=0;r<t;r++){var g=o.length>r?o[r]:null;let e=l.length>r?l[r].toString():"",t=r<l.length?l[r]:null;var f=u.length>r?u[r]:null,S=!(null!=h&&h.length>r)||zi.tryToBool(h[r]);if(null!==t&&void 0!==t&&t.stimulsoft().is(z))switch(d.dialogInfo.dateTimeType){case vb.DateAndTime:e=t.toString();break;case vb.Date:e=t.toShortDateString();break;case vb.Time:e=t.toShortTimeString();break}if(c.containsKey(g)){let t=null===(m=c.get(g))||void 0===m?void 0:m.stimulsoft().as(Ee);t.push(f)}else{i.push(g),n.push(e),a.push(f),s.push(S);let t=new Ee;t.add(f),c.set(g,t)}}o=i,l=n,u=a,h=s,t=Math.max(o.length,l.length),t=Math.max(t,h.length)}let r=new Ee;var b=d.type,y;for(let e=0;e<t;e++){var p=o.length>e?o[e]:null,v=l.length>e?l[e].toString():"",w=!(null!=h&&h.length>e)||h[e];let t=null;b==Ae.b.StimulsoftByteList||b==Ae.b.StimulsoftShortList||b==Ae.b.StimulsoftIntList||b==Ae.b.StimulsoftLongList||b==Ae.b.Byte||b==Ae.b.Short||b==Ae.b.Int||b==Ae.b.Int16||b==Ae.b.Int32||b==Ae.b.Int64||b==Ae.b.Long||b==Ae.b.NullableByte||b==Ae.b.NullableShort||b==Ae.b.NullableInt||b==Ae.b.NullableLong?t=new Ib:b==Ae.b.StimulsoftStringList||b==String?t=new Ab:b==Ae.b.StimulsoftDoubleList||b==Ae.b.StimulsoftFloatList||b==Ae.b.Double||b==Ae.b.Float||b==Ae.b.NullableDouble||b==Ae.b.NullableFloat?t=new xb:b==Ae.b.StimulsoftDecimalList||b==Ae.b.Decimal||b==Ae.b.NullableDecimal?t=new Db:b==Ae.b.StimulsoftDateTimeList||b==Ae.b.DateTime||b==Ae.b.NullableDateTime?t=new Bb:b==Ae.b.StimulsoftTimeSpanList||b==Ae.b.TimeSpan||b==Ae.b.NullableTimeSpan?t=new Eb:b==Ae.b.StimulsoftBoolList||b==Boolean||b==Ae.b.NullableBoolean?t=new kb:b==Ae.b.StimulsoftCharList||b==Ae.b.Char||b==Ae.b.NullableChar?t=new Nb:b!=Ae.b.StimulsoftGuidList&&b!=Ae.b.Guid||(t=new Fb),null!=p&&(t.keyObject=p),t.value=v,t.valueBinding=null===(p=c.get(p))||void 0===p?void 0:p.stimulsoft().as(Ee),t.checked=w,r.add(t)}let e=new Ee,i=new Dt;for(y of r)null!=i.get(y.keyObject)&&!y.stimulsoft().is(Pb)||(i.set(y.keyObject,y.keyObject),e.add(y));let n=d.dialogInfo.bindingValue?r:e;n=d.dialogInfo.orderBy(n),d.dialogInfo.setDialogInfoItems(n,d.type),o=n.select(t=>t.keyObject),"BoolList"!=d.type.stimulsoft().getTypeName()&&"ByteList"!=d.type.stimulsoft().getTypeName()&&"CharList"!=d.type.stimulsoft().getTypeName()&&"DateTimeList"!=d.type.stimulsoft().getTypeName()&&"DecimalList"!=d.type.stimulsoft().getTypeName()&&"DoubleList"!=d.type.stimulsoft().getTypeName()&&"FloatList"!=d.type.stimulsoft().getTypeName()&&"GuidList"!=d.type.stimulsoft().getTypeName()&&"IntList"!=d.type.stimulsoft().getTypeName()&&"LongList"!=d.type.stimulsoft().getTypeName()&&"ShortList"!=d.type.stimulsoft().getTypeName()&&"StringList"!=d.type.stimulsoft().getTypeName()&&"TimeSpanList"!=d.type.stimulsoft().getTypeName()||null!=o&&0<o.length&&(this.fillVariableList(d,a,o),s.ref=!0)}return!1}static getChecked(t,e){if(De.isNullOrEmpty(e))return[];var r=e.indexOf(";");if(-1==r)return[];var i=e.substring(0,r),r="{"+e.substring(r+1)+"}",i=t.dataSources.getByName(i);if(null==i)return[];let n=ml.getDatasFromDataSourceWithExpression(i,r,null,!0);if(null==n)return null;return n.select(t=>zi.tryToBool(t))}static fillVariableList(t,e,r){let i=e.getVariable(t.name);null!=i&&i.stimulsoft().is(Ee)||(i=[],e.setVariable(t.name,i)),i.stimulsoft().clear();for(var n of r)try{i.push(n)}catch(t){}}static isListType(t){return"BoolList"==t||"ByteList"==t||"CharList"==t||"DateTimeList"==t||"DecimalList"==t||"DoubleList"==t||"FloatList"==t||"GuidList"==t||"IntList"==t||"LongList"==t||"ShortList"==t||"StringList"==t||"TimeSpanList"==t}static isRangeType(t){return"ByteRange"==t||"CharRange"==t||"DateTimeRange"==t||"DecimalRange"==t||"DoubleRange"==t||"FloatRange"==t||"GuidRange"==t||"IntRange"==t||"LongRange"==t||"ShortRange"==t||"StringRange"==t||"TimeSpanRange"==t}static setDefaultValueForRequestFromUserVariables(e,r){var t,i;let n=new $o;if(n.name="**VariableRequestFromUser**",0<e.pages.count&&(n.page=e.pages.getByIndex(0)),!e.isReportRenderingAfterSubmit)for(var a of e.dictionary.variables.list){var s=a.type.stimulsoft().getTypeName();if(!a.requestFromUser||!this.isListType(s)||e.modifiedVariables.containsKey(a.name)||null==a.dialogInfo.values)continue;var s=xt.currentCulture.textInfo.listSeparator,s=De.join(s,a.dialogInfo.values);this.setVariableLabel(e,a,s)}for(i of e.dictionary.variables.list){var o=i.type.stimulsoft().getTypeName(),l,u;if(!i.requestFromUser&&this.isListType(o)||this.isRangeType(o))continue;if(e.modifiedVariables.containsKey(i.name))continue;try{if(i.selection==Ae.am.StiSelectionMode.FromVariable&&i.initBy==Ae.am.StiVariableInitBy.Expression){let t=Ae.bb.StiParser.parseTextValue("{"+i.value+"}",n);e.isReportRenderingAfterSubmit||-1!=(l=null!=t?i.dialogInfo.keys.indexOf(null===t||void 0===t?void 0:t.toString()):-1)&&this.setVariableLabel(e,i,i.dialogInfo.values[l]),e.setVariable(i.name,t),r=!0}i.selection==wb.FromVariable&&i.initBy==Rm.Value&&(e.isReportRenderingAfterSubmit||-1!=(u=null!=i.valueObject?i.dialogInfo.keys.indexOf(null===(t=i.valueObject)||void 0===t?void 0:t.toString()):-1)&&this.setVariableLabel(e,i,i.dialogInfo.values[u])),i.selection==Ae.am.StiSelectionMode.First&&null!=i.dialogInfo.keys&&0<i.dialogInfo.keys.length&&(e.setVariable(i.name,Ae.c.StiReport.changeType(i.dialogInfo.keys[0],i.type)),r=!0,e.isReportRenderingAfterSubmit||this.setVariableLabel(e,i,i.dialogInfo.values[0]))}catch(t){}}if(!r)return}static setDefaultValueForRequestFromUserVariablesAsync(c,d,m=!1){var p;return Y.tsfb(this,void 0,void 0,function*(){let e=new $o;if(e.name="**VariableRequestFromUser**",0<c.pages.count&&(e.page=c.pages.getByIndex(0)),!c.isReportRenderingAfterSubmit)for(var t of c.dictionary.variables.list){var r=t.type.stimulsoft().getTypeName();if(!t.requestFromUser||!this.isListType(r)||c.modifiedVariables.containsKey(t.name)||null==t.dialogInfo.values)continue;var r=xt.currentCulture.textInfo.listSeparator,r=De.join(r,t.dialogInfo.values);this.setVariableLabel(c,t,r)}for(var i of c.dictionary.variables.list){var n=i.type.stimulsoft().getTypeName(),a,s;if(!i.requestFromUser||this.isListType(n)||this.isRangeType(n))continue;if(c.modifiedVariables.containsKey(i.name))continue;try{if(i.selection==Ae.am.StiSelectionMode.FromVariable&&i.initBy==Ae.am.StiVariableInitBy.Expression){let t=Ae.bb.StiParser.parseTextValue("{"+i.value+"}",e);c.isReportRenderingAfterSubmit||-1!=(a=null!=t?i.dialogInfo.keys.indexOf(null===t||void 0===t?void 0:t.toString()):-1)&&this.setVariableLabel(c,i,i.dialogInfo.values[a]),c.setVariable(i.name,t),d=!0}i.selection==wb.FromVariable&&i.initBy==Rm.Value&&(c.isReportRenderingAfterSubmit||-1!=(s=null!=i.valueObject?i.dialogInfo.keys.indexOf(null===(p=i.valueObject)||void 0===p?void 0:p.toString()):-1)&&this.setVariableLabel(c,i,i.dialogInfo.values[s])),i.selection==Ae.am.StiSelectionMode.First&&null!=i.dialogInfo.keys&&0<i.dialogInfo.keys.length&&(c.setVariable(i.name,Ae.c.StiReport.changeType(i.dialogInfo.keys[0],i.type)),d=!0,c.isReportRenderingAfterSubmit||this.setVariableLabel(c,i,i.dialogInfo.values[0]))}catch(t){}}if(!d)return;let o=c.dictionary,l=o.reconnectListForRequestFromUserVariables;if(null==l&&(l=this.getDataSourcesWithRequestFromUserVariablesInCommand(c)),l.length<=0)return;for(var u of l){let t=o.dataSources.getByName(u),e=t.as(Tb);var u=null!=e?e.sqlCommand:null;try{m&&Cb.connectSqlSource(e),yc.disconnect(t),yield yc.connectAsync2(t,null);var h=t.dataTable.copy();Nu.addTableNameToColumnNames(h,t),Nu.addToCache(t,{ref:h})}finally{null!=u&&(e.sqlCommand=u)}}o.regRelations2(),o.regRelations2(!0)})}static getDataSourcesWithRequestFromUserVariablesInCommand(r){let i=[],n=new Dt,a=new $o;a.name="**VariableRequestFromUser**",a.page=r.pages.getByIndex(0);for(var t of r.dictionary.variables.list)t.requestFromUser&&n.set(t.name,null);for(var s of r.dictionary.dataSources.list){var o=s.stimulsoft().as(Ae.am.StiSqlSource),l;if(null==o)continue;try{let t=null;null==r.variables||null!=(l=r.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+s.name))&&(t=l),De.isNullOrWhiteSpace(t)&&(t=o.sqlCommand);let e=h.checkExpressionForVariables(t,a,n);if(!e)for(var u of o.parameters.list)if(!De.isNullOrWhiteSpace(u.expression)&&h.checkExpressionForVariables(u.expression,a,n)){e=!0;break}e&&i.push(s.name)}catch(t){}}return i}static checkExpressionForVariables(t,e,r){try{var i=Ae.bb.StiParser.parseTextValue(t,e,e,{ref:!1},!1,!0);if(ke.isArray(i))for(var n of i)if(n.type==Cd.PushVariable){var a=n.parameter1.toString();if(r.containsKey(a))return!0}}catch(t){}return!1}static setVariableValue(t,e,r){t.setVariable(e.name,r)}static setVariableLabel(t,e,r){if(null==t||null==r)return;var e=null==e?void 0:e.name;if(De.isNullOrWhiteSpace(e))return;t.key=_i.getOrGeneratedKey(t.key);let i=this.reportToLabels[t.key];null==i&&(i=new Dt,this.reportToLabels[t.key]=i),i[e]=r}static getVariableLabel(t,e){if(null==t)return"";if(De.isNullOrWhiteSpace(e))return"";t.key=_i.getOrGeneratedKey(t.key);var t=this.reportToLabels[t.key];if(null==t)return"";var e=t[e];if(null==e)return"";return e}};h.reportToLabels={},Ae.aq.StiVariableHelper=h}let Rb=Ae.ap.StiFilterHelper;{let i=class extends Ae.aq.StiComponentBuilder{static renderAtEnd(t){null!=t.chartInfo.storedForProcessAtEndChart&&i.renderChart(t),t.chartInfo.storedForProcessAtEndChart=null}static renderChart(t){let e=null;if(null!=t.chartInfo.storedForProcessAtEndChart)e=t.chartInfo.storedForProcessAtEndChart;else if(e=t.clone(),t.processAtEnd)return e;return Hd.Engine.dontSaveDataSourceBeforeChartRendering||t.saveState("ChartRender"),null==t.masterComponent&&pd.setData(t,!0,t.parent),Ae.as["StiChartHelper"].createChart(t,e),Hd.Engine.dontSaveDataSourceBeforeChartRendering||t.restoreState("ChartRender"),e}prepare(t){super.prepare(t),Rb.setFilter(t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))}internalRenderAsync(r){return Y.tsfb(this,void 0,void 0,function*(){let t=r;var e=i.renderChart(t);return t.processAtEnd&&(t.chartInfo.storedForProcessAtEndChart=e),e})}internalRender(t){let e=t;var t=i.renderChart(e);return e.processAtEnd&&(e.chartInfo.storedForProcessAtEndChart=t),t}};Ae.aq.StiChartBuilder=i}let Lb=Ae.ap.StiClone;Ae.aq.StiCloneBuilder=class extends Ae.aq.StiContainerBuilder{internalRenderAsync(i){const n=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=i.as(Lb),e=t.container;if(this.isParentClonation(t))return null;while(null!=e&&e.is(Lb))e=e.container;if(null==e)return yield n.internalRenderAsync.call(this,t);let r=yield e.renderAsync();return r.border=t.border.clone(),r.brush=t.brush.clone(),r.clientRectangle=t.clientRectangle,r})}internalRender(t){let e=t.as(Lb),r=e.container;if(this.isParentClonation(e))return null;while(null!=r&&r.is(Lb))r=r.container;if(null==r)return super.internalRender(e);let i=r.render();return i.border=e.border.clone(),i.brush=e.brush.clone(),i.clientRectangle=e.clientRectangle,i}isParentClonation(t){if(null==t.container)return!1;let e=t.parent;while(null!=e&&e!=t.page){if(e==t.container)return!0;e=e.parent}return!1}},Ae.aq.StiFooterBandBuilder=class extends Ae.aq.StiBandBuilder{static getMaster(t){let e=t.parent.components.indexOf(t)-1;while(0<=e){if(t.parent.components.getByIndex(e).is(Jl))return t.parent.components.getByIndex(e);e--}return null}},Ae.aq.StiColumnFooterBandBuilder=class extends Ae.aq.StiFooterBandBuilder{internalRenderAsync(t){const s=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let r=t,i=Ae.aq.StiFooterBandBuilder.getMaster(r);if(null==i||i.columns<2)return yield s.internalRenderAsync.call(this,r);let n=new Ql;n.name=r.name,n.width=r.width,n.height=r.height;var a=i.getColumnWidth()+i.columnGaps;for(let e=0;e<i.columns;e++){if(r.report.column=e+1,!(i.position+e<i.count&&!r.printIfEmpty||r.printIfEmpty))break;{let t=yield s.internalRenderAsync.call(this,r);t.dockStyle=rb.None,t.width=a,n.components.add(t),i.rightToLeft?t.left=n.width-a*(e+1)+i.columnGaps:t.left=a*e,t.top=0}}return n})}internalRender(t){let r=t,i=Ae.aq.StiFooterBandBuilder.getMaster(r);if(null==i||i.columns<2)return super.internalRender(r);let n=new Ql;n.name=r.name,n.width=r.width,n.height=r.height;var a=i.getColumnWidth()+i.columnGaps;for(let e=0;e<i.columns;e++){if(r.report.column=e+1,!(i.position+e<i.count&&!r.printIfEmpty||r.printIfEmpty))break;{let t=super.internalRender(r);t.dockStyle=rb.None,t.width=a,n.components.add(t),i.rightToLeft?t.left=n.width-a*(e+1)+i.columnGaps:t.left=a*e,t.top=0}}return n}},Ae.aq.StiHeaderBandBuilder=class extends Ae.aq.StiBandBuilder{static getMaster(t){let e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){if(t.parent.components.getByIndex(e).is(Jl))return t.parent.components.getByIndex(e);e++}return null}};{let o=class extends Ae.aq.StiHeaderBandBuilder{internalRenderAsync(a){const s=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=a,r=o.getMaster(t);if(null==r||r.columns<2)return yield s.internalRenderAsync.call(this,t);let i=new Ql;i.name=t.name,i.width=t.width,i.height=t.height,i.canGrow=t.canGrow,i.canShrink=t.canShrink,i.parentComponentIsBand=!0;var n=r.getColumnWidth()+r.columnGaps;for(let e=0;e<r.columns;e++){if(t.report.column=e+1,!(r.position+e<r.count&&!t.printIfEmpty||t.printIfEmpty))break;{let t=yield s.internalRenderAsync.call(this,a);t.dockStyle=rb.None,t.width=n,i.components.add(t),r.rightToLeft?t.left=i.width-n*(e+1)+r.columnGaps:t.left=n*e,t.top=0}}var e=i.width;return Wl.checkSize(i),i.parentComponentIsCrossBand||(i.width=e),i})}internalRender(r){let t=r,i=o.getMaster(t);if(null==i||i.columns<2)return super.internalRender(t);let n=new Ql;n.name=t.name,n.width=t.width,n.height=t.height,n.canGrow=t.canGrow,n.canShrink=t.canShrink,n.parentComponentIsBand=!0;var a=i.getColumnWidth()+i.columnGaps;for(let e=0;e<i.columns;e++){if(t.report.column=e+1,!(i.position+e<i.count&&!t.printIfEmpty||t.printIfEmpty))break;{let t=super.internalRender(r);t.dockStyle=rb.None,t.width=a,n.components.add(t),i.rightToLeft?t.left=n.width-a*(e+1)+i.columnGaps:t.left=a*e,t.top=0}}var e=n.width;return Wl.checkSize(n),n.parentComponentIsCrossBand||(n.width=e),n}};Ae.aq.StiColumnHeaderBandBuilder=o}Ae.aq.StiCrossLinePrimitiveBuilder=class extends Ae.aq.StiComponentBuilder{prepare(r){if(super.prepare(r),r.printOn!=Rd.AllPages){let t=r.getStartPoint();null!=t&&(t.printOn=r.printOn);let e=r.getEndPoint();null!=e&&(e.printOn=r.printOn)}}};let Mb=Ae.at.StiCrossColumn,Ob=Ae.at.StiCrossSummary,Hb=Ae.ap.StiCrossHeaderInteraction;{let w=class extends Ae.aq.StiContainerBuilder{static getCollapsingName(t){return this.getCollapsingName2(t.name,t.headerLevel,t.headerValue)}static getCollapsingName2(t,e,r){return De.format("{0}.{1}.{2}",t,e,r)}static isCollapsed(t){return this.isCollapsed2(t,t.headerLevel,t.headerValue)}static isCollapsed2(t,e,r){if(null==t.interaction||t.interaction.is(Hb)&&!t.interaction.collapsingEnabled)return!1;var i;if(null==t.report.interactionCollapsingStates)return!0;var r=t.report.interactionCollapsingStates[this.getCollapsingName2(t.name,e,r)];if("boolean"==typeof r)return r;return!0}static setCollapsed(t,e){if(null==t.interaction||t.interaction.is(Hb)&&!t.interaction.collapsingEnabled)return;null==t.report.interactionCollapsingStates&&(t.report.interactionCollapsingStates=new Dt),t.report.interactionCollapsingStates[this.getCollapsingName(t)]=e}static makeHorAlignment(r,i,t,e,n){if(r.wrap)return;if(r.horAlignment==ab.Width)i.left=0,i.width=e,sb.makeHorAlignmentByWidth(i,t);else if(r.horAlignment!=ab.None){i.left=0,i.width=e*n;var a=0,s=0,e={ref:a},n={ref:s},o;sb.calculateMaxAndMin(i,e,n,t),a=e.ref,s=n.ref;for(let e=t;e<i.components.count;e++){let t=i.components.getByIndex(e);r.horAlignment==ab.Left?t.left-=a:r.horAlignment==ab.Right?t.left+=i.width-s:r.horAlignment==ab.Center&&(o=(i.width-(s-a))/2,t.left-=a-o)}}}renderCrossTabOnPage(t,e,r,i,n,a){this.renderCrossTabSegment(t,e,r,i,n,a),this.makeHorAlignment(e,r,0,(null!=t.destinationContainer?t.destinationContainer:e.parent).width,1),this.finalizeCross(r)}makeHorAlignment(r,i,t,e,n){if(r.wrap)return;if(r.horAlignment==ab.Width)i.left=0,i.width=e,sb.makeHorAlignmentByWidth(i,t);else if(r.horAlignment!=ab.None){i.left=0,i.width=e*(1<n?n:1);var a={ref:0},s={ref:0};sb.calculateMaxAndMin(i,a,s,t);for(let e=t;e<i.components.count;e++){let t=i.components.getByIndex(e);switch(r.horAlignment){case ab.Left:t.left-=a.ref;break;case ab.Right:t.left+=i.width-s.ref;break;case ab.Center:var o=(i.width-(s.ref-a.ref))/2;t.left-=a.ref-o;break}}}}finalizeCross(t){t.canGrow=!1,t.canShrink=!0;var e=t.getActualSize();t.width=e.width,t.height=e.height,t.canGrow=!0}renderCrossTabSegment(t,e,r,i,n,a){var s=e.crossTabInfo.cross,o={ref:i};this.renderRowHeaders(t,e,r,o),this.renderColHeaders(t,e,r,o),i=o.ref,a.ref=sb.getEndRow(e,t.startRow,i,t.forceNoBreak),n.ref=sb.getEndCol(e,t.startColumn,i,t.forceNoBreak),a.ref=sb.checkMergedRowCells(e,t.startRow,a.ref,t.startColumn,n.ref),t.startRow<a.ref&&sb.renderCells(e,r,t.startColumn,t.startRow,n.ref,a.ref,i),t.renderingIsFinished=n.ref==s.colCount&&a.ref==s.rowCount,t.startColumn=n.ref,n.ref==s.colCount&&(t.startColumn=0,t.startRow=a.ref)}renderColHeaders(e,r,i,n,t=!1,a=!1){if(0==e.startRow&&!a)return 0;if(!t){let t=n.ref.clone();var s;if(t.height=1e5,this.renderColHeaders(e,r,i,{ref:t},!0,a)>n.ref.height)return 0}let o=r.crossTabInfo.cross;var l=this.getEndColumn(e,n.ref,o,r),u,h;if(!t){var a=n.ref.clone();if(this.renderColHeaders(e,r,i,{ref:a},!0)>n.ref.height)return 0}let c=0,d=0;if(o.isTopCrossTitleVisible&&(o.isCrossTitlePrintOnAllPages&&(t||sb.renderCells(r,i,e.startColumn,0,l,1,n.ref),n.ref.y+=o.heights[0],n.ref.height-=o.heights[0],c+=o.heights[0]),d++),sb.isColFieldsEmpty(r))return c;!t&&this.allColFieldsPresentOnAllPages(o)&&sb.renderCells(r,i,e.startColumn,d,l,d+o.colFields.count,n.ref);for(u of o.colFields.toCast()){u.printOnAllPages&&(t||this.allColFieldsPresentOnAllPages(o)||sb.renderCells(r,i,e.startColumn,d,l,d+1,n.ref),h=o.heights.length>d?o.heights[d]:0,n.ref.y+=h,n.ref.height-=h,c+=h),d++}return c}allColFieldsPresentOnAllPages(t){return t.colFields.toList().count2(t=>t.printOnAllPages)==t.colFields.count}getEndColumn(t,e,r,i){let n=e.width,a=t.startColumn;while(a<r.colCount){if(n-=r.widths[a],n<0&&i.horAlignment!=ab.Width)break;a++}return a==t.startColumn&&a+1<=r.colCount&&a++,a}getEndRow(t,e,r){let i=e.height,n=t.startRow;while(n<r.rowCount){if(i-=r.heights[n],i<0)break;n++}return n==t.startRow&&n+1<=r.rowCount&&n++,n}renderRowHeaders(r,i,e,n,t=!1){let a=i.crossTabInfo.cross;if(!i.rightToLeft&&0==r.startColumn)return 0;if(i.rightToLeft&&!t){var s=sb.getEndCol(i,r.startColumn,n.ref,!1);if(s==a.cells.length){if(i.rightToLeft&&n.ref.width!=1e5-r.shiftX-e.left){let e=0;for(let t=r.startColumn;t<s;t++)e+=a.widths[t];n.ref.x+=n.ref.width-e}return 0}}var o=0;if(!t){let t=n.ref.clone();t.width=1e5;var l={ref:t},o=this.renderRowHeaders(r,i,e,l,!0);if(t=l.ref,o>n.ref.width)return 0;if(i.rightToLeft){t=n.ref.clone(),t.width-=o;var u=sb.getEndCol(i,r.startColumn,t,!1);let e=0;for(let t=r.startColumn;t<u;t++)e+=a.widths[t];1e5!=n.ref.width&&(n.ref.x+=n.ref.width-(e+o)),n.ref.width=e+o}}var h=n.ref.height,l=n.ref.y,c=n.ref.x;if(this.renderCorner(r,i,e,n,a,t),!t){var o=n.ref.clone();if(this.renderRowHeaders(r,i,e,{ref:o},!0)>n.ref.width)return 0}let d=0;var m=this.getEndRow(r,n.ref,a),p;let g=0;if((a.isLeftCrossTitleVisible||a.isTopCrossTitleVisible&&a.isColsEmpty)&&(a.isCrossTitlePrintOnAllPages&&(t||sb.renderCells(i,e,0,r.startRow,1,m,n.ref),n.ref.x+=a.widths[0],n.ref.width-=a.widths[0],d+=a.widths[0]),g++),sb.isRowFieldsEmpty(i))return d;let f=1;i.rightToLeft&&(g=a.cells.length-1-g,f=-1);let S=g,b=0;for(p of a.rowFields.toCast()){var y=a.widths.length>g?a.widths[g]:0;p.printOnAllPages&&(b+=y,d+=y),(!p.printOnAllPages||p==a.rowFields.getByIndex(a.rowFields.count-1))&&0<b&&(i.rightToLeft&&(n.ref.x=c+n.ref.width-b),t||sb.renderCells(i,e,S,r.startRow,g+1,m,n.ref),i.rightToLeft||(n.ref.x+=b),n.ref.width-=b,b=0,S=g+f),i.rightToLeft?S--:g++}return i.rightToLeft&&(n.ref.x=c),n.ref.y=l,n.ref.height=h,d}renderCorner(t,e,r,i,n,a=!1){if(0==t.startRow||sb.isColFieldsEmpty(e))return 0;if(!a){var s=i.ref.clone();if(this.renderCorner(t,e,r,{ref:s},n,!0)>i.ref.height)return 0}let o=0,l=0;var u=n.rowFields.toList().count2(t=>t.printOnAllPages),h,c;n.isTopCrossTitleVisible&&(n.isCrossTitlePrintOnAllPages&&(a||sb.renderCells(e,r,0,0,u,1,i.ref),i.ref.y+=n.heights[0],i.ref.height-=n.heights[0],o+=n.heights[0]),l++),!a&&this.allColFieldsPresentOnAllPages(n)&&sb.renderCells(e,r,0,l,u,l+n.colFields.count,i.ref);for(h of n.colFields.toCast()){h.printOnAllPages&&(a||this.allColFieldsPresentOnAllPages(n)||sb.renderCells(e,r,0,l,u,l+1,i.ref),c=n.heights.length>l?n.heights[l]:0,i.ref.y+=c,i.ref.height-=c,o+=c),l++}return o}renderCrossTabOnDataBand(n,a,s){let o=n.destinationRectangle.clone();o.x=0,o.y=0,o.width=a.parent.width-o.left,o.height=Number.MAX_VALUE;let t=n.startRow,l=n.startColumn;n.startColumn=0;var i=a.page;let u=i.pageWidth-i.margins.left-i.margins.right,h=u;i.unlimitedBreakable||(o.width=1e9,h=1e9,u=1e9);var c=s.components.count;let d=null!=a.crossTabInfo.cross.leftCrossTitle&&a.crossTabInfo.cross.leftCrossTitle.enabled&&null!=a.crossTabInfo.cross.rightCrossTitle&&a.crossTabInfo.cross.rightCrossTitle.enabled,m=null!=a.crossTabInfo.cross.leftCrossTitle&&a.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=a.crossTabInfo.cross.rightCrossTitle&&a.crossTabInfo.cross.rightCrossTitle.printOnAllPages;d=d||null!=a.crossTabInfo.cross.rowTitleFields&&0<a.crossTabInfo.cross.rowTitleFields.count&&a.crossTabInfo.cross.rowTitleFields.toList().any(t=>t.enabled),m=m||null!=a.crossTabInfo.cross.rowTitleFields&&0<a.crossTabInfo.cross.rowTitleFields.count&&null!=a.crossTabInfo.cross.summaryCrossTitle&&a.crossTabInfo.cross.summaryCrossTitle.printOnAllPages;let p=0,g=0;while(p<a.crossTabInfo.cross.rowCount){let i=new os;i.height=1e9;while(n.startColumn<a.crossTabInfo.cross.colCount){let e=0;var f=0;i.width=u;let r=0;var S=this.getActualHeaderRowCount(a);if(a.wrap&&a.rightToLeft){for(let t=a.crossTabInfo.cross.widths.length-1;t>a.crossTabInfo.cross.widths.length-S-1;t--)r+=a.crossTabInfo.cross.widths[t];i.width-=r}if(l=sb.getEndCol(a,n.startColumn,i,!1),0!=p&&a.printTitleOnAllPages){d&&m&&(1==p&&(o.y+=.7*a.crossTabInfo.cross.heights[0]),sb.renderCells(a,s,n.startColumn,0,l,1,o),o.y+=a.crossTabInfo.cross.heights[0],e+=a.crossTabInfo.cross.heights[0],i.height-=a.crossTabInfo.cross.heights[0]);var b=this.getActualHeaderRowCount(a);if(0!=b&&1!=p&&a.crossTabInfo.cross.isTopCrossTitleVisible&&a.crossTabInfo.cross.isCrossTitlePrintOnAllPages){sb.renderCells(a,s,n.startColumn,1,l,b+1,o);for(let t=1;t<=b;t++)o.y+=a.crossTabInfo.cross.heights[t],e+=a.crossTabInfo.cross.heights[t],i.height-=a.crossTabInfo.cross.heights[t]}l=sb.getEndCol(a,n.startColumn,i,!1)}if(t=sb.getEndRow(a,p,i,!1),sb.renderCells(a,s,n.startColumn,p,l,t,o),a.wrap){if(a.rightToLeft&&l<a.crossTabInfo.cross.colCount-1){let e=0;for(let t=n.startColumn;t<l;t++)e+=a.crossTabInfo.cross.widths[t];o.x+=e,sb.renderCells(a,s,a.crossTabInfo.cross.widths.length-S,p,a.crossTabInfo.cross.widths.length,t,o),o.x-=e}var y=sb.getCellsRect(a,n.startColumn,n.startRow,l,t);i.height-y.height<y.height+a.wrapGap?(g++,o.y=a.page.height*g,o.x=0,0==p?i.height=a.report.engine.freeSpace-a.top:i.height=a.report.engine.staticBands.reservedFreeSpace):(o.y+=y.height+a.wrapGap,i.height-=y.height+a.wrapGap,o.x=0),n.startColumn=l}else o.x+=h-f,o.width=u,n.startColumn=l,0!=p&&(o.y-=e,i.height+=e)}a.wrap||(o.y+=i.height,o.x=0),p=t,n.startColumn=0}var e=s.containerInfo.setSegmentPerWidth=sb.getPageSegmentsRequired(a);if(w.makeHorAlignment(a,s,c,a.parent.width,e),!i.unlimitedBreakable){let e=0;for(let t=c;t<s.components.count;t++){var v=s.components.getByIndex(t);e=Math.max(v.right,e)}let t=i.width,r=i.segmentPerWidth;while(t<e)r++,s.containerInfo.setSegmentPerWidth=r,t+=i.width}return s}renderCrossTabAsync(g,f){const S=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){var t=null!=Ae.aq.StiSubReportsHelper.getParentBand(f);let n=g.destinationContainer;if(null==n&&(n=(yield S.internalRenderAsync.call(this,f)).as(Ql),n.components.clear()),n.dockStyle=rb.None,f.page.unlimitedHeight&&!f.page.unlimitedBreakable||(n.canBreak=!0),!g.allowRendering)return n;if((null==f.dataSource||f.dataSource.isEmpty)&&!f.printIfEmpty)return g.renderingIsFinished=!0,n;if(t){let t=new Ae.aq.StiCrossTabV2Builder,e=g.destinationRectangle.clone();return e.x=0,e.y=0,t.renderCrossTabOnDataBand(g,f,n,e)}let a=g.destinationRectangle.clone();f.page.unlimitedHeight&&(a.height=1e8),a.x=0,a.y=0;let i=g.startRow,s=g.startColumn;if(f.wrap){while(g.startColumn<f.crossTabInfo.cross.colCount){i=sb.getEndRow(f,g.startRow,a,!1),s=sb.getEndCol(f,g.startColumn,a,!1),sb.renderCells(f,n,g.startColumn,g.startRow,s,i,a);var e=sb.getCellsRect(f,g.startColumn,g.startRow,s,i);if(s==f.crossTabInfo.cross.colCount&&i==f.crossTabInfo.cross.rowCount)return g.renderingIsFinished=!0,n;if(s==f.crossTabInfo.cross.colCount?(g.startRow=i,g.startColumn=0):g.startColumn=s,!(a.height-f.wrapGap-e.height>e.height))return g.renderingIsFinished=!1,n;a.y=e.height+f.wrapGap,a.height-=e.height+f.wrapGap}return g.renderingIsFinished=!0,n}a.x=0,a.y=0,s=sb.getEndCol(f,g.startColumn,a,!1),i=sb.getEndRow(f,g.startRow,a,!1);var o=null!=f.crossTabInfo.cross.leftCrossTitle&&f.crossTabInfo.cross.leftCrossTitle.enabled&&null!=f.crossTabInfo.cross.rightCrossTitle&&f.crossTabInfo.cross.rightCrossTitle.enabled,l=null!=f.crossTabInfo.cross.leftCrossTitle&&f.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=f.crossTabInfo.cross.rightCrossTitle&&f.crossTabInfo.cross.rightCrossTitle.printOnAllPages;let u=a.x,h=a.y;var c=a.x,d=a.y,r,m;if(0!=g.startColumn)for(let t=0;t<f.crossTabInfo.cross.rowFields.count;t++){f.crossTabInfo.cross.rowFields.getByIndex(t).printOnAllPages&&!f.rightToLeft&&(r=f.crossTabInfo.cross.widths[t],u+=r,a.width-=r)}if(0!=g.startRow)for(let t=0;t<f.crossTabInfo.cross.colFields.count;t++)f.crossTabInfo.cross.colFields.getByIndex(t).printOnAllPages&&(h+=f.crossTabInfo.cross.heights[t],a.height-=f.crossTabInfo.cross.heights[t]);if(o&&l&&0!=g.startRow&&(h+=f.crossTabInfo.cross.heights[f.crossTabInfo.cross.colFields.count],a.height-=f.crossTabInfo.cross.heights[f.crossTabInfo.cross.colFields.count]),0!=g.startColumn&&!sb.isRowFieldsEmpty(f)){a.x=c,a.y=h;let e=a.height,r=g.startRow;for(let t=g.startRow;t<i;t++){if(e-=f.crossTabInfo.cross.heights[t],e<0)break;r++}i=r;let t=0;while(t<f.crossTabInfo.cross.rowFields.count){let e=t;while(e<f.crossTabInfo.cross.rowFields.count&&f.crossTabInfo.cross.rowFields.getByIndex(e).printOnAllPages&&!f.rightToLeft)e++;if(t!=e){if(0<g.startRow){let t=a.clone();t.y=0,t.height-=a.y,sb.renderCells(f,n,0,0,e,f.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),t)}sb.renderCells(f,n,t,g.startRow,e,i,a),a.x+=f.crossTabInfo.cross.widths[t]}t=e+1}}if(0!=g.startRow){a.x=u,a.y=d;let e=a.width,r=g.startColumn;for(let t=g.startColumn;t<s;t++){if(e-=f.crossTabInfo.cross.widths[t],e<0)break;r++}s=r,o&&l&&(sb.renderCells(f,n.as(Ql),g.startColumn,0,s,1,a),a.y+=f.crossTabInfo.cross.heights[0]);let i=0;while(i<f.crossTabInfo.cross.colFields.count){let t=i;while(t<f.crossTabInfo.cross.colFields.count&&f.crossTabInfo.cross.colFields.getByIndex(t).printOnAllPages)t++;i!=t&&(o?(sb.renderCells(f,n,g.startColumn,i+1,s,t+1,a),a.y+=f.crossTabInfo.cross.heights[i+1]):(sb.renderCells(f,n,g.startColumn,i,s,t,a),a.y+=f.crossTabInfo.cross.heights[i])),i=t+1}}a.x=u,a.y=h;let p=!0;while(p){if(p=!1,s=sb.getEndCol(f,g.startColumn,a,!1),i=sb.getEndRow(f,g.startRow,a,!1),g.startRow<i&&sb.renderCells(f,n,g.startColumn,g.startRow,s,i,a),g.renderingIsFinished=s==f.crossTabInfo.cross.colCount&&i==f.crossTabInfo.cross.rowCount,g.startColumn=s,s==f.crossTabInfo.cross.colCount&&(g.startColumn=0,g.startRow=i),t||w.makeHorAlignment(f,n,0,(null!=g.destinationContainer?g.destinationContainer:f.parent).width,1),f.canGrow&&(n.canGrow=!1,n.canShrink=!0,m=n.getActualSize(),n.width=m.width,n.height=m.height,n.canGrow=!0),f.page.unlimitedHeight){let t=0,e=0;while(t<f.crossTabInfo.cross.rowCount)e+=f.crossTabInfo.cross.heights[t],t++;a.y+=e,g.renderingIsFinished?g.destinationContainer.containerInfo.setSegmentPerWidth=Ne.trunc(a.y/g.destinationRectangle.height):p=!0}}return n})}renderCrossTab(n,a){var t=null!=Ae.aq.StiSubReportsHelper.getParentBand(a);let s=n.destinationContainer;if(null==s&&(s=super.internalRender(a).as(Ql),s.components.clear()),s.dockStyle=rb.None,a.page.unlimitedHeight&&!a.page.unlimitedBreakable||(s.canBreak=!0),!n.allowRendering)return s;if((null==a.dataSource||a.dataSource.isEmpty)&&!a.printIfEmpty)return n.renderingIsFinished=!0,s;if(t){let t=new Ae.aq.StiCrossTabV2Builder,e=n.destinationRectangle.clone();return e.x=0,e.y=0,t.renderCrossTabOnDataBand(n,a,s,e)}let o=n.destinationRectangle.clone();a.page.unlimitedHeight&&(o.height=1e8),o.x=0,o.y=0;let i=n.startRow,l=n.startColumn;if(a.wrap){while(n.startColumn<a.crossTabInfo.cross.colCount){i=sb.getEndRow(a,n.startRow,o,!1),l=sb.getEndCol(a,n.startColumn,o,!1),sb.renderCells(a,s,n.startColumn,n.startRow,l,i,o);var e=sb.getCellsRect(a,n.startColumn,n.startRow,l,i);if(l==a.crossTabInfo.cross.colCount&&i==a.crossTabInfo.cross.rowCount)return n.renderingIsFinished=!0,s;if(l==a.crossTabInfo.cross.colCount?(n.startRow=i,n.startColumn=0):n.startColumn=l,!(o.height-a.wrapGap-e.height>e.height))return n.renderingIsFinished=!1,s;o.y=e.height+a.wrapGap,o.height-=e.height+a.wrapGap}return n.renderingIsFinished=!0,s}o.x=0,o.y=0,l=sb.getEndCol(a,n.startColumn,o,!1),i=sb.getEndRow(a,n.startRow,o,!1);var u=null!=a.crossTabInfo.cross.leftCrossTitle&&a.crossTabInfo.cross.leftCrossTitle.enabled&&null!=a.crossTabInfo.cross.rightCrossTitle&&a.crossTabInfo.cross.rightCrossTitle.enabled,h=null!=a.crossTabInfo.cross.leftCrossTitle&&a.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=a.crossTabInfo.cross.rightCrossTitle&&a.crossTabInfo.cross.rightCrossTitle.printOnAllPages;let c=o.x,d=o.y;var m=o.x,p=o.y,r,g;if(0!=n.startColumn)for(let t=0;t<a.crossTabInfo.cross.rowFields.count;t++){a.crossTabInfo.cross.rowFields.getByIndex(t).printOnAllPages&&!a.rightToLeft&&(r=a.crossTabInfo.cross.widths[t],c+=r,o.width-=r)}if(0!=n.startRow)for(let t=0;t<a.crossTabInfo.cross.colFields.count;t++)a.crossTabInfo.cross.colFields.getByIndex(t).printOnAllPages&&(d+=a.crossTabInfo.cross.heights[t],o.height-=a.crossTabInfo.cross.heights[t]);if(u&&h&&0!=n.startRow&&(d+=a.crossTabInfo.cross.heights[a.crossTabInfo.cross.colFields.count],o.height-=a.crossTabInfo.cross.heights[a.crossTabInfo.cross.colFields.count]),0!=n.startColumn&&!sb.isRowFieldsEmpty(a)){o.x=m,o.y=d;let e=o.height,r=n.startRow;for(let t=n.startRow;t<i;t++){if(e-=a.crossTabInfo.cross.heights[t],e<0)break;r++}i=r;let t=0;while(t<a.crossTabInfo.cross.rowFields.count){let e=t;while(e<a.crossTabInfo.cross.rowFields.count&&a.crossTabInfo.cross.rowFields.getByIndex(e).printOnAllPages&&!a.rightToLeft)e++;if(t!=e){if(0<n.startRow){let t=o.clone();t.y=0,t.height-=o.y,sb.renderCells(a,s,0,0,e,a.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),t)}sb.renderCells(a,s,t,n.startRow,e,i,o),o.x+=a.crossTabInfo.cross.widths[t]}t=e+1}}if(0!=n.startRow){o.x=c,o.y=p;let e=o.width,r=n.startColumn;for(let t=n.startColumn;t<l;t++){if(e-=a.crossTabInfo.cross.widths[t],e<0)break;r++}l=r,u&&h&&(sb.renderCells(a,s.as(Ql),n.startColumn,0,l,1,o),o.y+=a.crossTabInfo.cross.heights[0]);let i=0;while(i<a.crossTabInfo.cross.colFields.count){let t=i;while(t<a.crossTabInfo.cross.colFields.count&&a.crossTabInfo.cross.colFields.getByIndex(t).printOnAllPages)t++;i!=t&&(u?(sb.renderCells(a,s,n.startColumn,i+1,l,t+1,o),o.y+=a.crossTabInfo.cross.heights[i+1]):(sb.renderCells(a,s,n.startColumn,i,l,t,o),o.y+=a.crossTabInfo.cross.heights[i])),i=t+1}}o.x=c,o.y=d;let f=!0;while(f){if(f=!1,l=sb.getEndCol(a,n.startColumn,o,!1),i=sb.getEndRow(a,n.startRow,o,!1),n.startRow<i&&sb.renderCells(a,s,n.startColumn,n.startRow,l,i,o),n.renderingIsFinished=l==a.crossTabInfo.cross.colCount&&i==a.crossTabInfo.cross.rowCount,n.startColumn=l,l==a.crossTabInfo.cross.colCount&&(n.startColumn=0,n.startRow=i),t||w.makeHorAlignment(a,s,0,(null!=n.destinationContainer?n.destinationContainer:a.parent).width,1),a.canGrow&&(s.canGrow=!1,s.canShrink=!0,g=s.getActualSize(),s.width=g.width,s.height=g.height,s.canGrow=!0),a.page.unlimitedHeight){let t=0,e=0;while(t<a.crossTabInfo.cross.rowCount)e+=a.crossTabInfo.cross.heights[t],t++;o.y+=e,n.renderingIsFinished?n.destinationContainer.containerInfo.setSegmentPerWidth=Ne.trunc(o.y/n.destinationRectangle.height):f=!0}}return s}renderCrossTabUnlimitedBreakable(e,r,i,n){let a=this.getPageForCrossTab(i);null==a&&(a=r.report.renderedPages.toList().lastOrDefault());var s=sb.getEndCol(r,e.startColumn,n,!1),t=sb.getEndRow(r,e.startRow,n,!1),o=a.width,l=a.height;let u=0,h=0;while(h<t){a.segmentPerHeight=Math.max(a.segmentPerHeight,u+1);let t=0;var c={ref:0},d={ref:0};while(c.ref<s){a.segmentPerWidth=Math.max(a.segmentPerWidth,t+1);var m=new Tr(n.left+t*o,n.top+u*l,e.destinationRectangle.width,e.destinationRectangle.height);e.startColumn=c.ref,e.startRow=h,this.renderCrossTabOnPage(e,r,i,m,c,d),t++}h=d.ref,u++}}getPageForCrossTab(t){let e=null,r=t;while(null==e&&null!=r)e=r.page,r=r.parent;return e}getActualHeaderRowCount(t){let e=0,r=0;for(var i of t.components.list)i.is(Ob)&&i.enabled&&r++,i.is(Mb)&&i.enabled&&e++;return 1<r&&t.summaryDirection==mu.LeftToRight&&e++,e}prepare(t){super.prepare(t),Rb.setFilter(t)}unPrepare(t){super.unPrepare(t),sb.clearCross(t.as(Bu))}internalRenderAsync(n){const a=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=n.as(Bu),e=new ob;var r=null!=Ae.aq.StiSubReportsHelper.getParentBand(t);e.allowRendering=r;let i=n.parent.as(Jl);if(null!=i?e.destinationRectangle=i.parent.clientRectangle.clone():e.destinationRectangle=t.clientRectangle.clone(),r)return sb.createCross(t),yield this.renderCrossTabAsync(e,t);{let t=(yield a.internalRenderAsync.call(this,n)).as(Ql);return null!=t&&(t.width=n.width,t.height=n.height,t.components.clear()),t}})}internalRender(e){let t=e.as(Bu),r=new ob;var i=null!=Ae.aq.StiSubReportsHelper.getParentBand(t);r.allowRendering=i;let n=e.parent.as(Jl);if(null!=n?r.destinationRectangle=n.parent.clientRectangle.clone():r.destinationRectangle=t.clientRectangle.clone(),i)return sb.createCross(t),this.renderCrossTab(r,t);{let t=super.internalRender(e).as(Ql);return null!=t&&(t.width=e.width,t.height=e.height,t.components.clear()),t}}};Ae.aq.StiCrossTabBuilder=w}let _b=Ae.ap.StiPageHeaderBand,Vb=Ae.ap.StiPageFooterBand;{let P=class extends Ae.aq.StiContainerBuilder{renderCrossTabWrapped(t,e,r,i){var n=e.crossTabInfo.cross,a=i.width;while(t.startColumn<n.colCount){var s={ref:i};this.renderRowHeaders(t,e,r,s),i=s.ref;var o=sb.getEndCol(e,t.startColumn,i,!1),l=sb.getEndRow(e,t.startRow,i,!1),l=sb.checkMergedRowCells(e,t.startRow,l,t.startColumn,o);sb.renderCells(e,r,t.startColumn,t.startRow,o,l,i);var s=sb.getCellsRect(e,t.startColumn,t.startRow,o,l);if(t.renderingIsFinished=o==n.colCount&&l==n.rowCount,t.renderingIsFinished)return;if(o==n.colCount?(t.startColumn=0,t.startRow=l):t.startColumn=o,!(i.height-e.wrapGap-s.height>s.height))return void(t.renderingIsFinished=!1);i.y+=s.height+e.wrapGap,i.height-=s.height+e.wrapGap,i.x=0,i.width=a}t.renderingIsFinished=!0}renderCrossTabUnlimited(t,e,r,i){var n,a=e.crossTabInfo.cross,s,o;let l=null!==(n=this.getPageForCrossTab(r))&&void 0!==n?n:e.report.renderedPages.toList().lastOrDefault();this.renderCrossTabOnPage(t,e,r,i,0,0);let u=e.left;for(let t=0;t<a.widths.length;t++)u+=a.widths[t];var h=u/(t.destinationRectangle.width+t.destinationRectangle.x);while(h>l.segmentPerWidth)l.segmentPerWidth++;let c=e.top;for(let t=0;t<a.heights.length;t++)c+=a.heights[t];var d=c/(t.destinationRectangle.height+t.destinationRectangle.y);while(d>l.segmentPerHeight)l.segmentPerHeight++}renderCrossTabAsync(a,s){const o=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){var t=null!=Ae.aq.StiSubReportsHelper.getParentBand(s),e,r;let i=a.destinationContainer;if(null==i&&(i=(yield o.internalRenderAsync.call(this,s)).as(Ql),i.components.clear()),i.dockStyle=rb.None,s.page.unlimitedHeight&&!s.page.unlimitedBreakable||(i.canBreak=!0),!a.allowRendering)return i;if((null==s.dataSource||s.dataSource.isEmpty)&&!s.printIfEmpty)return a.renderingIsFinished=!0,i;let n=a.destinationRectangle.clone();if(n.x=0,n.y=0,t)return this.renderCrossTabOnDataBand(a,s,i,n);return s.wrap?this.renderCrossTabWrapped(a,s,i,n):s.page.unlimitedHeight?(n.width=1e8,n.height=1e8,s.page.unlimitedBreakable?this.renderCrossTabUnlimitedBreakable(a,s,i,n):this.renderCrossTabUnlimited(a,s,i,n)):this.renderCrossTabOnPage(a,s,i,n,{ref:0},{ref:0}),i})}renderCrossTabOnPage(t,e,r,i,n,a){this.renderCrossTabSegment(t,e,r,i,n,a),P.makeHorAlignment(e,r,0,(null!=t.destinationContainer?t.destinationContainer:e.parent).width,1),this.finalizeCross(r)}getPageForCrossTab(t){let e=null,r=t;while(null==e&&null!=r)e=r.page,r=r.parent;return e}renderCrossTabUnlimitedBreakable(e,r,i,n){let a=this.getPageForCrossTab(i);null==a&&(a=r.report.renderedPages.toList().lastOrDefault());var s=sb.getEndCol(r,e.startColumn,n,!1),t=sb.getEndRow(r,e.startRow,n,!1),o=a.width,l=a.height;let u=0,h=0;while(h<t){a.segmentPerHeight=Math.max(a.segmentPerHeight,u+1);let t=0;var c={ref:0},d={ref:0};while(c.ref<s){a.segmentPerWidth=Math.max(a.segmentPerWidth,t+1);var m=new Tr(n.left+t*o,n.top+u*l,e.destinationRectangle.width,e.destinationRectangle.height);e.startColumn=c.ref,e.startRow=h,this.renderCrossTabOnPage(e,r,i,m,c,d),t++}h=d.ref,u++}}renderCrossTabOnDataBand(n,a,s,o){let l=a.page;var u=a.crossTabInfo.cross;let h=a.report.engine;var t=l.pageWidth-l.margins.left-l.margins.right;let c=t;l.unlimitedBreakable||(c=1e5);var e=s.components.count,r,i;n.startRow=0;let d=!1,m=!0,p=0,g=0,f=0;for(i of h.bandsOnAllPages.getBandsList())f+=i.height;for(let e=0;e<l.components.length;e++){let t=l.components.getByIndex(e);(t.is(_b)||t.is(Vb))&&(0<(t.printOn&Rd.ExceptFirstPage)&&(f+=t.height),0<(t.printOn&Rd.OnlyFirstPage)&&(f-=t.height))}while(n.startRow<u.rowCount){n.startColumn=m?0:n.startColumn;var S=a.keepCrossTabTogether&&null!=a.parent&&!a.parent.canBreak,b;let t=0!=n.startRow||d||S?h.staticBands.reservedFreeSpace-f:h.freeSpace-a.top;if(l.unlimitedHeight&&!l.unlimitedBreakable&&(t=1e8),t<0&&(t=h.staticBands.reservedFreeSpace),0==n.startRow||!m)if(this.renderColHeaders(n,a,s,{ref:o},!0,!0)>t){if(!d){g=t,p+=t,d=!0;continue}p-=g,t=g}else null!=a.parent&&a.parent.is(Dl)&&!a.parent.canBreak&&(p-=g);let e=n.shiftX,r=0,i=!0;while(n.startColumn<u.colCount){var y=new Tr(e,p,c-s.left-(i?n.shiftX:0),t),v,w={ref:v},C={ref:r};if(this.renderCrossTabSegment(n,a,s,y,w,C),v=w.ref,r=C.ref,n.startColumn=v,a.wrap){m=n.startColumn>=u.colCount;break}i&&(e-=n.shiftX),e+=c,i=!1}m&&(p+=t,n.startRow=r),0<s.components.count&&(p=Math.max(p,s.components.toList().max(t=>t.bottom))),m||(p+=a.wrapGap)}if(0<s.components.count&&!a.wrap&&a.horAlignment!=ab.Width){var T=s.components.toList().max(t=>t.right)/t;if(1<T)while(T>s.containerInfo.setSegmentPerWidth)s.containerInfo.setSegmentPerWidth++}return P.makeHorAlignment(a,s,e,a.parent.width,s.containerInfo.setSegmentPerWidth),this.finalizeCross(s),s}finalizeCross(t){t.canGrow=!1,t.canShrink=!0;var e=t.getActualSize();t.width=e.width,t.height=e.height,t.canGrow=!0}static makeHorAlignment(r,i,t,e,n){if(r.wrap)return;if(r.horAlignment==ab.Width)i.left=0,i.width=e,sb.makeHorAlignmentByWidth(i,t);else if(r.horAlignment!=ab.None){i.left=0,i.width=e*n;var a=0,s=0,e={ref:a},n={ref:s},o;sb.calculateMaxAndMin(i,e,n,t),a=e.ref,s=n.ref;for(let e=t;e<i.components.count;e++){let t=i.components.getByIndex(e);r.horAlignment==ab.Left?t.left-=a:r.horAlignment==ab.Right?t.left+=i.width-s:r.horAlignment==ab.Center&&(o=(i.width-(s-a))/2,t.left-=a-o)}}}getEndColumn(t,e,r,i){let n=e.width,a=t.startColumn;while(a<r.colCount){if(n-=r.widths[a],n<0&&i.horAlignment!=ab.Width)break;a++}return a==t.startColumn&&a+1<=r.colCount&&a++,a}getEndRow(t,e,r){let i=e.height,n=t.startRow;while(n<r.rowCount){if(i-=r.heights[n],i<0)break;n++}return n==t.startRow&&n+1<=r.rowCount&&n++,n}allColFieldsPresentOnAllPages(t){return t.colFields.toList().count2(t=>t.printOnAllPages)==t.colFields.count}renderColHeaders(e,r,i,n,a=!1,s=!1){if(0==e.startRow&&!s)return 0;if(!a){let t=n.ref.clone();t.height=1e5;var o={ref:t},l;if(this.renderColHeaders(e,r,i,o,!0,s)>n.ref.height)return 0}let u=r.crossTabInfo.cross;var h=this.getEndColumn(e,n.ref,u,r);if(!a){var s=n.ref.clone();if(this.renderColHeaders(e,r,i,{ref:s},!0)>n.ref.height)return 0}let c=0,d=0;var m=sb.isColFieldsEmpty(r)&&r.summaryDirection==mu.LeftToRight&&1<u.sumFields.count?1:0;if(u.isTopCrossTitleVisible){if(u.isCrossTitlePrintOnAllPages){a||sb.renderCells(r,i,e.startColumn,0,h,1+m,n.ref);for(let t=0;t<1+m;t++)n.ref.y+=u.heights[t],n.ref.height-=u.heights[t],c+=u.heights[t]}d++}if(sb.isColFieldsEmpty(r))return c;var p=r.summaryDirection==mu.LeftToRight&&1<u.sumFields.count?1:0,g;!a&&this.allColFieldsPresentOnAllPages(u)&&sb.renderCells(r,i,e.startColumn,d,h,d+u.colFields.count+p,n.ref);for(let t=0;t<u.colFields.count+p;t++){(t<u.colFields.count&&u.colFields.getByIndex(t).as(hd).printOnAllPages||t>=u.colFields.count)&&(a||this.allColFieldsPresentOnAllPages(u)||sb.renderCells(r,i,e.startColumn,d,h,d+1,n.ref),g=u.heights.length>d?u.heights[d]:0,n.ref.y+=g,n.ref.height-=g,c+=g),d++}return c}renderCrossTabSegment(t,e,r,i,n,a){var s=e.crossTabInfo.cross,o={ref:i};this.renderRowHeaders(t,e,r,o),this.renderColHeaders(t,e,r,o),i=o.ref,a.ref=sb.getEndRow(e,t.startRow,i,t.forceNoBreak),n.ref=sb.getEndCol(e,t.startColumn,i,t.forceNoBreak),a.ref=sb.checkMergedRowCells(e,t.startRow,a.ref,t.startColumn,n.ref),t.startRow<a.ref&&sb.renderCells(e,r,t.startColumn,t.startRow,n.ref,a.ref,i),t.renderingIsFinished=n.ref==s.colCount&&a.ref==s.rowCount,t.startColumn=n.ref,n.ref==s.colCount&&(t.startColumn=0,t.startRow=a.ref)}renderRowHeaders(r,i,e,n,t=!1){let a=i.crossTabInfo.cross;if(!i.rightToLeft&&0==r.startColumn)return 0;if(i.rightToLeft&&!t){var s=sb.getEndCol(i,r.startColumn,n.ref,!1);if(s==a.cells.length){if(i.rightToLeft&&n.ref.width!=1e5-r.shiftX-e.left){let e=0;for(let t=r.startColumn;t<s;t++)e+=a.widths[t];n.ref.x+=n.ref.width-e}return 0}}var o=0;if(!t){let t=n.ref.clone();t.width=1e5;var l={ref:t},o=this.renderRowHeaders(r,i,e,l,!0);if(t=l.ref,o>n.ref.width)return 0;if(i.rightToLeft){t=n.ref.clone(),t.width-=o;var u=sb.getEndCol(i,r.startColumn,t,!1);let e=0;for(let t=r.startColumn;t<u;t++)e+=a.widths[t];1e5!=n.ref.width&&(n.ref.x+=n.ref.width-(e+o)),n.ref.width=e+o}}var h=n.ref.height,l=n.ref.y,c=n.ref.x;if(this.renderCorner(r,i,e,n,a,t),!t){var o=n.ref.clone();if(this.renderRowHeaders(r,i,e,{ref:o},!0)>n.ref.width)return 0}let d=0;var m=this.getEndRow(r,n.ref,a),p;let g=0;if((a.isLeftCrossTitleVisible||a.isTopCrossTitleVisible&&a.isColsEmpty)&&(a.isCrossTitlePrintOnAllPages&&(t||sb.renderCells(i,e,0,r.startRow,1,m,n.ref),n.ref.x+=a.widths[0],n.ref.width-=a.widths[0],d+=a.widths[0]),g++),sb.isRowFieldsEmpty(i))return d;let f=1;i.rightToLeft&&(g=a.cells.length-1-g,f=-1);let S=g,b=0;for(p of a.rowFields.toCast()){var y=a.widths.length>g?a.widths[g]:0;p.printOnAllPages&&(b+=y,d+=y),(!p.printOnAllPages||p==a.rowFields.getByIndex(a.rowFields.count-1))&&0<b&&(i.rightToLeft&&(n.ref.x=c+n.ref.width-b),t||sb.renderCells(i,e,S,r.startRow,g+1,m,n.ref),i.rightToLeft||(n.ref.x+=b),n.ref.width-=b,b=0,S=g+f),i.rightToLeft?S--:g++}return i.rightToLeft&&(n.ref.x=c),n.ref.y=l,n.ref.height=h,d}renderCorner(t,e,r,i,n,a=!1){if(0==t.startRow||sb.isColFieldsEmpty(e))return 0;if(!a){var s=i.ref.clone();if(this.renderCorner(t,e,r,{ref:s},n,!0)>i.ref.height)return 0}let o=0,l=0;var u=n.rowFields.toList().count2(t=>t.printOnAllPages),h,c;n.isTopCrossTitleVisible&&(n.isCrossTitlePrintOnAllPages&&(a||sb.renderCells(e,r,0,0,u,1,i.ref),i.ref.y+=n.heights[0],i.ref.height-=n.heights[0],o+=n.heights[0]),l++),!a&&this.allColFieldsPresentOnAllPages(n)&&sb.renderCells(e,r,0,l,u,l+n.colFields.count,i.ref);for(h of n.colFields.toCast()){h.printOnAllPages&&(a||this.allColFieldsPresentOnAllPages(n)||sb.renderCells(e,r,0,l,u,l+1,i.ref),c=n.heights.length>l?n.heights[l]:0,i.ref.y+=c,i.ref.height-=c,o+=c),l++}return o}prepare(t){super.prepare(t),Rb.setFilter(t)}unPrepare(t){super.unPrepare(t),sb.clearCross(t.as(Bu))}internalRenderAsync(n){const a=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=n.as(Bu),e=new ob;var r=null!=Ae.aq.StiSubReportsHelper.getParentBand(t);e.allowRendering=r;let i=n.parent.as(Jl);if(null!=i?e.destinationRectangle=i.parent.clientRectangle.clone():e.destinationRectangle=t.clientRectangle.clone(),r)return sb.createCross(t),yield this.renderCrossTabAsync(e,t);{let t=(yield a.internalRenderAsync.call(this,n)).as(Ql);return null!=t&&(t.width=n.width,t.height=n.height,t.components.clear()),t}})}};Ae.aq.StiCrossTabV2Builder=P}Ae.aq.StiGaugeBuilder=class extends Ae.aq.StiComponentBuilder{internalRenderAsync(r){return Y.tsfb(this,void 0,void 0,function*(){var t=r.clone();if(Ae.aE["Helpers"].StiGaugeInitHelper.isGaugeV2(t))Ae.aE["Helpers"].StiGaugeInitHelper.prepare(t);else for(var e of t.scales.list)e.prepare(t);return t})}internalRender(t){var e=t.clone(),r;for(r of e.scales.list)r.prepare(e);return e}},Ae.aq.StiGroupFooterBandBuilder=class extends Ae.aq.StiBandBuilder{static getMaster(t){let e=t.parent.components.indexOf(t)-1;while(0<=e){if(t.parent.components.getByIndex(e).is(Jl))return t.parent.components.getByIndex(e);e--}return null}setReportVariables(t){let e=t;e.report.groupLine=e.line}};{let a=class extends Ae.aq.StiDataBandBuilder{internalRenderAsync(i){const n=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=i;if(this.isCollapsed(t))return new Ql;var e=(yield n.internalRenderAsync.call(this,t)).as(Ql),r,r;return null!=e&&(t.isDataSourceEmpty||t.dataSource.isEmpty||0<(r=t.dataSource.getLevel())&&a.createIndention(t,e,r),t.isBusinessObjectEmpty||t.businessObject.isEmpty||0<(r=t.businessObject.getLevel())&&a.createIndention(t,e,r)),e})}internalRender(t){let e=t;if(this.isCollapsed(e))return new Ql;var t=super.internalRender(e).as(Ql),r,r;return null!=t&&(e.isDataSourceEmpty||e.dataSource.isEmpty||0<(r=e.dataSource.getLevel())&&a.createIndention(e,t,r),e.isBusinessObjectEmpty||e.businessObject.isEmpty||0<(r=e.businessObject.getLevel())&&a.createIndention(e,t,r)),t}isCollapsed(t,e=!1){let r=t;if(0==r.collapsingIndex||0==r.position)return!1;var i=r.collapsingIndex,n=r.position;let a=0;var t=!r.isBusinessObjectEmpty;let s=null;r.isDataSourceEmpty||(a=r.dataSource.getLevel()),t&&(a=r.businessObject.getLevel());try{if(t){let t=r.position;s=r.businessObject.current,r.position=0;let e=[];while(e.length<t&&!r.isEof)e.push(r.businessObject.current),r.next();while(1){if(0==r.collapsingIndex||0==t)return!1;if(r.collapsingIndex--,t--,r.businessObject.currentObject=e[t],a<=r.businessObject.getLevel())continue;if(Ae.aq.StiDataBandBuilder.isCollapsed(r,!1))return!0}}if(!r.isDataSourceEmpty)while(1){if(0==r.collapsingIndex||0==r.position)return!1;if(r.collapsingIndex--,r.position--,a<=r.dataSource.getLevel())continue;if(Ae.aq.StiDataBandBuilder.isCollapsed(r,!1))return!0}return!1}finally{t&&(r.businessObject.currentObject=s),r.collapsingIndex=i,r.position=n}}static createIndention(t,e,r){var i=r*t.report.unit.convertFromHInches(t.indent),n;for(n of e.components.list){if(n.locked)continue;n.left+=i}}};Ae.aq.StiHierarchicalBandBuilder=a}Ae.aq.StiViewBuilder=class extends Ae.aq.StiComponentBuilder{internalRenderAsync(i){return Y.tsfb(this,void 0,void 0,function*(){let t=i,e=t.clone(!1);var r;return e.guid,null==e.image&&(e.guid=null),null==e.imageToDraw&&(r=t.getImageFromSource(),e.imageToDraw=r),e.invokeEvents(),e})}internalRender(t){let e=t,r=e.clone(!1);var t;return r.guid&&Ae.c.StiFileImageCache.remove(Ae.c.StiFileImageCache.getImageCacheName(e.report.imageCachePath,r.guid)),null==r.image&&(r.guid=null),null==r.imageToDraw&&(t=e.getImageFromSource(),r.imageToDraw=t),r.invokeEvents(),r}},Ae.aq.StiImageBuilder=class extends Ae.aq.StiViewBuilder{internalRenderAsync(i){const n=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){var t=null!=i?i.as(yd):null,e;let r=yield n.internalRenderAsync.call(this,t);return null!=r?r.as(yd):null})}internalRender(t){var t=null!=t?t.as(yd):null,e;let r=super.internalRender(t);return null!=r?r.as(yd):null}};{let r=class extends Ae.aq.StiComponentBuilder{static renderMap(e){let u=e.clone(),r=null;if(null!=e.dataSource?r=e.dataSourceName:null!=e.businessObject&&(r=e.businessObjectGuid),null==r||De.isNullOrEmpty(e.keyDataColumn)){if(!De.isNullOrEmpty(e.latitude)&&!De.isNullOrEmpty(e.longitude)){let r,i,t=u.parent;var a,s;u.pushPins=null,null!=t&&t.is(Jl)?(a=ml.getDataFromDataColumn(u.report.dictionary,u.latitude),s=ml.getDataFromDataColumn(u.report.dictionary,u.longitude),null!=a&&null!=s&&(r=[a],i=[s])):(r=ml.getDataListFromDataColumn(e.report.dictionary,e.latitude),i=ml.getDataListFromDataColumn(e.report.dictionary,e.longitude));let n=new Ee;if(null!=r&&null!=i){let e=Math.max(r.length,i.length);100<e&&(e=100);for(let t=0;t<e;t++){var o=r[t],l=i[t];if(null==o||null==l)continue;var o=this.tryToDecimal(o).toString(),l=this.tryToDecimal(l).toString();n.add(`pp=${o},${l};60`)}u.pushPins=JSON.stringify(n)}}}else{let i=Ae.am.StiDataColumn.getDatasFromDataColumn(u.report.dictionary,r+"."+e.keyDataColumn);if(null==i)return u;let n=null,a=null,s=null,o=null;if(De.isNullOrEmpty(e.nameDataColumn)||(n=Ae.am.StiDataColumn.getDatasFromDataColumn(u.report.dictionary,r+"."+e.nameDataColumn)),De.isNullOrEmpty(e.valueDataColumn)||(a=Ae.am.StiDataColumn.getDatasFromDataColumn(u.report.dictionary,r+"."+e.valueDataColumn)),De.isNullOrEmpty(e.groupDataColumn)||(s=Ae.am.StiDataColumn.getDatasFromDataColumn(u.report.dictionary,r+"."+e.groupDataColumn)),De.isNullOrEmpty(e.colorDataColumn)||(o=Ae.am.StiDataColumn.getDatasFromDataColumn(u.report.dictionary,r+"."+e.colorDataColumn)),null==n&&null==a&&null==s&&null==o)return u;let l=u.getMapData();for(let r=0;r<i.length;r++){let e=i[r].toString(),t=null;if(De.isNullOrEmpty(e)||(t=l.firstOrDefault(t=>t.key==e)),null==t)continue;var h,c,c;null!=n&&0<n.length&&(h=n[r].toString(),De.isNullOrEmpty(h)?t.name=null:t.name=h),null!=a&&0<a.length&&(t.value=a[r]),null!=s&&0<s.length&&(c=s[r].toString(),De.isNullOrEmpty(c)?t.group=null:t.group=c),null!=o&&0<o.length&&(c=o[r].toString(),De.isNullOrEmpty(c)?t.color=null:t.color=c)}let t=[];for(var d of l)t.push({Key:d.key,Value:d.value,Group:d.group,Color:d.color,Name:d.name});u.mapData=JSON.stringify(t)}return u}prepare(t){super.prepare(t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))}internalRenderAsync(e){return Y.tsfb(this,void 0,void 0,function*(){var t=e;return r.renderMap(t)})}internalRender(t){var t=t;return r.renderMap(t)}static tryToDecimal(t){var t=parseFloat(t);return t||0}};Ae.aq.StiMapBuilder=r}let Gb=Ae.ap.StiOverlayBand;Ae.aq.StiPageBuilder=class extends Ae.aq.StiContainerBuilder{prepare(t){let e=t;super.prepare(e),e.pageInfo.isReportTitlesRendered=!1,e.pageInfo.renderedCount=0,e.pageInfo.overlays=new Eu;for(var r of e.components.list){var r=r.as(Gb);null!=r&&e.pageInfo.overlays.add(r)}}unPrepare(t){super.unPrepare(t);let e=t;e.pageInfo.overlays=null}},Ae.aq.StiPointPrimitiveBuilder=class extends Ae.aq.StiComponentBuilder{internalRenderAsync(r){const i=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){var t=r;let e=yield i.internalRenderAsync.call(this,t);return e.storedColumn=t.report.column,e})}internalRender(t){var t=t;let e=super.internalRender(t);return e.storedColumn=t.report.column,e}},Ae.aq.StiReportBuilder=class{static renderSingleReportAsync(r,i){return Y.tsfb(this,void 0,void 0,function*(){let t=r.engine,e=null;null!=t&&(e=r.engine.report);try{r.indexName=1,Ae.c.StiLogService.write(r.stimulsoft().getType(),"Rendering report"),null!=t?(r.engine=t,r.engine.report=r):r.engine=new Ae.aq.StiEngine(r),r.isRendering=!0,yield Ae.aq.StiRenderProvider.renderAsync(r,i)}catch(t){if(Ae.c.StiLogService.write(r.stimulsoft().getType(),"Rendering report...ERROR"),Ae.c.StiLogService.write(r.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}finally{r.isRendering=!1,null==t?r.engine=null:t.report=e}})}static renderSingleReport(e,t){let r=e.engine,i=null;null!=r&&(i=e.engine.report);try{e.indexName=1,Ae.c.StiLogService.write(e.stimulsoft().getType(),"Rendering report"),null!=r?(e.engine=r,e.engine.report=e):e.engine=new Ae.aq.StiEngine(e),e.isRendering=!0,Ae.aq.StiRenderProvider.render(e,t)}catch(t){if(Ae.c.StiLogService.write(e.stimulsoft().getType(),"Rendering report...ERROR"),Ae.c.StiLogService.write(e.stimulsoft().getType(),t),!Hd.Engine.hideExceptions)throw t}finally{e.isRendering=!1,null==r?e.engine=null:r.report=i}}static renderSubReportsAsync(S,b){return Y.tsfb(this,void 0,void 0,function*(){S.renderedPages.clear();for(var t of S.subReports.list)t.renderedPages=S.renderedPages;let r=new Dt;S.isStopped=!1,S.invokeBeginRender();let i=null,e=null;var n,a,s,o,l;0<S.pages.getByIndex(0).getComponents().count?(i=new Ae.aq.StiEngine(S),S.engine=i,S.currentPrintPage=0,S.subReportsMasterReport=S,null!=(e=S).compiledReport&&(e=S.compiledReport,(S.compiledReport.subReportsMasterReport=S).compiledReport.renderedPages.clear()),n=S.subReports,S.subReports=null,b.isSubReportMode=!0,yield S.renderAsync2(),S.subReports=n,S.subReportsMasterReport=null):(i=new Ae.aq.StiEngine(S),S.currentPrintPage=0,S.engine=i,null!=S.compiledReport&&(S.compiledReport.engine=i)),null!=S.compiledReport&&(S.currentPrintPage=S.compiledReport.currentPrintPage);let u=0,h=null;for(a of S.subReports.list){try{a.subReportsMasterReport=S,null!=a.compiledReport?(a.compiledReport.subReportsMasterReport=S,a.engine=i,a.compiledReport.engine=i,a.compiledReport.currentPrintPage=S.currentPrintPage):(a.engine=i,a.currentPrintPage=S.currentPrintPage),null!=h&&(a.pages.getByIndex(0).printOnPreviousPage=a.subReportsPrintOnPreviousPage,null!=a.compiledReport&&(a.compiledReport.pages.getByIndex(0).printOnPreviousPage=a.subReportsPrintOnPreviousPage)),null!=h&&(a.pages.getByIndex(0).resetPageNumber=a.subReportsResetPageNumber,null!=a.compiledReport&&(a.compiledReport.pages.getByIndex(0).resetPageNumber=a.subReportsResetPageNumber));var c=S.renderedPages.count;0<i.pageNumbers.pageNumbers.count&&(i.pageNumbers.pageNumbers.getByIndex(i.pageNumbers.pageNumbers.count-1).fixedPosition=!0),a.totals=new Dt,yield a.renderAsync2(),null!=a.compiledReport?S.currentPrintPage=a.compiledReport.currentPrintPage:S.currentPrintPage=a.currentPrintPage;let e=new Dt,t=a;null!=t.compiledReport&&(t=a.compiledReport);var d=ke.create(Object,t.totals.keys.length),m;t.totals.keys.copyTo(d,0);for(m of d){var p=t.totals.get(m);if(null!=p){let t=[];e.set(m,t);for(var g of p)t.push(g.clone())}}if(r.set(u++,e),a.reportUnit!=S.reportUnit)for(let e=c;e<S.renderedPages.count;e++){let t=S.renderedPages.getByIndex(e);t.convert(a.unit,S.unit)}}finally{a.subReportsMasterReport=null,null!=a.compiledReport&&(a.compiledReport.subReportsMasterReport=null)}if(a.isStopped){S.isStopped=a.isStopped;break}S.bookmark.bookmarks.addRange(a.bookmark.bookmarks),S.pointer.bookmarks.addRange(a.pointer.bookmarks),h=a}i.pageNumbers.processPageNumbers(),u=0;for(s of S.subReports.list){let t=s;null!=t.compiledReport&&(t=t.compiledReport),t.totals=r.get(u++),t.invokeEndRender()}for(o of S.subReports.list)o.totals=null;null!=e&&(e.engine=i,e.invokeEndRender(),e.engine=null),null!=e&&e==S||S.invokeEndRender();for(l of S.renderedPages.list)l.report=null!=S.compiledReport?S.compiledReport:S;if(S.engine=null,S.isRendered=!0,null!=S.compiledReport&&(S.compiledReport.engine=null,S.compiledReport.isRendered=!0),null!=S.parentReport&&(S.parentReport.engine=null,S.parentReport.isRendered=!0),Ae.aq.StiPostProcessProvider.postProcessPages(S.renderedPages),null!=S&&null!=S.renderedPages)for(var f of S.renderedPages.list)f.report=S;b.isSubReportMode=!1,S.invokeRefreshViewer()})}static renderSubReports(r,t){r.renderedPages.clear();for(var e of r.subReports.list)e.renderedPages=r.renderedPages;let i=new Dt;r.isStopped=!1,r.invokeBeginRender();let n=null,a=null;var s,o,l,u,h;0<r.pages.getByIndex(0).getComponents().count?(n=new Ae.aq.StiEngine(r),r.engine=n,r.currentPrintPage=0,r.subReportsMasterReport=r,null!=(a=r).compiledReport&&(a=r.compiledReport,(r.compiledReport.subReportsMasterReport=r).compiledReport.renderedPages.clear()),s=r.subReports,r.subReports=null,t.isSubReportMode=!0,r.render(),r.subReports=s,r.subReportsMasterReport=null):(n=new Ae.aq.StiEngine(r),r.currentPrintPage=0,r.engine=n,null!=r.compiledReport&&(r.compiledReport.engine=n)),null!=r.compiledReport&&(r.currentPrintPage=r.compiledReport.currentPrintPage);let c=0,d=null;for(o of r.subReports.list){try{o.subReportsMasterReport=r,null!=o.compiledReport?(o.compiledReport.subReportsMasterReport=r,o.engine=n,o.compiledReport.engine=n,o.compiledReport.currentPrintPage=r.currentPrintPage):(o.engine=n,o.currentPrintPage=r.currentPrintPage),null!=d&&(o.pages.getByIndex(0).printOnPreviousPage=o.subReportsPrintOnPreviousPage,null!=o.compiledReport&&(o.compiledReport.pages.getByIndex(0).printOnPreviousPage=o.subReportsPrintOnPreviousPage)),null!=d&&(o.pages.getByIndex(0).resetPageNumber=o.subReportsResetPageNumber,null!=o.compiledReport&&(o.compiledReport.pages.getByIndex(0).resetPageNumber=o.subReportsResetPageNumber));var m=r.renderedPages.count;0<n.pageNumbers.pageNumbers.count&&(n.pageNumbers.pageNumbers.getByIndex(n.pageNumbers.pageNumbers.count-1).fixedPosition=!0),o.totals=new Dt,o.render(),null!=o.compiledReport?r.currentPrintPage=o.compiledReport.currentPrintPage:r.currentPrintPage=o.currentPrintPage;let e=new Dt,t=o;null!=t.compiledReport&&(t=o.compiledReport);var p=ke.create(Object,t.totals.keys.length),g;t.totals.keys.copyTo(p,0);for(g of p){var f=t.totals.get(g);if(null!=f){let t=[];e.set(g,t);for(var S of f)t.push(S.clone())}}if(i.set(c++,e),o.reportUnit!=r.reportUnit)for(let e=m;e<r.renderedPages.count;e++){let t=r.renderedPages.getByIndex(e);t.convert(o.unit,r.unit)}}finally{o.subReportsMasterReport=null,null!=o.compiledReport&&(o.compiledReport.subReportsMasterReport=null)}if(o.isStopped){r.isStopped=o.isStopped;break}r.bookmark.bookmarks.addRange(o.bookmark.bookmarks),r.pointer.bookmarks.addRange(o.pointer.bookmarks),d=o}n.pageNumbers.processPageNumbers(),c=0;for(l of r.subReports.list){let t=l;null!=t.compiledReport&&(t=t.compiledReport),t.totals=i.get(c++),t.invokeEndRender()}for(u of r.subReports.list)u.totals=null;null!=a&&(a.engine=n,a.invokeEndRender(),a.engine=null),null!=a&&a==r||r.invokeEndRender();for(h of r.renderedPages.list)h.report=null!=r.compiledReport?r.compiledReport:r;if(r.engine=null,r.isRendered=!0,null!=r.compiledReport&&(r.compiledReport.engine=null,r.compiledReport.isRendered=!0),null!=r.parentReport&&(r.parentReport.engine=null,r.parentReport.isRendered=!0),Ae.aq.StiPostProcessProvider.postProcessPages(r.renderedPages),null!=r&&null!=r.renderedPages)for(var b of r.renderedPages.list)b.report=r;t.isSubReportMode=!1,r.invokeRefreshViewer()}};let Ub=Ae.ap.StiColorScaleCondition,jb=Ae.ap.IStiIndicatorCondition;Ae.aq.StiSimpleTextBuilder=class extends Ae.aq.StiComponentBuilder{prepare(t){super.prepare(t),Hd.Engine.allowResetValuesAtComponent&&(t.textValue=null)}internalRenderAsync(s){return Y.tsfb(this,void 0,void 0,function*(){let i=s.as(vd),n=i.clone(!1,!0,!1);if(null!=i.conditions&&0<i.conditions.count&&n.is($o))for(var r of i.conditions.list){let e=r.stimulsoft().as(jb);if(null!=e){let t=null;e.stimulsoft().is(Ub)&&(t=i.brush);var r=e.createIndicator(i.as($o));if(null!=r){n.indicator=r;break}i.brush!=t&&(n.brush=i.brush,i.brush=t)}}if(i.processAt==Kc.EndOfPage)return n;let e=new Oo;if(De.isNullOrEmpty(i.textValue)){i.invokeGetValue(n,e),s.is(Ae.ap.StiRichText)&&!De.isNullOrEmpty(e.value)&&Ps.isServerHyperlink(e.value)&&(e.value=Ae.ap.StiRichText.notSupportedText),n.invokeEvents(),i.checkDuplicates(n,e);var a=new ns(e.value);n.invokeTextProcess(n,a);let t=e.value;De.isNullOrEmpty(n.textValue)||(t=n.textValue),n.setTextInternal(i.processText(i.getTextWithoutZero(t))),i.invokeRenderTo(n)}else{n.invokeEvents();var t=new ns(i.textValue);n.invokeTextProcess(n,t),n.setTextInternal(i.getTextWithoutZero(t.value))}if(e.storeToPrinted){let t=i.report.totals.get(i.name);null==t&&(t=[],i.report.totals.set(i.name,t));let e=new Ae.c.StiRuntimeVariables(i.report);e.pageIndex=i.report.renderedPages.count,e.textBox=n,t.push(e),i.report.totals.set("#%#"+i.name,i.text);let r=s.parent;while(null!=r&&!r.is(Kl)&&!r.is(Gb))r=r.parent;null!=r&&r.is(Gb)&&(e.pageIndex++,e.currentPrintPage++)}if(i.is($o))if(De.isNullOrEmpty(i.excelDataValue)||"-"==i.excelDataValue){var t=new Qo;if(i.invokeGetExcelValue(n,t),t.storeToPrinted){let t=i.report.totals.get(i.name+"Excel");null==t&&(t=[],i.report.totals.set(i.name+"Excel",t));let e=new Ae.c.StiRuntimeVariables(i.report);e.pageIndex=i.report.renderedPages.count,e.textBox=n,t.push(e);let r=s.parent;while(null!=r&&!r.is(Kl)&&!r.is(Gb))r=r.parent;null!=r&&r.is(Gb)&&(e.pageIndex++,e.currentPrintPage++)}}else i.excelDataValue=i.excelDataValue;return n})}internalRender(i){let n=i.as(vd),a=n.clone(!1,!0,!1);if(null!=n.conditions&&0<n.conditions.count&&a.is($o))for(var r of n.conditions.list){let e=r.stimulsoft().as(jb);if(null!=e){let t=null;e.stimulsoft().is(Ub)&&(t=n.brush);var r=e.createIndicator(n.as($o));if(null!=r){a.indicator=r;break}n.brush!=t&&(a.brush=n.brush,n.brush=t)}}if(n.processAt==Kc.EndOfPage)return a;let e=new Oo;if(De.isNullOrEmpty(n.textValue)){n.invokeGetValue(a,e),i.is(Ae.ap.StiRichText)&&!De.isNullOrEmpty(e.value)&&Ps.isServerHyperlink(e.value)&&(e.value=Ae.ap.StiRichText.notSupportedText),a.invokeEvents(),n.checkDuplicates(a,e);var s=new ns(e.value);a.invokeTextProcess(a,s);let t=e.value;De.isNullOrEmpty(a.textValue)||(t=a.textValue),a.setTextInternal(n.processText(n.getTextWithoutZero(t))),n.invokeRenderTo(a)}else{a.invokeEvents();var t=new ns(n.textValue);a.invokeTextProcess(a,t),a.setTextInternal(n.getTextWithoutZero(t.value))}if(e.storeToPrinted){let t=n.report.totals.get(n.name);null==t&&(t=[],n.report.totals.set(n.name,t));let e=new Ae.c.StiRuntimeVariables(n.report);e.pageIndex=n.report.renderedPages.count,e.textBox=a,t.push(e),n.report.totals.set("#%#"+n.name,n.text);let r=i.parent;while(null!=r&&!r.is(Kl)&&!r.is(Gb))r=r.parent;null!=r&&r.is(Gb)&&(e.pageIndex++,e.currentPrintPage++)}if(n.is($o))if(De.isNullOrEmpty(n.excelDataValue)||"-"==n.excelDataValue){var t=new Qo;if(n.invokeGetExcelValue(a,t),t.storeToPrinted){let t=n.report.totals.get(n.name+"Excel");null==t&&(t=[],n.report.totals.set(n.name+"Excel",t));let e=new Ae.c.StiRuntimeVariables(n.report);e.pageIndex=n.report.renderedPages.count,e.textBox=a,t.push(e);let r=i.parent;while(null!=r&&!r.is(Kl)&&!r.is(Gb))r=r.parent;null!=r&&r.is(Gb)&&(e.pageIndex++,e.currentPrintPage++)}}else n.excelDataValue=n.excelDataValue;return a}};let Wb=Ae.am.StiDataColumnExt;{let i=class extends Ae.aq.StiComponentBuilder{prepare(t){super.prepare(t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))}internalRender(t){let e=t.as(Ae.ap.StiSparkline),r=e.clone(!0);return r.values=i.getValuesFromValueDataColumn(e),r}internalRenderAsync(r){return Y.tsfb(this,void 0,void 0,function*(){let t=r.as(Ae.ap.StiSparkline),e=t.clone(!0);return e.values=i.getValuesFromValueDataColumn(t),e})}static getValuesFromValueDataColumn(r,i=0){if(De.isNullOrWhiteSpace(r.valueDataColumn))return null;let n=r.getDataSource();if(null!=n){var t=ml.getDataColumnFromColumnName(r.report.dictionary,r.valueDataColumn);if(null!=t&&Wb.isArray(t))return tn.toNumberArray(n[t.name]);n.saveState("SparklineRender_DataColumn"),De.isNullOrWhiteSpace(r.dataRelationName)||n.setDetails(r.dataRelationName);let e=ke.create(Number,n.count);n.first();for(let t=0;t<n.count;t++){var a=ml.getDataFromDataColumn(r.report.dictionary,r.valueDataColumn);if(e[t]=zi.tryToNumber(a),0<i&&t>i)break;n.next()}return n.restoreState("SparklineRender_DataColumn"),e}let s=ml.getBusinessObjectFromDataColumn(r.report.dictionary,r.valueDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");let e=ke.create(Number,s.count);s.first();for(let t=0;t<s.count;t++){var o=ml.getDataFromBusinessObject(r.report.dictionary,r.valueDataColumn);if(e[t]=zi.tryToNumber(o),0<i&&t>i)break;s.next()}return s.restoreState("SparklineRender_DataColumn"),e}return null}};Ae.aq.StiSparklineBuilder=i}Ae.aq.StiSubReportBuilder=class extends Ae.aq.StiContainerBuilder{internalRenderAsync(i){const n=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){let t=i.as(yl);null!=t.subReportPage&&t.subReportPage.invokeBeforePrint(t.subReportPage,Un.empty);let e=(yield n.internalRenderAsync.call(this,t)).as(Ql);var r;return e.canBreak=!0,e.canGrow=!0,e.canShrink=!0,t.parent.is(Kl)&&(e.canGrow=!1),null!=Ae.aq.StiSubReportsHelper.getParentBand(t)?(yield Ae.aq.StiSubReportsHelper.renderSubReportAsync(e,t),Wl.checkSize(e)):e.canShrink=!1,null!=t.subReportPage&&t.subReportPage.invokeAfterPrint(t.subReportPage,Un.empty),e})}internalRender(t){let e=t.as(yl);null!=e.subReportPage&&e.subReportPage.invokeBeforePrint(e.subReportPage,Un.empty);let r=super.internalRender(e).as(Ql);var i;return r.canBreak=!0,r.canGrow=!0,r.canShrink=!0,e.parent.is(Kl)&&(r.canGrow=!1),null!=Ae.aq.StiSubReportsHelper.getParentBand(e)?(Ae.aq.StiSubReportsHelper.renderSubReport(r,e),Wl.checkSize(r)):r.canShrink=!1,null!=e.subReportPage&&e.subReportPage.invokeAfterPrint(e.subReportPage,Un.empty),r}};let qb=Ae.ar.StiStyle,zb=Ae.ap.StiTextQuality,Xb=Ae.ap.StiBookmarksCollection;{let n=Ae.S.RectangleD,i=class extends Ae.aq.StiDataBandBuilder{internalRenderAsync(e){return Y.tsfb(this,void 0,void 0,function*(){return new Promise(t=>t(this.internalRender(e)))})}internalRender(t){let e=t.as(Pd);e.newPageBefore&&e.report.engine.newPage();let r=e.isFirstInReport?i.renderPanelWithBookmarks(e):i.renderTextWithNoInformation(e);return e.newPageAfter&&r.as(Ql).components.add(new Ae.aq.StiNewPageContainer),r}static renderTextWithNoInformation(t){var t,t,e=t.as(Pd);let r=new Du;r.canGrow=!1,r.canShrink=!1,r.canBreak=!1,r.growToHeight=!1,r.clientRectangle=e.clientRectangle,r.name=e.name,r.page=e.page,r.border=null===(t=e.border)||void 0===t?void 0:t.clone().as(Zr),r.brush=null===(t=e.brush)||void 0===t?void 0:t.clone().as(hi),r.rightToLeft=e.rightToLeft;let i=new $o;return i.clientRectangle=new n(0,0,r.width,r.height),i.name=e.name,i.page=e.page,i.printable=e.printable,i.horAlignment=Bs.Center,i.vertAlignment=Go.Center,i.rightToLeft=e.rightToLeft,i.text=nn.get("Errors","OneTableOfContentsAllowed"),r.components.add(i),r}static renderPanelWithBookmarks(t){var e,e,e,r,r;let i=t.as(Pd),n=new Du;return n.canGrow=!0,n.canShrink=!0,n.canBreak=!0,n.growToHeight=i.growToHeight,n.clientRectangle=i.clientRectangle,n.tagValue=i,n.name=i.name,n.page=i.page,n.border=null===(e=i.border)||void 0===e?void 0:e.clone().as(Zr),n.brush=null===(e=i.brush)||void 0===e?void 0:e.clone().as(hi),t.report.isSecondPass&&(e={ref:0},r={ref:i.page.unit.convertFromHInches(i.margins.top)},this.renderPointers(1,"TOC",i,n,this.getPointers(i,t),e,r)),0<n.components.count&&(r=n.components.toList().cast().max(t=>t.bottom),n.height=Math.max(n.height,r)+i.page.unit.convertFromHInches(i.margins.bottom)),n}static renderPointers(r,i,n,a,t,s,o){var l,u;if(null==t)return;let h=this.getStyle(r,n),c=1;for(u of t.list){let t=null;var d=this.getHyperlink(u);null!==(l=u.parentComponent)&&void 0!==l&&l.stimulsoft().is(Ae.c.StiReport)||(t=new $o,t.brush=null,t.wordWrap=!1,t.top=o.ref,t.width=this.fullSize(a),t.height=this.fullSize(a),t.page=a.page,t.printable=n.printable,t.name=`${a.name}_Index_${i}_${c}`,t.vertAlignment=Go.Center,t.textQuality=zb.Wysiwyg,t.tagValue=u,t.hyperlinkValue=d,t.rightToLeft=n.rightToLeft,t.margins=new Ml(0,n.margins.right,0,0),null!==h&&void 0!==h&&h.setStyleToComponent(t),t.horAlignment=Bs.Right,t.left=n.rightToLeft?0:a.width-this.fullSize(a),t.newGuid(),this.setOffSides(n.rightToLeft,!0,!1,t),a.components.add(t));let e=new $o;e.brush=null,e.wordWrap=!1,e.top=o.ref,e.height=this.fullSize(a),e.name=`${a.name}_Name_${i}_${c}`,e.vertAlignment=Go.Center,e.page=a.page,e.printable=n.printable,e.textQuality=zb.Wysiwyg,e.guid=null===t||void 0===t?void 0:t.guid,e.rightToLeft=n.rightToLeft,e.margins=new Ml(n.margins.left,0,0,0),null!=t&&(e.hyperlinkValue=d),e.text=u.text,null!=t?(e.left=n.rightToLeft?t.width:s.ref,e.width=n.rightToLeft?a.width-t.right-s.ref:t.left-e.left,e.text+=this.dotsString):e.width=a.width,e.textOptions.trimming=Or.None,null!==h&&void 0!==h&&h.setStyleToComponent(e);var d=h.is(qb)?h.lineSpacing:1,d;e.horAlignment=Bs.Left,e.height=n.report.unit.convertFromHInches(e.font.getHeight()*d),null!=t&&this.setOffSides(n.rightToLeft,!1,!0,e),a.components.insert(0,e),null!=t&&(t.height=e.height),o.ref+=e.height,0<u.bookmarks.count&&(d=s.ref,s.ref+=this.indent(n),this.renderPointers(r+1,`${i}_${c}`,n,a,u.bookmarks,s,o),s.ref=d),c++}}static postProcessTableOfContents(i){if(!i.getComponents().toList().cast().any(t=>t.is(Pd)&&t.enabled))return;let n=i.getRenderedComponents().toList(),a=i.pages.toList().selectMany(t=>t.getComponents().toList()).firstOrDefault(t=>t.is(Pd)).as(Pd);var t=n.firstOrDefault(t=>t.name==(null===a||void 0===a?void 0:a.name)),s;null!=t&&this.postProcessBookmarks2(n,a,t);for(s of n.where(t=>null!=t.tagValue&&t.tagValue.stimulsoft().is(Id))){let e=s.tagValue.stimulsoft().as(Id);var o=De.isNullOrWhiteSpace(e.componentGuid)?null:n.firstOrDefault(t=>t.guid==e.componentGuid);let r=s.as($o);null!=o&&(r.text=i.engine.pageNumbers.getPageNumber(o.page).toString()),r.autoWidth=!0;var o=r.right;r.width=r.getActualSize().width,a.rightToLeft||(r.left=o-r.width),r.autoWidth=!1;let t=n.firstOrDefault(t=>t.guid==r.guid&&t!=r);null!=t&&(a.rightToLeft?(t.width=t.right-r.right,t.left=r.right):t.width=r.left-t.left)}}static getPointers(e,t){let r=t.report.engine.firstPassPointer;if(De.isNullOrWhiteSpace(e.reportPointer))return null===r||void 0===r?void 0:r.bookmarks;{r.text=_f.parse(e.reportPointer,e),r.parentComponent=e.report;let t=new Xb;return t.add(r),t}}static getPointersForPostProcessing(t,e){if(De.isNullOrWhiteSpace(t.reportPointer))return e.report.pointer.bookmarks;{let t=new Xb;return t.add(e.report.pointer),t}}static postProcessBookmarks2(t,e,r){this.postProcessBookmarks(t,"TOC",r,this.getPointersForPostProcessing(e,r))}static postProcessBookmarks(n,a,s,t){let o=1;for(var l of t.list){let e=`${s.name}_Index_${a}_${o}`,r=`${s.name}_Name_${a}_${o}`,t=n.firstOrDefault(t=>t.name==e);null!=t&&(t.tagValue=l,t.hyperlinkValue=this.getHyperlink(l));let i=n.firstOrDefault(t=>t.name==r);null!=i&&(i.hyperlinkValue=this.getHyperlink(l)),0<l.bookmarks.count&&this.postProcessBookmarks(n,`${a}_${o}`,s,l.bookmarks),o++}}static getHyperlink(t){return`###${t.text}#GUID#${t.componentGuid}`}static setOffSides(t,e,r,i){t?(e&&this.setOffSide2(i,Xr.Right),r&&this.setOffSide2(i,Xr.Left)):(e&&this.setOffSide2(i,Xr.Left),r&&this.setOffSide2(i,Xr.Right))}static setOffSide2(t,e){0<(t.border.side&e)&&(t.border.side-=e)}static getStyle(t,e){let r=e.getStylesList();if(1<=t&&t<=r.length)return r[t-1];if(0<r.length)return r.lastOrDefault();return null}static fullSize(t){return t.report.unit.convertFromHInches(20)}static indent(t){return t.report.unit.convertFromHInches(t.indent)}static get dotsString(){return null==this.dotsString_&&(this.dotsString_=".".repeat(300)),this.dotsString_}};Ae.aq.StiTableOfContentsBuilder=i}let Jb=Ae.ap.StiTextInCells;Ae.aq.StiTextInCellsBuilder=class extends Ae.aq.StiSimpleTextBuilder{internalRenderAsync(i){const n=Object.create(null,{internalRenderAsync:{get:()=>super.internalRenderAsync}});return Y.tsfb(this,void 0,void 0,function*(){var t=i;let e=yield n.internalRenderAsync.call(this,i),r=e.getTextInternal();return null!=r&&r.stimulsoft().startsWith("#%#")?e:Jb.splitByCells2(t,e,r,!0)})}internalRender(t){var e=t;let r=super.internalRender(t),i=r.getTextInternal();return null!=i&&i.stimulsoft().startsWith("#%#")?r:Jb.splitByCells2(e,r,i,!0)}},Ae.ap.StiBandInfo=class extends q{},Ae.ap.StiContainerInfo=class extends q{constructor(){super(...arguments),this.dataBandPosition=-1,this.dataSourceRow=null,this.businessObjectCurrent=null,this.isAutoRendered=!1,this.ignoreResetPageNumber=!1,this.isColumns=!1,this.renderStep=-1,this.setSegmentPerWidth=-1,this.parentBand=null}},Ae.ap.StiDataBandInfo=class extends q{constructor(){super(...arguments),this.groupHeaders=null,this.groupFooters=null,this.groupHeaderComponents=null,this.groupFooterComponents=null,this.detailDataBands=null,this.details=null,this.subReports=null,this.emptyBands=null,this.headers=null,this.hierarchicalHeaders=null,this.footersOnAllPages=null,this.footersOnLastPage=null,this.hierarchicalFooters=null,this.groupHeaderResults=null,this.groupFooterResults=null,this.groupHeaderCachedResults=null,this.groupFooterCachedResults=null,this.reportTitles=null,this.reportSummaries=null,this.detailDataBandsFromSubReports=null}},Ae.ap.StiFooterBandInfo=class extends q{constructor(){super(...arguments),this.isTableFooter=!1}},Ae.ap.StiGroupFooterBandInfo=class extends q{constructor(){super(...arguments),this.printAtBottomComponent=null,this.groupHeader=null,this.isTableGroupFooter=!1}},Ae.ap.StiGroupHeaderBandInfo=class extends q{constructor(){super(...arguments),this.skipKeepGroups=!1,this.groupFooter=null,this.silentModeEnabled=!1,this.oldSilentMode=!1,this.isTableGroupHeader=!1}},Ae.ap.StiHeaderBandInfo=class extends q{constructor(){super(...arguments),this.isTableHeader=!1}},Ae.ap.StiHierarchicalBandInfo=class extends q{constructor(){super(...arguments),this.specifiedLevel=-1,this.finalFooterCalculation=!1}},Ae.an.StiAfterSelectEvent=class extends Ae.an.StiEvent{toString(){return"AfterSelect"}},Ae.an.StiCheckedChangedEvent=class extends Ae.an.StiEvent{toString(){return"CheckedChanged"}},Ae.an.StiClickEventHandler=new Ha("sender: any, e: StiClickEventArgs"),Ae.an.StiClickEventArgs=class extends Un{constructor(t,e){super(),this.sender=t,this.domComponent=e}},Ae.an.StiClosedFormEvent=class extends Ae.an.StiEvent{toString(){return"ClosedForm"}},Ae.an.StiClosingFormEvent=class extends Ae.an.StiEvent{toString(){return"ClosingForm"}},Ae.an.StiDoubleClickEventHandler=new Ha("sender: any, e: StiDoubleClickEventArgs"),Ae.an.StiDoubleClickEventArgs=class extends Un{constructor(t,e){super(),this.sender=t,this.domComponent=e}},Ae.an.StiEnterEvent=class extends Ae.an.StiEvent{toString(){return"Enter"}},Ae.an.StiFillDataEvent=class extends Ae.an.StiEvent{toString(){return"FillData"}},Ae.an.StiGetArgumentEvent=class extends Ae.an.StiEvent{toString(){return"GetArgument"}},Ae.an.StiGetBarCodeEvent=class extends Ae.an.StiEvent{toString(){return"GetBarCode"}},Ae.an.StiGetDataUrlEventHandler=new Ha("sender: any, e: StiGetDataUrlEventArgs"),Ae.an.StiGetDataUrlEventArgs=class extends Un{},Ae.an.StiGetDrillDownReportEventHandler=new Ha("sender: any, e: StiGetDrillDownReportEventArgs"),Ae.an.StiGetDrillDownReportEventArgs=class extends Un{constructor(){super(...arguments),this.cancel=!1}},Ae.an.StiGetFilterEvent=class extends Ae.an.StiEvent{toString(){return"GetFilter"}},Ae.an.StiGetZipCodeEvent=class extends Ae.an.StiEvent{toString(){return"GetZipCode"}},Ae.c.StiGotoCompEventHandler=new Ha("sender: any, e: StiGotoCompEventArgs"),Ae.c.StiGotoCompEventArgs=class extends Un{constructor(t){super(),this.component=t}},Ae.an.StiLoadFormEvent=class extends Ae.an.StiEvent{toString(){return"LoadForm"}},Ae.an.StiMouseDownEvent=class extends Ae.an.StiEvent{toString(){return"MouseDown"}},Ae.an.StiMouseEnterEventHandler=new Ha("sender: any, e: StiMouseEnterEventArgs"),Ae.an.StiMouseEnterEventArgs=class extends Un{constructor(t,e){super(),this.sender=t,this.domComponent=e}},Ae.an.StiMouseLeaveEventHandler=new Ha("sender: any, e: StiMouseLeaveEventArgs"),Ae.an.StiMouseLeaveEventArgs=class extends Un{constructor(t,e){super(),this.sender=t,this.domComponent=e}},Ae.an.StiMouseMoveEvent=class extends Ae.an.StiEvent{toString(){return"MouseMove"}},Ae.an.StiMouseUpEvent=class extends Ae.an.StiEvent{toString(){return"MouseUp"}},Ae.an.StiMoveFooterToBottomEvent=class extends Ae.an.StiEvent{toString(){return"MoveFooterToBottom"}},Ae.an.StiPaintEventHandler=new Ha("sender: any, e: StiPaintEventArgs"),Ae.an.StiPaintEventArgs=class extends Un{constructor(t,e){super(),this.drawChilds=!0,this.cancel=!1,this.drawBorderFormatting=!0,this.drawTopmostBorderSides=!0,this.context=t,this.clipRectangle=e}clone(){return this.stimulsoft().memberwiseClone()}get graphics(){return this.context}},Ae.an.StiPositionChangedEvent=class extends Ae.an.StiEvent{toString(){return"PositionChanged"}},Ae.an.StiProcessExportEventHandler=new Ha("sender: any, e: StiProcessExportEventArgs"),Ae.an.StiProcessExportEventArgs=class extends Ae.an.StiExportEventArgs{constructor(t,e,r,i){super(t),this.processed=!1,this.exportService=e,this.stream=r,this.exportSettings=i}},Ae.an.StiSelectedIndexChangedEvent=class extends Ae.an.StiEvent{toString(){return"SelectedIndexChanged"}},Ae.an.StiStateRestoreEvent=class extends Ae.an.StiEvent{toString(){return"StateRestore"}},Ae.an.StiStateSaveEvent=class extends Ae.an.StiEvent{toString(){return"StateSave"}},Ae.an.StiValueChangedEvent=class extends Ae.an.StiEvent{toString(){return"ValueChanged"}},Ae.ax.IStiExportService=new Ae.b.Interface("IStiExportService");var k=class{constructor(t=Ae.c.StiRangeType.All,e="",r=0){this.rangeType=Ae.c.StiRangeType.All,this.pageRanges="",this.currentPage=0,this.rangeType=t,this.pageRanges=e,this.currentPage=r}equals(t){if(null==t)return!1;var e;if(this.rangeType!=t.rangeType||this.pageRanges!=t.pageRanges||this.currentPage!=t.currentPage)return!1;return!0}getSelectedPages(e){let r=new Fd(e.report,e);if(r.cacheMode=e.cacheMode,"All"==this.pageRanges&&(this.rangeType=Ae.c.StiRangeType.All),this.rangeType==Ae.c.StiRangeType.Pages){var t,i;if(!De.isNullOrEmpty(this.pageRanges))for(i of this.pageRanges.split(","))if(-1==i.indexOf("-"))try{var n=parseInt(i.trim());1<=n&&n<=e.count&&r.addV2Internal(e.getByIndex(n-1))}catch(t){Ae.b.StiError.showError(t,!1)}else{let t=i.split("-");try{var a=parseInt(t[0].trim()),s=parseInt(t[1].trim()),s=Math.min(s,e.count);if(1<=a&&a<=e.count&&1<=s&&s<=e.count)if(a<=s)for(let t=a;t<=s;t++)r.addV2Internal(e.getByIndex(t-1));else for(let t=a;t>=s;t--)r.addV2Internal(e.getByIndex(t-1))}catch(t){Ae.b.StiError.showError(t,!1)}}if(0!=r.count)return r}else if(this.rangeType==Ae.c.StiRangeType.CurrentPage&&(0<=this.currentPage&&this.currentPage<e.count&&r.addV2Internal(e.getByIndex(this.currentPage)),0!=r.count))return r;for(var o of e.list)r.addV2Internal(o);return r}};k.All=new k,Ae.c.StiPagesRange=k,Ae.ax.IStiOdsExportService=new Ae.b.Interface("IStiOdsExportService"),Ae.ax.IStiOdtExportService=new Ae.b.Interface("IStiOdtExportService"),Ae.ax.IStiTxtExportService=new Ae.b.Interface("IStiTxtExportService"),Ae.ax.IStiCsvExportService=new Ae.b.Interface("IStiCsvExportService"),Ae.ax.IStiDataExportService=new Ae.b.Interface("IStiDataExportService"),Ae.ax.StiBarCodeSvgHelper=class{static getImage(t,e=kt.Jpeg){let r=new ie,i=new Fg(Ot.UTF8);Ae.ax.StiSvgHelper.writeBarCode(i,t),i.flush();var t=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,i.textWriter.getStringBuilder().toString());return r.bytes=Ot.UTF8.getBytes(t),r}};var yt=class{static writeHatchBrush(r,t){var e=t.as(ai),i=e.foreColor,t=e.backColor;let n=e.style;53<n&&(n=53);var e=De.format("hatch{0}",Ts.newGuid()),a;r.writeStartElement("pattern"),r.writeAttributeString("id",e),r.writeAttributeString("x","0"),r.writeAttributeString("y","0"),r.writeAttributeString("width","8"),r.writeAttributeString("height","8"),r.writeAttributeString("patternUnits","userSpaceOnUse");let s=new Mt,o=this.hatchData[n];for(let t=0;t<16;t++)s.append(this.hexToByteString(o.substr(t,1)));r.writeStartElement("rect"),r.writeAttributeString("x","0"),r.writeAttributeString("y","0"),r.writeAttributeString("width","8"),r.writeAttributeString("height","8"),r.writeAttributeString("fill",De.format("#{0:X2}{1:X2}{2:X2}",t.r,t.g,t.b)),r.writeEndElement();for(let e=0;e<8;e++)for(let t=0;t<8;t++){"1"==s.toString().charAt(8*e+t)&&(r.writeStartElement("rect"),r.writeAttributeString("x",t.toString()),r.writeAttributeString("y",e.toString()),r.writeAttributeString("width","1"),r.writeAttributeString("height","1"),r.writeAttributeString("fill",De.format("#{0:X2}{1:X2}{2:X2}",i.r,i.g,i.b)),r.writeEndElement())}return r.writeEndElement(),e}static hexToByteString(t){let e="0000";switch(t){case"1":e="0001";break;case"2":e="0010";break;case"3":e="0011";break;case"4":e="0100";break;case"5":e="0101";break;case"6":e="0110";break;case"7":e="0111";break;case"8":e="1000";break;case"9":e="1001";break;case"A":e="1010";break;case"B":e="1011";break;case"C":e="1100";break;case"D":e="1101";break;case"E":e="1110";break;case"F":e="1111";break}return e}static writeGlareBrush(t,e,r){var i=e.as(ri);let n=1,a=1,s=i.angle;s<0&&(s+=360),270<=s&&s<360&&(s=360-s,a=-1),180<=s&&s<270&&(s-=180,a=-1,n=-1),90<=s&&s<180&&(s=180-s,n=-1),s=s*Math.PI/180;var o=r.x+r.width/2,l=r.y+r.height/2,e=Math.sqrt(r.width*r.width+r.height*r.height)/2,r=Math.atan2(r.height,r.width),r=Math.PI/2-s+r,e=e*Math.sin(r),r=e*Math.cos(s)*n,e=e*Math.sin(s)*-a;let u=o-r,h=o+r,c=l+e,d=l-e;var l=De.format("gradient{0}",Ts.newGuid());t.writeStartElement("linearGradient"),t.writeAttributeString("id",l),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",u.toString()),t.writeAttributeString("y1",c.toString()),t.writeAttributeString("x2",h.toString()),t.writeAttributeString("y2",d.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",De.format("#{0:X2}{1:X2}{2:X2}",i.startColor.r,i.startColor.g,i.startColor.b)),255!=i.startColor.a&&t.writeAttributeString("stop-opacity",Ne.round2(i.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop");var e=100*i.focus;return t.writeAttributeString("offset",e+"%"),t.writeAttributeString("stop-color",De.format("#{0:X2}{1:X2}{2:X2}",i.endColor.r,i.endColor.g,i.endColor.b)),255!=i.endColor.a&&t.writeAttributeString("stop-opacity",Ne.round2(i.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",De.format("#{0:X2}{1:X2}{2:X2}",i.startColor.r,i.startColor.g,i.startColor.b)),255!=i.startColor.a&&t.writeAttributeString("stop-opacity",Ne.round2(i.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),l}static writeGradientBrush(t,e,r){var i=e.stimulsoft().as(ni);let n=1,a=1,s=i.angle;s<0&&(s+=360),270<=s&&s<360&&(s=360-s,a=-1),180<=s&&s<270&&(s-=180,a=-1,n=-1),90<=s&&s<180&&(s=180-s,n=-1),s=s*Math.PI/180;var o=r.x+r.width/2,l=r.y+r.height/2,e=Math.sqrt(r.width*r.width+r.height*r.height)/2,r=Math.atan2(r.height,r.width),r=Math.PI/2-s+r,e=e*Math.sin(r),r=e*Math.cos(s)*n,e=e*Math.sin(s)*-a;let u=o-r,h=o+r,c=l+e,d=l-e;var e=De.format("gradient{0}",Ts.newGuid());return t.writeStartElement("linearGradient"),t.writeAttributeString("id",e),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",u.toString()),t.writeAttributeString("y1",c.toString()),t.writeAttributeString("x2",h.toString()),t.writeAttributeString("y2",d.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",De.format("#{0:X2}{1:X2}{2:X2}",i.startColor.r,i.startColor.g,i.startColor.b)),255!=i.startColor.a&&t.writeAttributeString("stop-opacity",Ne.round2(i.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",De.format("#{0:X2}{1:X2}{2:X2}",i.endColor.r,i.endColor.g,i.endColor.b)),255!=i.endColor.a&&t.writeAttributeString("stop-opacity",Ne.round2(i.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),e}static writeGlassBrush(t,e,r){let i=e.stimulsoft().as(ii);var n=i.getTopColor();let a=i.getTopRectangle(r);var s=i.getBottomColor(),e=De.format("glass{0}",Ts.newGuid());return t.writeStartElement("pattern"),t.writeAttributeString("id",e),t.writeAttributeString("x",r.x.toString().split(",").join(".")),t.writeAttributeString("y",r.y.toString().split(",").join(".")),t.writeAttributeString("width",r.width.toString().split(",").join(".")),t.writeAttributeString("height",r.height.toString().split(",").join(".")),t.writeAttributeString("patternUnits","userSpaceOnUse"),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",r.width.toString().split(",").join(".")),t.writeAttributeString("height",r.height.toString().split(",").join(".")),t.writeAttributeString("style",De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",s.r,s.g,s.b,Ne.round2(s.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",a.width.toString().split(",").join(".")),t.writeAttributeString("height",a.height.toString().split(",").join(".")),t.writeAttributeString("style",De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Ne.round2(n.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeEndElement(),e}};yt.hatchData=["000000FF00000000","1010101010101010","8040201008040201","0102040810204080","101010FF10101010","8142241818244281","8000000008000000","0010000100100001","2200880022008800","2288228822882288","2255885522558855","AA558A55AA55A855","AA55AA55AA55AA55","BB55EE55BB55EE55","DD77DD77DD77DD77","FFDDFF77FFDDFF77","FF7FFFF7FF7FFFF7","FF7FFFFFFFF7FFFF","8844221188442211","1122448811224488","CC663399CC663399","993366CC993366CC","E070381C0E0783C1","C183070E1C3870E0","4040404040404040","00FF000000FF0000","AAAAAAAAAAAAAAAA","FF00FF00FF00FF00","CCCCCCCCCCCCCCCC","FFFF0000FFFF0000","8844221100000000","1122448800000000","F00000000F000000","8080808008080808","0240088004200110","0C8DB130031BD8C0","8403304884033048","00304A8100304A81","0102040818244281","202020FF020202FF","1422518854224588","F0F0F0F0AA55AA55","0100201020000102","AA00800080008000","0020008800020088","8448300C02010103","33FFCCFF33FFCCFF","98F8F877898F8F77","111111FF111111FF","3333CCCC3333CCCC","0F0F0F0FF0F0F0F0","0502058850205088","10387CFE7C381000","0000000000000000"],Ae.ax.StiBrushSvgHelper=yt,Ae.c.StiCurveHelper=class{static cardinalSpline(t,e){let r=0,i=0,n=new Fp,a=new Fp;var s=.5*(1/3),o,l,o,l;i=e?3*(t.length+1)-2:3*t.length-2;let u=[];for(r=0;r<i;r++)u[r]=new Fp;for(e||(o=new Fp(t[0].x,t[0].y),n=this.calcCurveEnd(o,new Fp(t[1].x,t[1].y),s),u[0]=o,u[1]=n),r=0;r<t.length-(e?1:2);r++){var h=new Fp(t[r+1].x,t[r+1].y),c=this.calcCurve([new Fp(t[r].x,t[r].y),h,new Fp(t[(r+2)%t.length].x,t[(r+2)%t.length].y)],s);n=c[0],a=c[1],u[3*r+2]=n,u[3*r+3]=h,u[3*r+4]=a}return e?(l=new Fp(t[0].x,t[0].y),o=this.calcCurve([new Fp(t[t.length-1].x,t[t.length-1].y),l,new Fp(t[1].x,t[1].y)],s),n=o[0],a=o[1],u[i-2]=n,u[0]=l,u[1]=a,u[i-1]=u[0]):(l=new Fp(t[t.length-1].x,t[t.length-1].y),n=this.calcCurveEnd(l,new Fp(t[t.length-2].x,t[t.length-2].y),s),u[i-2]=n,u[i-1]=l),u}static calcCurveEnd(t,e,r){return new Fp(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)}static calcCurve(t,e){var r=t[2].x-t[0].x,i=t[2].y-t[0].y,n,a,s;return[new Fp(t[1].x-e*r,t[1].y-e*i),new Fp(t[1].x+e*r,t[1].y+e*i)]}};{let t=class{constructor(){this.type=null}implements(){return t.implementsStiGeom||(t.implementsStiGeom=[Yt]),t.implementsStiGeom}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}};Ae.af.StiGeom=t}Ae.af.StiPushTranslateTransformGeom=class extends Ae.af.StiGeom{constructor(t,e){super(),this.type=Ae.af.StiGeomType.PushTranslateTransform,this.x=t,this.y=e}},Ae.af.StiPushRotateTransformGeom=class extends Ae.af.StiGeom{constructor(t){super(),this.type=Ae.af.StiGeomType.PushRotateTransform,this.angle=t}},Ae.af.StiAnimationGeom=class extends Ae.af.StiGeom{constructor(t,e){super(),this.animation=t,this.interaction=e}},Ae.af.StiClusteredBarSeriesAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s,o){super(s,o),this.type=Ae.af.StiGeomType.AnimationBar,this.value=i,this.background=t,this.borderPen=e,this.columnRect=r,this.tag=a,this.toolTip=n}},Ae.af.StiPopTransformGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PopTransform}},Ae.af.StiBorderAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s){super(n,a),this.type=Ae.af.StiGeomType.AnimationBorder,this.background=t,this.borderPen=e,this.rect=r,this.tag=i,this.toolTip=s}},Ae.af.StiBorderGeom=class extends Ae.af.StiGeom{constructor(t,e,r,i,n){super(),this.type=Ae.af.StiGeomType.Border,this.backgroundMouseOver=e,this.background=t,this.borderPen=r,this.rect=i,this.interaction=n}},Ae.ai.StiAnimation=class{constructor(t,e=lt.zero){this.type=null,this.duration=t,this.beginTime=e,this.beginTimeCorrect=lt.zero}},Ae.ai.StiOpacityAnimation=class extends Ae.ai.StiAnimation{constructor(t,e){super(t,e),this.type=Ae.d.StiAnimationType.Opacity}},Ae.af.StiPushClipGeom=class extends Ae.af.StiGeom{constructor(t){super(),this.type=Ae.af.StiGeomType.PushClip,this.clipRectangle=t}},Ae.af.StiPopClipGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PopClip}},Ae.af.StiCurveGeom=class extends Ae.af.StiGeom{constructor(t,e,r){super(),this.type=Ae.af.StiGeomType.Curve,this.pen=t,this.tension=r,this.points=e}},Ae.af.StiEllipseGeom=class extends Ae.af.StiGeom{constructor(t,e,r,i,n){super(),this.type=Ae.af.StiGeomType.Ellipse,this.background=t,this.borderPen=e,this.rect=r,this.interaction=i,this.toolTip=n}},Ae.af.StiCachedShadowGeom=class extends Ae.af.StiGeom{constructor(t,e,r,i=t.clone()){super(),this.type=Ae.af.StiGeomType.CachedShadow,this.rect=t,this.clipRect=i,this.sides=e,this.isPrinting=r}},Ae.af.StiShadowGeom=class extends Ae.af.StiGeom{constructor(t,e,r){super(),this.type=Ae.af.StiGeomType.Shadow,this.shadowContext=t,this.rect=e,this.radius=r}},Ae.af.StiTextGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s,o,l,u,h,c=null){super(c,null),this.isRounded=!1,this.isRotatedText=!1,this.type=Ae.af.StiGeomType.Text,this.isRotatedText=u,this.text=t,this.font=e,this.brush=r,this.location=i,this.stringFormat=n,this.angle=a,this.antialiasing=s,this.maximalWidth=o,this.rotationMode=l,this.toolTip=h}};var ot=class extends Ae.af.StiGeom{constructor(t,e,r,i,n,a){super(),this.type=Ae.af.StiGeomType.Path,this.background=t,this.pen=e,this.geoms=r,this.rect=i,this.interaction=n,this.toolTip=a}},Yb,Qb,Kb,q,l,K;ot.getBoundsState=Tr.empty,Ae.af.StiPathGeom=ot,(K=Yb=Ae.af.StiGeomType||(Ae.af.StiGeomType={}))[K["None"]=0]="None",K[K["Border"]=1]="Border",K[K["CachedShadow"]=2]="CachedShadow",K[K["Curve"]=3]="Curve",K[K["Ellipse"]=4]="Ellipse",K[K["Font"]=5]="Font",K[K["Line"]=6]="Line",K[K["Lines"]=7]="Lines",K[K["Path"]=8]="Path",K[K["Pen"]=9]="Pen",K[K["PopSmothingMode"]=10]="PopSmothingMode",K[K["PopTextRenderingHint"]=11]="PopTextRenderingHint",K[K["PopTransform"]=12]="PopTransform",K[K["PopClip"]=13]="PopClip",K[K["PushClip"]=14]="PushClip",K[K["PushRotateTransform"]=15]="PushRotateTransform",K[K["PushSmothingMode"]=16]="PushSmothingMode",K[K["PushSmothingModeToAntiAlias"]=17]="PushSmothingModeToAntiAlias",K[K["PushTextRenderingHint"]=18]="PushTextRenderingHint",K[K["PushTextRenderingHintToAntiAlias"]=19]="PushTextRenderingHintToAntiAlias",K[K["PushTranslateTransform"]=20]="PushTranslateTransform",K[K["Segment"]=21]="Segment",K[K["Shadow"]=22]="Shadow",K[K["Text"]=23]="Text",K[K["StringFormat"]=24]="StringFormat",K[K["AnimationBar"]=25]="AnimationBar",K[K["AnimationBorder"]=26]="AnimationBorder",K[K["AnimationColumn"]=27]="AnimationColumn",K[K["AnimationEllipse"]=28]="AnimationEllipse",K[K["AnimationPath"]=29]="AnimationPath",K[K["AnimationPathElement"]=30]="AnimationPathElement",K[K["AnimationLines"]=31]="AnimationLines",K[K["AnimationCurve"]=32]="AnimationCurve",K[K["AnimationLabel"]=33]="AnimationLabel",K[K["AnimationShadow"]=34]="AnimationShadow",K[K["Image"]=35]="Image",K[K["PushClipPath"]=36]="PushClipPath",(l=Qb=Ae.af.StiPenAlignment||(Ae.af.StiPenAlignment={}))[l["Center"]=0]="Center",l[l["Inset"]=1]="Inset",l[l["Outset"]=2]="Outset",l[l["Left"]=3]="Left",l[l["Right"]=4]="Right",(q=Kb=Ae.af.StiPenLineCap||(Ae.af.StiPenLineCap={}))[q["Flat"]=0]="Flat",q[q["Square"]=1]="Square",q[q["Round"]=2]="Round",q[q["Triangle"]=3]="Triangle",q[q["NoAnchor"]=4]="NoAnchor",q[q["SquareAnchor"]=5]="SquareAnchor",q[q["RoundAnchor"]=6]="RoundAnchor",q[q["DiamondAnchor"]=7]="DiamondAnchor",q[q["ArrowAnchor"]=8]="ArrowAnchor";let Zb=Ae.af.StiGeomType;Ae.af.StiPushClipPathGeom=class extends Ae.af.StiGeom{constructor(t){super(),this.type=Zb.PushClipPath,this.geoms=t}},Ae.af.StiSegmentGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.Segment}},Ae.af.StiPieSegmentGeom=class extends Ae.af.StiSegmentGeom{constructor(t,e,r,i=null,n=null,a){super(),this.rect=t,this.startAngle=e,this.sweepAngle=r,null!=i&&(this.realStartAngle=i),null!=n&&(this.realSweepAngle=n),this.crossElipseDraw=null!=i&&null!=n}},Ae.af.StiArcSegmentGeom=class extends Ae.af.StiSegmentGeom{constructor(t,e,r,i=null,n=null){super(),this.rect=t,this.startAngle=e,this.sweepAngle=r,null!=i&&(this.realStartAngle=i),null!=n&&(this.realSweepAngle=n),this.crossElipseDraw=null!=i&&null!=n}},Ae.af.StiLineSegmentGeom=class extends Ae.af.StiSegmentGeom{constructor(t,e,r=null,i=null,n=null){super(),null==r&&null==i?(this.x1=t.x,this.y1=t.y,this.x2=e.x,this.y2=e.y):(this.x1=t,this.y1=e,this.x2=r,this.y2=i),this.animation=n}},Ae.af.StiLinesSegmentGeom=class extends Ae.af.StiSegmentGeom{constructor(t,e=null){super(),this.points=t,this.animation=e}},Ae.af.StiCurveSegmentGeom=class extends Ae.af.StiSegmentGeom{constructor(t,e,r=null){super(),this.tension=.55,this.points=null,this.points=t,this.tension=e,this.animation=r}},Ae.af.StiCloseFigureSegmentGeom=class extends Ae.af.StiSegmentGeom{};{let i=class extends Ae.ai.StiAnimation{constructor(t,e,r,i){super(r,i),this.type=Ae.d.StiAnimationType.Column,this.rectFrom=t,this.rectTo=e}static isAnimationChangingValues(t,e=null){return null==e&&(e=`series_${t.chart.series.indexOf(t)}`),t.chart.isAnimationChangingValues&&null!=i.getPreviousAnimation(t.chart.previousAnimations,e)}static getPreviousAnimation(t,e){var r;return null!=e?t.where(t=>t instanceof i).cast().firstOrDefault(t=>e.stimulsoft().equals(t.id)):null}applyPreviousAnimation(t){var e=i.getPreviousAnimation(t,this.id);null!=e?(this.rectFrom=e.rectTo,this.duration=lt.fromMilliseconds(300)):0<t.length&&(this.beginTimeCorrect=lt.fromMilliseconds(200),this.duration=lt.fromMilliseconds(300))}};Ae.ai.StiColumnAnimation=i}Ae.af.StiLabelAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s,o,l,u,h){super(h,null),this.type=Ae.af.StiGeomType.AnimationLabel,this.text=t,this.font=e,this.textBrush=r,this.labelBrush=i,this.penBorder=n,this.rectangle=a,this.stringFormat=s,this.rotationMode=o,this.angle=l,this.drawBorder=u}},Ae.af.StiShadowAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n){super(n,null),this.type=Ae.af.StiGeomType.AnimationShadow,this.rect=t,this.radiusX=e,this.radiusY=r,this.shadowWidth=i}};var k=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s){super(a,s),this.type=Ae.af.StiGeomType.AnimationPath,this.background=t,this.pen=e,this.geoms=r,this.rect=i,this.tag=n}},$b,yt;k.getBoundsState={},Ae.af.StiPathAnimationGeom=k,Ae.af.StiCurveAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i){super(i,null),this.type=Ae.af.StiGeomType.AnimationCurve,this.pen=t,this.points=e,this.tension=r}},Ae.af.StiClusteredColumnSeriesAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s,o){super(s,o),this.type=Ae.af.StiGeomType.AnimationColumn,this.value=i,this.background=t,this.borderPen=e,this.columnRect=r,this.tag=a,this.toolTip=n}},Ae.af.StiEllipseAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s){super(a,s),this.type=Ae.af.StiGeomType.AnimationEllipse,this.background=t,this.borderPen=e,this.rect=r,this.tag=n,this.toolTip=i}},Ae.af.StiLinesAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r){super(r,null),this.type=Ae.af.StiGeomType.AnimationLines,this.pen=t,this.points=e}},Ae.af.StiPathElementAnimationGeom=class extends Ae.af.StiAnimationGeom{constructor(t,e,r,i,n,a,s,o){super(s,o),this.type=Ae.af.StiGeomType.AnimationPathElement,this.background=t,this.borderPen=e,this.rect=i,this.pathGeoms=r,this.toolTip=n,this.tag=a}},Ae.ai.StiLabelAnimation=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n,a){super(n,a),this.type=Ae.d.StiAnimationType.Translation,this.pointFrom=r,this.point=i,this.valueFrom=t,this.value=e}};{let n=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n){super(i,n),this.isReverse=!1,this.type=Ae.d.StiAnimationType.Points,this.pointsFrom=t.map(t=>t),this.pointsTo=null==e?void 0:e.map(t=>t),this.pointsIds=null==r?void 0:r.map(t=>t)}static isAnimationChangingValues(t,e,r=null){return null==r&&(r=`series_${t.chart.series.indexOf(t)}`),t.chart.isAnimationChangingValues&&null!=n.getPreviousAnimation(t.chart.previousAnimations,e,r)}static getPreviousAnimation(t,e,r){var t;let i=null!=r?t.where(t=>t instanceof n).cast().firstOrDefault(t=>r.stimulsoft().equals(t.id)):null;if(null==i&&(i=null!=r?t.where(t=>t instanceof n).cast().firstOrDefault(t=>r.stimulsoft().equals(t.id+"_a")):null),null==i&&(i=null!=r?t.where(t=>t instanceof n).cast().firstOrDefault(t=>(r+"_a").stimulsoft().equals(t.id)):null),null==i&&null!=r&&(i=null===(t=t.where(t=>null!=t).where(t=>null!=t.anotherAnimation).firstOrDefault(t=>r.stimulsoft().equals(t.id)))||void 0===t?void 0:t.anotherAnimation.stimulsoft().as(n)),null!=i&&null!=e&&!e.some(t=>0<=n.getPointIndex(i.pointsIds.stimulsoft().toList(),t)))return null;return i}static getPointIndex(t,e){let r=(t=t.where(t=>null!=t)).findIndex(t=>t.stimulsoft().equals(e));return-1==r&&(r=t.findIndex(t=>(t+"_l").stimulsoft().equals(e))),-1==r&&(r=t.findIndex(t=>(t+"_h").stimulsoft().equals(e))),-1==r&&(r=t.findIndex(t=>t.stimulsoft().equals(e+"_h"))),-1==r&&(r=t.findIndex(t=>t.stimulsoft().equals(e+"_l"))),r}applyPreviousAnimation(t){let e=n.getPreviousAnimation(t,this.pointsIds,this.id);if(null!=e){e.isReverse&&e.reverse();for(let t=0;t<this.pointsFrom.length;t++){var r=this.pointsIds[t],i=n.getPointIndex(e.pointsIds.stimulsoft().toList(),r),i;0<=i?(i=e.pointsTo[i],this.pointsFrom[t]=i):0==t&&0<this.pointsFrom.length?this.pointsFrom[t]=e.pointsTo[0]:0<t&&r==this.pointsIds[0]+"_e"?this.pointsFrom[t]=this.pointsFrom[0]:0<t&&(this.pointsFrom[t]=this.pointsFrom[t-1])}e.isReverse&&e.reverse(),this.duration=lt.fromMilliseconds(300)}else 0<t.length&&(this.beginTimeCorrect=lt.fromMilliseconds(200))}reverse(){this.isReverse=!0,this.pointsTo=this.pointsTo.map(t=>t).reverse(),this.pointsFrom=this.pointsFrom.map(t=>t).reverse(),this.pointsIds=this.pointsIds.map(t=>t).reverse()}};Ae.ai.StiPointsAnimation=n}Ae.ai.StiPieLabelAnimation=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n,a,s,o,l){super(o,l),this.type=Ae.d.StiAnimationType.Translation,this.valueFrom=t,this.value=e,this.clientRect=n,this.rectLabelFrom=a,this.rectLabel=s,this.angleFrom=r,this.angle=i}};{let i=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n,a,s,o,l,u){super(l,u),this.type=Ae.d.StiAnimationType.PieSegment,this.rectFrom=t,this.rectTo=e,this.rectDtFrom=r,this.rectDtTo=i,this.startAngleFrom=n,this.endAngleFrom=a,this.startAngleTo=s,this.endAngleTo=o}static isAnimationChangingValues(t,e=null){return null==e&&(e=`series_${t.chart.series.indexOf(t)}`),t.chart.isAnimationChangingValues&&null!=i.getPreviousAnimation(t.chart.previousAnimations,e)}static getPreviousAnimation(t,e){var t;let r=null!=e?t.where(t=>t instanceof i).cast().firstOrDefault(t=>e.stimulsoft().equals(t.id)):null;return null==r&&null!=e&&(r=null===(t=t.where(t=>null!=t).where(t=>null!=t.anotherAnimation).firstOrDefault(t=>e.stimulsoft().equals(t.id)))||void 0===t?void 0:t.anotherAnimation.stimulsoft().as(i)),r}applyPreviousAnimation(t){var e=i.getPreviousAnimation(t,this.id);null!=e?(this.startAngleFrom=e.startAngleTo,this.endAngleFrom=e.endAngleTo,this.rectFrom=e.rectTo,this.rectDtFrom=e.rectDtTo,this.duration=lt.fromMilliseconds(300)):0<t.length&&(this.beginTimeCorrect=lt.fromMilliseconds(200))}};Ae.ai.StiPieSegmentAnimation=i}Ae.af.StiLineGeom=class extends Ae.af.StiGeom{constructor(t,e,r,i,n){super(),this.type=Ae.af.StiGeomType.Line,this.pen=t,this.x1=e,this.y1=r,this.x2=i,this.y2=n}},Ae.af.StiLinesGeom=class extends Ae.af.StiGeom{constructor(t,e){super(),this.type=Ae.af.StiGeomType.Lines,this.pen=t,this.points=e}},Ae.af.StiImageGeom=class extends Ae.af.StiGeom{constructor(t,e){super(),this.type=Ae.af.StiGeomType.Image,this.rect=t,this.image=e}};let ty=Ae.as.IStiAxisArea;Ae.af.StiSeriesInteractionData=class{constructor(t=null,e=null,r=0){this.isElements=!0,this.tag=null,this.tooltip=null,this.hyperlink=null,this.argument=null,this.originalArgument=null,this.value=0,null==t&&null==e||this.fill(t,e,r)}fill(t,e,r){t.is(ty)&&t.reverseHor?(this.pointIndex=e.values.length-r-1,this.series=e,0<=r&&r<e.arguments.length&&(this.argument=e.arguments[e.arguments.length-r-1]),null!=e.originalArguments&&0<=r&&r<e.originalArguments.length&&(this.originalArgument=e.originalArguments[e.originalArguments.length-r-1]),0<=r&&r<e.values.length&&(this.value=e.values[e.values.length-r-1]),0<=r&&r<e.tags.length&&(this.tag=e.tags[e.tags.length-r-1]),0<=r&&r<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[e.hyperlinks.length-r-1]),0<=r&&r<e.toolTips.length&&(this.tooltip=e.toolTips[e.toolTips.length-r-1])):(this.pointIndex=r,null!=(this.series=e).originalArguments&&0<=r&&r<e.originalArguments.length&&(this.originalArgument=e.originalArguments[r]),0<=r&&r<e.arguments.length&&(this.argument=e.arguments[r]),0<=r&&r<e.values.length&&(this.value=e.values[r]),0<=r&&r<e.tags.length&&(this.tag=e.tags[r]),0<=r&&r<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[r]),0<=r&&r<e.toolTips.length&&(this.tooltip=e.toolTips[r]))}},Ae.af.StiInteractionData=class{},Ae.af.StiIndicatorInteractionData=class extends Ae.af.StiInteractionData{};let ey=Ae.S.StiShadowSides,ry=Ae.af.StiPushClipPathGeom,iy=Ae.af.StiImageGeom,ny=Ae.S.StiRotationMode,ay=Ae.af.StiPushTranslateTransformGeom,sy=Ae.af.StiPushRotateTransformGeom,oy=Ae.af.StiClusteredBarSeriesAnimationGeom,ly=Ae.af.StiPopTransformGeom,uy=Ae.af.StiBorderAnimationGeom,hy=Ae.af.StiAnimationGeom,cy=Ae.af.StiBorderGeom,dy=Ae.af.StiLineGeom,my=Ae.af.StiLinesGeom,py=Ae.ai.StiOpacityAnimation,gy=Ae.af.StiPushClipGeom,fy=Ae.af.StiPopClipGeom,Sy=Ae.af.StiCurveGeom,by=Ae.af.StiEllipseGeom,yy=Ae.af.StiCachedShadowGeom,vy=Ae.af.StiShadowGeom,wy=Ae.af.StiTextGeom,Cy=Ae.af.StiPathGeom,Ty=Ae.af.StiPieSegmentGeom,Py=Ae.af.StiArcSegmentGeom,Iy=Ae.af.StiLineSegmentGeom,Ay=Ae.af.StiLinesSegmentGeom,xy=Ae.af.StiCurveSegmentGeom,Dy=Ae.af.StiCloseFigureSegmentGeom,By=Ae.c.StiCurveHelper,Ey=Ae.ai.StiColumnAnimation,ky=Ae.af.StiLabelAnimationGeom,Ny=Ae.af.StiShadowAnimationGeom,Fy=Ae.af.StiPathAnimationGeom,Ry=Ae.af.StiCurveAnimationGeom,Ly=Ae.af.StiClusteredColumnSeriesAnimationGeom,My=Ae.af.StiEllipseAnimationGeom,Oy=Ae.af.StiLinesAnimationGeom,Hy=Ae.af.StiPathElementAnimationGeom,_y=Ae.ai.StiLabelAnimation,Vy=Ae.ai.StiPointsAnimation,Gy=Ae.ai.StiPieLabelAnimation,Uy=Ae.ai.StiPieSegmentAnimation,jy=Ae.d.StiAnimationType,Wy=Ae.af.StiSeriesInteractionData,qy=Ae.af.StiIndicatorInteractionData;{let r=class{static writeGeoms(u,h,i,l=!0){var c,c;let d="",m=0;var t=!0,e,p,n,r,a,s;for(e of h.geoms){var o=e.as(hy);null!=o&&null!=o.animation&&o.animation.duration.totalMilliseconds+o.animation.beginTime.totalMilliseconds>m&&(m=o.animation.duration.totalMilliseconds+o.animation.beginTime.totalMilliseconds)}for(p of h.geoms)if(p.is(ay)){this.listTransformGeom.push(p);var g=p.as(ay);u.writeStartElement("g"),isNaN(g.x)||(this.dx+=p.x),isNaN(g.y)||(this.dy+=p.y)}else if(p.is(sy)){this.listTransformGeom.push(p);var g=p.as(sy);u.writeStartElement("g"),u.writeAttributeString("transform",De.format("rotate({0} {1} {2})",g.angle,this.dx,this.dy))}else if(p.is(ly)){let t=this.listTransformGeom[this.listTransformGeom.length-1];t.is(ay)&&(n=t.as(ay),isNaN(n.x)||(this.dx-=n.x),isNaN(n.y)||(this.dy-=n.y)),this.listTransformGeom.stimulsoft().remove(t),u.writeEndElement()}else if(p.is(oy)){let t=p,e=t.columnRect.stimulsoft().as(Tr);var n=null!=t.animation?t.animation.stimulsoft().as(Ey):null,c=null!=n?n.rectFrom:Tr.empty,n,f;let r=new Mt;null!=t.background?r.append(this.writeFillBrush(u,t.background,e)):r.append("fill:none;"),this.checkPenGeom(t.borderPen)&&(n=De.format("{0}",this.writeBorderStroke(u,t.borderPen.brush,e)),r.append(De.format("{0};stroke-width:{1};",n,t.borderPen.thickness))),u.writeStartElement("rect"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("shape-rendering","crispEdges"),i?(u.writeAttributeString("x",this.p(c.x+this.dx)),u.writeAttributeString("y",this.p(c.y+this.dy)),u.writeAttributeString("width",this.p(c.width)),u.writeAttributeString("height",this.p(c.height)),f=`["y", ${this.p(c.y+this.dy)}, ${this.p(e.y+this.dy)}, ""]`,f+=`, ["height", ${this.p(c.height)}, ${this.p(e.height)}, ""]`,f+=`, ["x", ${this.p(c.x+this.dx)}, ${this.p(e.x+this.dx)}, ""]`,f+=`, ["width", ${this.p(c.width)}, ${this.p(e.width)}, ""]`,this.addAnimation(u,`[${f}]`,new lt(t.animation.beginTime.ticks+t.animation.beginTimeCorrect.ticks),t.animation.duration)):(u.writeAttributeString("x",this.p(e.x+this.dx)),u.writeAttributeString("y",(e.y+this.dy).toString().split(",").join(".")),u.writeAttributeString("width",this.p(e.width)),u.writeAttributeString("height",e.height.toString().split(",").join("."))),this.writeInteraction(u,t.interaction),u.writeAttributeString("style",r.toString()),null==t.toolTip||De.isNullOrEmpty(t.toolTip.toString())||this.writeTooltip(u,t.toolTip.toString()),u.writeEndElement()}else if(p.is(ky)){let t=p;var f=null===(c=t.animation)||void 0===c?void 0:c.stimulsoft().as(_y),c=null===(c=t.animation)||void 0===c?void 0:c.stimulsoft().as(Gy),S,S,b,b,y;let e=t.rectangle.clone();null!=f?e=f.labelRect:null!=c&&(e=c.rectLabelFrom);let r=new Mr;r.alignment=t.stringFormat.alignment,r.formatFlags=t.stringFormat.formatFlags,r.hotkeyPrefix=t.stringFormat.hotkeyPrefix,r.lineAlignment=t.stringFormat.lineAlignment,r.trimming=t.stringFormat.trimming;let i=new kr;if(0==t.angle){switch(i=new kr(e.x,e.y),r.lineAlignment){case Lr.Near:i=new kr(e.x,e.y);break;case Lr.Center:i=new kr(e.x,e.y+e.height/2);break;case Lr.Far:i=new kr(e.x,e.y+e.height);break}t.rotationMode=ny.LeftCenter}else i=new kr(e.x+e.width/2,e.y+e.height/2);let n=new Mt;null!=t.labelBrush?n.append(this.writeFillBrush(u,t.labelBrush,e,this.dx,this.dy)):n.append("fill:none;"),t.drawBorder&&this.checkPenGeom(t.penBorder)&&(S=this.writeBorderStroke(u,t.penBorder.brush,e),n.append(`${S};stroke-width:${t.penBorder.thickness};`)),u.writeStartElement("rect");let a=0,s=0;switch(t.rotationMode){case ny.LeftTop:break;case ny.LeftCenter:s=e.height/2;break;case ny.LeftBottom:s=e.height;break;case ny.CenterTop:a=e.width/2;break;case ny.CenterCenter:a=e.width/2,s=e.height/2;break;case ny.CenterBottom:a=e.width/2,s=e.height;break;case ny.RightTop:a=e.width;break;case ny.RightCenter:a=e.width,s=e.height/2;break;case ny.RightBottom:a=e.width,s=e.height;break}u.writeAttributeString("transform",`translate(${this.p(i.x+this.dx-a)}, ${this.p(i.y+this.dy-s)}) rotate(${this.p(t.angle)} ${this.p(a)},${this.p(s)})`),u.writeAttributeString("width",this.p(e.width)),u.writeAttributeString("height",this.p(e.height)),u.writeAttributeString("style",n.toString()),u.writeAttributeString("shape-rendering","crispEdges"),u.writeAttributeString("opacity",null!=f||null!=c?"1":"0"),u.writeAttributeString("fill","rgba(0,0,0,0)"),null!=f?(S=t.rectangle.x-f.labelRect.x,b=t.rectangle.y-f.labelRect.y,this.addAnimation(u,`[["translate","${this.p(i.x+this.dx)}:${this.p(i.y+this.dy)}","${this.p(i.x+this.dx+S)}${this.p(i.y+this.dy+b)}\",\" rotate(${this.p(t.angle)} ${this.p(e.width/2)},${this.p(e.height/2)})"]]`,f.beginTime,f.duration)):null!=c?(b=t.rectangle.x-c.rectLabel.x,y=t.rectangle.y-c.rectLabel.y,this.addAnimation(u,`[["translate","${this.p(i.x+this.dx)}:${this.p(i.y+this.dy)}","${this.p(i.x+this.dx+b)}:${this.p(i.y+this.dy+y)}"," rotate(${this.p(t.angle)} ${this.p(e.width/2)},${this.p(e.height/2)})"]]`,c.beginTime,c.duration)):this.addAnimation(u,`[["opacity", 0, 1, ""]]`,lt.fromMilliseconds(m),lt.fromMilliseconds(500)),u.writeEndElement();var y=l?4*t.font.fontSize/3:t.font.fontSize;switch(n=new Mt,u.writeStartElement("text"),t.rotationMode){case ny.LeftCenter:u.writeAttributeString("dy","0.5em");break;case ny.LeftBottom:break;case ny.CenterTop:n.append("text-anchor:middle;"),u.writeAttributeString("dy","1em");break;case ny.CenterCenter:n.append("text-anchor:middle;"),l?u.writeAttributeString("dy","0.5em"):u.writeAttributeString("dy","0.3em");break;case ny.CenterBottom:n.append("text-anchor:middle;");break;case ny.RightTop:n.append("text-anchor:end;"),u.writeAttributeString("dy","1em");break;case ny.RightCenter:n.append("text-anchor:end;"),u.writeAttributeString("dy","0.5em");break;case ny.RightBottom:n.append("text-anchor:end;");break;default:u.writeAttributeString("dy","1em");break}0==t.angle&&0==t.rectangle.width?(De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("x",this.p(i.x+this.dx)),u.writeAttributeString("y",this.p(i.y+this.dy))):u.writeAttributeString("transform",De.format("translate({0}, {1}) rotate({2} 0,0)",this.p(i.x+this.dx),this.p(i.y+this.dy),this.p(t.angle))),u.writeAttributeString("font-size",this.p(y)),u.writeAttributeString("font-family",t.font.fontName),0<(t.font.fontStyle&se.Bold)&&u.writeAttributeString("font-weight","bold"),0<(t.font.fontStyle&se.Italic)&&u.writeAttributeString("font-style","italic");let o="";0<(t.font.fontStyle&se.Underline)&&(o+="underline"),0<(t.font.fontStyle&se.Strikeout)&&(o+=" line-through"),De.isNullOrEmpty(o)||u.writeAttributeString("text-decoration",o);var y=t.textBrush instanceof Fe?t.textBrush:hi.toColor(t.textBrush),v,w,C,w;n.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",y.r,y.g,y.b)),255!=y.a&&n.append(De.format("fill-opacity:{0};",this.p(Ne.round2(y.a/255,3)))),n.append("pointer-events: none"),u.writeAttributeString("style",n.toString()),u.writeAttributeString("opacity",null!=f||null!=c?"1":"0"),null!=f?(this.addAnimation(u,De.format('[["translate","'+this.p(f.labelRect.x+this.dx)+":"+this.p(f.labelRect.y+this.dy)+'","'+this.p(e.x+this.dx)+":"+this.p(e.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(t.angle)),f.beginTime,f.duration),null!=f.valueFrom&&null!=f.value&&(w=f.valueFrom-f.value,this.addAnimation(u,'[["value", '+this.p(f.valueFrom)+", "+this.p(f.value)+', "'+w+'"]]',f.beginTime,f.duration,"a1"))):null!=c?(this.addAnimation(u,De.format('[["translate","'+this.p(c.rectLabelFrom.x+this.dx)+":"+this.p(c.rectLabelFrom.y+this.dy)+'","'+this.p(e.x+this.dx)+":"+this.p(e.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(t.angle)),c.beginTime,c.duration),null!=c.valueFrom&&null!=c.value&&(w=c.valueFrom-c.value,this.addAnimation(u,'[["value", '+this.p(c.valueFrom)+", "+this.p(c.value)+', "'+w+'", "'+t.text+'" ]]',c.beginTime,c.duration,"a1"))):this.addAnimation(u,'[["opacity", 0, 1, ""]]',lt.fromMilliseconds(m),lt.fromMilliseconds(500)),null!=f&&null!=f.valueFrom?u.writeString(this.p(f.valueFrom)):null!=c&&null!=c.valueFrom?u.writeString(this.p(c.valueFrom)):u.writeString(t.text),u.writeEndElement()}else if(p.is(gy)){let t=p.clipRectangle;0<t.width&&0<t.height&&(a="s"+Ts.newGuid(),u.writeStartElement("defs"),u.writeStartElement("clipPath"),u.writeAttributeString("id",a),u.writeStartElement("rect"),u.writeAttributeString("x",(t.x+this.dx).toString().split(",").join(".")),u.writeAttributeString("y",(t.y+this.dy).toString().split(",").join(".")),u.writeAttributeString("width",t.width.toString().split(",").join(".")),u.writeAttributeString("height",t.height.toString().split(",").join(".")),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),d=a)}else if(p.is(ry)){var T=p.as(ry),a=this.getPathData(T.geoms,this.dx,this.dy,{ref:null},{ref:null}),T="s"+Ts.newGuid();u.writeStartElement("defs"),u.writeStartElement("clipPath"),u.writeAttributeString("id",T),u.writeStartElement("path"),u.writeAttributeString("d",a),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),d=T}else if(p.is(fy))d="";else if(p.is(Ny)){let t=p.as(Ny),e=t.rect;var T="s"+Ts.newGuid();u.writeStartElement("defs"),u.writeStartElement("filter"),u.writeAttributeString("id",T),u.writeAttributeString("x","0"),u.writeAttributeString("y","0"),u.writeAttributeString("width","200%"),u.writeAttributeString("height","200%"),u.writeStartElement("feOffset"),u.writeAttributeString("result","offOut"),u.writeAttributeString("in","SourceGraphic"),u.writeAttributeString("dx","1.111111111111111"),u.writeAttributeString("dy","1.111111111111111"),u.writeEndElement(),u.writeStartElement("feColorMatrix"),u.writeAttributeString("result","matrixOut"),u.writeAttributeString("in","offOut"),u.writeAttributeString("type","matrix"),u.writeAttributeString("values","0.58 0 0 0 0 0 0.58 0 0 0 0 0 0.58 0 0 0 0 0 1 0"),u.writeEndElement(),u.writeStartElement("feGaussianBlur"),u.writeAttributeString("result","blurOut"),u.writeAttributeString("in","matrixOut"),u.writeAttributeString("stdDeviation","1.111111111111111"),u.writeEndElement(),u.writeStartElement("feBlend"),u.writeAttributeString("mode","normal"),u.writeAttributeString("in","SourceGraphic"),u.writeAttributeString("in2","blurOut"),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),u.writeStartElement("rect"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("x",(e.x+this.dx).toString().split(",").join(".")),u.writeAttributeString("y",(e.y+this.dy).toString().split(",").join(".")),u.writeAttributeString("height",e.height.toString().split(",").join(".")),u.writeAttributeString("width",e.width.toString().split(",").join(".")),u.writeAttributeString("fill","rgb(150,150,150)"),u.writeAttributeString("filter",De.format("url(#{0})",T)),u.writeAttributeString("rx",t.radiusX.toString().split(",").join(".")),u.writeAttributeString("ry",t.radiusY.toString().split(",").join(".")),i&&(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0, 1, ""]]',t.animation.beginTime,t.animation.duration)),u.writeEndElement()}else if(p.is(uy)){let e=p,r=e.rect.stimulsoft().as(Tr);if(0<r.width&&0<r.height){var P=new py(e.animation.duration,e.animation.beginTime),I;let t=new Mt;null!=e.background?t.append(this.writeFillBrush(u,e.background,r)):t.append("fill:none;"),this.checkPenGeom(e.borderPen)&&(I=De.format("{0}",this.writeBorderStroke(u,e.borderPen.brush,r)),t.append(De.format("{0};stroke-width:{1};",I,e.borderPen.thickness))),u.writeStartElement("rect"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("x",(r.x+this.dx).toString().replace(",",".")),u.writeAttributeString("y",(r.y+this.dy).toString().replace(",",".")),u.writeAttributeString("width",r.width.toString().replace(",",".")),u.writeAttributeString("height",r.height.toString().replace(",",".")),u.writeAttributeString("style",t.toString()),u.writeAttributeString("shape-rendering","crispEdges"),null!=P&&(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0 , 1,""]]',P.beginTime,P.duration)),this.writeInteraction(u,e.interaction),null==e.toolTip||De.isNullOrEmpty(e.toolTip.toString())||this.writeTooltip(u,e.toolTip.toString()),u.writeEndElement()}}else if(p.is(Ly)){let t=p.as(Ly);var I=t.columnRect.stimulsoft().as(Tr),P=null!=t.animation?t.animation.stimulsoft().as(Ey):null,P=null!=P?P.rectFrom:Tr.empty,A,A;let e=new Mt;null!=t.background?e.append(this.writeFillBrush(u,t.background,I)):e.append("fill:none;"),this.checkPenGeom(t.borderPen)&&(A=De.format("{0}",this.writeBorderStroke(u,t.borderPen.brush,I)),e.append(De.format("{0};stroke-width:{1};",A,t.borderPen.thickness))),u.writeStartElement("rect"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("shape-rendering","crispEdges"),i?(u.writeAttributeString("x",this.p(P.x+this.dx)),u.writeAttributeString("y",this.p(P.y+this.dy)),u.writeAttributeString("width",this.p(P.width)),u.writeAttributeString("height",this.p(P.height)),A=`["y", ${this.p(P.y+this.dy)}, ${this.p(I.y+this.dy)}, ""]`,A+=`, ["height", ${this.p(P.height)}, ${this.p(I.height)}, ""]`,A+=`, ["x", ${this.p(P.x+this.dx)}, ${this.p(I.x+this.dx)}, ""]`,A+=`, ["width", ${this.p(P.width)}, ${this.p(I.width)}, ""]`,this.addAnimation(u,`[${A}]`,new lt(t.animation.beginTime.ticks+t.animation.beginTimeCorrect.ticks),t.animation.duration)):(u.writeAttributeString("x",this.p(I.x+this.dx)),u.writeAttributeString("y",this.p(I.y+this.dy)),u.writeAttributeString("width",this.p(I.width)),u.writeAttributeString("height",this.p(I.height))),this.writeInteraction(u,t.interaction),u.writeAttributeString("style",e.toString()),null==t.toolTip||De.isNullOrEmpty(t.toolTip.toString())||this.writeTooltip(u,t.toolTip.toString()),u.writeEndElement()}else if(p.is(Oy)){let n=p.as(Oy);if(this.checkPenGeom(n.pen)){var x="g"+Ts.newGuid(),D;n.animation.type==jy.Translation&&(D=n.pen.brush.stimulsoft().as(Fe),u.writeStartElement("g"),u.writeStartElement("defs"),u.writeStartElement("linearGradient"),u.writeAttributeString("id",x),u.writeAttributeString("x1","0%"),u.writeAttributeString("y1","0%"),u.writeAttributeString("x2","100%"),u.writeAttributeString("y2","0%"),u.writeStartElement("stop"),u.writeAttributeString("offset","0%"),u.writeAttributeString("stop-color",De.format("rgba({0},{1},{2},{3})",D.r,D.g,D.b,Ne.round2(D.a/255,3).toString().split(",").join("."))),u.writeAttributeString("stop-opacity","1"),u.writeAttributeString("style","x: 0px;"),this.addAnimation(u,'[["offset", 0 , 100,"%"]]',n.animation.beginTime,n.animation.duration),u.writeEndElement(),u.writeStartElement("stop"),u.writeAttributeString("offset","0%"),u.writeAttributeString("stop-color","transparent"),u.writeAttributeString("stop-opacity","0"),u.writeAttributeString("style","x: 00px;"),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),u.writeEndElement());var B=null!=n.animation?n.animation.stimulsoft().as(Vy):null;u.writeStartElement("polyline"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d));let r=new Mt,i=new Mt;for(let e=0;n.points.length>e;e++){var E=n.points[e];let t=0;e==n.points.length-1&&(t=1e-4*e),null==B?r.appendFormat("{0},{1} ",this.p(E.x+this.dx),this.p(E.y+this.dy+t)):(r.appendFormat("{0},{1} ",this.p(B.pointsFrom[e].x+this.dx),this.p(B.pointsFrom[e].y+this.dy+t)),i.appendFormat("{0},{1} ",this.p(E.x+this.dx),this.p(E.y+this.dy+t)))}if(u.writeAttributeString("fill","none"),u.writeAttributeString("points",r.toString()),n.animation.type==jy.Opacity||null!=B){var D=De.format("{0}",this.writeBorderStroke(u,n.pen.brush,new Tr));let t=new Mt;t.appendFormat("{0};stroke-width:{1};",D,this.p(n.pen.thickness)),u.writeAttributeString("style",t.toString()),null==B?(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0 , 1,""]]',n.animation.beginTime,n.animation.duration)):this.addAnimation(u,'[["points", "'+r.toString()+'", "'+i.toString()+'",""]]',n.animation.beginTime,n.animation.duration)}else n.animation.type==jy.Translation&&(u.writeAttributeString("stroke-width",n.pen.thickness.toString().split(",").join(".")),u.writeAttributeString("stroke",De.format("url(#{0})",x)));n.pen.penStyle!=Jr.Solid&&u.writeAttributeString("stroke-dasharray",Ae.ax.StiSvgHelper.getLineStyleDash(n.pen.penStyle,n.pen.thickness)),u.writeEndElement()}}else if(p.is(My)){let t=p.as(My);var k=t.rect.stimulsoft().as(Tr),x;let e="";e=null!=t.background?this.writeFillBrush(u,t.background,k):"fill:none;",this.checkPenGeom(t.borderPen)&&(x=De.format("{0}",this.writeBorderStroke(u,t.borderPen.brush,k)),e+=De.format("{0};stroke-width:{1};",x,t.borderPen.thickness.toString().split(",").join("."))),u.writeStartElement("ellipse"),u.writeAttributeString("rx",(k.width/2).toString().split(",").join(".")),u.writeAttributeString("ry",(k.height/2).toString().split(",").join(".")),t.animation.type!=jy.Scale&&(u.writeAttributeString("cx",(k.x+this.dx+k.width/2).toString().split(",").join(".")),u.writeAttributeString("cy",(k.y+this.dy+k.height/2).toString().split(",").join("."))),u.writeAttributeString("style",e),t.animation.type==jy.Opacity?(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0 , 1,""]]',t.animation.beginTime,t.animation.duration)):t.animation.type==jy.Scale&&(u.writeAttributeString("transform","scale(0)"),this.addAnimation(u,De.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]',(k.x+this.dx+k.width/2).toString().split(",").join("."),(k.y+this.dy+k.height/2).toString().split(",").join(".")),t.animation.beginTime,t.animation.duration)),this.writeInteraction(u,t.interaction),null==t.toolTip||De.isNullOrEmpty(t.toolTip.toString())||this.writeTooltip(u,t.toolTip.toString()),u.writeEndElement()}else if(p.is(Hy)){let t=p.as(Hy);var N=t.rect,F;let e="";e=null!=t.background?this.writeFillBrush(u,t.background,N):"fill:none;",this.checkPenGeom(t.borderPen)&&(F=De.format("{0}",this.writeBorderStroke(u,t.borderPen.brush,N)),e+=De.format("{0};stroke-width:{1};",F,t.borderPen.thickness.toString().split(",").join(".")));var k={ref:null},N={ref:null},F=this.getPathData(t.pathGeoms,this.dx,this.dy,k,N,p.animation);let r=k.ref;var N=N.ref;u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("d",F),u.writeAttributeString("style",e),0==r.length?null!=t.animation&&(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0 , 1,""]]',t.animation.beginTime,t.animation.duration)):1==t.pathGeoms.length&&t.pathGeoms[0].is(Ty)?this.addAnimation(u,'[["pie", "'+r.toString()+'", 1,""]]',lt.fromMilliseconds(0),N):4==t.pathGeoms.length&&t.animation.stimulsoft().is(Uy)?this.addAnimation(u,'[["doughnut", "'+r.toString()+'", 1,""]]',lt.fromMilliseconds(0),N):this.addAnimation(u,'[["path", "'+r.toString()+'", 1,""]]',lt.fromMilliseconds(0),N),this.writeInteraction(u,t.interaction),null==t.toolTip||De.isNullOrEmpty(t.toolTip.toString())||this.writeTooltip(u,t.toolTip.toString()),u.writeEndElement()}else if(p.is(Fy)){let t=p.as(Fy);var R=t.rect,L;let e="";e=null!=t.background?this.writeFillBrush(u,t.background,R):"fill:none;",this.checkPenGeom(t.pen)&&(L=De.format("{0}",this.writeBorderStroke(u,t.pen.brush,R)),e+=De.format("{0};stroke-width:{1};",L,t.pen.thickness.toString().split(",").join(".")));var N={ref:null},R={ref:null},L=this.getPathData(t.geoms,this.dx,this.dy,N,R);let r=N.ref;var R=R.ref;u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("d",L),u.writeAttributeString("style",e),null!=t.animation?(u.writeAttributeString("opacity","0"),this.addAnimation(u,'[["opacity", 0 , 1,""]]',t.animation.beginTime,t.animation.duration)):0!=r.length&&this.addAnimation(u,'[["path", "'+r.toString()+'", 1,""]]',lt.fromMilliseconds(0),R),this.writeInteraction(u,t.interaction),u.writeEndElement()}else if(p.is(Ry)){let t=p.as(Ry);var L=null!=t.animation?t.animation.stimulsoft().as(Vy):null;if(this.checkPenGeom(t.pen)){var M="g"+Ts.newGuid(),R=t.pen.brush.stimulsoft().as(Fe);u.writeStartElement("g"),u.writeStartElement("defs"),u.writeStartElement("linearGradient"),u.writeAttributeString("id",M),u.writeAttributeString("x1","0%"),u.writeAttributeString("y1","0%"),u.writeAttributeString("x2","100%"),u.writeAttributeString("y2","0%"),u.writeStartElement("stop"),u.writeAttributeString("offset","0%"),u.writeAttributeString("stop-color",De.format("rgba({0},{1},{2},{3})",R.r,R.g,R.b,Ne.round2(R.a/255,3).toString().split(",").join("."))),u.writeAttributeString("stop-opacity","1"),u.writeAttributeString("style","x: 0px;"),null==L&&this.addAnimation(u,'[["offset", 0 , 100,"%"]]',t.animation.beginTime,t.animation.duration),u.writeEndElement(),null==L&&(u.writeStartElement("stop"),u.writeAttributeString("offset","0%"),u.writeAttributeString("stop-color","transparent"),u.writeAttributeString("stop-opacity","0"),u.writeAttributeString("style","x: 0px;"),u.writeEndElement()),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d));var O=this.convertSplineToCubicBezier(t.points,t.tension);if(null!=L){let e=new Mt;var H=this.convertSplineToCubicBezier(L.pointsFrom,t.tension);e.appendFormat("M{0}:{1},{2}:{3} C",this.p(H[0].x+this.dx),this.p(O[0].x+this.dx),this.p(H[0].y+this.dy),this.p(O[0].y+this.dy));for(let t=1;t<O.length;t++)e.appendFormat("{0}:{1},{2}:{3} ",this.p(H[t].x+this.dx),this.p(O[t].x+this.dx),this.p(H[t].y+this.dy),this.p(O[t].y+this.dy+1e-4*t));this.addAnimation(u,'[["path", "'+e.toString()+'", 1,""]]',lt.fromMilliseconds(0),lt.fromSeconds(1));let r=new Mt;r.appendFormat("M{0},{1} C",(H[0].x+this.dx).toString().split(",").join("."),(H[0].y+this.dy).toString().split(",").join("."));for(let t=1;t<H.length;t++)r.appendFormat("{0},{1} ",(H[t].x+this.dx).toString().split(",").join("."),(H[t].y+this.dy+1e-4*t).toString().split(",").join("."));u.writeAttributeString("d",r.toString())}else{let e=new Mt;e.appendFormat("M{0},{1} C",(O[0].x+this.dx).toString().split(",").join("."),(O[0].y+this.dy).toString().split(",").join("."));for(let t=1;t<O.length;t++)e.appendFormat("{0},{1} ",(O[t].x+this.dx).toString().split(",").join("."),(O[t].y+this.dy+1e-4*t).toString().split(",").join("."));u.writeAttributeString("d",e.toString())}u.writeAttributeString("fill","none"),u.writeAttributeString("stroke-width",t.pen.thickness.toString().split(",").join(".")),u.writeAttributeString("stroke",De.format("url(#{0})",M)),t.pen.penStyle!=Jr.Solid&&u.writeAttributeString("stroke-dasharray",Ae.ax.StiSvgHelper.getLineStyleDash(t.pen.penStyle,t.pen.thickness)),u.writeEndElement()}}else if(p.is(iy)){let t=p.as(iy);null!=t.image&&(u.writeStartElement("image"),u.writeAttributeString("x",t.rect.x.toString().split(",").join(".")),u.writeAttributeString("y",t.rect.y.toString().split(",").join(".")),u.writeAttributeString("width",t.rect.width.toString().split(",").join(".")),u.writeAttributeString("height",t.rect.height.toString().split(",").join(".")),u.writeStartAttribute(null,"href",null),u.writeString("data:image/jpg;base64,"),u.writeRaw("\r\n"),u.writeString(Qt.toBase64String(t.image)),u.writeEndAttribute(),u.writeEndElement())}else if(p.is(cy)){let e=p.as(cy),r=e.rect.stimulsoft().as(Tr);if(0<r.width&&0<r.height){let t=new Mt;t.append(this.writeFillBrush(u,e.background,r)),this.checkPenGeom(e.borderPen)&&t.append("fill:none;"),this.checkPenGeom(e.borderPen)&&(s=De.format("{0}",this.writeBorderStroke(u,e.borderPen.brush,r)),t.append(De.format("{0}stroke-width:{1};",s,e.borderPen.thickness))),u.writeStartElement("rect"),null!=e.backgroundMouseOver&&this.writeFillBrushMouserOver(u,e.background,e.backgroundMouseOver,r),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("x",(r.x+this.dx).toString()),u.writeAttributeString("y",(r.y+this.dy).toString()),u.writeAttributeString("width",r.width.toString()),u.writeAttributeString("height",r.height.toString()),u.writeAttributeString("style",t.toString()),u.writeAttributeString("shape-rendering","crispEdges"),this.writeInteraction(u,e.interaction),u.writeEndElement()}}else if(p.is(dy)){var M=p.as(dy),s,s;this.checkPenGeom(M.pen)&&(u.writeStartElement("line"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("x1",(M.x1+this.dx).toString()),u.writeAttributeString("y1",(M.y1+this.dy).toString()),u.writeAttributeString("x2",(M.x2+this.dx).toString()),u.writeAttributeString("y2",(M.y2+this.dy).toString()),s=De.format("{0}",this.writeBorderStroke(u,M.pen.brush,new Tr)),s=De.format("{0}stroke-width:{1};",s,M.pen.thickness),u.writeAttributeString("style",s),M.pen.penStyle!=Jr.Solid&&u.writeAttributeString("stroke-dasharray",Ae.ax.StiSvgHelper.getLineStyleDash(M.pen.penStyle,M.pen.thickness)),u.writeEndElement())}else if(p.is(my)){var _=p.as(my);if(this.checkPenGeom(_.pen)){u.writeStartElement("polyline"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d));let e=new Mt;for(let t=0;t<_.points.length;t++){var V=_.points[t];e.appendFormat("{0},{1} ",(V.x+this.dx).toString(),(V.y+this.dy+1e-4*t).toString())}u.writeAttributeString("fill","none"),u.writeAttributeString("points",e.toString());var G=De.format("{0}",this.writeBorderStroke(u,_.pen.brush,new Tr));let t=new Mt;t.appendFormat("{0}stroke-width:{1};",G,_.pen.thickness),u.writeAttributeString("style",t.toString()),_.pen.penStyle!=Jr.Solid&&u.writeAttributeString("stroke-dasharray",Ae.ax.StiSvgHelper.getLineStyleDash(_.pen.penStyle,_.pen.thickness)),u.writeEndElement()}}else if(p.is(Sy)){var U=p.as(Sy);if(this.checkPenGeom(U.pen)){u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d));var j=this.convertSplineToCubicBezier(U.points,U.tension);let e=new Mt;e.appendFormat("M{0},{1} C",j[0].x+this.dx,j[0].y+this.dy);for(let t=1;t<j.length;t++)e.appendFormat("{0},{1} ",j[t].x+this.dx,j[t].y+this.dy);u.writeAttributeString("d",e.toString()),u.writeAttributeString("fill","none");var G=De.format("{0}",this.writeBorderStroke(u,U.pen.brush,new Tr)),G=De.format("{0}stroke-width:{1};",G,U.pen.thickness);u.writeAttributeString("style",G),U.pen.penStyle!=Jr.Solid&&u.writeAttributeString("stroke-dasharray",Ae.ax.StiSvgHelper.getLineStyleDash(U.pen.penStyle,U.pen.thickness)),u.writeEndElement()}}else if(p.is(by)){let t=p.as(by);var W=t.rect.stimulsoft().as(Tr),U;let e="";e=null!=t.background?this.writeFillBrush(u,t.background,W):"fill-opacity:0;",this.checkPenGeom(t.borderPen)&&(U=De.format("{0}",this.writeBorderStroke(u,t.borderPen.brush,W)),e+=De.format("{0}stroke-width:{1};",U,t.borderPen.thickness)),u.writeStartElement("ellipse"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("cx",(W.x+this.dx+W.width/2).toString()),u.writeAttributeString("cy",(W.y+this.dy+W.height/2).toString()),u.writeAttributeString("rx",(W.width/2).toString()),u.writeAttributeString("ry",(W.height/2).toString()),u.writeAttributeString("style",e),this.writeInteraction(u,t.interaction),this.writeTooltip(u,t.toolTip),u.writeEndElement()}else if(p.is(yy)&&t){var W=p.as(yy);let t=W.rect,e=t.top-10,r=t.right+10,i=t.bottom+10,n=t.left-10;0==(W.sides&ey.Top)&&(e=W.clipRect.top),0==(W.sides&ey.Right)&&(r=W.clipRect.right),0==(W.sides&ey.Bottom)&&(i=W.clipRect.bottom),0==(W.sides&ey.Left)&&(n=W.clipRect.left),t.x+=2,t.y+=2;var q="s"+Ts.newGuid(),W="s"+Ts.newGuid();u.writeStartElement("defs"),u.writeStartElement("filter"),u.writeAttributeString("id",q),u.writeStartElement("feGaussianBlur"),u.writeAttributeString("in","SourceGraphic"),u.writeAttributeString("stdDeviation","2"),u.writeEndElement(),u.writeEndElement(),u.writeStartElement("clipPath"),u.writeAttributeString("id",W),u.writeStartElement("rect"),u.writeAttributeString("x",this.p(n+this.dx)),u.writeAttributeString("y",this.p(e+this.dy)),u.writeAttributeString("width",this.p(r-n)),u.writeAttributeString("height",this.p(i-e)),u.writeEndElement(),u.writeEndElement(),u.writeEndElement(),u.writeStartElement("rect"),u.writeAttributeString("x",this.p(t.x+this.dx)),u.writeAttributeString("y",this.p(t.y+this.dy)),u.writeAttributeString("width",this.p(t.width)),u.writeAttributeString("height",this.p(t.height)),u.writeAttributeString("fill","rgba(190,190,190,10)"),u.writeAttributeString("filter","url(#"+q+")"),u.writeEndElement()}else if(p.is(vy)){var z=p.as(vy),X="s"+Ts.newGuid(),J;u.writeStartElement("defs"),u.writeStartElement("filter"),u.writeAttributeString("id",X),u.writeAttributeString("x","0"),u.writeAttributeString("y","0"),u.writeAttributeString("width","200%"),u.writeAttributeString("height","200%"),u.writeStartElement("feOffset"),u.writeAttributeString("result","offOut"),u.writeAttributeString("in","SourceGraphic"),u.writeAttributeString("dx","1.111111111111111"),u.writeAttributeString("dy","1.111111111111111"),u.writeEndElement(),u.writeStartElement("feColorMatrix"),u.writeAttributeString("result","matrixOut"),u.writeAttributeString("in","offOut"),u.writeAttributeString("type","matrix"),u.writeAttributeString("values","0.58 0 0 0 0 0 0.58 0 0 0 0 0 0.58 0 0 0 0 0 1 0"),u.writeEndElement(),u.writeStartElement("feGaussianBlur"),u.writeAttributeString("result","blurOut"),u.writeAttributeString("in","matrixOut"),u.writeAttributeString("stdDeviation","1.111111111111111"),u.writeEndElement(),u.writeStartElement("feBlend"),u.writeAttributeString("mode","normal"),u.writeAttributeString("in","SourceGraphic"),u.writeAttributeString("in2","blurOut"),u.writeEndElement(),u.writeEndElement(),u.writeEndElement();for(J of z.shadowContext.geoms){var Y=J.as(Cy),Y;null!=Y&&(Y=this.getPathData(Y.geoms,this.dx+z.rect.x,this.dy+z.rect.y,{ref:null},{ref:null}),u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("d",Y),u.writeAttributeString("fill","rgb(150,150,150)"),u.writeAttributeString("filter",De.format("url(#{0})",X)),u.writeEndElement())}}else if(p.is(wy)){let l=p.as(wy);"Stimulsoft"==l.font.fontName&&this.writeStimulsoftIconFont();var Q=new Ar(l.font.fontName,l.font.fontSize,l.font.fontStyle,l.font.unit),q;let t=new Mr;t.alignment=l.stringFormat.alignment,t.formatFlags=l.stringFormat.formatFlags,t.hotkeyPrefix=l.stringFormat.hotkeyPrefix,t.lineAlignment=l.stringFormat.lineAlignment,t.trimming=l.stringFormat.trimming;let e=new kr;if(0!=l.angle||l.location instanceof kr||l.isRotatedText){e=l.location instanceof kr?l.location.stimulsoft().as(kr):(q=l.location,new kr(q.x+q.width/2,q.y+q.height/2))}else{var K=l.location;switch(t.lineAlignment){case Lr.Near:e=new kr(K.x,K.y);break;case Lr.Center:e=new kr(K.x,K.y+K.height/2);break;case Lr.Far:e=new kr(K.x,K.y+K.height);break}l.rotationMode=ny.LeftCenter}let r=new Mt,i=4*Q.size/3;switch(De.isNullOrEmpty(d)||(u.writeStartElement("g"),u.writeAttributeString("clip-path",De.format("url(#{0})",d))),u.writeStartElement("text"),l.rotationMode){case ny.LeftCenter:u.writeAttributeString("dy","0.35em");break;case ny.LeftBottom:break;case ny.CenterTop:r.appendFormat("text-anchor:{0};","middle"),u.writeAttributeString("dy","1em");break;case ny.CenterCenter:r.appendFormat("text-anchor:{0};","middle"),u.writeAttributeString("dy","0.35em");break;case ny.CenterBottom:r.appendFormat("text-anchor:{0};","middle");break;case ny.RightTop:r.appendFormat("text-anchor:{0};","end"),u.writeAttributeString("dy","1em");break;case ny.RightCenter:r.appendFormat("text-anchor:{0};","end"),u.writeAttributeString("dy","0.35em");break;case ny.RightBottom:r.appendFormat("text-anchor:{0};","end");break;default:u.writeAttributeString("dy","1em");break}u.writeAttributeString("transform",De.format("translate({0}, {1}) rotate({2} 0,0)",(e.x+this.dx).toString(),(e.y+this.dy).toString(),l.angle)),u.writeAttributeString("font-size",i.toString()),u.writeAttributeString("font-family",Q.fontFamily.name),0<(Q.style&se.Bold)&&u.writeAttributeString("font-weight","bold"),0<(Q.style&se.Italic)&&u.writeAttributeString("font-style","italic");let n="";0<(Q.style&se.Underline)&&(n+="underline"),0<(Q.style&se.Strikeout)&&(n+=" line-through"),De.isNullOrEmpty(n)||u.writeAttributeString("text-decoration",n);var Q=l.brush instanceof Fe?l.brush:hi.toColor(l.brush);if(r.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",Q.r,Q.g,Q.b)),255!=Q.a&&r.append(De.format("fill-opacity:{0};",Ne.round2(Q.a/255,3).toString().split(",").join("."))),De.isNullOrEmpty(l.toolTip)&&r.append("pointer-events: none"),u.writeAttributeString("style",r.toString()),this.writeTooltip(u,l.toolTip),u.writeAttributeString("opacity",null==l.animation?"1":"0"),null!=l.animation&&this.addAnimation(u,`[["opacity", 0, 1, ""]]`,l.animation.beginTime,l.animation.duration),0!=l.maximalWidth&&null!=l.maximalWidth){var Z=l.text.length;let a=Z,s=new ls(0,0);for(let t=0;t<Z;t++)if(s=h.measureString(l.text.substring(0,t),l.font),s.width>l.maximalWidth&&0!=t){a=t-1;break}var $=Math.ceil(Z/a);let o=0;switch(l.rotationMode){case ny.LeftCenter:case ny.CenterCenter:case ny.RightCenter:o=-$*s.height/2+s.height/2;break;default:o=0;break}if(0<a){let e=[];var tt=l.text.split(" ");let r=0,i="",n=!1;for(let t=0;t<tt.length;t++){var et=tt[t],rt=De.isNullOrEmpty(i)?et:`${i} ${et}`;De.isNullOrEmpty(i)?i=et:rt.length<=a?i=rt:(n=!0,0!=t&&t--);while(i.length>=a||n){let t=i.substr(0,a);e[r]=t.trim();var it=i.substr(a,i.length-a);i=it,r++,n=!1}t==tt.length-1&&(e[r]=i)}for(let t=0;t<e.length;t++){var nt=e[t];u.writeStartElement("tspan"),u.writeAttributeString("x","0"),0==t?u.writeAttributeString("y",o.toString()):u.writeAttributeString("dy",s.height.toString()),u.writeString(nt),u.writeEndElement()}}}else{var at=null!=l.text?l.text.split("\n"):[];let e=0,r=h.measureString("a",l.font);switch(l.rotationMode){case ny.LeftCenter:case ny.CenterCenter:case ny.RightCenter:e=-at.length*r.height/2+r.height/2;break;default:e=0;break}for(let t=0;t<at.length;t++){var st=at[t];u.writeStartElement("tspan"),u.writeAttributeString("x","0"),0==t?u.writeAttributeString("y",e.toString()):u.writeAttributeString("dy",r.height.toString()),u.writeString(st),u.writeEndElement()}}De.isNullOrEmpty(d)||u.writeEndElement(),u.writeEndElement()}else if(p.is(Cy)){var Q=p.as(Cy),ot;let t="";t=null!=Q.background?this.writeFillBrush(u,Q.background,Q.rect):"fill-opacity:0;",this.checkPenGeom(Q.pen)&&(ot=De.format("{0}",this.writeBorderStroke(u,Q.pen.brush,Q.rect)),t+=De.format("{0}stroke-width:{1};",ot,Q.pen.thickness));var ot=this.getPathData(Q.geoms,this.dx,this.dy,{ref:null},{ref:null});u.writeStartElement("path"),De.isNullOrEmpty(d)||u.writeAttributeString("clip-path",De.format("url(#{0})",d)),u.writeAttributeString("d",ot),u.writeAttributeString("style",t),this.writeInteraction(u,Q.interaction),this.writeTooltip(u,Q.toolTip),u.writeEndElement()}}static addAnimation(t,e,r,i,n=""){var i="{"+De.format('"actions":{0}, "begin":{1}, "duration":{2}',e,Ne.round2(r.totalMilliseconds),Ne.round2(i.totalMilliseconds))+"}";t.writeAttributeString("_animation"+n,i)}static rectToCenterPoint(t){return new kr(t.x+t.width/2,t.y+t.height/2)}static writeInteraction(i,e){var n,n,a,a,e;if(null!=e){null!=e.componentName&&i.writeAttributeString("interaction",e.componentName.toString()),null!=e.pageGuid&&i.writeAttributeString("pageguid",e.pageGuid.toString()),null!=e.componentIndex&&i.writeAttributeString("compindex",e.componentIndex.toString()),null!=e.pageIndex&&i.writeAttributeString("pageindex",e.pageIndex.toString()),null!=e.elementIndex&&i.writeAttributeString("elementindex",e.elementIndex.toString()),null!=e.interactionHyperlink&&i.writeAttributeString("interactionhyperlink",e.interactionHyperlink),null!=e.interactionToolTip&&i.writeAttributeString("interactiontooltip",e.interactionToolTip);let r=null===(n=e.interactionData)||void 0===n?void 0:n.stimulsoft().as(Wy);if(null!=r){var a=null!=r.originalArgument?r.originalArgument:r.argument;let t=null!=a&&tn.isList(a)?null===(n=tn.toList(a))||void 0===n?void 0:n.firstOrDefault():a;i.writeAttributeString("elementargument",null==t?"sti_IsNullValue":t.toString()),null!=r.value&&i.writeAttributeString("elementvalue",r.value.toString());let e=null===(a=r.series)||void 0===a?void 0:a.coreTitle;De.isNullOrEmpty(e)&&(e=null===(a=r.series)||void 0===a?void 0:a.titleValue),De.isNullOrEmpty(e)||i.writeAttributeString("elementseries",e),De.isNullOrEmpty(r.hyperlink)||i.writeAttributeString("interactionhyperlink",r.hyperlink),De.isNullOrEmpty(r.tooltip)||i.writeAttributeString("interactiontooltip",r.tooltip)}let t=null===(e=e.interactionData)||void 0===e?void 0:e.stimulsoft().as(qy);null!=t&&(i.writeAttributeString("elementvalue",null!=t.value?t.value.toString():null),i.writeAttributeString("elementseries",t.seriesText),i.writeAttributeString("elementtarget",null!=t.target?t.target.toString():null))}}static getPathData(t,i,n,e,a,r=null){let s="",o=new Mt;if(a.ref=lt.fromMilliseconds(0),4==t.length&&t[0].is(Py)&&t[2].is(Py)&&null!=r&&r.stimulsoft().is(Uy)){var l=t[0],u=t[2],h;return s+=this.addDoughnutPath(l.rect,u.rect,l.startAngle,l.sweepAngle,r,s,i,n,o,a),e.ref=o,s}for(var c of t)if(c.is(Py)){var d=c.as(Py);s+=this.addArcPath(d,s,i,n)}else if(c.is(xy)){let t=c.as(xy);var m=null!=t.animation?t.animation.stimulsoft().as(Vy):null,p=By.cardinalSpline(t.points,!1),g=null!=m?By.cardinalSpline(m.pointsFrom,!1):null;let e=new Mt;for(let t=1;t<p.length;t+=3)null!=m?(1==t?e.appendFormat("C{0},{1},{2},{3},{4},{5}",(g[t].x+i).toString().split(",").join("."),(g[t].y+n).toString().split(",").join("."),(g[t+1].x+i).toString().split(",").join("."),(g[t+1].y+n).toString().split(",").join("."),(g[t+2].x+i).toString().split(",").join("."),(g[t+2].y+n).toString().split(",").join(".")):e.appendFormat(",{0},{1},{2},{3},{4},{5}",(g[t].x+i).toString().split(",").join("."),(g[t].y+n).toString().split(",").join("."),(g[t+1].x+i).toString().split(",").join("."),(g[t+1].y+n).toString().split(",").join("."),(g[t+2].x+i).toString().split(",").join("."),(g[t+2].y+n+1e-4*t).toString().split(",").join(".")),1==t?o.appendFormat("C{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(g[t].x+i),this.p(p[t].x+i),this.p(g[t].y+n),this.p(p[t].y+n),this.p(g[t+1].x+i),this.p(p[t+1].x+i),this.p(g[t+1].y+n),this.p(p[t+1].y+n),this.p(g[t+2].x+i),this.p(p[t+2].x+i),this.p(g[t+2].y+n),this.p(p[t+2].y+n)):o.appendFormat(",{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(g[t].x+i),this.p(p[t].x+i),this.p(g[t].y+n),this.p(p[t].y+n),this.p(g[t+1].x+i),this.p(p[t+1].x+i),this.p(g[t+1].y+n),this.p(p[t+1].y+n),this.p(g[t+2].x+i),this.p(p[t+2].x+i),this.p(g[t+2].y+n),this.p(p[t+2].y+n+1e-4*t)),a.ref=lt.fromSeconds(1)):1==t?e.appendFormat("C{0},{1},{2},{3},{4},{5}",(p[t].x+i).toString().split(",").join("."),(p[t].y+n).toString().split(",").join("."),(p[t+1].x+i).toString().split(",").join("."),(p[t+1].y+n).toString().split(",").join("."),(p[t+2].x+i).toString().split(",").join("."),(p[t+2].y+n).toString().split(",").join(".")):e.appendFormat(",{0},{1},{2},{3},{4},{5}",(p[t].x+i).toString().split(",").join("."),(p[t].y+n).toString().split(",").join("."),(p[t+1].x+i).toString().split(",").join("."),(p[t+1].y+n).toString().split(",").join("."),(p[t+2].x+i).toString().split(",").join("."),(p[t+2].y+n+1e-4*t).toString().split(",").join("."));s+=e}else if(c.is(Iy)){let t=c.as(Iy);var d=null!=t.animation?t.animation.stimulsoft().as(Vy):null;let e=new Mt;s.stimulsoft().startsWith("M")||(null!=d?(e.appendFormat("M{0},{1}",this.p(d.pointsFrom[0].x+i),this.p(d.pointsFrom[0].y+n)),o.appendFormat("M{0}:{1},{2}:{3}",this.p(d.pointsFrom[0].x+i),this.p(t.x1+i),this.p(d.pointsFrom[0].y+n),this.p(t.y1+n))):e.appendFormat("M{0},{1}",(t.x1+i).toString().split(",").join("."),(t.y1+n).toString().split(",").join("."))),null!=d?(e.appendFormat("L{0},{1}",this.p(d.pointsFrom[1].x+i),this.p(d.pointsFrom[1].y+n)),o.appendFormat("L{0}:{1},{2}:{3}",this.p(d.pointsFrom[1].x+i),this.p(t.x2+i),this.p(d.pointsFrom[1].y+n),this.p(t.y2+n+1e-4)),a.ref=d.duration):e.appendFormat("L{0},{1}",(t.x2+i).toString().split(",").join("."),(t.y2+n+1e-4).toString().split(",").join(".")),s+=e}else if(c.is(Ay)){let e=c.as(Ay);var f=null!=e.animation?e.animation.stimulsoft().as(Vy):null;let r=new Mt;s.stimulsoft().startsWith("M")||(null!=f?(r.appendFormat("M{0},{1}",this.p(f.pointsFrom[0].x+i),this.p(f.pointsFrom[0].y+n)),o.appendFormat("M{0}:{1},{2}:{3}",this.p(f.pointsFrom[0].x+i),this.p(f.pointsFrom[1].x+i),this.p(f.pointsFrom[0].y+n),this.p(f.pointsFrom[1].y+n+1e-4))):r.appendFormat("M{0},{1}",this.p(e.points[0].x+i),this.p(e.points[0].y+n+1e-4)));for(let t=0;t<e.points.length;t++)null!=f?(r.appendFormat("{0}{1},{2}",0==t?"L":",",this.p(f.pointsFrom[t].x+i),this.p(f.pointsFrom[t].y+n)),o.appendFormat("{0}{1}:{2},{3}:{4}",0==t?"L":",",this.p(f.pointsFrom[t].x+i),this.p(e.points[t].x+i),this.p(f.pointsFrom[t].y+n),this.p(e.points[t].y+n)),a.ref=f.duration):r.appendFormat("{0}{1},{2}",0==t?"L":",",this.p(e.points[t].x+i),this.p(e.points[t].y+n+1e-4*t));s+=r}else if(c.is(Ty)){let t=c.as(Ty);t.animation=r,s+=this.addPiePath(t,s,i,n,o,a)}else c.is(Dy);return e.ref=o,s}static addArcPath2(e,r,i,n,t,a,s){let o=new Mt;var l=this.round(Math.abs(t/90)),u=t/l;for(let t=0;t<l;t++){var h=this.convertArcToCubicBezier(e-a,r-s,i,n,u);for(let t=1;t<h.length-1;t+=3)1==t?o.appendFormat("C{0},{1},{2},{3},{4},{5}",this.p(h[1].x+a),this.p(h[1].y+s),this.p(h[2].x+a),this.p(h[2].y+s),this.p(h[3].x+a),this.p(h[3].y+s)):o.appendFormat(",{0},{1},{2},{3},{4},{5}",this.p(h[1].x+a),this.p(h[1].y+s),this.p(h[2].x+a),this.p(h[2].y+s),this.p(h[3].x+a),this.p(h[3].y+s)),n+=u}return o.toString()}static addArcPathCrossElipse(t,e,r,i,n,a,s,o){return this.svgEllipseArc(t,e,r,i,n,a)}static svgEllipseArc(t,e,r,i,n,a,s=0){360==a&&(a=359.999),n=n*Math.PI/180,a=a*Math.PI/180;var o=this.rotateMatrix(s),l=this.vecAdd(this.matricTimes(o,[r*Math.cos(n),i*Math.sin(n)]),[t,e]),t=this.vecAdd(this.matricTimes(o,[r*Math.cos(n+a),i*Math.sin(n+a)]),[t,e]),e=a>Math.PI?1:0,a=0<a?1:0;return"M "+this.p(l[0])+" "+this.p(l[1])+" A "+this.p(r)+" "+i+" "+this.p(s/(2*Math.PI)*360)+" "+this.p(e)+" "+this.p(a)+" "+this.p(t[0])+" "+this.p(t[1])}static matricTimes(t,e){var r=t[0][0],i=t[0][1],n=t[1][0],a=t[1][1],t=e[0],e=e[1];return[r*t+i*e,n*t+a*e]}static rotateMatrix(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}static vecAdd(t,e){return[t[0]+e[0],t[1]+e[1]]}static addArcPath(t,e,r,i){let n=new Mt;var a=t.rect.x+r+t.rect.width/2,s=t.rect.y+i+t.rect.height/2,o=t.rect.width/2,l=t.rect.height/2,u=null!=t.realStartAngle?t.realStartAngle:t.startAngle,h=null!=t.realStartAngle?t.realSweepAngle:t.sweepAngle,c=t.startAngle*Math.PI/180,d=a+o*Math.cos(c),c=s+l*Math.sin(c);return e.startsWith("M")&&t.sweepAngle%360!=0||n.appendFormat("M{0},{1}",this.p(d),this.p(c)),t.crossElipseDraw?n.append(this.addArcPathCrossElipse(a,s,o,l,u,h,r,i)):n.append(this.addArcPath2(a,s,o,t.startAngle,t.sweepAngle,r,i)),n.toString()}static addPiePath(t,e,r,i,n,a){var s;let o=new Mt;var l=null===(s=t.animation)||void 0===s?void 0:s.stimulsoft().as(Uy),u=t.rect.x+r+t.rect.width/2,h=t.rect.y+i+t.rect.height/2,c=null==l?t.rect.width/2:l.rectFrom.width/2,d=null==l?t.rect.height/2:l.rectFrom.height/2;let m=null==l?t.startAngle:l.startAngleFrom,p=null==l?t.sweepAngle:l.endAngleFrom-l.startAngleFrom;null!=t.realStartAngle&&(m=t.realStartAngle),null!=t.realSweepAngle&&(p=t.realSweepAngle);var g=m*Math.PI/180,s=u+c*Math.cos(g),g=h+d*Math.sin(g);return o.appendFormat("M{0},{1}",this.p(u),this.p(h)),o.appendFormat("L{0},{1}",this.p(s),this.p(g)),t.crossElipseDraw?o.append(this.addArcPathCrossElipse(u,h,c,d,m,p,r,i)):o.append(this.addArcPath2(u,h,c,m,p,r,i)),o.appendFormat("L{0},{1}",this.p(u),this.p(h)),null!=l?(a.ref=l.duration,n.append(Qt.toBase64String(Ot.UTF8.getBytes(`{"startAngle": ${this.p(t.startAngle)}, `+`"startAngleFrom": ${this.p(l.startAngleFrom)}, `+`"sweepAngle": ${this.p(t.sweepAngle)}, `+`"sweepAngleFrom": ${this.p(p)}, `+`"radiusFrom": ${this.p(c)}, `+`"x": ${this.p(t.rect.x)}, `+`"y": ${this.p(t.rect.y)}, `+`"width": ${this.p(t.rect.width)}, `+`"height": ${this.p(t.rect.height)}, `+`"dx": ${this.p(r)}, `+`"dy": ${this.p(i)}}`)))):a.ref=lt.fromSeconds(1),o.toString()}static addDoughnutPath(t,e,r,i,n,a,s,o,l,u){let h=new Mt;var c=t.x+s+t.width/2,d=t.y+o+t.height/2,m=null==n?t.width/2:n.rectFrom.width/2,p=null==n?e.width/2:n.rectDtFrom.width/2,g=null==n?r:n.startAngleFrom,f=null==n?i:n.endAngleFrom-n.startAngleFrom,S=null==n?r+i:n.endAngleFrom,b=g*Math.PI/180,y=(g+f)*Math.PI/180,v=c+m*Math.cos(b),w=d+m*Math.sin(b),C=c+p*Math.cos(b),T=d+p*Math.sin(b),b=c+p*Math.cos(y),y=d+p*Math.sin(y);return h.appendFormat("M{0},{1}",this.p(C),this.p(T)),h.appendFormat("L{0},{1}",this.p(v),this.p(w)),h.append(this.addArcPath2(c,d,m,g,f,s,o)),h.appendFormat("L{0},{1}",this.p(b),this.p(y)),h.append(this.addArcPath2(c,d,p,S,-f,s,o)),null!=n?(u.ref=n.duration,l.append(Qt.toBase64String(Ot.UTF8.getBytes(`{"startAngle": ${this.p(r)}, `+`"startAngleFrom": ${this.p(n.startAngleFrom)}, `+`"sweepAngle": ${this.p(i)}, `+`"sweepAngleFrom": ${this.p(f)}, `+`"radiusFrom": ${this.p(m)}, `+`"radiusDtFrom": ${this.p(p)}, `+`"x": ${this.p(t.x)}, `+`"y": ${this.p(t.y)}, `+`"width": ${this.p(t.width)}, `+`"widthDt": ${this.p(e.width)}, `+`"height": ${this.p(t.height)}, `+`"dx": ${this.p(s)}, `+`"dy": ${this.p(o)}}`)))):u.ref=lt.fromSeconds(1),h.toString()}static round(t){var e=Ne.round2(t),r;return 0<t-e?e+1:e}static correctRectLabel(t,e){switch(t){case ny.LeftCenter:return new Tr(e.x+e.width/2,e.y,e.width,e.height);case ny.LeftBottom:return new Tr(e.x+e.width/2,e.y-e.height/2,e.width,e.height);case ny.LeftTop:return new Tr(e.x+e.width/2,e.y+e.height/2,e.width,e.height);case ny.CenterTop:return new Tr(e.x,e.y+e.height/2,e.width,e.height);case ny.CenterCenter:return e;case ny.CenterBottom:return new Tr(e.x,e.y-e.height/2,e.width,e.height);case ny.RightTop:return new Tr(e.x-e.width/2,e.y+e.height/2,e.width,e.height);case ny.RightCenter:return new Tr(e.x-e.width/2,e.y,e.width,e.height);case ny.RightBottom:return new Tr(e.x-e.width/2,e.y-e.height/2,e.width,e.height);default:return e}}static convertArcToCubicBezier(t,e,r,i,n){var a=i*Math.PI/180,s=n*Math.PI/180,o=(i+n)*Math.PI/180,l=t+r*Math.cos(a),u=e+r*Math.sin(a),h=t+r*Math.cos(o),c=e+r*Math.sin(o),d=4*r/3*Math.tan(.25*s),i=Math.atan(d/r),n=r/Math.cos(i);i+=a;var s=t+n*Math.cos(i),a=e+n*Math.sin(i),i=Math.atan(-d/r);i+=o;var t=t+n*Math.cos(i),i=e+n*Math.sin(i);return[new kr(l,u),new kr(s,a),new kr(t,i),new kr(h,c)]}static writeTooltip(n,a){if(De.isNullOrEmpty(a))return;if(Ae.d.StiJsonChecker.isValidJson(a)){var s=JSON.parse(a);let e=s["StiColor"],t=s["StiValue"],r=s["StiArgument"],i=s["StiWeight"];if(null!=i?(n.writeAttributeString("_text1",t.toString()),n.writeAttributeString("_text2",`${nn.get("PropertyMain","Argument")}: ${r.toString()}`),n.writeAttributeString("_text3",`${nn.get("PropertyMain","Weight")}: ${i.toString()}`)):(null!=t&&n.writeAttributeString("_text1",t.toString()),null!=r&&n.writeAttributeString("_text2",r.toString())),null!=e){let t=Ae.bn.ColorTranslator.fromHtml(e.toString());t.a=255,n.writeAttributeString("_color",Ae.bn.ColorTranslator.toHtml(t))}n.writeAttributeString("_ismap","true")}else n.writeStartElement("title"),n.writeString(a),n.writeEndElement()}static getFillBrush(e,r,i){if(!r||null==r)return"none";if(r instanceof Fe){var t=r;return De.format("rgba({0},{1},{2},{3})",t.r,t.g,t.b,Ne.round2(t.a/255,3))}if(r.is(ni)||r.is(ri)||r.is(ai)||r.is(ii)){let t=i.clone();t.x+=this.dx,t.y+=this.dy;var e=this.writeBrush(e,r,t);return De.format("url(#{0})",e)}if(r.is(hi)||r.is(vr)){var r=r.is(vr)?r.color:hi.toColor(r);return De.format("rgba({0},{1},{2},{3})",r.r,r.g,r.b,Ne.round2(r.a/255,3))}return"none"}static writeFillBrush(t,e,r,i=0,n=0){let a=r.clone();return a.x+=i,a.y+=n,"fill:"+this.getFillBrush(t,e,a)+";"}static writeFillBrushMouserOver(t,e,r,i){t.writeAttributeString("_brushOver",this.getFillBrush(t,r,i))}static writeBorderStroke(t,e,r){if(e instanceof Fe){var i=e;let t=De.format("stroke:rgb({0},{1},{2});",i.r,i.g,i.b);var i=Ne.round2(i.a/255,3);return 1!=i&&(t+=De.format("stroke-opacity:{0};",i)),t}if(e.is(ni)){var r=this.writeBrush(t,e,r);return De.format("stroke:url(#{0})",r)}if(e.is(hi)){var e=hi.toColor(e.stimulsoft().as(hi));let t=De.format("stroke:rgb({0},{1},{2})",e.r,e.g,e.b);var e=Ne.round2(e.a/255,3);return 1!=e&&(t+=De.format(";stroke-opacity:{0}",e)),t}return"stroke-opacity:0"}static convertSplineToCubicBezier(e,r){var i=e.length,t=3*i-2;let n=[];r*=.3,n[0]=e[0],n[1]=this.calculateCurveBezierEndPoints(e[0],e[1],r);for(let t=0;t<i-2;t++){var a=this.calculateCurveBezier(e,t,r);n[3*t+2]=a[0],n[3*t+3]=e[t+1],n[3*t+4]=a[1]}return n[t-2]=this.calculateCurveBezierEndPoints(e[i-1],e[i-2],r),n[t-1]=e[i-1],n}static calculateCurveBezier(t,e,r){var i=t[e+2].x-t[e+0].x,n=t[e+2].y-t[e+0].y;let a=[];return a[0]=new kr(t[e+1].x-r*i,t[e+1].y-r*n),a[1]=new kr(t[e+1].x+r*i,t[e+1].y+r*n),a}static calculateCurveBezierEndPoints(t,e,r){return new kr(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)}static writeBrush(t,e,r){let i="";return e.is(ri)?i=Ae.ax.StiBrushSvgHelper.writeGlareBrush(t,e,r):e.is(ni)?i=Ae.ax.StiBrushSvgHelper.writeGradientBrush(t,e,r):e.is(ai)?i=Ae.ax.StiBrushSvgHelper.writeHatchBrush(t,e):e.is(ii)&&(i=Ae.ax.StiBrushSvgHelper.writeGlassBrush(t,e,r)),i}static checkPenGeom(t){return!(null==t||null==t.brush||t.penStyle==Jr.None)}static p(t){return t.toString().split(",").join(".")}static writeStimulsoftIconFont(){if(!r.isAddStimulsoftIconFont){r.isAddStimulsoftIconFont=!0;let t=document.createElement("style");var e=Ae.aG.StimulsoftFont.getBase64Content();t.appendChild(document.createTextNode("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+e+") format('truetype');font-weight: normal;font-style: normal;}")),document.head.appendChild(t)}}};r.isAddStimulsoftIconFont=!1,r.dx=0,r.dy=0,r.listTransformGeom=[],Ae.aX.StiContextSvgHelper=r}Ae.af.StiContext=class{constructor(t,e,r,i,n){this.geoms=[],this.contextPainter=t,this.options=new Ae.af.StiContextOptions(e,r,i,n),this.animations=new Ee}render(t){this.contextPainter.render(t,this.geoms)}getDefaultStringFormat(){return this.contextPainter.getDefaultStringFormat()}getGenericStringFormat(){return this.contextPainter.getGenericStringFormat()}drawImage(t,e){this.geoms.push(new Ae.af.StiImageGeom(e,t))}drawString3(t,e,r,i,n,a){var a=new Ae.af.StiTextGeom(t,e,r,i,n,0,!1,null,null,!1,a);return this.geoms.push(a),a}drawString2(t,e,r,i,n){var n=new Ae.af.StiTextGeom(t,e,r,i,n,0,!1,null,null,!1,null);return this.geoms.push(n),n}drawString(t,e,r,i,n){var n=new Ae.af.StiTextGeom(t,e,r,i,n,0,!1,null,null,!1,null);return this.geoms.push(n),n}drawRotatedString2(t,e,r,i,n,a,s){var s=new Ae.af.StiTextGeom(t,e,r,new Tr(i.x,i.y,i.width,i.height),n,a,s,null,null,!0,null);return this.geoms.push(s),s}drawRotatedString3(t,e,r,i,n,a,s){var s=new Ae.af.StiTextGeom(t,e,r,i,n,a,s,null,null,!0,null);return this.geoms.push(s),s}drawRotatedString4(t,e,r,i,n,a,s,o){var a=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,null,a,!0,null);return this.geoms.push(a),a}drawRotatedString5(t,e,r,i,n,a,s,o){var a=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,null,a,!0,null);return this.geoms.push(a),a}drawRotatedString6(t,e,r,i,n,a,s,o,l,u=!0){var u=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,l,a,u,null);return this.geoms.push(u),u}drawRotatedString7(t,e,r,i,n,a,s,o,l){var a=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,l,a,!0,null);return this.geoms.push(a),a}drawRotatedString8(t,e,r,i,n,a,s,o){var a=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,null,a,!0,null);return this.geoms.push(a),a}drawRotatedString9(t,e,r,i,n,a,s,o,l){var a=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,l,a,!0,null);return this.geoms.push(a),a}measureString(t,e){return this.contextPainter.measureString(t,e)}measureString2(t,e,r,i){return this.contextPainter.measureString(t,e,r,i)}measureRotatedString(t,e,r,i,n){return this.contextPainter.measureRotatedString1(t,e,r,i,n)}measureRotatedString2(t,e,r,i,n,a,s=null){return this.contextPainter.measureRotatedString2(t,e,r,i,n,a,s)}measureRotatedString3(t,e,r,i,n,a,s){return this.contextPainter.measureRotatedString3(t,e,r,i,n,a,s)}measureRotatedString4(t,e,r,i,n,a){return this.contextPainter.measureRotatedString4(t,e,r,i,n,a)}drawShadow(t,e,r){this.geoms.push(new Ae.af.StiShadowGeom(t,e,r))}drawCachedShadow(t,e,r,i=t.clone()){this.geoms.push(new Ae.af.StiCachedShadowGeom(t,e,r,i))}createShadowGraphics(){return this.contextPainter.createShadowGraphics(this.options.isPrinting,this.options.zoom)}pushTranslateTransform(t,e){this.geoms.push(new Ae.af.StiPushTranslateTransformGeom(t,e))}pushRotateTransform(t){this.geoms.push(new Ae.af.StiPushRotateTransformGeom(t))}popTransform(){this.geoms.push(new Ae.af.StiPopTransformGeom)}pushClipPath(t){this.geoms.push(new Ae.af.StiPushClipPathGeom(t))}pushClip(t){this.geoms.push(new Ae.af.StiPushClipGeom(t))}popClip(){this.geoms.push(new Ae.af.StiPopClipGeom)}drawAnimationText(t,e,r,i,n,a,s,o,l,u){this.animations.add(u);var u=new Ae.af.StiTextGeom(t,e,r,i,n,s,o,l,a,!0,null,u);return this.geoms.push(u),u}drawAnimationColumn(t,e,r,i,n,a,s,o){this.animations.push(s),this.geoms.push(new Ae.af.StiClusteredColumnSeriesAnimationGeom(t,e,r,i,n,a,s,o))}drawAnimationBar(t,e,r,i,n,a,s,o){this.animations.push(s),this.geoms.push(new Ae.af.StiClusteredBarSeriesAnimationGeom(t,e,r,i,n,a,s,o))}drawAnimationRectangle(t,e,r,i,n,a,s){this.animations.push(n),this.geoms.push(new Ae.af.StiBorderAnimationGeom(t,e,r,i,n,a,s))}drawAnimationPathElement(t,e,r,i,n,a,s,o){this.animations.push(s),this.geoms.push(new Ae.af.StiPathElementAnimationGeom(t,e,r,i,n,a,s,o))}drawAnimationLabel(t,e,r,i,n,a,s,o,l,u,h){this.geoms.push(new Ae.af.StiLabelAnimationGeom(t,e,r,i,n,a,s,o,l,u,h))}drawAnimationLines(t,e,r){this.animations.push(r),this.geoms.push(new Ae.af.StiLinesAnimationGeom(t,e,r))}drawAnimationCurve(t,e,r,i){this.animations.push(i),this.geoms.push(new Ae.af.StiCurveAnimationGeom(t,e,r,i))}fillDrawAnimationPath(t,e,r,i,n,a,s){this.animations.push(a),this.geoms.push(new Ae.af.StiPathAnimationGeom(t,e,r,i,n,a,s))}fillDrawAnimationEllipse(t,e,r,i,n,a,s,o,l,u){this.geoms.push(new Ae.af.StiEllipseAnimationGeom(t,e,new Tr(r,i,n,a),s,o,l,u))}drawLine(t,e,r,i,n){this.geoms.push(new Ae.af.StiLineGeom(t,e,r,i,n))}drawLines(t,r){for(let e=0;e<r.length;e++){let t=r[e];isNaN(t.x)&&(t.x=0),isNaN(t.y)&&(t.y=0),r[e]=t}this.geoms.push(new Ae.af.StiLinesGeom(t,r))}drawRectangle(t,e){this.geoms.push(new Ae.af.StiBorderGeom(null,null,t,e,null))}drawRectangle2(t,e,r,i,n){this.geoms.push(new Ae.af.StiBorderGeom(null,null,t,new Tr(e,r,i,n),null))}drawEllipse(t,e,r,i,n){this.geoms.push(new Ae.af.StiEllipseGeom(null,t,new Tr(e,r,i,n),null,null))}drawEllipse2(t,e){this.geoms.push(new Ae.af.StiEllipseGeom(null,t,e,null,null))}fillEllipse(t,e,r,i,n,a){this.geoms.push(new Ae.af.StiEllipseGeom(t,null,new Tr(e,r,i,n),a,null))}fillEllipse2(t,e,r){this.geoms.push(new Ae.af.StiEllipseGeom(t,null,e,r,null))}fillEllipse3(t,e,r,i,n,a,s){this.geoms.push(new Ae.af.StiEllipseGeom(t,null,new Tr(e,r,i,n),s,a))}drawPath(t,e,r){this.geoms.push(new Ae.af.StiPathGeom(null,t,e,r,null,null))}fillPath(t,e,r,i){this.geoms.push(new Ae.af.StiPathGeom(t,null,e,r,i,null))}fillPath2(t,e,r,i,n){this.geoms.push(new Ae.af.StiPathGeom(t,null,e,r,i,n))}drawCurve(t,e,r){this.geoms.push(new Ae.af.StiCurveGeom(t,e,r))}fillRectangle(t,e,r){this.geoms.push(new Ae.af.StiBorderGeom(t,null,null,e,r))}fillRectangle2(t,e,r,i,n,a){this.geoms.push(new Ae.af.StiBorderGeom(t,null,null,new Tr(e,r,i,n),a))}fillRectangle3(t,e,r,i){this.geoms.push(new Ae.af.StiBorderGeom(t,e,null,r,i))}pushSmoothingModeToAntiAlias(){this.geoms.push(new Ae.af.StiPushSmothingModeToAntiAliasGeom)}popSmoothingMode(){this.geoms.push(new Ae.af.StiPopSmothingModeGeom)}pushTextRenderingHintToAntiAlias(){this.geoms.push(new Ae.af.StiPushTextRenderingHintToAntiAliasGeom)}popTextRenderingHint(){this.geoms.push(new Ae.af.StiPopTextRenderingHintGeom)}getPathBounds(t){return this.contextPainter.getPathBounds(t)}drawShadowRect(t,e,r){this.geoms.push(new Ae.af.StiShadowAnimationGeom(t,0,0,e,r))}drawShadowRect2(t,e,r,i,n){this.geoms.push(new Ae.af.StiShadowAnimationGeom(t,e,r,i,n))}},Ae.af.StiContextPainter=class{get svgRect(){return null==this._svgRect&&(this.svgObj=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svgObj.setAttribute("xlink","http://www.w3.org/1999/xlink"),this._svgRect=document.createElementNS("http://www.w3.org/2000/svg","rect"),this.svgObj.appendChild(this._svgRect),this.svgObj.style.visibility="hidden",document.body.appendChild(this.svgObj)),this._svgRect}getDefaultStringFormat(){var t=new Mr;return new Ae.af.StiStringFormatGeom(t)}getGenericStringFormat(){var t=new Mr;return new Ae.af.StiStringFormatGeom(t)}createShadowGraphics(t,e){return new Ae.af.StiContext(this,!1,!1,!1,1)}getPathBounds(t){let n=[],a=[];for(var s of t){if(s.is(Ae.af.StiArcSegmentGeom)){var o=s;n.push(o.rect.left),n.push(o.rect.right),a.push(o.rect.top),a.push(o.rect.bottom)}else if(!s.is2(Ae.af.StiCloseFigureSegmentGeom))if(s.is(Ae.af.StiCurveSegmentGeom)){var l,u;for(u of s.points)n.push(u.x),a.push(u.y)}else if(s.is(Ae.af.StiLineSegmentGeom)){var o=s;n.push(o.x1),n.push(o.x2),a.push(o.y1),a.push(o.y2)}else if(s.is(Ae.af.StiLinesSegmentGeom)){var h,c;for(c of s.points)n.push(c.x),a.push(c.y)}else{var s;s.is(Ae.af.StiPieSegmentGeom)&&(s=s,n.push(s.rect.left),n.push(s.rect.right),a.push(s.rect.top),a.push(s.rect.bottom))}let t=null,e=null,r=null,i=null;for(var d of n)t=null==t?d:Math.min(t,d),e=null==e?d:Math.max(e,d);for(var m of a)r=null==r?m:Math.min(r,m),i=null==i?m:Math.max(i,m);return new Tr(t,r,e-t,i-r)}return Tr.empty}measureString(t,e,r=null,i=null){var r=Rr.measureString(t,new Ar(e.fontName,e.fontSize,e.fontStyle,e.unit),r);return new Fr(r.width,r.height)}measureRotatedString1(t,e,r,i,n){var n=Rr.measureString(t,new Ar(e.fontName,e.fontSize,e.fontStyle,e.unit),r.width,!0,1,n);return new Tr(r.x,r.y,n.width,n.height)}measureRotatedString2(t,e,r,i,n,a,s=null){var r=new kr(r.x+r.width/2,r.y+r.height/2);return this.measureRotatedString3(t,e,r,i,n,a,s)}measureRotatedString3(e,r,i,t,n,a,s){var o=new Ar(r.fontName,r.fontSize,r.fontStyle,r.unit);0==s&&(s=null);var r=(e=(e=(e=null==e?"":e).replace(/\r\n/gi,"\n")).replace(/\r/gi,"\n")).split(new RegExp("\n"));if(Ae.b.NodeJs.isNodeJs()||0==a||r.length<2){var r=Rr.measureString(e,o,s,!0,1,a);let t=new Tr(0,0,r.width,r.height);var r=this.getStartPoint(n,t);return t.x-=r.x,t.y-=r.y,new Tr(t.x+i.x-1,t.y+i.y-1,t.width+1,t.height+1)}{var s=this.getTextSize(e,o,new Tr(0,0,s,0),null!=s&&0<s,a);let t=new Tr(0,0,s.width,s.height);var n=this.getStartPoint(n,t);t.x-=n.x,t.y-=n.y,0==t.x&&(t.x=1e-6),0==t.y&&(t.y=1e-6),0==t.width&&(t.width=1e-6),0==t.height&&(t.height=1e-6),this.svgRect.setAttribute("x",t.x),this.svgRect.setAttribute("y",t.y),this.svgRect.setAttribute("width",t.width),this.svgRect.setAttribute("height",t.height),this.svgRect.setAttribute("transform",De.format("translate({0}, {1}) rotate({2})",i.x,i.y,a));var i=this.svgRect.getBoundingClientRect(),a=this.svgObj.getBoundingClientRect();return document.body.removeChild(this.svgObj),this.svgObj=null,this._svgRect=null,new Tr(i.left-a.left,i.top-a.top,i.width+1,i.height+1)}}getTextSize(t,e,r,i,n){var a,s=[],o={ref:t},l={ref:a=[]},u={ref:s};Ko.getTextLinesAndWidths(null,o,e,r,1,i,!1,1,n,Or.Character,!1,l,u),t=o.ref,a=l.ref,s=u.ref;let h=new Fr(0,0);for(let t=0;t<s.length;t++){var c=s[t];h.width=Math.max(h.width,c.width),h.height+=c.lineHeight}return h}measureRotatedString4(t,e,r,i,n,a){var a=Rr.measureString(t,new Ar(e.fontName,e.fontSize,e.fontStyle,e.unit),null,!0,1,a);return new Tr(r.x,r.y,a.width,a.height)}getStartPoint(t,e){var r=new kr(e.x+e.width/2,e.y+e.height/2);switch(t){case ny.LeftCenter:return new kr(e.x,r.y);case ny.LeftBottom:return new kr(e.x,e.bottom);case ny.CenterTop:return new kr(r.x,e.top);case ny.CenterCenter:return r;case ny.CenterBottom:return new kr(r.x,e.bottom);case ny.RightTop:return new kr(e.right,e.top);case ny.RightCenter:return new kr(e.right,r.y);case ny.RightBottom:return new kr(e.right,e.bottom);default:return e.location}}render(t,e){}};let zy=Ae.af.StiContext,Xy=Ae.af.StiContextPainter,Jy=Ae.ap.StiImageRotation,Yy=Ae.aX.StiContextSvgHelper;{let n=class{static getImage(e){let t=new ie,r=new Fg(Ot.UTF8);var i=e.component.as(Eo);if(null!=i&&null!=i.brush){let t=new Mt;t.append(Yy.writeFillBrush(r,i.brush,new os(0,0,e.width,e.height))),r.writeStartElement("rect"),r.writeAttributeString("x",e.x.toString().split(",").join(".")),r.writeAttributeString("y",e.y.toString().split(",").join(".")),r.writeAttributeString("height",e.height.toString().split(",").join(".")),r.writeAttributeString("width",e.width.toString().split(",").join(".")),r.writeAttributeString("style",t.toString()),r.writeEndElement()}n.writeChart(r,e,1,!1),r.flush();var e=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,r.textWriter.getStringBuilder().toString());return t.bytes=Ot.UTF8.getBytes(e),t}static writeChart(t,e,r,i){let n=e.component.as(Eo);if(0==n.series.count)return void this.writeEmptyDataMessage(t,e);var a=new Xy,r=new zy(a,!0,!1,!1,r);n.isAnimation=i;let s=e.width,o=e.height;n.rotation!=Jy.Rotate90CCW&&n.rotation!=Jy.Rotate90CW||(s=e.height,o=e.width);let l=n.core.render(r,new os(0,0,s,o),!0);l.drawGeom(r),n.previousAnimations=r.animations,t.writeStartElement("g");let u=e.x+.5,h=e.y+.5,c="";switch(n.rotation){case Jy.Rotate90CW:c=" rotate(90)",u+=o;break;case Jy.Rotate90CCW:c=" rotate(-90)",h+=s;break;case Jy.Rotate180:c=" rotate(180)",h+=o,u+=s;break;case Jy.FlipHorizontal:c=" scale(-1, 1)",u+=s;break;case Jy.FlipVertical:c=" scale(1, -1)",h+=o;break}t.writeAttributeString("transform",De.format("translate({0},{1}){2}",u,h,c)),Yy.writeGeoms(t,r,i),t.writeEndElement()}static writeEmptyDataMessage(t,e){50<e.width&&(t.writeStartElement("image"),t.writeAttributeString("x",(e.width/2-16).toString()),t.writeAttributeString("y",(e.height/2-16).toString()),t.writeAttributeString("width","32"),t.writeAttributeString("height","32"),t.writeStartAttribute(null,"href",null),t.writeString(this.getEmptyDataImage()),t.writeRaw("\r\n"),t.writeEndAttribute(),t.writeEndElement());var r=new Ar("Arial",8),i=nn.get("PropertyMain","NoElements"),r=this.measureTextWidth(i,r);e.width>r+30&&(t.writeStartElement("text"),t.writeAttributeString("x",(e.width/2-r/2).toString()),t.writeAttributeString("y",(e.height/2+30).toString()),t.writeAttributeString("style","font-size:8pt; font-family:'Arial'; fill: #a9a9a9;"),t.writeRaw(i),t.writeEndElement())}static getEmptyDataImage(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALVJREFUeNrs20sKgCAUBVCNNuT+F+GSLIImQmQghXnuMELq8PygGEspYeYsYfIAmB1grR/knI9BIaUUWxrY3//0B/bvVAEAAAAA0G0W6JQny8uoAgAAAADgZ7PAMDOHLgAAAAAAAAAAAGApPGZK67b81Tb/LcB5TvD2Gl0XAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANA3sb429/AobLjUZ4QqwMVJgyAAAAAAzJtNgAEAND4d7Jk4VWsAAAAASUVORK5CYII="}static measureTextWidth(t,e){var r;return Rr.measureString(t,e,1e6).width}};Ae.ax.StiChartSvgHelper=n}Ae.aI.StiGaugeGeom=class{get type(){return null}},Ae.aI.StiPieGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n,a){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i,this.startAngle=n,this.sweepAngle=a}get type(){return Ae.aE.StiGaugeGeomType.Pie}},Ae.aI.StiEllipseGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i}get type(){return Ae.aE.StiGaugeGeomType.Ellipse}},Ae.aI.StiGraphicsArcGeometryGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n,a,s,o){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i,this.startAngle=n,this.sweepAngle=a,this.startWidth=s,this.endWidth=o}get type(){return Ae.aE.StiGaugeGeomType.GraphicsArcGeometry}},Ae.aI.StiPopTranformGaugeGeom=class extends Ae.aI.StiGaugeGeom{get type(){return Ae.aE.StiGaugeGeomType.PopTranform}},Ae.aI.StiPushMatrixGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e){super(),this.angle=t,this.centerPoint=e}get type(){return Ae.aE.StiGaugeGeomType.PushMatrix}},Ae.aI.StiRadialRangeGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n,a,s,o,l,u,h){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i,this.centerPoint=n,this.startAngle=a,this.sweepAngle=s,this.radius1=o,this.radius2=l,this.radius3=u,this.radius4=h}get type(){return Ae.aE.StiGaugeGeomType.RadialRange}},Ae.aI.StiRectangleGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i}get type(){return Ae.aE.StiGaugeGeomType.Rectangle}},Ae.aI.StiRoundedRectangleGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n,a,s,o){super(),this.rect=t,this.background=e,this.borderBrush=r,this.borderWidth=i,this.leftTop=n,this.rightTop=a,this.rightBottom=s,this.leftBottom=o}get type(){return Ae.aE.StiGaugeGeomType.RoundedRectangle}},Ae.aI.StiTextGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n){super(),this.text=t,this.font=e,this.foreground=r,this.rect=i,null==n&&((n=new Mr).alignment=Lr.Center,n.lineAlignment=Lr.Center,n.formatFlags=Nr.NoWrap),this.stringFormat=n}get type(){return Ae.aE.StiGaugeGeomType.Text}};let Qy=Ae.aI.StiPieGaugeGeom,Ky=Ae.aI.StiEllipseGaugeGeom,Zy=Ae.aI.StiGraphicsArcGeometryGaugeGeom,$y=Ae.aI.StiPopTranformGaugeGeom,tv=Ae.aI.StiPushMatrixGaugeGeom,ev=Ae.aI.StiRadialRangeGaugeGeom,rv=Ae.aI.StiRectangleGaugeGeom,iv=Ae.aI.StiRoundedRectangleGaugeGeom,nv=Ae.aI.StiTextGaugeGeom;Ae.aF.StiGaugeContextPainter=class{constructor(t,e,r){this.geoms=[],this.gauge=t,this.rect=e,this.zoom=r,this.animations=new Ee}static changeFontSize(t,e){let r=t.size*e;return r<1&&(r=1),new Ar(t.fontFamily.name,r,t.style,t.unit)}measureString(t,e){return Rr.measureString(t,e)}addPieGaugeGeom(t,e,r,i,n,a){0<t.width&&0<t.height&&this.geoms.push(new Qy(t,e,r,i,n,a))}addEllipseGaugeGeom(t,e,r,i){0<t.width&&0<t.height&&this.geoms.push(new Ky(t,e,r,i))}addGraphicsArcGeometryGaugeGeom(t,e,r,i,n,a,s,o){0<t.width&&0<t.height&&this.geoms.push(new Zy(t,e,r,i,n,a,s,o))}addPopTranformGaugeGeom(){this.geoms.push(new $y)}addPushMatrixGaugeGeom(t,e){this.geoms.push(new tv(t,e))}addRadialRangeGaugeGeom(t,e,r,i,n,a,s,o,l,u,h){0<t.width&&0<t.height&&this.geoms.push(new ev(t,e,r,i,n,a,s,o,l,u,h))}addRectangleGaugeGeom(t,e,r,i){0<t.width&&0<t.height&&this.geoms.push(new rv(t,e,r,i))}addRoundedRectangleGaugeGeom(t,e,r,i,n,a,s,o){0<t.width&&0<t.height&&this.geoms.push(new iv(t,e,r,i,n,a,s,o))}addTextGaugeGeom(t,e,r,i,n){0<i.width&&0<i.height&&this.geoms.push(new nv(t,e,r,i,n))}addGraphicsPathGaugeGeom(t){0<t.rect.width&&0<t.rect.height&&(this.animations.push(t.animation),this.geoms.push(t))}render(){}},Ae.ai.StiScaleAnimation=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n,a,s,o){super(s,o),this.type=Ae.d.StiAnimationType.Scale,this.centerX=n,this.centerY=a,this.startScaleX=t,this.startScaleY=r,this.endScaleX=e,this.endScaleY=i}};{let i=class extends Ae.ai.StiAnimation{constructor(t,e,r,i,n){super(i,n),this.type=Ae.d.StiAnimationType.Rotation,this.startAngle=t,this.endAngle=e,this.centerPoint=r}static getPreviousAnimation(t,e){var r;return null!=e?t.where(t=>t instanceof i).cast().firstOrDefault(t=>e.stimulsoft().equals(t.id)):null}applyPreviousAnimation(t){var t=i.getPreviousAnimation(t,this.id);null!=t&&(this.endAngle=t.startAngle,this.duration=lt.fromMilliseconds(300))}};Ae.ai.StiRotationAnimation=i}{let i=class extends Ae.ai.StiAnimation{constructor(t,e,r,i){super(r,i),this.type=Ae.d.StiAnimationType.Translation,this.startPoint=t,this.endPoint=e}static getPreviousAnimation(t,e){var r;return null!=e?t.where(t=>t instanceof i).cast().firstOrDefault(t=>e.stimulsoft().equals(t.id)):null}applyPreviousAnimation(t){var t=i.getPreviousAnimation(t,this.id);null!=t&&(this.startPoint=t.endPoint,this.duration=lt.fromMilliseconds(300))}};Ae.ai.StiTranslationAnimation=i}Ae.aI.StiGraphicsPathArcGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n,a){super(),this.x=t,this.y=e,this.width=r,this.height=i,this.startAngle=n,this.sweepAngle=a}get type(){return Ae.aE.StiGaugeGeomType.GraphicsPathArc}},(yt=$b=Ae.aE.StiGaugeGeomType||(Ae.aE.StiGaugeGeomType={}))[yt["GraphicsPath"]=0]="GraphicsPath",yt[yt["GraphicsPathArc"]=1]="GraphicsPathArc",yt[yt["GraphicsPathCloseFigure"]=2]="GraphicsPathCloseFigure",yt[yt["RoundedRectangle"]=3]="RoundedRectangle",yt[yt["Rectangle"]=4]="Rectangle",yt[yt["Pie"]=5]="Pie",yt[yt["Ellipse"]=6]="Ellipse",yt[yt["GraphicsArcGeometry"]=7]="GraphicsArcGeometry",yt[yt["PushMatrix"]=8]="PushMatrix",yt[yt["PopTranform"]=9]="PopTranform",yt[yt["GraphicsPathLines"]=10]="GraphicsPathLines",yt[yt["GraphicsPathLine"]=11]="GraphicsPathLine",yt[yt["Text"]=12]="Text",yt[yt["RadialRange"]=13]="RadialRange";let av=Ae.ai.StiScaleAnimation,sv=Ae.ai.StiRotationAnimation,ov=Ae.ai.StiTranslationAnimation,lv=Ae.aI.StiGraphicsPathArcGaugeGeom,uv=Ae.aE.StiGaugeGeomType,hv=Ae.aF.StiGaugeContextPainter;{let i=class{static getImage(t){let e=new ie,r=new Fg(Ot.UTF8);i.writeGauge(r,t,1,!1),r.flush();var t=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,r.textWriter.getStringBuilder().toString());return e.bytes=Ot.UTF8.getBytes(t),e}static writeGauge(c,t,e=1,r=!1,i=!1,n=!1){let a=t.component;var s=a.isAnimation,d;a.isAnimation=r,a.isDesigning&&a.prepareInit();let o=new hv(a,new Tr(0,0,t.width,t.height),e);if(o.gauge=a,o.rect=new Tr(t.x,t.y,t.width,t.height),o.zoom=e,o.geoms.stimulsoft().clear(),a.drawGauge(o),a.previousAnimations=o.animations,i)for(let e=o.geoms.length-1;0<=e;e--){let t=o.geoms[e];(t.stimulsoft().is(nv)||t.stimulsoft().is(rv))&&o.geoms.stimulsoft().remove(t)}o.render(),a.isAnimation=s,c.writeStartElement("g"),n?c.writeAttributeString("transform",De.format("translate(0.5,0.5)")):c.writeAttributeString("transform",De.format("translate({0},{1})",(t.x+.5).toString().split(",").join("."),(t.y+.5).toString().split(",").join(".")));for(d of o.geoms)if(d.stimulsoft().is(tv)){let t=d;c.writeStartElement("g"),c.writeAttributeString("transform",De.format("rotate({2}, {0}, {1})",t.centerPoint.x.toString().split(",").join("."),t.centerPoint.y.toString().split(",").join("."),t.angle.toString().split(",").join(".")))}else if(d.stimulsoft().is($y))c.writeEndElement();else if(d.type==uv.RoundedRectangle){let t=d,e=this.rectToRectangle(t.rect),r="";null!=t.background?r+=this.writeFillBrush(c,t.background,e):r+="fill-opacity:0;";var l=De.format("{0}",this.writeBorderStroke(c,t.borderBrush,e));r+=De.format("{0};stroke-width:{1};",l,t.borderWidth),c.writeStartElement("rect"),c.writeAttributeString("x",e.x.toString().split(",").join(".")),c.writeAttributeString("y",e.y.toString().split(",").join(".")),c.writeAttributeString("ry",t.leftTop.toString().split(",").join(".")),c.writeAttributeString("rx",t.leftTop.toString().split(",").join(".")),c.writeAttributeString("height",e.height.toString().split(",").join(".")),c.writeAttributeString("width",e.width.toString().split(",").join(".")),c.writeAttributeString("shape-rendering","crispEdges"),c.writeAttributeString("style",r),c.writeEndElement()}else if(d.type==uv.Rectangle){var u=d;let t=this.rectToRectangle(u.rect),e="";null!=u.background?e+=this.writeFillBrush(c,u.background,t):e+="fill-opacity:0;";var l=De.format("{0}",this.writeBorderStroke(c,u.borderBrush,t));e+=De.format("{0};stroke-width:{1};",l,u.borderWidth),c.writeStartElement("rect"),c.writeAttributeString("x",t.x.toString().split(",").join(".")),c.writeAttributeString("y",t.y.toString().split(",").join(".")),c.writeAttributeString("height",(t.height+1).toString().split(",").join(".")),c.writeAttributeString("width",(t.width+1).toString().split(",").join(".")),c.writeAttributeString("shape-rendering","crispEdges"),c.writeAttributeString("style",e.toString()),c.writeEndElement()}else if(d.type==uv.GraphicsPath){let e=d;var u=this.rectToRectangle(e.rect);let t="";t=null!=e.background?this.writeFillBrush(c,e.background,u):"fill-opacity:0;";var u=De.format("{0}",this.writeBorderStroke(c,e.borderBrush,u));t+=De.format("{0};stroke-width:{1};",u,e.borderWidth.toString().split(",").join("."));var u=this.getPathData(e.geoms,e.startPoint);if(c.writeStartElement("path"),c.writeAttributeString("d",u),c.writeAttributeString("style",t),null!=e.animation)if(e.animation.stimulsoft().is(ov)){let t=e.animation;var h=(t.startPoint.x-t.endPoint.x).toString().replace(",","."),m=(t.startPoint.y-t.endPoint.y).toString().replace(",",".");c.writeStartElement("animateTransform"),c.writeAttributeString("attributeType","xml"),c.writeAttributeString("attributeName","transform"),c.writeAttributeString("type","translate"),c.writeAttributeString("from",`${h} ${m}`),c.writeAttributeString("to","0 0"),c.writeAttributeString("dur",t.duration.toString("hh:mm:ss.f")),c.writeEndElement()}else if(e.animation.stimulsoft().is(sv)){let t=e.animation;c.writeStartElement("animateTransform"),c.writeAttributeString("attributeType","xml"),c.writeAttributeString("attributeName","transform"),c.writeAttributeString("type","rotate"),c.writeAttributeString("from",`${(t.startAngle-t.endAngle).toString().replace(", ",".")} ${t.centerPoint.x.toString().replace(", ",".")} ${t.centerPoint.y.toString().replace(", ",".")}`),c.writeAttributeString("to",`0 ${t.centerPoint.x.toString().replace(", ",".")} ${t.centerPoint.y.toString().replace(", ",".")}`),c.writeAttributeString("dur",t.duration.toString("hh:mm:ss.f")),c.writeEndElement()}else if(e.animation.stimulsoft().is(av)){let t=e.animation;var h=((-t.startScaleX+t.endScaleX)*t.centerX).toString().replace(",","."),m=((-t.startScaleY+t.endScaleY)*t.centerY).toString().replace(",",".");c.writeStartElement("animateTransform"),c.writeAttributeString("attributeType","xml"),c.writeAttributeString("attributeName","transform"),c.writeAttributeString("type","translate"),c.writeAttributeString("from",`${h} ${m}`),c.writeAttributeString("to","0 0"),c.writeAttributeString("dur",t.duration.toString("hh:mm:ss.f")),c.writeEndElement(),c.writeStartElement("animateTransform"),c.writeAttributeString("attributeType","xml"),c.writeAttributeString("attributeName","transform"),c.writeAttributeString("type","scale"),c.writeAttributeString("from",`${t.startScaleX} ${t.startScaleY}`),c.writeAttributeString("to",`${t.endScaleX} ${t.endScaleY}`),c.writeAttributeString("dur",t.duration.toString("hh:mm:ss.f")),c.writeAttributeString("additive","sum"),c.writeEndElement()}c.writeEndElement()}else if(d.type==uv.Pie){let t=d;var p=this.rectToRectangle(t.rect);let e="";e=null!=t.background?this.writeFillBrush(c,t.background,p):"fill-opacity:0;";var g=De.format("{0}",this.writeBorderStroke(c,t.borderBrush,p));e+=De.format("{0};stroke-width:{1};",g,t.borderWidth.toString().split(",").join("."));var p=this.addPiePath(t,"");c.writeStartElement("path"),c.writeAttributeString("d",p),c.writeAttributeString("style",e),c.writeEndElement()}else if(d.type==uv.Ellipse){let t=d;var g=this.rectToRectangle(t.rect);let e="";e=null!=t.background?this.writeFillBrush(c,t.background,g):"fill-opacity:0;";var p=De.format("{0}",this.writeBorderStroke(c,t.borderBrush,g));e+=De.format("{0};stroke-width:{1};",p,t.borderWidth.toString().split(",").join(".")),c.writeStartElement("ellipse"),c.writeAttributeString("cx",(g.x+g.width/2).toString().split(",").join(".")),c.writeAttributeString("cy",(g.y+g.height/2).toString().split(",").join(".")),c.writeAttributeString("rx",(g.width/2).toString().split(",").join(".")),c.writeAttributeString("ry",(g.height/2).toString().split(",").join(".")),c.writeAttributeString("style",e),c.writeEndElement()}else if(d.type==uv.GraphicsArcGeometry){let t=d,e="";var f=this.rectToRectangle(t.rect);e=null!=t.background?this.writeFillBrush(c,t.background,f):"fill-opacity:0;";var S=De.format("{0}",this.writeBorderStroke(c,t.borderBrush,f));e+=De.format("{0};stroke-width:{1};",S,t.borderWidth.toString().split(",").join("."));var f=this.addArcPath(t,"");c.writeStartElement("path"),c.writeAttributeString("d",f),c.writeAttributeString("style",e),c.writeEndElement()}else if(d.type==uv.Text){var b=d,S=new Ar(b.font.name,b.font.size,b.font.style,b.font.unit);let t=new kr;var f=this.rectToRectangle(b.rect);t=new kr(f.x,f.y);let e=new Mt,r=4*S.size/3;c.writeStartElement("text"),e.appendFormat("text-anchor:{0};","middle"),c.writeAttributeString("dy","0.9em"),c.writeAttributeString("dx",De.format("{0}em",(.3*b.text.length).toString().split(",").join("."))),c.writeAttributeString("transform",De.format("translate({0}, {1}) ",t.x.toString().split(",").join("."),t.y.toString().split(",").join("."))),c.writeAttributeString("font-size",r.toString().split(",").join(".")),c.writeAttributeString("font-family",S.fontFamily.name);var S=hi.toColor(b.foreground);e.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",S.r,S.g,S.b)),255!=S.a&&e.append(De.format("fill-opacity:{0};",Ne.round2(S.a/255,3).toString().split(",").join("."))),c.writeAttributeString("style",e.toString()),c.writeString(b.text),c.writeEndElement()}else if(d.type==uv.RadialRange){let e=d,r=e.startAngle*this.PiDiv180,i=new Mt;var y=e.centerPoint;let t=y.x+e.radius1*Math.cos(r),n=y.y+e.radius1*Math.sin(r);var v=Ne.round2(Math.abs(e.sweepAngle/10));let a=e.sweepAngle/v;r=e.startAngle;let s=e.radius1-e.radius2,o=1/v,l=0;i.appendFormat("M{0},{1}",t.toString().split(",").join("."),n.toString().split(",").join(".")),r=e.startAngle;let u=-1;while(++u<v){var w=e.radius1-s*l,C=e.radius1-s*(l+o);let t=this.convertArcToCubicBezier3(new kr(y.x,y.y),w,C,r,a);0==u?i.appendFormat(" C{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")):i.appendFormat(",{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")),r+=a,l+=o}for(a=e.sweepAngle/v,s=e.radius3-e.radius4,o=1/v,l=v,r=e.startAngle+e.sweepAngle,u=0;u<v;u++){var T=e.radius3-s*l,P=e.radius3-s*(l+o);let t=this.convertArcToCubicBezier3(y,T,P,r,-a);0==u?(i.appendFormat(" L{0},{1}",t[0].x.toString().split(",").join("."),t[0].y.toString().split(",").join(".")),i.appendFormat(" C{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join("."))):i.appendFormat(",{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")),r-=a,l-=o}i.appendFormat("z");let h="";var b=this.rectToRectangle(e.rect);h=null!=e.background?this.writeFillBrush(c,e.background,b):"fill-opacity:0;";var b=De.format("{0}",this.writeBorderStroke(c,e.borderBrush,b));h+=De.format("{0};stroke-width:{1};",b,e.borderWidth.toString().split(",").join(".")),c.writeStartElement("path"),c.writeAttributeString("d",i.toString()),c.writeAttributeString("style",h),c.writeEndElement()}c.writeEndElement()}static getPathData(t,e){let i=De.format("M{0},{1}",e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),r=0;for(var n of t){if(n.type==uv.GraphicsPathArc){var a=n;i+=this.getArcPath(new Tr(a.x,a.y,a.width,a.height),i,a.startAngle,a.sweepAngle,0==r)}else if(n.type==uv.GraphicsPathLine){let t=n,e=new Mt;i.stimulsoft().startsWith("M")||e.appendFormat("M{0},{1}",t.p2.x.toString().split(",").join("."),t.p2.y.toString().split(",").join(".")),e.appendFormat("L{0},{1}",t.p2.x.toString().split(",").join("."),t.p2.y.toString().split(",").join(".")),i+=e}else if(n.type==uv.GraphicsPathLines){let e=n,r=new Mt;i.stimulsoft().startsWith("M")||r.appendFormat("M{0},{1}",e.points[0].x.toString().split(",").join("."),e.points[0].y.toString().split(",").join("."));for(let t=0;t<e.points.length;t++)0==t?r.appendFormat("L{0},{1}",e.points[t].x.toString().split(",").join("."),e.points[t].y.toString().split(",").join(".")):r.appendFormat(",{0},{1}",e.points[t].x.toString().split(",").join("."),e.points[t].y.toString().split(",").join("."));i+=r}else n.type==uv.GraphicsPathCloseFigure&&(i+="z");r++}return i}static getArcPath(n,t,a,s,o){let e=!1,l=new Mt(t);var u=new kr(n.left+n.width/2,n.top+n.height/2);let r=new kr(u.x-n.width/2,u.y-n.height/2),i=new kr(u.x,u.y-n.height/2),h=new kr(u.x+n.width/2,u.y-n.height/2),c=new kr(u.x+n.width/2,u.y),d=new kr(u.x+n.width/2,u.y+n.height/2),m=new kr(u.x,u.y+n.height/2),p=new kr(u.x-n.width/2,u.y+n.height/2),g=new kr(u.x-n.width/2,u.y);if(0==a?90==s?(o&&l.appendFormat("M{0},{1}",c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),l.appendFormat("Q{0},{1},{2},{3}",d.x.toString().split(",").join("."),d.y.toString().split(",").join("."),m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),e=!0):180==s&&(o&&l.appendFormat("M{0},{1}",c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),l.appendFormat("A{0},{1},90,1,1,{2},{3}",(n.height/2).toString().split(",").join("."),(n.width/2).toString().split(",").join("."),g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),e=!0):90==a?90==s?(o&&l.appendFormat("M{0},{1}",m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),l.appendFormat("Q{0},{1},{2},{3}",p.x.toString().split(",").join("."),p.y.toString().split(",").join("."),g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),e=!0):180==s&&(o&&l.appendFormat("M{0}, {1}",m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),l.appendFormat("A{0},{1},90,1,1,{2},{3}",(n.height/2).toString().split(",").join("."),(n.width/2).toString().split(",").join("."),i.x.toString().split(",").join("."),i.y.toString().split(",").join(".")),e=!0):180==a?90==s?(o&&l.appendFormat("M{0},{1}",g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),l.appendFormat("Q{0},{1},{2},{3}",r.x.toString().split(",").join("."),r.y.toString().split(",").join("."),i.x.toString().split(",").join("."),i.y.toString().split(",").join(".")),e=!0):180==s&&(o&&l.appendFormat("M{0},{1}",g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),l.appendFormat("A{0},{1},90,1,1,{2},{3}",(n.height/2).toString().split(",").join("."),(n.width/2).toString().split(",").join("."),c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),e=!0):270==a&&(90==s?(l.appendFormat("M{0},{1}",i.x.toString().split(",").join("."),i.y.toString().split(",").join(".")),l.appendFormat("Q{0},{1},{2},{3}",h.x.toString().split(",").join("."),h.y.toString().split(",").join("."),c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),e=!0):180==s&&(o&&l.appendFormat("M{0},{1}",i.x.toString().split(",").join("."),i.y.toString().split(",").join(".")),l.appendFormat("A{0},{1},90,1,1,{2},{3}",(n.height/2).toString().split(",").join("."),(n.width/2).toString().split(",").join("."),m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),e=!0)),!e){var f=Math.min(n.width/2,n.height/2);let e=a*this.PiDiv180;var o=u.x+f*Math.cos(e),n=u.y+f*Math.sin(e);let r=new kr(o,n),i=!1;0==l.length?l.appendFormat("M{0},{1}",r.x.toString().split(",").join("."),r.y.toString().split(",").join(".")):i=!0;var S=this.round(Math.abs(s/90)),b=s/S;e=a;let t=-1;while(++t<S){let t=this.convertArcToCubicBezier(u,f,e,b);i&&(l.appendFormat("M{0},{1}",t[0].x.toString().split(",").join("."),t[0].y.toString().split(",").join(".")),i=!1),l.appendFormat(" C{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")),r=t[3],e+=b}}return l.toString()}static convertArcToCubicBezier(t,e,r,i){var n=r*this.PiDiv180,a=i*this.PiDiv180,s=n+a,o=t.x+e*Math.cos(n),l=t.y+e*Math.sin(n),u=t.x+e*Math.cos(s),h=t.y+e*Math.sin(s),c=e*this.FourDivThree*Math.tan(.25*a),r=Math.atan(c/e),i=e/Math.cos(r);r+=n;var a=t.x+i*Math.cos(r),n=t.y+i*Math.sin(r),r=Math.atan(-c/e);r+=s;var s=t.x+i*Math.cos(r),r=t.y+i*Math.sin(r);return[new kr(o,l),new kr(a,n),new kr(s,r),new kr(u,h)]}static addArcPath(t,e){var r=(t.stimulsoft().is(lv)?t:t.rect).x,i=(t.stimulsoft().is(lv)?t:t.rect).y,n=(t.stimulsoft().is(lv)?t:t.rect).width,a=(t.stimulsoft().is(lv)?t:t.rect).height,s=(t.stimulsoft().is(lv),t.startAngle),o=(t.stimulsoft().is(lv),t.sweepAngle);let l=new Mt;var u=r+n/2,h=i+a/2,c=n/2;let d=s*Math.PI/180,m=u+c*Math.cos(d),p=h+c*Math.sin(d);e.stimulsoft().startsWith("M")||l.appendFormat("M{0},{1}",m.toString().split(",").join("."),p.toString().split(",").join("."));let g=this.round(Math.abs(o/10)),f=o/g;d=s;for(let e=0;e<g;e++){let t=this.convertArcToCubicBezier2(new Tr(r,i,n,a),d,f);0==e?l.appendFormat(" C{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")):l.appendFormat(",{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")),d+=f}if(t.stimulsoft().is(Zy)){var t=t;g=this.round(Math.abs(o/10)),f=o/g;var S=c-n*t.startWidth,t=c-n*t.endWidth;if(S<=0||t<=0)return null;var b=S-t,y=1/g;let r=g;d=s+o;for(let e=0;e<g;e++){var v=S-b*r,w=S-b*(r+y);let t=this.convertArcToCubicBezier3(new kr(u,h),v,w,d,-f);0==e?(l.appendFormat(" L{0},{1}",t[0].x.toString().split(",").join("."),t[0].y.toString().split(",").join(".")),l.appendFormat(" C{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join("."))):l.appendFormat(",{0},{1},{2},{3},{4},{5}",t[1].x.toString().split(",").join("."),t[1].y.toString().split(",").join("."),t[2].x.toString().split(",").join("."),t[2].y.toString().split(",").join("."),t[3].x.toString().split(",").join("."),t[3].y.toString().split(",").join(".")),d-=f,r-=y}l.appendFormat("z")}return l.toString()}static addPiePath(r,t){let i=new Mt,e=r.rect.x+r.rect.width/2,n=r.rect.y+r.rect.height/2;var a=r.rect.width/2;let s=r.startAngle*Math.PI/180,o=e+a*Math.cos(s),l=n+a*Math.sin(s);i.appendFormat("M{0},{1}",e.toString().split(",").join("."),n.toString().split(",").join(".")),i.appendFormat("L{0},{1}",o.toString().split(",").join("."),l.toString().split(",").join("."));var u=this.round(Math.abs(r.sweepAngle/90)),h=r.sweepAngle/u;s=r.startAngle;for(let t=0;t<u;t++){let e=this.convertArcToCubicBezier2(r.rect,s,h);for(let t=1;t<e.length-1;t+=3)1==t?i.appendFormat("C{0},{1},{2},{3},{4},{5}",e[t].x.toString().split(",").join("."),e[t].y.toString().split(",").join("."),e[t+1].x.toString().split(",").join("."),e[t+1].y.toString().split(",").join("."),e[t+2].x.toString().split(",").join("."),e[t+2].y.toString().split(",").join(".")):i.appendFormat(",{0},{1},{2},{3},{4},{5}",e[t].x.toString().split(",").join("."),e[t].y.toString().split(",").join("."),e[t+1].x.toString().split(",").join("."),e[t+1].y.toString().split(",").join("."),e[t+2].x.toString().split(",").join("."),e[t+2].y.toString().split(",").join("."));s+=h}return i.appendFormat("L{0},{1}",e.toString().split(",").join("."),n.toString().split(",").join(".")),i.toString()}static convertArcToCubicBezier2(t,e,r){var i=t.x+t.width/2,n=t.y+t.height/2,a=Math.min(t.width/2,t.height/2),s=e*Math.PI/180,o=r*Math.PI/180,l=(e+r)*Math.PI/180,u=i+a*Math.cos(s),h=n+a*Math.sin(s),c=i+a*Math.cos(l),d=n+a*Math.sin(l),t=4*a/3*Math.tan(.25*o),e=Math.atan(t/a),r=a/Math.cos(e);e+=s;var o=i+r*Math.cos(e),s=n+r*Math.sin(e),e=Math.atan(-t/a);e+=l;var i=i+r*Math.cos(e),e=n+r*Math.sin(e);return[new kr(u,h),new kr(o,s),new kr(i,e),new kr(c,d)]}static convertArcToCubicBezier3(t,e,r,i,n){var a=i*this.PiDiv180,s=n*this.PiDiv180,o=a+s,l=t.x+e*Math.cos(a),u=t.y+e*Math.sin(a),h=t.x+r*Math.cos(o),c=t.y+r*Math.sin(o),i=(e-r)/3;r+=i;var n=(e-=i)*this.FourDivThree*Math.tan(.25*s),r=Math.atan(n/e),i=e/Math.cos(r);r+=a;var s=t.x+i*Math.cos(r),a=t.y+i*Math.sin(r),r=Math.atan(-n/e);r+=o;var o=t.x+i*Math.cos(r),r=t.y+i*Math.sin(r);return[new kr(l,u),new kr(s,a),new kr(o,r),new kr(h,c)]}static round(t){var e=Ne.trunc(t),r;return 0<t-e?e+1:e}static writeText(t,e,r,i,n,a){let s=new Mt;t.writeStartElement("text"),s.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.9em"),t.writeAttributeString("dx",`${(.3*e.length).toString().stimulsoft().replaceAll(", ",".")}em`),t.writeAttributeString("transform",`translate(${n.x.toString().stimulsoft().replaceAll(", ",".")}, ${n.y.toString().stimulsoft().replaceAll(", ",".")}) `),t.writeAttributeString("font-size",a.toString().split(",").join(".")),t.writeAttributeString("font-family",r.fontFamily.name);var i=hi.toColor(i);s.append(`fill:${re.toHtml(i)};`),255!=i.a&&s.append(`fill-opacity:${Ne.round2(i.a/255,3).toString().stimulsoft().replaceAll(", ",".")}`),t.writeAttributeString("style",s.toString()),t.writeRaw(e),t.writeEndElement()}static calculateCurveBezier(t,e,r){var i=t[e+2].x-t[e+0].x,n=t[e+2].y-t[e+0].y;return[new kr(t[e+1].x-r*i,t[e+1].y-r*n),new kr(t[e+1].x+r*i,t[e+1].y+r*n)]}static calculateCurveBezierEndPoints(t,e,r){return new kr(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)}static writeFillBrush(t,e,r){if(e instanceof Fe){var i=e;return De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",i.r,i.g,i.b,Ne.round2(i.a/255,3).toString().split(",").join("."))}if(e.is(ni)){var n=Ae.ax.StiBrushSvgHelper.writeGradientBrush(t,e,r);return De.format("fill:url(#{0});",n)}if(e.is(ri)){var n=Ae.ax.StiBrushSvgHelper.writeGlareBrush(t,e,r);return De.format("fill:url(#{0});",n)}if(e.is(ii)){var r=Ae.ax.StiBrushSvgHelper.writeGlassBrush(t,e,r);return De.format("fill:url(#{0});",r)}if(e.is(ai)){var t=Ae.ax.StiBrushSvgHelper.writeHatchBrush(t,e);return De.format("fill:url(#{0});",t)}if(e.is(hi)){var e=hi.toColor(e);return De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",e.r,e.g,e.b,Ne.round2(e.a/255,3).toString().split(",").join("."))}return"fill-opacity:0;"}static writeBorderStroke(t,r,e){if(r instanceof Fe){var i=r;let t=De.format("stroke:rgb({0},{1},{2});",i.r,i.g,i.b),e=Ne.round2(i.a/255,3);return 1!=e&&(t+=De.format("stroke-opacity:{0};",e.toString().split(",").join("."))),t}if(null!=r&&r.is(si)){var i=r;let t=De.format("stroke:rgb({0},{1},{2});",i.color.r,i.color.g,i.color.b),e=Ne.round2(i.color.a/255,3);return 1!=e&&(t+=De.format("stroke-opacity:{0};",e.toString().split(",").join("."))),t}if(null!=r&&r.is(ni)){var n=Ae.ax.StiBrushSvgHelper.writeGradientBrush(t,r,e);return De.format("fill:url(#{0});",n)}if(null!=r&&r.is(ri)){var n=Ae.ax.StiBrushSvgHelper.writeGlareBrush(t,r,e);return De.format("fill:url(#{0});",n)}if(null!=r&&r.is(ii)){var e=Ae.ax.StiBrushSvgHelper.writeGlassBrush(t,r,e);return De.format("fill:url(#{0});",e)}if(null!=r&&r.is(ai)){var t=Ae.ax.StiBrushSvgHelper.writeHatchBrush(t,r);return De.format("fill:url(#{0});",t)}if(null!=r&&r.is(hi)){var r=hi.toColor(r);let t=De.format("stroke:rgb({0},{1},{2})",r.r,r.g,r.b),e=Ne.round2(r.a/255,3);return 1!=e&&(t+=De.format(";stroke-opacity:{0}",e.toString().split(",").join("."))),t}return"stroke-opacity:0"}static rectToRectangle(t){if(t instanceof Tr)return t;return new Tr}};i.PiDiv180=Math.PI/180,i.FourDivThree=4/3,Ae.ax.StiGaugeSvgHelper=i}let cv=Ae.X.StiBingMapHelper;Ae.aF.StiMapGdiPainter=class{constructor(){this.useBackground=!1}getImageAsync(t,e,r=null,i=null,n=null,a=null){let s=new _r;var o=t.report.info.zoom;this.useBackground&&(e*=2),t.report.info.zoom=e;let l=t.getPaintRectangle();return l.x=null!=r?r:0,l.y=null!=i?i:0,l.width=null!=n?n:l.width,l.height=null!=a?a:l.height,this.paintOnlineMapAsync(l,t).try(t=>{s.callTry(t)}),t.report.info.zoom=o,s}paintOnlineMapAsync(e,r){let i=new _r;var n=e.size,a;try{let t=new Ee;if(De.isNullOrEmpty(r.pushPins)?t.add("pp=0,0;60"):t=JSON.parse(r.pushPins),r.isDesigning)if(this.useBackground)i.callTry("");else try{cv.getImageAsync(e.size,r,t).try(t=>{i.callTry(t)})}catch(t){i.callTry("")}else!r.isDesigning&&null!=r.mapImage&&0<r.mapImage.length&&(a=`<image x=\"${e.x}\" y=\"${e.y}\" width=\"${n.width}\" height=\"${n.height}\" href=\"data:image/png;base64,${r.mapImage}\" />`,i.callTry(a)),cv.getImageAsync(n,r,t).try(t=>{i.callTry(t)})}catch(t){i.callTry("")}return i}tryToDecimal(t){var t=parseFloat(t);return t||0}};let dv=Ae.aF.StiMapGdiPainter;{let a=class{static addToCahe(t,e,r,i,n){var a=yr.newGuid().toString();return this.cache[a]={map:t,x:e,y:r,width:i,height:n},a}static renderOnlineMap(r){let i=new _r;if(0==Sr.keys(a.cache).length)i.callTry();else for(let e in this.cache){var n=this.cache[e];let t=new dv;t.key=e,t.getImageAsync(n.map,1,n.x,n.y,n.width,n.height).try(t=>{delete a.cache[e],r.getStream().getStringBuilder().replace(e,t),r.getStream().getStringBuilder().replace("&(*","&(*"),0==Sr.keys(a.cache).length&&i.callTry()})}return i}static renderOnlineMap2Async(t){return Y.tsfb(this,void 0,void 0,function*(){return new Promise(e=>{this.renderOnlineMap2(t).try(t=>{e(t)})})})}static renderOnlineMap2(t){let e=new _r,r=new Ae.ax.StiHtmlTextWriter(new Ht);return r.write(t),this.renderOnlineMap(r).try(()=>e.callTry(r.getStream().getStringBuilder().toString())),e}static isWorld(t){return t==Ae.aC.StiMapID.World}static isAfrica(t){return t==Ae.aC.StiMapID.SouthAfrica}static isNorthAmerica(t){switch(t){case Ae.aC.StiMapID.USA:case Ae.aC.StiMapID.Canada:case Ae.aC.StiMapID.Mexico:return!0}return!1}static isSouthAmerica(t){switch(t){case Ae.aC.StiMapID.Argentina:case Ae.aC.StiMapID.Bolivia:case Ae.aC.StiMapID.Brazil:case Ae.aC.StiMapID.Chile:case Ae.aC.StiMapID.Colombia:case Ae.aC.StiMapID.Ecuador:case Ae.aC.StiMapID.FalklandIslands:case Ae.aC.StiMapID.Guyana:case Ae.aC.StiMapID.Paraguay:case Ae.aC.StiMapID.Peru:case Ae.aC.StiMapID.Suriname:case Ae.aC.StiMapID.Uruguay:case Ae.aC.StiMapID.Venezuela:return!0}return!1}static isEU(t){switch(t){case Ae.aC.StiMapID.Albania:case Ae.aC.StiMapID.Andorra:case Ae.aC.StiMapID.Austria:case Ae.aC.StiMapID.Belarus:case Ae.aC.StiMapID.Belgium:case Ae.aC.StiMapID.BosniaAndHerzegovina:case Ae.aC.StiMapID.Bulgaria:case Ae.aC.StiMapID.Croatia:case Ae.aC.StiMapID.CzechRepublic:case Ae.aC.StiMapID.Denmark:case Ae.aC.StiMapID.Estonia:case Ae.aC.StiMapID.EU:case Ae.aC.StiMapID.Finland:case Ae.aC.StiMapID.France:case Ae.aC.StiMapID.Georgia:case Ae.aC.StiMapID.Germany:case Ae.aC.StiMapID.Greece:case Ae.aC.StiMapID.Hungary:case Ae.aC.StiMapID.Iceland:case Ae.aC.StiMapID.Ireland:case Ae.aC.StiMapID.Italy:case Ae.aC.StiMapID.Latvia:case Ae.aC.StiMapID.Liechtenstein:case Ae.aC.StiMapID.Lithuania:case Ae.aC.StiMapID.Luxembourg:case Ae.aC.StiMapID.Macedonia:case Ae.aC.StiMapID.Malta:case Ae.aC.StiMapID.Moldova:case Ae.aC.StiMapID.Monaco:case Ae.aC.StiMapID.Montenegro:case Ae.aC.StiMapID.Netherlands:case Ae.aC.StiMapID.Norway:case Ae.aC.StiMapID.Poland:case Ae.aC.StiMapID.Portugal:case Ae.aC.StiMapID.Romania:case Ae.aC.StiMapID.Russia:case Ae.aC.StiMapID.SanMarino:case Ae.aC.StiMapID.Serbia:case Ae.aC.StiMapID.Slovakia:case Ae.aC.StiMapID.Slovenia:case Ae.aC.StiMapID.Spain:case Ae.aC.StiMapID.Sweden:case Ae.aC.StiMapID.Switzerland:case Ae.aC.StiMapID.Turkey:case Ae.aC.StiMapID.UK:case Ae.aC.StiMapID.UKCountries:case Ae.aC.StiMapID.Ukraine:case Ae.aC.StiMapID.Vatican:return!0}return!1}static isOceania(t){switch(t){case Ae.aC.StiMapID.Australia:case Ae.aC.StiMapID.Indonesia:case Ae.aC.StiMapID.NewZealand:return!0}return!1}static isAsia(t){switch(t){case Ae.aC.StiMapID.Armenia:case Ae.aC.StiMapID.Azerbaijan:case Ae.aC.StiMapID.China:case Ae.aC.StiMapID.Cyprus:case Ae.aC.StiMapID.India:case Ae.aC.StiMapID.Israel:case Ae.aC.StiMapID.Japan:case Ae.aC.StiMapID.Kazakhstan:case Ae.aC.StiMapID.Malaysia:case Ae.aC.StiMapID.Philippines:case Ae.aC.StiMapID.SaudiArabia:case Ae.aC.StiMapID.SouthKorea:case Ae.aC.StiMapID.Thailand:case Ae.aC.StiMapID.Vietnam:case Ae.aC.StiMapID.MiddleEast:case Ae.aC.StiMapID.Oman:case Ae.aC.StiMapID.Qatar:return!0}return!1}static getStates(t,e){let r=Ae.aC.StiMapLoader.loadResource(t,Zt.getName(Ae.aC.StiMapID,e));if(null==r)return[];return r.hashPaths.keys.stimulsoft().toArray()}static getMapSample(){return null==a.globalReport&&(a.globalReport=new Ae.c.StiReport),null==a.globalMap&&(a.globalMap=new Ae.aC.StiMap,a.globalMap.mapData='[{"Key":"Alabama","Group":"3"},{"Key":"Alaska","Group":"1"},{"Key":"Arizona","Group":"1"},{"Key":"Arkansas","Group":"2"},{"Key":"California","Group":"1"},{"Key":"Colorado","Group":"1"},{"Key":"Connecticut","Group":"3"},{"Key":"Delaware","Group":"3"},{"Key":"Florida","Group":"3"},{"Key":"Georgia","Group":"3"},{"Key":"Hawaii","Group":"2"},{"Key":"Idaho","Group":"1"},{"Key":"Illinois","Group":"3"},{"Key":"Indiana","Group":"3"},{"Key":"Iowa","Group":"2"},{"Key":"Kansas","Group":"2"},{"Key":"Kentucky","Group":"3"},{"Key":"Louisiana","Group":"2"},{"Key":"Maine","Group":"3"},{"Key":"Maryland","Group":"3"},{"Key":"Massachusetts","Group":"3"},{"Key":"Michigan","Group":"3"},{"Key":"Minnesota","Group":"2"},{"Key":"Mississippi","Group":"3"},{"Key":"Missouri","Group":"2"},{"Key":"Montana","Group":"1"},{"Key":"Nebraska","Group":"2"},{"Key":"Nevada","Group":"1"},{"Key":"NewHampshire","Group":"3"},{"Key":"NewJersey","Group":"3"},{"Key":"NewMexico","Group":"1"},{"Key":"NewYork","Group":"3"},{"Key":"NorthCarolina","Group":"3"},{"Key":"NorthDakota","Group":"2"},{"Key":"Ohio","Group":"3"},{"Key":"Oklahoma","Group":"2"},{"Key":"Oregon","Group":"1"},{"Key":"Pennsylvania","Group":"3"},{"Key":"RhodeIsland","Group":"3"},{"Key":"SouthCarolina","Group":"3"},{"Key":"SouthDakota","Group":"2"},{"Key":"Tennessee","Group":"3"},{"Key":"Texas","Group":"2"},{"Key":"Utah","Group":"1"},{"Key":"Vermont","Group":"3"},{"Key":"Virginia","Group":"3"},{"Key":"Washington","Group":"1"},{"Key":"WestVirginia","Group":"3"},{"Key":"Wisconsin","Group":"3"},{"Key":"Wyoming","Group":"1"}]',a.globalReport.pages.getByIndex(0).components.add(a.globalMap)),a.globalMap.stretch=!0,a.globalMap.mapType=Ae.aC.StiMapType.Individual,a.globalMap.displayNameType=Ae.aC.StiDisplayNameType.None,a.globalMap.mapIdent="USA",a.globalMap.showValue=!1,a.globalMap.stretch=!0,a.globalMap}static getColors(){return[Ae.bn.ColorTranslator.fromHtml("#90c2a8"),Ae.bn.ColorTranslator.fromHtml("#da5459"),Ae.bn.ColorTranslator.fromHtml("#efca70"),Ae.bn.ColorTranslator.fromHtml("#63b8e3"),Ae.bn.ColorTranslator.fromHtml("#ab92c4"),Ae.bn.ColorTranslator.fromHtml("#6d58d9"),Ae.bn.ColorTranslator.fromHtml("#fb6b40"),Ae.bn.ColorTranslator.fromHtml("#e34e2e")]}static prepareIsoCode(t){if(De.isNullOrEmpty(t))return"";var e=t.indexOf("-");if(-1!=e)return t.substring(e+1);return t}};a.cache={},Ae.aC.StiMapHelper=a}Ae.aC.StiMapData=class{constructor(t){this._color=null,this.key=t}get value(){return this._value}set value(t){this._value!=t&&(this._value=t,this.invokeValueChanged())}get group(){return this._group}set group(t){this._group!=t&&(this._group=t,this.invokeValueChanged())}get color(){return this._color}set color(t){this._color!=t&&(this._color=t,this.invokeValueChanged())}getValue(){var t=oe.tryParse(this.value);if(t.successfully)return t.result;return null}toString(){return De.format("{0}, {1}",this.key,this.group)}invokeValueChanged(){}},Ae.aC.StiMapSvg=class{constructor(){this.rect=Tr.empty,this.horAlignment=Bs.Center,this.vertAlignment=Go.Center,this.rectIso=Tr.empty,this.horAlignmentIso=Bs.Center,this.vertAlignmentIso=Go.Center}toString(){return De.format("{0} {1}",this.key,this.iSOCode)}};{let r=class extends gl{constructor(t=os.empty){super(t),this._dataSourceName="",this._businessObjectGuid="",this.countData=0,this.isEofValue=!1,this.isBofValue=!1,this.isCacheValues=!1,this.cachedCount=0,this.cachedIsBusinessObjectEmpty=!1,this.cachedIsDataSourceEmpty=!1,this.cachedDataSource=null,this.cachedBusinessObject=null,this.border=new Zr,this.brush=new si(Fe.transparent),this.defaultClientRectangle=new os(0,0,240,240),this.mapStyle=Ae.aC.StiMapStyleIdent.Style25,this.dataFrom=Ae.aC.StiMapSource.Manual,this.colorEach=!1,this.stretch=!0,this.showValue=!0,this.shortValue=!0,this.displayNameType=Ae.aC.StiDisplayNameType.Full,this.mapIdent="USA",this.mapType=Ae.aC.StiMapType.Individual,this.isMapDataChanged=!1,this._mapData=null,this.keyDataColumn=null,this.nameDataColumn=null,this.valueDataColumn=null,this.groupDataColumn=null,this.colorDataColumn=null,this.latitude=null,this.longitude=null,this.mapMode=Ae.aC.StiMapMode.Choropleth,this._isHashDataEmpty=!0}implements(){return r.implementsStiMap||(r.implementsStiMap=super.implements().concat([sd,el,rl,fu,Cu,Yt])),r.implementsStiMap}meta(){return this._hash||(this._hash=[...super.meta(),new gs("UseParentStyles"),new gs("CanGrow"),new gs("CanShrink"),new gs("GrowToHeight"),new gs("Interaction"),new Ui("Border").get(()=>ci.Serialize.jBorder(this.border)).set(t=>this.border=ci.Deserialize.border(t.value)).setXml(t=>this.border=Zr.loadFromXml(t.textContent)),new ds("Brush"),new Ui("DataSourceName"),new Ui("BusinessObjectGuid"),new Gi("MapStyle","",Ae.aC.StiMapStyleIdent,Ae.aC.StiMapStyleIdent.Style25),new Gi("DataFrom","",Ae.aC.StiMapSource,Ae.aC.StiMapSource.Manual),new Wi("ColorEach"),new Wi("Stretch","",!0),new Wi("ShowValue","",!0),new Wi("ShortValue","",!0),new Gi(["DisplayNameType","ShowName"],"",Ae.aC.StiDisplayNameType,Ae.aC.StiDisplayNameType.Full),new Gi("MapMode","",Ae.aC.StiMapMode,Ae.aC.StiMapMode.Choropleth),new Gi("MapType","",Ae.aC.StiMapType,Ae.aC.StiMapType.Individual),new Ui("MapData"),new Ui(["KeyDataColumn","DataColumnKey"]),new Ui(["NameDataColumn","DataColumnName"]),new Ui(["ValueDataColumn","DataColumnValue"]),new Ui(["GroupDataColumn","DataColumnGroup"]),new Ui(["ColorDataColumn","DataColumnColor"]),new Ui("Latitude"),new Ui("Longitude"),new Ui(["MapIdent","MapID"]).set(t=>{this.mapIdent=t.value.toString(),"ChinaWithHongKongAndMacau"!=this.mapIdent&&"ChinaWithHongKongMacauAndTaiwan"!=this.mapIdent||(this.mapIdent="China")}),new Ui("PushPins"),new Ui("MapImage").check(t=>t==as.Document)])}clone(t){var e;return super.clone(t)}getImage(t,e=Ae.c.StiExportFormat.None){if(null!=this.report&&null!=this.report.preparedExportImages){var r=this.report.preparedExportImages.get(this);if(null!=r)return r}let i=new Ae.ax.StiSvgData;i.component=this,i.x=0,i.y=0,i.width=this.report.unit.convertToHInches(this.width),i.height=this.report.unit.convertToHInches(this.height);let n=1;return t.ref&&(n=t.ref),Ae.ax.StiMapSvgHelper.getImage(i,n)}isExportAsImage(t){return!0}get isDataSourceEmpty(){return De.isNullOrEmpty(this.dataSourceName)||null==this.dataSource}get dataSource(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)}get dataSourceName(){return this._dataSourceName}set dataSourceName(t){this._dataSourceName!=t&&(this._dataSourceName=t,De.isNullOrEmpty(t)||(this.businessObjectGuid=null))}get isBusinessObjectEmpty(){return De.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject}get businessObject(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return uu.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)}get businessObjectGuid(){return this._businessObjectGuid}set businessObjectGuid(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,De.isNullOrEmpty(t)||(this.dataSourceName=null))}first(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first()}prior(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior()}next(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this.countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next()}last(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this.countData-1):this.dataSource.last():this.businessObject.last()}get isEof(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof}set isEof(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t}get isBof(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof}set isBof(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t}get isEmpty(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty}get position(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue}set position(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t}get count(){if(this.isCacheValues)return this.cachedCount;return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.countData:this.dataSource.count:this.businessObject.count}cacheValues(t){t?(this.cachedCount=this.count,this.cachedIsBusinessObjectEmpty=this.isBusinessObjectEmpty,this.cachedIsDataSourceEmpty=this.isDataSourceEmpty,this.cachedDataSource=this.dataSource,this.cachedBusinessObject=this.businessObject):(this.cachedDataSource=null,this.cachedBusinessObject=null),this.isCacheValues=t}get componentId(){return Ae.c.StiComponentId.StiMap}get localizedCategory(){return ne.get("Report","Infographics")}get localizedName(){return ne.get("Components","StiMap")}get mapData(){return this._mapData}set mapData(t){this._mapData!=t&&(this._mapData=t,this._isHashDataEmpty=!0,this.isMapDataChanged=!0)}get isHashDataEmpty(){return this._isHashDataEmpty}createNew(){return new r}static getDefaultMapData(t,e){let r=new Ee,i=10,n=!0,a=0;var s=Ae.aC.StiMapHelper.getColors(),o,l;let u=new Ee;for(o of s)u.add(o);let h=Ae.aC.StiMapLoader.loadResource(t,e);for(l of h.hashPaths.keys){let t=new Ae.aC.StiMapData(l);t.color=re.toHtml(u[a]);var c=h.hashPaths.get(l);if(null!=c&&(t.name=c.englishName),r.add(t),a++,a>=u.length){if(a=0,n)for(var d of s)u.add(jl.dark(d,i));else{for(var m of s)u.add(jl.light(m,i));i+=10}n=!n}}return r}getMapData(){if(null!=this._hashData&&0<this._hashData.length&&this.isMapDataChanged)return this._hashData;this._isHashDataEmpty=!0;let a=new Ee;var t,e,r;if(!De.isNullOrEmpty(this._mapData))for(e of JSON.parse(this._mapData)){let t=new Ae.aC.StiMapData(e["key"]||e["Key"]||e["_key"]);t.value=e["value"]||e["Value"]||e["_value"],t.color=e["color"]||e["Color"]||e["_color"],t.group=e["group"]||e["Group"]||e["_group"],t.name=e["name"]||e["Name"]||e["_name"],a.push(t)}let s=Ae.aC.StiMapLoader.loadResource(this.report,this.mapIdent);if(0<a.length){let t=0;while(t<a.length){var i=a[t];if(De.isNullOrEmpty(i.key)||!s.hashPaths.containsKey(i.key)){a.removeAt(t);continue}t++}if(s.hashPaths.count!=a.length)for(let e of s.hashPaths.keys){null==a.firstOrDefault(t=>t.key==e)&&(r=new Ae.aC.StiMapData(e),a.add(r))}for(var n of a)if(!De.isNullOrEmpty(n.color)||!De.isNullOrEmpty(n.group)||!De.isNullOrEmpty(n.value)){this._isHashDataEmpty=!1;break}}else{let e=10,r=!0,i=0;var o=Ae.aC.StiMapHelper.getColors(),l;let n=[];for(l of o)n.push(l);if(null!=s.hashPaths)for(var u of s.hashPaths.keys){let t=new Ae.aC.StiMapData(u);t.color=Ae.bn.ColorTranslator.toHtml(n[i]);var u=s.hashPaths.get(u);if(null!=u&&(t.name=u.englishName),a.add(t),i++,i>=n.length){if(i=0,r)for(var h of o)n.push(jl.dark(h,e));else{for(var c of o)n.push(jl.light(c,e));e+=10}r=!r}}}return this.isMapDataChanged=!0,this._hashData=a,a}getCurrentStyleColors(){if(!De.isNullOrEmpty(this.componentStyle)){var t=null!=this.report.styles.getByName(this.componentStyle)?this.report.styles.getByName(this.componentStyle).stimulsoft().as(oS):null;if(null!=t)return t.colors}return r.getStyleColors(this.mapStyle)}static getStyleColors(t){return r.getMapStyle(t).colors}getStyleBackground(){if(!De.isNullOrEmpty(this.componentStyle)){let t=this.report.styles.getByName(this.componentStyle);if(t=null!=t?t.stimulsoft().as(oS):null,null!=t)return new si(t.backColor)}return new si(r.getMapStyle(this.mapStyle).backColor)}static getMapStyle2(t){let e=null;return De.isNullOrEmpty(t.componentStyle)||(e=t.report.styles.getByName(t.componentStyle),e=null!=e?e.stimulsoft().as(oS):null),null==e&&(e=r.getMapStyle(t.mapStyle)),e}static getMapStyle(t){switch(t){case Ae.aC.StiMapStyleIdent.Style21:return new Ae.aC.StiMap21StyleFX;case Ae.aC.StiMapStyleIdent.Style24:return new Ae.aC.StiMap24StyleFX;case Ae.aC.StiMapStyleIdent.Style25:return new Ae.aC.StiMap25StyleFX;case Ae.aC.StiMapStyleIdent.Style26:return new Ae.aC.StiMap26StyleFX;case Ae.aC.StiMapStyleIdent.Style27:return new Ae.aC.StiMap27StyleFX;case Ae.aC.StiMapStyleIdent.Style28:return new Ae.aC.StiMap28StyleFX;case Ae.aC.StiMapStyleIdent.Style29:return new Ae.aC.StiMap29StyleFX;case Ae.aC.StiMapStyleIdent.Style30:return new Ae.aC.StiMap30StyleFX;case Ae.aC.StiMapStyleIdent.Style31:return new Ae.aC.StiMap31StyleFX;case Ae.aC.StiMapStyleIdent.Style32:return new Ae.aC.StiMap32StyleFX;case Ae.aC.StiMapStyleIdent.Style33:return new Ae.aC.StiMap33StyleFX;case Ae.aC.StiMapStyleIdent.Style34:return new Ae.aC.StiMap34StyleFX;case Ae.aC.StiMapStyleIdent.Style35:return new Ae.aC.StiMap35StyleFX;default:throw new Error("Style is not supported!")}}};Ae.aC.StiMap=r}{let s=class{static clear(){s.lastReport=null,s.customMaps.clear()}static init(t){if(0==s.defaultMaps.countItems&&s.StiCustomMapFinder(),null==t)return s.lastReport=null,void s.customMaps.clear();s.lastReport=t;let e=s.customMaps.clone();var r,i;for(i of t.dictionary.resources.toCast().stimulsoft().toList().where(t=>t.type==Zd.Map&&null!=t.content).toList()){if(s.defaultMaps.contains(i.name.toLowerCase()))continue;if(e.containsKey(i.name)){e.remove(i.name);continue}try{var n=JSON.parse(Ae.bl.Encoding.UTF8.getString(i.content));let t=new Ae.aC.StiMapSvgContainer;s.stiPopulateObject(n,t),null==t.paths&&(t.paths=new Ee),0==t.paths.stimulsoft().countItems&&(t.isNotCorrect=!0),t.prepare(),t.isCustom=!0,s.customMaps.add(i.name,t)}catch(t){let e=new Ae.aC.StiMapSvgContainer;e.prepare(),e.isNotCorrect=!0,e.isCustom=!0,s.customMaps.add(i.name,e)}}if(0<e.count)for(var a of e.keys)s.customMaps.remove(a)}static isCustom(t){return 0==s.defaultMaps.countItems&&s.StiCustomMapFinder(),!s.defaultMaps.contains(t.toLowerCase())}static getContainer(t,e){var r;return s.init(t),s.customMaps.get(e)}static stiPopulateObject(t,e){var r=typeof t,i=typeof e,n,a;if(Sr.isNullOrUndefined(t)||"string"==r||"number"==r||"boolean"==r||"function"==r)return;if(Sr.isNullOrUndefined(e)||"string"==i||"number"==i||"boolean"==i||"function"==i)return;for(a of Sr.getOwnPropertyNames(t)){let r=t[a];a=a.substr(0,1).toLowerCase()+a.substr(1);var s=typeof e[a];if(Sr.isNullOrUndefined(e[a])||"string"==s||"number"==s||"boolean"==s)if(ke.isArray(e)){var s=new Ae.aC.StiMapSvg;this.stiPopulateObject(r,s),e[a]=s}else{if("rect"==a||"rectIso"==a){let t=new Tr,e=r.split(",");t.x=parseFloat(e[0].trim()),t.y=parseFloat(e[1].trim()),t.width=parseFloat(e[2].trim()),t.height=parseFloat(e[3].trim()),r=t}else"horAlignment"==a||"horAlignmentIso"==a?r=Zt.parse(Bs,r):"vertAlignment"!=a&&"vertAlignmentIso"!=a||(r=Zt.parse(Go,r));e[a]=r}else this.stiPopulateObject(r,e[a])}}static StiCustomMapFinder(){var t,e;for(e of Zt.getNames(Ae.aC.StiMapID))s.defaultMaps.add(e.toString().toLowerCase())}};s.defaultMaps=new Ee,s.customMaps=new Dt,Ae.aO.StiCustomMapFinder=s}let mv=Ae.aC.StiMap,pv=Ae.aC.StiMapData,gv=Ae.aC.StiMapHelper,fv=Ae.aC.StiDisplayNameType,Sv=Ae.aC.StiMapMode,bv=Ae.aC.StiMapType,yv=Ae.aO.StiCustomMapFinder;{let s=class{static getImage(e,r=1){let t=new ie,i=e.width*r,n=e.height*r,a=new Fg(Ot.UTF8);var r=e.component.stimulsoft().as(mv);if(null!=r&&null!=r.brush){let t=new Mt;t.append(Yy.writeFillBrush(a,r.brush,new os(0,0,i,n))),a.writeStartElement("rect"),a.writeAttributeString("x",e.x.toString().split(",").join(".")),a.writeAttributeString("y",e.y.toString().split(",").join(".")),a.writeAttributeString("height",n.toString().split(",").join(".")),a.writeAttributeString("width",i.toString().split(",").join(".")),a.writeAttributeString("style",t.toString()),a.writeEndElement()}s.drawMap(a,e.component,e.x,e.y,i,n,!1),a.flush();var e=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',i,n,a.textWriter.getStringBuilder().toString())
;return t.bytes=Ot.UTF8.getBytes(e),t}static drawMap(e,r,i,n,a,s,o){if(r.mapMode==Sv.Online)e.writeString(gv.addToCahe(r,i,n,a,s));else{Ae.aC.StiMapLoader.deleteAllCustomMaps(),yv.clear();var l=Ae.aC.StiMapLoader.loadResource(r.report,r.mapIdent),u=a/l.width<s/l.height?a/l.width:s/l.height;e.writeStartElement("rect"),0!=i&&e.writeAttributeString("x",this.normalizeDecimal(i)),0!=n&&e.writeAttributeString("y",this.normalizeDecimal(n)),e.writeAttributeString("width",this.normalizeDecimal(a)),e.writeAttributeString("height",this.normalizeDecimal(s));let t=r.getStyleBackground().color;!r.brush.is(si)||r.brush.color.isNamedColor&&r.brush.color.equals(Fe.transparent)||(t=r.brush.color),e.writeAttributeString("style",De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",t.r,t.g,t.b,Ne.round2(t.a/255,3).toString().split(",").join("."))),e.writeEndElement(),e.writeStartElement("g"),e.writeAttributeString("transform",De.format("translate({0},{1})",this.normalizeDecimal((a-l.width*u)/2+i),this.normalizeDecimal((s-l.height*u)/2+n))),this.render(r,e,o,u),e.writeEndElement()}}static render(s,o,l,u){let i=new Ae.aF.StiGdiMapContextPainter(s);i.mapStyle=mv.getMapStyle2(s),i.dataTable=s.dataTable,i.prepareDataColumns(),i.updateGroupedData(),i.updateHeatmapWithGroup();let n=i.mapData,a=null;De.isNullOrEmpty(s.componentStyle)||(a=s.report.styles.getByName(s.componentStyle),a=null!=a?a.stimulsoft().as(oS):null),null==a&&(a=mv.getMapStyle(s.mapStyle)),i.defaultBrush=new vr(a.defaultColor),i.defaultBrush1=new si(a.defaultColor);let h=Ae.aC.StiMapLoader.loadResource(s.report,s.mapIdent);if(null==h.hashPaths)return;let c={},d=0;var m=h.hashPaths.keys.length;let p=!((s.showValue||s.displayNameType!=fv.None)&&.2<=u);var g=.5/m,f;i.individualStep=g,h.hashPaths.keys&&h.hashPaths.keys.sort();for(f of h.hashPaths.keys){let t=n[0];for(var S of n)S.key==f&&(t=S);var b=i.getGeomBrush(t);i.individualStep+=g,o.writeStartElement("path"),o.writeAttributeString("d",h.hashPaths.get(f).data);let e=new Mt;e.append(this.getFillBrush(b));var y=De.format("{0}",this.getBorderStroke(a.borderColor));e.append(De.format("{0};stroke-width:{1};",y,a.borderSize)),o.writeAttributeString("style",e.toString()),o.writeAttributeString("transform",De.format("scale({0})",u)),o.writeAttributeString("_ismap","true"),o.writeAttributeString("_text1",this.getToolTipIdent(t));let r=this.getToolTipValueText(s,t.value);var y=this.getToolTipTotalText(s,n,t);De.isNullOrEmpty(y)||(r=`${ne.get("FormFormatEditor","BooleanValue").replace(":","")} = ${r}<div style='margin-top: 5px;'>${y}<div>`),o.writeAttributeString("_text2",r),o.writeAttributeString("elementargument",f),o.writeAttributeString("elementident",f),o.writeAttributeString("elementvalue",t.value?t.value.toString():"");var b=b.color;o.writeAttributeString("_color",De.format("#{0:X2}{1:X2}{2:X2}",b.r,b.g,b.b)),l&&(o.writeAttributeString("opacity","0"),o.writeAttributeString("_animation","{"+De.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',200/m*d,"100",u)+"}")),o.writeEndElement(),p||(c[f]=t),d++}if(0<Sr.keys(c).length){let a=19;null!=h.textScale&&(a*=h.textScale,p=!1);var v=new Ar("Calibri",a,null,ti.Pixel),w=[Fe.fromArgb(180,251,251,251),Fe.fromArgb(255,37,37,37)],e;for(e in c){var C=h.hashPaths.get(e);let t=!1;if(t=s.displayNameType!=fv.Short||null==C.skipTextIso?C.skipText:C.skipTextIso,t)continue;var T=c[e].stimulsoft().as(pv);let n=this.getPathText(s,T,C,e);if(!De.isNullOrEmpty(n)){var P=this.getPathRect(s,C),I=s.displayNameType==fv.Full&&C.setMaxWidth?Rr.measureString(n,v,P.width):Rr.measureString(n,v),A;let r=0,i=0;switch(this.getPathHorAlignment(s,C)){case Bs.Left:case Bs.Width:r=P.x;break;case Bs.Right:r=P.right-I.width;break;case Bs.Center:r=P.x+(P.width-I.width)/2;break}switch(this.getPathVertAlignment(s,C)){case Go.Top:i=P.y;break;case Go.Bottom:i=P.bottom-I.height;break;case Go.Center:i=P.y+(P.height-I.height)/2;break}i+=30,s.showValue&&!De.isNullOrEmpty(null==T?void 0:T.value)&&n.stimulsoft().contains("\r\n")&&(i+=8);for(let e=0;e<2;e++){o.writeStartElement("text"),o.writeAttributeString("font-size",this.normalizeDecimal(a*u)),o.writeAttributeString("font-family","Calibri"),l&&(o.writeAttributeString("opacity","0"),o.writeAttributeString("_animation","{"+De.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',this.normalizeDecimal(200/m*d),"100",this.normalizeDecimal(u))+"}"));let t="";if(1==e&&(A=De.format("#{0:X2}{1:X2}{2:X2}",w[0].r,w[0].g,w[0].b),t=De.format("text-shadow: -1px -1px 1px {0},-1px 1px 1px {0},1px -1px 1px {0}, 1px 1px 1px {0};",A)),o.writeAttributeString("transform",De.format("translate({0}, {1})",this.normalizeDecimal(r*u-e),this.normalizeDecimal(i*u-e))),o.writeAttributeString("style",De.format("fill:#{0:X2}{1:X2}{2:X2};pointer-events:none;{3}",w[e].r,w[e].g,w[e].b,t)),o.writeAttributeString("font-weight","bold"),C.setMaxWidth){var x=n.split(/[ ]|\r\n/),D;let e=0,r="";for(let t=0;t<x.length;t++){r+=""!=r?` ${x[t]}`:x[t],(Rr.measureString(t<x.length-1?r+` ${x[t+1]}`:r,v).width>I.width-5||t==x.length-1||r.stimulsoft().endsWith("\r"))&&(o.writeStartElement("tspan"),o.writeAttributeString("x","0"),0==e?o.writeAttributeString("y","0"):o.writeAttributeString("y",this.normalizeDecimal(e*v.size*u)),o.writeString(r),o.writeEndElement(),e++,r="")}}else{var B=n.split("\r\n");for(let t=0;t<B.length;t++)o.writeStartElement("tspan"),o.writeAttributeString("x","0"),0==t?o.writeAttributeString("y","0"):o.writeAttributeString("y",this.normalizeDecimal(t*v.size*u)),o.writeString(B[t]),o.writeEndElement()}o.writeEndElement()}}}}if(s.showBubble){var t=new vr(Fe.fromArgb(150,a.bubbleBackColor)),r=Fe.fromArgb(170,a.bubbleBorderColor),E;for(E of h.hashPaths.keys){var k=this.getBubbleSize(n,E),N,N;0<k&&(N=h.hashPaths.get(E),N=new kr(N.rect.x+N.rect.width/2,N.rect.y+N.rect.height/2),o.writeStartElement("ellipse"),o.writeAttributeString("cx",this.normalizeDecimal(N.x*u)),o.writeAttributeString("cy",this.normalizeDecimal(N.y*u)),o.writeAttributeString("rx",this.normalizeDecimal(k/2*u)),o.writeAttributeString("ry",this.normalizeDecimal(k/2*u)),o.writeAttributeString("style",`${this.getFillBrush(t)}${this.getBorderStroke(r)} stroke-width:2; pointer-events:none;")`),o.writeEndElement())}}null!=n&&(n.clear(),n=null)}static getPathText(e,r,t,i){let n=null;switch(e.displayNameType){case fv.Full:n=null!=r?r.name:t.englishName;break;case fv.Short:n=gv.prepareIsoCode(t.iSOCode);break}if(e.showValue&&null!=r&&null!=r.value){let t=null;e.shortValue&&!isNaN(parseFloat(r.value))&&(t=Ae.c.StiAbbreviationNumberFormatHelper.format(parseFloat(r.value))),null==t&&(t=r.value),null==n?n=t:(n+="\r\n",n+=t)}return n}static getPathRect(t,e){let r;return r=t.displayNameType!=fv.Short||null==e.rectIso||e.rectIso.isEmpty?e.rect:e.rectIso,r}static getPathHorAlignment(t,e){if(t.displayNameType==fv.Short)return null!=e.horAlignmentIso?e.horAlignmentIso:e.horAlignment;return e.horAlignment}static getPathVertAlignment(t,e){if(t.displayNameType==fv.Short)return null!=e.vertAlignmentIso?e.vertAlignmentIso:e.vertAlignment;return e.vertAlignment}static getToolTipIdent(t){return De.isNullOrEmpty(t.name)?t.key:t.name}static getToolTipValueText(t,e){let r="";var t;return t.showValue&&!De.isNullOrEmpty(e)&&(!t.shortValue||(t=oe.tryParse(e)).successfully&&(r=Ae.c.StiAbbreviationNumberFormatHelper.format(t.result)),De.isNullOrEmpty(r)&&(r=e)),r}static getToolTipTotalText(t,e,r){if(t.mapType==bv.Group||t.mapType==bv.HeatmapWithGroup){var e=e.where(t=>t.group==r.group&&null!=t.value),i;let t=0;for(i of e){var n=oe.tryParse(i.value);n.successfully&&(t+=n.result)}var e=Ae.c.StiAbbreviationNumberFormatHelper.format(t);return`${ne.get("PropertyMain","Total")} = ${e}`}return null}static normalizeDecimal(t){return t.toString().split(",").join(".")}static getBorderStroke(t){let e=De.format("stroke:rgb({0},{1},{2});",t.r,t.g,t.b),r=Ne.round2(t.a/255,3);return 1!=r&&(e+=De.format("stroke-opacity:{0};",r.toString().split(",").join("."))),e}static getFillBrush(t){var t=t.color;return De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",t.r,t.g,t.b,Ne.round2(t.a/255,3).toString().split(",").join("."))}static getBubbleSize(t,e){var r=14,i;let n=0,a=0;var s=0,o=130-r,l;let u=t.firstOrDefault(t=>t.key==e),h=!0;for(l of t){if(null==l.value)continue;var c=l.getValue();if(null==c)continue;h?(h=!1,n=c,a=c):c<n?n=c:c>a&&(a=c)}if(s=a-n,null!=u&&null!=u.value){var t=u.getValue(),d;if(null!=t)return r+o*((t-n)/s)}return 0}};Ae.ax.StiMapSvgHelper=s}Ae.ax.StiMathFormulaSvgHelper=class{static writeMathFormula(t,e){}},Ae.aF.StiColumnSparklinesCellPainter=class{static draw(n,a,t,s,o){if(null==t||0==t.length)return;a.inflate(-2,-2);let e=t.select(zi.tryToNumber).toList(),r=e.min(),i=e.max(),l=r;0<r&&(e=e.select(t=>t-r).toList(),i-=r,r=0),i<0&&(e=e.select(t=>t+-i).toList(),r+=-i,i=0);let u=a.width/e.length,h=i+Math.abs(r),c=0!=h?a.height*i/h:0,d=a.x,m=u;m<1&&(m=1),e.toList().forEach(t=>{let e=s;t<0&&(e=o);var r=a.height*Math.abs(t)/h;let i=new os(d,a.y+(0<t?c-r:c),m,r);0==t&&(0<l&&--i.y,i.height=1),5<i.width&&i.inflate(-1,0),d+=u,n.fillRectangle(e,i,null)})}},Ae.aF.StiLineSparklinesCellPainter=class{static draw(t,i,e,r,n,a=!0,s=!1){if(null==e||e.length<2)return;i.inflate(-4,-i.height/4);let o=e.select(zi.tryToNumber).toList();if(o.all(t=>0==t))return;let l=o.min(t=>t),u=o.max(t=>t);if(0==l&&0==u)return;0<l&&(o=o.select(t=>t-l).toList(),u-=l,l=0),u<0&&(o=o.select(t=>t+-u).toList(),l+=-u,u=0);let h=i.width/(o.length-1),c=u+Math.abs(l);if(0==c)return;let d=i.height*u/c,m=i.x;var e=o.select(function(t){var e=i.height*Math.abs(t)/c,r=i.y+(0<t?d-e:d),e=new kr(m,0<t?r:r+e);return m+=h,e}).toList();1<e.length&&(e=this.simplifyPoints(e),n&&this.drawArea(t,i,e,r),this.drawLines(t,e,r),a&&this.drawFirstLastMarkers(t,e),s&&this.drawHighLowMarkers(t,e))}static drawArea(t,e,r,i){let n=r.toList();n.insert(0,new kr(r.first().x,e.bottom+2)),n.add(new kr(r.lastOrDefault().x,e.bottom+2));let a=new Ee;a.add(new Ay(n.stimulsoft().toArray())),t.fillPath(Fe.fromArgb(60,i),a,e,null)}static drawLines(t,e,r){var i,r=new Ae.af.StiPenGeom(r,2);t.drawLines(r,e)}static drawFirstLastMarkers(t,e){this.drawMarker(t,e.first(),Fe.dimGray),this.drawMarker(t,e.lastOrDefault(),Fe.dimGray)}static drawHighLowMarkers(t,e){if(e.length<2)return;let r=e.first(),i=e.first();for(var n of e)n.y>i.y&&(i=n),n.y<r.y&&(r=n);this.drawMarker(t,r,Fe.green),this.drawMarker(t,i,Fe.red)}static drawMarker(t,e,r){var i=3.5;t.fillEllipse2(Fe.white,new Tr(e.x-i,e.y-i,2*i,2*i),null),i--,t.fillEllipse2(r,new Tr(e.x-i,e.y-i,2*i,2*i),null)}static simplifyPoints(t){if(t.length<=30)return t;var e;return Ae.as["StiSimplifyHelper"].simplify(t,10,!1).stimulsoft().toList()}},Ae.aF.StiWinLossSparklinesCellPainter=class{static draw(r,i,t,n,a){if(null==t||0==t.length)return;i.inflate(-2,-2);let s=t.select(zi.tryToNumber).toList();s=s.select(function(t){if(0==t)return 0;return 0<t?1:-1}).toList();let o=i.width/s.length,l=i.height/2,u=i.x,e=s.select(function(t){var e=i.height*Math.abs(t)/2;let r=new os(u,i.y+(0<t?l-e:l),o,e);return 4<r.width&&r.inflate(-1,0),u+=o,r}).toList(),h=0;e.forEach(function(t){var e=0<s[h]?n:a;r.fillRectangle(e,t,null),h++})}};var ot=class{static getPainter(t){let e=this.typePainter.get(t);return null==e&&(t===Ae.ap.StiImage||t.prototype instanceof Ae.ap.StiImage?e=new Ae.aF.StiImagePainter:t===Ae.ap.StiPage||t.prototype instanceof Ae.ap.StiPage?e=new Ae.aF.StiPagePainter:t===Ae.ap.StiText||t.prototype instanceof Ae.ap.StiText?e=new Ae.aF.StiTextPainter:t===Ae.ap.StiView||t.prototype instanceof Ae.ap.StiView?e=new Ae.aF.StiViewPainter:t===Ae.ap.StiContainer||t.prototype instanceof Ae.ap.StiContainer?e=new Ae.aF.StiContainerPainter:(t===Ae.ap.StiComponent||t.prototype instanceof Ae.ap.StiComponent)&&(e=new Ae.aF.StiComponentPainter),this.typePainter.set(t,e)),e}getImage(t,e,r){return null}paint(t,e){}};ot.typePainter=new Dt,Ae.aF.StiPainter=ot,Ae.aF.StiComponentPainter=class extends Ae.aF.StiPainter{paintBorder(e,r,i,n,a,s){let o=e.stimulsoft().as(el);if(null!=o&&null!=o.border)if(o.border.style==Jr.Double){let t=Fe.white;var e=e.stimulsoft().as(rl);null!=e&&null!=e.brush&&(t=hi.toColor(e.brush)),t.equals(Fe.transparent)&&(t=Fe.white),o.border.draw(r,i,n,t,a,s)}else o.border.draw(r,i,n,Fe.white,a,s)}};let vv=Ae.ap.StiSparklineType,wv=Ae.aF.StiWinLossSparklinesCellPainter,Cv=Ae.aF.StiLineSparklinesCellPainter,Tv=Ae.aF.StiColumnSparklinesCellPainter;Ae.aF.StiSparklinePainter=class extends Ae.aF.StiComponentPainter{getImage(t,e,r){return null}paint(t,e){}paintBackground(t,e,r){}static drawSparkline(t,e,r,i){}static renderSparkline(t,e,r,i){var n,a=r.fetchValues(),n;let s=r.positiveColor,o=r.negativeColor;switch(De.isNullOrEmpty(r.componentStyle)||null!=(n=null===(n=r.report.styles.toList().firstOrDefault(t=>t.name==r.componentStyle))||void 0===n?void 0:n.stimulsoft().as(Ae.c.StiIndicatorStyle))&&(s=n.positiveColor,o=n.negativeColor),r.type){case vv.Column:Tv.draw(t,e,a,s,o);break;case vv.Line:Cv.draw(t,e,a,s,!1,r.showFirstLastPoints,r.showHighLowPoints);break;case vv.Area:Cv.draw(t,e,a,s,!0,r.showFirstLastPoints,r.showHighLowPoints);break;case vv.WinLoss:wv.draw(t,e,a,s,o);break;default:throw new fn(r.type)}}};let Pv=Ae.aF.StiSparklinePainter,Iv=Ae.ap.StiSparkline;{let n=Ae.S.RectangleD,a=class{static getImage(t){let e=new ie,r=new Fg(Ot.UTF8);a.writeSparkline(r,t),r.flush();let i="white";var n=t.component.as(Iv),n=hi.toColor(n.brush);0<n.a&&(i=De.format("rgb({0},{1},{2});",n.r,n.g,n.b));var t=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: {3};"/>{2}</svg>',t.width,t.height,r.textWriter.getStringBuilder().toString(),i);return e.bytes=Ot.UTF8.getBytes(t),e}static writeSparkline(t,e){var r=e.component.as(Iv),i=new Xy,i=new zy(i,!0,!1,!1,1);Pv.renderSparkline(i,new n(e.x,e.y,e.width,e.height),r,1),Yy.writeGeoms(t,i,!1)}};Ae.ax.StiSparklineSvgHelper=a}Ae.ax.StiSvgData=class{get x(){return this._x}set x(t){this._x=t,this._right=this._x+this._width}get y(){return this._y}set y(t){this._y=t,this._bottom=this._y+this._height}get width(){return this._width}set width(t){this._width=t,this._right=this._x+this._width}get height(){return this._height}set height(t){this._height=t,this._bottom=this._y+this._height}get right(){return this._right}get bottom(){return this._bottom}},Ae.ax.StiSvgGeomWriter=class{constructor(t){this.writer=null,this.writer=t}beginPath(){}closeFigure(){}endPath(){}fillPath(t){}strokePath(t){}moveTo(t){}drawLine(t,e,r){}drawLineTo(t,e){}drawRectangle(t,e){var t=[new Fp(t.x,t.y),new Fp(t.x,t.y+t.height),new Fp(t.x+t.width,t.y+t.height),new Fp(t.x+t.width,t.y),new Fp(t.x,t.y)];this.drawPolyline(t,e)}drawPolyline(r,t){let i="";for(let e=0;e<r.length;e++){let t=r[e];0==e?i+=De.format("M {0},{1} ",t.x.toString().split(",").join("."),t.y.toString().split(",").join(".")):i+=De.format("L {0},{1} ",t.x.toString().split(",").join("."),t.y.toString().split(",").join("."))}this.writer.writeStartElement("path"),this.writer.writeAttributeString("d",i),this.writer.writeAttributeString("stroke",De.format("rgb({0},{1},{2})",t.color.r,t.color.g,t.color.b)),this.writer.writeAttributeString("stroke-opacity",De.format("{0}",Ne.round2(t.color.a/255,3))),t.lineJoin&&this.writer.writeAttributeString("stroke-linejoin",t.lineJoin),this.writer.writeAttributeString("stroke-width",t.width.toString().split(",").join(".")),this.writer.writeAttributeString("fill","none"),this.writer.writeEndElement()}drawPolylineTo(t,e){}drawPolygon(t,e){}fillPolygon(r,t){let e=new Mt;e.append(Yy.writeFillBrush(this.writer,t,new os));let i="";for(let e=0;e<r.length;e++){let t=r[e];i+=De.format("{0},{1} ",t.x.toString().split(",").join("."),t.y.toString().split(",").join("."))}this.writer.writeStartElement("polygon"),this.writer.writeAttributeString("points",i),this.writer.writeAttributeString("style",e.toString()),this.writer.writeEndElement()}drawBezier(t,e,r,i,n){}drawBezierTo(t,e,r,i){}drawArc2(t,e,r,i){}setPixel(t,e){}drawImage(t,e){null==t||De.isNullOrWhiteSpace(t.base64)||(this.writer.writeStartElement("image"),this.writer.writeAttributeString("x",e.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",e.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",e.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",e.height.toString().split(",").join(".")),this.writer.writeStartAttribute(null,"href",null),this.writer.writeRaw(t.base64),this.writer.writeEndAttribute(),this.writer.writeEndElement())}drawText(t,e,r,i,n,a,s){}drawString(t,e,r,i,n){this.writer.writeStartElement("text");let a=new Fp;switch((n=n||new Mr).alignment){case Lr.Near:a.x=i.x;break;case Lr.Center:a.x=i.x+i.width/2;break;case Lr.Far:a.x=i.x+i.width;break}switch(n.lineAlignment){case Lr.Near:a.y=i.y;break;case Lr.Center:a.y=i.y+i.height/2;break;case Lr.Far:a.y=i.y+i.height;break}this.writer.writeAttributeString("transform",De.format("translate({0}, {1})",a.x.toString().split(",").join("."),a.y.toString().split(",").join("."))),this.writer.writeAttributeString("width",i.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",i.height.toString().split(",").join("."));let s=new Mt;var e;switch(s.append(De.format("font-size:{0}pt;",e.sizeInPoints)),s.append(De.format("font-family:'{0}';",e.name)),e.bold&&s.append("font-weight:bold;"),e.italic&&s.append("font-style:italic;"),(e.underline||e.strikeout)&&(e=e.underline?e.strikeout?"underline line-through":"underline":e.strikeout?"line-through":null,s.append(De.format("text-decoration:{0};",e))),s.append(Yy.writeFillBrush(this.writer,r,i)),n.alignment){case Lr.Near:s.appendFormat("text-anchor:{0};","start");break;case Lr.Center:s.appendFormat("text-anchor:{0};","middle");break;case Lr.Far:s.appendFormat("text-anchor:{0};","end");break}switch(n.lineAlignment){case Lr.Near:this.writer.writeAttributeString("dy","1em");break;case Lr.Center:this.writer.writeAttributeString("dy","0.5em");break;case Lr.Far:break}this.writer.writeAttributeString("style",s.toString()),this.writer.writeString(t),this.writer.writeEndElement()}saveState(){}restoreState(){}fillRectangle(t,e){let r=new Mt;r.append(Yy.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("rect"),this.writer.writeAttributeString("x",t.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",t.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",t.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",t.height.toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeAttributeString("shape-rendering","crispEdges"),this.writer.writeEndElement()}fillRectangle2(t,e){this.fillRectangle(t,e)}rotateTransform(t){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",De.format("rotate({0})",t.toString().split(",").join(".")))}translateTransform(t,e){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",De.format("translate({0},{1})",t.toString().split(",").join("."),e.toString().split(",").join(".")))}endTransform(){this.writer.writeEndElement()}measureString(t,e){return new ls(0,0)}drawEllipse(t,e){}fillEllipse(t,e){let r=new Mt;r.append(Yy.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("ellipse"),this.writer.writeAttributeString("cx",(t.x+t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("cy",(t.y+t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("rx",(t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("ry",(t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeEndElement()}};let Av=Ae.aD.StiExpressionPacker,xv=Ae.S.StiTextDrawing,Dv=Ae.ap.StiIconSetHelper,Bv=Ae.ap.StiIconSetIndicator,Ev=Ae.ap.StiDataBarDirection,kv=Ae.ap.StiDataBarIndicator,Nv=Ae.bm.Formatting,Fv=Ae.S.StiImageCodecInfo,Rv=Ae.ap.StiShapeDirection,Lv=Ae.ap.StiShape,Mv=Ae.ap.StiVerticalLineShapeType,Ov=Ae.ap.StiHorizontalLineShapeType,Hv=Ae.ap.StiTopAndBottomLineShapeType,_v=Ae.ap.StiLeftAndRightLineShapeType,Vv=Ae.ap.StiRectangleShapeType,Gv=Ae.ap.StiRoundedRectangleShapeType,Uv=Ae.ap.StiDiagonalDownLineShapeType,jv=Ae.ap.StiDiagonalUpLineShapeType,Wv=Ae.ap.StiTriangleShapeType,qv=Ae.ap.StiOvalShapeType,zv=Ae.ap.StiArrowShapeType,Xv=Ae.ap.StiOctagonShapeType,Jv=Ae.ap.StiComplexArrowShapeType,Yv=Ae.ap.StiBentArrowShapeType,Qv=Ae.ap.StiChevronShapeType,Kv=Ae.ap.StiDivisionShapeType,Zv=Ae.ap.StiEqualShapeType,$v=Ae.ap.StiFlowchartCardShapeType,tw=Ae.ap.StiFlowchartCollateShapeType,ew=Ae.ap.StiFlowchartDecisionShapeType,rw=Ae.ap.StiFlowchartManualInputShapeType,iw=Ae.ap.StiFlowchartOffPageConnectorShapeType,nw=Ae.ap.StiFlowchartPreparationShapeType,aw=Ae.ap.StiFlowchartSortShapeType,sw=Ae.ap.StiFrameShapeType,ow=Ae.ap.StiMinusShapeType,lw=Ae.ap.StiMultiplyShapeType,uw=Ae.ap.StiParallelogramShapeType,hw=Ae.ap.StiPlusShapeType,cw=Ae.ap.StiRegularPentagonShapeType,dw=Ae.ap.StiTrapezoidShapeType,mw=Ae.ap.StiSnipSameSideCornerRectangleShapeType,pw=Ae.ap.StiSnipDiagonalSideCornerRectangleShapeType,gw=Ae.ap.StiMathFormula,fw=Ae.ap.StiCheckStyle,Sw=Ae.ap.StiTextInCellsHelper,bw=Ae.bn.Rectangle;{let V=class{static getLineStyleDash(t,e){var r=Ne.round2(1.2*e,1).toString().split(",").join("."),i=Ne.round2(3*e,1).toString().split(",").join(".");let n="";switch(t){case Jr.Dot:n=De.format("{0},{0}",r);break;case Jr.Dash:n=De.format("{0},{1}",i,r);break;case Jr.DashDot:n=De.format("{0},{1},{1},{1}",i,r);break;case Jr.DashDotDot:n=De.format("{0},{1},{1},{1},{1},{1}",i,r);break}return n}static toUnits(t){var e=2,r;return Ne.round2(t,e).toString().split(",").join(".")}static writeCoordinates(t,e){t.writeAttributeString("x",V.toUnits(e.x)),t.writeAttributeString("y",V.toUnits(e.y)),t.writeAttributeString("width",V.toUnits(e.width)),t.writeAttributeString("height",V.toUnits(e.height))}static writeStrokeInfo(t,e,r,i){i==Jr.None?t.writeAttributeString("stroke","none"):(t.writeAttributeString("stroke",De.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("stroke-opacity",Ne.round2(e.a/255,3).toString().split(",").join(".")),t.writeAttributeString("stroke-width",V.toUnits(r)),i!=Jr.Solid&&t.writeAttributeString("stroke-dasharray",V.getLineStyleDash(i,r)))}static writeFillInfo(t,e){t.writeAttributeString("fill",De.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("fill-opacity",Ne.round2(e.a/255,3).toString().split(",").join("."))}static checkShape(t){if(!t.is(Lv))return!1;let e=t.as(Lv);if(null==e)return!1;if(e.shapeType.is2(Mv)||e.shapeType.is2(Ov)||e.shapeType.is2(Hv)||e.shapeType.is2(_v)||e.shapeType.is2(Vv)||e.shapeType.is2(Gv)||e.shapeType.is2(Uv)||e.shapeType.is2(jv)||e.shapeType.is2(Wv)||e.shapeType.is2(qv)||e.shapeType.is2(zv)||e.shapeType.is2(Xv)||e.shapeType.is2(Jv)||e.shapeType.is2(Yv)||e.shapeType.is2(Qv)||e.shapeType.is2(Kv)||e.shapeType.is2(Zv)||e.shapeType.is2($v)||e.shapeType.is2(tw)||e.shapeType.is2(ew)||e.shapeType.is2(rw)||e.shapeType.is2(iw)||e.shapeType.is2(nw)||e.shapeType.is2(aw)||e.shapeType.is2(sw)||e.shapeType.is2(ow)||e.shapeType.is2(lw)||e.shapeType.is2(uw)||e.shapeType.is2(hw)||e.shapeType.is2(cw)||e.shapeType.is2(dw)||e.shapeType.is2(mw)||e.shapeType.is2(pw))return!0;return!1}static writeDocument(e,t,r,i,n,a){var s,o;let l=new Fg(Ot.UTF8);var u=-1;l.indentation=0,l.formatting=Nv.None;var h=Fv.getImageCodec("image/jpeg");a/=100;var c=new Dt;r&&l.writeStartDocument(),l.writeStartElement("svg"),l.writeAttributeString("version","1.1"),l.writeAttributeString("baseProfile","full"),r||l.writeAttributeString("style","margin:5px; border:1px solid DarkGrey;"),l.writeAttributeString("xmlns","http://www.w3.org/2000/svg"),l.writeAttributeString("xmlns:xlink","http://www.w3.org/1999/xlink"),l.writeAttributeString("xmlns:ev","http://www.w3.org/2001/xml-events");var d=1,m=d*e.unit.convertToHInches(t.pageHeight*t.segmentPerHeight),p=d*e.unit.convertToHInches(t.pageWidth*t.segmentPerWidth),g=d*e.unit.convertToHInches(t.margins.left),f=d*e.unit.convertToHInches(t.margins.right),S=d*e.unit.convertToHInches(t.margins.top),b=d*e.unit.convertToHInches(t.margins.bottom),y;l.writeAttributeString("height",V.toUnits(m)),l.writeAttributeString("width",V.toUnits(p)),l.writeStartElement("defs");for(y of t.components.list)if(y.enabled){var s=d*e.unit.convertToHInches(y.left),v=d*e.unit.convertToHInches(y.top),w=d*e.unit.convertToHInches(y.right),o=d*e.unit.convertToHInches(y.bottom);let t=new Ae.ax.StiSvgData;t.x=s+g,t.y=v+S,t.width=w-s,t.height=o-v,t.component=y;var s=y.isExportAsImage(Ae.c.StiExportFormat.ImageSvg),o=y.as($o),v=y.as(yd);(null!=o&&!s&&null!=(null===(s=o.text)||void 0===s?void 0:s.toString())&&0<(null===(o=o.text)||void 0===o?void 0:o.toString().trim().length)||null!=v||y.is(Ae.bd.IStiGauge))&&(l.writeStartElement("clipPath"),l.writeAttributeString("id",this.getClipPathName(y,c)),l.writeStartElement("rect"),V.writeCoordinates(l,t),l.writeEndElement(),l.writeEndElement())}l.writeEndElement();let C=1,T=new Ql;T.border=t.border.clone(),T.brush=t.brush.clone(),T.brush.is(ei)?T.brush=new si(Fe.transparent):0==hi.toColor(T.brush).a&&(T.brush=new si(Fe.white));let P=new Ae.ax.StiSvgData;P.x=0,P.y=0,P.width=p,P.height=m,P.component=T;var I={ref:C};V.writeBorder1(l,P,I),C=I.ref,V.writeWatermark(l,u,t,!0,p,m,a);var I=t.bookmarkValue,A;De.isNullOrEmpty(I)||(l.writeStartElement("view"),l.writeAttributeString("id",I),l.writeAttributeString("viewBox","0 0 1 1"),l.writeEndElement());for(A of t.components.list)if(A.enabled){var x=d*e.unit.convertToHInches(A.left),D=d*e.unit.convertToHInches(A.top),B=d*e.unit.convertToHInches(A.right),E=d*e.unit.convertToHInches(A.bottom);let t=new Ae.ax.StiSvgData;t.x=x+g,t.y=D+S,t.width=B-x,t.height=E-D,t.component=A;var x=V.checkShape(A),D=A.isExportAsImage(Ae.c.StiExportFormat.ImageSvg),k;x||(k={ref:C},V.writeBorder1(l,t,k),C=k.ref);var k=A.hyperlinkValue,D;De.isNullOrEmpty(k)||(l.writeStartElement("a"),l.writeAttributeString("xlink:href",k)),A.is($o)&&!D?(V.writeIndicator(l,t),V.writeText(l,t,u,!0,c)):x?V.writeShape(l,t,u,!0,c):A.is(fd)?V.writeBarCode(l,t):A.is(Iv)?Ae.ax.StiSparklineSvgHelper.writeSparkline(l,t):A.is(Ae.as.IStiChart)?Ae.ax.StiChartSvgHelper.writeChart(l,t,1,!1):A.is(gw)?Ae.ax.StiMathFormulaSvgHelper.writeMathFormula(l,t):A.is(Ae.bd.IStiGauge)?Ae.ax.StiGaugeSvgHelper.writeGauge(l,t,1,!1,!1,!0):A.is(Ae.aC.StiMap)?Ae.ax.StiMapSvgHelper.drawMap(l,A,t.x,t.y,t.width,t.height,!1):D?V.writeImage(l,t,a,i,n,h,c):A.is(bd)?V.writeCheckBox(l,t,A.checkedValue):(D=t.component.bookmarkValue,De.isNullOrEmpty(D)||(l.writeStartElement("view"),l.writeAttributeString("id",D),l.writeAttributeString("viewBox",De.format("{0} {1} {2} {3}",V.toUnits(t.x),V.toUnits(t.y),V.toUnits(t.width),V.toUnits(t.height))),l.writeEndElement())),De.isNullOrEmpty(k)||l.writeEndElement(),r||(t.x=Ne.round2(t.x-.5)+.5,t.y=Ne.round2(t.y-.5)+.5,t.width=Ne.round2(B+g-.5)+.5-t.x,t.height=Ne.round2(E+S-.5)+.5-t.y),A.is(Sb)?V.writeRoundedRectanglePrimitive(l,t):V.writeBorder2(l,t)}return P.x=g,P.y=S,P.width-=g+f,P.height-=S+b,V.writeBorder2(l,P),V.writeWatermark(l,u,t,!1,p,m,a),l.writeFullEndElement(),r&&l.writeEndDocument(),l.flush(),l.textWriter}static writeWatermark(r,i,n,t,o,l,e,a=1){var u=n.watermark,h;if(null!=u&&u.enabled){if(null!=u.image){let t=u.image.width*u.imageMultipleFactor,e=u.image.height*u.imageMultipleFactor,r=0,i=0,n=u.imageAlignment,a=u.imageTiling;switch(u.imageStretch&&(h=e/t,t=o,e=l,a=!1,u.aspectRatio&&(h<l/o?e=t*h:t=e/h)),u.imageStretch||u.imageMultipleFactor,a&&(n=xr.TopLeft),n){case xr.TopCenter:case xr.MiddleCenter:case xr.BottomCenter:r=(o-t)/2;break;case xr.TopRight:case xr.MiddleRight:case xr.BottomRight:r=o-t;break}switch(n){case xr.TopLeft:case xr.TopCenter:case xr.TopRight:i=l-e;break;case xr.MiddleLeft:case xr.MiddleCenter:case xr.MiddleRight:i=(l-e)/2;break}let s=new Ae.ax.StiSvgData;s.x=r,s.y=i,s.width=t,s.height=e}if(!De.isNullOrEmpty(u.text)){let t=new Ae.ax.StiSvgData;t.x=0,t.y=0,t.width=o,t.height=l;let e=new $o(new os(t.x,t.y,t.width,t.height));e.text=u.text,e.textBrush=u.textBrush,e.font=new Ar(u.font.fontFamily.name,u.font.size*a,u.font.style,u.font.unit),e.textOptions=new Uo,e.textOptions.angle=u.angle,e.horAlignment=Bs.Center,e.vertAlignment=Go.Center,e.page=n,e.textQuality=zb.Standard,t.component=e,V.writeText(r,t,i,!1,null)}}}static writeBorder1(e,r,t){var i=t.ref;let n=r.component.as(rl);if(null!=n&&null!=n.brush)if(n.brush.is(ni)){var a=Ae.ax.StiBrushSvgHelper.writeGradientBrush(e,n.brush,new os(r.x,r.y,r.width,r.height));e.writeStartElement("rect"),V.writeCoordinates(e,r),e.writeAttributeString("fill",De.format("url(#{0})",a)),e.writeEndElement()}else if(n.brush.is(ri)){var a=Ae.ax.StiBrushSvgHelper.writeGlareBrush(e,n.brush,new os(r.x,r.y,r.width,r.height));e.writeStartElement("rect"),V.writeCoordinates(e,r),e.writeAttributeString("fill",De.format("url(#{0})",a)),e.writeEndElement()}else if(n.brush.is(ai)){var s=Ae.ax.StiBrushSvgHelper.writeHatchBrush(e,n.brush);e.writeStartElement("rect"),V.writeCoordinates(e,r),e.writeAttributeString("fill",De.format("url(#{0})",s)),e.writeEndElement()}else if(n.brush.is(ii)){var s=Ae.ax.StiBrushSvgHelper.writeGlassBrush(e,n.brush,new os(r.x,r.y,r.width,r.height));e.writeStartElement("rect"),V.writeCoordinates(e,r),e.writeAttributeString("fill",De.format("url(#{0})",s)),e.writeEndElement()}else{let t=hi.toColor(n.brush);t.isNamedColor&&t.equals(Fe.transparent)||(e.writeStartElement("rect"),V.writeCoordinates(e,r),V.writeFillInfo(e,t),e.writeEndElement())}t.ref=i}static writeBorder2(r,i){var n=i.component.as(el);if(null!=n&&null!=n.border&&n.border.side!=Xr.None&&n.border.style!=Jr.None){var a=n.border;if(a.side==Xr.All)r.writeStartElement("rect"),V.writeCoordinates(r,i),r.writeAttributeString("fill","none"),V.writeStrokeInfo(r,a.color,a.size,a.style),r.writeEndElement();else{r.writeStartElement("path");var s=V.toUnits(i.x),o=V.toUnits(i.x+i.width),n=V.toUnits(i.y+i.height),i=V.toUnits(i.y);let t=new Mt,e=!1;e=0!=(a.side&Xr.Left)&&(t.append(De.format("M {0} {1} ",s,n)),t.append(De.format("L {0} {1} ",s,i)),!0),e=0!=(a.side&Xr.Top)&&(e||t.append(De.format("M {0} {1} ",s,i)),t.append(De.format("L {0} {1} ",o,i)),!0),e=0!=(a.side&Xr.Right)&&(e||t.append(De.format("M {0} {1} ",o,i)),t.append(De.format("L {0} {1} ",o,n)),!0),0!=(a.side&Xr.Bottom)&&(e||t.append(De.format("M {0} {1} ",o,n)),t.append(De.format("L {0} {1} ",s,n))),r.writeAttributeString("d",t.toString()),r.writeAttributeString("fill","none"),V.writeStrokeInfo(r,a.color,a.size,a.style),r.writeEndElement()}}}static writeText2(s,o,t,l,u){let h=o.component.as($o);var e=null!=h.textOptions?h.textOptions:new Uo,r,c=[],d=[],i={ref:r=h.text},m={ref:c},n={ref:d};Ko.getTextLinesAndWidths(null,i,h.font,h.page.unit.convertRectangleToHInches(o.component.componentToPage(o.component.clientRectangle)),1,e.wordWrap,e.rightToLeft,1,e.angle,e.trimming,h.allowHtmlTags,m,n),r=i.ref,d=n.ref;let a=0<(c=m.ref).length;if(1==c.length&&0==c[0].length&&(a=!1),a){let r=0;null!=h.textOptions&&(r=h.textOptions.angle);while(360<=r)r-=360;var m=l&&null!=h.text&&0<h.text.trim().length,p;let t=0;for(p of d)t+=p.lineHeight;let i=0;null!=h.border&&(i=h.border.size/2);let e=new Mt;m&&0==r&&e.append(De.format("clip-path: url(#clipPath{0});",this.getClipPathName(h,u)));let n=o.x,a=o.y+.9*h.font.sizeInPoints*V.correctFontSize;r%90==0?(h.horAlignment==Bs.Left&&(n+=2.5+i),h.horAlignment==Bs.Center&&(e.append(De.format("text-anchor:{0};","middle")),90==r||270==r?n+=o.height/2:n+=o.width/2),h.horAlignment==Bs.Right&&(e.append(De.format("text-anchor:{0};","end")),90==r||270==r?n+=o.height-2-i:n+=o.width-2-i),h.horAlignment==Bs.Width&&(n+=2+i),h.vertAlignment==Go.Top&&(a+=i),h.vertAlignment==Go.Center&&(90==r||270==r?a+=(o.width-t)/2:a+=(o.height-t)/2),h.vertAlignment==Go.Bottom&&(90==r||270==r?a+=o.width-t-i:a+=o.height-t-i)):(e.append(De.format("text-anchor:{0};","middle")),n+=o.width/2,a+=(o.height-t)/2);var l=Ae.bn.Graphics.getCustomFontName(h.font.name,h.font.style),g;Ae.bn.Graphics.allowStyle(h.font.name,h.font.style)&&(h.font.bold&&e.append("font-weight:bold;"),h.font.italic&&e.append("font-style:italic;")),e.append(De.format("font-size:{0}pt;",h.font.sizeInPoints.toString().split(",").join("."))),e.append(De.format("font-family:'{0}';",l)),(h.font.underline||h.font.strikeout)&&(g=h.font.underline?h.font.strikeout?"underline line-through":"underline":h.font.strikeout?"line-through":null,e.append(De.format("text-decoration:{0};",g)));var g=hi.toColor(h.textBrush);e.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",g.r,g.g,g.b)),255!=g.a&&e.append(De.format("fill-opacity:{0};",Ne.round2(g.a/255,3).toString().split(",").join("."))),0!=r&&(m&&(s.writeStartElement("g"),s.writeAttributeString("clip-path",De.format("url(#clipPath{0})",this.getClipPathName(h,u)))),s.writeStartElement("g"),s.writeAttributeString("transform",De.format("translate({0},{1})",V.toUnits(o.x+o.width/2),V.toUnits(o.y+o.height/2))),s.writeStartElement("g"),s.writeAttributeString("transform",De.format("rotate({0})",V.toUnits(-r))),90==r||270==r?(n-=o.x+o.height/2,a-=o.y+o.width/2):(n-=o.x+o.width/2,a-=o.y+o.height/2)),s.writeStartElement("text"),s.writeAttributeString("x",V.toUnits(n)),s.writeAttributeString("y",V.toUnits(a)),s.writeAttributeString("style",e.toString());var u=h.bookmarkValue;De.isNullOrEmpty(u)||s.writeAttributeString("id",u);for(let e=0;e<c.length;e++){var f=d[e];if(1<c.length&&(s.writeStartElement("tspan"),0<e&&(s.writeAttributeString("x",V.toUnits(n)),s.writeAttributeString("dy",V.toUnits(f.lineHeight)))),f.needWidthAlign){let t=r;while(t<0)t+=360;let e=o.width;(45<t&&t<135||225<t&&t<315)&&(e=o.height);var f=e-4-2*i;s.writeAttributeString("textLength",V.toUnits(0<f?f:1))}let t=c[e];null!=t&&(0==t.trim().length&&(t=" "),t.stimulsoft().endsWith("\n")&&(t=t.substr(0,t.length-1)),t.stimulsoft().endsWith("\r")&&(t=t.substr(0,t.length-1))),s.writeString(t),1<c.length&&s.writeEndElement()}s.writeFullEndElement(),0!=r&&(s.writeFullEndElement(),s.writeFullEndElement(),m&&s.writeFullEndElement())}}static writeText(o,l,u,h,c,d){let m=l.component;var p=m.horAlignment==Bs.Width;let g=m.textOptions;null==g&&(g=new Uo),p&&(g=g.clone(),g.wordWrap=!0);var t,f=null!=m.report&&m.report.info.forceDesigningMode?Av.packExpression(m.getTextInternal(),m.report,!0):m.text;if(De.isNullOrWhiteSpace(f))return;var e=m.getPaintRectangle(!0,!1),S,b;let y=m.convertTextMargins(e,!1);if(y=m.convertTextBorders(y,!1),y=y.normalize(),m.checkAllowHtmlTags()){let i=l.x,n=l.y,t=l.width,e=l.height,r=g.angle;while(360<=r)r-=360;0!=r&&((45<r&&r<135||225<r&&r<315)&&(S=t,t=e,e=S),i=-t/2,n=-e/2,h&&(o.writeStartElement("g"),o.writeAttributeString("clip-path",De.format("url(#{0})",this.getClipPathName(m,c)))),o.writeStartElement("g"),o.writeAttributeString("transform",De.format("translate({0},{1})",this.toUnits(l.x+l.width/2),this.toUnits(l.y+l.height/2))),o.writeStartElement("g"),o.writeAttributeString("transform",De.format("rotate({0})",this.toUnits(-r))));var v=new Ee,w=new Ee,S=g.wordWrap||p,C=m.font.name;let a=hi.toColor(m.textBrush);var p=hi.toColor(m.brush);Ko.drawTextForOutput(null,f,m.font,y,a,p,m.lineSpacing,m.horAlignment,m.vertAlignment,S,g.rightToLeft,1,r,g.trimming,g.lineLimit,m.checkAllowHtmlTags(),v,w,g),o.writeStartElement("text"),o.writeAttributeString("x",this.toUnits(i)),o.writeAttributeString("y",this.toUnits(n));var S=m.bookmarkValue,T;De.isNullOrEmpty(S)||o.writeAttributeString("id",S);let s="";h&&0==r&&(s+=De.format("clip-path: url(#{0});",this.getClipPathName(m,c))),s+=this.getStyleString(m.font,a),s+="white-space:pre;",o.writeStartAttribute(null,"style",null),o.writeRaw(s),o.writeEndAttribute();for(T of v){let t=w[T.fontIndex];var P=i+T.xPos+.5,I=n+T.yPos+t.ascend+.5,A;let e="";C!=t.fontNameReal&&(e+=De.format("font-family:'{0}';",t.fontNameReal)),m.font.sizeInPoints!=t.fontBase.sizeInPoints&&(e+=De.format("font-size:{0}pt;",t.fontBase.sizeInPoints.toString().split(",").join("."))),m.font.bold!=t.fontBase.bold&&(e+="font-weight:"+(t.fontBase.bold?"bold":"normal")+";"),m.font.italic!=t.fontBase.italic&&(e+="font-style:"+(t.fontBase.italic?"italic":"normal")+";"),m.font.underline==t.fontBase.underline&&m.font.strikeout==t.fontBase.strikeout||(A=t.fontBase.underline?t.fontBase.strikeout?"underline line-through":"underline":t.fontBase.strikeout?"line-through":"none",e+=De.format("text-decoration:{0};",A)),a.toArgb()!=T.textColor.toArgb()&&(e+=De.format("fill:#{0:X2}{1:X2}{2:X2};",T.textColor.r,T.textColor.g,T.textColor.b),255!=T.textColor.a&&(e+=De.format("fill-opacity:{0};",Ne.round2(T.textColor.a/255,3).toString().split(",").join(".")))),o.writeStartElement("tspan"),o.writeAttributeString("x",this.toUnits(P)),o.writeAttributeString("y",this.toUnits(I)),0<e.length&&o.writeAttributeString("style",e),De.isNullOrWhiteSpace(T.href)||(o.writeStartElement("a"),o.writeAttributeString("href",T.href),o.writeAttributeString("target","_blank"));let r=T.text;null!=r&&(0==r.trim().length&&(r=" "),r.stimulsoft().endsWith("\n")&&(r=r.substr(0,r.length-1)),r.stimulsoft().endsWith("\r")&&(r=r.substr(0,r.length-1))),o.writeString(r),De.isNullOrWhiteSpace(T.href)||o.writeEndElement(),o.writeEndElement()}o.writeFullEndElement(),0!=r&&(o.writeFullEndElement(),o.writeFullEndElement(),h&&o.writeFullEndElement())}else{let t=y.clone();90!=m.angle&&270!=m.angle&&-90!=m.angle||(b=t.height,t.height=t.width,t.width=b);var x=xv.splitTextWordwrap(f,null,m.font,t,g,m.horAlignment,m.textQuality==zb.Typographic),r;for(r of x)r.lineHeight*=m.lineSpacing;let e=0<x.length;if(1==x.length&&0==x[0].text.length&&(e=!1),e){let r=0;r=g.angle;while(360<=r)r-=360;let t=0;for(var D of x)t+=D.lineHeight;let i=0;null!=m.border&&(i=m.border.size/2);let n="";n+="white-space:pre;",h&&0==r&&(n+=De.format("clip-path: url(#{0});",this.getClipPathName(m,c)));var v=l.x+m.margins.left,b=l.y+m.margins.top,B=l.width-m.margins.left-m.margins.right,E=l.height-m.margins.top-m.margins.bottom;let a=v,s=b+.9*m.font.sizeInPoints*this.correctFontSize;r%90==0?((!g.rightToLeft&&m.horAlignment==Bs.Left||g.rightToLeft&&m.horAlignment==Bs.Right)&&(g.rightToLeft&&(n+=De.format("text-anchor:{0};","end")),a+=2.5+i),m.horAlignment==Bs.Center&&(n+=De.format("text-anchor:{0};","middle"),90==r||270==r?a+=E/2:a+=B/2),(g.rightToLeft&&m.horAlignment==Bs.Left||!g.rightToLeft&&m.horAlignment==Bs.Right)&&(n+=De.format("text-anchor:{0};",g.rightToLeft?"start":"end"),90==r||270==r?a+=E-2-i:a+=B-2-i),m.horAlignment==Bs.Width&&(a+=2+i),m.vertAlignment==Go.Top&&(s+=i),m.vertAlignment==Go.Center&&(90==r||270==r?s+=(B-t)/2:s+=(E-t)/2),m.vertAlignment==Go.Bottom&&(90==r||270==r?s+=B-t-i:s+=E-t-i)):(n+=De.format("text-anchor:{0};","middle"),a+=B/2,s+=(E-t)/2),n+=this.getStyleString(m.font,hi.toColor(m.textBrush)),0!=r&&(h&&(o.writeStartElement("g"),o.writeAttributeString("clip-path",De.format("url(#{0})",this.getClipPathName(m,c)))),o.writeStartElement("g"),o.writeAttributeString("transform",De.format("translate({0},{1})",this.toUnits(l.x+B/2),this.toUnits(l.y+B/2))),o.writeStartElement("g"),o.writeAttributeString("transform",De.format("rotate({0})",this.toUnits(-r))),90==r||270==r?(a-=l.x+E/2,s-=l.y+B/2):(a-=l.x+B/2,s-=l.y+E/2));var k=Ae.ax.StiBidirectionalConvert.stringContainArabicOrHebrew(f),f=null!=d&&!d.equals(Fe.transparent);f&&(o.writeStartElement("filter"),o.writeAttributeString("x","0"),o.writeAttributeString("y","0"),o.writeAttributeString("width","1"),o.writeAttributeString("height","1"),o.writeAttributeString("id","solid"),o.writeStartElement("feFlood"),o.writeAttributeString("flood-color",`rgb(${d.r},${d.g},${d.b})`),o.writeAttributeString("result","bg"),o.writeEndElement(),o.writeStartElement("feMerge"),o.writeStartElement("feMergeNode"),o.writeAttributeString("in","bg"),o.writeEndElement(),o.writeStartElement("feMergeNode"),o.writeAttributeString("in","SourceGraphic"),o.writeEndElement(),o.writeEndElement(),o.writeEndElement()),o.writeStartElement("text"),o.writeAttributeString("x",this.toUnits(a)),o.writeAttributeString("y",this.toUnits(s)),o.writeAttributeString("style",n.toString()),g.rightToLeft&&(o.writeAttributeString("direction","rtl"),o.writeAttributeString("unicode-bidi","embed")),f&&o.writeAttributeString("filter","url(#solid)");var f=m.bookmarkValue;De.isNullOrEmpty(f)||o.writeAttributeString("id",f),o.indentation=0,o.formatting=Nv.None;for(let e=0;e<x.length;e++){var N=x[e];if(1<x.length&&(k?0<e&&(o.writeEndElement(),o.writeStartElement("text"),o.writeAttributeString("x",this.toUnits(a)),o.writeAttributeString("y",this.toUnits(s+e*N.lineHeight)),o.writeAttributeString("style",n.toString()),g.rightToLeft&&Ae.ax.StiBidirectionalConvert.stringContainArabicOrHebrew(x[e].text)&&(o.writeAttributeString("direction","rtl"),o.writeAttributeString("unicode-bidi","embed"))):(o.writeStartElement("tspan"),0<e&&(o.writeAttributeString("x",this.toUnits(a)),o.writeAttributeString("dy",this.toUnits(N.lineHeight))))),N.needWidthAlign){let t=r;while(t<0)t+=360;let e=B;(45<t&&t<135||225<t&&t<315)&&(e=E);var N=e-4-2*i;o.writeAttributeString("textLength",this.toUnits(0<N?N:1))}let t=x[e].text;null!=t&&(0==t.trim().length&&(t=" "),t.stimulsoft().endsWith("\n")&&(t=t.substr(0,t.length-1)),t.stimulsoft().endsWith("\r")&&(t=t.substr(0,t.length-1))),o.writeString(t),!k&&1<x.length&&o.writeEndElement()}o.writeFullEndElement(),o.indentation=u<0?0:u,o.formatting=u<0?Nv.None:Nv.Indented,0!=r&&(o.writeFullEndElement(),o.writeFullEndElement(),h&&o.writeFullEndElement())}}}static getStyleString(t,e){let r="";var t;return r+=De.format("font-size:{0}pt;",t.sizeInPoints.toString().split(",").join(".")),r+=De.format("font-family:'{0}';",t.name),t.bold&&(r+="font-weight:bold;"),t.italic&&(r+="font-style:italic;"),(t.underline||t.strikeout)&&(t=t.underline?t.strikeout?"underline line-through":"underline":t.strikeout?"line-through":null,r+=De.format("text-decoration:{0};",t)),r+=De.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b),255!=e.a&&(r+=De.format("fill-opacity:{0};",Ne.round2(e.a/255,3).toString().split(",").join("."))),r}static writeImage(r,i,n,t,e,a,s){let o=i.component.as(sd);if(null!=o&&i.component.isExportAsImage(Ae.c.StiExportFormat.ImagePng)){var l,u={ref:l=n},n;let e=o.getImage(u,Ae.c.StiExportFormat.ImagePng),t=i.component.as(yd);if(null!=t&&null!=t.icon?(n=t.getPaintRectangle(!0,!1),Ae.c.StiFontIconsHelper.writeFontIconImage(r,t.iconColor,t.icon,n.width,n.height)):null==e&&null!=t&&(e=i.component.as(yd).getImageFromSource()),l=u.ref,null!=e){r.writeStartElement("image");var u=i.component.bookmarkValue?i.component.bookmarkValue.toString():null;De.isNullOrEmpty(u)||r.writeAttributeString("id",u),r.writeAttributeString("style",De.format("clip-path: url(#{0})",this.getClipPathName(i.component,s)));let t=new Ae.ax.StiSvgData;t.x=i.x,t.y=i.y,o.stretch?(t.width=i.width,t.height=i.height):(t.width=e.width,t.height=e.height),i.component.is(mv)?(r.writeAttributeString("x",this.toUnits(i.x)),r.writeAttributeString("y",this.toUnits(i.y)),r.writeAttributeString("width",this.toUnits(e.width)),r.writeAttributeString("height",this.toUnits(e.height))):this.writeCoordinates(r,t),r.writeStartAttribute(null,"href",null),De.isNullOrEmpty(e.base64)&&!De.isNullOrEmpty(e.url)?r.writeRaw(e.url):r.writeRaw(e.base64),r.writeEndAttribute(),r.writeEndElement()}}}static writeBarCode(t,e){let r=e.component.as(fd);var t=new Ae.ax.StiSvgGeomWriter(t),t=new Ae.ax.StiBarCodeExportPainter(t);!r.isDesigning&&De.isNullOrEmpty(r.codeValue)||r.barCodeType.draw(t,r,new os(e.x,e.y,e.width,e.height),1)}static writeShape(r,i,n,t,a){let s=i.component.as(Lv);var e=i.component.as(rl);let o=Fe.transparent;null!=e&&(o=hi.toColor(e.brush));let l=new Mt,u=new Mt;var h=Ne.trunc(1+s.size/2),c,d,m,p,h,g,f,S,c,b,y,b,y,v,v,w,C,w,T,C,T,P,I,P,I;if(i.x+=h,i.y+=h,i.width-=2*h,i.height-=2*h,s.shapeType.is(Mv)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{1} V {2} Z",V.toUnits(i.x+i.width/2),V.toUnits(i.y),V.toUnits(i.y+i.height)))),s.shapeType.is(Ov)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{1} H {2} Z",V.toUnits(i.x),V.toUnits(i.y+i.height/2),V.toUnits(i.x+i.width)))),s.shapeType.is(Hv)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{1} H {2} M {0},{3} H {2} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height)))),s.shapeType.is(_v)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{1} V {3} M {2},{1} V {3} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height)))),s.shapeType.is(Vv)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width-.5),V.toUnits(i.y+i.height-.5))),u=l),s.shapeType.is(Uv)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{1} L {2},{3} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height)))),s.shapeType.is(jv)&&(l.append(De.format("M {0},{1} V {3} H {2} V {1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height))),u.append(De.format("M {0},{3} L {2},{1}",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height)))),s.shapeType.is(Wv)&&((c=s.shapeType.direction)==Rv.Up&&l.append(De.format("M {0},{3} L {4},{1} {2},{3} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height),V.toUnits(i.x+i.width/2))),c==Rv.Down&&l.append(De.format("M {0},{1} L {4},{3} {2},{1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height),V.toUnits(i.x+i.width/2))),c==Rv.Left&&l.append(De.format("M {2},{3} L {0},{4} {2},{1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height),V.toUnits(i.y+i.height/2))),c==Rv.Right&&l.append(De.format("M {0},{3} L {2},{4} {0},{1} Z",V.toUnits(i.x),V.toUnits(i.y),V.toUnits(i.x+i.width),V.toUnits(i.y+i.height),V.toUnits(i.y+i.height/2))),u=l),s.shapeType.is(qv)&&(d=i.width/2*(1-V.pdfCKT),m=i.height/2*(1-V.pdfCKT),p=i.x,h=i.y,g=i.right,f=i.bottom,S=i.x+i.width/2,c=i.y+i.height/2,l.append(De.format("M {0},{1} ",V.toUnits(S),V.toUnits(f))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(p+d),V.toUnits(f),V.toUnits(p),V.toUnits(f-m),V.toUnits(p),V.toUnits(c))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(p),V.toUnits(h+m),V.toUnits(p+d),V.toUnits(h),V.toUnits(S),V.toUnits(h))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(g-d),V.toUnits(h),V.toUnits(g),V.toUnits(h+m),V.toUnits(g),V.toUnits(c))),l.append(De.format("C {0},{1} {2},{3} {4},{5} Z",V.toUnits(g),V.toUnits(f-m),V.toUnits(g-d),V.toUnits(f),V.toUnits(S),V.toUnits(f))),u=l),s.shapeType.is(Gv)){var A=s.shapeType.round;let t=i.width-.5;t>i.height&&(t=i.height-.5);var x=Math.min(t,100*s.page.zoom)*A,g=x*(1-V.pdfCKT),d=i.x,S=i.y,f=i.right-.5,A=i.bottom-.5;l.append(De.format("M {0},{1} ",V.toUnits(d+x),V.toUnits(A))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(d+g),V.toUnits(A),V.toUnits(d),V.toUnits(A-g),V.toUnits(d),V.toUnits(A-x))),l.append(De.format("V {0} ",V.toUnits(S+x))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(d),V.toUnits(S+g),V.toUnits(d+g),V.toUnits(S),V.toUnits(d+x),V.toUnits(S))),l.append(De.format("H {0} ",V.toUnits(f-x))),l.append(De.format("C {0},{1} {2},{3} {4},{5} ",V.toUnits(f-g),V.toUnits(S),V.toUnits(f),V.toUnits(S+g),V.toUnits(f),V.toUnits(S+x))),l.append(De.format("V {0} ",V.toUnits(A-x))),l.append(De.format("C {0},{1} {2},{3} {4},{5} Z",V.toUnits(f),V.toUnits(A-g),V.toUnits(f-g),V.toUnits(A),V.toUnits(f-x),V.toUnits(A))),u=l}if(s.shapeType.is(Xv)){var D=s.shapeType.as(Xv);let t=(null!=s.report?s.report.unit.convertToHInches(D.bevel):D.bevel)*s.page.zoom,e=t;D.autoSize&&(t=i.width/(2.414*1.414),e=i.height/(2.414*1.414)),t>i.width/2&&(t=i.width/2),e>i.height/2&&(e=i.height/2),l.append(De.format("M {0},{1} ",this.toUnits(i.x+t),this.toUnits(i.y))),l.append(De.format("L {0},{1} {2},{3} ",this.toUnits(i.right-t),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+e))),l.append(De.format("{0},{1} {2},{3} ",this.toUnits(i.right),this.toUnits(i.bottom-e),this.toUnits(i.right-t),this.toUnits(i.bottom))),l.append(De.format("{0},{1} {2},{3} ",this.toUnits(i.x+t),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} {2},{3} ",this.toUnits(i.x+t),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} {2},{3} Z",this.toUnits(i.x),this.toUnits(i.y+e),this.toUnits(i.x+t),this.toUnits(i.y))),u=l}if(s.shapeType.is(zv)){var x=s.shapeType.direction,A=s.shapeType.arrowWidth,D=s.shapeType.arrowHeight;let t=i.width*A,e=i.height*D;x!=Rv.Left&&x!=Rv.Right||(t=i.height*A,e=i.width*D),x==Rv.Up&&(l.append(De.format("M {0},{1} ",V.toUnits(i.x+i.width-t),V.toUnits(i.y+i.height))),l.append(De.format("L {0},{1} ",V.toUnits(i.x+i.width-t),V.toUnits(i.y+e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width),V.toUnits(i.y+e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width/2),V.toUnits(i.y))),l.append(De.format("{0},{1} ",V.toUnits(i.x),V.toUnits(i.y+e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+t),V.toUnits(i.y+e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+t),V.toUnits(i.y+i.height))),l.append(De.format("{0},{1} Z",V.toUnits(i.x+i.width-t),V.toUnits(i.y+i.height)))),x==Rv.Down&&(l.append(De.format("M {0},{1} ",V.toUnits(i.x+t),V.toUnits(i.y))),l.append(De.format("L {0},{1} ",V.toUnits(i.x+t),V.toUnits(i.y+i.height-e))),l.append(De.format("{0},{1} ",V.toUnits(i.x),V.toUnits(i.y+i.height-e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width/2),V.toUnits(i.y+i.height))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width),V.toUnits(i.y+i.height-e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width-t),V.toUnits(i.y+i.height-e))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width-t),V.toUnits(i.y))),l.append(De.format("{0},{1} Z",V.toUnits(i.x+t),V.toUnits(i.y)))),x==Rv.Left&&(l.append(De.format("M {0},{1} ",V.toUnits(i.x+i.width),V.toUnits(i.y+t))),l.append(De.format("L {0},{1} ",V.toUnits(i.x+e),V.toUnits(i.y+t))),l.append(De.format("{0},{1} ",V.toUnits(i.x+e),V.toUnits(i.y))),l.append(De.format("{0},{1} ",V.toUnits(i.x),V.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",V.toUnits(i.x+e),V.toUnits(i.y+i.height))),l.append(De.format("{0},{1} ",V.toUnits(i.x+e),V.toUnits(i.y+i.height-t))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width),V.toUnits(i.y+i.height-t))),l.append(De.format("{0},{1} Z",V.toUnits(i.x+i.width),V.toUnits(i.y+t)))),x==Rv.Right&&(l.append(De.format("M {0},{1} ",V.toUnits(i.x),V.toUnits(i.y+i.height-t))),l.append(De.format("L {0},{1} ",V.toUnits(i.x+i.width-e),V.toUnits(i.y+i.height-t))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width-e),V.toUnits(i.y+i.height))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width),V.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width-e),V.toUnits(i.y))),l.append(De.format("{0},{1} ",V.toUnits(i.x+i.width-e),V.toUnits(i.y+t))),l.append(De.format("{0},{1} ",V.toUnits(i.x),V.toUnits(i.y+t))),l.append(De.format("{0},{1} Z",V.toUnits(i.x),V.toUnits(i.y+i.height-t)))),u=l}if(s.shapeType.is(Jv)){var B=i.width<i.height?i.width/2:i.height/2,E=i.height/3.8,k=i.width/3.8,N=i.height<i.width?i.height/2:i.width/2;switch(s.shapeType.as(Jv).direction){case Rv.Left:case Rv.Right:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+i.height/2))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+B),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.x+B),this.toUnits(i.y+E))),l.append(De.format("{0},{1} ",this.toUnits(i.right-B),this.toUnits(i.y+E))),l.append(De.format("{0},{1} ",this.toUnits(i.right-B),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",this.toUnits(i.right-B),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right-B),this.toUnits(i.bottom-E))),l.append(De.format("{0},{1} ",this.toUnits(i.x+B),this.toUnits(i.bottom-E))),l.append(De.format("{0},{1} ",this.toUnits(i.x+B),this.toUnits(i.bottom))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y+i.height/2)));break;case Rv.Down:case Rv.Up:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+N))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+N))),l.append(De.format("{0},{1} ",this.toUnits(i.right-k),this.toUnits(i.y+N))),l.append(De.format("{0},{1} ",this.toUnits(i.right-k),this.toUnits(i.bottom-N))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom-N))),l.append(De.format("{0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom-N))),l.append(De.format("{0},{1} ",this.toUnits(i.x+k),this.toUnits(i.bottom-N))),l.append(De.format("{0},{1} ",this.toUnits(i.x+k),this.toUnits(i.y+N))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y+N)));break}u=l}if(s.shapeType.is(Yv)){let t=0,e=0,r=0;switch(r=(i.height>i.width?(e=i.width/4,t=e):(t=i.height/4,e=t),e/2),s.shapeType.as(Yv).direction){case Rv.Up:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom))),l.append(De.format("L {0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom-t))),l.append(De.format("{0},{1} ",this.toUnits(i.right-(r+t)),this.toUnits(i.bottom-t))),l.append(De.format("{0},{1} ",this.toUnits(i.right-(r+t)),this.toUnits(i.y+e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-2*e),this.toUnits(i.y+e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-e),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-r),this.toUnits(i.y+e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-r),this.toUnits(i.bottom))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.bottom)));break;case Rv.Left:l.append(De.format("M {0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom))),l.append(De.format("L {0},{1} ",this.toUnits(i.right),this.toUnits(i.y+r))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e),this.toUnits(i.y+r))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.y+e))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e),this.toUnits(i.y+2*e))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e),this.toUnits(i.y+e+r))),l.append(De.format("{0},{1} ",this.toUnits(i.right-t),this.toUnits(i.y+e+r))),l.append(De.format("{0},{1} ",this.toUnits(i.right-t),this.toUnits(i.bottom))),l.append(De.format("{0},{1} Z",this.toUnits(i.right),this.toUnits(i.bottom)));break;case Rv.Down:l.append(De.format("M {0},{1} ",this.toUnits(i.right),this.toUnits(i.y))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+r),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.x+r),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.x+2*e),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e+r),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} ",this.toUnits(i.x+e+r),this.toUnits(i.y+t))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+t))),l.append(De.format("{0},{1} Z",this.toUnits(i.right),this.toUnits(i.y)));break;case Rv.Right:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("L {0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom-r))),l.append(De.format("{0},{1} ",this.toUnits(i.right-e),this.toUnits(i.bottom-r))),l.append(De.format("{0},{1} ",this.toUnits(i.right-e),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom-e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-e),this.toUnits(i.bottom-2*e))),l.append(De.format("{0},{1} ",this.toUnits(i.right-e),this.toUnits(i.bottom-e-r))),l.append(De.format("{0},{1} ",this.toUnits(i.x+t),this.toUnits(i.bottom-e-r))),l.append(De.format("{0},{1} ",this.toUnits(i.x+t),this.toUnits(i.y))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y)));break}u=l}if(s.shapeType.is(Qv)){var F=i.width>i.height?i.height/2:i.width/2;switch(s.shapeType.as(Qv).direction){case Rv.Right:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+F),this.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right-F),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",this.toUnits(i.right-F),this.toUnits(i.y))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y)));break;case Rv.Left:l.append(De.format("M {0},{1} ",this.toUnits(i.right),this.toUnits(i.y))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+F),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} ",this.toUnits(i.x+F),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.right-F),this.toUnits(i.y+i.height/2))),l.append(De.format("{0},{1} Z",this.toUnits(i.right),this.toUnits(i.y)));break;case Rv.Up:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+F))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y+F))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.bottom-F))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y+F)));break;case Rv.Down:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("L {0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.y+F))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.y))),l.append(De.format("{0},{1} ",this.toUnits(i.right),this.toUnits(i.bottom-F))),l.append(De.format("{0},{1} ",this.toUnits(i.x+i.width/2),this.toUnits(i.bottom))),l.append(De.format("{0},{1} ",this.toUnits(i.x),this.toUnits(i.bottom-F))),l.append(De.format("{0},{1} Z",this.toUnits(i.x),this.toUnits(i.y)));break}u=l}if(s.shapeType.is(Kv)&&(b=i.height/3,b+=4,l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+b))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(i.right),this.toUnits(i.y+b),this.toUnits(i.right),this.toUnits(i.bottom-b),this.toUnits(i.x),this.toUnits(i.bottom-b),this.toUnits(i.x),this.toUnits(i.y+b))),b-=4,l.append(De.format("M {0},{1} ",this.toUnits(i.width/2-b/2+i.x),this.toUnits(i.y+1+b/2))),l.append(De.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 ",b/2,b)),l.append(De.format("M {0},{1} ",this.toUnits(i.width/2-b/2+i.x),this.toUnits(i.bottom-2-b/2))),l.append(De.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 Z",b/2,b)),u=l),s.shapeType.is(Zv)&&(y=(i.height-i.height/6)/2,l.append(De.format("M {0},{1} h {2} v {3} H {0} V {1} ",this.toUnits(i.x),this.toUnits(i.bottom-y),this.toUnits(i.width),this.toUnits(y))),l.append(De.format("M {0},{1} h {2} v {3} H {0} V {1} Z",this.toUnits(i.x),this.toUnits(i.y),this.toUnits(i.width),this.toUnits(y))),u=l),s.shapeType.is($v)&&(l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.bottom))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+i.height/5),this.toUnits(i.x+i.width/5),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y))),u=l),s.shapeType.is(tw)){switch(s.shapeType.as(tw).direction){case Rv.Down:case Rv.Up:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.x),this.toUnits(i.y)));break;case Rv.Left:case Rv.Right:l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y)));break}u=l}if(s.shapeType.is(ew)&&(l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+i.height/2))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x+i.width/2),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+i.height/2),this.toUnits(i.x+i.width/2),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+i.height/2))),u=l),s.shapeType.is(rw)&&(l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+i.height/5))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+i.height/5))),u=l),s.shapeType.is(iw)){var R=i.height/5,L=i.width/5;switch(s.shapeType.as(iw).direction){case Rv.Down:l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.bottom-R),this.toUnits(i.x+i.width/2),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-R),this.toUnits(i.x),this.toUnits(i.y)));break;case Rv.Up:l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+R))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x+i.width/2),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+R),this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom)));break;case Rv.Left:l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x+L),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x+L),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+i.height/2),this.toUnits(i.x+L),this.toUnits(i.y)));break;case Rv.Right:l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x),this.toUnits(i.y),this.toUnits(i.right-L),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+i.height/2),this.toUnits(i.right-L),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y)));break}u=l}if(s.shapeType.is(nw)){var M=i.width/5,O=i.height/5,H=i.width/2,_=i.height/2;switch(s.shapeType.as(nw).direction){case Rv.Left:case Rv.Right:l.append(De.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(i.x),this.toUnits(i.y+_),this.toUnits(i.x+M),this.toUnits(i.y),this.toUnits(i.right-M),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+_),this.toUnits(i.right-M),this.toUnits(i.bottom),this.toUnits(i.x+M),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+_)));break;case Rv.Down:case Rv.Up:l.append(De.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(i.x+H),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+O),this.toUnits(i.right),this.toUnits(i.bottom-O))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x+H),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-O),this.toUnits(i.x),this.toUnits(i.y+O),this.toUnits(i.x+H),this.toUnits(i.y)));break}u=l}if(s.shapeType.is(aw)&&(l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x),this.toUnits(i.y+i.height/2),this.toUnits(i.x+i.width/2),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+i.height/2),this.toUnits(i.x+i.width/2),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+i.height/2),this.toUnits(i.right),this.toUnits(i.y+i.height/2))),u=l),s.shapeType.is(sw)&&(b=i.width/7,y=i.height/7,l.append(De.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} ",this.toUnits(i.x),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y))),l.append(De.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(i.x+b),this.toUnits(i.y+y),this.toUnits(i.x+b),this.toUnits(i.bottom-y),this.toUnits(i.right-b),this.toUnits(i.bottom-y),this.toUnits(i.right-b),this.toUnits(i.y+y),this.toUnits(i.x+b),this.toUnits(i.y+y))),u=l),s.shapeType.is(ow)&&(v=i.height/3,l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+v))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+v),this.toUnits(i.right),this.toUnits(i.bottom-v),this.toUnits(i.x),this.toUnits(i.bottom-v),this.toUnits(i.x),this.toUnits(i.y+v))),u=l),s.shapeType.is(lw)&&(v=i.width/4,w=i.height/4,l.append(De.format("M {0},{1} ",this.toUnits(i.x),this.toUnits(i.y+w))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(i.x+v),this.toUnits(i.y),this.toUnits(i.x+i.width/2),this.toUnits(i.y+w),this.toUnits(i.right-v),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+w))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(i.right-v),this.toUnits(i.y+i.height/2),this.toUnits(i.right),this.toUnits(i.bottom-w),this.toUnits(i.right-v),this.toUnits(i.bottom),this.toUnits(i.x+i.width/2),this.toUnits(i.bottom-w))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x+v),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-w),this.toUnits(i.x+v),this.toUnits(i.y+i.height/2),this.toUnits(i.x),this.toUnits(i.y+w))),u=l),s.shapeType.is(uw)&&(l.append(De.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x+i.width/5),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y),this.toUnits(i.right-i.width/5),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom))),u=l),s.shapeType.is(hw)&&(C=i.width/3,w=i.height/3,l.append(De.format("M {0},{1} ",this.toUnits(i.x+C),this.toUnits(i.y))),l.append(De.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(i.right-C),this.toUnits(i.y),this.toUnits(i.right-C),this.toUnits(i.y+w),this.toUnits(i.right),this.toUnits(i.y+w),this.toUnits(i.right),this.toUnits(i.bottom-w))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(i.right-C),this.toUnits(i.bottom-w),this.toUnits(i.right-C),this.toUnits(i.bottom),this.toUnits(i.x+C),this.toUnits(i.bottom),this.toUnits(i.x+C),this.toUnits(i.bottom-w))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.x),this.toUnits(i.bottom-w),this.toUnits(i.x),this.toUnits(i.y+w),this.toUnits(i.x+C),this.toUnits(i.y+w),this.toUnits(i.x+C),this.toUnits(i.y))),u=l),s.shapeType.is(cw)&&(T=i.height/2.6,C=i.width/5.5,l.append(De.format("M {0},{1} L {2},{3} ",this.toUnits(i.x),this.toUnits(i.y+T),this.toUnits(i.x+i.width/2),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+T),this.toUnits(i.right-C),this.toUnits(i.bottom),this.toUnits(i.x+C),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+T))),u=l),s.shapeType.is(dw)&&(T=i.width/4.75,l.append(De.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x+T),this.toUnits(i.y),this.toUnits(i.right-T),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom))),u=l),s.shapeType.is(mw)&&(P=i.width/7.2,I=i.height/4.6,l.append(De.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(i.x),this.toUnits(i.y+I),this.toUnits(i.x+P),this.toUnits(i.y),this.toUnits(i.right-P),this.toUnits(i.y))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.y+I),this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.y+I))),u=l),s.shapeType.is(pw)&&(P=i.width/7.2,I=i.height/4.6,l.append(De.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(i.x),this.toUnits(i.y),this.toUnits(i.right-P),this.toUnits(i.y),this.toUnits(i.right),this.toUnits(i.y+I))),l.append(De.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(i.right),this.toUnits(i.bottom),this.toUnits(i.x+P),this.toUnits(i.bottom),this.toUnits(i.x),this.toUnits(i.bottom-I),this.toUnits(i.x),this.toUnits(i.y))),u=l),0<l.length||0<u.length)if(l==u){let t=new Mt;null!=e.brush?t.append(this.writeFillBrush(r,e.brush,new os(i.x,i.y,i.width,i.height))):t.append("fill:none;"),r.writeStartElement("path"),r.writeAttributeString("style",t.toString()),s.borderColor.equals(Fe.transparent)?r.writeAttributeString("stroke","none"):V.writeStrokeInfo(r,s.borderColor,s.size,s.style),r.writeAttributeString("transform","translate(0, 0)"),r.writeAttributeString("d",l.toString()),r.writeEndElement()}else 0<l.length&&!o.equals(Fe.transparent)&&(r.writeStartElement("path"),V.writeFillInfo(r,o),r.writeAttributeString("stroke","none"),r.writeAttributeString("d",l.toString()),r.writeEndElement()),0<u.length&&!s.borderColor.equals(Fe.transparent)&&(r.writeStartElement("path"),r.writeAttributeString("fill","none"),V.writeStrokeInfo(r,s.borderColor,s.size,s.style),r.writeAttributeString("d",u.toString()),r.writeEndElement());if(!De.isNullOrWhiteSpace(s.text)){let t=new $o(s.clientRectangle);t.text=s.text,t.font=s.font,t.textBrush=new si(s.foreColor),t.horAlignment=s.horAlignment,t.vertAlignment=s.vertAlignment,t.margins=s.margins,t.wordWrap=!0,t.page=s.page;let e=new Ae.ax.StiSvgData;e.x=i.x,e.y=i.y,e.width=i.width,e.height=i.height,e.component=t,this.writeText(r,e,n,!0,a,s.backgroundColor)}}static writeFillBrush(t,e,r){if(e instanceof Fe){var i=e;return De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",i.r,i.g,i.b,Ne.round2(i.a/255,3))}if(e.is(ni)||e.is(ri)||e.is(ai)||e.is(ii)){var r=r.clone(),r=this.writeBrush(t,e,r);return De.format("fill:url(#{0});",r)}if(e.is(hi)){var e=hi.toColor(e);return De.format("fill:rgb({0},{1},{2});fill-opacity:{3};",e.r,e.g,e.b,Ne.round2(e.a/255,3))}return"fill-opacity:0;"}static writeBrush(t,e,r){let i="";return e.is(ri)?i=Ae.ax.StiBrushSvgHelper.writeGlareBrush(t,e,r):e.is(ni)?i=Ae.ax.StiBrushSvgHelper.writeGradientBrush(t,e,r):e.is(ai)?i=Ae.ax.StiBrushSvgHelper.writeHatchBrush(t,e):e.is(ii)&&(i=Ae.ax.StiBrushSvgHelper.writeGlassBrush(t,e,r)),i}static writeRoundedRectanglePrimitive(r,i){let n=i.component;if(!n.color.equals(Fe.transparent)){let t=new Mt;var a=n.round;let e=i.width;e>i.height&&(e=i.height);var s=Math.min(e,100*n.page.zoom)*a,o=s*(1-V.pdfCKT),l=i.x,u=i.y,a=i.x+i.width,i=i.y+i.height;t.append(De.format("M {0} {1} ",V.toUnits(l+s),V.toUnits(i))),t.append(De.format("C {0} {1} {2} {3} {4} {5} ",V.toUnits(l+o),V.toUnits(i),V.toUnits(l),V.toUnits(i-o),V.toUnits(l),V.toUnits(i-s))),t.append(De.format("V {0} ",V.toUnits(u+s))),t.append(De.format("C {0} {1} {2} {3} {4} {5} ",V.toUnits(l),V.toUnits(u+o),V.toUnits(l+o),V.toUnits(u),V.toUnits(l+s),V.toUnits(u))),t.append(De.format("H {0} ",V.toUnits(a-s))),t.append(De.format("C {0} {1} {2} {3} {4} {5} ",V.toUnits(a-o),V.toUnits(u),V.toUnits(a),V.toUnits(u+o),V.toUnits(a),V.toUnits(u+s))),t.append(De.format("V {0} ",V.toUnits(i-s))),t.append(De.format("C {0} {1} {2} {3} {4} {5} Z",V.toUnits(a),V.toUnits(i-o),V.toUnits(a-o),V.toUnits(i),V.toUnits(a-s),V.toUnits(i))),r.writeStartElement("path"),r.writeAttributeString("fill","none"),V.writeStrokeInfo(r,n.color,n.size,n.style),r.writeAttributeString("d",t.toString()),r.writeEndElement()}}static getClipPathName(e,r){if(null!=r){let t=r.get(e);return null==t&&(t=Ae.b.Guid.newGuidString(),r.set(e,t)),De.format("clipPath_{0}",t)}return null==e.guid&&e.newGuid(),De.format("clipPath_{0}",e.guid)}static writeIndicator(t,e){var r=new os(e.x,e.y,e.width,e.height);let i=e.component.as($o);null!=i&&null!=i.indicator&&(i.indicator.stimulsoft().is(Bv)&&this.writeIconSetIndicatorTypePainter(t,i,r),i.indicator.stimulsoft().is(kv)&&this.writeDataBarIndicator(t,i,r)),e.x=r.x,e.y=r.y,e.width=r.width,e.height=r.height}static writeIconSetIndicatorTypePainter(e,r,i){let n=i.clone();n.inflate(-1,-1);var a=r.indicator.stimulsoft().as(Bv);if(null!=a&&(a.icon!=Eg.None||null!=a.customIcon)){var r=Dv.getIcon(a),s=null!=a.customIcon?a.customIconSize.width:18,o=null!=a.customIcon?a.customIconSize.height:18;let t=n.clone();switch(a.alignment){case xr.TopLeft:t=new os(t.x,t.y,s,o),i.x+=t.width+1,i.width-=t.width+1;break;case xr.TopCenter:t=new os(t.x+(t.width-s)/2,t.y,s,o);break;case xr.TopRight:t=new os(t.right-s,t.y,s,o),i.width-=t.width+1;break;case xr.MiddleLeft:t=new os(t.x,t.y+(t.height-o)/2,s,o),i.x+=t.width+1,i.width-=t.width+1;break;case xr.MiddleCenter:t=new os(t.x+(t.width-s)/2,t.y+(t.height-o)/2,s,o);break;case xr.MiddleRight:t=new os(t.right-s,t.y+(t.height-o)/2,s,o),i.width-=t.width+1;break;case xr.BottomLeft:t=new os(t.x,t.bottom-o,s,o),i.x+=t.width+1,i.width-=t.width+1;break;case xr.BottomCenter:t=new os(t.x+(t.width-s)/2,t.bottom-o,s,o);break;case xr.BottomRight:t=new os(t.right-s,t.bottom-o,s,o),i.width-=t.width+1;break}e.writeStartElement("image"),V.writeCoordinates(e,t),e.writeAttributeString("href",r.base64),e.writeEndElement()}}static writeDataBarIndicator(n,t,a){let s=a.clone();s.inflate(-2,-2);var o=t.indicator.stimulsoft().as(kv);if(null!=o&&0!=o.value){var l=o.maximum+Math.abs(o.minimum);let e=s.clone();var u=e.width*Math.abs(o.minimum)/l,h=e.width*o.maximum/l,l=e.width*Math.abs(o.value)/l,a,c,c,o;let r=o.direction;r==Ev.Default&&(r=null!=t.textOptions&&t.textOptions.rightToLeft?Ev.RighToLeft:Ev.LeftToRight);let i=0;if(r==Ev.LeftToRight?o.value<0?e.x+=u-l:e.x+=u:(i=180,o.value<0?e.x=e.right-u:e.x=e.right-u-l),e.width=l,o.value<0&&(i+=180),0<e.width&&0<e.height)if(o.brushType==Ae.ap.StiBrushType.Gradient){let t;t=r==Ev.LeftToRight?0<o.value?new os(a.left+u,a.top,h,a.height):new os(a.left,a.top,u,a.height):o.value<0?new os(a.left+h,a.top,u,a.height):new os(a.left,a.top,h,a.height),0<e.width&&e.width<1&&(e.width=1),0<t.width&&t.width<1&&(t.width=1),0<t.width&&0<e.width&&(a=o.value<0?o.negativeColor:o.positiveColor,c=jl.light(a,200),t.x-=.1*t.width,t.width+=.2*t.width,c=Ae.ax.StiBrushSvgHelper.writeGradientBrush(n,new ni(a,c,i),t),n.writeStartElement("rect"),V.writeCoordinates(n,e),n.writeAttributeString("fill",De.format("url(#{0})",c)),n.writeEndElement())}else{var c=o.value<0?o.negativeColor:o.positiveColor;n.writeStartElement("rect"),V.writeCoordinates(n,e),n.writeAttributeString("fill",De.format("#{0:X2}{1:X2}{2:X2}",c.r,c.g,c.b)),n.writeEndElement()}o.showBorder&&(o=o.value<0?o.negativeBorderColor:o.positiveBorderColor,n.writeStartElement("rect"),V.writeCoordinates(n,e),n.writeAttributeString("fill","none"),n.writeAttributeString("stroke",De.format("#{0:X2}{1:X2}{2:X2}",o.r,o.g,o.b)),n.writeAttributeString("stroke-width","1"),n.writeEndElement())}}static saveComponentToString(t,e=Ae.c.ImageFormat.Jpeg,r=.75,i=100,n=!0){var a=t.guid;let s=new Fg(Ot.UTF8);var o=-1;s.indentation=o<0?0:o,s.formatting=o<0?Nv.None:Nv.Indented;var l=Fv.getImageCodec("image/jpeg");i/=100;let u=t.report,h=Ae.ax.StiMatrix.htmlScaleX,c=Ae.ax.StiMatrix.htmlScaleY;n&&(h=1,c=1);var d=h*u.unit.convertToHInches(t.left),m=c*u.unit.convertToHInches(t.top),p=h*u.unit.convertToHInches(t.right),g=c*u.unit.convertToHInches(t.bottom);let f=new Ae.ax.StiSvgData;f.x=0,f.y=0,f.width=Math.floor(p-d),f.height=Math.floor(g-m);var S=(f.component=t).isExportAsImage(Ae.c.StiExportFormat.ImageSvg),p=V.checkShape(t),d=1,g=new Dt,m;let b=t.as($o);null!=b&&!S&&null!=b.text&&0<b.text.trim().length&&(s.writeStartElement("defs"),s.writeStartElement("clipPath"),s.writeStartElement("rect"),V.writeCoordinates(s,f),s.writeEndElement(),s.writeEndElement(),s.writeEndElement()),p||S||t.is(Jb)||(m={ref:d},V.writeBorder1(s,f,m),d=m.ref),t.is($o)&&!S&&(V.writeIndicator(s,f),t.is(Jb)||V.writeText(s,f,o,!0,g)),p?V.writeShape(s,f,o,!0,g):t.is(fd)?V.writeBarCode(s,f):t.is(gw)?Ae.ax.StiMathFormulaSvgHelper.writeMathFormula(s,f):t.is(Iv)?Ae.ax.StiSparklineSvgHelper.writeSparkline(s,f):t.is(Ae.as.IStiChart)?Ae.ax.StiChartSvgHelper.writeChart(s,f,1,!1):t.is(Ae.bd.IStiGauge)?Ae.ax.StiGaugeSvgHelper.writeGauge(s,f):t.is(Ae.aC.StiMap)&&t.mapMode==Sv.Choropleth?Ae.ax.StiMapSvgHelper.drawMap(s,t,f.x,f.y,f.width,f.height,!1):t.is(bd)?n?V.writeCheckBox(s,f,!0):V.writeCheckBox(s,f,t.checkedValue):t.is(Jb)?V.writeTextInCells(s,f):S&&V.writeImage(s,f,i,e,r,l,g),s.flush();var g=s.textWriter.getStringBuilder().toString();return n&&(t.guid=a),g}static saveToString(t,e,r,i=!0,n={ref:0},a=Ae.c.ImageFormat.Png,s=.75,o=100){return V.writeDocument(t,e,i,a,s,o).getStringBuilder().toString()}static writeCheckBox(t,e,r){let i=e.component.as(bd);if(null==i||null==r)return;var n=Yy.writeFillBrush(t,i.textBrush,new os(e.x,e.y,e.width,e.height));t.writeStartElement("g");var a=200,s=1/(a/Math.min(e.width,e.height));let o=0,l=0;e.width>e.height?o=Math.abs(e.width/2-a*s/2):e.width<e.height&&(l=Math.abs(e.height/2-a*s/2)),t.writeAttributeString("transform",De.format("translate({0},{1})",(e.x+o).toString().split(",").join("."),(e.y+l).toString().split(",").join("."))),t.writeStartElement("path"),t.writeAttributeString("d",this.getCheckBoxData(i,r)),t.writeAttributeString("stroke",De.format("#{0:X2}{1:X2}{2:X2}",i.contourColor.r,i.contourColor.g,i.contourColor.b)),t.writeAttributeString("stroke-width",i.size.toString()),t.writeAttributeString("stroke-linecap","round"),t.writeAttributeString("stroke-linejoin","round"),t.writeAttributeString("transform",De.format("scale({0})",s)),t.writeAttributeString("style",n),t.writeEndElement(),t.writeEndElement()}static getCheckBoxData(t,e){var r=t.checkStyle,i=!1,e=e.toString().trim().toLowerCase(),n,i,r;let a=t.values.split("/");1==a.length&&(a=t.values.split(";")),1==a.length&&(a=t.values.split(","));let s=null;switch(e==a[0].trim().toLowerCase()?t.checkStyleForTrue:t.checkStyleForFalse){case fw.Cross:s="m 62.567796,147.97593 c -0.55,-0.14223 -2.162828,-0.5128 -3.584062,-0.82348 -3.647667,-0.79738 -9.670499,-5.83775 -14.242817,-11.91949 l "+"-3.902341,-5.19058 5.080199,-1.13481 c 7.353071,-1.64253 13.640456,-5.71752 21.826811,-14.14646 l 7.208128,-7.42171 "+"-6.410736,-7.513354 c -11.773129,-13.79803 -14.346726,-23.01954 -8.627769,-30.91434 2.894109,-3.9952 11.818482,-12.369333 "+"13.182086,-12.369333 0.411356,0 1.063049,1.6875 1.448207,3.750003 0.980474,5.25038 6.456187,16.76587 10.936694,23 2.075266,2.8875 "+"3.991125,5.25 4.257464,5.25 0.266339,0 3.775242,-3.4875 7.797566,-7.75 16.397034,-17.37615 29.674184,-19.76481 38.280564,-6.88699 "+"4.15523,6.21753 4.18631,8.07093 0.14012,8.3552 -5.84833,0.41088 -17.16241,8.5342 -25.51465,18.319104 l -4.63153,5.42599 "+"4.87803,4.31529 c 6.55108,5.79533 18.8991,11.89272 25.84076,12.76002 3.0455,0.38051 5.53727,1.10582 5.53727,1.6118 0,2.7809 "+"-9.26611,14.41872 -13.03,16.36511 -7.96116,4.11687 -16.36991,0.71207 -32.764584,-13.26677 l -4.985957,-4.25125 -7.086791,8.97188 c "+"-3.897736,4.93454 -8.82141,10.1198 -10.9415,11.52281 -3.906121,2.58495 -8.86588,4.41339 -10.691162,3.94136 z";break;case fw.Check:s="M 60.972125,162.49704 C 51.172676,136.72254 43.561975,123.37669 35.370344,117.6027 l -4.45827,-3.14248 2.75159,-2.89559 c 3.875121,-4.07793 "+"10.034743,-7.49924 14.902472,-8.27747 3.859874,-0.61709 4.458306,-0.38024 8.535897,3.37835 2.660692,2.45254 6.265525,7.60856 9.167226,13.11196 "+"2.630218,4.98849 4.910542,9.06999 5.067388,9.06999 0.156846,0 2.31372,-3.0375 4.793052,-6.75 C 96.259164,91.956015 129.68299,58.786374 157.56485,41.281603 l "+"8.84913,-5.555656 2.2633,2.631238 2.26329,2.631237 -7.76266,6.294183 C 139.859,66.19023 108.01682,105.51363 89.042715,138.83563 c -6.680477,11.73214 "+"-7.172359,12.31296 -15.090788,17.81963 -4.501873,3.13071 -9.044031,6.30443 -10.093684,7.05271 -1.708923,1.21826 -2.010678,1.09165 -2.886118,-1.21093 z";break;case fw.CrossRectangle:s="m 24.152542,102.04237 0,-72.499996 74.5,0 74.499998,0 0,72.499996 0,72.5 -74.499998,0 -74.5,0 0,-72.5 z m 133.758188,0.25 -0.25819,-57.249996 "+"-58.999998,0 -59,0 -0.259695,55.999996 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 13.207991,1.25 59.517885,1.25 l "+"59.039573,0 -0.25819,-57.25 z m -90.574091,43.18692 c -1.823747,-0.3912 -4.926397,-1.85716 -6.894778,-3.25768 -3.319254,-2.36169 -12.289319,-12.40741 "+"-12.289319,-13.76302 0,-0.32888 2.417494,-1.13897 5.372209,-1.80021 7.185193,-1.60797 13.747505,-5.93496 21.803114,-14.3763 l 6.675323,-6.99496 "+"-6.379078,-7.31436 C 64.931387,85.71231 61.643682,76.29465 65.471903,68.89169 67.054097,65.83207 78.56175,54.542374 80.098251,54.542374 c 0.45744,0 "+"1.146839,1.6875 1.531997,3.75 0.980474,5.250386 6.456187,16.765876 10.936694,22.999996 2.075266,2.8875 3.991125,5.25 4.257464,5.25 0.266339,0 "+"3.775244,-3.4875 7.797564,-7.75 16.39704,-17.376139 29.67419,-19.764806 38.28057,-6.88698 4.15523,6.21752 4.18631,8.07092 0.14012,8.35519 -5.82996,0.40959 "+"-18.23707,9.34942 -25.91566,18.67328 -3.90068,4.73647 -3.97203,4.95414 -2.2514,6.86861 3.19054,3.54997 13.7039,10.54321 18.97191,12.61967 2.83427,1.11716 "+"7.43737,2.33421 10.22912,2.70455 2.79175,0.37034 5.07591,0.9956 5.07591,1.38947 0,2.11419 -8.37504,13.20895 -11.6517,15.4355 -8.39423,5.70403 "+"-16.63203,2.77 -34.14289,-12.16054 l -4.985955,-4.25125 -7.086791,8.97188 c -9.722344,12.3085 -16.524852,16.55998 -23.948565,14.96754 z";break;case fw.CheckRectangle:s="m 19.915254,103.5 0,-72.5 71.942245,0 71.942241,0 6.55727,-4.11139 6.55726,-4.11139 1.96722,2.36139 c 1.08197,1.298765 1.98219,2.644166 2.00049,2.98978 "+"0.0183,0.345615 -2.44173,2.53784 -5.46673,4.87161 l -5.5,4.243219 0,69.378391 0,69.37839 -74.999991,0 -75.000005,0 0,-72.5 z m 133.999996,3.87756 c "+"0,-49.33933 -0.12953,-53.514947 -1.62169,-52.276568 -2.78014,2.307312 -15.68408,17.90053 -24.32871,29.399008 -10.4919,13.955575 -23.47926,33.53736 "+"-29.514025,44.5 -4.457326,8.09707 -5.134776,8.80812 -14.291256,15 -5.28667,3.575 -9.903486,6.62471 -10.259592,6.77712 -0.356107,0.15242 -1.912439,-2.99758 "+"-3.458515,-7 -1.546077,-4.00241 -5.258394,-12.41205 -8.249593,-18.68809 -4.285436,-8.99155 -6.676569,-12.64898 -11.27758,-17.25 C 47.70282,104.62757 "+"44.364254,102 43.495254,102 c -2.798369,0 -1.704872,-1.66044 3.983717,-6.049158 5.593548,-4.31539 13.183139,-7.091307 16.801313,-6.145133 3.559412,0.930807 "+"9.408491,8.154973 13.919775,17.192241 l 4.46286,8.94025 4.54378,-6.83321 C 95.518219,96.605618 108.21371,81.688517 125.80695,63.75 L 143.21531,46 l "+"-53.650021,0 -53.650035,0 0,57.5 0,57.5 59.000005,0 58.999991,0 0,-53.62244 z";break;case fw.CrossCircle:s="M 83.347458,173.13597 C 61.069754,168.04956 42.193415,152.8724 32.202285,132.01368 23.4014,113.63986 23.679644,89.965903 32.91889,71.042373 "+"41.881579,52.685283 60.867647,37.139882 80.847458,31.799452 c 10.235111,-2.735756 31.264662,-2.427393 40.964762,0.600679 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879155 2.43666,10.952327 1.56754,28.058524 -1.98036,38.977594 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033911,0.23456 -15.484931,-0.10267 -19.500002,-1.01939 z M 112.4138,158.45825 c 17.13137,-3.13002 "+"33.71724,-15.96081 41.41353,-32.03742 14.8975,-31.119027 -1.10807,-67.659584 -34.40232,-78.540141 -6.71328,-2.193899 -9.93541,-2.643501 "+"-19.07755,-2.661999 -9.354252,-0.01893 -12.16228,0.37753 -18.768532,2.649866 -17.155451,5.900919 -29.669426,17.531424 -36.438658,33.866137 "+"-2.152301,5.193678 -2.694658,8.35455 -3.070923,17.89744 -0.518057,13.139047 0.741843,19.201887 6.111644,29.410237 4.106815,7.80733 15.431893,19.09359 "+"23.36818,23.28808 12.061362,6.37467 27.138828,8.6356 40.864629,6.1278 z M 69.097458,133.41654 c -2.8875,-2.75881 -5.25,-5.35869 -5.25,-5.77751 "+"0,-0.41882 5.658529,-6.30954 12.57451,-13.0905 l 12.57451,-12.329 L 76.198053,89.392633 63.399628,76.565738 68.335951,71.554056 c 2.714978,-2.756426 "+"5.304859,-5.011683 5.75529,-5.011683 0.450432,0 6.574351,5.611554 13.608709,12.470121 l 12.78974,12.470119 4.42889,-4.553471 c 2.43588,-2.50441 "+"8.39186,-8.187924 13.23551,-12.630032 l 8.80663,-8.076559 5.34744,5.281006 5.34743,5.281007 -12.96155,12.557899 -12.96154,12.557897 13.13318,13.16027 "+"13.13319,13.16027 -5.18386,4.66074 c -2.85112,2.5634 -5.70472,4.66073 -6.34134,4.66073 -0.63661,0 -6.5434,-5.4 -13.12621,-12 -6.58281,-6.6 -12.3871,-12 "+"-12.89844,-12 -0.511329,0 -6.593363,5.60029 -13.515627,12.44509 l -12.585935,12.44508 -5.25,-5.016 z";break;case fw.DotCircle:s="M 81.652542,170.5936 C 59.374838,165.50719 40.498499,150.33003 30.507369,129.47131 21.706484,111.09749 21.984728,87.42353 31.223974,68.5 "+"40.186663,50.14291 59.172731,34.597509 79.152542,29.257079 89.387653,26.521323 110.4172,26.829686 120.1173,29.857758 c 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879152 2.43666,10.95233 1.56754,28.05853 -1.98036,38.9776 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033907,0.23456 -15.484927,-0.10267 -19.499998,-1.01939 z m 29.999998,-15.098 c 20.68862,-4.34363 "+"38.01874,-20.45437 44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.0187 0,-30 C 150.08927,65.371023 134.63549,50.297336 114.65254,44.412396 "+"106.5531,42.027127 90.741304,42.026386 82.695253,44.4109 62.460276,50.407701 46.686742,66.039241 41.6053,85.13096 c -1.948821,7.32201 -1.86506,23.11641 "+"0.158766,29.93754 8.730326,29.42481 38.97193,46.91812 69.888474,40.4271 z M 90.004747,122.6703 C 76.550209,117.63801 69.825047,101.82445 "+"75.898143,89.5 c 2.136718,-4.33615 7.147144,-9.356192 11.754399,-11.776953 5.578622,-2.931141 16.413098,-2.927504 22.052908,0.0074 18.03,9.382663 "+"19.07573,32.784373 1.91442,42.841563 -5.57282,3.26589 -15.830952,4.2617 -21.615123,2.09829 z";break;case fw.DotRectangle:s="m 23.847458,101.19491 0,-72.499995 74.5,0 74.499992,0 0,72.499995 0,72.5 -74.499992,0 -74.5,0 0,-72.5 z m 133.999992,-0.008 0,-57.507925 "+"-59.249992,0.25793 -59.25,0.25793 -0.25819,57.249995 -0.258189,57.25 59.508189,0 59.508182,0 0,-57.50793 z m -94.320573,33.85402 c -0.37368,-0.37368 "+"-0.679419,-15.67942 -0.679419,-34.01275 l 0,-33.333335 35.513302,0 35.51329,0 -0.2633,33.749995 -0.2633,33.75 -34.570573,0.26275 c -19.013819,0.14452 "+"-34.876319,-0.043 -35.25,-0.41666 z";break;case fw.NoneCircle:s="M 83.5,170.5936 C 61.222296,165.50719 42.345957,150.33003 32.354827,129.47131 23.553942,111.09749 23.832186,87.423523 33.071432,68.5 "+"42.034121,50.14291 61.020189,34.597509 81,29.257079 c 10.235111,-2.735756 31.26466,-2.427393 40.96476,0.600679 26.18668,8.174684 46.06876,28.926852 "+"51.62012,53.879155 2.43666,10.95232 1.56754,28.058527 -1.98036,38.977597 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 -6.3909,2.08202 "+"-10.18566,2.59644 -21.27805,2.88446 -9.033909,0.23456 -15.484929,-0.10267 -19.5,-1.01939 z m 30,-15.098 c 20.68862,-4.34363 38.01874,-20.45437 "+"44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.018707 0,-29.999997 C 151.93673,65.371023 136.48295,50.297336 116.5,44.412396 108.40056,42.027127 "+"92.588762,42.026386 84.542711,44.410896 64.307734,50.407697 48.5342,66.039237 43.452758,85.130959 c -1.948821,7.322 -1.86506,23.116411 "+"0.158766,29.937541 8.730326,29.42481 38.97193,46.91812 69.888476,40.4271 z";break;case fw.NoneRectangle:s="m 24.152542,102.04237 0,-72.499997 74.5,0 74.500008,0 0,72.499997 0,72.5 -74.500008,0 -74.5,0 0,-72.5 z m 133.758198,0.25 "+"-0.25819,-57.249997 -59.000008,0 -59,0 -0.259695,55.999997 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 "+"13.207991,1.25 59.517885,1.25 l 59.039583,0 -0.25819,-57.25 z";break}return s}static writeTextInCells(s,u){let h=u.component.as(Jb);var c=h.border.size/2*h.page.zoom;let d=h.getTextForPaint(),t=h.page.unit;var m=t.convertToHInches(h.horSpacing*h.page.zoom),p=t.convertToHInches(h.vertSpacing*h.page.zoom);let g=t.convertToHInches(h.cellWidth*h.page.zoom),f=t.convertToHInches(h.cellHeight*h.page.zoom);0==h.cellWidth&&(g=1.5*h.font.getHeight()*h.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale),0==h.cellHeight&&(f=1.5*h.font.getHeight()*h.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale);var e=h.font.size*h.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale;let S=Dg.changeFontSize(h.font,e);if(h.continuousText){let r=u.x+c,t=u.y+c,i=!0,n=0;while(1==1){var a=new bw(r,t,g,f);if(a.right+m<u.right||i){let t=new Mt;t.append(Yy.writeFillBrush(s,h.brush,a)),s.writeStartElement("rect"),s.writeAttributeString("x",V.toUnits(a.x)),s.writeAttributeString("y",V.toUnits(a.y)),s.writeAttributeString("width",V.toUnits(a.width)),s.writeAttributeString("height",V.toUnits(a.height)),s.writeAttributeString("style",t.toString()),s.writeAttributeString("shape-rendering","crispEdges"),s.writeEndElement(),null!=d&&n<d.length&&(s.writeStartElement("text"),s.writeAttributeString("x",this.toUnits(a.x+a.width/2-S.getHeight()/2)),s.writeAttributeString("y",this.toUnits(a.y+a.height/2+S.getHeight()/2)),s.writeAttributeString("style",this.getStyleString(S,hi.toColor(h.textBrush))),s.writeString(d[n]),s.writeEndElement());let e=new Ae.ax.StiSvgData;e.component=h,e.x=a.x,e.y=a.y,e.width=a.width,e.height=a.height,V.writeBorder2(s,e),r+=g+m,n++,i=!1}else if(t+=f+p,r=u.x+c,i=!0,!h.wordWrap||u.bottom<t+f+p)break}}else{let o=new Fr(1,1),n=u.x+c+g;while(n+m+g<u.right)n+=m+g,o.width++;let a=u.y+c+f;while(a+p+f<u.bottom)a+=p+f,o.height++;h.wordWrap||(o.height=1);let l=new Ee,e="";null==d&&(d="");for(let t=0;t<d.length;t++){var r=d[t];Be.isControl(r)?"\n"!=r&&"\r"!=r||(l.add(Sw.trimEndWhiteSpace(e)),e=""):e+=r}if(""!=e&&l.add(Sw.trimEndWhiteSpace(e)),0==l.length&&l.add(e),h.wordWrap)for(let s=0;s<l.length;s++){let a=l[s];if(a.length>o.width){let e=[],r=0,i=0;while(i<a.length&&Be.isWhitespace(a[i]))e[i]=r,i++;for(let t=i;t<a.length;t++)Be.isWhitespace(a[t])&&r++,e[t]=r;let t=o.width,n=t-1;if(0<e[t])if(e[t]!=e[n])while(Be.isWhitespace(a[t]))t++;else{while(!Be.isWhitespace(a[t]))t--;n=t++;while(Be.isWhitespace(a[n]))n--}l.setByIndex(s,a.substring(0,n+1)),l.insert(s+1,a.substring(t,a.length-t))}}a=u.y+c;for(let e=0;e<o.height;e++){let i=e<l.length?l[e]:"",t=0;h.horAlignment==Bs.Center&&(t=(o.width-i.length)/2),h.horAlignment==Bs.Right&&(t=o.width-i.length),0<t&&(i=De.repeat(" ",t)+i),n=u.x+c;for(let r=0;r<o.width;r++){var b=new bw(n,a,g,f);let t=new Mt;t.append(Yy.writeFillBrush(s,h.brush,b)),s.writeStartElement("rect"),s.writeAttributeString("x",V.toUnits(b.x)),s.writeAttributeString("y",V.toUnits(b.y)),s.writeAttributeString("width",V.toUnits(b.width)),s.writeAttributeString("height",V.toUnits(b.height)),s.writeAttributeString("style",t.toString()),s.writeAttributeString("shape-rendering","crispEdges"),s.writeEndElement();var y=h.rightToLeft?o.width-r-1:r;y<i.length&&(s.writeStartElement("text"),s.writeAttributeString("x",this.toUnits(b.x+b.width/2-S.size/2)),s.writeAttributeString("y",this.toUnits(b.y+b.height/2+S.size/2)),s.writeAttributeString("style",this.getStyleString(S,hi.toColor(h.textBrush))),s.writeString(i[y]),s.writeEndElement());let e=new Ae.ax.StiSvgData;e.component=h,e.x=b.x,e.y=b.y,e.width=b.width,e.height=b.height,V.writeBorder2(s,e),n+=g+m}a+=f+p}}}};V.correctFontSize=1.35,V.pdfCKT=.56,Ae.ax.StiSvgHelper=V}Ae.ax.IStiHtml5ExportService=new Ae.b.Interface("IStiHtml5ExportService");let yw=Ae.aA.StiDashboardExport,vw=Ae.as.IStiPictorialSeries,ww=Ae.ap.IStiTextOptions,Cw=Ae.ap.IStiIgnoreBorderWhenExport,Tw=Ae.as.IStiFontIconsSeries;{let At=class extends Ae.ax.StiExportService{constructor(){super(),this.renderedPagesCount=0,this.currentPassNumber=0,this.maximumPassNumber=0,this.multipleFiles=!1,this.clearOnFinish=!0,this.tableRender=null,this.htmlWriter=null,this.zip=null,this.fileName="",this.startPage=0,this.imageNumber=1,this.zoom=.75,this.useStylesTable=!0,this.isFileStreamMode=!0,this.imageQuality=.75,this.imageResolution=96,this.compressToArchive=!1,this.useEmbeddedImages=!1,this.openLinksTarget=null,this.chartType=Ae.ax.StiHtmlChartType.Image,this.strSpanDiv="span",this.hyperlinksToTag=null,this.pointerToBookmark=null,this.pointerToTag=null,this.chartData=new Dt,this.hashBookmarkGuid=null,this.hiToPt=.716,this.renderStyles=!0,this.styles=null,this.insertInteractionParameters=!1,this.totalPageWidth=0,this.totalPageHeight=0,this.renderAsDocument=!0,this.removeEmptySpaceAtBottom=Hd.Export.Html.removeEmptySpaceAtBottom,this.pageHorAlignment=Ds.Center}get exportFormat(){if(this.exportSettings.stimulsoft().is(Ae.ax.StiHtmlExportSettings)){var t=this.exportSettings.htmlType;if(t==Ae.ax.StiHtmlType.Html5)return Ae.c.StiExportFormat.Html5;if(t==Ae.ax.StiHtmlType.Mht)return Ae.c.StiExportFormat.Mht}return Ae.c.StiExportFormat.Html}exportTo(e,r,i){var i=(this.exportSettings=i).stimulsoft().as(Ae.ax.StiHtmlExportSettings),t;if((null!=i?i.htmlType:Ae.ax.StiHtmlType.Html)==Ae.ax.StiHtmlType.Html5){let t=new Ae.ax["StiHtml5ExportService"];t.exportHtml(e,r,i)}else this.exportHtml(e,r,i)}exportToAsync(r,i,n,a){let t=this;this.exportSettings=a,setTimeout(()=>Y.tsfb(this,void 0,void 0,function*(){if(yield Ae.ax.StiExportImageHelper.convertAllImages(i,Ae.bp.ImageFormat.Png,!1,this.exportFormat),!i.isDocument&&i.getCurrentPage().is(Wf)){var e=[];let t=new Kt(e);return void yw.exportAsync(i,t,a).try(()=>{n.write(t.toArray().join("")),r(n)})}t.exportTo(i,n,a),null!=i&&null!=i.preparedExportImages&&(i.preparedExportImages.clear(),i.preparedExportImages=null),gv.renderOnlineMap(n).try(()=>r())}),0)}exportToAsync2(e,r,i){return Y.tsfb(this,void 0,void 0,function*(){var t=this;return this.exportSettings=i,this.exportSettings=i,yield Ae.ax.StiExportImageHelper.convertAllImages(e,Ae.bp.ImageFormat.Png,!1,this.exportFormat),t.exportTo(e,r,i),null!=e&&null!=e.preparedExportImages&&(e.preparedExportImages.clear(),e.preparedExportImages=null),new Promise(t=>{gv.renderOnlineMap(r).try(()=>t())})})}static getFontScale(t,e){var r=t+"*"+e.toString(),t,t;let i=this.fontScale.get(r);return null==i&&(t=new Ar(t,e),t=Rr.measureString("H",t),i=t.height/e*.75*.97,this.fontScale.set(r,i)),i}addCoord(t){this.coordX[t.left]=t.left,this.coordY[t.top]=t.top,this.coordX[t.right]=t.right,this.coordY[t.bottom]=t.bottom}formatCoords(t){let e=new Ee;for(var r of this.coordX.getKeys())null!=r&&(e[r]=Ne.round2(t.unit.convertToHInches(this.coordX[r])*this.zoom*this.hiToPt,2));this.coordX=e;let i=new Ee;for(var n of this.coordY.getKeys())null!=n&&(i[n]=Ne.round2(t.unit.convertToHInches(this.coordY[n])*this.zoom*this.hiToPt,2));this.coordY=i}formatCoord(t){return Ne.round2(t,2).toString()+"pt"}formatColor(t){if(t.a<255&&0<t.a)return De.format("rgba({0},{1},{2},{3})",t.r,t.g,t.b,Ne.round2(t.a/255,3));return re.toHtml(t)}formatColorRgba(t){return De.format("rgba({0}, {1}, {2}, {3})",t.r,t.g,t.b,t.a/255)}getBorderStyle(t){switch(t){case Jr.Dot:return" dotted";case Jr.Dash:case Jr.DashDot:case Jr.DashDotDot:return" dashed";case Jr.Double:return" double";default:return" solid"}}setCurrentCulture(){}restoreCulture(){}renderFont(t,e){let r="";Ae.bn.Graphics.allowStyle(e.fontFamily.name,e.style)&&(e.bold&&(r+="bold "),e.italic&&(r+="italic ")),r+=Ne.trunc(e.size*this.zoom).toString().split(",").join(".")+"pt ";let i=Ae.bn.Graphics.getCustomFontName(e.fontFamily.name,e.style);i.stimulsoft().contains(" ")&&(i="'"+i+"'"),r+=i;var n=e.underline?e.strikeout?"underline line-through":"underline":e.strikeout?"line-through":"";null==t?(this.htmlWriter.writeStyleAttribute("Font",r),(e.underline||e.strikeout)&&this.htmlWriter.writeStyleAttribute("text-decoration",n)):(t.style.set("Font",r),(e.underline||e.strikeout)&&t.style.set("text-decoration",n))}renderTextHorAlignment(t,e,r){var e=null!=e&&e.rightToLeft;let i="";r==Bs.Left&&(i=e?"right":"left"),r==Bs.Right&&(i=e?"left":"right"),r==Bs.Center&&(i="center"),r==Bs.Width&&(i="justify"),""!=i&&(null==t?(this.htmlWriter.writeStyleAttribute("text-align",i),this.exportSettings.exportMode!=Ae.ax.StiHtmlExportMode.Table&&("left"==i&&this.htmlWriter.writeStyleAttribute("justify-content","flex-start"),"right"==i&&this.htmlWriter.writeStyleAttribute("justify-content","flex-end"),"center"==i&&this.htmlWriter.writeStyleAttribute("justify-content","center"),"justify"==i&&this.htmlWriter.writeStyleAttribute("justify-content","space-between"))):t.style.set("text-align",i))}renderVertAlignment(t,e,r=null,i=!1){let n="";var r=null!=r&&r.trimming!=Or.None;e==Go.Top&&(n="top"),e==Go.Center&&(n="middle"),e==Go.Bottom&&(n="bottom"),""!=n&&(null==t?this.exportSettings.exportMode==Ae.ax.StiHtmlExportMode.Table||i?this.htmlWriter.writeStyleAttribute("vertical-align",n):(e==Go.Top&&(n="flex-start"),e==Go.Center&&(n="center"),e==Go.Bottom&&(n="flex-end"),r?(this.htmlWriter.writeStyleAttribute("display","block"),this.htmlWriter.writeStyleAttribute("white-space","nowrap"),this.htmlWriter.writeStyleAttribute("text-overflow","ellipsis")):this.htmlWriter.writeStyleAttribute("display","flex"),this.htmlWriter.writeStyleAttribute("align-items",n)):t.style.set("vertical-align",n))}renderTextDirection(t,e){null!=e&&e.rightToLeft&&(null==t?this.htmlWriter.writeStyleAttribute("direction","rtl"):t.style.set("direction","rtl"))}renderBackColor(t,e){255==e.a?null==t?this.htmlWriter.writeStyleAttribute("background-color",this.formatColor(e)):t.style.set("background-color",this.formatColor(e)):0<e.a&&(null==t?this.htmlWriter.writeStyleAttribute("background",this.formatColorRgba(e)):t.style.set("background",this.formatColorRgba(e)))}renderTextColor(t,e,r=!1){e.equals(Fe.black)&&!r||(null==t?this.htmlWriter.writeStyleAttribute("color",this.formatColor(e)):t.style.set("color",this.formatColor(e)))}renderBorder(t){var e;null!=t&&t.is(el)&&!t.is(Cw)&&this.renderBorder2(t.border)}renderBorder2(n){if(null!=n){let t=null,e=null,r=null,i=null;var a=n.stimulsoft().as($r);null!=a?(t=a.leftSide,e=a.rightSide,r=a.topSide,i=a.bottomSide):(t=new Yr(n.color,n.size,n.style),n.isRightBorderSidePresent&&(e=t),n.isTopBorderSidePresent&&(r=t),n.isBottomBorderSidePresent&&(i=t),n.isLeftBorderSidePresent||(t=null)),this.renderBorder3(null,t,"left"),this.renderBorder3(null,e,"right"),this.renderBorder3(null,r,"top"),this.renderBorder3(null,i,"bottom")}}renderBorder3(e,r,i,n=0){var a=(100*n).toString()+"px";if(null!=r&&r.style!=Jr.None){var s=this.formatColor(r.color),o=this.getBorderStyle(r.style);let t=r.size;0<t&&t<1&&(t=1),t<1&&(r.style==Jr.Dash||r.style==Jr.DashDot||r.style==Jr.DashDotDot||r.style==Jr.Dot)&&(t=1),r.style==Jr.Double&&(t=2.5);var r=Ne.round2(t).toString()+"px";null==e?(this.htmlWriter.writeStyleAttribute(De.format("border-{0}-color",i),s),this.htmlWriter.writeStyleAttribute(De.format("border-{0}-style",i),o),this.htmlWriter.writeStyleAttribute(De.format("border-{0}-width",i),r),0!=n&&this.htmlWriter.writeStyleAttribute("border-radius",a)):(e.style.set(De.format("border-{0}-color",i),s),e.style.set(De.format("border-{0}-style",i),o),e.style.set(De.format("border-{0}-width",i),r),0!=n&&e.style.set("border-radius",a))}}renderPosition(t,e=!1){var r=t.componentToPage(t.clientRectangle),i=this.formatCoord(this.coordX[r.left]),n=this.formatCoord(this.coordY[r.top]+this.startPage*this.zoom*this.hiToPt);let a=this.coordX[r.right]-this.coordX[r.left],s=this.coordY[r.bottom]-this.coordY[r.top],o=t.as(el);null!=o&&null!=o.border&&(o.border.stimulsoft().is($r)||o.border.style!=Jr.None&&0<o.border.size&&o.border.side!=Xr.None&&(0<(o.border.side&Xr.Left)&&(a-=.375*o.border.size),0<(o.border.side&Xr.Right)&&(a-=.375*o.border.size),0<(o.border.side&Xr.Top)&&(s-=.375*o.border.size),0<(o.border.side&Xr.Bottom)&&(s-=.375*o.border.size)));var l=t.as($o);null==l||l.margins.isEmpty||(a-=(Ne.trunc(l.margins.left*this.zoom)+Ne.trunc(l.margins.right*this.zoom))*this.hiToPt,s-=(Ne.trunc(l.margins.top*this.zoom)+Ne.trunc(l.margins.bottom*this.zoom))*this.hiToPt),a<0&&(a=0),s<0&&(s=0);var r=this.formatCoord(a),t=this.formatCoord(s);if(this.htmlWriter.writeStyleAttribute("left",i),this.htmlWriter.writeStyleAttribute("top",n),this.htmlWriter.writeStyleAttribute("width",r),this.htmlWriter.writeStyleAttribute("height",t),null==l||l.margins.isEmpty||this.htmlWriter.writeStyleAttribute("padding",De.format("{0} {1} {2} {3}",Ae.ax.StiHtmlUnit.newUnit(Ne.trunc(l.margins.top*this.zoom)).toString(),Ae.ax.StiHtmlUnit.newUnit(Ne.trunc(l.margins.right*this.zoom)).toString(),Ae.ax.StiHtmlUnit.newUnit(Ne.trunc(l.margins.bottom*this.zoom)).toString(),Ae.ax.StiHtmlUnit.newUnit(Ne.trunc(l.margins.left*this.zoom)).toString())),e)return r+";"+t;return null}getHeight(t){var e=t.componentToPage(t.clientRectangle);let r=this.coordY[e.bottom]-this.coordY[e.top],i=t.as(el);null!=i&&null!=i.border&&(i.border.stimulsoft().is($r)||i.border.style!=Jr.None&&0<i.border.size&&i.border.side!=Xr.None&&(0<(i.border.side&Xr.Left)&&(r-=.375*i.border.size),0<(i.border.side&Xr.Right)&&(r-=.375*i.border.size)));var t=t.as($o),n;return null==t||t.margins.isEmpty||(r-=.75*(Ne.trunc(t.margins.top)+Ne.trunc(t.margins.bottom))),r<0&&(r=0),this.formatCoord(r)}getWidth(t){var e=t.componentToPage(t.clientRectangle);let r=this.coordX[e.right]-this.coordX[e.left],i=t.as(el);null!=i&&null!=i.border&&(i.border.stimulsoft().is($r)||i.border.style!=Jr.None&&0<i.border.size&&i.border.side!=Xr.None&&(0<(i.border.side&Xr.Left)&&(r-=.375*i.border.size),0<(i.border.side&Xr.Right)&&(r-=.375*i.border.size)));var t=t.as($o),n;return null==t||t.margins.isEmpty||(r-=.75*(Ne.trunc(t.margins.left)+Ne.trunc(t.margins.right))),r<0&&(r=0),this.formatCoord(r)}renderImage(t){let e=null;var r=t.as(yd);null!=r&&(e=r.imageURLValue,De.isNullOrEmpty(e)&&null!=r.image&&(e=r.image.base64)),this.setCurrentCulture(),this.renderImage2(r,t.as(ad),e),this.restoreCulture()}renderImage2(r,i,n){if(null!=i){var a=i.stimulsoft().as(sd),s;let t=this.zoom,e=this.imageResolution;Hd.Export.Html.useImageResolution&&i.stimulsoft().is(yd)&&null!=i.imageToDraw&&(50<=(s=i.imageToDraw.horizontalResolution)&&s<=1250&&(e=s)),100!=e&&(t*=e/100);var i=null,s={ref:t},i=a.imageToDraw;t=s.ref,this.restoreCulture(),this.renderImage3(r,i,n,t)}}renderImage3(i,n,a,t){if(null!=n){let r=a=!(De.isNullOrEmpty(a)||a.stimulsoft().startsWith("http")||a.stimulsoft().startsWith("ftp"))?null:a;if(De.isNullOrEmpty(a)&&(null!=this.htmlImageHost&&(r=this.htmlImageHost.getImageString(n)),null==r&&(r="")),i.aspectRatio&&i.stretch||i.imageRotation!=Jy.None){var a=this.getWidth(i),n=this.getHeight(i),n,a,s,a;this.htmlWriter.write('<div style="'),this.htmlWriter.writeStyleAttribute("width",a),this.htmlWriter.writeStyleAttribute("height",n);let t=i.horAlignment,e=i.vertAlignment;switch(i.imageRotation){case Jy.Rotate90CW:e=i.horAlignment==Ds.Left?Go.Bottom:i.horAlignment==Ds.Right?Go.Top:Go.Center,t=i.vertAlignment==Go.Top?Ds.Left:i.vertAlignment==Go.Bottom?Ds.Right:Ds.Center;break;case Jy.Rotate90CCW:e=i.horAlignment==Ds.Left?Go.Top:i.horAlignment==Ds.Right?Go.Bottom:Go.Center,t=i.vertAlignment==Go.Top?Ds.Right:i.vertAlignment==Go.Bottom?Ds.Left:Ds.Center;break;case Jy.Rotate180:i.horAlignment==Ds.Left?t=Ds.Right:i.horAlignment==Ds.Right&&(t=Ds.Left),i.vertAlignment==Go.Top?e=Go.Bottom:i.vertAlignment==Go.Bottom&&(e=Go.Top);break;case Jy.FlipHorizontal:i.horAlignment==Ds.Left?t=Ds.Right:i.horAlignment==Ds.Right&&(t=Ds.Left);break;case Jy.FlipVertical:i.vertAlignment==Go.Top?e=Go.Bottom:i.vertAlignment==Go.Bottom&&(e=Go.Top);break}i.imageRotation!=Jy.Rotate90CCW&&i.imageRotation!=Jy.Rotate90CW||(this.htmlWriter.write('"><div style="'),this.htmlWriter.writeStyleAttribute("width",n),this.htmlWriter.writeStyleAttribute("height",a),n=i.componentToPage(i.clientRectangle),a=this.coordY[n.bottom]-this.coordY[n.top],a=(this.coordX[n.right]-this.coordX[n.left]-a)/2,this.htmlWriter.writeStyleAttribute("position","relative"),this.htmlWriter.writeStyleAttribute("left",this.formatCoord(a)),this.htmlWriter.writeStyleAttribute("top",this.formatCoord(-a)),this.htmlWriter.writeStyleAttribute("transform",`rotate(${i.imageRotation==Jy.Rotate90CCW?"-":""}90deg)`)),this.htmlWriter.writeStyleAttribute("background-repeat","no-repeat"),this.htmlWriter.writeStyleAttribute("background-size",i.aspectRatio?"contain":"100% 100%"),this.htmlWriter.writeStyleAttribute("background-position",Ds[t].toLowerCase()+" "+Go[e].toLowerCase()),this.htmlWriter.writeStyleAttribute("background-image","url("+Ae.ax.StiHtmlTable.stringToUrl(r)+")"),i.imageRotation==Jy.FlipHorizontal?this.htmlWriter.writeStyleAttribute("transform","scaleX(-1)"):i.imageRotation==Jy.FlipVertical?this.htmlWriter.writeStyleAttribute("transform","scaleY(-1)"):i.imageRotation==Jy.Rotate180&&this.htmlWriter.writeStyleAttribute("transform","scale(-1)"),i.imageRotation==Jy.Rotate90CCW||i.imageRotation==Jy.Rotate90CW?this.htmlWriter.write('"></div>'):this.htmlWriter.write('">'),this.htmlWriter.write("</div>")}else this.htmlWriter.writeBeginTag('div style="'),this.htmlWriter.writeStyleAttribute("display","table-cell"),this.htmlWriter.writeStyleAttribute("max-width",this.getWidth(i)),this.renderVertAlignment(null,i.vertAlignment),this.htmlWriter.write('">'),this.htmlWriter.writeBeginTag('img style="'),i.stretch&&(this.htmlWriter.writeStyleAttribute("height",this.getHeight(i)),this.htmlWriter.writeStyleAttribute("width",this.getWidth(i))),this.htmlWriter.write('"'),this.htmlWriter.writeAttribute("src",r),this.htmlWriter.write(">"),this.htmlWriter.writeEndTag("img"),this.htmlWriter.writeEndTag("div")}}renderHyperlink(e){let r=e.hyperlinkValue;var i;De.isNullOrEmpty(r)||(r=r.trim(),r.startsWith("javascript:")&&(r=null)),!De.isNullOrWhiteSpace(r)&&r.stimulsoft().startsWith("##")&&(2<r.length&&"#"==r.charAt(2)?(r=r.substr(2),null!=(i=this.pointerToBookmark.get(r.substr(1)))&&(r="#"+i)):r=r.substr(1));let n=e.bookmarkValue;var i=e.tagValue;null==n&&(!De.isNullOrEmpty(i)&&this.hyperlinksToTag.containsKey(i)?n=i:De.isNullOrWhiteSpace(e.pointerValue)||De.isNullOrEmpty(e.guid)||(n=e.pointerValue+"#GUID#"+e.guid));let a=null;if(!De.isNullOrWhiteSpace(e.guid)&&this.hashBookmarkGuid.containsKey(e.guid)&&(a=e.guid),!De.isNullOrWhiteSpace(r)){var i=e.componentToPage(e.clientRectangle),i=this.formatCoord(this.coordY[i.bottom]-this.coordY[i.top]),i,i,s;let t=new Mt;return t.append("display:block;height:"+i+";text-decoration:none;"),e.is(nl)&&(i=e,i=hi.toColor(i.textBrush),t.append("color:"+this.formatColor(i)+";")),e.is(il)&&(e.font.underline?t.append("text-decoration:underline;"):t.append("text-decoration:none;")),this.htmlWriter.writeBeginTag("a"),De.isNullOrWhiteSpace(this.openLinksTarget)||this.htmlWriter.writeAttribute("target",this.openLinksTarget),De.isNullOrWhiteSpace(n)||this.htmlWriter.writeAttribute("name",n.split("'").join("")),De.isNullOrWhiteSpace(a)||this.htmlWriter.writeAttribute("guid",a),this.htmlWriter.writeAttribute("style",t.toString()),this.htmlWriter.writeAttribute("href",r),this.htmlWriter.write(">"),!0}if(!De.isNullOrWhiteSpace(n)||!De.isNullOrWhiteSpace(a))return this.htmlWriter.writeBeginTag("a"),De.isNullOrWhiteSpace(this.openLinksTarget)||this.htmlWriter.writeAttribute("target",this.openLinksTarget),De.isNullOrWhiteSpace(n)||this.htmlWriter.writeAttribute("name",n.split("'").join("")),De.isNullOrWhiteSpace(a)||this.htmlWriter.writeAttribute("guid",a),Hd.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),!0;return!1}renderPage(e,r,i,n=null,t=!1){var a,i,a;if(this.exportSettings.addPageBreaks&&(this.htmlWriter.writeBeginTag("div"),this.htmlWriter.writeAttribute("class","pagemargins"),this.htmlWriter.write(' style="'),t&&this.htmlWriter.writeStyleAttribute("page-break-before","always"),this.htmlWriter.writeStyleAttribute("position","relative"),this.htmlWriter.write('"'),this.htmlWriter.writeLine(">"),this.renderWatermarkImage(this.htmlWriter,n,0),this.renderWatermarkText(this.htmlWriter,n,0)),this.pageHorAlignment==Ds.Left||this.exportSettings.addPageBreaks||(this.htmlWriter.writeBeginTag(this.strSpanDiv+' style="'),this.htmlWriter.writeStyleAttribute("text-align",this.pageHorAlignment==Ds.Center?"center":"right"),r&&this.htmlWriter.writeStyleAttribute("margin-left",De.format("{0}px",i+4)),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine()),this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="StiPageContainer" style="'),this.renderAsDocument){this.pageHorAlignment!=Ds.Left?this.htmlWriter.writeStyleAttribute("display","inline-block"):r&&this.htmlWriter.writeStyleAttribute("left",De.format("{0}px",i+4)),null!=n?(i=this.report.unit.convertToHInches(n.pageWidth-n.margins.left-n.margins.right),a=this.report.unit.convertToHInches(n.pageHeight-n.margins.top-n.margins.bottom),this.htmlWriter.writeStyleAttribute("width",this.formatCoord(i*this.zoom*this.hiToPt)),this.htmlWriter.writeStyleAttribute("height",this.formatCoord(a*this.zoom*this.hiToPt))):(this.htmlWriter.writeStyleAttribute("width",this.formatCoord(this.totalPageWidth*this.zoom*this.hiToPt)),this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*this.hiToPt))),this.htmlWriter.writeStyleAttribute("position","relative"),this.htmlWriter.writeStyleAttribute("white-space","normal");let t=Fe.transparent;null!=e&&0<e.count&&(null!=e.getByIndex(0).brush&&(t=hi.toColor(e.getByIndex(0).brush)),0!=t.a||null!==(a=e.getByIndex(0).brush)&&void 0!==a&&a.is(ei)||(t=Fe.white),null!=e.getByIndex(0).border&&this.renderBorder(e.getByIndex(0)))}if(this.htmlWriter.write('"'),this.insertInteractionParameters&&null!=n&&null!=n.report&&!n.report.isDocument&&this.isComponentHasEvent(n)){let t=[];n.isClickHandlerEmpty||t.push("onclick"),n.isDoubleClickHandlerEmpty||t.push("ondblclick"),n.isMouseEnterHandlerEmpty||t.push("onmouseenter"),n.isMouseLeaveHandlerEmpty||t.push("onmouseleave"),this.htmlWriter.write(De.format(' interactionevents="{0}"',t.join(", "))),this.htmlWriter.write(De.format(' pageindex="{0}"',n.report.renderedPages.indexOf(n).toString()))}this.htmlWriter.write(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine()}renderEndPage(){this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine(),this.pageHorAlignment==Ds.Left||this.exportSettings.addPageBreaks||(this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine()),this.exportSettings.addPageBreaks&&(this.htmlWriter.writeLine(),this.htmlWriter.writeFullEndTag("div"))}renderStartDoc(t,e,r,i,n,a,s,o){var n,s;this.htmlWriter.writeLine('<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'),this.htmlWriter.writeLine("\x3c!-- "+Y.StiVersion.platform()+" --\x3e"),this.htmlWriter.writeLine('<html xmlns="http://www.w3.org/1999/xhtml">'),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("title"),this.htmlWriter.write(this.report.reportAlias),this.htmlWriter.writeEndTag("title"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("meta"),this.htmlWriter.writeAttribute("http-equiv","Content-Type"),this.htmlWriter.writeAttribute("content",De.format("text/html; charset={0}",o.webName)),this.htmlWriter.writeEndTag("meta"),this.htmlWriter.writeLine(),n&&(n=Ae.aG.StimulsoftFont.getBase64Content(),this.htmlWriter.writeLine("<style>"),this.htmlWriter.writeLine("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+n+") format('truetype');font-weight: normal;font-style: normal;}"),this.htmlWriter.writeLine("</style>"),this.htmlWriter.writeLine()),null!=t&&(e?t.renderStylesTable(r,i,a):t.renderStyles(r,i,a)),r&&this.renderBookmarkScript(),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("body"),null!=s&&0<s.count&&null!=s.getByIndex(0).brush&&(0<(s=hi.toColor(s.getByIndex(0).brush)).a&&this.htmlWriter.writeAttribute("bgcolor",this.formatColor(s))),Hd.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),Hd.Export.Html.printLayoutOptimization&&this.htmlWriter.writeAttribute("style","margin:0;"),this.htmlWriter.write(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine()}fillBitmapBackground(t,e){}renderBookmarkScript(){}renderChartScripts(t=!0){if(0==this.chartData.count)return;t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">"));var e=yr.newGuidString(),r=Ae.aW.StiChartAnimation.getScriptString(),i;this.htmlWriter.writeLine("animateSti"+e+"="+r+";"),this.htmlWriter.writeLine("setTimeout(function() {");for(i of this.chartData.keys)this.htmlWriter.writeLine(`animateSti${e}("${this.chartData.get(i)}")`);this.htmlWriter.writeLine("}, 300);"),t&&(this.htmlWriter.writeEndTag("script"),this.htmlWriter.writeLine())}renderMapsScripts(t=!0){t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")}renderGaugeScripts(t=!0){t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")}getGuid(t){return this.chartData.containsKey(t)||this.chartData.add(t,yr.newGuidString()),this.chartData.get(t)}renderEndDoc(){this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("body"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("html")}renderBookmarkTree(t,e,r){var i=[];this.addBookmarkNode(t,-1,i),this.htmlWriter.writeStyleAttribute("width",De.format("{0}px",e)),this.htmlWriter.writeStyleAttribute("background-color","#f0f0f0"),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine(),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("frame"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine("\x3c!--"),this.htmlWriter.writeLine("bmrk = new dTree('bmrk');");for(let e=0;e<i.length;e++){var n=i[e];let t="";t=r.containsKey(n.title)?De.format("Page {0}",r.get(n.title)+1):"Page 0",this.htmlWriter.writeLine(De.format("bmrk.add({0}, {1}, '{2}', '{3}', '{4}');",e,n.parent,n.title,n.url,t))}this.htmlWriter.writeLine("document.write(bmrk);"),this.htmlWriter.writeLine("//--\x3e"),this.htmlWriter.indent--,this.htmlWriter.writeEndTag("script"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.indent--}addBookmarkNode(e,t,r){let i=new a;i.parent=t;var t=e.text.stimulsoft().replaceAll("'","\\'").stimulsoft().replaceAll("\r","").stimulsoft().replaceAll("\n","");i.title=t,i.url="#"+t,i.used=!0,r.push(i);var n=r.length-1;if(0!=e.bookmarks.count)for(let t=0;t<e.bookmarks.count;t++)this.addBookmarkNode(e.bookmarks.getByIndex(t),n,r)}prepareTextForHtml(t,e=!0){if(null==t)return null;let i=new Mt;if(e){var n=t.split("\n");for(let r=0;r<n.length;r++){let t=n[r],e=0;while(e<t.length&&" "==t.charAt(e))e++;if(0<e){for(let t=0;t<e;t++)i.append("&nbsp;");i.append(t.substr(e))}else i.append(t);r<n.length-1&&i.append("<br>")}}else t=(t=t.stimulsoft().replaceAll("\r","")).stimulsoft().replaceAll("\n","<br>"),i.append(t);return i.toString()}static convertTextWithHtmlTagsToHtmlText(i,t,n){if(!De.isNullOrEmpty(t)&&t.stimulsoft().startsWith("<StiHtmlJs>"))return t.substring("<StiHtmlJs>".length);var e=t,a=new xg(i.font.bold,i.font.italic,i.font.underline,i.font.strikeout,i.font.size,i.font.name,hi.toColor(i.textBrush),hi.toColor(i.brush),!1,!1,0,0,i.lineSpacing,i.horAlignment),t=new Pg(a,0),s=Ko.parseHtmlToStates(e,t),o;let l=new Mt,u=Bs.Left,h=i.lineSpacing,c=!0,d=!1,m=new Mt,p=a;for(let t=0;t<s.length;t++){let e=s[t],r=e.ts;if(r.bold==p.bold||r.bold||m.append("</b>"),r.italic==p.italic||r.italic||m.append("</i>"),r.underline==p.underline||r.underline||m.append("</u>"),r.strikeout==p.strikeout||r.strikeout||m.append("</s>"),r.superscript==p.superscript||r.superscript||m.append("</sup>"),r.subsript==p.subsript||r.subsript||m.append("</sub>"),r.bold!=p.bold&&r.bold&&m.append("<b>"),r.italic!=p.italic&&r.italic&&m.append("<i>"),r.underline!=p.underline&&r.underline&&m.append("<u>"),r.strikeout!=p.strikeout&&r.strikeout&&m.append("<s>"),r.superscript!=p.superscript&&r.superscript&&m.append("<sup>"),r.subsript!=p.subsript&&r.subsript&&m.append("<sub>"),!r.fontColor.equals(p.fontColor)||!r.backColor.equals(p.backColor)||r.fontName!=p.fontName||r.fontSize!=p.fontSize||r.letterSpacing!=p.letterSpacing||r.wordSpacing!=p.wordSpacing||r.htmlStyle!=p.htmlStyle){let t="";r.htmlStyle!=p.htmlStyle&&(t+=r.htmlStyle+";"),r.fontColor.equals(a.fontColor)||!t.stimulsoft().contains("color:")&&0<r.fontColor.a&&(t+=De.format("color:#{0:X6};",16777215&r.fontColor.toArgb())),r.backColor.equals(a.backColor)||!t.stimulsoft().contains("background-color:")&&0<r.backColor.a&&(t+=De.format("background-color:#{0:X6};",16777215&r.backColor.toArgb())),r.fontName!=a.fontName&&(t.stimulsoft().contains("font-family:")||(t+=De.format("font-family:{0};",r.fontName))),r.fontSize!=a.fontSize&&(t.stimulsoft().contains("font-size:")||(t+=De.format("font-size:{0}pt;",r.fontSize*n).split(",").join("."),t+=De.format("line-height:{0}em;",Ne.round2(r.lineHeight*this.getFontScale(r.fontName,r.fontSize),2)).split(",").join("."))),r.letterSpacing!=a.letterSpacing&&(t.stimulsoft().contains("letter-spacing:")||(t+=De.format("letter-spacing:{0}em;",r.letterSpacing).split(",").join("."))),r.wordSpacing!=a.wordSpacing&&(t.stimulsoft().contains("word-spacing:")||(t+=De.format("word-spacing:{0}em;",r.wordSpacing).split(",").join("."))),d&&m.append("</font>"),d=!1,0<t.length&&(d=!0,m.append(De.format('<font style="{0}">',t)))}if(u=r.textAlign,o=r.lineHeight,"\n"==e.text.toString())c&&m.append("&nbsp;"),l.append(this.getParagraphString(m,u,o,i.lineSpacing,i.rightToLeft,i.font)),m=new Mt,c=!0,h=o;else{let t=r.href;De.isNullOrEmpty(t)||(t=t.trim(),t.startsWith("javascript:")&&(t=null)),De.isNullOrEmpty(t)||m.appendFormat('<a style="text-decoration:none;" href="{0}">',r.href),m.append(e.text),De.isNullOrEmpty(t)||m.append("</a>"),0<e.text.toString().trim().length&&(c=!1)}p=r.clone()}return 0<m.length&&l.append(this.getParagraphString(m,u,h,i.lineSpacing,i.rightToLeft,i.font)),d&&l.append("</font>"),p.bold!=a.bold&&l.append(a.bold?"<b>":"</b>"),p.italic!=a.italic&&l.append(a.italic?"<i>":"</i>"),p.underline!=a.underline&&l.append(a.underline?"<u>":"</u>"),p.strikeout!=a.strikeout&&l.append(a.strikeout?"<s>":"</s>"),p.superscript!=a.superscript&&l.append(a.superscript?"<sup>":"</sup>"),p.subsript!=a.subsript&&l.append(a.subsript?"<sub>":"</sub>"),l.toString()}static getParagraphString(t,e,r,i,n,a){let s=new Mt;s.append("<p "),s.append('style="margin:0px;');let o=n?"right":"left";return e==Bs.Center&&(o="center"),e==Bs.Right&&(o=n?"left":"right"),e==Bs.Width&&(o="justify"),s.append(De.format("text-align:{0};",o)),r!=i&&s.append(De.format("line-height:{0}em;",Ne.round2(r*this.getFontScale(a.name,a.size),2))),s.append('">'),s.append(t),s.append("</p>"),s.toString()}renderWatermarkText(e,r,i=0){if(null!=r&&!De.isNullOrEmpty(r.watermark.text)&&r.watermark.enabled){var n=r.unit.convertRectangleToHInches(r.displayRectangle),a=Ne.trunc(r.watermark.font.size*this.zoom);let t=De.format(" font-size: {0}pt; font-family: {1};",a,r.watermark.font.name);r.watermark.font.bold&&(t+="font-weight:bold;"),r.watermark.font.italic&&(t+="font-style:italic;"),r.watermark.font.underline&&(t+="text-decoration:underline"+(r.watermark.font.strikeout?" ":";")),r.watermark.font.strikeout&&(t+=r.watermark.font.underline?"line-through;":"text-decoration:line-through;");var s=hi.toColor(r.watermark.textBrush),o=De.format("rgb({0},{1},{2})",s.r,s.g,s.b),a=s.a/255,s=r.watermark.showBehind?0:1;e.writeLine(De.format("<div class='stiWatermarkText' style=\"{0} position: absolute; pointer-events: none; filter: alpha(Opacity={2}); opacity: {1}; -moz-opacity: {1}; -khtml-opacity: {1}; color: {5}; min-width: 100%; text-align: center; z-index: {8}; margin-left: {3}; margin-top: {4}; transform: translate(-50%,-50%) rotate(-{6}deg); top:{9}px;\">{7}</div>",t,a,10*a,Ae.ax.StiHtmlUnit.newUnit(Ne.trunc((-r.unit.convertToHInches(r.margins.left)+n.width/2)*this.zoom),Hd.Export.Html.printLayoutOptimization),Ae.ax.StiHtmlUnit.newUnit(Ne.trunc((-r.unit.convertToHInches(r.margins.top)+n.height/2)*this.zoom),Hd.Export.Html.printLayoutOptimization),o,r.watermark.angle,r.watermark.text,s,Ne.trunc(i)))}}renderWatermarkImage(a,s,o=0){if(null!=s&&null!=s.watermark&&s.watermark.enabled&&(null!=s.watermark.image||!De.isNullOrWhiteSpace(s.watermark.imageHyperlink))){let e="",r=0;if(null!=s.watermark.image)e=s.watermark.image.base64,r=s.watermark.image.width;else if(!De.isNullOrEmpty(s.watermark.imageHyperlink))if(Ps.isResourceHyperlink(s.watermark.imageHyperlink)){var l=s.report.dictionary.resources.getByName(Ps.getResourceNameFromHyperlink(s.watermark.imageHyperlink)),u;null==l||null!=(u=Ae.bn.Image.fromBytes(l.content))&&(e=u.base64,r=u.width)}else if(Ps.isVariableHyperlink(s.watermark.imageHyperlink)){let t=s.report.dictionary.variables.getByName(Ps.getVariableNameFromHyperlink(s.watermark.imageHyperlink));var h;null==t||null==t.valueObject||null!=(h=t.valueObject.stimulsoft().as(Ae.bn.Image))&&(e=h.base64,r=h.width)}var c=s.unit.convertRectangleToHInches(s.clientRectangle),l=c.width*Ae.ax.StiMatrix.htmlScaleX*this.zoom,u=c.height*Ae.ax.StiMatrix.htmlScaleY*this.zoom,h=r*s.watermark.imageMultipleFactor*this.zoom,c=s.watermark.showImageBehind?0:1;let t="",i="center",n="center";switch(s.watermark.imageAlignment){case xr.TopLeft:i="left",n="top";break;case xr.TopCenter:i="center",n="top";break;case xr.TopRight:i="right",n="top";break;case xr.MiddleLeft:i="left",n="center";break;case xr.MiddleCenter:i="center",n="center";break;case xr.MiddleRight:i="right",n="center";break;case xr.BottomLeft:i="left",n="bottom";break;case xr.BottomCenter:i="center",n="bottom";break;case xr.BottomRight:i="right",n="bottom";break}t+=De.format("background-position-x: {0};",i),t+=De.format("background-position-y: {0};",n),s.watermark.imageStretch?(t+=`background-size: ${s.watermark.aspectRatio?"contain;":"100% 100%;"}`,t+="background-repeat: no-repeat;"):(t+=`background-size: ${s.watermark.aspectRatio?"contain;":`${Ne.trunc(h/l*100).toString()}%;`}`,t+=De.format("background-repeat: {0};",s.watermark.imageTiling?"repeat":"no-repeat")),a.writeLine(De.format("<div class='stiWatermarkImage' style=\"position: absolute; pointer-events: none; width: {0}px; height: {1}px; left: 0px; top: {5}px; right: 0px; bottom: 0px; z-index: {2}; opacity: {6}; background-image: url({3}); {4};\"></div>",Ne.trunc(l),Ne.trunc(u),c,e,t,Ne.trunc(o),1-s.watermark.imageTransparency/255))}}static getImage(t,e,r){return null}static getFile(t,e){return null}assembleGuidUsedInBookmark(t,e){if(De.isNullOrWhiteSpace(t.componentGuid)||e.set(t.componentGuid,t.text),null!=t.bookmarks&&0<t.bookmarks.count)for(var r of t.bookmarks.list)this.assembleGuidUsedInBookmark(r,e)}static prepareSvg(t,e,r){t.writeBeginTag("svg"),t.writeAttribute("version","1.1"),t.writeAttribute("baseProfile","full"),t.writeAttribute("xmlns","http://www.w3.org/2000/svg"),t.writeAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),t.writeAttribute("xmlns:ev","http://www.w3.org/2001/xml-events"),t.writeAttribute("height",e.toString().split(",").join(".")),t.writeAttribute("width",r.toString().split(",").join(".")),t.write(">")}prepareChartData(t,e,r,i){let n=null,a=null;n=null==t?(a=new Ht,new Ae.ax.StiHtmlTextWriter(a)):t;let s=Ae.ax.StiMatrix.htmlScaleX,o=Ae.ax.StiMatrix.htmlScaleY;this.exportSettings.exportMode==Ae.ax.StiHtmlExportMode.Table&&(s=1,o=1),At.prepareSvg(n,Ne.round2(i*o,2),Ne.round2(r*s,2));let l=new Ae.ax.StiSvgData;l.x=0,l.y=0,l.width=r*s,l.height=i*o,l.component=e;let u=new Kt,h=new Fg(Ot.UTF8,u);return Ae.ax.StiChartSvgHelper.writeChart(h,l,this.zoom,this.chartType==Ae.ax.StiHtmlChartType.AnimatedVector),h.flush(),n.write(Ot.UTF8.getString(u.toArray())),n.writeEndTag("svg"),this.getGuid(e),null==t?a.getStringBuilder().toString():null}prepareSparklineData(t,e,r,i){return At.getSparklineData(t,e,r,i)}static getSparklineData(t,e,r,i){let n=null,a=null;n=null==t?(a=new Ht,new Ae.ax.StiHtmlTextWriter(a)):t;var s=.96;At.prepareSvg(n,Ne.round2(i*s,2),Ne.round2(r*s,2));let o=new Ae.ax.StiSvgData;o.x=0,o.y=0,o.width=r*s,o.height=i*s,o.component=e;let l=new Kt,u=new Fg(Ot.UTF8,l);return Ae.ax.StiSparklineSvgHelper.writeSparkline(u,o),u.flush(),n.write(Ot.UTF8.getString(l.toArray())),n.writeEndTag("svg"),null==t?a.getStringBuilder().toString():null}prepareGaugeData(t,e,r,i){let n,a=null;a=null==t?(n=new Ht,new Ae.ax.StiHtmlTextWriter(n)):t;var s=1;At.prepareSvg(a,Ne.round2(i*s,2),Ne.round2(r*s,2));let o=new Ae.ax.StiSvgData;o.x=0,o.y=0,o.width=r*s,o.height=i*s,o.component=e;let l=new Kt,u=new Fg(Ot.UTF8,l);return Ae.ax.StiGaugeSvgHelper.writeGauge(u,o,this.zoom,this.chartType==Ae.ax.StiHtmlChartType.AnimatedVector),u.flush(),a.write(Ae.bl.Encoding.UTF8.getString(l.toArray())),a.writeEndTag("svg"),null==t?n.getStringBuilder().toString():null}prepareMapData(t,e,r,i){let n,a=null;a=null==t?(n=new Ht,new Ae.ax.StiHtmlTextWriter(n)):t;var s=1;At.prepareSvg(a,Ne.round2(i*s,2),Ne.round2(r*s,2));let o=new Kt,l=new Fg(Ot.UTF8,o);return Ae.ax.StiMapSvgHelper.drawMap(l,e,0,0,r,i,this.chartType==Ae.ax.StiHtmlChartType.AnimatedVector),l.flush(),a.write(Ae.bl.Encoding.UTF8.getString(o.toArray())),a.writeEndTag("svg"),null==t?n.getStringBuilder().toString():null}getChartScript(){var t=this.htmlWriter;let e=new Ht;return this.htmlWriter=new Ae.ax.StiHtmlTextWriter(e),this.renderChartScripts(!1),this.renderGaugeScripts(!1),this.renderMapsScripts(!1),this.htmlWriter=t,e.getStringBuilder().toString()}clear(){null!=this.tableRender&&null!=this.tableRender.matrix&&(this.tableRender.matrix.clear(),this.tableRender.matrix=null),this.tableRender=null,this.coordX=null,this.coordY=null,this.styles=null,this.chartData.clear()}isComponentHasInteraction(t){if(this.insertInteractionParameters&&null!=t.interaction){if(t.interaction.sortingEnabled&&!De.isNullOrWhiteSpace(t.interaction.sortingColumn))return!0;if(t.interaction.drillDownEnabled&&(null!=t.interaction.drillDownPage||!De.isNullOrEmpty(t.interaction.drillDownReport)))return!0;if(t.interaction.stimulsoft().is(sp)&&t.interaction.collapsingEnabled)return!0}return!1}isComponentHasEvent(t){return!(t.isClickHandlerEmpty&&t.isDoubleClickHandlerEmpty&&t.isMouseEnterHandlerEmpty&&t.isMouseLeaveHandlerEmpty)}exportHtml(t,c,e,d=null){var n,o;if(null==d&&(d=e.pageRange.getSelectedPages(t.renderedPages)),null==e)throw new Error("The 'settings' argument cannot be equal in null.");this.exportSettings=e,this.zoom=e.zoom,this.imageFormat=e.imageFormat,this.exportQuality=e.exportQuality;var m=e.exportMode,p=e.exportBookmarksMode!=Ae.ax.StiHtmlExportBookmarksMode.ReportOnly,g=e.bookmarksTreeWidth,f=e.exportBookmarksMode==Ae.ax.StiHtmlExportBookmarksMode.BookmarksOnly;this.useStylesTable=e.useStylesTable,this.imageResolution=e.imageResolution,this.imageQuality=e.imageQuality,this.removeEmptySpaceAtBottom=e.removeEmptySpaceAtBottom,this.pageHorAlignment=e.pageHorAlignment,this.compressToArchive=e.compressToArchive,this.useEmbeddedImages=e.useEmbeddedImages,this.openLinksTarget=e.openLinksTarget,this.chartType=e.chartType;var S=!0,p=p&&null!=t.bookmark&&0!=t.bookmark.bookmarks.count,r,a,i,b,y,v,w,l,u,h,C,T;m==Ae.ax.StiHtmlExportMode.Span?this.strSpanDiv="span":m==Ae.ax.StiHtmlExportMode.Div&&(this.strSpanDiv="div"),this.isFileStreamMode=!De.isNullOrEmpty(this.fileName),this.useEmbeddedImages&&(this.isFileStreamMode=!1),this.storedCulture=xt.currentCulture;try{null==this.htmlImageHost&&(this.htmlImageHost=new Ae.ax.StiHtmlImageHost(this)),xt.currentCulture=xt.cultures["en-US"],this.hashBookmarkGuid=new Dt,this.assembleGuidUsedInBookmark(t.bookmark,this.hashBookmarkGuid),this.htmlWriter=c,this.report=t,this.totalPageWidth=0,this.totalPageHeight=0,this.startPage=0,this.imageNumber=1;let i=new Dt;if(p){let e=0;for(var P of d.list){let t=P.getComponents();t.add(P);for(var I of t.list)if(I.enabled){let t=I.bookmarkValue;De.isNullOrWhiteSpace(t)||(t=t.split("'").join(""),0<t.length&&(i.containsKey(t)||i.add(t,e)))}e++}}let s=!1;for(var A of d.list){for(a of A.getComponents().list){let e=a;if(e.enabled&&e.is(Eo)){let t=e;null!=t&&0<t.series.count&&(t.series.getByIndex(0).is2(vw)||t.series.getByIndex(0).is2(Tw))&&(s=!0)}}}if(m==Ae.ax.StiHtmlExportMode.Span||m==Ae.ax.StiHtmlExportMode.Div){let l=new Ae.ax.StiHtmlTableRender(this,e,new Fd(t,d));if(this.isStopped)return;this.coordX=new Ee,this.coordY=new Ee,this.hyperlinksToTag=new Dt,this.pointerToBookmark=new Dt,this.pointerToTag=new Dt;for(var x of d.list)this.totalPageWidth=Math.max(this.totalPageWidth,x.unit.convertToHInches(x.width)),this.totalPageHeight+=x.unit.convertToHInches(x.height);for(var D of d.list){var B=D.getComponents(),E,k,N,F,R;let e=D.unit.convertRectangleToHInches(D.clientRectangle);Hd.Export.Html.exportComponentsFromPageMargins&&(E=D.unit.convertToHInches(D.margins.left),k=D.unit.convertToHInches(D.margins.right),N=D.unit.convertToHInches(D.margins.top),F=D.unit.convertToHInches(D.margins.bottom),e=new os(-E,-N,e.width+E+k,e.height+N+F));for(R of B.list){var L=D.unit.convertRectangleToHInches(R.displayRectangle),M,O,H;let t=!0;if(R.is(cb)&&(t=!1),(L.right<e.left||L.left>e.right||L.bottom<e.top||L.top>e.bottom)&&(t=!1),R.enabled&&t){if(this.addCoord(R.displayRectangle),null!=R.hyperlinkValue){let t=R.hyperlinkValue;!De.isNullOrEmpty(t)&&2<t.length&&t.stimulsoft().startsWith("##")&&"#"!=t.charAt(2)&&this.hyperlinksToTag.set(t.substr(2),null)}null==R.pointerValue||De.isNullOrWhiteSpace(R.pointerValue)||De.isNullOrEmpty(R.guid)||(M=R.pointerValue+"#GUID#"+R.guid,O=R.bookmarkValue,De.isNullOrWhiteSpace(O)||this.pointerToBookmark.set(M,O),H=R.tagValue,null!=O||De.isNullOrEmpty(H)||this.pointerToTag.set(M,H))}}}for(var _ of this.pointerToTag.keys){var V=this.pointerToTag.get(_);this.hyperlinksToTag.containsKey(V)&&this.pointerToBookmark.set(_,V)}this.pointerToTag.clear(),this.formatCoords(t);let u=new Dt,h=new Dt;for(var G of d.list){for(b of G.getComponents().list){let r=b;if(r.enabled){if(S){let e=r;if(null!=e&&null!=e.brush&&!e.brush.is(si)&&!e.brush.is(ei)){r=b.clone();let t=Fe.transparent;null!=e.brush&&(e.brush.is(ni)&&(t=e.brush.as(ni).startColor),e.brush.is(ri)&&(t=e.brush.as(ri).startColor),e.brush.is(ii)&&(t=e.brush.as(ii).color)),r.brush=new si(t)}}let t=l.matrix.getStyleFromComponent(r,-1,-1,this.exportServiceId);t.absolutePosition=!0,d.cacheMode||u.set(b,t);var U=null===(n=r.tagValue)||void 0===n?void 0:n.stimulsoft().as(String);if(!De.isNullOrEmpty(U)){let r=Ae.ax.StiMatrix.splitTag(U);for(let e=0;e<r.length;e++)if(r[e].toLowerCase().stimulsoft().startsWith("css")){let t=Ae.ax.StiMatrix.getStringsFromTag(r[e],3);if(1<t.length){var j=t[0].trim();h.set(j,t[1].trim()+";position:absolute;"),u.set(b,j);break}}}}}}if(l.matrix.checkStylesNames(),this.renderAsDocument&&this.renderStartDoc(l,!1,p,f,s,h,d,e.encoding),!this.renderAsDocument&&p&&this.renderBookmarkScript(),!this.exportSettings.addPageBreaks){let r=0;for(let e=0;e<d.count;e++){let t=d.getByIndex(e);this.renderWatermarkImage(this.htmlWriter,t,r),this.renderWatermarkText(this.htmlWriter,t,r),r+=t.unit.convertRectangleToHInches(t.clientRectangle).height*Ae.ax.StiMatrix.htmlScaleY*this.zoom}}if(p&&(this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="dtreeframe" style="'),this.htmlWriter.writeStyleAttribute("position","absolute"),f||this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*this.hiToPt)),this.renderBookmarkTree(t.bookmark,g,i),this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine()),f||this.exportSettings.addPageBreaks||this.renderPage(d,p,g),this.renderAsDocument||l.renderStyles(p,f,h),!f)for(let t=0;t<d.count;t++){let o=d.list[t];if(this.isStopped)return;this.exportSettings.addPageBreaks&&this.renderPage(d,p,g,o,0<t);var W=o.getComponents(),q,z,X,J,Y,Q,K;let r=o.unit.convertRectangleToHInches(o.clientRectangle);Hd.Export.Html.exportComponentsFromPageMargins&&(q=o.unit.convertToHInches(o.margins.left),z=o.unit.convertToHInches(o.margins.right),X=o.unit.convertToHInches(o.margins.top),J=o.unit.convertToHInches(o.margins.bottom),r=new os(-q,-X,r.width+q+z,r.height+X+J));for(Y of W.list){let s=Y,t=o.unit.convertRectangleToHInches(s.displayRectangle);var Z=t.multiply(this.zoom);let e=!0;if(s.is(cb)&&(e=!1),(t.right<r.left||t.left>r.right||t.bottom<r.top||t.top>r.bottom)&&(e=!1),s.enabled&&e){let e=null,r=null==u.get(Y)?null:u.get(Y).stimulsoft().as(Ae.ax.StiCellStyle);null==r&&d.cacheMode&&(r=l.matrix.getStyleFromComponent(Y,-1,-1,this.exportServiceId),r.absolutePosition=!0);var $=l.matrix.styles.indexOf(r);-1!=$&&this.useStylesTable&&(e="s"+r.styleName);var tt=null==u.get(Y)?null:u.get(Y).stimulsoft().as(String);!De.isNullOrEmpty(tt)&&this.useStylesTable&&(e=tt);let n=s.as($o);if(S&&!(null==n||null==n.brush||n.brush.is(si)||n.brush.is(ei)||n.brush.is(ni)||n.brush.is(ri)||n.brush.is(ii))){c.writeBeginTag(this.strSpanDiv),De.isNullOrEmpty(e)||c.writeAttribute("class",e),c.write(' style="'),c.write(""),this.renderPosition(s),c.write('position:absolute;">');let t=new $o;t.page=o,t.clientRectangle=s.clientRectangle,t.brush=s.brush,this.renderImage(t),c.writeEndTag(this.strSpanDiv),c.writeLine(""),s=Y.clone(),s.brush=new si(Fe.transparent)}var et=s.isExportAsImage(Ae.c.StiExportFormat.Html),rt,it,nt;let i=!1;if(c.writeBeginTag(this.strSpanDiv),De.isNullOrEmpty(e)||c.writeAttribute("class",e),m==Ae.ax.StiHtmlExportMode.Div&&null!=s.toolTipValue&&c.writeAttribute("title",s.toolTipValue.toString()),this.insertInteractionParameters){if(null!=Y.report&&!Y.report.isDocument){if(this.isComponentHasInteraction(Y)){if(c.write(De.format(' interaction="{0}"',s.name)),s.interaction.sortingEnabled){var at=s.interaction.getSortDataBandName();let n=null!=s.report.getComponentByName(at)?s.report.getComponentByName(at).as(Jl):null;if(null!=n){c.write(De.format(' databandsort="{0};{1}"',at,De.join(";",n.sort)));let e=0,r="",i=null;while(e<n.sort.length){let t="";r=n.sort[e++];while(e<n.sort.length&&"asc"!=n.sort[e].toLowerCase()&&"desc"!=n.sort[e].toLowerCase())0==t.length?t=n.sort[e]:t+="."+n.sort[e],e++;t==s.interaction.getSortColumnsString()&&(i=r.toLowerCase())}null!=i&&c.write(De.format(' sort="{0}"',i))}}!s.interaction.drillDownEnabled||null==s.interaction.drillDownPage&&De.isNullOrEmpty(s.interaction.drillDownReport)||(null!=s.interaction.drillDownPage&&c.write(De.format(' pageguid="{0}"',s.interaction.drillDownPage.guid)),De.isNullOrEmpty(s.interaction.drillDownReport)||c.write(De.format(' reportfile="{0}"',s.interaction.drillDownReport)),c.write(De.format(' pageindex="{0}"',s.page.report.renderedPages.indexOf(s.page).toString())),c.write(De.format(' compindex="{0}"',s.page.components.indexOf(s).toString())));var st=s.interaction.stimulsoft().as(sp);if(null!=st&&st.collapsingEnabled&&s.is(Ql)){let t=s;c.write(De.format(' collapsed="{0}"',kp.isCollapsed(t,!1).toString().toLowerCase())),c.write(De.format(' compindex="{0}"',t.collapsingIndex.toString()))}}if(this.isComponentHasEvent(Y)){let t=[];s.isClickHandlerEmpty||t.push("onclick"),s.isDoubleClickHandlerEmpty||t.push("ondblclick"),s.isMouseEnterHandlerEmpty||t.push("onmouseenter"),s.isMouseLeaveHandlerEmpty||t.push("onmouseleave"),c.write(De.format(' interactionevents="{0}"',t.join(", "))),c.write(De.format(' pageindex="{0}"',s.page.report.renderedPages.indexOf(s.page).toString())),c.write(De.format(' compindex="{0}"',s.page.components.indexOf(s).toString()))}}if(null!=Y.page&&Y.is(Mo)&&Y.editable){let e=new Mt;var ot=Y.page.components.indexOf(Y),lt,ut;e.appendFormat("{0};",ot);let r=Y.as(bd);if(null!=r){let t=Fe.transparent;r.textBrush.is(si)?t=r.textBrush.color:r.textBrush.is(ni)||r.textBrush.is(ri)?t=r.textBrush.startColor:r.textBrush.is(ii)?t=r.textBrush.color:r.textBrush.is(ai)&&(t=r.textBrush.foreColor),e.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",r.checkedValue,Ae.ap.StiCheckStyle[r.checkStyleForFalse],Ae.ap.StiCheckStyle[r.checkStyleForTrue],r.contourColor.r,r.contourColor.g,r.contourColor.b,r.size,t.r,t.g,t.b)}null!=Y.as($o)&&e.appendFormat("Text"),null!=Y.as(md)&&e.appendFormat("RichText"),c.write(De.format(' editable="{0}"',e.toString()))}}if(c.write(' style="'),s.is($o)&&s.vertAlignment!=Go.Top&&this.exportSettings.exportMode==Ae.ax.StiHtmlExportMode.Table&&(c.writeStyleAttribute("display","table"),c.writeStyleAttribute("border-spacing","0px")),s.is(yd)&&s.vertAlignment!=Go.Top&&this.exportSettings.exportMode==Ae.ax.StiHtmlExportMode.Table&&(c.writeStyleAttribute("display","table"),c.writeStyleAttribute("border-spacing","0px")),!et){let t=null,e=null,r=null;null!=n&&(n.brush.is(ni)&&(t=n.brush.as(ni)),n.brush.is(ri)&&(e=n.brush.as(ri)),n.brush.is(ii)&&(r=n.brush.as(ii)));let i=null!=s?s.as(Ql):null;null!=i&&(i.brush.is(ni)&&(t=i.brush.as(ni)),i.brush.is(ri)&&(e=i.brush.as(ri)),i.brush.is(ii)&&(r=i.brush.as(ii))),null!=t&&(rt=De.format("background: linear-gradient({0}deg, {1}, {2});",Ne.trunc(t.angle)+90,this.formatColor(t.startColor),this.formatColor(t.endColor)),c.write(rt)),null!=e&&(it=De.format("background: linear-gradient({0}deg, {1}, {2} {3}%, {1});",Ne.trunc(e.angle)+90,this.formatColor(e.startColor),this.formatColor(e.endColor),Math.round(100*e.focus)),c.write(it)),null!=r&&(nt=De.format("background: linear-gradient({0}, {0} 49%, {1} 50%, {1});",this.formatColor(r.getTopColor()),this.formatColor(r.getBottomColor())),c.write(nt))}c.write("");let a=this.renderPosition(s,!0);var ht=s.as(el),ct;if(null!=ht&&null!=ht.border&&ht.border.dropShadow){let t=hi.toColor(ht.border.shadowBrush);t.equals(Fe.transparent)||(ct=De.format("box-shadow: {0}px {0}px 1px 0 rgba({1},{2},{3},{4});",0|ht.border.shadowSize,t.r,t.g,t.b,Ne.round2(t.a/255,3)),c.write(ct))}this.useStylesTable||(-1!=$&&l.renderStyle(r),De.isNullOrEmpty(tt)||c.writeLine(h.get(tt)+";overflow:hidden;"));var dt=s.as(Eo),mt=s.as(Ae.bd.IStiGauge),pt=s.as(Ae.aC.StiMap);if(null!=dt&&this.chartType!=Ae.ax.StiHtmlChartType.Image)c.write('" '),c.writeAttribute("id",this.getGuid(dt)),i=this.renderHyperlink(s),this.prepareChartData(c,dt,Z.width,Z.height),i&&c.writeEndTag("a");else if(null!=mt)c.write('" '),c.writeAttribute("id",this.getGuid(mt)),c.write(">"),this.prepareGaugeData(c,mt,Z.width,Z.height),i=this.renderHyperlink(s),i&&c.writeEndTag("a");else if(null!=pt)0==hi.toColor(pt.brush).a&&c.write("background-color:transparent;"),c.write('" '),c.writeAttribute("id",this.getGuid(pt)),c.writeAttribute("isRegionMap","true"),c.write(">"),this.prepareMapData(c,pt,Z.width,Z.height),i=this.renderHyperlink(s),i&&c.writeEndTag("a");else if(s.is(Ae.az.StiBarCode)||s.is(Ae.ap.StiCheckBox)||s.is(Ae.ap.StiShape)){c.write('">');var gt=Ae.ax.StiSvgHelper.saveComponentToString(s,Ae.c.ImageFormat.Jpeg,.75,100,!1),ft=De.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',Math.ceil(t.width),Math.ceil(t.height),this.zoom,gt);c.write(ft)}else if(et)c.write('">'),i=this.renderHyperlink(s),this.renderImage(s),i&&c.writeEndTag("a");else if(null!=n&&(null!=n.angle&&0!=n.angle||null!=n.indicator)){var St=Ae.ax.StiSvgHelper.saveComponentToString(s,Ae.c.ImageFormat.Jpeg,.75,100,!1),bt=De.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',Math.ceil(t.width),Math.ceil(t.height),this.zoom,St);c.write('">'),c.write(bt)}else{var yt=s.as(ww);null!=yt&&this.renderTextDirection(null,yt.textOptions);var vt=s.is(hb)&&!s.is(md);let t=null;var wt=!0,Ct=null!=r&&null!=r.textOptions&&r.textOptions.wordWrap;vt&&(t=s.text,wt&&!Ct&&c.write("white-space:nowrap")),s.is(Ae.az.StiBarCode)||s.is(Ae.ap.StiCheckBox)||s.is(Ae.ap.StiShape)||c.write('">'),Ct&&Hd.Export.Html.useWordWrapBreakWordMode&&(c.writeBeginTag(this.strSpanDiv),c.write(' style="word-wrap:break-word;width:'+a.substr(0,a.indexOf(";"))+';">')),i=this.renderHyperlink(s);let e=!0;null==yt||yt.textOptions.wordWrap?vt&&(null!=t&&(null!=n&&n.textQuality==zb.Wysiwyg&&!De.isNullOrEmpty(t)&&t.stimulsoft().endsWith(Ko.StiForceWidthAlignTag)&&(t=t.substr(0,t.length-Ko.StiForceWidthAlignTag.length)),null!=n&&n.checkAllowHtmlTags()?t=At.convertTextWithHtmlTagsToHtmlText(n,t,this.zoom):(null!=n&&Hd.Export.Html.forceWysiwygWordwrap&&!n.checkAllowHtmlTags()&&n.textQuality==zb.Wysiwyg&&null!=yt&&yt.textOptions.wordWrap,Hd.Export.Html.replaceSpecialCharacters&&(t=t.stimulsoft().replaceAll("&","&amp;").stimulsoft().replaceAll('"',"&quot;").stimulsoft().replaceAll("<","&lt;").stimulsoft().replaceAll(">","&gt;").stimulsoft().replaceAll(" ","&nbsp;"))),n.vertAlignment==Go.Top?c.write(this.prepareTextForHtml(t)):(c.writeBeginTag(this.strSpanDiv+' style="'),c.writeStyleAttribute("overflow","hidden"),n.vertAlignment==Go.Center?c.writeStyleAttribute("align-items","center"):c.writeStyleAttribute("align-items","baseline"),c.writeStyleAttribute("max-width",this.getWidth(n)),c.writeStyleAttribute("height",this.getHeight(n)),this.renderTextHorAlignment(null,yt,n.horAlignment),this.renderVertAlignment(null,n.vertAlignment,yt,n.allowHtmlTags),c.write('">'),c.write(this.prepareTextForHtml(t)),c.writeEndTag(this.strSpanDiv))),e=!1):vt&&(null!=t&&(null!=n&&n.textQuality==zb.Wysiwyg&&!De.isNullOrEmpty(t)&&t.stimulsoft().endsWith(Ko.StiForceWidthAlignTag)&&(t=t.substr(0,t.length-Ko.StiForceWidthAlignTag.length)),null!=n&&n.checkAllowHtmlTags()?t=At.convertTextWithHtmlTagsToHtmlText(n,t,this.zoom):Hd.Export.Html.replaceSpecialCharacters&&(t=t.stimulsoft().replaceAll("&","&amp;").stimulsoft().replaceAll('"',"&quot;").stimulsoft().replaceAll("<","&lt;").stimulsoft().replaceAll(">","&gt;").stimulsoft().replaceAll(" ","&nbsp;")),Hd.Export.Html.convertDigitsToArabic&&yt.textOptions.rightToLeft&&(t=Ae.ax.StiExportUtils.convertDigitsToArabic(t,Hd.Export.Html.arabicDigitsType)),n.vertAlignment==Go.Top?c.write(this.prepareTextForHtml(t)):(c.writeBeginTag(this.strSpanDiv+' style="'),c.writeStyleAttribute("display","table-cell"),c.writeStyleAttribute("max-width",this.getWidth(n)),c.writeStyleAttribute("height",this.getHeight(n)),yt.textOptions.trimming!=Ae.bn.StringTrimming.None&&(c.writeStyleAttribute("text-overflow","ellipsis"),c.writeStyleAttribute("overflow","hidden"),c.writeStyleAttribute("white-space","nowrap")),this.renderTextHorAlignment(null,yt,n.horAlignment),this.renderVertAlignment(null,n.vertAlignment),c.write('">'),c.write(this.prepareTextForHtml(t)),c.writeEndTag(this.strSpanDiv))),e=!1),i&&(e&&c.write("<br>"),c.writeEndTag("a")),Ct&&Hd.Export.Html.useWordWrapBreakWordMode&&c.writeEndTag(this.strSpanDiv)}c.writeEndTag(this.strSpanDiv),c.writeLine("")}}this.exportSettings.addPageBreaks?(Ae.Z.UwgcI.HjnDR()||(Ae.Z.UwgcI.FrMMw()||Ae.Z.UwgcI.WjOuC())&&Ae.b.NodeJs.isStandaloneVersion||null==o||(Q=o.unit.convertRectangleToHInches(o.clientRectangle),K=100*this.zoom,c.writeLine(De.format('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3;'+" -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center;"+' font-family: Arial; color: black; z-index: 9999; -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg);">{4}</div>',this.strSpanDiv,K,Ae.ax.StiHtmlUnit.newUnit(Q.width*this.zoom,Hd.Export.Html.printLayoutOptimization),Ae.ax.StiHtmlUnit.newUnit(Q.height*this.zoom/2-K,Hd.Export.Html.printLayoutOptimization),"Trial"))),this.renderEndPage()):this.startPage+=o.unit.convertToHInches(o.height),c.writeLine("\x3c!-- end page --\x3e")}Ae.Z.UwgcI.HjnDR()||(Ae.Z.UwgcI.FrMMw()||Ae.Z.UwgcI.WjOuC())&&Ae.b.NodeJs.isStandaloneVersion||!(0<d.count)||this.exportSettings.addPageBreaks||(y=De.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),v=d.getByIndex(0).unit.convertRectangleToHInches(d.getByIndex(0).clientRectangle),w=Ne.trunc(100*this.zoom),c.writeLine(De.format('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg); ">{4}</div>',this.strSpanDiv,w,Ae.ax.StiHtmlUnit.newUnit(v.width*this.zoom,Hd.Export.Html.printLayoutOptimization),Ae.ax.StiHtmlUnit.newUnit(v.height*this.zoom/2-w,Hd.Export.Html.printLayoutOptimization),y))),this.exportSettings.addPageBreaks||this.renderEndPage(),this.renderAsDocument&&this.renderChartScripts(),this.renderAsDocument&&this.renderGaugeScripts(),this.renderAsDocument&&this.renderMapsScripts(),this.renderAsDocument&&this.renderEndDoc()}if(m==Ae.ax.StiHtmlExportMode.Table){if(this.currentPassNumber=0,this.maximumPassNumber=3,this.tableRender=new Ae.ax.StiHtmlTableRender(this,e,d),this.isStopped)return;let n=new Dt,a=ke.create2(Boolean,this.tableRender.matrix.coordY.countItems,this.tableRender.matrix.coordX.countItems);for(let i=1;i<this.tableRender.matrix.coordY.countItems;i++)for(let r=1;r<this.tableRender.matrix.coordX.countItems;r++)if(!a[i-1][r-1]){var Tt=this.tableRender.matrix.cells[i-1][r-1];if(null!=Tt){for(let e=0;e<=Tt.height;e++)for(let t=0;t<=Tt.width;t++)a[i-1+e][r-1+t]=!0;if(null!=Tt.component){var Pt=null===(o=Tt.component.tagValue)||void 0===o?void 0:o.stimulsoft().as(String);if(!De.isNullOrEmpty(Pt)){let r=Ae.ax.StiMatrix.splitTag(Pt);for(let e=0;e<r.length;e++)if(r[e].toLowerCase().stimulsoft().startsWith("css")){let t=Ae.ax.StiMatrix.getStringsFromTag(r[e],3);if(1<t.length){var It=t[0].trim();n.set(It,t[1].trim());break}}}}}}this.renderAsDocument&&this.renderStartDoc(this.tableRender,!0,p,f,s,n,d,e.encoding),!this.renderAsDocument&&p&&this.renderBookmarkScript(),p&&(this.htmlWriter.writeBeginTag("table"),this.pageHorAlignment!=Ds.Left&&this.htmlWriter.writeAttribute("width","100%"),Hd.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),Hd.Export.Html.useExtendedStyle&&(c.writeBeginTag("tbody"),c.writeAttribute("class","sBaseStyleFix"),c.writeLine(">")),this.htmlWriter.writeBeginTag("tr"),Hd.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),this.htmlWriter.writeBeginTag('td class="dtreeframe" style="'),this.htmlWriter.writeStyleAttribute("vertical-align","top"),this.renderBookmarkTree(t.bookmark,g,i),this.htmlWriter.writeEndTag("td"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("td"),Hd.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.writeLine(">"),this.htmlWriter.indent++);let r=0;for(let e=0;e<d.count;e++){let t=d.getByIndex(e);this.renderWatermarkImage(c,t,r),this.renderWatermarkText(c,t,r),r+=t.unit.convertRectangleToHInches(t.clientRectangle).height*Ae.ax.StiMatrix.htmlScaleY*this.zoom}Ae.Z.UwgcI.HjnDR()||(Ae.Z.UwgcI.FrMMw()||Ae.Z.UwgcI.WjOuC())&&Ae.b.NodeJs.isStandaloneVersion||!(0<d.count)||(l=De.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),u=d.getByIndex(0).unit.convertRectangleToHInches(d.getByIndex(0).clientRectangle),h=Ne.trunc(100*this.zoom),c.writeLine(De.format('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg);">{4}</div>',this.strSpanDiv,h,Ae.ax.StiHtmlUnit.newUnit(u.width*this.zoom,Hd.Export.Html.printLayoutOptimization),Ae.ax.StiHtmlUnit.newUnit(u.height*this.zoom/2-h,Hd.Export.Html.printLayoutOptimization),l))),f||(T=null!=(C=0<d.count?d.getByIndex(0):null)&&null!=C.watermark&&((null!=C.watermark.image||!De.isNullOrEmpty(C.watermark.imageHyperlink))&&C.watermark.showImageBehind||!De.isNullOrEmpty(C.watermark.text)&&C.watermark.showBehind),this.tableRender.renderTable(!this.renderAsDocument&&this.renderStyles,null,p,f,n,T,null==C?void 0:C.border,C)),p&&(this.htmlWriter.indent--,this.htmlWriter.writeEndTag("td"),this.htmlWriter.writeEndTag("tr"),this.htmlWriter.writeEndTag("tbody"),this.htmlWriter.writeEndTag("table"),this.htmlWriter.writeLine()),this.renderAsDocument&&this.renderChartScripts(),this.renderAsDocument&&this.renderGaugeScripts(),this.renderAsDocument&&this.renderMapsScripts(),this.renderAsDocument&&this.renderEndDoc()}c.flush()}finally{xt.currentCulture=this.storedCulture,t=null,this.clearOnFinish&&this.clear()}}};At.fontScale=new Dt,Ae.ax.StiHtmlExportService=At;let a=class{};Ae.ax.StiBookmarkTreeNode=a}var K=class{static getScriptString(){return null==this.script&&(this.script=""+this.animateSti),this.script}},Pw,q,l,k,Iw,yt;K.animateSti=function(t){var S=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;window.requestAnimationFrame=S;var b=[],t=document.getElementById(t),e=!!t&&t.isMap,a=function(){var t=document.createElement("table");t.style.position="absolute",t.style.opacity="0",t.style.background="white",t.style.padding="5px",t.style.border="1px solid #bebebe",t.style.fontFamily="Arial",t.style.fontSize="12px",t.style.color="#111111",t.style.zIndex="20000",t.style.pointerEvents="none",document.body.appendChild(t),document._stiTooltip=t;var e=document.createElement("tr");t.appendChild(e);var r=document.createElement("td");r.style.verticalAlign="top",r.rowSpan=2,t._round=document.createElement("div"),t._round.style.width="20px",t._round.style.height="20px",t._round.style.borderRadius="20px",r.appendChild(t._round),e.appendChild(r),t._text1=document.createElement("td"),t._text1.style.paddingTop="3px",e.appendChild(t._text1),e=document.createElement("tr"),t.appendChild(e),t._text2=document.createElement("td"),e.appendChild(t._text2),(e=document.createElement("tr")).style.display="none",t.appendChild(e),e.appendChild(document.createElement("td")),t._text3=document.createElement("td"),e.appendChild(t._text3),(e=document.createElement("tr")).style.display="none",t.appendChild(e),t._text4=document.createElement("td"),e.appendChild(t._text4),(e=document.createElement("tr")).style.display="none",t.appendChild(e),t._text5=document.createElement("td"),e.appendChild(t._text5),setInterval(function(){var t=document._stiTooltip,e=parseFloat(t.style.opacity);(0<t.cx&&e<1||t.cx<0&&0<e)&&(e+=t.cx,e=Math.min(1,Math.max(0,e)),t.style.opacity=e)},50)},s=function(){var t=document.createElement("table");t.style.position="absolute",t.style.opacity="0",t.style.background="white",t.style.padding="5px",t.style.border="1px solid #bebebe",t.style.fontFamily="Arial",t.style.fontSize="12px",t.style.color="#111111",t.style.zIndex="20000",t.style.pointerEvents="none",document.body.appendChild(t),document._stiChartTooltip=t;var e=document.createElement("tr");t.appendChild(e);var r=document.createElement("td");r.style.verticalAlign="center",r.style.width="20px",t._round=document.createElement("div"),t._round.style.width="10px",t._round.style.height="10px",r.appendChild(t._round),e.appendChild(r),t._text1=document.createElement("td"),e.appendChild(t._text1),e=document.createElement("tr"),t.appendChild(e),t._text2=document.createElement("td"),t._text2.colSpan=2,e.appendChild(t._text2),(e=document.createElement("tr")).style.display="none",t.appendChild(e),t._text3=document.createElement("td"),e.appendChild(t._text3),(e=document.createElement("tr")).style.display="none",t.appendChild(e),t._text4=document.createElement("td"),e.appendChild(t._text4),(e=document.createElement("tr")).style.display="none",t.appendChild(e),t._text5=document.createElement("td"),e.appendChild(t._text5),t.elements=new Object,setInterval(function(){var t=document._stiChartTooltip,e=parseFloat(t.style.opacity);(0<t.cx&&e<1||t.cx<0&&0<e)&&(e+=t.cx,e=Math.min(1,Math.max(0,e)),t.style.opacity=e)},50)},l=function(t,e){var r=!1;"#"==t[0]&&(t=t.slice(1),r=!0);var i=parseInt(t,16),n=(i>>16)+e;255<n?n=255:n<0&&(n=0);var t=(i>>8&255)+e;255<t?t=255:t<0&&(t=0);var e=(255&i)+e;return 255<e?e=255:e<0&&(e=0),(r?"#":"")+String("000000"+(e|t<<8|n<<16).toString(16)).slice(-6)},o=function(s){var o=document._stiTooltip;s.onmouseover=function(t){if("true"==t.target.getAttribute("notShowTooltip")||!t.target.getAttribute("_text1")&&!t.target.getAttribute("_text2"))return;var e="true"==t.target.getAttribute("isCustomTooltip"),r=t.target.getAttribute("_text1");if(e&&0<=r.toLowerCase().indexOf("<a ")&&(o.style.pointerEvents="auto",r=r.replace(/<a /g,"<a target='_blank' ")),o.cx=.1,o._text1&&(o._text1.innerHTML=r),o._text2&&(o._text2.innerHTML=e?"":t.target.getAttribute("_text2"),o._text2.parentElement.style.display=e?"none":""),o._round&&(o._round.parentElement.style.display=e?"none":""),e)clearTimeout(o.hiddenTimer),s.onmouseout=function(t){var t=t&&t.target?t.target:s;t.style.fill=t.getAttribute("_color"),o.hiddenTimer=setTimeout(function(){o.isOver||(o.cx=-.2)},500)},o.onmouseover=function(){this.isOver=!0,clearTimeout(o.hiddenTimer)},o.onmouseout=function(){this.isOver=!1,s.onmouseout()},o.onclick=function(){this.onmouseout()};else{for(var i=3;i<6;i++){var n="_text"+i,a=t.target.getAttribute(n);a&&0<a.length?(o[n].parentNode.style.display="",o[n].innerHTML=a):o[n].parentNode.style.display="none"}o._round.style.background=t.target.getAttribute("_color")}t.target.style.fill=l(t.target.getAttribute("_color"),-35);var r=Math.max(t.pageX+1+o.offsetWidth-window.outerWidth+10,0),e=Math.max(t.pageY+1+o.offsetHeight-window.outerHeight+10,0),r=Math.max(r,t.pageX+1+o.offsetWidth-document.body.offsetWidth),e=Math.max(e,t.pageY+1+o.offsetHeight-Math.max(document.body.offsetHeight,document.body.clientHeight));o.style.left=t.pageX+1-r+"px",o.style.top=t.pageY+1-e+"px"},s.onmouseout=function(t){o.cx=-.2,t.target.style.fill=t.target.getAttribute("_color")}},u=function(t){if(0==t.indexOf("rgb")){var e=t.replace("rgb(","").replace(")","").split(","),r,i,n;return"#"+((1<<24)+(parseInt(e[0])<<16)+(parseInt(e[1])<<8)+parseInt(e[2])).toString(16).slice(1)}return t},n=function(t,e){var r="hatch"+Math.round(1e8*Math.random()).toString(),i=document.createElementNS("http://www.w3.org/2000/svg","pattern");i.setAttribute("id",r),i.setAttribute("x",0),i.setAttribute("y",0),i.setAttribute("height",8),i.setAttribute("width",8),i.setAttribute("patternUnits","userSpaceOnUse"),t.parentNode.insertBefore(i,t.parentNode.firstChild);var n=document.createElementNS("http://www.w3.org/2000/svg","rect");i.appendChild(n),n.setAttribute("x",0),n.setAttribute("y",0),n.setAttribute("width",8),n.setAttribute("height",8),n.setAttribute("fill",e);for(var a=0;a<8;a++)n=document.createElementNS("http://www.w3.org/2000/svg","rect"),i.appendChild(n),n.setAttribute("x",7-a),n.setAttribute("y",a),n.setAttribute("width",1),n.setAttribute("height",1),n.setAttribute("fill","#FFFFFF");return r},r=function(t,e,r){var o=document._stiChartTooltip;o.elements[e]||(o.elements[e]={});var i=t.getAttribute("elementindex");o.elements[e][i]||(o.elements[e][i]=[]),o.elements[e][i].push(t),t.elementsId=e,t.setAttribute("_color",t.style.fill),t.showTooltip=r,t.onmouseover=function(t){if(t.target.showTooltip){o.cx=.1,o.style.left=t.pageX+1+"px",o.style.top=t.pageY+1+"px";var e=JSON.parse(t.target.getAttribute("interactiontooltip"));o._text1.innerHTML=e.StiValue,o._text2.innerHTML=e.StiArgument;for(var r=3;r<6;r++){var i="_text"+r,n=t.target.getAttribute(i);n&&0<n.length?(o[i].parentNode.style.display="",o[i].innerHTML=n):o[i].parentNode.style.display="none"}o._round.style.background=e.StiColor}var a=o.elements[t.target.elementsId][t.target.getAttribute("elementindex")],s;for(s in a)a[s].selected?a[s].style.fill="url(#"+a[s].selectOverHatchId+")":a[s].style.fill=l(u(a[s].style.fill),35)},t.onmouseout=function(t){t.target.showTooltip&&(o.cx=-.2);var e=o.elements[t.target.elementsId][t.target.getAttribute("elementindex")],r;for(r in e)e[r].selected?e[r].style.fill="url(#"+e[r].selectHatchId+")":e[r].style.fill=e[r].getAttribute("_color")},r&&(t.onmousedown=function(t){var e=u(t.target.getAttribute("_color"));t.target.selected?t.target.style.fill=l(e,35):(t.target.selectHatchId||(t.target.selectHatchId=n(t.target,e),t.target.selectOverHatchId=n(t.target,l(e,35))),t.target.style.fill="url(#"+t.target.selectOverHatchId+")"),t.target.selected=!t.target.selected})},h=function(t,e){if(!t)return;for(var r in document._stiChartTooltip||s(),t.childNodes){var i=t.childNodes[r];if(i.attributes)for(var n in i.attributes)i.attributes[n]&&i.attributes[n].name&&(0<=i.attributes[n].name.indexOf("_animation")&&(i._animations?i._animations.push(JSON.parse(i.getAttribute(i.attributes[n].name))):(i._animations=[],i._animations.push(JSON.parse(i.getAttribute(i.attributes[n].name))),e.push(i))),i.getAttribute("_ismap")&&(document._stiTooltip||a(),o(i)));h(i,e)}};h(t,b);var y=function(t){return t<.5?2*t*t:-1+(4-2*t)*t},v=function(t,e,r,i,n){var i=i?t.bbox.x+t.bbox.width:t.bbox.x,n=n?t.bbox.y+t.bbox.height:t.bbox.y,a,s,o,l;t.setAttribute("transform","translate("+(-i*(e-1)+","+-n*(r-1))+") scale("+(e+","+r)+")"),t.setAttribute("opacity","1")},w=function(t){for(var e=t.split(" "),r=[],i=0;i<e.length-1;i++){var n=e[i].split(",");r.push({x:parseFloat(n[0]),y:parseFloat(n[1])})}return r},m=function(t,e,r,i,n){var a=i*Math.PI/180,s=n*Math.PI/180,o=(i+n)*Math.PI/180,l=t+r*Math.cos(a),u=e+r*Math.sin(a),h=t+r*Math.cos(o),c=e+r*Math.sin(o),d=4*r/3*Math.tan(.25*s),i=Math.atan(d/r),n=r/Math.cos(i);i+=a;var s=t+n*Math.cos(i),a=e+n*Math.sin(i),i=Math.atan(-d/r),m,p;return i+=o,[{x:l,y:u},{x:s,y:a},{x:t+n*Math.cos(i),y:e+n*Math.sin(i)},{x:h,y:c}]},p=function(t){var e=parseInt(t),r;return 0<t-e?e+1:e},g=function(t,e,r,i,n,a,s){for(var o="",l=p(Math.abs(n/90)),u=n/l,h=0;h<l;h++){for(var c=m(t-a,e-s,r,i,u),d=1;d<c.length-1;d+=3)o+=1==d?"C"+(c[d].x+a)+","+(c[d].y+s)+","+(c[d+1].x+a)+","+(c[d+1].y+s)+","+(c[d+2].x+a)+","+(c[d+2].y+s):","+(c[d].x+a)+","+(c[d].y+s)+","+(c[d+1].x+a)+","+(c[d+1].y+s)+","+(c[d+2].x+a)+","+(c[d+2].y+s);i+=u}return o},C=function(t,e){var r=JSON.parse(atob(t)),i="",n=r.x+r.dx+r.width/2,a=r.y+r.dy+r.height/2,s=r.width/2,o=r.radiusFrom,s=o+(s-o)*e,t=r.startAngleFrom+(r.startAngle-r.startAngleFrom)*e,o=r.sweepAngleFrom+(r.sweepAngle-r.sweepAngleFrom)*e,e=t*Math.PI/180,l,u;return i+="M"+n+","+a,i+="L"+(n+s*Math.cos(e))+","+(a+s*Math.sin(e)),i+=g(n,a,s,t,o,r.dx,r.dy),i+="L"+n+","+a},T=function(t,e){var r=JSON.parse(atob(t)),i="",n=r.x+r.dx+r.width/2,a=r.y+r.dy+r.height/2,s=r.width/2,o=r.widthDt/2,l=r.radiusFrom,u=r.radiusDtFrom,s=l+(s-l)*e,o=u+(o-u)*e,h=r.startAngleFrom+(r.startAngle-r.startAngleFrom)*e,c=r.sweepAngleFrom+(r.sweepAngle-r.sweepAngleFrom)*e,d=h+c,m=h*Math.PI/180,p=(h+c)*Math.PI/180,t=n+s*Math.cos(m),l=a+s*Math.sin(m),u=n+o*Math.cos(m),e=a+o*Math.sin(m),m=n+o*Math.cos(p),p=a+o*Math.sin(p);return i+="M"+u+","+e,i+="L"+t+","+l,i+=g(n,a,s,h,c,r.dx,r.dy),i+="L"+m+","+p,i+=g(n,a,o,d,-c,r.dx,r.dy)},P=function(t,e){var r="";while(0<t.length){r+=t[0];for(var i=t.substring(1).search(/[MLC]/)+1,n=t.substring(1,0<i?i:t.length).split(/[, ]/),a=0,s;a<n.length;a++){""!=n[a]&&(s=n[a].split(":"),r+=parseFloat(s[0])+(parseFloat(s[1])-parseFloat(s[0]))*e,a!=n.length-1&&(r+=" "))}t=0<i?t.substring(i):""}return r},I=(new Date).getTime(),A=function(t){var e=!0,r=(new Date).getTime()-I,i;for(i in b){var n=b[i],a;for(a in n._animations){var s=n._animations[a];if(s.begin<=r&&s.begin+s.duration>=r){var o=y((r-s.begin)/s.duration),l;for(l in s.actions){var u,h=5==(u=s.actions[l]).length?u[4]:"",c,c,c,d;if("scaleCenter"==u[0])n.bbox=n.getBBox(),v(n,u[1]+(u[2]-u[1])*o,u[3]+(u[4]-u[3])*o,u[5],u[6]);else if("points"==u[0]){var m=w(u[1]),p=w(u[2]),g="",f;for(f in m)g+=m[f].x+(p[f].x-m[f].x)*o+","+(m[f].y+(p[f].y-m[f].y)*o)+" ";n.setAttribute(u[0],g)}else{"value"==u[0]?(c=u[1]+(u[2]-u[1])*o,c=Math.round(c*Math.pow(10,u[3]))/Math.pow(10,u[3]),n.textContent=c):"translate"==u[0]?(c=u[1].split(":"),d=u[2].split(":"),n.setAttribute("transform","translate("+(parseFloat(c[0])+(parseFloat(d[0])-parseFloat(c[0]))*o)+" "+(parseFloat(c[1])+(parseFloat(d[1])-parseFloat(c[1]))*o)+")"+u[3])):"path"==u[0]?n.setAttribute("d",P(u[1],o)):"pie"==u[0]?n.setAttribute("d",C(u[1],o)):"doughnut"==u[0]?n.setAttribute("d",T(u[1],o)):n.setAttribute(u[0],h+(u[1]+(u[2]-u[1])*o)+u[3])}}e=!1}else if(s.begin+s.duration<r)for(var l in s.actions){var u,h=5==(u=s.actions[l]).length?u[4]:"",d;if("scaleCenter"==u[0]&&v(n,u[2],u[4],u[5],u[6]),"points"==u[0]){var p,g="",f;for(f in p=w(u[2]))g+=p[f].x+","+p[f].y+" ";n.setAttribute(u[0],g)}else{"value"==u[0]?n.textContent=u[4]||u[2]:"translate"==u[0]?(d=u[2].split(":"),n.setAttribute("transform","translate("+d[0]+" "+d[1]+")"+u[3])):"path"==u[0]?n.setAttribute("d",P(u[1],1)):"pie"==u[0]?n.setAttribute("d",C(u[1],1)):"doughnut"==u[0]?n.setAttribute("d",T(u[1],1)):n.setAttribute(u[0],h+u[2]+u[3])}}else s.begin>r&&(e=!1)}}e||S(A)};S(A)},Ae.aW.StiChartAnimation=K,Ae.ax.StiSvgExportService=class extends Ae.ax.StiImageExportService{constructor(){super(...arguments),this.exportNameInMenu=ne.get("Export","ExportTypeSvgFile")}getFilter(){return ne.get("FileFilters","SvgFiles")}},Ae.ax.IStiExcel2007ExportService=new Ae.b.Interface("IStiExcel2007ExportService"),Ae.ax.IStiExcelXmlExportService=new Ae.b.Interface("IStiExcelXmlExportService"),Ae.ax.IStiPpt2007ExportService=new Ae.b.Interface("IStiPpt2007ExportService"),Ae.ax.IStiWord2007ExportService=new Ae.b.Interface("IStiWord2007ExportService"),Ae.ax.IStiPdfExportService=new Ae.b.Interface("IStiPdfExportService"),Ae.ax.StiPdfEmbeddedFileData=class{constructor(t,e,r,i=null){this.mimeType=null,this.name=t,this.description=e,this.data=r,De.isNullOrWhiteSpace(i)||(this.MIMEType=i)}get MIMEType(){if(!De.isNullOrWhiteSpace(this.mimeType))return this.mimeType;let t="text/plain";var e=this.name.lastIndexOf("."),r;if(-1!=e)switch(this.name.substring(e+1)){case"xml":t="text/xml";break;case"htm":t="text/html";break;case"html":t="text/html";break;default:t="text/plain";break}return t.stimulsoft().replaceAll("/","#2F")}set MIMEType(t){this.mimeType=t}},Ae.ax.StiOdsExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.imageQuality=.75,this.imageResolution=100}getExportFormat(){return Ae.c.StiExportFormat.Ods}},Ae.ax.StiOdtExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.usePageHeadersAndFooters=!1,this.imageQuality=.75,this.imageResolution=100,this.removeEmptySpaceAtBottom=Hd.Export.OpenDocumentWriter.removeEmptySpaceAtBottom}getExportFormat(){return Ae.c.StiExportFormat.Odt}},Ae.ax.StiPdfExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.imageQuality=0,this.imageResolution=1,this.imageResolutionMode=Ae.ax.StiImageResolutionMode.Auto,this.embeddedFonts=!0,this.standardPdfFonts=!1,this.compressed=!0,this.useUnicode=!0,this.useDigitalSignature=!1,this.getCertificateFromCryptoUI=!0,this.exportRtfTextAsImage=!1,this.passwordInputUser="",this.passwordInputOwner="",this.userAccessPrivileges=Ae.ax.StiUserAccessPrivileges.All,this.keyLength=Ae.ax.StiPdfEncryptionKeyLength.Bit40,this.creatorString="",this.keywordsString="",this.imageCompressionMethod=Ae.ax.StiPdfImageCompressionMethod.Jpeg,this.imageIndexedColorPaletteSize=96,this.imageFormat=Ae.ax.StiImageFormat.Color,this.ditheringType=Ae.ax.StiMonochromeDitheringType.FloydSteinberg,this.pdfComplianceMode=Ae.ax.StiPdfComplianceMode.None,this.autoPrintMode=Hd.Export.Pdf.defaultAutoPrintMode,this.allowEditable=Ae.ax.StiPdfAllowEditable.No,this.embeddedFiles=new Ee,this.ZUGFeRDComplianceMode=Ae.ax.StiPdfZUGFeRDComplianceMode.None,this.ZUGFeRDConformanceLevel="BASIC",this.ZUGFeRDInvoiceData=null}getExportFormat(){return Ae.c.StiExportFormat.Pdf}get pdfACompliance(){return this.pdfComplianceMode!=Ae.ax.StiPdfComplianceMode.None}set pdfACompliance(t){this.pdfComplianceMode=t?Ae.ax.StiPdfComplianceMode.A1:Ae.ax.StiPdfComplianceMode.None}},Ae.ax.StiTxtExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.encoding=Ot.UTF8,this.drawBorder=!0,this.borderType=Ae.ax.StiTxtBorderType.UnicodeSingle,this.killSpaceLines=!0,this.killSpaceGraphLines=!0,this.putFeedPageCode=!0,this.cutLongLines=!0,this.zoomX=1,this.zoomY=1,this.useEscapeCodes=!1,this.escapeCodesCollectionName=""}getExportFormat(){return Ae.c.StiExportFormat.Text}},Ae.ax.StiDataExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(t=Ae.ax.StiDataType.Csv){super(),this.dataType=Ae.ax.StiDataType.Csv,this.dataExportMode=Ae.ax.StiDataExportMode.Data,this.exportDataOnly=!1,this.codePage=Ae.ax.StiDbfCodePages.Default,this.skipColumnHeaders=!1,this.useDefaultSystemEncoding=!0,this.dataType=t,this.encoding=Ot.UTF8,this.separator=";"}getExportFormat(){if(this.dataType==Ae.ax.StiDataType.Dbf)return Ae.c.StiExportFormat.Dbf;if(this.dataType==Ae.ax.StiDataType.Dif)return Ae.c.StiExportFormat.Dif;if(this.dataType==Ae.ax.StiDataType.Sylk)return Ae.c.StiExportFormat.Sylk;if(this.dataType==Ae.ax.StiDataType.Xml)return Ae.c.StiExportFormat.Xml;return Ae.c.StiExportFormat.Csv}},Ae.ax.StiCsvExportSettings=class extends Ae.ax.StiDataExportSettings{constructor(){super(Ae.ax.StiDataType.Csv)}},Ae.ax.StiHtmlExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(t=Ae.ax.StiHtmlType.Html){super(),this.htmlType=Ae.ax.StiHtmlType.Html,this.imageQuality=.75,this.imageResolution=100,this.encoding=Ot.Default,this.zoom=1,this.exportMode=Ae.ax.StiHtmlExportMode.Table,this.exportQuality=Ae.ax.StiHtmlExportQuality.High,this.addPageBreaks=!0,this.bookmarksTreeWidth=150,this.exportBookmarksMode=Ae.ax.StiHtmlExportBookmarksMode.All,this.useStylesTable=!0,this.removeEmptySpaceAtBottom=Hd.Export.Html.removeEmptySpaceAtBottom,this.pageHorAlignment=Ds.Left,this.compressToArchive=!1,this.useEmbeddedImages=!1,this.continuousPages=!0,this.chartType=Ae.ax.StiHtmlChartType.AnimatedVector,this.openLinksTarget=null,this.useWatermarkMargins=!1,this.htmlType=t,this.encoding=Ot.UTF8,this.imageFormat=Ae.c.ImageFormat.Png}getExportFormat(){if(this.htmlType==Ae.ax.StiHtmlType.Html5)return Ae.c.StiExportFormat.Html5;if(this.htmlType==Ae.ax.StiHtmlType.Mht)return Ae.c.StiExportFormat.Mht;return Ae.c.StiExportFormat.Html}},Ae.ax.StiHtml5ExportSettings=class extends Ae.ax.StiHtmlExportSettings{constructor(){super(Ae.ax.StiHtmlType.Html5)}},Ae.ax.StiSvgExportSettings=class extends Ae.ax.StiImageExportSettings{constructor(){super(Ae.ax.StiImageType.Svg)}},Ae.ax.StiExcelExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(t=Ae.ax.StiExcelType.ExcelBinary){super(),this.excelType=Ae.ax.StiExcelType.ExcelBinary,this.useOnePageHeaderAndFooter=!1,this.dataExportMode=Ae.ax.StiDataExportMode.AllBands,this.exportPageBreaks=!1,this.exportObjectFormatting=!0,this.exportEachPageToSheet=!1,this.imageQuality=.75,this.imageResolution=100,this.companyString=Ae.ax.StiExportUtils.getReportVersion(),this.lastModifiedString=Ae.ax.StiExportUtils.getReportVersion(),this.restrictEditing=Ae.ax.StiExcel2007RestrictEditing.No,this.excelType=t}get exportDataOnly(){return this.dataExportMode!=Ae.ax.StiDataExportMode.AllBands}set exportDataOnly(t){this.dataExportMode=t?Ae.ax.StiDataExportMode.Data|Ae.ax.StiDataExportMode.Headers:Ae.ax.StiDataExportMode.AllBands}getExportFormat(){if(this.excelType==Ae.ax.StiExcelType.ExcelXml)return Ae.c.StiExportFormat.ExcelXml;if(this.excelType==Ae.ax.StiExcelType.Excel2007)return Ae.c.StiExportFormat.Excel2007;return Ae.c.StiExportFormat.Excel}},Ae.ax.StiExcel2007ExportSettings=class extends Ae.ax.StiExcelExportSettings{constructor(){super(Ae.ax.StiExcelType.Excel2007)}},Ae.ax.StiPpt2007ExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.imageQuality=.75,this.imageResolution=100}getExportFormat(){return Ae.c.StiExportFormat.Ppt2007}},Ae.ax.StiWord2007ExportSettings=class extends Ae.ax.StiPageRangeExportSettings{constructor(){super(...arguments),this.usePageHeadersAndFooters=!1,this.imageQuality=.75,this.imageResolution=100,this.removeEmptySpaceAtBottom=Hd.Export.Word.removeEmptySpaceAtBottom,this.companyString=Ae.ax.StiExportUtils.getReportVersion(),this.lastModifiedString=Ae.ax.StiExportUtils.getReportVersion(),this.restrictEditing=Ae.ax.StiWord2007RestrictEditing.No}getExportFormat(){return Ae.c.StiExportFormat.Word2007}};{let r=class{constructor(t){this.geomWriter=null,this.geomWriter=t}baseTransform(t,e,r,i,n,a){this.geomWriter.translateTransform(e,r),this.geomWriter.rotateTransform(i),this.geomWriter.translateTransform(n,a)}baseRollbackTransform(t){if(this.geomWriter.stimulsoft().is(Ae.ax.StiSvgGeomWriter)){let t=this.geomWriter.stimulsoft().as(Ae.ax.StiSvgGeomWriter);t.endTransform(),t.endTransform(),t.endTransform()}}baseFillRectangle(t,e,r,i,n,a){var a=new os(r,i,n,a);this.geomWriter.fillRectangle(a,e)}baseFillRectangle2D(t,e,r,i,n,a){var a=new os(r,i,n,a);this.geomWriter.fillRectangle(a,e)}baseFillPolygon(t,e,r){this.geomWriter.fillPolygon(r,e)}baseFillEllipse(t,e,r,i,n,a){this.geomWriter.fillEllipse(new os(r,i,n,a),e)}baseDrawRectangle(t,e,r,i,n,a,s){var s=new os(i,n,a,s);this.geomWriter.drawRectangle(s,new Pr(e,r))}baseDrawImage(t,e,r,i,n,a,s){var s;null!=e&&(s=new os(i,n,a,s),this.geomWriter.drawImage(e,s))}baseDrawString(t,e,r,i,n,a){this.geomWriter.drawString(e,r,i,n,a)}baseMeasureString(t,e,r){return this.geomWriter.measureString(e,r)}static createNew(t){let e=new r(null);return e.geomWriter=t,e}};Ae.ax.StiBarCodeExportPainter=r}{let h=class{constructor(t=!0){var e,e;if(this.arabicTableSize=76+21,this.ligaturesTableSize=8+32,this.stSeparator="./:\\,-",this.modePdf=!0,this.modePdf=t,null==h.arabicTable&&(e=[[1569,1,65152,0,0,0],[1570,2,65153,65154,0,0],[1571,2,65155,65156,0,0],[1572,2,65157,65158,0,0],[1573,2,65159,65160,0,0],[1574,3,65161,65162,65163,65164],[1575,2,65165,65166,0,0],[1576,3,65167,65168,65169,65170],[1577,2,65171,65172,0,0],[1578,3,65173,65174,65175,65176],[1579,3,65177,65178,65179,65180],[1580,3,65181,65182,65183,65184],[1581,3,65185,65186,65187,65188],[1582,3,65189,65190,65191,65192],[1583,2,65193,65194,0,0],[1584,2,65195,65196,0,0],[1585,2,65197,65198,0,0],[1586,2,65199,65200,0,0],[1587,3,65201,65202,65203,65204],[1588,3,65205,65206,65207,65208],[1589,3,65209,65210,65211,65212],[1590,3,65213,65214,65215,65216],[1591,3,65217,65218,65219,65220],[1592,3,65221,65222,65223,65224],[1593,3,65225,65226,65227,65228],[1594,3,65229,65230,65231,65232],[1601,3,65233,65234,65235,65236],[1602,3,65237,65238,65239,65240],[1603,3,65241,65242,65243,65244],[1604,3,65245,65246,65247,65248],[1605,3,65249,65250,65251,65252],[1606,3,65253,65254,65255,65256],[1607,3,65257,65258,65259,65260],[1608,2,65261,65262,0,0],[1609,3,65263,65264,64488,64489],[1610,3,65265,65266,65267,65268],[1649,2,64336,64337,0,0],[1655,2,64477,1655,0,0],[1657,3,64358,64359,64360,64361],[1658,3,64350,64351,64352,64353],[1659,3,64338,64339,64340,64341],[1662,3,64342,64343,64344,64345],[1663,3,64354,64355,64356,64357],[1664,3,64346,64347,64348,64349],[1667,3,64374,64375,64376,64377],[1668,3,64370,64371,64372,64373],[1670,3,64378,64379,64380,64381],[1671,3,64382,64383,64384,64385],[1672,2,64392,64393,0,0],[1676,2,64388,64389,0,0],[1677,2,64386,64387,0,0],[1678,2,64390,64391,0,0],[1681,2,64396,64397,0,0],[1688,2,64394,64395,0,0],[1700,3,64362,64363,64364,64365],[1702,3,64366,64367,64368,64369],[1705,3,64398,64399,64400,64401],[1709,3,64467,64468,64469,64470],[1711,3,64402,64403,64404,64405],[1713,3,64410,64411,64412,64413],[1715,3,64406,64407,64408,64409],[1722,2,64414,64415,0,0],[1723,3,64416,64417,64418,64419],[1726,3,64426,64427,64428,64429],[1728,2,64420,64421,0,0],[1729,3,64422,64423,64424,64425],[1733,2,64480,64481,0,0],[1734,2,64473,64474,0,0],[1735,2,64471,64472,0,0],[1736,2,64475,64476,0,0],[1737,2,64482,64483,0,0],[1739,2,64478,64479,0,0],[1740,3,64508,64509,64510,64511],[1744,3,64484,64485,64486,64487],[1746,2,64430,64431,0,0],[1747,2,64432,64433,0,0],[1611,3,1611,1611,1611,1611],[1612,3,1612,1612,1612,1612],[1613,3,1613,1613,1613,1613],[1614,3,1614,1614,1614,1614],[1615,3,1615,1615,1615,1615],[1616,3,1616,1616,1616,1616],[1617,3,1617,1617,1617,1617],[1618,3,1618,1618,1618,1618],[1619,3,1619,1619,1619,1619],[1620,3,1620,1620,1620,1620],[1621,3,1621,1621,1621,1621],[1622,3,1622,1622,1622,1622],[1623,3,1623,1623,1623,1623],[1624,3,1624,1624,1624,1624],[1625,3,1625,1625,1625,1625],[1626,3,1626,1626,1626,1626],[1627,3,1627,1627,1627,1627],[1628,3,1628,1628,1628,1628],[1629,3,1629,1629,1629,1629],[1630,3,1630,1630,1630,1630],[1631,3,1631,1631,1631,1631]],h.arabicTable=e),null==h.ligaturesTable&&(e=[["ﻟﺂ","ﻵ"],["ﻠﺂ","ﻶ"],["ﻟﺄ","ﻷ"],["ﻠﺄ","ﻸ"],["ﻟﺈ","ﻹ"],["ﻠﺈ","ﻺ"],["ﻟﺎ","ﻻ"],["ﻠﺎ","ﻼ"],["שׁ","שׁ"],["שׂ","שׂ"],["שּׁ","שּׁ"],["שּׂ","שּׂ"],["אַ","אַ"],["אָ","אָ"],["אּ","אּ"],["בּ","בּ"],["גּ","גּ"],["דּ","דּ"],["הּ","הּ"],["וּ","וּ"],["זּ","זּ"],["טּ","טּ"],["יּ","יּ"],["ךּ","ךּ"],["כּ","כּ"],["לּ","לּ"],["מּ","מּ"],["נּ","נּ"],["סּ","סּ"],["ףּ","ףּ"],["פּ","פּ"],["צּ","צּ"],["קּ","קּ"],["רּ","רּ"],["שּ","שּ"],["תּ","תּ"],["וֹ","וֹ"],["בֿ","בֿ"],["כֿ","כֿ"],["פֿ","פֿ"],["אל","ﭏ"]],h.ligaturesTable=e),null==h.arabicTableArray){let e=ke.create2(Number,65536,5);for(let t=0;t<this.arabicTableSize;t++){var r=h.arabicTable[t][0];e[r][0]=h.arabicTable[t][1],e[r][1]=h.arabicTable[t][2],e[r][2]=h.arabicTable[t][3],e[r][3]=h.arabicTable[t][4],e[r][4]=h.arabicTable[t][5]}for(let t=1424;t<=1535;t++)e[t][0]=1,e[t][1]=t;for(let t=64285;t<=64335;t++)e[t][0]=1,e[t][1]=t;h.arabicTableArray=e}}convert(o,t){let l=new Mt;if(0<o.length){if(t){let a=0,s=new Mt;if(Ae.b.Char.isDigit(o.charAt(0))){let t=new Mt,e=0;while(e<o.length&&(Ae.b.Char.isDigit(o.charAt(e))||-1!=this.stSeparator.indexOf(o.charAt(e))))t.append(o.charAt(e)),e++;"."==o.charAt(e-1)&&(t.length--,t.insert(0,"."));while(e<o.length&&(32==o.charCodeAt(e)||160==o.charCodeAt(e)))e++,l.insert(0," ");l.append(t),a=e}while(a<o.length){let n=o.charCodeAt(a);if(h.symbolIsArabicOrHebrew(n)||this.symbolIsRTLMark(n)){if(!this.symbolIsRTLMark(n)){let t=s.length,e=-1,r=-1;while(0<a&&0<t&&(32<=o.charCodeAt(a-1)&&o.charCodeAt(a-1)<=64||91<=o.charCodeAt(a-1)&&o.charCodeAt(a-1)<=96||123<=o.charCodeAt(a-1)&&o.charCodeAt(a-1)<=126||160==o.charCodeAt(a-1)))a--,t--,32!=o.charCodeAt(a)&&160!=o.charCodeAt(a)||(e=a,r=t);-1!=e&&(a=e,t=r),s.length=t}var u=a;let t=u,e=u;n=o.charCodeAt(a);while(!this.symbolIsLTRMark(n)&&(h.symbolIsArabicOrHebrew(n)||32<=n&&n<=64||91<=n&&n<=96||123<=n&&n<=126||160==n||8192<=n&&n<=8303))h.symbolIsArabicOrHebrew(n)&&(e=a),Ae.b.Char.isWhitespace(String.fromCharCode(n))&&(t=a),a++,n=a<o.length?o.charCodeAt(a):0;let r=a;t>e&&(r=t+1);let i=new Mt;for(a=u;a<r;a++)n=o.charCodeAt(a),this.symbolIsBidiMark(n)||i.append(o.charAt(a));a--,l.insert(0,s.toString()),l.insert(0,this.convertArabic(i)),s=new Mt}else this.symbolIsBidiMark(n)||s.append(String.fromCharCode(n));a++}l.insert(0,s.toString());let e=l.toString();if(0<e.length&&"."==e[s.length-1]){let t=e.length-1;while(0<t&&"."==e.charAt(t-1))t--;l=new Mt,l.append(e.substr(t)),l.append(e.substr(0,t))}}else{let r=0;while(r<o.length){let e=o.charCodeAt(r);if(h.symbolIsArabicOrHebrew(e)&&!Ae.b.Char.isDigit(String.fromCharCode(e))){let t=new Mt;while(h.symbolIsArabicOrHebrew(e)||32<=e&&e<=64||91<=e&&e<=96||123<=e&&e<=126||160==e||8192<=e&&e<=8303)this.symbolIsBidiMark(e)||t.append(o.charAt(r)),r++,e=r<o.length?o.charCodeAt(r):0;r--;while(32==o.charCodeAt(r)||160==o.charCodeAt(r))r--,t.length--;l.append(this.convertArabic(t))}else this.symbolIsBidiMark(e)||l.append(String.fromCharCode(e));r++}}if(this.modePdf&&Hd.Export.Pdf.convertDigitsToArabic&&t)return new Mt(Ae.ax.StiExportUtils.convertDigitsToArabic(l.toString(),Hd.Export.Pdf.arabicDigitsType));this.modePdf}return l}convertArabic(t){let r=new Mt,i=0;while(i<t.length){var e;switch(h.arabicTableArray[t.charCodeAt(i)][0]){case 3:{let e=new Mt;e.append(t.charAt(i));while(i+1<t.length&&3==h.arabicTableArray[t.charCodeAt(i+1)][0])i++,e.append(t.charAt(i));if(i+1<t.length&&2==h.arabicTableArray[t.charCodeAt(i+1)][0]&&(i++,e.append(t.charAt(i))),1==e.length)r.append(String.fromCharCode(h.arabicTableArray[e.charCodeAt(0)][1]));else{if(r.append(String.fromCharCode(h.arabicTableArray[e.charCodeAt(0)][3])),2<e.length)for(let t=1;t<e.length-1;t++)r.append(String.fromCharCode(h.arabicTableArray[e.charCodeAt(t)][4]));r.append(String.fromCharCode(h.arabicTableArray[e.charCodeAt(e.length-1)][2]))}}break;case 2:case 1:r.append(String.fromCharCode(h.arabicTableArray[t.charCodeAt(i)][1]));break;default:r.append(t.charAt(i));break}i++}let n=new Mt;n=r;for(let t=0;t<this.ligaturesTableSize;t++)n=n.replace(h.ligaturesTable[t][0],h.ligaturesTable[t][1]);let a=new Mt,s=n.length-1;while(0<=s){let t=n.charAt(s);switch(t){case"(":t=")";break;case")":t="(";break;case"[":t="]";break;case"]":t="[";break;case"{":t="}";break;case"}":t="{";break}if(Ae.b.Char.isDigit(t)){let e=s;while(0<e&&this.symbolIsDigitOrDelimiter(n.charCodeAt(e-1)))e--;for(let t=e;t<=s;t++)a.append(n.charAt(t));s=e}else a.append(t);s--}return a.toString()}symbolIsDigitOrDelimiter(t){return Ae.b.Char.isDigit(String.fromCharCode(t))||46==t||47==t||58==t||92==t||44==t||45==t}static symbolIsArabicOrHebrew(t){return 1536<=t&&t<=1791||1424<=t&&t<=1535||64285<=t&&t<=64335||64336<=t&&t<=65023||65136<=t&&t<=65279}static stringContainArabicOrHebrew(t){if(De.isNullOrWhiteSpace(t))return!1;for(var e of t.split(""))if(this.symbolIsArabicOrHebrew(e.charCodeAt(0)))return!0;return!1}symbolIsBidiMark(t){return 8206==t||8207==t||8234<=t&&t<=8238}symbolIsLTRMark(t){return 8206==t||8234==t||8237==t}symbolIsRTLMark(t){return 8207==t||8235==t||8238==t}clear(){h.arabicTable=null,h.ligaturesTable=null,h.arabicTableArray=null}};h.ligaturesTable=null,h.arabicTable=null,h.arabicTableArray=null,Ae.ax.StiBidirectionalConvert=h}Ae.ax.StiCell=class{constructor(t=Ae.c.StiExportFormat.None){this.exportFormat=Ae.c.StiExportFormat.None,this.exportImage=null,this.left=0,this.top=0,this.width=0,this._height=0,this.text="",this.exportFormat=t}clone(){var t;return this.stimulsoft().memberwiseClone()}forceExportAsImage(t){var t=t.stimulsoft().as(ww);return null!=t&&0!=t.textOptions.angle}get component(){return this._component}set component(t){this._component=t,this.exportImage=t.stimulsoft().as(ad),null!=this.exportImage&&this.exportImage.stimulsoft().is(sd)&&(this.exportImage.isExportAsImage(this.exportFormat)||this.forceExportAsImage(t)||(this.exportImage=null))}get height(){return this._height}set height(t){this._height=Math.max(t,0)}};{let T=class{constructor(t,e,r,i,n,a,s,o,l,u,h,c,d,m,p=!0,g=0){this.absolutePosition=!1,this.overflow=!0,this.borderRadius=0,this.lineSpacing=1,this._internalStyleName=null,this._styleName=null,this.color=t,this.textColor=e,this.font=r,this.horAlignment=i,this.vertAlignment=n,this.border=a,this.borderL=s,this.borderR=o,this.borderB=l,this.textOptions=u,this.wordWrap=h,this.internalStyleName=m,this.format=c,this.overflow=p,this.borderRadius=g,this.lineSpacing=d}clone(){let t=this.stimulsoft().memberwiseClone();return t.horAlignment=this.horAlignment,t.vertAlignment=this.vertAlignment,null!=this.border&&(t.border=this.border.clone()),null!=this.borderL&&(t.borderL=this.borderL.clone()),null!=this.borderR&&(t.borderR=this.borderR.clone()),null!=this.borderB&&(t.borderB=this.borderB.clone()),null!=this.font&&(t.font=this.font.clone()),null!=this.textOptions&&(t.textOptions=this.textOptions.clone()),t.horAlignment=this.horAlignment,t.lineSpacing=this.lineSpacing,t.overflow=this.overflow,t.borderRadius=this.borderRadius,t}getHashCode(){var t=null!=this.border?this.border.stimulsoft().getHashCode():0,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.borderL?this.borderL.stimulsoft().getHashCode():0))^(null!=this.borderR?this.borderR.stimulsoft().getHashCode():0))^(null!=this.borderB?this.borderB.stimulsoft().getHashCode():0))^this.color.stimulsoft().getHashCode())^(null!=this.font?this.font.stimulsoft().getHashCode():0))^this.horAlignment)^this.vertAlignment)^(null!=this.textOptions?this.textOptions.stimulsoft().getHashCode():0))^this.textColor.stimulsoft().getHashCode())^this.wordWrap.stimulsoft().getHashCode())^(null!=this.format?this.format.stimulsoft().getHashCode():0))^(null!=this._internalStyleName?this._internalStyleName.stimulsoft().getHashCode():0))^this.format.stimulsoft().getHashCode())^this.lineSpacing.stimulsoft().getHashCode(),Math.abs(t)}equals(t){var t=t.stimulsoft().as(T);if(!this.color.equals(t.color))return!1;if(this.horAlignment!=t.horAlignment)return!1;if(this.vertAlignment!=t.vertAlignment)return!1;if(!this.textColor.equals(t.textColor))return!1;if(this.wordWrap!=t.wordWrap)return!1;if(this.font.bold!=t.font.bold)return!1;if(this.font.italic!=t.font.italic)return!1;if(this.font.strikeout!=t.font.strikeout)return!1;if(this.font.underline!=t.font.underline)return!1;if(this.font.size!=t.font.size)return!1;if(this.font.name!=t.font.name)return!1;if(null==this.textOptions){if(null!=t.textOptions)return!1}else{if(null==t.textOptions)return!1;if(this.textOptions.angle!=t.textOptions.angle)return!1;if(this.textOptions.wordWrap!=t.textOptions.wordWrap)return!1;if(this.textOptions.rightToLeft!=t.textOptions.rightToLeft)return!1}if(null==this.border){if(null!=t.border)return!1}else{if(null==t.border)return!1;if(this.border.color.equals(t.border.color))return!1;if(this.border.size!=t.border.size)return!1;if(this.border.style!=t.border.style)return!1}if(null==this.borderL){if(null!=t.borderL)return!1}else{if(null==t.borderL)return!1;if(!this.borderL.color.equals(t.borderL.color))return!1;if(this.borderL.size!=t.borderL.size)return!1;if(this.borderL.style!=t.borderL.style)return!1}if(null==this.borderR){if(null!=t.borderR)return!1}else{if(null==t.borderR)return!1;if(!this.borderR.color.equals(t.borderR.color))return!1;if(this.borderR.size!=t.borderR.size)return!1;if(this.borderR.style!=t.borderR.style)return!1}if(null==this.borderB){if(null!=t.borderB)return!1}else{if(null==t.borderB)return!1;if(!this.borderB.color.equals(t.borderB.color))return!1;if(this.borderB.size!=t.borderB.size)return!1;if(this.borderB.style!=t.borderB.style)return!1}if(this.format!=t.format)return!1;if(this.internalStyleName!=t.internalStyleName)return!1;if(this.lineSpacing!=t.lineSpacing)return!1;if(this.overflow!=t.overflow)return!1;if(this.borderRadius!=t.borderRadius)return!1;return!0}static getStyleFromCache(e,r,i,n,a,s,o,l,u,h,c,d,m,p,g,f,S,b,t,y,v){let w=0;if(null!=i){let t=S.get(i);null==t?(w=i.bold?1231:1237,w=397*w^(i.italic?1231:1237),w=397*w^(i.strikeout?1231:1237),w=397*w^(i.underline?1231:1237),w=397*w^i.size.stimulsoft().getHashCode(),w=397*w^i.name.stimulsoft().getHashCode(),S.add(i,w)):w=t.stimulsoft().as(Number)}if(w=397*w^(null!=s?s.stimulsoft().getHashCode():0),w=397*w^(null!=o?o.stimulsoft().getHashCode():0),w=397*w^(null!=l?l.stimulsoft().getHashCode():0),w=397*w^(null!=u?u.stimulsoft().getHashCode():0),w=397*w^e.stimulsoft().getHashCode(),w=397*w^n,w=397*w^a,w=397*w^(null!=h?h.stimulsoft().getHashCode():0),w=397*w^r.stimulsoft().getHashCode(),w=397*w^(c?1:0),w=397*w^(null!=d?d.stimulsoft().getHashCode():0),w=397*w^(null!=m?m.stimulsoft().getHashCode():0),w=397*w^(y?1:0),w=397*w^v,w=397*w^p.stimulsoft().getHashCode(),t&&null!=b)return g.set(w,b),b;let C=g.get(w);if(null==C){let t=new T(e,r,i,n,a,s,o,l,u,h,c,d,p,m,y,v);return null!=b&&(t.styleName=b.styleName),g.set(w,t),f.push(t),t}return C.stimulsoft().as(T)}get internalStyleName(){return this._internalStyleName}set internalStyleName(t){null!=t&&(this._internalStyleName=Ae.c.StiNameValidator.correctName(t.trim()))}get styleName(){return null==this._styleName&&(this._styleName=this._internalStyleName,null==this._styleName&&(this._styleName=yr.newGuidString().substr(0,8))),this._styleName}set styleName(t){this._styleName=t}};Ae.ax.StiCellStyle=T}let Aw=Ae.az.StiQRCodeBarCodeType;Ae.ax.StiExportImageHelper=class{static convertAllImages(r,s,o=!1,l=Ae.c.StiExportFormat.None){return Y.tsfb(this,void 0,void 0,function*(){for(var e of r.renderedPages.list){for(var i of e.getComponentsList())try{let r=i.as(sd);if(null!==r&&void 0!==r&&r.isExportAsImage(l)){let t=r.getImage({ref:1},l),e=null;var n,n;i.is(yd)?e=i.getPaintRectangle().multiply(Hd.Export.Html.printLayoutOptimization?Ae.ax.StiMatrix.htmlScaleX:1):i.is(mv)&&i.mapMode==Sv.Online&&(n=Ae.bl.Encoding.UTF8.getString(t.bytes),n=yield gv.renderOnlineMap2Async(n),t.bytes=Ae.bl.Encoding.UTF8.getBytes(n)),null!=t&&(yield t.convertAsync(s,o,e,!0)),null==i.report.preparedExportImages&&(i.report.preparedExportImages=new Dt),i.report.preparedExportImages.set(i,t)}else{let t=i.as($o);if(null!=t&&null!=t.indicator){var a=t.indicator.as(Bv);if(null!=a&&(a.icon!=Eg.None||null!=a.customIcon)){let t=Dv.getIcon(a);null!=t&&(yield t.convertAsync(s,o,null,!0))}}let e=i.as(fd);if(null!=e&&null!=e.barCodeType){let t=e.barCodeType.as(Aw);null!=t&&null!=t.image&&(yield t.image.convertAsync(s,o,null,!0))}}}catch(t){}try{if(null!=e.watermark)if(null!=e.watermark.image)yield e.watermark.image.convertAsync(s,o,null,!0);else if(!De.isNullOrEmpty(e.watermark.imageHyperlink))if(Ps.isResourceHyperlink(e.watermark.imageHyperlink)){var t=e.report.dictionary.resources.getByName(Ps.getResourceNameFromHyperlink(e.watermark.imageHyperlink));null!=t&&(e.watermark.image=Ae.bn.Image.fromBytes(t.content),yield e.watermark.image.convertAsync(s,o,null,!0))}else if(Ps.isVariableHyperlink(e.watermark.imageHyperlink)){let t=e.report.dictionary.variables.getByName(Ps.getVariableNameFromHyperlink(e.watermark.imageHyperlink));null!=t&&null!=t.valueObject&&(e.watermark.image=t.valueObject.stimulsoft().as(Ae.bn.Image),yield e.watermark.image.convertAsync(s,o,null,!0))}}catch(t){}}})}},Ae.ax.StiHtmlImageHost=class{constructor(t){this.htmlExport=null,this.isMhtExport=!1,this.forcePng=!1,this.htmlExport=t,this.isMhtExport=!1,this.forcePng=!1}getImageString(t){var e=t.base64;if(!De.isNullOrEmpty(e))return e;if(!De.isNullOrEmpty(t.url))return t.url.stimulsoft().replaceAll("\\","/");return""}};{let r;(l=r=Ae.ax.StiHtmlUnitType||(Ae.ax.StiHtmlUnitType={}))[l["Pixel"]=0]="Pixel",l[l["Point"]=1]="Point";let K=class{constructor(){this.value=0,this.unitType=r.Pixel}toString(){return Ne.trunc(this.value).toString()+"px"}static toPixelString(t){return Ne.trunc(t).toString()+"px"}static newUnit2(t,e){let r=new K;return r.unitType=e,r.value=t,r}static newUnit(t,e){return e?this.newUnit2(t,e?r.Point:r.Pixel):this.newUnit2(t,r.Pixel)}static isNullOrZero(t){return null==t||0==t.value}};K.hiToPt=.748,Ae.ax.StiHtmlUnit=K;let Z=class{};Ae.ax.StiHtmlSvg=Z;let $=class{constructor(){this.attributes=new Dt,this.style=new Dt}};Ae.ax.StiHtmlHyperlink=$;let tt=class{};Ae.ax.StiHtmlImage=tt;let m=class{constructor(){this.controls=[],this.style=new Dt,this.controls=[]}};Ae.ax.StiHtmlTableCell=m;let p=class{constructor(){this.style=new Dt,this.cells=[]}};Ae.ax.StiHtmlTableRow=p;let et=class{constructor(){this.border=null,this.align=Ds.Left,this.position=null,this.htmlExportSettings=null,this.htmlExport=null,this.rows=[]}static stringToUrl(t){let e="";var r,i;for(i of t.split("")){var n=i.charCodeAt(0);n<=32||127<n||-1!=this.wrongUrlSymbols.indexOf(i)?((n<=32||127<n)&&(e+=De.format("%{0:x2}",n)),34==n&&(e+="&quot;"),38==n&&(e+="&amp;"),60==n&&(e+="&lt;")):e+=i}return e}renderControl(o,t,e){var l,r;this.writeTableBegin(o,t,!1,e);for(r of this.rows){if(r.style.containsKey(et.pageBreakBeforeKey)&&(r.style.remove(et.pageBreakBeforeKey),this.writeTableEnd(o,t),o.writeLine(),this.writeTableBegin(o,t,!0,e)),o.writeBeginTag("tr"),Hd.Export.Html.useExtendedStyle&&o.writeAttribute("class","sBaseStyleFix"),K.isNullOrZero(r.height)||r.style.set("height",r.height.toString()),0<r.style.count){o.write(' style="');for(var i of r.style.keys)o.writeStyleAttribute(i,r.style.get(i));o.write('"')}o.writeLine(">"),o.indent++;for(var u of r.cells){o.writeBeginTag("td"),De.isNullOrEmpty(u.toolTip)||o.writeAttribute("title",u.toolTip),De.isNullOrEmpty(u.cssClass)||o.writeAttribute("class",u.cssClass),De.isNullOrEmpty(u.id)||o.writeAttribute("id",u.id),De.isNullOrEmpty(u.editable)||o.writeAttribute("editable",u.editable),0<u.columnSpan&&o.writeAttribute("colspan",u.columnSpan.toString()),0<u.rowSpan&&o.writeAttribute("rowspan",u.rowSpan.toString()),De.isNullOrEmpty(u.interaction)||o.writeAttribute("interaction",u.interaction),De.isNullOrEmpty(u.collapsed)||o.writeAttribute("collapsed",u.collapsed),De.isNullOrEmpty(u.sortDirection)||o.writeAttribute("sort",u.sortDirection),De.isNullOrEmpty(u.dataBandSort)||o.writeAttribute("databandsort",u.dataBandSort),De.isNullOrEmpty(u.pageGuid)||o.writeAttribute("pageguid",u.pageGuid),De.isNullOrEmpty(u.pageIndex)||o.writeAttribute("pageindex",u.pageIndex),De.isNullOrEmpty(u.reportFile)||o.writeAttribute("reportfile",u.reportFile),De.isNullOrEmpty(u.componentIndex)||o.writeAttribute("compindex",u.componentIndex),De.isNullOrEmpty(u.drillDownMode)||o.writeAttribute("drilldownmode",u.drillDownMode),De.isNullOrEmpty(u.interactionEvents)||o.writeAttribute("interactionevents",u.interactionEvents),K.isNullOrZero(u.height)||u.style.set("height",u.height.toString()),K.isNullOrZero(u.width)||u.style.set("width",u.width.toString()),De.isNullOrEmpty(u.text)||(u.style.containsKey("height")&&u.style.set("max-height",u.height.toString()),u.style.containsKey("width")&&u.style.set("max-width",u.width.toString()),(u.style.containsKey("height")||u.style.containsKey("width"))&&(u.style.set("overflow","hidden"),u.style.containsKey("text-overflow")||u.style.set("text-overflow","clip"),u.style.set("box-sizing","border-box")));var h=null;let t=null,e=null;Hd.Export.Html.useStrictTableCellSize&&0<u.style.count&&(u.style.containsKey(et.vertAlignKey)&&u.style.containsKey("height")&&(t=u.style.get(et.vertAlignKey),u.style.remove(et.vertAlignKey)),u.style.containsKey(et.horAlignKey)&&u.style.containsKey("width")&&(e=u.style.get(et.horAlignKey),u.style.remove(et.horAlignKey)));let r=!1;u.style.containsKey(et.wordwrapKey)&&u.style.containsKey("width")&&(r=!0,u.style.remove(et.wordwrapKey),u.style.remove("white-space"));let i=null,n=null,a=null;if(0<u.controls.length&&(i=u.controls[0].stimulsoft().as($),n=u.controls[0].stimulsoft().as(tt),a=u.controls[0].stimulsoft().as(Z)),null==n||Hd.Export.Html.useStrictTableCellSize||u.style.set("line-height","0"),0<u.style.count){o.write(' style="');for(var c of u.style.keys)o.writeStyleAttribute(c,u.style.get(c));o.write('"')}o.write(">");let s=null;var d=0<u.controls.length||!De.isNullOrEmpty(u.text),m,p,l;if(d&&Hd.Export.Html.useStrictTableCellSize&&(o.write("<div"),Hd.Export.Html.useExtendedStyle&&(o.writeAttribute("class","sBaseStyleFix"),m=u.style.get("Font"),p=u.style.get("text-decoration"),l=u.style.get("color"),De.isNullOrEmpty(m)||(s="Font:"+m+";"),De.isNullOrEmpty(p)||(s+="text-decoration:"+p+";"),De.isNullOrEmpty(l)||(s+="color:"+l+";")),o.write(">"),null==t&&null==e||(o.write("<div "),Hd.Export.Html.useExtendedStyle&&o.write('class="sBaseStyleFix" '),o.write('style="'),o.writeStyleAttribute("display","table-cell"),null!=t&&(o.writeStyleAttribute("height",u.style.get("height")),o.writeStyleAttribute("vertical-align",t)),null!=e&&(o.writeStyleAttribute("width",u.style.get("width")),o.writeStyleAttribute("text-align",e)),De.isNullOrEmpty(s)||o.write(s),o.write('">')),null==h&&!r||(o.write("<div "),Hd.Export.Html.useExtendedStyle&&o.write('class="sBaseStyleFix" '),o.write('style="'),null!=h&&o.writeStyleAttribute("margin",h),r&&o.writeStyleAttribute("width",u.style.get("width")),De.isNullOrEmpty(s)||o.write(s),o.write('">'))),null!=n)this.renderImage(o,n,u);else if(null!=i){if(o.writeBeginTag("a"),De.isNullOrEmpty(i.openLinksTarget)||o.writeAttribute("target",i.openLinksTarget),De.isNullOrEmpty(i.toolTip)||o.writeAttribute("title",i.toolTip),De.isNullOrEmpty(i.cssClass)||o.writeAttribute("class",i.cssClass),i.attributes.containsKey("name")&&o.writeAttribute("name",i.attributes.get("name")),i.attributes.containsKey("guid")&&o.writeAttribute("guid",i.attributes.get("guid")),De.isNullOrEmpty(i.navigateUrl)||o.writeAttribute("href",et.stringToUrl(i.navigateUrl)),null!=i.image&&(i.style.set("display","inline-block"),i.style.set("height",i.image.height.toString()),i.style.set("width",i.image.width.toString())),Hd.Export.Html.useExtendedStyle&&i.style.set("border","0"),0<i.style.count){o.write(' style="');for(var g of i.style.keys)o.writeStyleAttribute(g,i.style.get(g));De.isNullOrEmpty(s)||o.write(s),o.write('"')}o.write(">"),null!=i.image&&this.renderImage(o,i.image,u),i.attributes.containsKey("id")?(o.writeBeginTag("div"),o.writeAttribute("id",i.attributes.get("id")),o.write('style="'),K.isNullOrZero(u.height)||o.writeStyleAttribute("height",u.height.toString()),K.isNullOrZero(u.width)||o.writeStyleAttribute("width",u.width.toString()),o.write('">'),o.write(i.text),o.write("</div>")):o.write(null!==(l=i.text)&&void 0!==l?l:u.text),o.writeFullEndTag("a")}else null!=a?o.write(a.text):o.write(u.text);d&&Hd.Export.Html.useStrictTableCellSize&&(null==h&&!r||o.write("</div>"),null==t&&null==e||o.write("</div>"),o.write("</div>")),o.writeFullEndTag("td")}o.writeLine(),o.indent--,o.writeFullEndTag("tr")}this.writeTableEnd(o,t)}renderImage(r,i,n){if(i.stretch||i.imageRotation!=Jy.None)if(i.aspectRatio||i.imageRotation!=Jy.None){r.write('<div style="'),r.writeStyleAttribute("width",n.width.toString()),r.writeStyleAttribute("height",n.height.toString());let t=i.horAlignment,e=i.vertAlignment;switch(i.imageRotation){case Jy.Rotate90CW:e=i.horAlignment==Ds.Left?Go.Bottom:i.horAlignment==Ds.Right?Go.Top:Go.Center,t=i.vertAlignment==Go.Top?Ds.Left:i.vertAlignment==Go.Bottom?Ds.Right:Ds.Center;break;case Jy.Rotate90CCW:e=i.horAlignment==Ds.Left?Go.Top:i.horAlignment==Ds.Right?Go.Bottom:Go.Center,t=i.vertAlignment==Go.Top?Ds.Right:i.vertAlignment==Go.Bottom?Ds.Left:Ds.Center;break;case Jy.Rotate180:i.horAlignment==Ds.Left?t=Ds.Right:i.horAlignment==Ds.Right&&(t=Ds.Left),i.vertAlignment==Go.Top?e=Go.Bottom:i.vertAlignment==Go.Bottom&&(e=Go.Top);break;case Jy.FlipHorizontal:i.horAlignment==Ds.Left?t=Ds.Right:i.horAlignment==Ds.Right&&(t=Ds.Left);break;case Jy.FlipVertical:i.vertAlignment==Go.Top?e=Go.Bottom:i.vertAlignment==Go.Bottom&&(e=Go.Top);break}var a;i.imageRotation!=Jy.Rotate90CCW&&i.imageRotation!=Jy.Rotate90CW||(r.write('"><div style="'),r.writeStyleAttribute("width",n.height.toString()),r.writeStyleAttribute("height",n.width.toString()),a=(n.width.value-n.height.value)/2,r.writeStyleAttribute("position","relative"),r.writeStyleAttribute("left",K.newUnit(a).toString()),r.writeStyleAttribute("top",K.newUnit(-a).toString()),r.writeStyleAttribute("transform",`rotate(${i.imageRotation==Jy.Rotate90CCW?"-":""}90deg)`)),r.writeStyleAttribute("background-repeat","no-repeat"),r.writeStyleAttribute("background-position",Ds[t].toLowerCase()+" "+Go[e].toLowerCase()),r.writeStyleAttribute("background-image","url("+et.stringToUrl(i.imageUrl)+")");var s=i.width.value*i.multipleFactor*i.zoom,a=i.height.value*i.multipleFactor*i.zoom;r.writeStyleAttribute("background-size",i.stretch?i.aspectRatio?"contain":"100% 100%":`${s}px ${a}px`),i.imageRotation==Jy.FlipHorizontal?r.writeStyleAttribute("transform","scaleX(-1)"):i.imageRotation==Jy.FlipVertical?r.writeStyleAttribute("transform","scaleY(-1)"):i.imageRotation==Jy.Rotate180&&r.writeStyleAttribute("transform","scale(-1)"),i.imageRotation==Jy.Rotate90CCW||i.imageRotation==Jy.Rotate90CW?r.write('"></div>'):r.write('">'),r.write("</div>")}else r.writeBeginTag("img"),De.isNullOrEmpty(i.toolTip)||r.writeAttribute("title",i.toolTip),De.isNullOrEmpty(i.base64)?De.isNullOrEmpty(i.imageUrl)||r.writeAttribute("src",et.stringToUrl(i.imageUrl)):r.writeAttribute("src",i.base64),r.write(' style="'),r.writeStyleAttribute("width",n.width.toString()),r.writeStyleAttribute("height",n.height.toString()),r.writeStyleAttribute("border-width",K.toPixelString(0)),r.write('" />');else{r.write('<div style="'),r.writeStyleAttribute("height",n.height.toString()),r.writeStyleAttribute("width",n.width.toString()),r.writeStyleAttribute("display","table-cell"),r.writeStyleAttribute("text-align",Ds[i.horAlignment].toLowerCase()),r.writeStyleAttribute("vertical-align",Go[i.vertAlignment].toLowerCase().stimulsoft().replaceAll("center","middle")),r.write('">'),r.write('<div style="'),r.writeStyleAttribute("max-height",n.height.toString()),r.writeStyleAttribute("max-width",n.width.toString()),r.writeStyleAttribute("overflow","hidden"),r.write('">'),r.writeBeginTag("img"),De.isNullOrEmpty(i.toolTip)||r.writeAttribute("title",i.toolTip),De.isNullOrEmpty(i.base64)?De.isNullOrEmpty(i.imageUrl)||r.writeAttribute("src",et.stringToUrl(i.imageUrl)):r.writeAttribute("src",i.base64);let t=0,e=0;var o=i.width.value*i.multipleFactor*i.zoom,l=i.height.value*i.multipleFactor*i.zoom;if(o>n.width.value)switch(i.horAlignment){case Ds.Center:t=n.width.value/2-o/2;break;case Ds.Right:t=n.width.value-o;break}if(l>n.height.value)switch(i.vertAlignment){case Go.Center:e=n.height.value/2-l/2;break;case Go.Bottom:e=n.height.value-l;break}r.writeAttribute("height",(i.height.value*i.zoom).toString()+"px"),r.writeAttribute("width",(i.width.value*i.zoom).toString()+"px"),r.write(' style="'),r.writeStyleAttribute("border-width",K.toPixelString(0)),r.writeStyleAttribute("margin-top",K.toPixelString(e)),r.writeStyleAttribute("margin-left",K.toPixelString(t)),r.write('" /></div></div>')}}writeTableBegin(e,t,r,i){if(t){if(e.writeBeginTag("div"),e.writeAttribute("class","pagemargins"),r&&(e.write(' style="'),e.writeStyleAttribute(et.pageBreakBeforeKey,"always"),e.write('"')),null!=i&&this.htmlExport.insertInteractionParameters&&null!=i&&null!=i.report&&!i.report.isDocument&&this.matrix.isComponentHasEvent(i)){let t=[];i.isClickHandlerEmpty||t.push("onclick"),i.isDoubleClickHandlerEmpty||t.push("ondblclick"),i.isMouseEnterHandlerEmpty||t.push("onmouseenter"),i.isMouseLeaveHandlerEmpty||t.push("onmouseleave"),e.write(De.format(' interactionevents="{0}"',t.join(", "))),e.write(De.format(' pageindex="{0}"',i.report.renderedPages.indexOf(i).toString()))}e.writeLine(">"),e.indent++}var i;e.writeBeginTag("table"),e.writeAttribute("cellspacing",this.cellSpacing.toString()),e.writeAttribute("cellpadding",this.cellPadding.toString()),e.writeAttribute("border","0"),this.align!=Ds.Left&&e.writeAttribute("align",this.align==Ds.Center?"center":"right"),Hd.Export.Html.useExtendedStyle&&e.writeAttribute("class","sBaseStyleFix"),e.write(' style="'),e.writeStyleAttribute("border-width",K.toPixelString(this.borderWidth)),e.writeStyleAttribute("width",this.width.toString()),null!=this.border&&this.border.dropShadow&&(i=hi.toColor(this.border.shadowBrush),e.writeStyleAttribute("box-shadow",`${this.border.shadowSize}px ${this.border.shadowSize}px 1px rgb(${i.r},${i.g},${i.b})`)),De.isNullOrEmpty(this.position)||e.writeStyleAttribute("position",this.position),De.isNullOrEmpty(this.backImageUrl)||e.writeStyleAttribute("background-image",De.format("url('{0}')",et.stringToUrl(this.backImageUrl))),De.isNullOrEmpty(this.backgroundPosition)||e.writeStyleAttribute("background-position",this.backgroundPosition),De.isNullOrEmpty(this.backgroundRepeat)||e.writeStyleAttribute("background-repeat",this.backgroundRepeat),e.writeStyleAttribute("border-collapse","collapse"),e.writeStyleAttribute("white-space","normal"),e.write('">'),e.writeLine(),e.indent++,Hd.Export.Html.useExtendedStyle&&(e.writeBeginTag("tbody"),e.writeAttribute("class","sBaseStyleFix"),e.writeLine(">"),e.indent++)}writeTableEnd(t,e){Hd.Export.Html.useExtendedStyle&&(t.writeLine(),t.indent--,t.writeFullEndTag("tbody")),t.writeLine(),t.indent--,t.writeFullEndTag("table"),e&&(t.writeLine(),t.indent--,t.writeFullEndTag("div"))}};et.marginsKey="padding",et.pageBreakBeforeKey="page-break-before",et.vertAlignKey="div:vertical-align",et.horAlignKey="div:text-align",et.wordwrapKey="div:wordwrap",et.wrongUrlSymbols='"&<',Ae.ax.StiHtmlTable=et;let i;(q=i=Ae.ax.WriterMode||(Ae.ax.WriterMode={}))[q["None"]=0]="None",q[q["BeginTag"]=1]="BeginTag",q[q["Attribute"]=2]="Attribute",q[q["Data"]=3]="Data",Ae.ax.StiHtmlTextWriter=class{constructor(t){this.stream=null,this.mode=i.None,this.indent=0,this.stream=t,this.mode=i.None,this.indent=0}write(t){this.checkIndent(),this.stream.write(t),this.mode=i.Data}writeLine(t){!t||De.isNullOrEmpty(t)?this.stream.writeLine():(this.checkIndent(),this.stream.writeLine(t)),this.mode=i.None}writeBeginTag(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t),this.mode=i.BeginTag}writeFullBeginTag(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t+">"),this.mode=i.Data}writeEndTag(t){this.mode==i.BeginTag?this.stream.write("/>"):(this.closeTag(),this.checkIndent(),this.stream.write("</"+t+">")),this.mode=i.Data}writeFullEndTag(t){this.closeTag(),this.checkIndent(),this.stream.write("</"+t+">"),this.mode=i.Data}writeAttribute(t,e){this.stream.write(" "+t),null!=e&&this.stream.write('="'+e+'"'),this.mode=i.Attribute}writeStyleAttribute(t,e){this.stream.write(t+":"+e+";"),this.mode=i.Attribute}flush(){this.stream.flush()}getStream(){return this.stream}closeTag(){this.mode!=i.Attribute&&this.mode!=i.BeginTag||this.stream.write(">")}checkIndent(){if(this.mode==i.None)for(let t=0;t<this.indent;t++)this.stream.write("\t")}},Ae.ax.StiHtmlTableRender=class{constructor(t,e,r){this.htmlExport=null,this.htmlExportSettings=null,this.matrix=new Ae.ax.StiMatrix(r,!1,t,t.styles),this.htmlExport=t,this.htmlExportSettings=e}renderStyle(t){this.htmlExport.renderBackColor(null,t.color),this.htmlExport.renderTextColor(null,t.textColor),this.htmlExport.renderFont(null,t.font),this.htmlExport.renderBorder3(null,t.border,"top"),this.htmlExport.renderBorder3(null,t.borderL,"left"),this.htmlExport.renderBorder3(null,t.borderR,"right"),this.htmlExport.renderBorder3(null,t.borderB,"bottom",t.borderRadius),this.htmlExport.renderTextDirection(null,t.textOptions),this.htmlExport.renderTextHorAlignment(null,t.textOptions,t.horAlignment),this.htmlExportSettings.exportMode==Ae.ax.StiHtmlExportMode.Table&&this.htmlExport.renderVertAlignment(null,t.vertAlignment),t.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),t.overflow&&this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=t.textOptions&&t.textOptions.trimming!=Ae.bn.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;"),1!=t.lineSpacing&&this.htmlExport.htmlWriter.write(De.format("line-height:{0}em;",Ne.round2(Ae.ax.StiHtmlExportService.getFontScale(t.font.name,t.font.size)*t.lineSpacing,2)))}renderStyleTable(t,e){this.htmlExport.renderBackColor(t,e.color),this.htmlExport.renderTextColor(t,e.textColor),this.htmlExport.renderFont(t,e.font),null==t&&this.htmlExport.htmlWriter.write("border:0px;"),this.htmlExport.renderBorder3(t,e.border,"top"),this.htmlExport.renderBorder3(t,e.borderL,"left"),this.htmlExport.renderBorder3(t,e.borderR,"right"),this.htmlExport.renderBorder3(t,e.borderB,"bottom"),this.htmlExport.renderTextDirection(t,e.textOptions),this.htmlExport.renderTextHorAlignment(t,e.textOptions,e.horAlignment),this.htmlExport.renderVertAlignment(t,e.vertAlignment,e.textOptions),null==t?(e.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),1!=e.lineSpacing&&this.htmlExport.htmlWriter.write(De.format("line-height:{0}em;",Ne.round2(Ae.ax.StiHtmlExportService.getFontScale(e.font.name,e.font.size)*e.lineSpacing,2))),Hd.Export.Html.useStrictTableCellSize||Hd.Export.Html.useStrictTableCellSizeV2?(e.wordWrap?this.htmlExport.htmlWriter.write("word-wrap:break-word;"):this.htmlExport.htmlWriter.write("white-space:nowrap;"),this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=e.textOptions&&e.textOptions.trimming!=Ae.bn.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;")):!e.wordWrap&&Hd.Export.Html.useWordWrapBreakWordMode&&this.htmlExport.htmlWriter.write("word-wrap:break-word;")):(e.absolutePosition&&(t.style["position"]="absolute"),1!=e.lineSpacing&&t.style.set("line-height",De.format("line-height:{0}em;",Ne.round2(Ae.ax.StiHtmlExportService.getFontScale(e.font.name,e.font.size)*e.lineSpacing,2))),Hd.Export.Html.useStrictTableCellSize||Hd.Export.Html.useStrictTableCellSizeV2?(e.wordWrap?t.style.set("word-wrap","break-word"):t.style.set("white-space","nowrap"),t.style.set("overflow","hidden"),null!=e.textOptions&&e.textOptions.trimming!=Ae.bn.StringTrimming.None&&t.style.set("text-overflow","ellipsis;")):!e.wordWrap&&Hd.Export.Html.useWordWrapBreakWordMode&&t.style.set("word-wrap","break-word"))}renderStyles(t,e,r){this.htmlExport.htmlWriter.writeLine('<style type="text/css">');for(var i of Ae.d.StiFontCollection.getBinFonts())this.htmlExport.htmlWriter.writeLine("@font-face {font-family: "+i+';src: url("'+Ae.d.StiFontCollection.getBinFont(i).filePath+'");}');if(Hd.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!e&&this.htmlExport.useStylesTable)for(let t=0;t<this.matrix.styles.length;t++){var n=this.matrix.styles[t];this.htmlExport.htmlWriter.write(".s"+n.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyle(n),this.htmlExport.htmlWriter.writeLine("}")}if(null!=r&&0<r.count)for(var a of r.keys)this.htmlExport.htmlWriter.writeLine("."+a+" {"+r.get(a)+";overflow:hidden;}");var s,o,l,u,h,e,t;t&&(Hd.Export.Html.useExtendedStyle?(this.htmlExport.htmlWriter.writeLine(".dtree {border:0; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dTreeNode {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtreeStyleFix {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border:0; vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {border:0;line-height:0; color:#333;text-decoration:none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {border:0; white-space: nowrap;padding: 1px 2px 1px 2px;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;text-decoration: none;font-weight:normal;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {border:0; color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {border:0; background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {border:0; overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border:0; border-right:1px;border-right-style:solid;border-right-color:Gray;}")):(this.htmlExport.htmlWriter.writeLine(".dtree {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border: 0px;vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {color: #333;text-decoration: none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {white-space: nowrap;padding: 1px 2px 1px 2px;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border-right:1px;border-right-style:solid;border-right-color:Gray;}"))),this.htmlExportSettings.addPageBreaks&&(s=this.htmlExport.report.renderedPages.list[0],this.htmlExport.report.renderedPages.getPage(s),o=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.pageWidth)),2),l=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.pageHeight)),2),u=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.left)),2),h=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.right)),2),e=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.top)),2),t=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.bottom)),2),this.htmlExport.htmlWriter.writeLine(".pagemargins { padding:0; border:0; }"),this.htmlExport.htmlWriter.write("@page { size: "),s.paperSize!=Ae.br.PaperKind.Custom?(this.htmlExport.htmlWriter.write(Zt.getName(Cl,s.paperSize)),s.orientation==Ae.ap.StiPageOrientation.Landscape&&this.htmlExport.htmlWriter.write(" landscape")):this.htmlExport.htmlWriter.write(De.format("{0}mm {1}mm",o,l)),this.htmlExport.htmlWriter.writeLine("; margin: 0; }"),this.htmlExport.htmlWriter.write(De.format("@media print {0} html,body {0} width: {1}mm; height: {2}mm; } ","{",o-u-h,l-e-t)),this.htmlExport.htmlWriter.writeLine(De.format(".pagemargins {0} padding: {1}mm {2}mm {3}mm {4}mm; border:0; } }","{",e,h,t/2,u))),this.htmlExport.htmlWriter.writeLine("</style>")}renderStylesTable(t,e,r=null){this.renderStylesTable2(t,e,!0,r)}renderStylesTable2(t,e,r,i=null){if(r&&this.htmlExport.htmlWriter.writeLine('<style type="text/css">'),this.htmlExport.htmlWriter.writeLine(Ae.bn.Graphics.getCustomFontsCss()),Hd.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!e&&this.htmlExport.useStylesTable)for(let t=0;t<this.matrix.styles.length;t++){var n=this.matrix.styles[t];this.htmlExport.htmlWriter.write(".s"+n.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyleTable(null,n),this.htmlExport.htmlWriter.writeLine("}")}if(null!=i&&0<i.count)for(var a of i.keys)this.htmlExport.htmlWriter.writeLine("."+a+" {"+i.get(a)+";}");var s,o,l,u,h,e,t;t&&(Hd.Export.Html.useExtendedStyle?(this.htmlExport.htmlWriter.writeLine(".dtree {border:0; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dTreeNode {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtreeStyleFix {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border:0; vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {border:0;line-height:0; color:#333;text-decoration:none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {border:0; white-space: nowrap;padding: 1px 2px 1px 2px;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;text-decoration: none;font-weight:normal;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {border:0; color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {border:0; background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {border:0; overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border:0; border-right:1px;border-right-style:solid;border-right-color:Gray;}")):(this.htmlExport.htmlWriter.writeLine(".dtree {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border: 0px;vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {color: #333;text-decoration: none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {white-space: nowrap;padding: 1px 2px 1px 2px;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border-right:1px;border-right-style:solid;border-right-color:Gray;}"))),this.htmlExportSettings.addPageBreaks&&(s=this.htmlExport.report.renderedPages.list[0],this.htmlExport.report.renderedPages.getPage(s),o=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.pageWidth)),2),l=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.pageHeight)),2),u=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.left)),2),h=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.right)),2),e=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.top)),2),t=Ne.round2(Ae.au.StiMillimetersUnit.Millimeters.convertFromHInches(this.htmlExport.report.unit.convertToHInches(s.margins.bottom)),2),this.htmlExport.htmlWriter.writeLine(".pagemargins { padding:0; border:0; }"),this.htmlExport.htmlWriter.write("@page { size: "),s.paperSize!=Ae.br.PaperKind.Custom?(this.htmlExport.htmlWriter.write(Zt.getName(Cl,s.paperSize)),s.orientation==Ae.ap.StiPageOrientation.Landscape&&this.htmlExport.htmlWriter.write(" landscape")):this.htmlExport.htmlWriter.write(De.format("{0}mm {1}mm",o,l)),this.htmlExport.htmlWriter.writeLine("; margin: 0; }"),this.htmlExport.htmlWriter.write(De.format("@media print {0} html,body {0} width: {1}mm; height: {2}mm; } ","{",o-u-h,l-e-t)),this.htmlExport.htmlWriter.writeLine(De.format(".pagemargins {0} padding: {1}mm {2}mm {3}mm {4}mm; border:0; } }","{",e,h,t/2,u))),r&&this.htmlExport.htmlWriter.writeLine("</style>")}getWidth(t,e,r,i){return(t.stimulsoft().getByIndex(r+1,e)-t.stimulsoft().getByIndex(r,e))*i}getHeight(t,e,r,i){return(t.stimulsoft().getByIndex(r+1,e)-t.stimulsoft().getByIndex(r,e))*i}renderTable(t,e,r,i,n,a=!1,s=null,o=null){var C;t&&this.renderStylesTable(r,i,n);let l=new et;l.htmlExportSettings=this.htmlExportSettings,l.matrix=this.matrix,l.htmlExport=this.htmlExport,l.align=this.htmlExport.pageHorAlignment,l.backImageUrl=e,a&&(l.position="relative"),l.width=K.newUnit(Ne.round2(this.matrix.totalWidth*this.htmlExport.zoom,0),Hd.Export.Html.printLayoutOptimization),l.border=s,l.borderWidth=0,l.cellPadding=0,l.cellSpacing=0;let T=this.matrix.coordX,P=this.matrix.coordY;var I=T.getKeys(),A=P.getKeys(),u;let x=ke.create2(Boolean,this.matrix.coordX.countItems,this.matrix.coordY.countItems),D=new Dt;for(u of this.matrix.styles)D.set(u,this.matrix.styles.indexOf(u));for(let w=0;w<this.matrix.coordY.countItems-1;w++){if(this.htmlExport.invokeExporting2(w,this.matrix.coordY.countItems,2,3),this.htmlExport.isStopped)return;var h=this.getHeight(P,A,w,this.htmlExport.zoom);let t=new p;t.height=K.newUnit(h,Hd.Export.Html.printLayoutOptimization),l.rows.push(t),this.htmlExportSettings.addPageBreaks&&-1!=this.matrix.horizontalPageBreaks.indexOf(w)&&t.style.set(et.pageBreakBeforeKey,"always");let v=[Fe.transparent],e=0;for(let t=0;t<this.matrix.coordX.countItems-1;t++){var c=this.matrix.bordersX[w][t];null!=c&&c.style!=Jr.None&&(e=Math.max(e,c.size))}for(let y=0;y<this.matrix.coordX.countItems-1;y++){if(!x[y][w]){let g=new m;t.cells.push(g);let f=this.getWidth(T,I,y,this.htmlExport.zoom),S=h,b=this.matrix.cells[w][y];if(null!=b){let e=null!=b.text?b.text:"";var B=b.component.as(ww);null!=B&&Hd.Export.Html.convertDigitsToArabic&&B.textOptions.rightToLeft;let n=null!=b.component?b.component.as($o):null,t=!0;null!=b.component&&(null!=n&&n.checkAllowHtmlTags()&&(e=Ae.ax.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(n,e,this.htmlExport.zoom),t=!1),Hd.Export.Html.forceWysiwygWordwrap&&null!=n&&!n.checkAllowHtmlTags()&&n.textQuality==zb.Wysiwyg&&null!=B&&B.textOptions.wordWrap),Hd.Export.Html.replaceSpecialCharacters&&t&&(e=e.stimulsoft().replaceAll("&","&amp;").stimulsoft().replaceAll('"',"&quot;").stimulsoft().replaceAll("<","&lt;").stimulsoft().replaceAll(">","&gt;").stimulsoft().replaceAll(" ","&nbsp;"));let r=!1;Hd.Export.Html.preserveWhiteSpaces&&!De.isNullOrWhiteSpace(e)&&e.stimulsoft().contains("  ")?(e=this.htmlExport.prepareTextForHtml(e,!1),r=!0):e=this.htmlExport.prepareTextForHtml(e);var E=b.width+1,k=b.height+1,N,F,R,L,M,O,H,H,_,V,V,G,U,j,j,W;for(let e=y;e<y+E;e++)for(let t=w;t<w+k;t++)x[e][t]=!0;1<E&&(g.columnSpan=E),1<k&&(g.rowSpan=k);let i=this.matrix.cellStyles[w][y];if(null==i&&(i=b.cellStyle),null!=i)if(null!=D.get(i)&&this.htmlExport.useStylesTable&&(g.cssClass="s"+i.styleName),Hd.Export.Html.useStrictTableCellSize){i.vertAlignment!=Go.Top&&g.style.set(et.vertAlignKey,i.vertAlignment==Go.Center?"middle":"bottom");var C=null!=i.textOptions&&i.textOptions.rightToLeft;let t=null;i.horAlignment==Bs.Left&&(t=C?"right":null),i.horAlignment==Bs.Right&&(t=C?null:"right"),i.horAlignment==Bs.Center&&(t="center"),i.horAlignment==Bs.Width&&(t="justify"),null!=t&&g.style.set(et.horAlignKey,t);for(let t=0;t<E;t++)v[y+t]=i.color}if(null!=b.component){var C=null===(C=b.component.tagValue)||void 0===C?void 0:C.stimulsoft().as(String);if(!De.isNullOrEmpty(C)){let r=this.matrix.splitTagWithCache(C);for(let e=0;e<r.length;e++)if(r[e].toLowerCase().stimulsoft().startsWith("css")){let t=Ae.ax.StiMatrix.getStringsFromTag(r[e],3);if(1<t.length&&this.htmlExport.useStylesTable){g.cssClass=t[0].trim();break}}}}if(this.htmlExport.useStylesTable?Hd.Export.Html.useExtendedStyle&&(this.htmlExport.renderTextColor(g,i.textColor,!0),this.htmlExport.renderFont(g,i.font)):this.renderStyleTable(g,i),Hd.Export.Html.printLayoutOptimization&&null!=i&&null!=i.border&&i.border.style!=Jr.None&&(S-=i.border.size,f-=i.border.size,S<0&&(S=0),f<0&&(f=0)),this.htmlExport.exportQuality==Ae.ax.StiHtmlExportQuality.High)if(Hd.Export.Html.forceIE6Compatibility)1==E&&(g.width=K.newUnit(f,Hd.Export.Html.printLayoutOptimization)),1==k&&(g.height=K.newUnit(S,Hd.Export.Html.printLayoutOptimization));else{if(1<E)for(let t=1;t<E;t++)f+=this.getWidth(T,I,y+t,this.htmlExport.zoom);if(1<k)for(let t=1;t<k;t++)S+=this.getHeight(P,A,w+t,this.htmlExport.zoom);g.width=K.newUnit(f,Hd.Export.Html.printLayoutOptimization),g.height=K.newUnit(S,Hd.Export.Html.printLayoutOptimization),Hd.Export.Html.useStrictTableCellSizeV2&&3<e.length&&(g.style.set("max-width",g.width.toString()),g.style.set("max-height",g.height.toString()))}if(this.htmlExport.insertInteractionParameters&&null!=b.component&&!b.component.report.isDocument){let n=b.component;if(this.matrix.isComponentHasInteraction(n)||0<this.matrix.interactions[w][y][1]){if(!this.matrix.isComponentHasInteraction(n)){let t=this.htmlExport.report.renderedPages.getByIndex(this.matrix.interactions[w][y][0]-1);this.htmlExport.report.renderedPages.getPage(t),n=t.components.getByIndex(this.matrix.interactions[w][y][1]-1)}if(g.interaction=n.name,n.interaction.sortingEnabled){var q=n.interaction.getSortDataBandName();let i=n.report.getComponentByName(q);if(i=null!=i?i.as(Jl):null,null!=i){g.dataBandSort=q+";"+De.join(";",i.sort);let e=0,r="";while(e<i.sort.length){let t="";r=i.sort[e++];while(e<i.sort.length&&"asc"!=i.sort[e].toLowerCase()&&"desc"!=i.sort[e].toLowerCase())0==t.length?t=i.sort[e]:t+="."+i.sort[e],e++;t==n.interaction.getSortColumnsString()&&(g.sortDirection=r.toLowerCase())}}}!n.interaction.drillDownEnabled||null==n.interaction.drillDownPage&&De.isNullOrEmpty(n.interaction.drillDownReport)||(null!=n.interaction.drillDownPage&&(g.pageGuid=n.interaction.drillDownPage.guid),De.isNullOrEmpty(n.interaction.drillDownReport)||(g.reportFile=n.interaction.drillDownReport),g.pageIndex=n.page.report.renderedPages.indexOf(n.page).toString(),g.componentIndex=n.page.components.indexOf(n).toString(),g.drillDownMode=Zt.getName(Zm,n.interaction.drillDownMode));var q=n.interaction.stimulsoft().as(sp);if(null!=q&&q.collapsingEnabled&&n.is(Ql)){let t=n;g.collapsed=kp.isCollapsed(t,!1).toString().toLowerCase(),g.componentIndex=t.collapsingIndex.toString()}}if(this.matrix.isComponentHasEvent(n)){let t=[];n.isClickHandlerEmpty||t.push("onclick"),n.isDoubleClickHandlerEmpty||t.push("ondblclick"),n.isMouseEnterHandlerEmpty||t.push("onmouseenter"),n.isMouseLeaveHandlerEmpty||t.push("onmouseleave"),g.interactionEvents=t.join(", "),g.pageIndex=n.page.report.renderedPages.indexOf(n.page).toString(),g.componentIndex=n.page.components.indexOf(n).toString()}}let a=null,s=null,o=null,l=null,u=!1,h=!1,c=!1,d=!1,m=b.exportImage;if(null!=b.component){if(a=b.component.hyperlinkValue,s=b.component.toolTipValue,o=b.component.bookmarkValue,De.isNullOrEmpty(a)||(a=a.trim(),a.startsWith("javascript:")&&(a=null)),!De.isNullOrWhiteSpace(a)&&a.stimulsoft().startsWith("##")&&(2<a.length&&"#"==a.charAt(2)?(a=a.substr(2),null!=(F=this.matrix.pointerToBookmark.get(a.substr(1)))&&(a="#"+F)):a=a.substr(1)),De.isNullOrEmpty(o))for(let r=0;r<=b.height;r++){let e=!1;for(let t=0;t<=b.width;t++){var z=this.matrix.bookmarks[w+r][y+t];if(!De.isNullOrEmpty(z)){o=z,e=!0;break}}if(e)break}if(!De.isNullOrWhiteSpace(b.component.guid)&&this.htmlExport.hashBookmarkGuid.containsKey(b.component.guid)&&(l=b.component.guid),Hd.Export.Html.allowStrippedImages&&null==m){let t=b.component.as(ad);null!=t&&t.stimulsoft().is(sd)&&(!t.isExportAsImage(Ae.c.StiExportFormat.HtmlTable)||null!=B&&0!=B.textOptions.angle||(m=t))}null!=b.component.as(Ae.as.IStiChart)&&this.htmlExport.chartType!=Ae.ax.StiHtmlChartType.Image&&(u=!0),null!=b.component.as(Ae.ap.StiSparkline)&&this.htmlExport.chartType!=Ae.ax.StiHtmlChartType.Image&&(h=!0),null!=b.component.as(Ae.bd.IStiGauge)&&this.htmlExport.chartType!=Ae.ax.StiHtmlChartType.Image&&(c=!0),null!=b.component.as(Ae.aC.StiMap)&&this.htmlExport.chartType!=Ae.ax.StiHtmlChartType.Image&&(d=!0);var F=b.component.as(Mo),X,J,J;if(null!=F&&F.editable){let e=new Mt;var X=b.component.page.components.indexOf(b.component),Y;e.appendFormat("{0};",X);let r=b.component.as(bd);if(null!=r){let t=Fe.transparent;r.textBrush.is(si)?t=r.textBrush.color:r.textBrush.is(ni)||r.textBrush.is(ri)?t=r.textBrush.startColor:r.textBrush.is(ii)?t=r.textBrush.color:r.textBrush.is(ai)&&(t=r.textBrush.foreColor),e.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",r.checkedValue,Ae.ap.StiCheckStyle[r.checkStyleForFalse],Ae.ap.StiCheckStyle[r.checkStyleForTrue],r.contourColor.r,r.contourColor.g,r.contourColor.b,r.size,t.r,t.g,t.b)}null!=n&&e.appendFormat("Text"),null!=b.component.as(md)&&e.appendFormat("RichText"),g.editable=e.toString()}if(null==m){let t=null,e=null,r=null;null!=n&&(n.brush.is(ni)&&(t=n.brush.as(ni)),n.brush.is(ri)&&(e=n.brush.as(ri)),n.brush.is(ii)&&(r=n.brush.as(ii)));let i=null!=b.component?b.component.as(Ql):null;null!=i&&(i.brush.is(ni)&&(t=i.brush.as(ni)),i.brush.is(ri)&&(e=i.brush.as(ri)),i.brush.is(ii)&&(r=i.brush.as(ii))),null!=t&&(X=De.format("linear-gradient({0}deg, {1}, {2})",Ne.trunc(t.angle)+90,this.htmlExport.formatColor(t.startColor),this.htmlExport.formatColor(t.endColor)),g.style.set("background",X)),null!=e&&(J=De.format("linear-gradient({0}deg, {1}, {2} {3}%, {1})",Ne.trunc(e.angle)+90,this.htmlExport.formatColor(e.startColor),this.htmlExport.formatColor(e.endColor),Math.round(100*e.focus)),g.style.set("background",J)),null!=r&&(J=De.format("linear-gradient({0}, {0} 49%, {1} 50%, {1});",this.htmlExport.formatColor(r.getTopColor()),this.htmlExport.formatColor(r.getBottomColor())),g.style.set("background",J))}}let p=!0;if(De.isNullOrEmpty(o)&&De.isNullOrEmpty(l))if(u&&this.htmlExportSettings.chartType==Ae.ax.StiHtmlChartType.AnimatedVector){if(De.isNullOrEmpty(a))g.toolTip=s;else{let t=new $;t.toolTip=s,t.navigateUrl=a,t.openLinksTarget=this.htmlExport.openLinksTarget,t.style.set("display","block"),g.controls.push(t)}g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareChartData(null,b.component.as(Eo),f,S)}else if(h)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareSparklineData(null,b.component,f,S);else if(c)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareGaugeData(null,b.component,f,S);else if(d)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareMapData(null,b.component,f,S);else if(b.component.is(Ae.az.StiBarCode)||b.component.is(Ae.ap.StiCheckBox)||b.component.is(Ae.ap.StiShape)||u&&this.htmlExportSettings.chartType!=Ae.ax.StiHtmlChartType.AnimatedVector){var H=b.component.as(gl);let t=new Z;var H=Ae.ax.StiSvgHelper.saveComponentToString(H,Ae.c.ImageFormat.Jpeg,.75,100,!1),H=De.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',f,S,this.htmlExport.zoom,H);t.text=H,g.controls.push(t)}else if(null==m)if(null!=a&&0<a.length){let t=new $;t.text=e,t.toolTip=s,t.navigateUrl=a,t.openLinksTarget=this.htmlExport.openLinksTarget,t.style.set("display","block"),null!=b.component&&b.component.is(nl)&&(H=b.component.as(nl),H=hi.toColor(H.textBrush),t.style.set("color",this.htmlExport.formatColor(H))),null!=b.component&&b.component.is(il)&&(b.component.as(il).font.underline?t.style.set("text-decoration","underline"):t.style.set("text-decoration","none")),g.controls.push(t)}else{null==n||0==n.angle&&null==n.indicator?g.text=e:(V=Ae.ax.StiSvgHelper.saveComponentToString(n,Ae.c.ImageFormat.Jpeg,.75,100,!1),V=De.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',f,S,this.htmlExport.zoom,V),g.text=V),g.toolTip=s}else{let t=this.htmlExport.zoom,e=this.htmlExport.imageResolution;Hd.Export.Html.useImageResolution&&m.is(yd)&&null!=m.imageToDraw&&(50<=(G=m.imageToDraw.horizontalResolution)&&G<=1250&&(e=G)),100!=e&&(t*=e/100);let i=null;this.htmlExport.setCurrentCulture();var V=m.as(sd),G={ref:t};if(i=V.imageToDraw,t=G.ref,this.htmlExport.restoreCulture(),null!=i){i.zoom=G.ref,b.exportImage&&(i.aspectRatio=b.exportImage.aspectRatio,i.multipleFactor=b.exportImage.multipleFactor,i.margins=b.exportImage.margins,i.horAlignment=b.exportImage.horAlignment,i.vertAlignment=b.exportImage.vertAlignment,i.imageRotation=b.exportImage.imageRotation,i.stretch=b.exportImage.stretch);var G=this.matrix.getRealImageData(b,i);null!=G&&(i=G);let e=null;if(null!=b.component&&b.component.is(yd)){let t=b.component.as(yd);t.stretch&&1!=t.aspectRatio&&t.imageRotation==Jy.None&&(e=t.imageURLValue?t.imageURLValue.stimulsoft().as(String):null)}let r=new tt;if(r.aspectRatio=i.aspectRatio,r.horAlignment=i.horAlignment,r.vertAlignment=i.vertAlignment,r.imageRotation=i.imageRotation,r.margins=i.margins,r.multipleFactor=i.multipleFactor,r.stretch=i.stretch,r.zoom=i.zoom,r.base64=i.base64,null!=e&&0!=e.length?r.imageUrl=e:null!=this.htmlExport.htmlImageHost&&(r.imageUrl=this.htmlExport.htmlImageHost.getImageString(i)),r.toolTip=s,r.width=K.newUnit(i.width/t*this.htmlExport.zoom,!1),r.height=K.newUnit(i.height/t*this.htmlExport.zoom,!1),null!=a&&0<a.length){let t=new $;t.navigateUrl=a,t.toolTip=s,t.cssClass=g.cssClass,t.openLinksTarget=this.htmlExport.openLinksTarget,t.image=r,g.controls.push(t)}else g.controls.push(r);p=!1}}else{let t=new $;if(De.isNullOrWhiteSpace(o)||t.attributes.set("name",o),De.isNullOrEmpty(l)||t.attributes.set("guid",l),t.toolTip=s,t.navigateUrl=a,t.openLinksTarget=this.htmlExport.openLinksTarget,g.toolTip=s,u)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareChartData(null,b.component,f,S);else if(h)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareSparklineData(null,b.component,f,S);else if(c)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareGaugeData(null,b.component,f,S);else if(d)g.id=this.htmlExport.getGuid(b.component),g.text=this.htmlExport.prepareMapData(null,b.component,f,S);else if(b.component.is(Ae.az.StiBarCode)||b.component.is(Ae.ap.StiCheckBox)||b.component.is(Ae.ap.StiShape)||u&&this.htmlExportSettings.chartType!=Ae.ax.StiHtmlChartType.AnimatedVector){var Q=b.component.as(gl);let t=new Z;var Q=Ae.ax.StiSvgHelper.saveComponentToString(Q,Ae.c.ImageFormat.Jpeg,.75,100,!1),Q=De.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',f,S,this.htmlExport.zoom,Q);t.text=Q,g.controls.push(t)}else if(null!=m){let t=this.htmlExport.zoom,e=this.htmlExport.imageResolution;Hd.Export.Html.useImageResolution&&m.is(yd)&&null!=m.imageToDraw&&(50<=(U=m.imageToDraw.horizontalResolution)&&U<=1250&&(e=U)),100!=e&&(t*=e/100);let i=null;this.htmlExport.setCurrentCulture();var Q=m.stimulsoft().as(sd),U={ref:t};if(i=Q.imageToDraw,t=U.ref,this.htmlExport.restoreCulture(),null!=i){var j=this.matrix.getRealImageData(b,i);null!=j&&(i=j);let e=null;if(null!=b.component&&b.component.is(yd)){let t=b.component.as(yd);t.stretch&&1!=t.aspectRatio&&t.imageRotation==Jy.None&&(e=t.imageURLValue?t.imageURLValue.stimulsoft().as(String):null)}let r=new tt;if(r.aspectRatio=i.aspectRatio,r.horAlignment=i.horAlignment,r.vertAlignment=i.vertAlignment,r.imageRotation=i.imageRotation,r.margins=i.margins,r.multipleFactor=i.multipleFactor,r.stretch=i.stretch,r.zoom=i.zoom,r.base64=i.base64,null!=e&&0!=e.length?r.imageUrl=e:null!=this.htmlExport.htmlImageHost&&(r.imageUrl=this.htmlExport.htmlImageHost.getImageString(i)),r.toolTip=s,r.width=K.newUnit(i.width/t*this.htmlExport.zoom,!1),r.height=K.newUnit(i.height/t*this.htmlExport.zoom,!1),null!=a&&0<a.length){let t=new $;t.navigateUrl=a,t.toolTip=s,t.cssClass=g.cssClass,t.openLinksTarget=this.htmlExport.openLinksTarget,t.image=r,g.controls.push(t)}else g.controls.push(r);p=!1}}p&&!u&&(t.text=e,null!=b.component&&b.component.is(nl)&&(j=b.component.as(nl),j=hi.toColor(j.textBrush),t.style.set("color",this.htmlExport.formatColor(j))),null!=b.component&&b.component.is(il)&&(b.component.as(il).font.underline?t.style.set("text-decoration","underline"):t.style.set("text-decoration","none"))),g.controls.push(t)}null!=n&&!n.margins.isEmpty&&p&&(g.style.set(et.marginsKey,De.format("{0} {1} {2} {3}",K.newUnit(Ne.trunc(n.margins.top*this.htmlExport.zoom)),K.newUnit(Ne.trunc(n.margins.right*this.htmlExport.zoom)),K.newUnit(Ne.trunc(n.margins.bottom*this.htmlExport.zoom)),K.newUnit(Ne.trunc(n.margins.left*this.htmlExport.zoom)))),null!=g.width&&0<n.margins.left+n.margins.right&&(g.width.value-=Ne.trunc(n.margins.left*this.htmlExport.zoom)+Ne.trunc(n.margins.right*this.htmlExport.zoom)),null!=g.height&&0<n.margins.top+n.margins.bottom&&(g.height.value-=Ne.trunc(n.margins.top*this.htmlExport.zoom)+Ne.trunc(n.margins.bottom*this.htmlExport.zoom))),null!=B&&B.textOptions.wordWrap?(g.style.set("word-wrap","break-word"),r?g.style.set("white-space","pre-wrap"):g.style.remove("white-space")):r?g.style.set("white-space","pre"):g.style.set("white-space","nowrap"),null!=B&&B.textOptions.trimming!=Ae.bn.StringTrimming.None&&g.style.set("text-overflow","ellipsis")}else{Hd.Export.Html.printLayoutOptimization&&0<e&&(S-=e,S<0&&(S=0)),this.htmlExport.exportQuality==Ae.ax.StiHtmlExportQuality.High&&(g.width=K.newUnit(f,Hd.Export.Html.printLayoutOptimization),g.height=K.newUnit(S,Hd.Export.Html.printLayoutOptimization));var B=this.matrix.cellStyles[w][y],d;null!=B&&null!=D.get(B)&&this.htmlExport.useStylesTable&&(g.cssClass="s"+B.styleName),De.isNullOrEmpty(g.cssClass)&&g.style.set("border","0px")}}null==v[y]&&(v[y]=Fe.transparent)}if(Hd.Export.Html.useStrictTableCellSize&&0!=v[0].a){let e=!0;for(let t=0;t<v.length-1;t++)if(!v[t].equals(v[t+1])){e=!1;break}e&&t.style.set("background-color",this.htmlExport.formatColor(v[0]))}}l.renderControl(this.htmlExport.htmlWriter,this.htmlExportSettings.addPageBreaks,o)}}}let xw=Ae.ap.StiLinePrimitive,Dw=Ae.ax.StiExportDataType;{let g;(k=g=Ae.ax.StiTableLineInfo||(Ae.ax.StiTableLineInfo={}))[k["Empty"]=0]="Empty",k[k["Unknown"]=1]="Unknown",k[k["PageHeader"]=2]="PageHeader",k[k["PageFooter"]=3]="PageFooter",k[k["HeaderAP"]=4]="HeaderAP",k[k["FooterAP"]=5]="FooterAP",k[k["HeaderD"]=6]="HeaderD",k[k["FooterD"]=7]="FooterD",k[k["Data"]=8]="Data",k[k["Trash"]=9]="Trash";let $=class{constructor(t,e,i,r,n=Ae.ax.StiDataExportMode.AllBands,a=!1){this.totalHeight=0,this.totalWidth=0,this.styles=[],this.coordX=new Ee,this.coordY=new Ee,this.linePlacement=null,this.parentBandName=null,this.bordersX=null,this.bordersY=null,this.horizontalPageBreaks=[],this.cellStyles=null,this.bookmarks=null,this.interactions=null,this.maxRowHeight=200,this._defaultLinePrimitiveWidth=1,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.imagesBaseRect=null,this.leftCached=new Dt,this.topCached=new Dt,this.xcHash=new Dt,this.ycHash=new Dt,this.tagSplitCache=new Dt,this.stylesCache=new Dt,this.fontsCache=new Dt,this.createdCells=[],this.borderSides=[],this.exportFormat=Ae.c.StiExportFormat.Excel,this.isHtmlService=!1,this.isHtmlOrExcelXmlService=!1,this.isHtmlPngMode=!1,this.report=null,this.pages=null,this.addComponentWithInteractions=!1,this.replaceCheckboxes=!1,this.hyperlinksToTag=null,this.pointerToBookmark=null,this.pointerToTag=null,this.maxCoordY=0,this.defaultLinePrimitiveWidth=0,this.fields=null,this.dataArrayLength=0,this.fieldsList=null,this.sizeX=0,this.sizeY=0,this.htName=null,this.lastPage=null,this.lastPageId=-1,this.lastComps=null,this.report=t.report,this.pages=t,this.exportFormat=i.exportFormat;var s=this.exportFormat==Ae.c.StiExportFormat.Dbf||this.exportFormat==Ae.c.StiExportFormat.Csv||this.exportFormat==Ae.c.StiExportFormat.Xml;this.isHtmlService=i.stimulsoft().is(Ae.ax.StiHtmlExportService),this.isHtmlOrExcelXmlService=this.isHtmlService||i.stimulsoft().is(Ae.ax.IStiExcelXmlExportService),this.isHtmlPngMode=this.isHtmlService&&i.stimulsoft().as(Ae.ax.StiHtmlExportService).imageFormat==Ae.c.ImageFormat.Png,this.isHtmlService&&(this.addComponentWithInteractions=i.insertInteractionParameters),i.stimulsoft().is(Ae.ax.IStiExcel2007ExportService)&&(this.replaceCheckboxes=!0),i.stimulsoft().is(Ae.ax.IStiWord2007ExportService)&&(this.replaceCheckboxes=!0);let l=-1;null!=r&&(this.styles=r,l=r.length);let o=ke.create(Number,t.count+1),u=ke.create(Number,t.count+1),h=0,c=0;this.maxCoordY=0;var d=!1,m,p,g,f;this.defaultLinePrimitiveWidth=this._defaultLinePrimitiveWidth/(this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleY:1),i.stimulsoft().is(Ae.ax.IStiExcel2007ExportService)&&(this.bookmarksTable=new Dt);let S=!0;i.stimulsoft().is(Ae.ax.IStiWord2007ExportService)&&(S=i.removeEmptySpaceAtBottom),i.stimulsoft().is(Ae.ax.IStiExcel2007ExportService)&&(S=Hd.Export.Excel.RemoveEmptySpaceAtBottom),i.stimulsoft().is(Ae.ax.StiHtmlExportService)&&(S=i.removeEmptySpaceAtBottom),this.hyperlinksToTag=new Dt,this.pointerToBookmark=new Dt,this.pointerToTag=new Dt;let b=0,y=0;for(m of t.list){if(t.getPage(m),i.invokeExporting(m,t,i.currentPassNumber,i.maximumPassNumber),i.isStopped)return;var v=this.coordY.countItems,w,C,T,P;o[h]=this.totalHeight,u[h]=c,h++;let r=m.unit.convertRectangleToHInches(m.clientRectangle);if(null!=m.border&&m.border.side!=Xr.None){let t=new Ql;t.displayRectangle=m.clientRectangle,this.addCoord(m.unit.convertRectangleToHInches(t.displayRectangle))}(S||b==t.count-1&&!this.isHtmlService)&&(r.height=0),this.addCoord(r),r=m.unit.convertRectangleToHInches(m.clientRectangle);for(w of m.components.list)if(w.enabled&&(!d||w.printable)){let t=m.unit.convertRectangleToHInches(w.displayRectangle);t.height<0&&(t.y+=t.height,t.height=Math.abs(t.height));let e=!0;if(w.is(cb)&&(e=!1),(t.right<r.left||t.left>r.right||t.bottom<r.top||t.top>r.bottom)&&(e=!1),Hd.Engine.allowInteractionInChartWithComponents&&w.name.stimulsoft().endsWith("Interaction#FX%")&&(e=!1),this.checkComponentPlacement(w,n)||(e=!1),e){if(w.is(xw)&&(w.is(Sb)?(this.addCoord(t),t.y-=this.defaultLinePrimitiveWidth,t.x-=this.defaultLinePrimitiveWidth):(t.height<1.5&&(t.height=this.defaultLinePrimitiveWidth,t.y-=t.height),t.width<1.5&&(t.width=this.defaultLinePrimitiveWidth,t.x-=t.width))),this.addCoord(t),null!=w.hyperlinkValue){let t=w.hyperlinkValue;!De.isNullOrEmpty(t)&&2<t.length&&t.stimulsoft().startsWith("##")&&"#"!=t.charAt(2)&&this.hyperlinksToTag.set(t.substr(2),null)}null==w.pointerValue||De.isNullOrWhiteSpace(w.pointerValue)||De.isNullOrEmpty(w.guid)||(C=w.pointerValue+"#GUID#"+w.guid,T=w.bookmarkValue,De.isNullOrWhiteSpace(T)||this.pointerToBookmark.set(C,T),P=w.tagValue,null!=T||De.isNullOrEmpty(P)||this.pointerToTag.set(C,P))}}0==b&&(this.coordY=$.sortForMatrix(this.coordY)),a&&this.maxCoordY>this.totalHeight+r.height&&(this.maxCoordY=this.totalHeight+r.height),this.totalHeight=this.maxCoordY,c=Math.round(this.maxCoordY*(this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleY:1)),this.totalWidth=Math.max(this.totalWidth,m.unit.convertToHInches(m.width)*(this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleX:1)),b++;var I=this.coordY.countItems;I-v>y&&(y=I-v)}this.coordX=$.sortForMatrix(this.coordX),o[h]=this.totalHeight;for(p of this.pointerToTag.keys){var A=this.pointerToTag.get(p);this.hyperlinksToTag.containsKey(A)&&this.pointerToBookmark.set(p,A)}this.pointerToTag.clear(),e&&this.prepareTable(),this.isHtmlOrExcelXmlService&&this.addCoord2(0,c+1,!1);let x=this.coordY.getKeys(),D=this.coordX.getKeys();for(let t=0;t<x.length;t++)this.topCached.set(this.coordY.getByIndex(t,x),t);for(let t=0;t<D.length;t++)this.leftCached.set(this.coordX.getByIndex(t,D),t);this.cells=ke.create2(Ae.ax.StiCell,x.length,D.length),this.bordersX=ke.create2(Yr,x.length,D.length),this.bordersY=ke.create2(Yr,x.length,D.length),this.bookmarks=ke.create2(String,x.length,D.length),this.cellsMap=ke.create2(Ae.ax.StiCell,x.length,D.length),this.coordXCheck=ke.create(Boolean,D.length),this.coordYCheck=ke.create(Boolean,x.length),this.coordXNew=ke.create(Number,D.length),this.coordYNew=ke.create(Number,x.length),this.coordXPrim=ke.create(Number,D.length),this.coordYPrim=ke.create(Number,x.length),this.imagesBaseRect=new Dt,h=0,this.addComponentWithInteractions&&(this.interactions=ke.create3(Number,x.length,D.length,2)),b=0;let B=this.coordY.countItems;for(g of t.list){if(t.getPage(g),i.invokeExporting(g,t,i.currentPassNumber+1,i.maximumPassNumber),i.isStopped)return;if(this.totalHeight=o[h++],null!=g.border&&g.border.side!=Xr.None){let t=new Ql;t.displayRectangle=g.clientRectangle,t.border=g.border,t.brush=g.brush,t.page=g,this.renderComponent(t,s,!0,i.exportServiceId)}var E=g.unit.convertRectangleToHInches(g.clientRectangle),k;for(k of g.components.list)if(k.enabled&&(!d||k.printable)){let t=g.unit.convertRectangleToHInches(k.displayRectangle);t.height<0&&(t.y+=t.height,t.height=Math.abs(t.height));let e=!0;k.is(cb)&&(e=!1),(t.right<E.left||t.left>E.right||t.bottom<E.top||t.top>E.bottom)&&(e=!1),this.checkComponentPlacement(k,n)||(e=!1),e&&this.renderComponent(k,s,!1,i.exportServiceId)}if(null!=g.bookmarkValue){var N=g.bookmarkValue;if(!De.isNullOrEmpty(N)){let i=this.getRange(g.unit.convertRectangleToHInches(g.clientRectangle));if(-1!=i.left){-1==i.bottom&&(i.height=B-1-i.top);for(let r=i.y;r<i.bottom;r++){let e=!1;for(let t=i.x;t<i.right;t++)if(null!=this.cellsMap[r][t]&&null==this.bookmarks[r][t]){this.bookmarks[r][t]=N,this.setBookmarkValue(r,t,N),e=!0;break}if(!e)for(let t=i.x;t<i.right;t++)if(null!=this.cellsMap[r][t]){this.bookmarks[r][t]=N,this.setBookmarkValue(r,t,N);break}}}}}b++}this.processIntersectedCells(this.createdCells),D=this.coordX.getKeys();let F=0;for(let t=0;t<D.length;t++)this.coordXNew[t]=F,t<D.length-1&&this.coordX.getByIndex(t+1,D)-this.coordX.getByIndex(t,D)<1.1&&1==this.coordXPrim[t]&&(this.coordXCheck[t]=!0,F++);x=this.coordY.getKeys();let R=0;for(let t=0;t<x.length;t++)this.coordYNew[t]=R,t<x.length-1&&this.coordY.getByIndex(t+1,x)-this.coordY.getByIndex(t,x)<1.1&&1==this.coordYPrim[t]&&(this.coordYCheck[t]=!0,R++);if(!0&&(0<R||0<F)){let a=ke.create2(Boolean,this.coordY.countItems,this.coordX.countItems);for(let n=0;n<x.length-1;n++)for(let i=0;i<D.length-1;i++){var L=this.coordXNew[i],M=this.coordYNew[n];let r=this.cells[n][i];this.bordersX[n-M][i-L]=this.bordersX[n][i],this.bordersY[n-M][i-L]=this.bordersY[n][i];var O=this.bookmarks[n][i];if(this.bookmarks[n-M][i-L]=O,this.setBookmarkValue(n-M,i-L,O),this.addComponentWithInteractions&&(this.interactions[n-M][i-L][0]=this.interactions[n][i][0],this.interactions[n-M][i-L][1]=this.interactions[n][i][1]),null!=r&&0==a[n][i]){for(let e=0;e<=r.height;e++){0!=e&&a.push([]);for(let t=0;t<=r.width;t++)a[n+e][i+t]=!0,0==e&&0==t||(this.cells[n+e][i+t]=null)}1==this.coordXCheck[i]||1==this.coordYCheck[n]?(this.cells[n][i]=null,r=null):(r.width-=this.coordXNew[i+r.width+1]-L,r.height-=this.coordYNew[n+r.height+1]-M,r.left-=L,r.top-=M),(0<L||0<M)&&(this.cells[n-M][i-L]=r,this.cells[n][i]=null,r=null)}}for(let t=0;t<D.length-1;t++){var H=this.coordXNew[t];this.bordersX[x.length-1-R][t-H]=this.bordersX[x.length-1][t]}for(let t=0;t<x.length-1;t++){var _=this.coordYNew[t];this.bordersY[t-_][D.length-1-F]=this.bordersY[t][D.length-1]}for(let t=this.coordX.countItems-1-1;0<=t;t--)1==this.coordXCheck[t]&&this.coordX.removeByIndex(t);for(let t=this.coordY.countItems-1-1;0<=t;t--)1==this.coordYCheck[t]&&this.coordY.removeByIndex(t)}if(this.isHtmlService){var V=this.coordX.countItems,G=this.coordY.countItems,U=ke.create2(Boolean,G,V);for(let n=1;n<G-1;n++)for(let i=1;i<V;i++){if(U[n-1][i-1])continue;let r=this.cells[n-1][i-1];if(null==r||!r.component.stimulsoft().is(Ql))continue;if(r.cellStyle.color.equals(Fe.white)||r.cellStyle.color.equals(Fe.transparent))continue;for(let e=0;e<=r.height;e++)for(let t=0;t<=r.width;t++)U[n-1+e][i-1+t]||this.getMaxRectFromCell(r,n-1+e,i-1+t,U)}}if(this.isHtmlOrExcelXmlService){var j=this.coordX.countItems,W=this.coordY.countItems;this.cellStyles=ke.create2(Ae.ax.StiCellStyle,W,j);let o=ke.create2(Boolean,W,j);var q=new Ar("Arial",8),z=this.styles;let t=[];t.stimulsoft().addRange(this.styles),-1==l?this.styles.stimulsoft().clear():this.styles.stimulsoft().removeRange(l,this.styles.length-l),this.stylesCache.clear();var X=[],J;for(J of this.styles)Ae.ax.StiCellStyle.getStyleFromCache(J.color,J.textColor,J.font,J.horAlignment,J.vertAlignment,J.border,J.borderL,J.borderR,J.borderB,J.textOptions,J.wordWrap,J.format,J.internalStyleName,J.lineSpacing,this.stylesCache,X,this.fontsCache,J,!0,J.overflow,J.borderRadius);for(let s=1;s<W-1;s++)for(let a=1;a<j;a++)if(0==o[s-1][a-1]){var Y=this.cells[s-1][a-1],Q;if(null!=Y){for(let e=0;e<=Y.height;e++)for(let t=0;t<=Y.width;t++)o[s-1+e][a-1+t]=!0;let e=!0,r=!0;for(let t=0;t<Y.height+1;t++)null==this.bordersY[Y.top+t][Y.left]&&(e=!1),null==this.bordersY[Y.top+t][Y.left+Y.width+1]&&(r=!1);let i=!0,n=!0;for(let t=0;t<Y.width+1;t++)null==this.bordersX[Y.top][Y.left+t]&&(i=!1),null==this.bordersX[Y.top+Y.height+1][Y.left+t]&&(n=!1);this.styles=t;var Q=Y.cellStyle;this.styles=z;var Q=Ae.ax.StiCellStyle.getStyleFromCache(Q.color,Q.textColor,Q.font,Q.horAlignment,Q.vertAlignment,i?this.bordersX[Y.top][Y.left]:null,e?this.bordersY[Y.top][Y.left]:null,r?this.bordersY[Y.top][Y.left+Y.width+1]:null,n?this.bordersX[Y.top+Y.height+1][Y.left]:null,Q.textOptions,Q.wordWrap,Q.format,Q.internalStyleName,Q.lineSpacing,this.stylesCache,this.styles,this.fontsCache,Q,!1,Q.overflow,Q.borderRadius);this.cellStyles[s-1][a-1]=Q}else{let t=!0,e=!0;null==this.bordersY[s-1][a-1]&&(t=!1),null==this.bordersY[s-1][a-0]&&(e=!1);let r=!0,i=!0;null==this.bordersX[s-1][a-1]&&(r=!1),null==this.bordersX[s-0][a-1]&&(i=!1),(t||e||r||i)&&(Q=Ae.ax.StiCellStyle.getStyleFromCache(Fe.transparent,Fe.black,q,Bs.Center,Go.Center,r?this.bordersX[s-1][a-1]:null,t?this.bordersY[s-1][a-1]:null,e?this.bordersY[s-1][a-0]:null,i?this.bordersX[s-0][a-1]:null,null,!1,null,null,1,this.stylesCache,this.styles,this.fontsCache,null,!1,!0,0),this.cellStyles[s-1][a-1]=Q)}}this.checkStylesNames()}B=this.coordY.countItems,x=this.coordY.getKeys();var K=t.count;if(1<K){let r=1;for(let e=0;e<B;e++){var Z=this.coordY.getByIndex(e,x);for(let t=r;t<K;t++)if(u[t]==Z){this.horizontalPageBreaks.push(e),r=t+1;break}}}}setBookmarkValue(t,e,r){if(null==this.bookmarksTable||null==r)return;var i;(!this.bookmarksTable.containsKey(r)||t<(i=this.bookmarksTable.get(r)).height||t==i.height&&e<i.width)&&this.bookmarksTable.set(r,new Ae.bn.Size(e,t))}static sortForMatrix(t){let e=new Ee;for(var r of t.sort(ke.numberSortFunction))null!=r&&(e[r]=r);let i=[];for(var n of Sr.getOwnPropertyNames(t)){var a=n.stimulsoft().toNumber();a<0&&(i[0-a]=t[n])}for(var s of i.sort(ke.numberSortFunction))null!=s&&(e[s]=s);return e}round(t){return Math.round(t)}addCoord(t){this.addCoord2(t.left,t.top+this.totalHeight),this.addCoord2(t.right,t.bottom+this.totalHeight)}addCoord2(t,e,r=!0){e>this.maxCoordY&&(this.maxCoordY=e),e=r&&this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?(t=this.round(t*$.htmlScaleX),this.round(e*$.htmlScaleY)):(t=this.round(t),this.round(e)),this.xcHash.containsKey(t)||(this.coordX[t]=t,this.xcHash.set(t,t)),this.ycHash.containsKey(e)||(this.coordY[e]=e,this.ycHash.set(e,e))}prepareTable(){let r=this.coordY.getKeys();for(let e=1;e<r.length;e++){var i=this.coordY.getByIndex(e,r)-this.coordY.getByIndex(e-1,r),i=this.round(i),i;let t=this.maxRowHeight;i>t&&(i<2*t&&(t=this.round(i/2)),i=this.coordY.getByIndex(e-1,r)+t,this.addCoord2(0,i,!1),r=this.coordY.getKeys())}let n=this.coordX.getKeys();for(let e=1;e<this.coordX.countItems;e++){var a=this.coordX.getByIndex(e,n)-this.coordX.getByIndex(e-1,n),a=this.round(a),a;let t=1900;a>t&&(a<2*t&&(t=this.round(a/2)),a=this.coordX.getByIndex(e-1,n)+t,this.addCoord2(a,0,!1),n=this.coordX.getKeys())}}getRange(t){var e=this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleX:1,r=this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleY:1,i=this.round(t.left*e),n=this.round((t.top+this.totalHeight)*r),e=this.round(t.right*e),r=this.round((t.bottom+this.totalHeight)*r);let a=0,s=0,o=0,l=0,u=this.leftCached.get(i);return null==u?(a=this.coordX.indexOf(i),this.leftCached.set(i,a)):a=u,u=this.topCached.get(n),null==u?(s=this.coordY.indexOf(n),this.topCached.set(n,s)):s=u,u=this.leftCached.get(e),null==u?(o=this.coordX.indexOf(e),this.leftCached.set(e,o)):o=u,u=this.topCached.get(r),null==u?(l=this.coordY.indexOf(r),this.topCached.set(r,l)):l=u,new Tr(a,s,o-a,l-s)}getStyleFromComponent(t,d,e,r){let i=Fe.white;var n=t.as(rl);null==n||t.is(Lv)||(i=hi.toColor(n.brush)),t.is(Lv)&&this.isHtmlPngMode&&(i=Fe.transparent);var n=t.as(md),m;null!=n&&(i=n.backColor),(t.is(pb)||t.is(fd))&&(i=Fe.transparent),-1!=d&&-1!=e&&i.equals(Fe.transparent)&&null!=this.cellsMap[e][d]&&(m=this.cellsMap[e][d],i=m.cellStyle.color);let a=Fe.black;var d=t.as(nl);null!=d&&(a=hi.toColor(d.textBrush));let s=null;var m=t.as(il);s=null!=m?m.font:new Ar("Arial",8);let o=Bs.Left;var d=t.as(al);null!=d&&(o=d.horAlignment);var m=t.as(od);null!=m&&(o=m.horAlignment-1);let l=Go.Top;var d=t.as(sl),p;null!=d&&(l=d.vertAlignment);let u=null,h=null,c=null,g=null,f=t.as(el);null!=f&&(null!=(p=f.border.stimulsoft().as($r))?(u=p.leftSide,h=p.rightSide,c=p.topSide,g=p.bottomSide):(u=new Yr(f.border.color,f.border.size,f.border.style),f.border.isRightBorderSidePresent&&(h=u),f.border.isTopBorderSidePresent&&(c=u),f.border.isBottomBorderSidePresent&&(g=u),f.border.isLeftBorderSidePresent||(u=null)));let S=null;var m=t.as(ww);null!=m&&(S=m.textOptions);let b=!1,y=t.as(hb);null!=y&&null!=y.getTextInternal()&&(b=-1!=y.getTextInternal().indexOf("\n")),this.isHtmlOrExcelXmlService&&null!=S&&(b=S.wordWrap);let v=null;var d=t.as($o);if(this.exportFormat==Ae.c.StiExportFormat.ExcelXml&&null!=d){let r=d.format,e=!1,t=!1,i=!1,n="",a=2,s=0,o="$",l=!1,u=!1;var p=null!=d&&d.hideZeros;let h=null,c=null;var m=r.indexOf("|");if(-1!=m&&(h=Ae.ax.StiExportUtils.getPositivePattern(r[m+1].charCodeAt(0)-"A".charCodeAt(0)),c=Ae.ax.StiExportUtils.getNegativePattern(r[m+2].charCodeAt(0)-"A".charCodeAt(0)),r=r.substr(0,m)),!De.isNullOrEmpty(r)&&("C"==r[0]&&(e=!0),"N"==r[0]&&(t=!0),"P"==r[0]&&(i=!0),(e||t||i)&&1<r.length)){let e=1;if(Be.isDigit(r[e])){let t=new Mt;while(e<r.length&&Be.isDigit(r[e]))t.append(r[e]),e++;a=parseInt(t.toString())}e<r.length&&"G"==r[e]&&(e++,s=3),e<r.length&&"("==r[e]&&(e++,u=!0),e<r.length&&("."==r[e]||","==r[e])&&e++,e<r.length&&("+"==r[e]||"-"==r[e])&&("+"==r[e]&&(l=!0),e++,e<r.length&&(o=r[e]))}if(e||t||i)if(-1!=m){let t=new Mt;1<s&&(t.append("#,"),t.append("#",s-1)),t.append("0"),0<a&&(t.append("."),t.append("0",a));var w=t.toString(),m=h.stimulsoft().replaceAll("n",w).stimulsoft().replaceAll("$",`\"${o}\"`),w=c.stimulsoft().replaceAll("n",w).stimulsoft().replaceAll("$",`\"${o}\"`);n=m+";"+w+(p?";":"")}else{let t=new Mt;e&&1==l&&(t.append('"'),t.append(o),t.append('"')),1<s&&(t.append("#,"),t.append("#",s-1)),t.append("0"),0<a&&(t.append("."),t.append("0",a)),e&&0==l&&(t.append('"'),t.append(o),t.append('"')),i&&t.append("%"),n=t.toString();var w=(u?"(":"-")+n+(u?")":"");p?n=n+";"+w+";":u&&(n=n+";"+w)}v=n}let C=null;De.isNullOrEmpty(t.componentStyle)||(C=r+t.componentStyle),this.isHtmlOrExcelXmlService&&!Hd.Export.Html.useComponentStyleName&&(C=null);var d=null!=d?d.lineSpacing:1;return Ae.ax.StiCellStyle.getStyleFromCache(i,a,s,o,l,c,u,h,g,S,b,v,C,d,this.stylesCache,this.styles,this.fontsCache,null,!1,!t.is(Lv),t.is(fb)?t.round:0)}getStyle(t){for(var e of this.styles)if(e.stimulsoft().equals(t))return e;return this.styles.push(t),t}renderComponent(c,d,m,p){let a=c.as(bd);var g=null!=a;if(this.replaceCheckboxes&&g){let n=new $o;n.page=a.page,n.clientRectangle=a.clientRectangle,n.brush=a.brush,n.textBrush=a.textBrush,n.border=a.border,n.horAlignment=Bs.Center,n.vertAlignment=Go.Center;var f=c.report.unit.convertToHInches(Math.min(a.width,a.height));if(null!=a.checkedValue){let t=!1;var S=a.checkedValue.toString().trim().toLowerCase(),b;let e=a.values.split(new RegExp(";|,|/"));null!=e&&0<e.length&&(b=e[0].trim().toLowerCase(),t=S==b);let r=" ",i=null;switch(t?a.checkStyleForTrue:a.checkStyleForFalse){case fw.Cross:r=String.fromCharCode(61691),i="Wingdings";break;case fw.Check:r=String.fromCharCode(61692),i="Wingdings";break;case fw.CrossRectangle:r=String.fromCharCode(61693),i="Wingdings";break;case fw.CheckRectangle:r=String.fromCharCode(61694),i="Wingdings";break;case fw.CrossCircle:r=String.fromCharCode(61526),i="Wingdings 2";break;case fw.DotCircle:r=String.fromCharCode(61604),i="Wingdings";break;case fw.DotRectangle:r=String.fromCharCode(61609),i="Wingdings 2";break;case fw.NoneCircle:r=String.fromCharCode(61601),i="Wingdings";break;case fw.NoneRectangle:r=String.fromCharCode(61608),i="Wingdings";break}" "!=r&&(n.font=new Ar(i,.72*f,se.Regular),n.text=r)}c=n}let y=c.page.unit.convertRectangleToHInches(c.displayRectangle);if(y.height<0&&(y.y+=y.height,y.height=Math.abs(y.height)),!c.is(xw)&&(0==y.width||0==y.height))return;c.is(xw)&&(c.is(Sb)?(y.y-=this.defaultLinePrimitiveWidth,y.x-=this.defaultLinePrimitiveWidth):(y.height<1.5&&(y.height=this.defaultLinePrimitiveWidth,y.y-=y.height),y.width<1.5&&(y.width=this.defaultLinePrimitiveWidth,y.x-=y.width)));let v=this.getRange(y);if(-1!=v.left){let t=!0,i=c.bookmarkValue;var g=c.tagValue;null==i&&(!De.isNullOrEmpty(g)&&this.hyperlinksToTag.containsKey(g)?i=g:De.isNullOrWhiteSpace(c.pointerValue)||De.isNullOrEmpty(c.guid)||(i=c.pointerValue+"#GUID#"+c.guid));var S=c.as(el);let r=null!=S?S.border:null;var w=!De.isNullOrEmpty(i),b=null!=r&&r.side!=Xr.None,f=!1;let e=!1;var g=!1,S=!1;let n=c.as($o);null!=n&&(f=null!=n.text&&null!=n.getTextInternal()&&(0<n.getTextInternal().length||d),e=null!=n.brush&&0!=hi.toColor(n.brush).a,g=null!=n.excelDataValue,S=null!=n.indicator,t=f||e||g||b||S||n.editable);var S=c.as(Ql);null!=S&&(e=null!=S.brush&&0!=hi.toColor(S.brush).a,t=e||b&&!m),w&&(t=!0);let a=v.left,s=v.right,o=v.top,l=v.bottom;c.is(Sb)&&(t=!1,0==this.coordXPrim[a]&&(this.coordXPrim[a]=1),0==this.coordXPrim[s]&&(this.coordXPrim[s]=1),0==this.coordYPrim[o]&&(this.coordYPrim[o]=1),0==this.coordYPrim[l]&&(this.coordYPrim[l]=1));var C=this.isComponentHasInteraction(c);let u=0,h=0;if(C&&(t=!0,u=c.report.renderedPages.indexOf(c.page)+1,h=c.page.components.indexOf(c)+1),t){let r=new Ae.ax.StiCell(this.exportFormat);this.createdCells.push(r),this.exportFormat!=Ae.c.StiExportFormat.Csv&&this.exportFormat!=Ae.c.StiExportFormat.Dbf&&this.exportFormat!=Ae.c.StiExportFormat.Xml&&(r.cellStyle=this.getStyleFromComponent(c,a,o,p));let t=!0;this.exportFormat==Ae.c.StiExportFormat.ExcelXml&&(t=!1,c.is(md)&&(t=!0),c.is(bd)&&(t=!0),null!=n&&null!=n.excelDataValue&&(t=!0),(c.locked||null!=c.tagValue&&0<=c.tagValue.toString().indexOf("excelfreezepanes"))&&(t=!0)),t&&(r.component=c),t&&null!=r.exportImage&&this.imagesBaseRect.set(c,new os(y.x,y.y+this.totalHeight,y.width,y.height)),this.cells[o][a]=r,r.left=a,r.top=o;var p=c.as(hb);null!=p?(r.text=p.text,null!=c.as($o)&&!De.isNullOrEmpty(r.text)&&r.text.stimulsoft().endsWith(Ko.StiForceWidthAlignTag)&&(r.text=r.text.substr(0,r.text.length-Ko.StiForceWidthAlignTag.length))):r.text="",r.width=v.width-1,r.height=v.height-1;for(let e=v.x;e<s;e++)for(let t=v.y;t<l;t++)this.cellsMap[t][e]=r,w&&(this.bookmarks[t][e]=i,this.setBookmarkValue(t,e,i)),C&&(this.interactions[t][e][0]=u,this.interactions[t][e][1]=h);c.is(bb)?0==this.coordXPrim[r.left]&&(this.coordXPrim[r.left]=1):this.coordXPrim[r.left]=-1,c.is(yb)?0==this.coordYPrim[r.top]&&(this.coordYPrim[r.top]=1):this.coordYPrim[r.top]=-1}if(b){var T=r.size;let e=new Yr(r.color,T,r.style);var b=r.stimulsoft().as($r);let t=$.staticRectanglePrimitive;if(c.is(bb)&&(v.x+=1),c.is(yb)&&(v.y+=1),c.is(Sb)&&(v.x+=1,v.y+=1,t=c.as(Sb)),a=v.left,s=v.right,o=v.top,l=v.bottom,null!=b&&(e=b.topSide),r.isTopBorderSidePresent&&e.style!=Jr.None&&t.topSide)for(let t=a;t<s;t++)(null==this.bordersX[o][t]||this.bordersX[o][t].size<=T)&&(this.bordersX[o][t]=e);if(null!=b&&(e=b.bottomSide),r.isBottomBorderSidePresent&&e.style!=Jr.None&&t.bottomSide)for(let t=a;t<s;t++)(null==this.bordersX[l][t]||this.bordersX[l][t].size<=T)&&(this.bordersX[l][t]=e);if(null!=b&&(e=b.leftSide),r.isLeftBorderSidePresent&&e.style!=Jr.None&&t.leftSide)for(let t=o;t<l;t++)(null==this.bordersY[t][a]||this.bordersY[t][a].size<=T)&&(this.bordersY[t][a]=e);if(null!=b&&(e=b.rightSide),r.isRightBorderSidePresent&&e.style!=Jr.None&&t.rightSide)for(let t=o;t<l;t++)(null==this.bordersY[t][s]||this.bordersY[t][s].size<=T)&&(this.bordersY[t][s]=e)}}}getCellRectangle(t,e,r){let i=t;var n=e;let a=t,s=e;while(i<=r.width&&this.cellsMap[n+r.top][i+r.left]!=r)i++;if(i>r.width)return Tr.empty;a=i;while(a<=r.width&&this.cellsMap[n+r.top][a+r.left]==r)a++;if(i==a)return Tr.empty;let o=!1;s=n+1;while(s<=r.height&&0==o){if(0<i&&this.cellsMap[r.top+s][r.left+i-1]==r){o=!0;break}if(a<=r.width&&this.cellsMap[s+r.top][r.left+a]==r){o=!0;break}for(let t=i;t<a;t++)if(this.cellsMap[s+r.top][t+r.left]!=r){o=!0;break}o||s++}return new Tr(i,n,a-i,s-n)}cutRectangleFromCellsMap(r,i){for(let e=r.left;e<r.right;e++)for(let t=r.top;t<r.bottom;t++)this.cellsMap[i.top+t][i.left+e]=null}isComponentHasInteraction(t){if(this.addComponentWithInteractions&&null!=t.interaction){if(t.interaction.sortingEnabled&&!De.isNullOrWhiteSpace(t.interaction.sortingColumn))return!0;if(t.interaction.drillDownEnabled&&(null!=t.interaction.drillDownPage||!De.isNullOrEmpty(t.interaction.drillDownReport)))return!0;if(t.interaction.stimulsoft().is(sp)&&t.interaction.collapsingEnabled)return!0}return!1}isComponentHasEvent(t){return!(t.isClickHandlerEmpty&&t.isDoubleClickHandlerEmpty&&t.isMouseEnterHandlerEmpty&&t.isMouseLeaveHandlerEmpty)}scanComponentsPlacement(t,l=!1){var a=this.coordY.countItems,e=this.coordX.countItems;this.linePlacement=ke.create(Number,a),this.parentBandName=ke.create(String,a);for(let o=0;o<a-1;o++){let i=this.linePlacement[o],n=new Mt,a=!1,s=0;for(let t=1;t<e;t++){let r=this.cells[o][t-1];if(null!=r&&!r.component.is(Ae.at.StiCrossColumnTotal)){let t=r.component.componentPlacement;null==t&&(t="");var u=t.indexOf("Hd_HPnl");-1!=u&&(t=t.substr(0,u+7)),a||(t.stimulsoft().startsWith("d")?i=g.Data:t.stimulsoft().startsWith("h.ap")?i=g.HeaderAP:t.stimulsoft().startsWith("f.ap")?i=g.FooterAP:t.stimulsoft().startsWith("h")?i=g.HeaderD:t.stimulsoft().startsWith("f")?i=g.FooterD:t.stimulsoft().startsWith("gh")?i=g.HeaderD:t.stimulsoft().startsWith("gf")?i=g.FooterD:t.stimulsoft().startsWith("ph")?(i=g.PageHeader,a=!0):t.stimulsoft().startsWith("pf")&&(i=g.PageFooter,a=!0)),""!=t&&i==g.Empty&&(i=g.Unknown),0==n.length&&n.append(t+String.fromCharCode(31)),1==n.length&&n.toString()[0]==String.fromCharCode(31)&&""!=t&&n.insert(0,t),i!=g.HeaderD&&i!=g.HeaderAP||null==r.text||n.append(r.text);let e=r.height;l||(e=0);for(let t=0;t<=e;t++)this.linePlacement[o+t]=i,this.parentBandName[o+t]=n.toString();e>s&&(s=e)}}this.linePlacement[o]=i}if(t){let r=new Dt,i=null;for(let e=0;e<a-1;e++)if(this.linePlacement[e]==g.HeaderAP){let t=this.parentBandName[e];var s=t.indexOf(""),s;if(-1==s||(s=t.substr(0,s))!=i&&(i=s,r.clear()),r.containsKey(t)){this.linePlacement[e]=g.Trash;while(e+1<a-1&&this.linePlacement[e+1]==g.HeaderAP&&this.parentBandName[e+1]==t)e++,this.linePlacement[e]=g.Trash}else{r.add(t,t);while(e+1<a-1&&this.linePlacement[e+1]==g.HeaderAP&&this.parentBandName[e+1]==t)e++}}let n=new Dt;i=null;for(let e=a-1-1;0<=e;e--)if(this.linePlacement[e]==g.FooterAP){let t=this.parentBandName[e];var o=t.indexOf(""),o;if(-1==o||(o=t.substr(0,o))!=i&&(i=o,n.clear()),n.containsKey(t)){this.linePlacement[e]=g.Trash;while(0<=e-1&&this.linePlacement[e-1]==g.FooterAP&&this.parentBandName[e-1]==t)e--,this.linePlacement[e]=g.Trash}else{n.add(t,t);while(0<=e-1&&this.linePlacement[e-1]==g.FooterAP&&this.parentBandName[e-1]==t)e--}}for(let e=0;e<a-1;e++)if(this.linePlacement[e]==g.PageHeader||this.linePlacement[e]==g.PageFooter||this.linePlacement[e]==g.Trash){let t=0;while(0<e+t&&this.linePlacement[e+t-1]==g.Empty)t--,this.linePlacement[e+t]=this.linePlacement[e];t=0;while(e+t<a-1&&this.linePlacement[e+t+1]==g.Empty)t++,this.linePlacement[e+t]=this.linePlacement[e]}}}processIntersectedCells(t){if(null==t)return;let r=this.coordX,a=this.coordY;var s=r.getKeys(),o=a.getKeys(),l,e,i;for(l of t)if(0!=l.width||0!=l.height){let i=this.getCellRectangle(0,0,l);if(i.width==l.width+1&&i.height==l.height+1){this.cutRectangleFromCellsMap(i,l);continue}let n=[];for(let r=0;r<=l.height;r++){if(1==this.coordYPrim[l.top+r])continue;for(let e=0;e<=l.width;){if(1==this.coordXPrim[l.left+e]){e++;continue}if(i=this.getCellRectangle(e,r,l),0==i.width){e=l.width+1;continue}this.cutRectangleFromCellsMap(i,l);let t=l.clone();t.left=l.left+i.x,t.top=l.top+i.y,t.width=i.width-1,t.height=i.height-1,this.cells[t.top][t.left]=t,n.push(t),e+=i.width}}if(0<n.length){let t=0,e=null;for(var u of n){var h=r.getByIndex(u.left+u.width+1,s)-r.getByIndex(u.left,s),c=a.getByIndex(u.top+u.height+1,o)-a.getByIndex(u.top,o);t<h*c&&(t=h*c,e=u)}for(var d of n)d!=e&&(d.text="",d.exportImage=null)}}t.stimulsoft().clear()}getMaxRectFromCell(e,r,i,n){let a=e.left+e.width+1;if(r==e.top){var s=null!=this.bordersX[r][i];for(let t=i+1;t<e.left+e.width+1;t++)if(null!=this.bordersX[r][t]!=s){a=t;break}}let o=e.top+e.height+1;if(i==e.left){var l=null!=this.bordersY[r][i];for(let t=r+1;t<e.top+e.height+1;t++)if(null!=this.bordersY[t][i]!=l){o=t;break}}if(o==e.top+e.height+1){var u=null!=this.bordersX[o][i];for(let t=i+1;t<a;t++)if(null!=this.bordersX[o][t]!=u){a=t;break}}if(a==e.left+e.width+1){var h=null!=this.bordersY[r][a];for(let t=r+1;t<o;t++)if(null!=this.bordersY[t][a]!=h){o=t;break}}for(let e=r;e<=o-1;e++)for(let t=i;t<=a-1;t++)n[e][t]=!0;if(e.left==i&&e.top==r&&e.width==a-i-1&&e.height==o-r-1)return;let t=e.clone();t.left=i,t.top=r,t.width=a-i-1,t.height=o-r-1,this.cells[r][i]=t}splitTagWithCache(t){var e=this.tagSplitCache.get(t);if(null!=e)return e;var e=$.splitTag(t);return this.tagSplitCache.set(t,e),e}static splitTag(t){let e=t;e.stimulsoft().endsWith(";")||(e+=";");let r=[],i=new Mt,n=0,a=!1;while(n<e.length){var s=e.charAt(n);if(n++,'"'==s&&(a&&'"'==e.charAt(n)?(i.append(s),n++):a=!a),";"==s&&!a||n>=e.length){var o=i.toString().trim();0<o.length&&r.push(o),i=new Mt;continue}i.append(s)}var t=[];return r.stimulsoft().copyTo(t),t}static getStringsFromTag(t,e){let r=[],i=e;while(i<t.length&&'"'!=t.charAt(i))i++;let n=new Mt,a=!1;while(i<t.length){var s=t.charAt(i);if(i++,'"'==s){if(a){if(i<t.length&&'"'==t.charAt(i)){n.append(s),i++;continue}r.push(n.toString()),n=new Mt,a=!1;continue}a=!0;continue}a&&n.append(s)}0<n.length&&r.push(n.toString());var e=[];return r.stimulsoft().copyTo(e),e}copyFieldsListToFields(){this.fields=[];for(let t=0;t<this.fieldsList.length;t++)this.fields[t]=this.fieldsList[t]}prepareDocument(a,r){this.sizeX=this.coordX.countItems-1,this.sizeY=this.coordY.countItems-1;let s=0;for(let t=0;t<this.sizeY;t++)(0<(r&Ae.ax.StiDataExportMode.Data)&&this.linePlacement[t]==g.Data||0<(r&Ae.ax.StiDataExportMode.Headers)&&(this.linePlacement[t]==g.HeaderD||this.linePlacement[t]==g.HeaderAP)||0<(r&Ae.ax.StiDataExportMode.Footers)&&(this.linePlacement[t]==g.FooterD||this.linePlacement[t]==g.FooterAP)||r==Ae.ax.StiDataExportMode.AllBands)&&s++;this.fieldsList=[];for(let t=0;t<this.sizeX;t++)this.fieldsList.push(new f(s));this.copyFieldsListToFields();for(let t=0;t<this.sizeX;t++)this.fields[t].name="FIELD"+t.stimulsoft().toStringFormat("D4");let o="";var l=!1,t;switch(a.exportFormat){case Ae.c.StiExportFormat.Csv:o="csv";break;case Ae.c.StiExportFormat.Dbf:o="dbf";break;case Ae.c.StiExportFormat.Xml:o="xml";break}let u=0;this.htName=new Dt;for(let e=0;e<this.sizeY;e++){if(0<(r&Ae.ax.StiDataExportMode.Data)&&this.linePlacement[e]==g.Data||0<(r&Ae.ax.StiDataExportMode.Headers)&&(this.linePlacement[e]==g.HeaderD||this.linePlacement[e]==g.HeaderAP)||0<(r&Ae.ax.StiDataExportMode.Footers)&&(this.linePlacement[e]==g.FooterD||this.linePlacement[e]==g.FooterAP)||r==Ae.ax.StiDataExportMode.AllBands){for(let n=0;n<this.sizeX;n++){let t=this.cells[e][n];if(null!=t){var h=null==t.component.tagValue?"":t.component.tagValue.toString(),c,d,d;let i=null;if(De.isNullOrEmpty(h)||(i=this.splitTagWithCache(h)),null!=i)for(let t=0;t<i.length;t++){!i[t].toLowerCase().stimulsoft().startsWith("column")||1<(c=$.getStringsFromTag(i[t],6)).length&&(this.htName.containsKey(c[0])||(d=this.fields.length,this.fieldsList.push(new f(s)),this.copyFieldsListToFields(),this.fields[d].name=c[0],this.fields[d].readyName=!0,this.fields[d].readyType=!0,this.htName.set(c[0],d)),d=this.htName.get(c[0]),this.fields[d].dataArray[u]=c[1])}if(null!=t.component&&(t.component.is(vd)||t.component.is(bd))){if(!this.fields[n].readyName){let r=t.component.name;if(l&&!De.isNullOrEmpty(t.component.alias)&&(r=t.component.alias),null!=i)for(let t=0;t<i.length;t++){let e=i[t].trim();if(e.toLowerCase().stimulsoft().startsWith(o)||e.toLowerCase().stimulsoft().startsWith("default")){let t=e.indexOf('"');if(-1==t)throw new Error("Name of DataColumn not found in property: "+r);t++;var m=e.indexOf('"',t)-t;if(!(0<m))throw new Error("Name of DataColumn not found in property: "+r);if(r=e.substr(t,m),!e.toLowerCase().stimulsoft().startsWith("default"))break}}a.exportFormat==Ae.c.StiExportFormat.Dbf&&10<r.length&&(r=r.substr(0,10)),this.fields[n].name=r,this.fields[n].readyName=!0}if(!this.fields[n].readyType&&null!=i&&(a.exportFormat==Ae.c.StiExportFormat.Xml||a.exportFormat==Ae.c.StiExportFormat.Dbf)){let t=i[0].split(":",3);t[0]=t[0].trim().toLowerCase();let e=t[0].ss;if(e.startsWith("int")&&(this.fields[n].info[0]=Dw.Int,this.fields[n].info[1]=15),e.startsWith("long")&&(this.fields[n].info[0]=Dw.Long,this.fields[n].info[1]=25),e.startsWith("float")&&(this.fields[n].info[0]=Dw.Float,this.fields[n].info[1]=15,this.fields[n].info[2]=5),e.startsWith("double")&&(this.fields[n].info[0]=Dw.Double,this.fields[n].info[1]=20,this.fields[n].info[2]=10),e.startsWith("date")&&(this.fields[n].info[0]=Dw.Date,this.fields[n].info[1]=8,this.fields[n].info[2]=0),e.startsWith("bool")&&(this.fields[n].info[0]=Dw.Bool,this.fields[n].info[1]=1,this.fields[n].info[2]=0),1<t.length){t[1]=t[1].trim();let r=0;try{r=parseInt(t[1]),0<r&&(this.fields[n].info[1]=r)}catch(t){Ae.b.StiError.showError(t,!1),r=0}if(2<t.length){t[2]=t[2].trim();let e=0;try{e=parseInt(t[2]),0<e&&e<r&&(this.fields[n].info[2]=e)}catch(t){Ae.b.StiError.showError(t,!1),e=0}}}this.fields[n].readyType=!0}}var p=t.component.as(bd),h;let r=t.text;if(De.isNullOrWhiteSpace(r)||(null==(h=t.component.as($o))||De.isNullOrWhiteSpace(h.format)||"g"==h.format||-1==r.indexOf(" ")||(r=r.stimulsoft().replaceAll(" "," "))),null==r&&(r=""),null!=p&&null!=p.checkedValue){let t=!1,e=!1;"boolean"==typeof p.checkedValue&&(p.checkedValue?t=!0:e=!0),"string"==typeof p.checkedValue&&("True"==p.checkedValue?t=!0:e=!0),t&&(r=Hd.Export.checkBoxTextForTrue),e&&(r=Hd.Export.checkBoxTextForFalse)}De.isNullOrEmpty(r)||(r=(a.exportFormat==Ae.c.StiExportFormat.Xml||(r=r.stimulsoft().replaceAll("\n"," ")),r.stimulsoft().replaceAll("\r","")),a.exportFormat==Ae.c.StiExportFormat.Dbf&&254<r.length&&(r=r.substr(0,254))),this.fields[n].dataArray[u]=r}else this.fields[n].dataArray[u]=""}u++}}this.fields=[];for(let t=0;t<this.fieldsList.length;t++)this.fieldsList[t].readyName&&this.fields.push(this.fieldsList[t]);this.dataArrayLength=s}checkStylesNames(){let a=new Dt;for(let n=0;n<this.styles.length;n++){let t=this.styles[n],e=t.styleName,r="",i=0;while(1){if(!a.contains(e+r))break;i++,r=i.toString()}""!=r&&(e+=r,t.styleName=e),a.add(e,e)}}getRealImageData(t,e){if(null==t||null==t.component||null==e)return null;let r=null;if(r=this.imagesBaseRect.get(t.component),null==r||!r.stimulsoft().is(os))return null;var i=r,n=this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleX:1,a=this.isHtmlService&&Hd.Export.Html.printLayoutOptimization?$.htmlScaleY:1,s=this.round(i.left*n),e=this.round(i.top*a),n=this.round(i.right*n),a=this.round(i.bottom*a);let o=0,l=0,u=0,h=0;if(null==this.leftCached.get(s)?(o=this.coordX.indexOf(s),this.leftCached.set(s,o)):o=this.leftCached.get(s),null==this.topCached.get(e)?(l=this.coordY.indexOf(e),this.topCached.set(e,l)):l=this.topCached.get(e),null==this.leftCached.get(n)?(u=this.coordX.indexOf(n),this.leftCached.set(n,u)):u=this.leftCached.get(n),null==this.topCached.get(a)?(h=this.coordY.indexOf(a),this.topCached.set(a,h)):h=this.topCached.get(a),-1==o||-1==u||-1==l||-1==h)return null;if(o==t.left&&u==t.left+t.width+1&&l==t.top&&h==t.top+t.height+1)return null;var a=this.coordY.getKeys(),c;return(c=t.top+t.height+1)>a.length-1&&(c=a.length-1),null}checkComponentPlacement(t,e){if(e==Ae.ax.StiDataExportMode.AllBands)return!0;let r=t.componentPlacement;null==r&&(r="");var t=r.indexOf("Hd_HPnl");-1!=t&&(r=r.substring(0,t+7));let i=g.Unknown;if(r.stimulsoft().startsWith("d")?i=g.Data:r.stimulsoft().startsWith("h.ap")?i=g.HeaderD:r.stimulsoft().startsWith("f.ap")?i=g.FooterD:r.stimulsoft().startsWith("h")?i=g.HeaderD:r.stimulsoft().startsWith("f")?i=g.FooterD:r.stimulsoft().startsWith("gh")?i=g.HeaderD:r.stimulsoft().startsWith("gf")&&(i=g.FooterD),0<(e&Ae.ax.StiDataExportMode.Data)&&i==g.Data||0<(e&Ae.ax.StiDataExportMode.Headers)&&i==g.HeaderD||0<(e&Ae.ax.StiDataExportMode.Footers)&&i==g.FooterD)return!0;return!1}getBorderSideIndex(e){if(null==e)return 0;if(0<this.borderSides.length)for(let t=0;t<this.borderSides.length;t++)if(this.borderSides[t].equals(e))return t+1;return this.borderSides.push(e),this.borderSides.length}static GCCollect(){}clear(){this.cells=null,this.bordersX=null,this.bordersY=null,this.bookmarks=null,this.cellStyles=null,this.cellsMap=null,this.styles=null,this.coordX=null,this.coordY=null,this.linePlacement=null,this.parentBandName=null,this.horizontalPageBreaks=null,this.xcHash.clear(),this.xcHash=null,this.ycHash.clear(),this.ycHash=null,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.leftCached=null,this.topCached=null,this.tagSplitCache.clear(),this.tagSplitCache=null,this.stylesCache.clear(),this.stylesCache=null,this.fontsCache.clear(),this.fontsCache=null,this.fields=null,this.fieldsList=null,this.htName=null,this.report=null,this.lastPage=null,null!=this.lastComps&&this.lastComps.clear(),null!=this.borderSides&&this.borderSides.stimulsoft().clear(),this.borderSides=null}};$.staticRectanglePrimitive=new Sb,$.htmlScaleX=.96,$.htmlScaleY=.956,Ae.ax.StiMatrix=$;let f=class{constructor(t){this.name="",this.info=[],this.formatString="",this.dataArray=[],this.readyName=!1,this.readyType=!1}};Ae.ax.DataField=f}(yt=Iw=Ae.ax.EmfTextAlignmentMode||(Ae.ax.EmfTextAlignmentMode={}))[yt["TA_LEFT"]=0]="TA_LEFT",yt[yt["TA_RIGHT"]=2]="TA_RIGHT",yt[yt["TA_CENTER"]=6]="TA_CENTER",yt[yt["TA_TOP"]=0]="TA_TOP",yt[yt["TA_BOTTOM"]=8]="TA_BOTTOM",yt[yt["TA_BASELINE"]=24]="TA_BASELINE",yt[yt["TA_NOUPDATECP"]=0]="TA_NOUPDATECP",yt[yt["TA_UPDATECP"]=1]="TA_UPDATECP",yt[yt["TA_RTLREADING"]=256]="TA_RTLREADING",yt[yt["TA_MASK"]=287]="TA_MASK",Ae.ax.StiSegmentPagesDivider=class{static divide(t,n=null){let e=!1;for(var r of t.list)if(1<r.segmentPerWidth||1<r.segmentPerHeight){e=!0;break}if(!e)return t;let a=new Fd(t.report,t);a.cacheMode=t.cacheMode,1==a.cacheMode&&(a.canUseCacheMode=!0);for(var s of t.list)if(t.getPage(s),null!=n&&n.invokeExporting(s,t,n.currentPassNumber,n.maximumPassNumber),1<s.segmentPerWidth||1<s.segmentPerHeight)for(let i=0;i<s.segmentPerHeight;i++)for(let e=0;e<s.segmentPerWidth;e++){let r=s.clone(!1,!1);if(r.cacheGuid=Ts.newGuid(),r.segmentPerWidth=1,r.segmentPerHeight=1,n.stimulsoft().is(Ae.ax.IStiPdfExportService)){let t=Xr.None;0<e&&(t|=Xr.Left),e<s.segmentPerWidth-1&&(t|=Xr.Right),0<i&&(t|=Xr.Top),i<s.segmentPerHeight-1&&(t|=Xr.Bottom),r.tagValue="Segments:"+t.toString()}var o=new os(e*r.width,i*r.height,r.width,r.height),l;for(l of s.components.list)if(l.enabled){if(o.left<=l.left&&l.left<o.right&&o.top<=l.top&&l.top<o.bottom){var u=l.right>(e+1.5)*r.width;if(0!=e||0!=i||u){let t=l.clone();t.left-=o.left,t.top-=o.top,u&&(t.width=1.5*r.width-t.left),r.components.add(t)}else r.components.add(l);continue}if(l.left<o.right&&l.right>o.left&&l.top<o.bottom&&l.bottom>o.top){var u=!n.stimulsoft().is(Ae.ax.IStiPdfExportService);let e=null;if(l.is(Ql)&&(e=l.clone()),l.is($o)){let t=l.clone();u&&(t.text=""),e=t}if(l.is(yd)){let t=new Ql;t.border=l.stimulsoft().as(yd).border,t.brush=l.stimulsoft().as(yd).brush,e=t}if((l.is(mb)||l.is(yb))&&(e=l.clone()),null!=e){let t=new Zr;e.is(el)&&(t=e.border),l.left<o.left&&u?(e.left=0,t.side&=Xr.All^Xr.Left):e.left-=o.left,l.right>o.right&&u?(e.width=r.width-e.left,t.side&=Xr.All^Xr.Right):e.width=l.right-(o.left+e.left),l.top<o.top&&u?(e.top=0,t.side&=Xr.All^Xr.Top):e.top-=o.top,l.bottom>o.bottom&&u?(e.height=r.height-e.top,t.side&=Xr.All^Xr.Bottom):e.height=l.bottom-(o.top+e.top),r.components.add(e)}}}a.addV2Internal(r)}else a.canUseCacheMode=!1,a.addV2Internal(s),a.canUseCacheMode=a.cacheMode;return a.canUseCacheMode=!1,a}};var ot=class{static numToStr(t,e,r){let s="",o="",l="",u="",h="";if(999999999999.99<t)return"";if(0==t)return"صفر";let i=De.customFormat(t,"000000000000.00"),c=0;while(c<15){let t=c<12?i.substr(c,3):"0"+i.substr(c+1,2);var d=parseInt(t.substr(0,1)),m=parseInt(t.substr(1,1)),p=parseInt(t.substr(2,1)),g=parseInt(t.substr(1,2)),f=parseInt(t.substr(0,3));if(0<f){let t=this.MyArry1[d],e=this.MyArry2[m],r=this.MyArry3[p],i="",n="";11==g&&(i="إحدى عشر"),12==g&&(n="إثنى عشر"),10==g&&(e="عشرة"),0<d&&0<g&&(t+=this.MyAnd),0<p&&1<m&&(r+=this.MyAnd);let a=t+r+e;1==p&&1==m&&(a=t+i,0==d&&(a=i)),2==p&&1==m&&(a=t+n,0==d&&(a=n)),0!=c||De.isNullOrWhiteSpace(a)||(10<f?s=a+" مليار":(s=a+" مليارات",1==f&&(s=" مليار"),2==f&&(s=" ملياران"))),3!=c||De.isNullOrWhiteSpace(a)||(10<f?o=a+" مليون":(o=a+" ملايين",1==f&&(o=" مليون"),2==f&&(o=" مليونان"))),6!=c||De.isNullOrWhiteSpace(a)||(10<f?l=a+" ألف":(l=a+" آلاف",1==p&&(l=" ألف"),2==p&&(l=" ألفان"))),9!=c||De.isNullOrWhiteSpace(a)||(u=a),12!=c||De.isNullOrWhiteSpace(a)||(h=a)}c+=3}De.isNullOrWhiteSpace(s)||(0<o.length||0<l.length||0<u.length)&&(s+=this.MyAnd),De.isNullOrWhiteSpace(o)||(0<l.length||0<u.length)&&(o+=this.MyAnd),De.isNullOrWhiteSpace(l)||0<u.length&&(l+=this.MyAnd);let n="";return n=De.isNullOrWhiteSpace(h)?s+o+l+u+" "+e:0<s.length||0<o.length||0<l.length||0<u.length?s+o+l+u+" "+e+this.MyAnd+h+" "+r:h+" "+r,n}};ot.MyAnd=" و",(Ae.av.Ar=ot).MyArry1=[],ot.MyArry2=[],ot.MyArry3=[],ot.MyArry1[0]="",ot.MyArry1[1]="مائة",ot.MyArry1[2]="مائتان",ot.MyArry1[3]="ثلاثمائة",ot.MyArry1[4]="أربعمائة",ot.MyArry1[5]="خمسمائة",ot.MyArry1[6]="ستمائة",ot.MyArry1[7]="سبعمائة",ot.MyArry1[8]="ثمانمائة",ot.MyArry1[9]="تسعمائة",ot.MyArry2[0]="",ot.MyArry2[1]=" عشر",ot.MyArry2[2]="عشرون",ot.MyArry2[3]="ثلاثون",ot.MyArry2[4]="أربعون",ot.MyArry2[5]="خمسون",ot.MyArry2[6]="ستون",ot.MyArry2[7]="سبعون",ot.MyArry2[8]="ثمانون",ot.MyArry2[9]="تسعون",ot.MyArry3[0]="",ot.MyArry3[1]="واحد",ot.MyArry3[2]="اثنان",ot.MyArry3[3]="ثلاثة",ot.MyArry3[4]="أربعة",ot.MyArry3[5]="خمسة",ot.MyArry3[6]="ستة",ot.MyArry3[7]="سبعة",ot.MyArry3[8]="ثمانية",ot.MyArry3[9]="تسعة";var K=class{static addUnits(t,e){0!=e&&t.append(this.units[e-1])}static addTens(t,e){0!=e&&t.append(this.tens[e-1])}static addRank(r,t,e,i){let n=t.ref,a=e.ref;var s=a/n|0;if(0<s){var o=s/100|0;let t=(s/10|0)%10,e=s%10;1==t&&(t=0,e=s%100),0<r.length&&(0<o?r.append(" "):0<t+e&&r.append(" and ")),0<o&&(this.addUnits(r,o),r.append(" hundred"),0<t+e&&r.append(" and ")),0<t&&(this.addTens(r,t),0<e&&r.append("-")),0<e&&this.addUnits(r,e),r.append(" "),r.append(i),a%=n}n=Math.floor(n/1e3),t.ref=n,e.ref=a}static decline(e,r,i,n=null){if("string"==typeof r&&null==n){var t,a,s;if(1==e%100)return""+r;return i}if("boolean"==typeof r&&null!=n){var o;let t=i;if(!!r){var l=n.split("/");return this.decline(e,l[0],l[1])}var l=t.split("/");return this.decline(e,l[0],l[1])}return null}static numToStr(e,t=!0){let r=new Mt;if(0==e)r.append("zero");else{let t=!1;e<0&&(t=!0,e=Math.abs(e));var i,n={ref:i=1e18},a={ref:e};this.addRank(r,n,a,"quintillion"),this.addRank(r,n,a,"quadrillion"),this.addRank(r,n,a,"trillion"),this.addRank(r,n,a,"billion"),this.addRank(r,n,a,"million"),this.addRank(r,n,a,"thousand"),this.addRank(r,n,a,""),i=n.ref,e=a.ref,t&&r.insert(0,"minus ")}let s=r.toString();return t&&(s=s.charAt(0).toUpperCase()+s.substr(1)),s}static currToStr3(t,e){return this.currToStr(t,!0,e,"dollar/dollars","cent/cents")}static currToStr(t,e=!0,r=!0,i="dollar/dollars",n="cent/cents"){let a=Ne.trunc(t),s=0;Hd.Engine.useRoundForToCurrencyWordsFunctions?(s=Math.round(100*(t-a)),99<s&&(s=0,a++)):s=100*(t-a);let o=this.numToStr(a,e);return 0==t&&(o+=" "),o.stimulsoft().endsWith(" ")||(o+=" "),o=De.format("{0}{1}",o,this.decline(a,!1,i,n)),r&&(o+=" and ",o+=De.format("{0}",this.numToStr(s,!1)),0==s&&(o+=" "),o+=De.format("{0}",this.decline(s,!0,i,n))),o}static dateToStr(t,e=!1){if(null==t)return"";let r=De.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r}};K.months=["January","February","March","April","May","June","July","August","September","October","November","December"],K.units=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],K.tens=["ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],Ae.av.En=K;var l=class{static convertToWord(t,e,r){var i=new xt("en-GB");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),t);var n=Ne.trunc(t),a=Math.round(Math.abs((t-n)*Math.pow(10,r)));if(a>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),a);var s=this.convertToWord2(n,Ae.av.Resource.resourceManager.getString(e+"Gender",i).stimulsoft().toNumber(),0),o=this.convertToWord2(a,Ae.av.Resource.resourceManager.getString(e+"CentGender",i).stimulsoft().toNumber(),0),l="",u="",h="and",t={ref:l},r={ref:u};Ae.av.NumToWordHelper.determinateCurrencies(i,e,n,a,t,r);let c=Ae.av.NumToWordHelper.addWords(s,o,l=t.ref,u=r.ref,h);return c.trim()}static convertToWord2(t,e,r){let i="";var n=(t=Math.floor(t))<0;return 0==(t=n?Math.abs(t):t)?i=this.zeroWord:t<20?i=this.lessTwenty[t]:t<100?i=t%10==0?this.tens[Math.floor(t/10)]:this.tens[Math.floor(t/10)]+"-"+this.convertToWord2(t%10,e,0):t<1e3?(i=this.convertToWord2(Math.floor(t/100),e,0)+" hundred",0<t%100&&(i=i+" and "+this.convertToWord2(t%100,e,0))):i=this.calculateOver(t,e),n&&(i=this.lessWord+" "+i),i.trim()}static calculateOver(t,e){let r="",i="";var n=(t.toString().length-1)/3|0,a=Math.pow(10,3*n);0<t%a&&(i=this.convertToWord2(t%a,e,n));var s=Math.floor(t/a);switch(s){case 0:break;default:r=this.convertToWord2(s,e,n)+this.triplets[n][0]+" "+i;break}return r}};l.zeroWord="zero",l.lessWord="minus",(Ae.av.EnGb=l).triplets=ke.create2(String,7,2),l.lessTwenty=[],l.tens=[],l.triplets[0][0]="",l.triplets[1][0]=" thousand",l.triplets[2][0]=" million",l.triplets[3][0]=" billion",l.triplets[4][0]=" trillion",l.triplets[5][0]=" quadrillion",l.triplets[6][0]=" qunintillion",l.triplets[0][1]="",l.triplets[1][1]=" thousands",l.triplets[2][1]=" millions",l.triplets[3][1]=" milliards",l.triplets[4][1]=" trillions",l.triplets[5][1]=" quadrillions",l.triplets[6][1]=" qunintillions",l.lessTwenty[0]="",l.lessTwenty[1]="one",l.lessTwenty[2]="two",l.lessTwenty[3]="three",l.lessTwenty[4]="four",l.lessTwenty[5]="five",l.lessTwenty[6]="six",l.lessTwenty[7]="seven",l.lessTwenty[8]="eight",l.lessTwenty[9]="nine",l.lessTwenty[10]="ten",l.lessTwenty[11]="eleven",l.lessTwenty[12]="twelve",l.lessTwenty[13]="thirteen",l.lessTwenty[14]="fourteen",l.lessTwenty[15]="fifteen",l.lessTwenty[16]="sixteen",l.lessTwenty[17]="seventeen",l.lessTwenty[18]="eighteen",l.lessTwenty[19]="nineteen",l.tens[2]="twenty",l.tens[3]="thirty",l.tens[4]="fourty",l.tens[5]="fifty",l.tens[6]="sixty",l.tens[7]="seventy",l.tens[8]="eighty",l.tens[9]="ninety";var q=class{static numberToStr(t,e=!1){let r=this.numberToWords(t,e);return r.replace(/([^\W_]+[^\s-]*) */g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})}static currencyToStr(t,e,r,i,n=!1){if(r<0)throw new Error("Cannot convert negative numbers.");let a=0;var s=r,o=r.toString().stimulsoft().replaceAll(",",".").lastIndexOf(".");if(0<o){let e=r.toString().substr(o+1);for(let t=e.length;t<i;t++)e+="0";a=e.stimulsoft().toNumber()}let l=this.numberToWords(s,n).trim();var n=this.numberToWords(a,!0).trim();return 0<l.length&&0<n.length?l=l+" and "+e+" "+n:0==l.length&&0<n.length&&(l=this.wordsDictionary["K_0"],l=l+" and "+e.toLowerCase()+" "+n),(t+" "+l+" Only").replace(/([^\W_]+[^\s-]*) */g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})}static numberToWords(t,e){let r="",i="",n=0,a=0;if(0==(t=Math.floor(t)))r=this.wordsDictionary["K_"+t.toString()],e&&(r="");else if(1<=t&&t<20)r=this.wordsDictionary["K_"+t.toString()];else if(20<=t&&t<100)n=10*Math.floor(t/10),r=this.wordsDictionary["K_"+n.toString()],a=t%10,r=r+" "+this.numberToWords(a,!0);else if(100<=t&&t<1e3)n=Math.floor(t/100),r=this.numberToWords(n,!0),i=this.wordsDictionary["K_100"],a=t%100,r=r+" "+i+" "+this.numberToWords(a,!0);else if(1e3<=t&&t<1e5)n=Math.floor(t/1e3),r=this.numberToWords(n,!0),i=this.wordsDictionary["K_1000"],a=t%1e3,r=r+" "+i+" "+this.numberToWords(a,!0);else if(1e5<=t&&t<1e7)n=Math.floor(t/1e5),r=this.numberToWords(n,!0),i=this.wordsDictionary["K_100000"],a=t%1e5,r=r+" "+i+" "+this.numberToWords(a,!0);else if(1e7<=t&&t<1e9)n=Math.floor(t/1e7),r=this.numberToWords(n,!0),i=this.wordsDictionary["K_10000000"],a=t%1e7,r=r+" "+i+" "+this.numberToWords(a,!0);else{if(!(1e9<=t&&t<1e15))throw new Error("number to big to convert.");n=Math.floor(t/1e7),r=this.numberToWords(n,!0),i=this.wordsDictionary["K_10000000"],r=r+" "+i,i="",a=t%1e7,r=r+" "+this.numberToWords(a,!0)}return r}static get wordsDictionary(){return null==this._wordsDictionary&&(this._wordsDictionary={},this._wordsDictionary["K_0"]="Zero",this._wordsDictionary["K_1"]="One",this._wordsDictionary["K_2"]="Two",this._wordsDictionary["K_3"]="Three",this._wordsDictionary["K_4"]="Four",this._wordsDictionary["K_5"]="Five",this._wordsDictionary["K_6"]="Six",this._wordsDictionary["K_7"]="Seven",this._wordsDictionary["K_8"]="Eight",this._wordsDictionary["K_9"]="Nine",this._wordsDictionary["K_10"]="Ten",this._wordsDictionary["K_11"]="Eleven",this._wordsDictionary["K_12"]="Twelve",this._wordsDictionary["K_13"]="Thirteen",this._wordsDictionary["K_14"]="Fourteen",this._wordsDictionary["K_15"]="Fifteen",this._wordsDictionary["K_16"]="Sixteen",this._wordsDictionary["K_17"]="Seventeen",this._wordsDictionary["K_18"]="Eighteen",this._wordsDictionary["K_19"]="Nineteen",this._wordsDictionary["K_20"]="Twenty",this._wordsDictionary["K_30"]="Thirty",this._wordsDictionary["K_40"]="Forty",this._wordsDictionary["K_50"]="Fifty",this._wordsDictionary["K_60"]="Sixty",this._wordsDictionary["K_70"]="Seventy",this._wordsDictionary["K_80"]="Eighty",this._wordsDictionary["K_90"]="Ninety",this._wordsDictionary["K_100"]="Hundred",this._wordsDictionary["K_1000"]="Thousand",this._wordsDictionary["K_100000"]="Lac",this._wordsDictionary["K_10000000"]="Crore"),this._wordsDictionary}};q._wordsDictionary=null,Ae.av.EnIn=q;var k=class{static convertToWord(t,e,r){var i=new xt("es-ES");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),t);var n=Ne.trunc(t),a=Math.abs((t-n)*Math.pow(10,r));if(a>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),a);var s=this.convertToWord2(n,Ae.av.Resource.resourceManager.getString(e+"Gender",i).stimulsoft().toNumber(),0),o=this.convertToWord2(a,Ae.av.Resource.resourceManager.getString(e+"CentGender",i).stimulsoft().toNumber(),0),l="",u="",h="y",t={ref:l},r={ref:u};Ae.av.NumToWordHelper.determinateCurrencies(i,e,n,a,t,r),this.determinateCurrenciesEurUsd(i,e,n,a,t,r);let c=Ae.av.NumToWordHelper.addWords(s,o,l=t.ref,u=r.ref,h);return c.trim()}static determinateCurrenciesEurUsd(t,e,r,i,n,a){let s=n.ref,o=a.ref,l="EUR"==e?1:"USD"==e?0:-1;-1!=l&&(s=0<Math.floor(r/1e6)&&r%1e6==0||1<r?this.currencies[l][1]:this.currencies[l][0],o=1<i?this.currencies[l][3]:this.currencies[l][2]),n.ref=s,a.ref=o}static numToStr(t,e){var r=new xt("es-ES");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",r),t);let i=this.convertToWord2(t,1,0,!0);return e&&1<i.length&&(i=i[0].toUpperCase()+i.substr(1)),i.trim()}static numToStr2(t,e,r){var i=new xt("es-ES");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),t);let n=this.convertToWord2(t,r?2:1,0,!0);return e&&1<n.length&&(n=n[0].toUpperCase()+n.substr(1)),n.trim()}static convertToWord2(t,e,r,i=!1){let n="";var a=(t=Math.floor(t))<0;if(0==(t=a?Math.abs(t):t))n=this.zeroWord;else if(t<20)n=1==t&&2==e?"una":1!=t||1!=e||i?this.lessTwenty[t]:"un";else if(t<100)n=t%10==0?this.tens[t/10|0]:2==(t/10|0)?"veinti"+this.convertToWord2(t%10,e,0,i):this.tens[t/10|0]+" y "+this.convertToWord2(t%10,e,0,i);else if(t<1e3){switch(t/100|0){case 1:n=100==t?"cien":"ciento";break;case 5:n=1==e?"quinientos":"quinientas";break;case 7:n=1==e?"setecientos":"setecientas";break;case 9:n=1==e?"novecientos":"novecientas";break;default:n=this.convertToWord2(t/100|0,e,0,i)+(1==e?"cientos":"cientas");break}0<t%100&&(n=n+" "+this.convertToWord2(t%100,e,0,i))}else n=t<1e6?1==Math.floor(t/1e3)?this.triplets[1][0]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,i)):this.convertToWord2(Math.floor(t/1e3),e,1,i)+this.triplets[1][1]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,i)):t<1e12?1==Math.floor(t/1e6)?this.convertToWord2(Math.floor(t/1e6),e,2,i)+this.triplets[2][0]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,i)):this.convertToWord2(Math.floor(t/1e6),e,2,i)+this.triplets[2][1]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,i)):t<1e18?1==Math.floor(t/1e12)?this.convertToWord2(Math.floor(t/1e12),e,2,i)+this.triplets[4][0]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,i)):this.convertToWord2(Math.floor(t/1e12),e,2,i)+this.triplets[4][1]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,i)):1==Math.floor(t/1e18)?this.convertToWord2(Math.floor(t/1e18),e,2,i)+this.triplets[6][0]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,i)):this.convertToWord2(Math.floor(t/1e18),e,2,i)+this.triplets[6][1]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,i));return a&&(n=this.lessWord+" "+n),n.trim()}};k.zeroWord="cero",k.lessWord="menos",k.currencies=[["dólar","dólares","centavo","centavos"],["euro","euros","céntimo","céntimos"]],(Ae.av.Es=k).triplets=ke.create2(String,7,2),k.lessTwenty=[],k.tens=[],k.triplets[0][0]="",k.triplets[1][0]=" mil",k.triplets[2][0]=" millón",k.triplets[3][0]=" mil milliones",k.triplets[4][0]=" billón",k.triplets[5][0]=" mil billón",k.triplets[6][0]=" trillón",k.triplets[0][1]="",k.triplets[1][1]=" mil",k.triplets[2][1]=" millones",k.triplets[3][1]=" mil milliones",k.triplets[4][1]=" billónes",k.triplets[5][1]=" mil billónes",k.triplets[6][1]=" trillónes",k.lessTwenty[0]="",k.lessTwenty[1]="uno",k.lessTwenty[2]="dos",k.lessTwenty[3]="tres",k.lessTwenty[4]="cuatro",k.lessTwenty[5]="cinco",k.lessTwenty[6]="seis",k.lessTwenty[7]="siete",k.lessTwenty[8]="ocho",k.lessTwenty[9]="nueve",k.lessTwenty[10]="diez",k.lessTwenty[11]="once",k.lessTwenty[12]="doce",k.lessTwenty[13]="trece",k.lessTwenty[14]="catorce",k.lessTwenty[15]="quince",k.lessTwenty[16]="dieciséis",k.lessTwenty[17]="diecisiete",k.lessTwenty[18]="dieciocho",k.lessTwenty[19]="diecinueve",k.tens[2]="veinte",k.tens[3]="treinta",k.tens[4]="cuarenta",k.tens[5]="cincuenta",k.tens[6]="sesenta",k.tens[7]="setenta",k.tens[8]="ochenta",k.tens[9]="noventa",Ae.av.Fa=class{static convertToWord(t){t=Math.floor(t);let e=[],r=[],i="";if(0==(t=Math.abs(t)))return"صفر";while(1){var n=0,a=0,n=Math.floor(t/1e3),a;if(e.push(t%1e3),!(1e3<=n)){0!=n&&e.push(n);break}t=n}for(let t=0;t<=e.length-1;t++)r.push(this.changingNum(e[t]));for(let t=r.length-1;0<=t;t+=-1)if(5==t){if(!De.isNullOrEmpty(r[5])){if(De.isNullOrEmpty(r[4])&&De.isNullOrEmpty(r[3])&&De.isNullOrEmpty(r[2])&&De.isNullOrEmpty(r[1])&&De.isNullOrEmpty(r[0])){i+=r[5]+" بيليارد";break}i+=r[5]+" بيليارد و "}}else if(4==t){if(!De.isNullOrEmpty(r[4])){if(De.isNullOrEmpty(r[3])&&De.isNullOrEmpty(r[2])&&De.isNullOrEmpty(r[1])&&De.isNullOrEmpty(r[0])){i+=r[4]+" بيليون";break}i+=r[4]+" بيليون و "}}else if(3==t){if(!De.isNullOrEmpty(r[3])){if(De.isNullOrEmpty(r[2])&&De.isNullOrEmpty(r[1])&&De.isNullOrEmpty(r[0])){i+=r[3]+" ميليارد";break}i+=r[3]+" ميليارد و "}}else if(2==t){if(!De.isNullOrEmpty(r[2])){if(De.isNullOrEmpty(r[1])&&De.isNullOrEmpty(r[0])){i+=r[2]+" ميليون";break}i+=r[2]+" ميليون و "}}else if(1==t){if(!De.isNullOrEmpty(r[1])){if(De.isNullOrEmpty(r[0])){i+=r[1]+" هزار";break}i+=r[1]+" هزار و "}}else i+=r[0];return i}static changingNum(r){let i=[],t="",e="",n="",a="";while(1){let t=0,e=0;if(t=Ne.trunc(r/10),e=Ne.trunc(r%10),i.push(e.toString()),!(10<=t)){i.push(t.toString());break}r=t}if(3==i.length)switch(i[2]){case"0":n="";break;case"1":n="صد";break;case"2":n="دويست";break;case"3":n="سيصد";break;case"4":n="چهارصد";break;case"5":n="پانصد";break;case"6":n="ششصد";break;case"7":n="هفتصد";break;case"8":n="هشتصد";break;case"9":n="نهصد";break}switch(i[0]){case"0":t="";break;case"1":t="يک";break;case"2":t="دو";break;case"3":t="سه";break;case"4":t="چهار";break;case"5":t="پنج";break;case"6":t="شش";break;case"7":t="هفت";break;case"8":t="هشت";break;case"9":t="نه";break}switch(i[1]){case"0":e="";break;case"1":switch(i[0]){case"0":t="ده";break;case"1":t="يازده";break;case"2":t="دوازده";break;case"3":t="سيزده";break;case"4":t="چهارده";break;case"5":t="پانزده";break;case"6":t="شانزده";break;case"7":t="هفده";break;case"8":t="هيجده";break;case"9":t="نوزده";break}break;case"2":e="بيست";break;case"3":e="سي";break;case"4":e="چهل";break;case"5":e="پنجاه";break;case"6":e="شصت";break;case"7":e="هفتاد";break;case"8":e="هشتاد";break;case"9":e="نود";break}return De.isNullOrEmpty(n)?De.isNullOrEmpty(e)?a+=t:(a+=e,De.isNullOrEmpty(t)||(a+=" و "+t)):(a+=n,De.isNullOrEmpty(e)||(a+=" و "+e),De.isNullOrEmpty(t)||(a+=" و "+t)),a}};var yt=class{static convertToWord(t,e,r){var i=new xt("fr-FR");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),t);var n=Ne.trunc(t),a=Math.abs((t-n)*Math.pow(10,r));if(a>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Ae.av.Resource.resourceManager.getString("TooLongError",i),a);var s=this.convertToWord2(n,Ae.av.Resource.resourceManager.getString(e+"Gender",i).stimulsoft().toNumber(),0),o=this.convertToWord2(a,Ae.av.Resource.resourceManager.getString(e+"CentGender",i).stimulsoft().toNumber(),0),l="",u="",h="et",t={ref:l},r={ref:u};Ae.av.NumToWordHelper.determinateCurrencies(i,e,n,a,t,r);let c=Ae.av.NumToWordHelper.addWords(s,o,l=t.ref,u=r.ref,h);return c.trim()}static convertToWord2(e,r,i){let n="";var t=(e=Math.floor(e))<0;if(0==(e=t?Math.abs(e):e))n=this.zeroWord;else if(e<20)n=1==e&&2==r?this.lessTwentys[e]+"e":this.lessTwentys[e];else if(e<100){let t="";switch(e%10){case 0:switch(e/10|0){case 7:t="-";break;case 8:1!=i&&(t="s");break;case 9:t="-";break;default:t="";break}break;case 1:switch(e/10|0){case 8:t=" ";break;case 9:t=" ";break;default:t="-et-";break}break;default:t="-";break}n=this.tens[e/10|0]+t,7==(e/10|0)||9==(e/10|0)?(""==t&&(t=" "),n+=this.convertToWord2(e%10+10,r,0)):e%10!=0&&(n+=this.convertToWord2(e%10,r,0))}else if(e<1e3){switch(e/100|0){case 1:n="cent";break;default:n=this.convertToWord2(e/100|0,r,0)+" cent",e%100==0&&1!=i&&(n+="s");break}0<e%100&&(n=n+" "+this.convertToWord2(e%100,r,0))}else n=this.calculateOver(e,r);return t&&(n=this.lessWord+" "+n),n.trim()}static calculateOver(t,e){let r="",i="";var n=(t.toString().length-1)/3|0,a=Math.pow(10,3*n);0<t%a&&(i=this.convertToWord2(t%a,e,n));var s=Math.floor(t/a);switch(s){case 0:break;case 1:r=1==n?this.triplets[n][0]+" "+i:this.convertToWord2(s,e,n)+this.triplets[n][0]+" "+i;break;default:r=this.convertToWord2(s,e,n)+this.triplets[n][1]+" "+i;break}return r}};yt.zeroWord="zéro",yt.lessWord="moins",(Ae.av.Fr=yt).triplets=ke.create2(String,7,2),yt.lessTwentys=[],yt.tens=[],yt.triplets[0][0]="",yt.triplets[1][0]=" mille",yt.triplets[2][0]=" million",yt.triplets[3][0]=" milliard",yt.triplets[4][0]=" trillion",yt.triplets[5][0]=" quadrillion",yt.triplets[6][0]=" qunintillion",yt.triplets[0][1]="",yt.triplets[1][1]=" mille",yt.triplets[2][1]=" millions",yt.triplets[3][1]=" milliards",yt.triplets[4][1]=" trillions",yt.triplets[5][1]=" quadrillions",yt.triplets[6][1]=" qunintillions",yt.lessTwentys[0]="",yt.lessTwentys[1]="un",yt.lessTwentys[2]="deux",yt.lessTwentys[3]="trois",yt.lessTwentys[4]="quatre",yt.lessTwentys[5]="cinq",yt.lessTwentys[6]="six",yt.lessTwentys[7]="sept",yt.lessTwentys[8]="huit",yt.lessTwentys[9]="neuf",yt.lessTwentys[10]="dix",yt.lessTwentys[11]="onze",yt.lessTwentys[12]="douze",yt.lessTwentys[13]="treize",yt.lessTwentys[14]="quatorze",yt.lessTwentys[15]="quinze",yt.lessTwentys[16]="seize",yt.lessTwentys[17]="dix-sept",yt.lessTwentys[18]="dix-huit",yt.lessTwentys[19]="dix-neuf",yt.tens[2]="vingt",yt.tens[3]="trente",yt.tens[4]="quarante",yt.tens[5]="cinquante",yt.tens[6]="soixante",yt.tens[7]="soixante",yt.tens[8]="quatre-vingt",yt.tens[9]="quatre-vingt";let Bw=Ae.av.Resource;var ot=class{static convertToWord(t,e,r){var i=new xt("nl-NL");if(t>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Bw.resourceManager.getString("TooLongError",i),t);var n=Ne.trunc(t),a=Math.abs((t-n)*Math.pow(10,r));if(a>Ae.av.NumToWordHelper.maxValue)throw Ae.av.NumToWordException(Bw.resourceManager.getString("TooLongError",i),a);var s=this.convertToWord2(n,Bw.resourceManager.getString(e+"Gender",i).stimulsoft().toNumber(),0),o=this.convertToWord2(a,Bw.resourceManager.getString(e+"CentGender",i).stimulsoft().toNumber(),0),l="",u="",h="en",t={ref:l},r={ref:u};Ae.av.NumToWordHelper.determinateCurrencies(i,e,n,a,t,r);let c=Ae.av.NumToWordHelper.addWords(s,o,l=t.ref,u=r.ref,h);return c.trim()}static convertToWord2(t,e,r){let i="";var n=(t=Math.floor(t))<0;return 0==(t=n?Math.abs(t):t)?i=this.zeroWord:t<20?i=this.lessTwenty[t]:t<100?i=t%10==0?this.tens[t/10|0]:this.convertToWord2(t%10,e,0)+" en "+this.tens[t/10|0]:t<1e3?(i=this.convertToWord2(t/100|0,e,0)+" Honderd",0<t%100&&(i=i+", "+this.convertToWord2(t%100,e,0))):i=this.calculateOver(t,e),n&&(i=this.lessWord+" "+i),i.trim()}static calculateOver(t,e){let r="",i="";var n=(t.toString().length-1)/3|0,a=Math.pow(10,3*n);0<t%a&&(i=this.convertToWord2(t%a,e,n));var s=Math.floor(t/a);switch(s){case 0:break;default:r=this.convertToWord2(s,e,n)+this.triplets[n][0]+" "+i;break}return r}};ot.zeroWord="nul",ot.lessWord="minus",(Ae.av.Nl=ot).triplets=ke.create2(String,7,2),ot.lessTwenty=[],ot.tens=[],ot.triplets[0][0]="",ot.triplets[1][0]=" duizend",ot.triplets[2][0]=" miljoen",ot.triplets[3][0]=" miljard",ot.triplets[4][0]=" biljoen",ot.triplets[5][0]=" biljard",ot.triplets[6][0]=" triljoen",ot.triplets[0][1]="",ot.triplets[1][1]=" duizend",ot.triplets[2][1]=" miljoen",ot.triplets[3][1]=" miljard",ot.triplets[4][1]=" biljoen",ot.triplets[5][1]=" biljard",ot.triplets[6][1]=" triljoen",ot.lessTwenty[0]="",ot.lessTwenty[1]="een",ot.lessTwenty[2]="twee",ot.lessTwenty[3]="drie",ot.lessTwenty[4]="vier",ot.lessTwenty[5]="vijf",ot.lessTwenty[6]="zes",ot.lessTwenty[7]="zeven",ot.lessTwenty[8]="acht",ot.lessTwenty[9]="negen",ot.lessTwenty[10]="tien",ot.lessTwenty[11]="elf",ot.lessTwenty[12]="twaalf",ot.lessTwenty[13]="dertien",ot.lessTwenty[14]="veertien",ot.lessTwenty[15]="vijftien",ot.lessTwenty[16]="zestien",ot.lessTwenty[17]="zeventien",ot.lessTwenty[18]="achtien",ot.lessTwenty[19]="negentien",ot.tens[2]="twintig",ot.tens[3]="dertig",ot.tens[4]="veertig",ot.tens[5]="vijftig",ot.tens[6]="zestig",ot.tens[7]="zeventig",ot.tens[8]="tachtig",ot.tens[9]="negentig";var K=class{static numToStr(r,t){let i;if(0==(r=Math.floor(r)))i="zero ";else{let t=new Mt,e=!1;r<0&&(e=!0,r=Math.abs(r));var n,a={refRank:n=1e18,refValue:r};this.addRank(t,a,this.quintillion),this.addRank(t,a,this.quadrillion),this.addRank(t,a,this.trillion),this.addRank(t,a,this.billion),this.addRank(t,a,this.million),this.addRank(t,a,this.thousends),this.addRank(t,a,null),n=a.refRank,r=a.refValue,i=t.toString(),e&&(i="minus "+i)}return t&&(i=i.charAt(0).toUpperCase()+i.substr(1)),i.trim()}static addUnits(t,e){0!=e&&t.append(this.units[e-1])}static addTens(t,e){0!=e&&t.append(this.tens[e-1])}static addHundreds(t,e){0!=e&&t.append(this.hundreds[e-1])}static addRank(r,t,i){let n=t.refRank,a=t.refValue;var s=Math.floor(a/n);if(0<s){var o=Math.floor(s/100);let t=Math.floor(s/10)%10,e=s%10;if(1==t&&(t=0,e=s%100),0<r.length&&(0<o||0<t+e)&&r.append(" "),0<o&&(this.addHundreds(r,o),0<t+e&&r.append(" ")),0<t&&(this.addTens(r,t),0<e&&r.append(" ")),0<e&&this.addUnits(r,e),r.append(" "),null!=i)switch(e){case 0:case 1:0==t&&0==o?r.append(i[0]):r.append(i[2]);break;case 2:case 3:case 4:r.append(i[1]);break;default:r.append(i[2]);break}a%=n}n=Math.floor(n/1e3),t.refRank=n,t.refValue=a}static decline2(t,e){var r=t%10,i=Math.floor(t/10);switch(r){case 1:return 1==i?e[2]:e[0];case 2:case 3:case 4:return 1==i?e[2]:e[1];default:return e[2]}}static decline(t,e,r,i){return e?this.decline2(t,i):this.decline2(t,r)}static currToStr2(t,e,r,i,n){let a=Math.floor(t),s=0;Hd.Engine.useRoundForToCurrencyWordsFunctions?(s=Math.round(100*(t-a)),99<s&&(s=0,a++)):s=100*(t-a);let o=this.numToStr(a,e)+" "+this.decline(a,!1,i,n);return r&&(o+=" i "+this.numToStr(s,!1)+" "+this.decline(s,!0,i,n)),o}static currToStr(t,e,r,i){switch(e){case"USD":return this.currToStr2(t,i,r,this.dollar,this.cent);case"EUR":return this.currToStr2(t,i,r,this.euro,this.cent);default:return this.currToStr2(t,i,r,this.zloty,this.grosz)}}static dateToStr(t,e){let r=De.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(r=r[0].toUpperCase()+r.substr(1)),r}};K.units=["jeden","dwa","trzy","cztery","pięć","sześć","siedem","osiem","dziewięć","dziesięć","jedenaście","dwanaście","trzynaście","czternaście","piętnaście","szesnaście","siedemnaście","osiemnaście","dziewiętnaście"],K.tens=["dziesięć","dwadzieścia","trzydzieści","czterdzieści","pięćdziesiąt","sześćdziesiąt","siedemdziesiąt","osiemdziesiąt","dziewięćdziesiąt"],K.hundreds=["sto","dwieście","trzysta","czterysta","pięćset","sześćset","siedemset","osiemset","dziewięćset"],K.thousends=["tysiąc","tysiące","tysięcy"],K.million=["milion","miliony","milionów"],K.billion=["miliard","miliardy","miliardów"],K.trillion=["bilion","biliony","bilionów"],K.quadrillion=["biliard","biliardy","biliardów"],K.quintillion=["trylion","tryliony","trylionów"],K.zloty=["złoty","złote","złotych"],K.grosz=["grosz","grosze","groszy"],K.dollar=["dolar","dolary","dolarów"],K.cent=["cent","centy","centów"],K.euro=["euro","euro","euro"],K.months=["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],Ae.av.Pl=K;var l=class{static numToStr(i,t){var n=1e3<=(i=Math.floor(i));let a;if(0==i)a="zero";else{let t=new Mt,e=!1;i<0&&(e=!0,i=Math.abs(i));var s,o={ref:s=1e18};let r={ref:i};this.addRank(t,o,r,r.ref.toString().stimulsoft().startsWith("1")?"quintilião":"quintiliões",n),this.addRank(t,o,r,r.ref.toString().stimulsoft().startsWith("1")?"quadrilião":"quadriliões",n),this.addRank(t,o,r,r.ref.toString().stimulsoft().startsWith("1")?"trilião":"triliões",n),this.addRank(t,o,r,r.ref.toString().stimulsoft().startsWith("1")?"bilião":"biliões",n),this.addRank(t,o,r,r.ref.toString().stimulsoft().startsWith("1")?"milhão":"milhões",n),this.addRank(t,o,r,"mil",n),this.addRank(t,o,r,"",n),s=o.ref,i=r.ref,a=t.toString(),e&&(a="menos "+a)}return t&&(a=a.charAt(0).toUpperCase()+a.substr(1)),a}static addRank(r,t,e,i,n){let a=t.ref,s=e.ref;var o=s/a|0;if(0<o){var l=o/100|0;let t=(o/10|0)%10,e=o%10;if(1==t&&(t=0,e=o%100),0<r.length&&(0<l?n&&t+e==0?r.append(" e "):r.append(" "):0<t+e&&r.append(" e ")),0<l){switch(l){case 1:0<t+e?r.append("cento"):r.append("cem");break;case 2:r.append("duzentos");break;case 3:r.append("trezentos");break;case 4:r.append("quatrocentos");break;case 5:r.append("quinhentos");break;case 6:r.append("seiscentos");break;case 7:r.append("setecentos");break;case 8:r.append("oitocentos");break;case 9:r.append("novecentos");break}0<t+e&&r.append(" e ")}0<t&&(this.addTens(r,t),""!=i&&0==e&&r.append(" "),0<e&&r.append(" e ")),(n&&1<e||0<e&&""==i)&&this.addUnits(r,e),0!=r.length&&" "!=r.toString()[r.length-1]&&r.append(" "),r.append(i),s%=a}a=Math.floor(a/1e3),t.ref=a,e.ref=s}static addUnits(t,e){0!=e&&t.append(this.units[e-1])}static addTens(t,e){0!=e&&t.append(this.tens[e-1])}static decline(t,e,r,i){if(e){var i=i.split("/");return this.decline2(t,i[0],i[1])}var r=r.split("/");return this.decline2(t,r[0],r[1])}static decline2(t,e,r){var i;if(1==t%100)return e;return r}static currToStr(e,t,r){var i="euro/euros",n="cêntimo/cêntimos";let a=this.numToStr(e,t);if(0==e&&(a+=" "),a.stimulsoft().endsWith(
" ")||(a+=" "),a=De.format("{0}{1}",a,this.decline(e,!1,i,n)),r){a+=" e ";let t=0;var r=Ne.trunc(e);t=Hd.Engine.useRoundForToCurrencyWordsFunctions?Math.round(100*(e-r)):100*(e-r),a+=De.format("{0}",this.numToStr(t,!1)),0==t&&(a+=" "),a+=De.format("{0}",this.decline(t,!0,i,n))}return a}static dateToStr(t){return De.format("{0} de {1} de {2}",t.day,this.months[t.month-1],t.year)}};l.units=["um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze","doze","treze","catorze","quinze","dezesseis","dezessete","dezoito","dezenove"],l.tens=["dez","vinte","trinta","quarenta","cinquenta","sessenta","setenta","oitenta","noventa"],l.months=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],Ae.av.Pt=l;var q=class{static numToStr(t){let i=[],n=["","","","",""],e=De.customFormat(t,"0000000000.00");i[1]=e.substr(1,3),i[2]=e.substr(4,3),i[3]=e.substr(7,3),i[4]="0"+e.substr(11,2);for(let r=1;r<=4;r++){let t=i[r];var a=t.stimulsoft().toNumber();let e=a<10?1:a<100?2:a<1e3?3:0;3==e&&(t.stimulsoft().endsWith("00")?n[r]+=t.stimulsoft().startsWith("1")?"CEM ":this.centena[t.substr(0,1).stimulsoft().toNumber()]:(n[r]+=this.centena[t.substr(0,1).stimulsoft().toNumber()]+"E ",e=2)),2==e&&(t.substr(1,2).stimulsoft().toNumber()<20?n[r]+=this.unid[t.substr(1,2).stimulsoft().toNumber()]:(n[r]+=this.dezena[t.substr(1,1).stimulsoft().toNumber()],t.stimulsoft().endsWith("0")||(n[r]+="E ",e=1))),1==e&&(n[r]+=this.unid[t.substr(2,1).stimulsoft().toNumber()])}let r="";0==(i[1]+i[2]+i[3]).stimulsoft().toNumber()&&0!=i[4].stimulsoft().toNumber()?r=n[4]+(1==i[4].stimulsoft().toNumber()?"CENTAVO":"CENTAVOS"):(r=0!=i[1].stimulsoft().toNumber()?n[1]+(1<i[1].stimulsoft().toNumber()?"MILHÕES ":"MILHÃO "):"",0==(i[2]+i[3]).stimulsoft().toNumber()?r+="DE ":r+=0!=i[2].stimulsoft().toNumber()?n[2]+"MIL ":"",r+=n[3]+(1==(i[1]+i[2]+i[3]).stimulsoft().toNumber()?"REAL ":"REAIS "),r+=0!=i[4].stimulsoft().toNumber()?"E "+n[4]+(1==i[4].stimulsoft().toNumber()?"CENTAVO":"CENTAVOS"):"");let s="";return s=0==t?this.unid[0]:r.trim(),s.toLowerCase()}};q.unid=["ZERO ","UM ","DOIS ","TRÊS ","QUATRO ","CINCO ","SEIS ","SETE ","OITO ","NOVE ","DEZ ","ONZE ","DOZE ","TREZE ","CATORZE ","QUINZE ","DEZESSEIS ","DEZESSETE ","DEZOITO ","DEZENOVE "],q.dezena=["ZERO ","DEZ ","VINTE ","TRINTA ","QUARENTA ","CINQÜENTA ","SESSENTA ","SETENTA ","OITENTA ","NOVENTA "],q.centena=["ZERO ","CENTO ","DUZENTOS ","TREZENTOS ","QUATROCENTOS ","QUINHENTOS ","SEISCENTOS ","SETECENTOS ","OITOCENTOS ","NOVECENTOS "],Ae.av.PtBr=q;var k=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["рубль","рубля","рублей"],this._cents=["копейка","копейки","копеек"]}get gender(){return Ae.av.Gender.Masculine}get centsGender(){return Ae.av.Gender.Feminine}get dollars(){return this._dollars}get cents(){return this._cents}},yt=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["доллар","доллара","долларов"],this._cents=["цент","цента","центов"]}get gender(){return Ae.av.Gender.Masculine}get centsGender(){return Ae.av.Gender.Masculine}get dollars(){return this._dollars}get cents(){return this._cents}},ot=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["евро","евро","евро"],this._cents=["цент","цента","центов"]}get gender(){return Ae.av.Gender.Neutral}get centsGender(){return Ae.av.Gender.Masculine}get dollars(){return this._dollars}get cents(){return this._cents}},K=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["гривна","гривны","гривен"],this._cents=["копейка","копейки","копеек"]}get gender(){return Ae.av.Gender.Feminine}get centsGender(){return Ae.av.Gender.Feminine}get dollars(){return this._dollars}get cents(){return this._cents}},l=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["тенге","тенге","тенге"],this._cents=["тиын","тиына","тиынов"]}get gender(){return Ae.av.Gender.Masculine}get centsGender(){return Ae.av.Gender.Feminine}get dollars(){return this._dollars}get cents(){return this._cents}},q=class{static registerCurrency(t,e){this.currencies.set(e.toUpperCase(),t)}static getCurrency(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw De.format("Currency '{0}' is not registered",t);return e}static addUnits(t,e,r){0!=e&&(0<t.length&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))}static addTens(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.tens[e-1]))}static addHundreds(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.hundreds[e-1]))}static addThousand(t,e,r){this.addHundreds(t,e/100|0),(e%=100)<20?this.addUnits(t,e,r):(this.addTens(t,e/10|0),this.addUnits(t,e%10,r))}static addRank(e,t,r,i,n,a,s){let o=t.ref,l=r.ref;var u=l/o|0;if(0<u){this.addThousand(e,u,s);var h=u%10,s=u%100;let t="";t=11<=s&&s<20?a:1==h?i:1<h&&h<5?n:a,10<u&&u<20&&(t=a),0<e.length&&e.append(" "),e.append(t),l%=o}o=Math.floor(o/1e3),t.ref=o,r.ref=l}static numToStr(t,e=!0,r=Ae.av.Gender.Masculine){t=Math.floor(t);let i=new Mt;var n,a,s;0==t?i.append("ноль"):(t<0&&(i.append("минус"),t=Math.abs(t)),a={ref:n=1e18},s={ref:t},this.addRank(i,a,s,"квинтильон","квинтильона","квинтильонов",Ae.av.Gender.Masculine),this.addRank(i,a,s,"квадрильон","квадрильона","квадрильонов",Ae.av.Gender.Masculine),this.addRank(i,a,s,"триллион","триллиона","триллионов",Ae.av.Gender.Masculine),this.addRank(i,a,s,"миллиард","миллиарда","миллиардов",Ae.av.Gender.Masculine),this.addRank(i,a,s,"миллион","миллиона","миллионов",Ae.av.Gender.Masculine),this.addRank(i,a,s,"тысяча","тысячи","тысяч",Ae.av.Gender.Feminine),n=a.ref,t=s.ref,this.addThousand(i,t,r));let o=i.toString();return e&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}static currToStr(t,e=!0,r="RUR",i=!0){let n=Ne.trunc(t),a=0;Hd.Engine.useRoundForToCurrencyWordsFunctions?(a=Math.round(100*(t-n)),99<a&&(a=0,n++)):a=100*(t-n);let s=De.format("{0} {1}",this.numToStr(n,e,this.getCurrency(r).gender),this.decline(n,r));return i&&(s+=De.format(" {0:d2}",a),s+=De.format(" {0}",this.decline(a,r,!0))),s}static decline2(t,e,r,i){let n=t%100;if(10<=n&&n<20)return i;if(n%=10,1==n)return e;if(1<n&&n<5)return r;return i}static decline(t,e,r=!1){var e=this.getCurrency(e);return r?this.decline2(t,e.centOne,e.centTwo,e.centFive):this.decline2(t,e.dollarOne,e.dollarTwo,e.dollarFive)}static dateToStr(t,e=!1){let r=De.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(r=r[0].toUpperCase()+r.substr(1)),r}};q.currencies=new Dt,q.months=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],q.units=["один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],q.tens=["десять","двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],q.hundreds=["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],q.gendered=[["один","одна","одно"],["два","две","два"]],(Ae.av.Ru=q).registerCurrency(new ot,"EUR"),q.registerCurrency(new yt,"USD"),q.registerCurrency(new k,"RUR"),q.registerCurrency(new K,"UAH"),q.registerCurrency(new l,"KZT");{let s=class{static numToStr(t){let e=De.customFormat(t,"000000000000000000.00").replace(".",","),r=e.substr(0,e.indexOf(",")),i="";var n=6;let a;for(let t=0;t<3*n;t+=3)a="","0"!=r.substr(t,1)&&(a+=s.Birler[Ae.b.Convert.toInt32(r.substr(t,1))]+"Yüz"),"BirYüz"==a&&(a="Yüz"),a+=s.Onlar[Ae.b.Convert.toInt32(r.substr(t+1,1))],a+=s.Birler[Ae.b.Convert.toInt32(r.substr(t+2,1))],""!=a&&(a+=s.Binler[t/3]),"BirBin"==a&&(a="Bin"),i+=a;return i}static currToStr(t,e="TL/Kr.",r=!0){let i=De.customFormat(t,"0.00").replace(".",","),n=i.substr(i.indexOf(",")+1,2);var e=e.split("/");let a=s.numToStr(t);0<a.length&&(a+=" "+e[0]+" ");var t=a.length;return"0"!=n.substr(0,1)&&(a+=s.Onlar[Ae.b.Convert.toInt32(n.substr(0,1))]),"0"!=n.substr(1,1)&&(a+=s.Birler[Ae.b.Convert.toInt32(n.substr(1,1))]),a.length>t?a+=" "+e[1]:r&&(a+="Sıfır "+e[1]),a}};s.Birler=["","Bir","İki","Üç","Dört","Beş","Altı","Yedi","Sekiz","Dokuz"],s.Onlar=["","On","Yirmi","Otuz","Kırk","Elli","Altmış","Yetmiş","Seksen","Doksan"],s.Binler=["Katrilyon","Trilyon","Milyar","Milyon","Bin",""],Ae.av.Tr=s}var yt=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["рубль","рубля","рублів"],this._cents=["копійка","копійки","копійок"]}get gender(){return Ae.av.Gender.Masculine}get centsGender(){return Ae.av.Gender.Feminine}get dollars(){return this._dollars}get cents(){return this._cents}},k=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["долар","долара","доларів"],this._cents=["цент","цента","центів"]}get gender(){return Ae.av.Gender.Masculine}get centsGender(){return Ae.av.Gender.Masculine}get dollars(){return this._dollars}get cents(){return this._cents}},K=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["євро","євро","євро"],this._cents=["цент","цента","центів"]}get gender(){return Ae.av.Gender.Neutral}get centsGender(){return Ae.av.Gender.Masculine}get dollars(){return this._dollars}get cents(){return this._cents}},q=class extends Ae.av.Currency{constructor(){super(...arguments),this._dollars=["гривня","гривні","гривень"],this._cents=["копійка","копійки","копійок"]}get gender(){return Ae.av.Gender.Feminine}get centsGender(){return Ae.av.Gender.Feminine}get dollars(){return this._dollars}get cents(){return this._cents}},l=class{static registerCurrency(t,e){this.currencies.set(e.toUpperCase(),t)}static getCurrency(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw De.format("Currency '{0}' is not registered",t);return e}static addUnits(t,e,r){0!=e&&(0<t.length&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))}static addTens(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.tens[e-1]))}static addHundreds(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.hundreds[e-1]))}static addThousand(t,e,r){this.addHundreds(t,e/100|0),(e%=100)<20?this.addUnits(t,e,r):(this.addTens(t,e/10|0),this.addUnits(t,e%10,r))}static addRank(e,t,r,i,n,a,s){let o=t.ref,l=r.ref;var u=l/o|0;if(0<u){this.addThousand(e,u,s);var s=u%10;let t="";t=1==s?i:1<s&&s<5?n:a,10<u&&u<20&&(t=a),0<e.length&&e.append(" "),e.append(t),l%=o}o=Math.floor(o/1e3),t.ref=o,r.ref=l}static numToStr(t,e=!0,r=Ae.av.Gender.Masculine){t=Math.floor(t);let i=new Mt;var n,a,s;0==t?i.append("ноль"):(t<0&&(i.append("минус"),t=Math.abs(t)),a={ref:n=1e18},s={ref:t},this.addRank(i,a,s,"квінтильйон","квінтильйона","квінтильйонів",Ae.av.Gender.Masculine),this.addRank(i,a,s,"квадрильйон","квадрильйона","квадрильйонів",Ae.av.Gender.Masculine),this.addRank(i,a,s,"трильйон","трильйона","трильйонів",Ae.av.Gender.Masculine),this.addRank(i,a,s,"мільярд","мільярда","мільярдів",Ae.av.Gender.Masculine),this.addRank(i,a,s,"мільйон","мільйона","мільйонів",Ae.av.Gender.Masculine),this.addRank(i,a,s,"тисяча","тисячі","тисяч",Ae.av.Gender.Feminine),n=a.ref,t=s.ref,this.addThousand(i,t,r));let o=i.toString();return e&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}static currToStr(t,e=!0,r="UAH",i=!0){let n=Ne.trunc(t),a=0;Hd.Engine.useRoundForToCurrencyWordsFunctions?(a=Math.round(100*(t-n)),99<a&&(a=0,n++)):a=100*(t-n);let s=De.format("{0} {1}",this.numToStr(n,e,this.getCurrency(r).gender),this.decline(n,r));return i&&(s+=De.format(" {0:d2}",a),s+=De.format(" {0}",this.decline(a,r,!0))),s}static decline2(t,e,r,i){let n=t%100;if(10<=n&&n<20)return i;if(n%=10,1==n)return e;if(1<n&&n<5)return r;return i}static decline(t,e,r=!1){var e=this.getCurrency(e);return r?this.decline2(t,e.centOne,e.centTwo,e.centFive):this.decline2(t,e.dollarOne,e.dollarTwo,e.dollarFive)}static dateToStr(t,e=!1){let r=De.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(r=r[0].toUpperCase()+r.substr(1)),r}};l.currencies=new Dt,l.months=["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"],l.units=["один","два","три","чотири","п'ять","шість","сім","вісім","дев'ять","десять","одинадцять","дванадцять","тринадцять","чотирнадцять","п'ятнадцять","шістнадцять","сімнадцять","вісімнадцять","дев'ятнадцять"],l.tens=["десять","двадцять","тридцять","сорок","п'ятдесят","шістдесят","сімдесят","вісімдесят","дев'яносто"],l.hundreds=["сто","двісті","триста","чотириста","п'ятсот","шістсот","сімсот","вісімсот","дев'ятсот"],l.gendered=[["один","одна","одне"],["два","дві","два"]],(Ae.av.Ua=l).registerCurrency(new K,"EUR"),l.registerCurrency(new k,"USD"),l.registerCurrency(new yt,"RUR"),l.registerCurrency(new q,"UAH");var k=class{static toWordsZh(t){if((t=Math.floor(t))<=0)return"你输入的数字格式不正确或不是数字!";var t=t.toString();let e=this.numberString(t);return e=e.stimulsoft().replaceAll("零零","零"),e}static toCurrencyWordsZh(t){if(t<=0)return"你输入的数字格式不正确或不是数字!";let e,r=(t=Ne.round2(t,2)).toString();var t=r.split(".");return e=(1==t.length?e=this.numberString(t[0])+"元整":(e=this.numberString(t[0])+"元",e+=this.floatString(t[1])),e.stimulsoft().replaceAll("零零","零")),e}static floatString(t){let e;2<t.length&&(t=t.substr(0,2));let r=this.convertString(t);var i;return 0!=r.indexOf("零")?(r=r.stimulsoft().replaceAll("零",""),1==r.length?e=r.substr(0,1)+"角整":(e=r.substr(0,1)+"角",e+=r.substr(1,1)+"分")):e=r+"分",e}static numberString(t){let e="";return t.length<=4?e=this.convert4(t):4<t.length&&t.length<=8?(e=this.convert4(t.substr(0,t.length-4))+"万",e+=this.convert4(t.substr(t.length-4,4))):8<t.length&&t.length<=12&&(e=this.convert4(t.substr(0,t.length-8))+"亿",""==this.convert4(t.substr(t.length-8,4))?""!=this.convert4(t.substr(t.length-4,4))?e+="零":e+="":e+=this.convert4(t.substr(t.length-8,4))+"万",e+=this.convert4(t.substr(t.length-4,4))),e}static convert4(t){let e;if(1==t.length)e=this.convertString(t);else if(2==t.length)e=this.convertString(t),e=this.convert2(e);else if(3==t.length)e=this.convertString(t),e=this.convert3(e);else{e=this.convertString(t);var t=e.substr(0,4);if("零零零零"!=t)if("零零零"!=(t=e.substr(0,3)))if(e=e.stimulsoft().replaceAll("零零零",""),1==e.length)e=e.substr(0,1)+"仟";else{let t;t="零"!=e.substr(0,1)&&"零"!=e.substr(0,2)?e.substr(0,1)+"仟":e.substr(0,1),e=t+this.convert3(e.substr(1,3))}else e=e.stimulsoft().replaceAll("零零零","零");else e=e.stimulsoft().replaceAll("零零零零","")}return e}static convertString(e){let r="";for(let t=0;t<e.length;t++)r+=this.numChineseCharacter[e.substr(t,1).stimulsoft().toNumber()];return r}static convert2(e){let r;var t;if("零"!=e.substr(0,1)){let t=e.stimulsoft().replaceAll("零","");1==t.length?r=t.substr(0,1)+"拾":(r=t.substr(0,1)+"拾",r+=t.substr(1,1))}else r=e;return r}static convert3(t){let e;var r;if("零零"!=t.substr(0,2))if(e=t.stimulsoft().replaceAll("零零",""),1==e.length)e=e.substr(0,1)+"佰";else{let t;t="零"!=e.substr(0,1)?e.substr(0,1)+"佰":e.substr(0,1),e=t+this.convert2(e.substr(1,2))}else e=t.stimulsoft().replaceAll("零零","零");return e}};k.numChineseCharacter=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],Ae.av.Zh=k,Ae.c.IStiGlobalizationManagerList=new Ae.b.Interface("IStiGlobalizationManagerList"),Ae.c.IStiGlobalizationProvider=new Ae.b.Interface("IStiGlobalizationProvider");let Ew=Ae.am.StiVariable;Ae.c.StiGlobalizationContainer=class{constructor(t="en"){this.cultureName="",this._items=new Ae.c.StiGlobalizationItemCollection,this.cultureName=t}saveToJsonObject(r){let i=new te;if(i.addPropertyStringNullOrEmpty("CultureName",this.cultureName),0<this.items.count){let t=new te,e=0;for(var n of this.items.list)t.addPropertyJObject(e.toString(),n.saveToJsonObject(r)),e++;i.addPropertyJObject("Items",t)}return i}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"CultureName":this.cultureName=e.value.toString();break;case"Items":for(var r of e.value.properties()){let t=new Ae.c.StiGlobalizationItem;t.loadFromJsonObject(r.value),this.items.add(t)}break}}loadFromXmlObject(e){for(let t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"CultureName":this.cultureName=r.textContent;break;case"Items":for(var i of r.childNodes){let t=new Ae.c.StiGlobalizationItem;t.loadFromXmlObject(i),this.items.add(t)}break}}}get items(){return this._items}set items(t){this.items=t}getAllStringsForReport(t){var e,e,r,r,r,i,n,a,s,o;let l=new Dt;for(n of t.getComponents().list){let t=n.stimulsoft().as(Ae.c.IStiGlobalizationProvider);if(null!=t)for(s of t.getAllStrings()){var u=De.format("{0}.{1}",n.name,s),h=t.getString(s);null!=h&&l.set(u,h)}}for(o of t.dictionary.variables.list){var c=`Variable.${o.name}`;l.set(c,o.value),o.requestFromUser&&Hd.Engine.Globalization.allowUseVariableAlias&&(l.set(`${c}.Alias`,null!==(e=o.alias)&&void 0!==e?e:""),null!=(null===(e=o.dialogInfo)||void 0===e?void 0:e.keys)&&0<(null===(r=o.dialogInfo)||void 0===r?void 0:r.keys.length)&&l.set(`${c}.Items.Keys`,De.join(Hn.newLine,o.dialogInfo.keys)),null!=(null===(r=o.dialogInfo)||void 0===r?void 0:r.values)&&0<(null===(r=o.dialogInfo)||void 0===r?void 0:r.values.length)&&l.set(`${c}.Items.Values`,De.join(Hn.newLine,o.dialogInfo.values)))}return l.set("ReportAuthor",t.reportAuthor),l.set("ReportDescription",t.reportDescription),l.set("ReportAlias",t.reportAlias),l}localizeReport(r){var t,e,e,e,i,n,a;let s=new Dt;for(n of r.dictionary.variables.list){var o=`Variable.${n.name}`;s.set(o,n),n.requestFromUser&&Hd.Engine.Globalization.allowUseVariableAlias&&(s.set(`${o}.Alias`,n),null!=(null===(t=n.dialogInfo)||void 0===t?void 0:t.keys)&&0<(null===(e=n.dialogInfo)||void 0===e?void 0:e.keys.length)&&s.set(`${o}.Items.Keys`,n),null!=(null===(e=n.dialogInfo)||void 0===e?void 0:e.values)&&0<(null===(e=n.dialogInfo)||void 0===e?void 0:e.values.length)&&s.set(`${o}.Items.Values`,n))}for(a of this.items.list){let e=a.propertyName;if("ReportAuthor"==e)r.reportAuthor=a.text;else if("ReportDescription"==e)r.reportDescription=a.text;else if("ReportAlias"==e)r.reportAlias=a.text;else if(null!=s.get(e)&&s.get(e).stimulsoft().is(Ew)){let t=s.get(e);e.stimulsoft().endsWith(".Alias")?t.alias=a.text:e.stimulsoft().endsWith(".Items.Keys")?t.dialogInfo.keys=a.text.split(Hn.newLine):e.stimulsoft().endsWith(".Items.Values")?t.dialogInfo.values=a.text.split(Hn.newLine):t.value=a.text}else{var l=e.indexOf(".");if(-1!=l){var i=e.substr(0,l),l=e.substr(l+1);let t=null===(i=r.getComponents().getByName(i))||void 0===i?void 0:i.stimulsoft().as(Ae.c.IStiGlobalizationProvider);null!=t&&t.setString(l,a.text)}}}}fillItemsFromReport(t){let e=this.getAllStringsForReport(t),r=new Dt;for(var i of this.items.list)r.set(i.propertyName,i);for(var n of e.keys){if(null!=r.get(n))continue;this.items.add(new Ae.c.StiGlobalizationItem(n,e.get(n)))}}removeUnlocalizedItemsFromReport(t){let e=this.getAllStringsForReport(t),r=new Dt;for(var i of this.items.list)r.set(i.propertyName,i);for(var n of e.keys){var a=e.get(n),n=r.get(n);a==n.text&&this.items.remove(n)}}},Ae.c.StiGlobalizationContainerCollection=class extends J{constructor(t){super(),this.report=null,this.skipException=!1,this.report=t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new Ae.c.StiGlobalizationContainer;t.loadFromJsonObject(e.value),this.list.push(t)}}loadFromXmlObject(r){for(let e=0;e<r.childNodes.length;e++){var i=r.childNodes[e];let t=new Ae.c.StiGlobalizationContainer;t.loadFromXmlObject(i),this.list.push(t)}}getByName(t){t=t.toLowerCase();for(var e of this.list)if(e.cultureName.toLowerCase()==t)return e;return null}setByName(r,i){r=r.toLowerCase();for(let e=0;e<this.list.length;e++){let t=this.getByIndex(e);if(t.cultureName.toLowerCase()==r)return void(this.list[e]=i)}this.add(i)}getShortName(t){var e=t.indexOf("-");return-1<e?t.substr(0,e):t}localizeReport(t){let e=this.getByName(t);if(null==e&&(e=this.getByName(this.getShortName(t))),null==e&&!this.skipException)throw De.format("Can't find globalized strings for culture {0}",t);null!=e&&e.localizeReport(this.report)}localizeReport2(t){this.localizeReport(t.name)}fillItemsFromReport(){for(var t of this.list)t.fillItemsFromReport(this.report)}removeUnlocalizedItemsFromReport(){for(var t of this.list)t.removeUnlocalizedItemsFromReport(this.report)}removeComponent(t){let e=t.stimulsoft().as(Ae.c.IStiGlobalizationProvider);var r,i;if(null!=e)for(i of e.getAllStrings()){var n=De.format("{0}.{1}",t.name,i),a,s;for(a of this.list){let t=0;while(t<a.items.length){a.items.getByIndex(t).propertyName==n?a.items.removeAt(t):t++}}}}renameComponent(t,e,r){let i=t.stimulsoft().as(Ae.c.IStiGlobalizationProvider);var n,a;if(null!=i)for(a of i.getAllStrings()){var s=De.format("{0}.{1}",e,a),o=De.format("{0}.{1}",r,a),l;for(l of this.list)for(var u of l.items.list)u.propertyName==s&&(u.propertyName=o)}}},Ae.c.StiGlobalizationItem=class{constructor(t="",e=""){this.propertyName="",this.text="",this.propertyName=t,this.text=e}saveToJsonObject(t){let e=new te;return e.addPropertyStringNullOrEmpty("PropertyName",this.propertyName),e.addPropertyStringNullOrEmpty("Text",this.text),e}loadFromJsonObject(t){for(var e of t.properties())switch(e.name){case"PropertyName":this.propertyName=e.value.toString();break;case"Text":this.text=e.value.toString();break}}loadFromXmlObject(t){var t=t.textContent.split(",");this.propertyName=Ae.bl.XMLConvert.decodeName(t[0]),this.text=Ae.bl.XMLConvert.decodeName(t[1])}toString(){return this.propertyName}},Ae.c.StiGlobalizationItemCollection=class extends J{compare(t,e){return t.propertyName.stimulsoft().compareTo(e.propertyName)}sort(){this.list.stimulsoft().sort2(this)}},Ae.al.FontVHelper=class{static isFont(t){return t==Zd.FontOtf||t==Zd.FontTtc||t==Zd.FontTtf}},Ae.c.StiAbbreviationNumberFormatHelper=class{static format(t){var e={ref:""};let r=this.format2(t,e);var e=e.ref;return 0==r?"0":""==e?Ne.round2(t,2).toString():`${r.toString().replace(",",".").replace(".",Ae.bh.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)}${e}`}static format2(t,e){return this.format3(t,e,0,null)}static format3(e,t,r,i){let n=t.ref;if(0==e)return 0;let a=!1;e<0&&(a=!0,e=Math.abs(e));let s=0,o=e;while(1e3<=o)++s,o/=1e3;let l;if(s<0||21<s)l=e;else{var u,h="ru-RU"!=xt.currentCulture.name;switch(s){case 1:n=h?"K":" тыс.";break;case 2:n=h?"M":" млн";break;case 3:n=h?"B":" млрд";break;case 4:n=h?"T":" трлн";break;case 5:n=h?"q":" квдрлн";break;case 6:n=h?"Q":" квнтлн";break;case 7:n=h?"s":" скстлн";break;case 8:n=h?"S":" сптлн";break;case 9:n=h?"O":" ктлн";break}if(l=e/Math.pow(1e3,s),0<(r=0==r&&null!=i&&null!=i?0==s?i:4*s-i:r)){l=Ne.trunc(l);var r=Ne.round2(e/Math.pow(1e3,s),r);let t=r-Ne.trunc(r);0==t&&r-l==1&&(t=1),l+=t}else l=Math.round(l)}return a&&(l=-l),t.ref=n,l}};{let s=class{static processExpressions(t,e=!1){if(null==t)return;let r=t.as(hs);if(null==(null===r||void 0===r?void 0:r.expressions))return;for(var i of r.expressions.toList().where(t=>!t.isEmpty))try{if(!(i.name in t))continue;let r=function(t){var e=t.enumTypes||{};if(t==Ae.c.StiBase)return e;var t=r(t.__proto__)||{};return Object.assign({},t,e)};var n,a=r(Wr.getType(t))[i.name];a?t[i.name]=Zt.parse(a,s.parseExpression(t,tS.getExpression(t,i.name),e)):("boolean"==typeof t[i.name]&&(t[i.name]=s.parseBoolExpression(t,i.name,e)),"string"==typeof t[i.name]&&(t[i.name]=s.parseStringExpression(t,i.name,e)),t[i.name]instanceof Fe&&(t[i.name]=s.parseColorExpression(t,i.name,e)),t[i.name].stimulsoft().is(hi)&&(t[i.name]=s.parseBrushExpression(t,i.name,e)))}catch(t){}}static parseBoolExpression(t,e,r=!1){var r=s.parseExpression(t,tS.getExpression(t,e),r);return zi.tryToBool(r)}static parseStringExpression(t,e,r=!1){var r=s.parseExpression(t,tS.getExpression(t,e),r);return null!=r?r:""}static parseColorExpression(t,e,r=!1){let i=s.parseExpression(t,tS.getExpression(t,e),r);if(null!==i&&void 0!==i&&i.stimulsoft().is(Fe))return i;return De.isNullOrWhiteSpace(i)?Fe.transparent:qr.get(i)}static parseBrushExpression(t,e,r=!1){let i=s.parseExpression(t,tS.getExpression(t,e),r);if(null!==i&&void 0!==i&&i.stimulsoft().is(Fe))return new si(i);if(null!==i&&void 0!==i&&i.stimulsoft().is(hi))return i;return new si(De.isNullOrWhiteSpace(i)?Fe.transparent:qr.get(i))}static parseExpression(t,e,r=!1){if(De.isNullOrWhiteSpace(null==e?void 0:e.expression))return null;return _f.parseObject(e.expression,t,!1,null,r,!0)}};Ae.al.StiAppExpressionParser=s}var yt=class{},l;yt.dataExts=new Ee(["xlsx","xls","csv","dbf","json","xml","xsd"]),yt.imageExts=new Ee(["gif","png","jpeg","jpg","bmp","tiff","ico","emf","wmf","svg"]),yt.reportExts=new Ee(["mrt","mrz","mdc","mdz"]),yt.textExts=new Ee(["rtf","txt"]),yt.documentExts=new Ee(["pdf","doc","docx"]),yt.fontExts=new Ee(["ttf","otf","ttc","eot","woff"]),Ae.al.StiFileDialogHelper=yt;{let r=class extends Ae.af.StiGeom{constructor(t,e,r,i){super(),this.type=Ae.af.StiGeomType.Font,this.fontName=t,this.fontSize=e,this.fontStyle=r,this.unit=i}static changeFontSize(t,e){return e<1&&(e=1),new r(t.fontFamily.name,e,t.style,t.unit)}static create(t){return new r(t.fontFamily.name,t.size,t.style,t.unit)}};Ae.af.StiFontGeom=r}let kw=Ae.af.StiFontGeom,Nw=Ae.al.StiFontIconGroup,Fw=Ae.al.StiFontIconSet;{let l=class{static convertFontIconToImage(t,e,r,i,n=null){let a=new ie,s=new Fg(Ot.UTF8);l.writeFontIconImage(s,e,t,r,i,n),Yy.writeStimulsoftIconFont();var n="",o,n="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+Ae.aG.StimulsoftFont.getBase64Content()+") format('truetype');font-weight: normal;font-style: normal;}</style>",n=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',r,i,s.textWriter.getStringBuilder().toString(),n);return a.bytes=Ot.UTF8.getBytes(n),a}static writeFontIconImage(t,e,r,i,n,a=null){var s=this.getContent(r),r=Rr.measureString(s,new Ar("Stimulsoft",1e3)),i=i/r.width,r=n/r.height,r=Math.min(i,r);let o=new Ar("Stimulsoft",Math.ceil(1100*r));t.writeStartElement("g"),t.writeStartElement("text");let l=new Mt;t.writeAttributeString("dy",null!=a?a:"1em"),t.writeAttributeString("x","45%"),t.writeAttributeString("text-anchor","middle"),l.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b)),255!=e.a&&l.append(De.format("fill-opacity:{0};",Ne.round2(e.a/255,3).toString().stimulsoft().replaceAll(",","."))),t.writeAttributeString("style",l.toString()),t.writeAttributeString("font-size",o.size.toString().stimulsoft().replaceAll(",",".")),t.writeAttributeString("font-family",o.fontFamily.name),t.writeString(s),t.writeEndElement(),t.writeEndElement()}static convertFontIconToImageAsync(l,u,h,c,d=null){return Y.tsfb(this,void 0,void 0,function*(){let t=new ie;var e=this.getContent(l),r=Rr.measureString(e,new Ar("Stimulsoft",1e3)),i=h/r.width,r=c/r.height,r=Math.min(i,r);let n=new Ar("Stimulsoft",Math.ceil(1100*r)),a=new Fg(Ot.UTF8);a.writeStartElement("g"),a.writeStartElement("text");let s=new Mt;a.writeAttributeString("dy",null!=d?d:"1em"),a.writeAttributeString("x","45%"),a.writeAttributeString("text-anchor","middle"),s.append(De.format("fill:#{0:X2}{1:X2}{2:X2};",u.r,u.g,u.b)),255!=u.a&&s.append(De.format("fill-opacity:{0};",Ne.round2(u.a/255,3).toString().stimulsoft().replaceAll(",","."))),a.writeAttributeString("style",s.toString()),a.writeAttributeString("font-size",n.size.toString().stimulsoft().replaceAll(",",".")),a.writeAttributeString("font-family",n.fontFamily.name),a.writeString(e),a.writeEndElement(),a.writeEndElement(),Yy.writeStimulsoftIconFont();var e="",o,e="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+Ae.aG.StimulsoftFont.getBase64Content()+") format('truetype');font-weight: normal;font-style: normal;}</style>",e=De.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',h,c,a.textWriter.getStringBuilder().toString(),e);return t.bytes=Ot.UTF8.getBytes(e),yield t.convertAsync(kt.Png),t})}static getContent(t){var t=this.getNetContent(t),t=parseInt(t,16);return String.fromCharCode(t)}static getNetContent(t){switch(t){case Dr.ArrowDown:return"e900";case Dr.ArrowRight:return"e901";case Dr.ArrowRightDown:return"e902";case Dr.ArrowRightUp:return"e903";case Dr.ArrowUp:return"e904";case Dr.Check:return"e905";case Dr.Circle:return"e906";case Dr.CircleCheck:return"e907";case Dr.CircleCross:return"e908";case Dr.CircleExclamation:return"e909";case Dr.Cross:return"e90a";case Dr.Exclamation:return"e90b";case Dr.Flag:return"e90c";case Dr.Latin1:return"e90d";case Dr.Latin2:return"e90e";case Dr.Latin3:return"e90f";case Dr.Latin4:return"e910";case Dr.Latin5:return"e92b";case Dr.Minus:return"e911";case Dr.QuarterFull:return"e912";case Dr.QuarterHalf:return"e913";case Dr.QuarterNone:return"e914";case Dr.QuarterQuarter:return"e915";case Dr.QuarterThreeFourth:return"e916";case Dr.Rating0:return"e917";case Dr.Rating1:return"e918";case Dr.Rating2:return"e919";case Dr.Rating3:return"e91a";case Dr.Rating4:return"e91b";case Dr.Rhomb:return"e91c";case Dr.Square0:return"e91d";case Dr.Square1:return"e91e";case Dr.Square2:return"e91f";case Dr.Square3:return"e920";case Dr.Square4:return"e921";case Dr.StarFull:return"e922";case Dr.StarHalf:return"e923";case Dr.StarNone:return"e924";case Dr.StarQuarter:return"e925";case Dr.StarThreeFourth:return"e926";case Dr.Triangle:return"e927";case Dr.TriangleDown:return"e928";case Dr.TriangleUp:return"e929";case Dr.Home:return"e92a";case Dr.Cart:return"e93a";case Dr.Phone:return"e942";case Dr.UserTie:return"e976";case Dr.Mobile:return"e958";case Dr.Mug:return"e9a2";case Dr.Airplane:return"e9af";case Dr.Truck:return"e9b0";case Dr.Earth:return"e9ca";case Dr.Man:return"e9dc";case Dr.Woman:return"e9dd";case Dr.ManWoman:return"e9de";case Dr.Appleinc:return"eabe";case Dr.Windows8:return"eac2";case Dr.Glass:return"f000";case Dr.Music:return"f001";case Dr.Search:return"f002";case Dr.EnvelopeO:return"f003";case Dr.Heart:return"f004";case Dr.Star:return"f005";case Dr.StarO:return"f006";case Dr.User:return"f007";case Dr.Film:return"f008";case Dr.ThLarge:return"f009";case Dr.Th:return"f00a";case Dr.ThList:return"f00b";case Dr.Times:return"f00d";case Dr.SearchPlus:return"f00e";case Dr.SearchMinus:return"f010";case Dr.PowerOff:return"f011";case Dr.Signal:return"f012";case Dr.Cog:return"f013";case Dr.TrashO:return"f014";case Dr.FileO:return"f016";case Dr.ClockO:return"f017";case Dr.Road:return"f018";case Dr.Download:return"f019";case Dr.ArrowCircleODown:return"f01a";case Dr.ArrowCircleOUp:return"f01b";case Dr.Inbox:return"f01c";case Dr.PlayCircleO:return"f01d";case Dr.Repeat:return"f01e";case Dr.Refresh:return"f021";case Dr.ListAlt:return"f022";case Dr.Lock:return"f023";case Dr.FAFlag:return"f024";case Dr.Headphones:return"f025";case Dr.VolumeOff:return"f026";case Dr.VolumeDown:return"f027";case Dr.VolumeUp:return"f028";case Dr.Qrcode:return"f029";case Dr.Barcode:return"f02a";case Dr.Tag:return"f02b";case Dr.Tags:return"f02c";case Dr.Book:return"f02d";case Dr.Bookmark:return"f02e";case Dr.Print:return"f02f";case Dr.Camera:return"f030";case Dr.Font:return"f031";case Dr.Bold:return"f032";case Dr.Italic:return"f033";case Dr.TextHeight:return"f034";case Dr.TextWidth:return"f035";case Dr.AlignLeft:return"f036";case Dr.AlignCenter:return"f037";case Dr.AlignRight:return"f038";case Dr.AlignJustify:return"f039";case Dr.List:return"f03a";case Dr.Outdent:return"f03b";case Dr.Indent:return"f03c";case Dr.VideoCamera:return"f03d";case Dr.PictureO:return"f03e";case Dr.Pencil:return"f040";case Dr.MapMarker:return"f041";case Dr.Adjust:return"f042";case Dr.Tint:return"f043";case Dr.PencilSquareO:return"f044";case Dr.ShareSquareO:return"f045";case Dr.CheckSquareO:return"f046";case Dr.Arrows:return"f047";case Dr.StepBackward:return"f048";case Dr.FastBackward:return"f049";case Dr.Backward:return"f04a";case Dr.Play:return"f04b";case Dr.Pause:return"f04c";case Dr.Stop:return"f04d";case Dr.Forward:return"f04e";case Dr.FastForward:return"f050";case Dr.StepForward:return"f051";case Dr.Eject:return"f052";case Dr.ChevronLeft:return"f053";case Dr.ChevronRight:return"f054";case Dr.PlusCircle:return"f055";case Dr.MinusCircle:return"f056";case Dr.TimesCircle:return"f057";case Dr.CheckCircle:return"f058";case Dr.QuestionCircle:return"f059";case Dr.InfoCircle:return"f05a";case Dr.Crosshairs:return"f05b";case Dr.TimesCircleO:return"f05c";case Dr.CheckCircleO:return"f05d";case Dr.Ban:return"f05e";case Dr.FAArrowLeft:return"f060";case Dr.FAArrowRight:return"f061";case Dr.FAArrowUp:return"f062";case Dr.FAArrowDown:return"f063";case Dr.Share:return"f064";case Dr.Expand:return"f065";case Dr.Compress:return"f066";case Dr.FAPlus:return"f067";case Dr.FAMinus:return"f068";case Dr.Asterisk:return"f069";case Dr.ExclamationCircle:return"f06a";case Dr.Gift:return"f06b";case Dr.Leaf:return"f06c";case Dr.Fire:return"f06d";case Dr.Eye:return"f06e";case Dr.EyeSlash:return"f070";case Dr.ExclamationTriangle:return"f071";case Dr.Plane:return"f072";case Dr.Calendar:return"f073";case Dr.Random:return"f074";case Dr.Comment:return"f075";case Dr.Magnet:return"f076";case Dr.ChevronUp:return"f077";case Dr.ChevronDown:return"f078";case Dr.Retweet:return"f079";case Dr.ShoppingCart:return"f07a";case Dr.Folder:return"f07b";case Dr.FolderOpen:return"f07c";case Dr.ArrowsV:return"f07d";case Dr.ArrowsH:return"f07e";case Dr.BarChart:return"f080";case Dr.TwitterSquare:return"f081";case Dr.FacebookSquare:return"f082";case Dr.CameraRetro:return"f083";case Dr.Key:return"f084";case Dr.Cogs:return"f085";case Dr.Comments:return"f086";case Dr.ThumbsOUp:return"f087";case Dr.ThumbsODown:return"f088";case Dr.HeartO:return"f08a";case Dr.SignOut:return"f08b";case Dr.LinkedinSquare:return"f08c";case Dr.ThumbTack:return"f08d";case Dr.ExternalLink:return"f08e";case Dr.SignIn:return"f090";case Dr.Trophy:return"f091";case Dr.GithubSquare:return"f092";case Dr.Upload:return"f093";case Dr.LemonO:return"f094";case Dr.SquareO:return"f096";case Dr.BookmarkO:return"f097";case Dr.PhoneSquare:return"f098";case Dr.Twitter:return"f099";case Dr.Facebook:return"f09a";case Dr.Github:return"f09b";case Dr.Unlock:return"f09c";case Dr.CreditCard:return"f09d";case Dr.Rss:return"f09e";case Dr.HddO:return"f0a0";case Dr.Bullhorn:return"f0a1";case Dr.Bell:return"f0f3";case Dr.Certificate:return"f0a3";case Dr.HandORight:return"f0a4";case Dr.HandOLeft:return"f0a5";case Dr.HandOUp:return"f0a6";case Dr.HandODown:return"f0a7";case Dr.ArrowCircleLeft:return"f0a8";case Dr.ArrowCircleRight:return"f0a9";case Dr.ArrowCircleUp:return"f0aa";case Dr.ArrowCircleDown:return"f0ab";case Dr.Globe:return"f0ac";case Dr.Wrench:return"f0ad";case Dr.Tasks:return"f0ae";case Dr.Filter:return"f0b0";case Dr.Briefcase:return"f0b1";case Dr.ArrowsAlt:return"f0b2";case Dr.Users:return"f0c0";case Dr.Link:return"f0c1";case Dr.Cloud:return"f0c2";case Dr.Flask:return"f0c3";case Dr.Scissors:return"f0c4";case Dr.FilesO:return"f0c5";case Dr.Paperclip:return"f0c6";case Dr.FloppyO:return"f0c7";case Dr.Square:return"f0c8";case Dr.Bars:return"f0c9";case Dr.ListUl:return"f0ca";case Dr.ListOl:return"f0cb";case Dr.Strikethrough:return"f0cc";case Dr.Underline:return"f0cd";case Dr.Table:return"f0ce";case Dr.Magic:return"f0d0";case Dr.Pinterest:return"f0d2";case Dr.PinterestSquare:return"f0d3";case Dr.GooglePlusSquare:return"f0d4";case Dr.GooglePlus:return"f0d5";case Dr.Money:return"f0d6";case Dr.CaretDown:return"f0d7";case Dr.CaretUp:return"f0d8";case Dr.CaretLeft:return"f0d9";case Dr.CaretRight:return"f0da";case Dr.Columns:return"f0db";case Dr.Sort:return"f0dc";case Dr.SortDesc:return"f0dd";case Dr.SortAsc:return"f0de";case Dr.Envelope:return"f0e0";case Dr.Linkedin:return"f0e1";case Dr.Undo:return"f0e2";case Dr.Gavel:return"f0e3";case Dr.Tachometer:return"f0e4";case Dr.CommentO:return"f0e5";case Dr.CommentsO:return"f0e6";case Dr.Bolt:return"f0e7";case Dr.Sitemap:return"f0e8";case Dr.Umbrella:return"f0e9";case Dr.Clipboard:return"f0ea";case Dr.LightbulbO:return"f0eb";case Dr.Exchange:return"f0ec";case Dr.CloudDownload:return"f0ed";case Dr.CloudUpload:return"f0ee";case Dr.UserMd:return"f0f0";case Dr.Stethoscope:return"f0f1";case Dr.Suitcase:return"f0f2";case Dr.BellO:return"f0a2";case Dr.Coffee:return"f0f4";case Dr.Cutlery:return"f0f5";case Dr.FileTextO:return"f0f6";case Dr.BuildingO:return"f0f7";case Dr.HospitalO:return"f0f8";case Dr.Ambulance:return"f0f9";case Dr.Medkit:return"f0fa";case Dr.FighterJet:return"f0fb";case Dr.Beer:return"f0fc";case Dr.HSquare:return"f0fd";case Dr.PlusSquare:return"f0fe";case Dr.AngleDoubleLeft:return"f100";case Dr.AngleDoubleRight:return"f101";case Dr.AngleDoubleUp:return"f102";case Dr.AngleDoubleDown:return"f103";case Dr.AngleLeft:return"f104";case Dr.AngleRight:return"f105";case Dr.AngleUp:return"f106";case Dr.AngleDown:return"f107";case Dr.Desktop:return"f108";case Dr.Laptop:return"f109";case Dr.Tablet:return"f10a";case Dr.CircleO:return"f10c";case Dr.QuoteLeft:return"f10d";case Dr.QuoteRight:return"f10e";case Dr.Spinner:return"f110";case Dr.Reply:return"f112";case Dr.GithubAlt:return"f113";case Dr.FolderO:return"f114";case Dr.FolderOpenO:return"f115";case Dr.SmileO:return"f118";case Dr.FrownO:return"f119";case Dr.MehO:return"f11a";case Dr.Gamepad:return"f11b";case Dr.KeyboardO:return"f11c";case Dr.FlagO:return"f11d";case Dr.FlagCheckered:return"f11e";case Dr.Terminal:return"f120";case Dr.Code:return"f121";case Dr.ReplyAll:return"f122";case Dr.StarHalfO:return"f123";case Dr.LocationArrow:return"f124";case Dr.Crop:return"f125";case Dr.CodeFork:return"f126";case Dr.ChainBroken:return"f127";case Dr.Question:return"f128";case Dr.Info:return"f129";case Dr.Superscript:return"f12b";case Dr.Subscript:return"f12c";case Dr.Eraser:return"f12d";case Dr.PuzzlePiece:return"f12e";case Dr.Microphone:return"f130";case Dr.MicrophoneSlash:return"f131";case Dr.Shield:return"f132";case Dr.CalendarO:return"f133";case Dr.FireExtinguisher:return"f134";case Dr.Rocket:return"f135";case Dr.Maxcdn:return"f136";case Dr.ChevronCircleLeft:return"f137";case Dr.ChevronCircleRight:return"f138";case Dr.ChevronCircleUp:return"f139";case Dr.ChevronCircleDown:return"f13a";case Dr.Html5:return"f13b";case Dr.Css3:return"f13c";case Dr.Anchor:return"f13d";case Dr.UnlockAlt:return"f13e";case Dr.Bullseye:return"f140";case Dr.EllipsisH:return"f141";case Dr.EllipsisV:return"f142";case Dr.RssSquare:return"f143";case Dr.PlayCircle:return"f144";case Dr.Ticket:return"f145";case Dr.MinusSquare:return"f146";case Dr.InusSquareO:return"f147";case Dr.LevelUp:return"f148";case Dr.LevelDown:return"f149";case Dr.CheckSquare:return"f14a";case Dr.PencilSquare:return"f14b";case Dr.ExternalLinkSquare:return"f14c";case Dr.ShareSquare:return"f14d";case Dr.Compass:return"f14e";case Dr.CaretSquareODown:return"f150";case Dr.CaretSquareOUp:return"f151";case Dr.CaretSquareORight:return"f152";case Dr.Eur:return"f153";case Dr.Gbp:return"f154";case Dr.Usd:return"f155";case Dr.Inr:return"f156";case Dr.Jpy:return"f157";case Dr.Rub:return"f158";case Dr.Krw:return"f159";case Dr.Btc:return"f15a";case Dr.File:return"f15b";case Dr.FileText:return"f15c";case Dr.SortAlphaAsc:return"f15d";case Dr.SortAlphaDesc:return"f15e";case Dr.SortAmountAsc:return"f160";case Dr.SortAmountDesc:return"f161";case Dr.SortNumericAsc:return"f162";case Dr.SortNumericDesc:return"f163";case Dr.ThumbsUp:return"f164";case Dr.ThumbsDown:return"f165";case Dr.YoutubeSquare:return"f166";case Dr.Youtube:return"f167";case Dr.Xing:return"f168";case Dr.XingSquare:return"f169";case Dr.YoutubePlay:return"f16a";case Dr.Dropbox:return"f16b";case Dr.StackOverflow:return"f16c";case Dr.Instagram:return"f16d";case Dr.Flickr:return"f16e";case Dr.Adn:return"f170";case Dr.Bitbucket:return"f171";case Dr.BitbucketSquare:return"f172";case Dr.Tumblr:return"f173";case Dr.TumblrSquare:return"f174";case Dr.LongArrowDown:return"f175";case Dr.LongArrowUp:return"f176";case Dr.LongArrowLeft:return"f177";case Dr.LongArrowRight:return"f178";case Dr.Apple:return"f179";case Dr.Windows:return"f17a";case Dr.Android:return"f17b";case Dr.Linux:return"f17c";case Dr.Dribbble:return"f17d";case Dr.Skype:return"f17e";case Dr.Foursquare:return"f180";case Dr.Trello:return"f181";case Dr.Female:return"f182";case Dr.Male:return"f183";case Dr.Gratipay:return"f184";case Dr.SunO:return"f185";case Dr.MoonO:return"f186";case Dr.Archive:return"f187";case Dr.Bug:return"f188";case Dr.Vk:return"f189";case Dr.Weibo:return"f18a";case Dr.Renren:return"f18b";case Dr.Pagelines:return"f18c";case Dr.StackExchange:return"f18d";case Dr.ArrowCircleORight:return"f18e";case Dr.ArrowCircleOLeft:return"f190";case Dr.CaretSquareOLeft:return"f191";case Dr.DotCircleO:return"f192";case Dr.Wheelchair:return"f193";case Dr.VimeoSquare:return"f194";case Dr.Try:return"f195";case Dr.PlusSquareO:return"f196";case Dr.SpaceShuttle:return"f197";case Dr.Slack:return"f198";case Dr.EnvelopeSquare:return"f199";case Dr.Wordpress:return"f19a";case Dr.Openid:return"f19b";case Dr.University:return"f19c";case Dr.GraduationCap:return"f19d";case Dr.Yahoo:return"f19e";case Dr.Google:return"f1a0";case Dr.Reddit:return"f1a1";case Dr.RedditSquare:return"f1a2";case Dr.StumbleuponCircle:return"f1a3";case Dr.Stumbleupon:return"f1a4";case Dr.Delicious:return"f1a5";case Dr.Digg:return"f1a6";case Dr.PiedPiper:return"f1a7";case Dr.PiedPiperAlt:return"f1a8";case Dr.Drupal:return"f1a9";case Dr.Joomla:return"f1aa";case Dr.Language:return"f1ab";case Dr.Fax:return"f1ac";case Dr.Building:return"f1ad";case Dr.Child:return"f1ae";case Dr.Paw:return"f1b0";case Dr.Spoon:return"f1b1";case Dr.Cube:return"f1b2";case Dr.Cubes:return"f1b3";case Dr.Behance:return"f1b4";case Dr.BehanceSquare:return"f1b5";case Dr.Steam:return"f1b6";case Dr.SteamSquare:return"f1b7";case Dr.Recycle:return"f1b8";case Dr.Car:return"f1b9";case Dr.Taxi:return"f1ba";case Dr.Tree:return"f1bb";case Dr.Spotify:return"f1bc";case Dr.Deviantart:return"f1bd";case Dr.Soundcloud:return"f1be";case Dr.Database:return"f1c0";case Dr.FilePdfO:return"f1c1";case Dr.FileWordO:return"f1c2";case Dr.FileExcelO:return"f1c3";case Dr.FilePowerpointO:return"f1c4";case Dr.FileImageO:return"f1c5";case Dr.FileArchiveO:return"f1c6";case Dr.FileAudioO:return"f1c7";case Dr.FileVideoO:return"f1c8";case Dr.FileCodeO:return"f1c9";case Dr.Vine:return"f1ca";case Dr.Codepen:return"f1cb";case Dr.Jsfiddle:return"f1cc";case Dr.LifeRing:return"f1cd";case Dr.CircleONotch:return"f1ce";case Dr.Rebel:return"f1d0";case Dr.Empire:return"f1d1";case Dr.GitSquare:return"f1d2";case Dr.Git:return"f1d3";case Dr.HackerNews:return"f1d4";case Dr.TencentWeibo:return"f1d5";case Dr.Qq:return"f1d6";case Dr.Weixin:return"f1d7";case Dr.PaperPlane:return"f1d8";case Dr.PaperPlaneO:return"f1d9";case Dr.History:return"f1da";case Dr.CircleThin:return"f1db";case Dr.Header:return"f1dc";case Dr.Paragraph:return"f1dd";case Dr.Sliders:return"f1de";case Dr.ShareAlt:return"f1e0";case Dr.ShareAltSquare:return"f1e1";case Dr.Bomb:return"f1e2";case Dr.FutbolO:return"f1e3";case Dr.Tty:return"f1e4";case Dr.Binoculars:return"f1e5";case Dr.Plug:return"f1e6";case Dr.Slideshare:return"f1e7";case Dr.Twitch:return"f1e8";case Dr.Yelp:return"f1e9";case Dr.NewspaperO:return"f1ea";case Dr.Wifi:return"f1eb";case Dr.Calculator:return"f1ec";case Dr.Paypal:return"f1ed";case Dr.GoogleWallet:return"f1ee";case Dr.CcVisa:return"f1f0";case Dr.CcMastercard:return"f1f1";case Dr.CcDiscover:return"f1f2";case Dr.CcAmex:return"f1f3";case Dr.CcPaypal:return"f1f4";case Dr.CcStripe:return"f1f5";case Dr.BellSlash:return"f1f6";case Dr.BellSlashO:return"f1f7";case Dr.Trash:return"f1f8";case Dr.Copyright:return"f1f9";case Dr.At:return"f1fa";case Dr.Eyedropper:return"f1fb";case Dr.PaintBrush:return"f1fc";case Dr.BirthdayCake:return"f1fd";case Dr.AreaChart:return"f1fe";case Dr.PieChart:return"f200";case Dr.LineChart:return"f201";case Dr.Lastfm:return"f202";case Dr.LastfmSquare:return"f203";case Dr.ToggleOff:return"f204";case Dr.ToggleOn:return"f205";case Dr.Bicycle:return"f206";case Dr.Bus:return"f207";case Dr.Ioxhost:return"f208";case Dr.Angellist:return"f209";case Dr.Cc:return"f20a";case Dr.Ils:return"f20b";case Dr.Meanpath:return"f20c";case Dr.Buysellads:return"f20d";case Dr.Connectdevelop:return"f20e";case Dr.Dashcube:return"f210";case Dr.Forumbee:return"f211";case Dr.Leanpub:return"f212";case Dr.Sellsy:return"f213";case Dr.Shirtsinbulk:return"f214";case Dr.Simplybuilt:return"f215";case Dr.Skyatlas:return"f216";case Dr.CartPlus:return"f217";case Dr.CartArrowDown:return"f218";case Dr.Diamond:return"f219";case Dr.Ship:return"f21a";case Dr.UserSecret:return"f21b";case Dr.Motorcycle:return"f21c";case Dr.StreetView:return"f21d";case Dr.Heartbeat:return"f21e";case Dr.Venus:return"f221";case Dr.Mars:return"f222";case Dr.Mercury:return"f223";case Dr.Transgender:return"f224";case Dr.TransgenderAlt:return"f225";case Dr.VenusDouble:return"f226";case Dr.MarsDouble:return"f227";case Dr.VenusMars:return"f228";case Dr.MarsStroke:return"f229";case Dr.MarsStrokeV:return"f22a";case Dr.MarsStrokeH:return"f22b";case Dr.Neuter:return"f22c";case Dr.Genderless:return"f22d";case Dr.FacebookOfficial:return"f230";case Dr.PinterestP:return"f231";case Dr.Whatsapp:return"f232";case Dr.Server:return"f233";case Dr.UserPlus:return"f234";case Dr.UserTimes:return"f235";case Dr.Bed:return"f236";case Dr.Viacoin:return"f237";case Dr.Train:return"f238";case Dr.Subway:return"f239";case Dr.Medium:return"f23a";case Dr.YCombinator:return"f23b";case Dr.OptinMonster:return"f23c";case Dr.Opencart:return"f23d";case Dr.Expeditedssl:return"f23e";case Dr.BatteryFull:return"f240";case Dr.BatteryThreeQuarters:return"f241";case Dr.BatteryHalf:return"f242";case Dr.BatteryQuarter:return"f243";case Dr.BatteryEmpty:return"f244";case Dr.MousePointer:return"f245";case Dr.ICursor:return"f246";case Dr.ObjectGroup:return"f247";case Dr.ObjectUngroup:return"f248";case Dr.StickyNote:return"f249";case Dr.StickyNoteO:return"f24a";case Dr.CcJcb:return"f24b";case Dr.CcDinersClub:return"f24c";case Dr.Clone:return"f24d";case Dr.BalanceScale:return"f24e";case Dr.HourglassO:return"f250";case Dr.HourglassStart:return"f251";case Dr.HourglassHalf:return"f252";case Dr.HourglassEnd:return"f253";case Dr.Hourglass:return"f254";case Dr.HandRockO:return"f255";case Dr.HandPaperO:return"f256";case Dr.HandScissorsO:return"f257";case Dr.HandLizardO:return"f258";case Dr.HandSpockO:return"f259";case Dr.HandPointerO:return"f25a";case Dr.HandPeaceO:return"f25b";case Dr.Trademark:return"f25c";case Dr.Registered:return"f25d";case Dr.CreativeCommons:return"f25e";case Dr.Gg:return"f260";case Dr.GgCircle:return"f261";case Dr.Tripadvisor:return"f262";case Dr.Odnoklassniki:return"f263";case Dr.OdnoklassnikiSquare:return"f264";case Dr.GetPocket:return"f265";case Dr.WikipediaW:return"f266";case Dr.Safari:return"f267";case Dr.Chrome:return"f268";case Dr.Firefox:return"f269";case Dr.Opera:return"f26a";case Dr.InternetExplorer:return"f26b";case Dr.Television:return"f26c";case Dr.Contao:return"f26d";case Dr.Px500:return"f26e";case Dr.Amazon:return"f270";case Dr.CalendarPlusO:return"f271";case Dr.CalendarMinusO:return"f272";case Dr.CalendarTimesO:return"f273";case Dr.CalendarCheckO:return"f274";case Dr.Industry:return"f275";case Dr.MapPin:return"f276";case Dr.MapSigns:return"f277";case Dr.MapO:return"f278";case Dr.Map:return"f279";case Dr.Commenting:return"f27a";case Dr.CommentingO:return"f27b";case Dr.Houzz:return"f27c";case Dr.Vimeo:return"f27d";case Dr.BlackTie:return"f27e";case Dr.Fonticons:return"f280"}return null}static getIsonSetContent(t){let e=new Mt;for(var r of l.getFontIcons(t))e.append(l.getContent(r)),e.append(" ");return e.toString()}static getFontIcons(t){switch(t){case Fw.Rating:return new Ee([Dr.Rating0,Dr.Rating1,Dr.Rating2,Dr.Rating3,Dr.Rating4]);case Fw.Quarter:return new Ee([Dr.QuarterNone,Dr.QuarterQuarter,Dr.QuarterHalf,Dr.QuarterThreeFourth,Dr.QuarterFull]);case Fw.Square:return new Ee([Dr.Square4,Dr.Square3,Dr.Square2,Dr.Square1,Dr.Square0]);case Fw.Star:return new Ee([Dr.StarNone,Dr.StarQuarter,Dr.StarHalf,Dr.StarThreeFourth,Dr.StarFull]);case Fw.Latin:return new Ee([Dr.Latin1,Dr.Latin2,Dr.Latin3,Dr.Latin4,Dr.Latin5])}return new Ee([Dr.Rating0,Dr.Rating1,Dr.Rating2,Dr.Rating3,Dr.Rating4])}static getFontIcons1(t){switch(t){case Nw.WebApplicationIcons:return new Ee([Dr.Adjust,Dr.Anchor,Dr.Archive,Dr.AreaChart,Dr.Arrows,Dr.ArrowsH,Dr.ArrowsV,Dr.Asterisk,Dr.At,Dr.BalanceScale,Dr.Ban,Dr.BarChart,Dr.Barcode,Dr.Bars,Dr.BatteryEmpty,Dr.BatteryFull,Dr.BatteryHalf,Dr.BatteryQuarter,Dr.BatteryThreeQuarters,Dr.Bed,Dr.Beer,Dr.Bell,Dr.BellO,Dr.BellSlash,Dr.BellSlashO,Dr.Bicycle,Dr.Binoculars,Dr.BirthdayCake,Dr.Bolt,Dr.Bomb,Dr.Book,Dr.Bookmark,Dr.BookmarkO,Dr.Briefcase,Dr.Bug,Dr.Building,Dr.BuildingO,Dr.Bullhorn,Dr.Bullseye,Dr.Bus,Dr.Calculator,Dr.Calendar,Dr.CalendarCheckO,Dr.CalendarMinusO,Dr.CalendarO,Dr.CalendarPlusO,Dr.CalendarTimesO,Dr.Camera,Dr.CameraRetro,Dr.Car,Dr.CaretSquareODown,Dr.CaretSquareOLeft,Dr.CaretSquareORight,Dr.CaretSquareOUp,Dr.Cart,Dr.CartArrowDown,Dr.CartPlus,Dr.Cc,Dr.Certificate,Dr.Check,Dr.CheckCircle,Dr.CheckCircleO,Dr.CheckSquare,Dr.CheckSquareO,Dr.Child,Dr.Circle,Dr.CircleO,Dr.CircleONotch,Dr.CircleThin,Dr.ClockO,Dr.Clone,Dr.Cloud,Dr.CloudDownload,Dr.CloudUpload,Dr.Code,Dr.CodeFork,Dr.Coffee,Dr.Cog,Dr.Cogs,Dr.Comment,Dr.CommentO,Dr.Commenting,Dr.CommentingO,Dr.Comments,Dr.CommentsO,Dr.Compass,Dr.Copyright,Dr.CreativeCommons,Dr.CreditCard,Dr.Crop,Dr.Crosshairs,Dr.Cube,Dr.Cubes,Dr.Cutlery,Dr.Database,Dr.Desktop,Dr.Diamond,Dr.DotCircleO,Dr.Download,Dr.EllipsisH,Dr.EllipsisV,Dr.Envelope,Dr.EnvelopeO,Dr.EnvelopeSquare,Dr.Eraser,Dr.Exchange,Dr.Exclamation,Dr.ExclamationCircle,Dr.ExclamationTriangle,Dr.ExternalLink,Dr.ExternalLinkSquare,Dr.Eye,Dr.EyeSlash,Dr.Eyedropper,Dr.Earth,Dr.Fax,Dr.Female,Dr.FighterJet,Dr.FileArchiveO,Dr.FileAudioO,Dr.FileCodeO,Dr.FileExcelO,Dr.FileImageO,Dr.FilePdfO,Dr.FilePowerpointO,Dr.FileVideoO,Dr.FileWordO,Dr.Film,Dr.Filter,Dr.Fire,Dr.FireExtinguisher,Dr.Flag,Dr.FlagCheckered,Dr.FlagO,Dr.FAFlag,Dr.Flask,Dr.Folder,Dr.FolderO,Dr.FolderOpen,Dr.FolderOpenO,Dr.FrownO,Dr.FutbolO,Dr.Gamepad,Dr.Gavel,Dr.Gift,Dr.Glass,Dr.Globe,Dr.GraduationCap,Dr.HandLizardO,Dr.HandPaperO,Dr.HandPeaceO,Dr.HandPointerO,Dr.HandRockO,Dr.HandScissorsO,Dr.HandSpockO,Dr.HddO,Dr.Headphones,Dr.Heart,Dr.HeartO,Dr.Heartbeat,Dr.History,Dr.Home,Dr.Hourglass,Dr.HourglassEnd,Dr.HourglassHalf,Dr.HourglassO,Dr.HourglassStart,Dr.ICursor,Dr.Inbox,Dr.Industry,Dr.Info,Dr.InfoCircle,Dr.Key,Dr.KeyboardO,Dr.Language,Dr.Laptop,Dr.Leaf,Dr.LemonO,Dr.LevelDown,Dr.LevelUp,Dr.LifeRing,Dr.LightbulbO,Dr.LineChart,Dr.LocationArrow,Dr.Lock,Dr.Magic,Dr.Magnet,Dr.Male,Dr.Map,Dr.MapMarker,Dr.MapO,Dr.MapPin,Dr.MapSigns,Dr.MehO,Dr.Microphone,Dr.MicrophoneSlash,Dr.Minus,Dr.MinusCircle,Dr.MinusSquare,Dr.Mobile,Dr.Money,Dr.MoonO,Dr.Motorcycle,Dr.MousePointer,Dr.Mug,Dr.Music,Dr.NewspaperO,Dr.ObjectGroup,Dr.ObjectUngroup,Dr.PaintBrush,Dr.PaperPlane,Dr.PaperPlaneO,Dr.Paw,Dr.Pencil,Dr.PencilSquare,Dr.PencilSquareO,Dr.Phone,Dr.PhoneSquare,Dr.PictureO,Dr.PieChart,Dr.Plane,Dr.Plug,Dr.PlusCircle,Dr.PlusSquare,Dr.PlusSquareO,Dr.PowerOff,Dr.Print,Dr.PuzzlePiece,Dr.Qrcode,Dr.Question,Dr.QuestionCircle,Dr.QuoteLeft,Dr.QuoteRight,Dr.Random,Dr.Recycle,Dr.Refresh,Dr.Registered,Dr.Reply,Dr.ReplyAll,Dr.Retweet,Dr.Road,Dr.Rocket,Dr.Rss,Dr.RssSquare,Dr.Search,Dr.SearchMinus,Dr.SearchPlus,Dr.Server,Dr.Share,Dr.ShareAlt,Dr.ShareAltSquare,Dr.ShareSquare,Dr.ShareSquareO,Dr.Shield,Dr.Ship,Dr.ShoppingCart,Dr.SignIn,Dr.SignOut,Dr.Signal,Dr.Sitemap,Dr.Sliders,Dr.SmileO,Dr.Sort,Dr.SortAlphaAsc,Dr.SortAlphaDesc,Dr.SortAmountAsc,Dr.SortAmountDesc,Dr.SortAsc,Dr.SortDesc,Dr.SortNumericAsc,Dr.SortNumericDesc,Dr.SpaceShuttle,Dr.Spinner,Dr.Spoon,Dr.Square,Dr.SquareO,Dr.Star,Dr.StarHalf,Dr.StarHalfO,Dr.StarO,Dr.StickyNote,Dr.StickyNoteO,Dr.StreetView,Dr.Suitcase,Dr.SunO,Dr.Tablet,Dr.Tachometer,Dr.Tag,Dr.Tags,Dr.Tasks,Dr.Taxi,Dr.Television,Dr.Terminal,Dr.ThumbTack,Dr.ThumbsDown,Dr.ThumbsODown,Dr.ThumbsOUp,Dr.ThumbsUp,Dr.Ticket,Dr.Times,Dr.TimesCircle,Dr.TimesCircleO,Dr.Tint,Dr.ToggleOff,Dr.ToggleOn,Dr.Trademark,Dr.Trash,Dr.TrashO,Dr.Tree,Dr.Trophy,Dr.Truck,Dr.Tty,Dr.Umbrella,Dr.University,Dr.Unlock,Dr.UnlockAlt,Dr.Upload,Dr.User,Dr.UserPlus,Dr.UserSecret,Dr.UserTimes,Dr.Users,Dr.VideoCamera,Dr.VolumeDown,Dr.VolumeOff,Dr.VolumeUp,Dr.Wheelchair,Dr.Wifi,Dr.Wrench]);case Nw.AccessibilityIcons:return new Ee([Dr.Cc,Dr.Tty,Dr.Wheelchair]);case Nw.HandIcons:return new Ee([Dr.HandLizardO,Dr.HandODown,Dr.HandOLeft,Dr.HandORight,Dr.HandOUp,Dr.HandPaperO,Dr.HandPeaceO,Dr.HandPointerO,Dr.HandRockO,Dr.HandScissorsO,Dr.HandSpockO,Dr.ThumbsDown,Dr.ThumbsODown,Dr.ThumbsOUp,Dr.ThumbsUp]);case Nw.TransportationIcons:return new Ee([Dr.Airplane,Dr.Ambulance,Dr.Bicycle,Dr.Bus,Dr.Car,Dr.FighterJet,Dr.Motorcycle,Dr.Plane,Dr.Rocket,Dr.Ship,Dr.SpaceShuttle,Dr.Subway,Dr.Taxi,Dr.Train,Dr.Truck,Dr.Wheelchair]);case Nw.GenderIcons:return new Ee([Dr.Genderless,Dr.Mars,Dr.MarsDouble,Dr.MarsStroke,Dr.MarsStrokeH,Dr.MarsStrokeV,Dr.Mercury,Dr.Neuter,Dr.Transgender,Dr.TransgenderAlt,Dr.Venus,Dr.VenusDouble,Dr.VenusMars,Dr.Man,Dr.Woman,Dr.UserTie,Dr.ManWoman]);case Nw.FileTypeIcons:return new Ee([Dr.File,Dr.FileArchiveO,Dr.FileAudioO,Dr.FileCodeO,Dr.FileExcelO,Dr.FileImageO,Dr.FileO,Dr.FilePdfO,Dr.FilePowerpointO,Dr.FileText,Dr.FileTextO,Dr.FileVideoO,Dr.FileWordO]);case Nw.SpinnerIcons:return new Ee([Dr.CircleONotch,Dr.Cog,Dr.Refresh,Dr.Spinner]);case Nw.FormControlIcons:return new Ee([Dr.CheckSquare,Dr.CheckSquareO,Dr.Circle,Dr.CircleO,Dr.DotCircleO,Dr.MinusSquare,Dr.PlusSquare,Dr.InusSquareO,Dr.PlusSquareO,Dr.Square,Dr.SquareO,Dr.FAPlus,Dr.FAMinus]);case Nw.PaymentIcons:return new Ee([Dr.CcAmex,Dr.CcDinersClub,Dr.CcDiscover,Dr.CcJcb,Dr.CcMastercard,Dr.CcPaypal,Dr.CcStripe,Dr.CcVisa,Dr.CreditCard,Dr.GoogleWallet,Dr.Paypal]);case Nw.ChartIcons:return new Ee([Dr.AreaChart,Dr.BarChart,Dr.LineChart,Dr.PieChart]);case Nw.CurrencyIcons:return new Ee([Dr.Btc,Dr.Eur,Dr.Gbp,Dr.Gg,Dr.GgCircle,Dr.Ils,Dr.Inr,Dr.Jpy,Dr.Krw,Dr.Money,Dr.Rub,Dr.Try,Dr.Usd,Dr.Viacoin]);case Nw.TextEditorIcons:return new Ee([Dr.AlignCenter,Dr.AlignJustify,Dr.AlignLeft,Dr.AlignRight,Dr.Bold,Dr.ChainBroken,Dr.Clipboard,Dr.Columns,Dr.Eraser,Dr.File,Dr.FileO,Dr.FileText,Dr.FileTextO,Dr.FilesO,Dr.FloppyO,Dr.Font,Dr.Header,Dr.Indent,Dr.Italic,Dr.Link,Dr.List,Dr.ListAlt,Dr.ListOl,Dr.ListUl,Dr.Outdent,Dr.Paperclip,Dr.Paragraph,Dr.Repeat,Dr.Scissors,Dr.Strikethrough,Dr.Subscript,Dr.Superscript,Dr.Table,Dr.TextHeight,Dr.TextWidth,Dr.Th,Dr.ThLarge,Dr.ThList,Dr.Underline,Dr.Undo]);case Nw.DirectionalIcons:return new Ee([Dr.AngleDoubleDown,Dr.AngleDoubleLeft,Dr.AngleDoubleRight,Dr.AngleDoubleUp,Dr.AngleDown,Dr.AngleLeft,Dr.AngleRight,Dr.AngleUp,Dr.ArrowCircleDown,Dr.ArrowCircleLeft,Dr.ArrowCircleODown,Dr.ArrowCircleOLeft,Dr.ArrowCircleORight,Dr.ArrowCircleOUp,Dr.ArrowCircleRight,Dr.ArrowCircleUp,Dr.ArrowDown,Dr.ArrowRight,Dr.ArrowUp,Dr.ArrowRightDown,Dr.ArrowRightUp,Dr.Arrows,Dr.ArrowsAlt,Dr.ArrowsH,Dr.ArrowsV,Dr.CaretDown,Dr.CaretLeft,Dr.CaretRight,Dr.CaretSquareODown,Dr.CaretSquareOLeft,Dr.CaretSquareORight,Dr.CaretSquareOUp,Dr.CaretUp,Dr.ChevronCircleDown,Dr.ChevronCircleLeft,Dr.ChevronCircleRight,Dr.ChevronCircleUp,Dr.ChevronDown,Dr.ChevronLeft,Dr.ChevronRight,Dr.ChevronUp,Dr.Exchange,Dr.HandODown,Dr.HandOLeft,Dr.HandORight,Dr.HandOUp,Dr.LongArrowDown,Dr.LongArrowLeft,Dr.LongArrowRight,Dr.LongArrowUp,Dr.FAArrowLeft,Dr.FAArrowRight,Dr.FAArrowUp,Dr.FAArrowDown]);case Nw.VideoPlayerIcons:return new Ee([Dr.ArrowsAlt,Dr.Backward,Dr.Compress,Dr.Eject,Dr.Expand,Dr.FastBackward,Dr.FastForward,Dr.Forward,Dr.Pause,Dr.Play,Dr.PlayCircle,Dr.PlayCircleO,Dr.Random,Dr.StepBackward,Dr.StepForward,Dr.Stop,Dr.YoutubePlay]);case Nw.BrandIcons:return new Ee([Dr.Adn,Dr.Amazon,Dr.Android,Dr.Angellist,Dr.Appleinc,Dr.Behance,Dr.BehanceSquare,Dr.Bitbucket,Dr.BitbucketSquare,Dr.BlackTie,Dr.Btc,Dr.Buysellads,Dr.CcAmex,Dr.CcDinersClub,Dr.CcDiscover,Dr.CcJcb,Dr.CcMastercard,Dr.CcPaypal,Dr.CcStripe,Dr.CcVisa,Dr.Chrome,Dr.Codepen,Dr.Connectdevelop,Dr.Contao,Dr.Css3,Dr.Dashcube,Dr.Delicious,Dr.Deviantart,Dr.Digg,Dr.Dribbble,Dr.Dropbox,Dr.Drupal,Dr.Empire,Dr.Expeditedssl,Dr.Facebook,Dr.FacebookOfficial,Dr.FacebookSquare,Dr.Firefox,Dr.Flickr,Dr.Fonticons,Dr.Forumbee,Dr.Foursquare,Dr.GetPocket,Dr.Gg,Dr.GgCircle,Dr.Git,Dr.GitSquare,Dr.Github,Dr.GithubAlt,Dr.GithubSquare,Dr.Google,Dr.GooglePlus,Dr.GooglePlusSquare,Dr.GoogleWallet,Dr.Gratipay,Dr.HackerNews,Dr.Houzz,Dr.Html5,Dr.Instagram,Dr.InternetExplorer,Dr.Ioxhost,Dr.Joomla,Dr.Jsfiddle,Dr.Lastfm,Dr.LastfmSquare,Dr.Leanpub,Dr.Linkedin,Dr.LinkedinSquare,Dr.Linux,Dr.Maxcdn,Dr.Meanpath,Dr.Medium,Dr.Odnoklassniki,Dr.OdnoklassnikiSquare,Dr.Opencart,Dr.Openid,Dr.Opera,Dr.OptinMonster,Dr.Pagelines,Dr.Paypal,Dr.PiedPiper,Dr.PiedPiperAlt,Dr.Pinterest,Dr.PinterestP,Dr.PinterestSquare,Dr.Qq,Dr.Rebel,Dr.Reddit,Dr.RedditSquare,Dr.Renren,Dr.Safari,Dr.Sellsy,Dr.ShareAlt,Dr.ShareAltSquare,Dr.Shirtsinbulk,Dr.Simplybuilt,Dr.Skyatlas,Dr.Skype,Dr.Slack,Dr.Slideshare,Dr.Soundcloud,Dr.Spotify,Dr.StackExchange,Dr.StackOverflow,Dr.Steam,Dr.SteamSquare,Dr.Stumbleupon,Dr.StumbleuponCircle,Dr.TencentWeibo,Dr.Trello,Dr.Tripadvisor,Dr.Tumblr,Dr.TumblrSquare,Dr.Twitch,Dr.Twitter,Dr.TwitterSquare,Dr.Viacoin,Dr.Vimeo,Dr.VimeoSquare,Dr.Vine,Dr.Vk,Dr.Weibo,Dr.Weixin,Dr.Whatsapp,Dr.WikipediaW,Dr.Windows8,Dr.Wordpress,Dr.Xing,Dr.XingSquare,Dr.YCombinator,Dr.Yahoo,Dr.Yelp,Dr.Youtube,Dr.YoutubePlay,Dr.YoutubeSquare,Dr.Px500]);case Nw.MedicalIcons:return new Ee([Dr.Ambulance,Dr.HSquare,Dr.Heart,Dr.HeartO,Dr.Heartbeat,Dr.HospitalO,Dr.Medkit,Dr.PlusSquare,Dr.Stethoscope,Dr.UserMd,Dr.Wheelchair]);case Nw.OtherIcons:return new Ee([Dr.Latin5,Dr.Latin4,Dr.Latin3,Dr.Latin2,Dr.Latin1,Dr.QuarterFull,Dr.QuarterThreeFourth,Dr.QuarterHalf,Dr.QuarterQuarter,Dr.QuarterNone,Dr.Rating4,Dr.Rating3,Dr.Rating2,Dr.Rating1,Dr.Rating0,Dr.Square0,Dr.Square1,Dr.Square2,Dr.Square3,Dr.Square4,Dr.StarFull,Dr.StarThreeFourth,Dr.StarQuarter,Dr.StarNone,Dr.CircleCheck,Dr.CircleCross,Dr.CircleExclamation,Dr.Cross,Dr.Rhomb,Dr.Triangle,Dr.TriangleDown,Dr.TriangleUp])}return new Ee([Dr.Rating0,Dr.Rating1,Dr.Rating2,Dr.Rating3,Dr.Rating4])}static getIconFontSize(t,e,r){var t=t.measureString(r,new kw("Stimulsoft",1e3,Ae.bn.FontStyle.Regular,Ae.bn.GraphicsUnit.Point));if(0==t.width||0==t.height)return 0;var r=e.width/t.width*1e3,t=e.height/t.height*1e3,i;return t<r?t:r}static drawFillIcons(t,e,r,i,n,a){var s=this.getContent(n),n=this.getIconFontSize(t,i,s),o=new kw("Stimulsoft",n,Ae.bn.FontStyle.Regular,Ae.bn.GraphicsUnit.Point);let l=r.y,u=r.x;while(l<r.bottom){while(u<r.right){var h=new Tr(u,l,i.width,i.height);t.drawString3(s,o,e,h,this.getStringFormatGeom(t),a),u+=i.width}u=r.x,l+=i.height}}static drawDirectionIcons(r,i,n,a,t,s,e,o=!1){var l=this.getContent(t),t=this.getIconFontSize(r,a,l),u=new kw("Stimulsoft",t,Ae.bn.FontStyle.Regular,Ae.bn.GraphicsUnit.Point);if(o||r.pushClip(n),e){let t=n.bottom;var h=n.x;let e=!0;while(t>n.top){var c=new Tr(h,t-a.height,a.width,a.height);e&&o?(e=!1,r.drawString3(l,u,i,c,this.getStringFormatGeom(r),s)):(!o||o&&t-n.top>a.height/2)&&r.drawString3(l,u,i,c,this.getStringFormatGeom(r),s),t-=a.height}}else{var d=n.y;let t=n.x,e=!0;while(t<n.right){var m=new Tr(t,d,a.width,a.height);e&&o?(e=!1,r.drawString3(l,u,i,m,this.getStringFormatGeom(r),s)):(!o||o&&n.right-t>a.width/2)&&r.drawString3(l,u,i,m,this.getStringFormatGeom(r),s),t+=a.width}}o||r.popClip()}static getStringFormatGeom(t){let e=t.getDefaultStringFormat();return e.trimming=Or.None,e.formatFlags|=Nr.MeasureTrailingSpaces|Nr.NoWrap,e.alignment=Lr.Center,e.lineAlignment=Lr.Center,e}};Ae.c.StiFontIconsHelper=l}Ae.al.StiImageTransparenceHelper=class{static getTransparentedImage(t,e){return null}},Ae.al.StiIsoCountry=class{constructor(...t){this.names=t.stimulsoft().toList()}ru(...t){return this.ruNames=t.stimulsoft().toList(),this}fr(...t){return this.frNames=t.stimulsoft().toList(),this}iso(t,e=null){return this.alpha2=t,this.alpha3=e,this}};{let r=class{static get countries(){return null==this._countries&&(this._countries=new Ee,this.initializeCountries()),this._countries}static get usStates(){return null==this._usStates&&(this._usStates=new Ee,this.initializeUsStates()),this._usStates}static get canadaProvinces(){return null==this._canadaProvinces&&(this._canadaProvinces=new Ee,this.initializeCanadaProvinces()),this._canadaProvinces}static get brazilProvinces(){return null==this._brazilProvinces&&(this._brazilProvinces=new Ee,this.initializeBrazilProvinces()),this._brazilProvinces}static getIsoAlpha2FromName(t,e=null){var e=this.getCountryFromName(t,e);return null!=e?e.alpha2:null}static getIsoAlpha3FromName(t,e=null){var e=this.getCountryFromName(t,e);return null!=e?e.alpha3:null}static getCountryFromName(e,t=null){if(De.isNullOrWhiteSpace(e))return null;return e=Ae.al.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(t=>r.isEqual(t,e))}static getCountries(t=null){if(De.isNullOrWhiteSpace(t))return this.countries;switch(t.toLowerCase()){case"world":return this.countries;case"usa":return this.usStates;case"canada":return this.canadaProvinces;case"brazil":return this.brazilProvinces;default:return this.countries}}static isEqual(t,e){if(t.names.any(t=>Ae.al.StiMapKeyHelper.simplify(t)==e)||Ae.al.StiMapKeyHelper.simplify(t.alpha2)==e||Ae.al.StiMapKeyHelper.simplify(t.alpha3)==e)return!0;if(null!=t.ruNames&&t.ruNames.any(t=>Ae.al.StiMapKeyHelper.simplify(t)==e))return!0;if(null!=t.frNames&&t.frNames.any(t=>Ae.al.StiMapKeyHelper.simplify(t)==e))return!0;return!1}static getCountryFromAlpha3(e,t=null){if(De.isNullOrWhiteSpace(e))return null;return e=Ae.al.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(t=>Ae.al.StiMapKeyHelper.simplify(t.alpha3)==e)}static getCountryFromAlpha2(e,t=null){if(De.isNullOrWhiteSpace(e))return null;return e=Ae.al.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(t=>Ae.al.StiMapKeyHelper.simplify(t.alpha2)==e)}static initializeCountries(){this._countries.add(new Ae.al.StiIsoCountry("Afghanistan").ru("Афганистан").iso("AF","AFG")),this._countries.add(new Ae.al.StiIsoCountry("Åland Islands").ru("Аландские острова").iso("AX","ALA")),this._countries.add(new Ae.al.StiIsoCountry("Albania").ru("Албания").iso("AL","ALB")),this._countries.add(new Ae.al.StiIsoCountry("Algeria").ru("Алжир").iso("DZ","DZA")),this._countries.add(new Ae.al.StiIsoCountry("American Samoa").ru("Американское Самоа").iso("AS","ASM")),this._countries.add(new Ae.al.StiIsoCountry("Andorra").ru("Андорра").iso("AD","AND")),this._countries.add(new Ae.al.StiIsoCountry("Angola").ru("Ангола").iso("AO","AGO")),this._countries.add(new Ae.al.StiIsoCountry("Anguilla").ru("Ангилья").iso("AI","AIA")),this._countries.add(new Ae.al.StiIsoCountry("Antarctica").ru("Антарктида").iso("AQ","ATA")),this._countries.add(new Ae.al.StiIsoCountry("Antigua and Barbuda").ru("Антигуа и Барбуда").iso("AG","ATG")),this._countries.add(new Ae.al.StiIsoCountry("Argentina").ru("Аргентина").iso("AR","ARG")),this._countries.add(new Ae.al.StiIsoCountry("Armenia").ru("Армения").iso("AM","ARM")),this._countries.add(new Ae.al.StiIsoCountry("Aruba").ru("Аруба").iso("AW","ABW")),this._countries.add(new Ae.al.StiIsoCountry("Australia").ru("Австралия").iso("AU","AUS")),this._countries.add(new Ae.al.StiIsoCountry("Austria").ru("Австрия").iso("AT","AUT")),this._countries.add(new Ae.al.StiIsoCountry("Azerbaijan").ru("Азербайджан").iso("AZ","AZE")),this._countries.add(new Ae.al.StiIsoCountry("Bahamas").ru("Багамские Острова").iso("BS","BHS")),this._countries.add(new Ae.al.StiIsoCountry("Bahrain").ru("Бахрейн").iso("BH","BHR")),this._countries.add(new Ae.al.StiIsoCountry("Bangladesh").ru("Бангладеш").iso("BD","BGD")),this._countries.add(new Ae.al.StiIsoCountry("Barbados").ru("Барбадос").iso("BB","BRB")),this._countries.add(new Ae.al.StiIsoCountry("Belarus").ru("Беларусь","Белоруссия").iso("BY","BLR")),this._countries.add(new Ae.al.StiIsoCountry("Belgium").ru("Бельгия").iso("BE","BEL")),this._countries.add(new Ae.al.StiIsoCountry("Belize").ru("Белиз").iso("BZ","BLZ")),this._countries.add(new Ae.al.StiIsoCountry("Benin").ru("Бенин").iso("BJ","BEN")),this._countries.add(new Ae.al.StiIsoCountry("Bermuda").ru("Бермуды").iso("BM","BMU")),this._countries.add(new Ae.al.StiIsoCountry("Bhutan").ru("Бутан").iso("BT","BTN")),this._countries.add(new Ae.al.StiIsoCountry("Bolivia","Bolivia (Plurinational State of)").ru("Боливия").iso("BO","BOL")),this._countries.add(new Ae.al.StiIsoCountry("Bonaire","Bonaire, Sint Eustatius and Saba").ru("Бонэйр").iso("BQ","BES")),this._countries.add(new Ae.al.StiIsoCountry("Bosnia and Herzegovina").ru("Босния и Герцеговина ").iso("BA","BIH")),this._countries.add(new Ae.al.StiIsoCountry("Botswana").ru("Ботсвана").iso("BW","BWA")),this._countries.add(new Ae.al.StiIsoCountry("Bouvet Island").ru("Остров Буве").iso("BV","BVT")),this._countries.add(new Ae.al.StiIsoCountry("Brazil").ru("Бразилия").iso("BR","BRA")),this._countries.add(new Ae.al.StiIsoCountry("British Indian Ocean Territory").ru("Британская Территория в Индийском Океане").iso("IO","IOT")),this._countries.add(new Ae.al.StiIsoCountry("Brunei Darussalam").ru("Бруней").iso("BN","BRN")),this._countries.add(new Ae.al.StiIsoCountry("Bulgaria").ru("Болгария").iso("BG","BGR")),this._countries.add(new Ae.al.StiIsoCountry("Burkina Faso").ru("Буркина - Фасо").iso("BF","BFA")),this._countries.add(new Ae.al.StiIsoCountry("Burundi").ru("Бурунди").iso("BI","BDI")),this._countries.add(new Ae.al.StiIsoCountry("Cabo Verde").ru("Кабо - Верде").iso("CV","CPV")),this._countries.add(new Ae.al.StiIsoCountry("Cambodia").ru("Камбоджа").iso("KH","KHM")),this._countries.add(new Ae.al.StiIsoCountry("Cameroon").ru("Камерун").iso("CM","CMR")),this._countries.add(new Ae.al.StiIsoCountry("Canada").ru("Канада").iso("CA","CAN")),this._countries.add(new Ae.al.StiIsoCountry("Cayman Islands").ru("Острова Кайман").iso("KY","CYM")),this._countries.add(new Ae.al.StiIsoCountry("Central African Republic").ru("ЦАР").iso("CF","CAF")),this._countries.add(new Ae.al.StiIsoCountry("Chad").ru("Чад").iso("TD","TCD")),this._countries.add(new Ae.al.StiIsoCountry("Chile").ru("Чили").iso("CL","CHL")),this._countries.add(new Ae.al.StiIsoCountry("China").ru("Китай","КНР","Китайская Народная Республика").iso("CN","CHN")),this._countries.add(new Ae.al.StiIsoCountry("Christmas Island").ru("Остров Рождества").iso("CX","CXR")),this._countries.add(new Ae.al.StiIsoCountry("Cocos (Keeling) Islands").ru("Кокосовые острова").iso("CC","CCK")),this._countries.add(new Ae.al.StiIsoCountry("Colombia").ru("Колумбия").iso("CO","COL")),this._countries.add(new Ae.al.StiIsoCountry("Comoros").ru("Коморы").iso("KM","COM")),this._countries.add(new Ae.al.StiIsoCountry("Congo").ru("Республика Конго").iso("CG","COG")),this._countries.add(new Ae.al.StiIsoCountry("Congo (Democratic Republic of the)").ru("Демократическая Республика Конго").iso("CD","COD")),this._countries.add(new Ae.al.StiIsoCountry("Cook Islands").ru("Острова Кука").iso("CK","COK")),this._countries.add(new Ae.al.StiIsoCountry("Costa Rica").ru("Коста - Рика").iso("CR","CRI")),this._countries.add(new Ae.al.StiIsoCountry("Côte d'Ivoire").ru("Кот - д’Ивуар").iso("CI","CIV")),this._countries.add(new Ae.al.StiIsoCountry("Croatia").ru("Хорватия").iso("HR","HRV")),this._countries.add(new Ae.al.StiIsoCountry("Cuba").ru("Куба").iso("CU","CUB")),this._countries.add(new Ae.al.StiIsoCountry("Curaçao").ru("Кюрасао").iso("CW","CUW")),this._countries.add(new Ae.al.StiIsoCountry("Cyprus").ru("Кипр").iso("CY","CYP")),this._countries.add(new Ae.al.StiIsoCountry("Czech Republic","Czech Republic","Czech").ru("Чехия").iso("CZ","CZE")),this._countries.add(new Ae.al.StiIsoCountry("Denmark").ru("Дания").iso("DK","DNK")),this._countries.add(new Ae.al.StiIsoCountry("Djibouti").ru("Джибути").iso("DJ","DJI")),this._countries.add(new Ae.al.StiIsoCountry("Dominica").ru("Доминикана").iso("DM","DMA")),this._countries.add(new Ae.al.StiIsoCountry("Dominican Republic").ru("Доминиканская Республика").iso("DO","DOM")),this._countries.add(new Ae.al.StiIsoCountry("Ecuador").ru("Эквадор").iso("EC","ECU")),this._countries.add(new Ae.al.StiIsoCountry("Egypt").ru("Египет").iso("EG","EGY")),this._countries.add(new Ae.al.StiIsoCountry("El Salvador").ru("Сальвадор").iso("SV","SLV")),this._countries.add(new Ae.al.StiIsoCountry("Equatorial Guinea").ru("Экваториальная Гвинея").iso("GQ","GNQ")),this._countries.add(new Ae.al.StiIsoCountry("Eritrea").ru("Эритрея").iso("ER","ERI")),this._countries.add(new Ae.al.StiIsoCountry("Estonia").ru("Эстония").iso("EE","EST")),this._countries.add(new Ae.al.StiIsoCountry("Ethiopia").ru("Эфиопия").iso("ET","ETH")),this._countries.add(new Ae.al.StiIsoCountry("European Union").ru("Европейский союз").iso("EU","EUE")),this._countries.add(new Ae.al.StiIsoCountry("Falkland Islands (Malvinas)").ru("Фолклендские острова").iso("FK","FLK")),this._countries.add(new Ae.al.StiIsoCountry("Faroe Islands").ru("Фареры").iso("FO","FRO")),this._countries.add(new Ae.al.StiIsoCountry("Fiji").ru("Фиджи").iso("FJ","FJI")),this._countries.add(new Ae.al.StiIsoCountry("Finland").ru("Финляндия").iso("FI","FIN")),this._countries.add(new Ae.al.StiIsoCountry("France").ru("Франция").iso("FR","FRA")),this._countries.add(new Ae.al.StiIsoCountry("French Guiana").ru("Французская Гвиана").iso("GF","GUF")),this._countries.add(new Ae.al.StiIsoCountry("French Polynesia").ru("Французская Полинезия").iso("PF","PYF")),this._countries.add(new Ae.al.StiIsoCountry("French Southern Territories").ru("Французские Южные и Антарктические территории").iso("TF","ATF")),this._countries.add(new Ae.al.StiIsoCountry("Gabon").ru("Габон").iso("GA","GAB")),this._countries.add(new Ae.al.StiIsoCountry("Gambia").ru("Гамбия").iso("GM","GMB")),this._countries.add(new Ae.al.StiIsoCountry("Georgia").ru("Грузия").iso("GE","GEO")),this._countries.add(new Ae.al.StiIsoCountry("Germany").ru("Германия").iso("DE","DEU")),this._countries.add(new Ae.al.StiIsoCountry("Ghana").ru("Гана").iso("GH","GHA")),this._countries.add(new Ae.al.StiIsoCountry("Gibraltar").ru("Гибралтар").iso("GI","GIB")),this._countries.add(new Ae.al.StiIsoCountry("Greece").ru("Греция").iso("GR","GRC")),this._countries.add(new Ae.al.StiIsoCountry("Greenland").ru("Гренландия").iso("GL","GRL")),this._countries.add(new Ae.al.StiIsoCountry("Grenada").ru("Гренада").iso("GD","GRD")),this._countries.add(new Ae.al.StiIsoCountry("Guadeloupe").ru("Гваделупа").iso("GP","GLP")),this._countries.add(new Ae.al.StiIsoCountry("Guam").ru("Гуам").iso("GU","GUM")),this._countries.add(new Ae.al.StiIsoCountry("Guatemala").ru("Гватемала").iso("GT","GTM")),this._countries.add(new Ae.al.StiIsoCountry("Guernsey").ru("Гернси").iso("GG","GGY")),this._countries.add(new Ae.al.StiIsoCountry("Guinea").ru("Гвинея").iso("GN","GIN")),this._countries.add(new Ae.al.StiIsoCountry("Guinea - Bissau").ru("Гвинея - Бисау").iso("GW","GNB")),this._countries.add(new Ae.al.StiIsoCountry("Guyana").ru("Гайана").iso("GY","GUY")),this._countries.add(new Ae.al.StiIsoCountry("Haiti").ru("Гаити").iso("HT","HTI")),this._countries.add(new Ae.al.StiIsoCountry("Heard Island and McDonald Islands").ru("Остров Херд и острова Макдональд").iso("HM","HMD")),this._countries.add(new Ae.al.StiIsoCountry("Holy See").ru("Ватикан").iso("VA","VAT")),this._countries.add(new Ae.al.StiIsoCountry("Honduras").ru("Гондурас").iso("HN","HND")),this._countries.add(new Ae.al.StiIsoCountry("Hong Kong").ru("Гонконг").iso("HK","HKG")),this._countries.add(new Ae.al.StiIsoCountry("Hungary").ru("Венгрия").iso("HU","HUN")),this._countries.add(new Ae.al.StiIsoCountry("Iceland").ru("Исландия").iso("IS","ISL")),this._countries.add(new Ae.al.StiIsoCountry("India").ru("Индия").iso("IN","IND")),this._countries.add(new Ae.al.StiIsoCountry("Indonesia").ru("Индонейзия").iso("ID","IDN")),this._countries.add(new Ae.al.StiIsoCountry("Iran").ru("Иран","Iran (Islamic Republic of)").iso("IR","IRN")),this._countries.add(new Ae.al.StiIsoCountry("Iraq").ru("Ирак","IQ").iso("IRQ")),this._countries.add(new Ae.al.StiIsoCountry("Ireland").ru("Ирландия").iso("IE","IRL")),this._countries.add(new Ae.al.StiIsoCountry("Isle of Man").ru("Остров Мэн").iso("IM","IMN")),this._countries.add(new Ae.al.StiIsoCountry("Israel").ru("Израиль").iso("IL","ISR")),this._countries.add(new Ae.al.StiIsoCountry("Italy").ru("Италия").iso("IT","ITA")),this._countries.add(new Ae.al.StiIsoCountry("Jamaica").ru("Ямайка").iso("JM","JAM")),this._countries.add(new Ae.al.StiIsoCountry("Japan").ru("Япония").iso("JP","JPN")),this._countries.add(new Ae.al.StiIsoCountry("Jersey").ru("Джерси").iso("JE","JEY")),this._countries.add(new Ae.al.StiIsoCountry("Jordan").ru("Иордания").iso("JO","JOR")),this._countries.add(new Ae.al.StiIsoCountry("Kazakhstan").ru("Казахстан").iso("KZ","KAZ")),this._countries.add(new Ae.al.StiIsoCountry("Kenya").ru("Кения").iso("KE","KEN")),this._countries.add(new Ae.al.StiIsoCountry("Kiribati").ru("Кирибати").iso("KI","KIR")),this._countries.add(new Ae.al.StiIsoCountry("Korea (Democratic People's Republic of)","North Korea").ru("КНДР(Корейская Народно - Демократическая Республика)").iso("KP","PRK")),this._countries.add(new Ae.al.StiIsoCountry("Korea (Republic of)","South Korea").ru("Республика Корея","Южная Корея").iso("KR","KOR")),this._countries.add(new Ae.al.StiIsoCountry("Kuwait").ru("Кувейт").iso("KW","KWT")),this._countries.add(new Ae.al.StiIsoCountry("Kyrgyzstan").ru("Киргизия").iso("KG","KGZ")),this._countries.add(new Ae.al.StiIsoCountry("Lao People's Democratic Republic").ru("Лаос").iso("LA","LAO")),this._countries.add(new Ae.al.StiIsoCountry("Latvia").ru("Латвия").iso("LV","LVA")),this._countries.add(new Ae.al.StiIsoCountry("Lebanon").ru("Ливия").iso("LB","LBN")),this._countries.add(new Ae.al.StiIsoCountry("Lesotho").ru("Лесото").iso("LS","LSO")),this._countries.add(new Ae.al.StiIsoCountry("Liberia").ru("Либерия").iso("LR","LBR")),this._countries.add(new Ae.al.StiIsoCountry("Libya").ru("Либия").iso("LY","LBY")),this._countries.add(new Ae.al.StiIsoCountry("Liechtenstein").ru("Лихтенштейн").iso("LI","LIE")),this._countries.add(new Ae.al.StiIsoCountry("Lithuania").ru("Литва").iso("LT","LTU")),this._countries.add(new Ae.al.StiIsoCountry("Luxembourg").ru("Люксембург").iso("LU","LUX")),this._countries.add(new Ae.al.StiIsoCountry("Macao").ru("Макао").iso("MO","MAC")),this._countries.add(new Ae.al.StiIsoCountry("Macedonia","Macedonia (the former Yugoslav Republic of)").ru("Македония").iso("MK","MKD")),this._countries.add(new Ae.al.StiIsoCountry("Madagascar").ru("Мадагаскар").iso("MG","MDG")),this._countries.add(new Ae.al.StiIsoCountry("Malawi").ru("Малави").iso("MW","MWI")),this._countries.add(new Ae.al.StiIsoCountry("Malaysia").ru("Малайзия").iso("MY","MYS")),this._countries.add(new Ae.al.StiIsoCountry("Maldives").ru("Мальдивы").iso("MV","MDV")),this._countries.add(new Ae.al.StiIsoCountry("Mali").ru("Мали").iso("ML","MLI")),this._countries.add(new Ae.al.StiIsoCountry("Malta").ru("Мальта").iso("MT","MLT")),this._countries.add(new Ae.al.StiIsoCountry("Marshall Islands").ru("Маршалловы Острова").iso("MH","MHL")),this._countries.add(new Ae.al.StiIsoCountry("Martinique").ru("Мартиника").iso("MQ","MTQ")),this._countries.add(new Ae.al.StiIsoCountry("Mauritania").ru("Мавритания").iso("MR","MRT")),this._countries.add(new Ae.al.StiIsoCountry("Mauritius").ru("Маврикий").iso("MU","MUS")),this._countries.add(new Ae.al.StiIsoCountry("Mayotte").ru("Майотта").iso("YT","MYT")),this._countries.add(new Ae.al.StiIsoCountry("Mexico").ru("Мексика").iso("MX","MEX")),this._countries.add(new Ae.al.StiIsoCountry("Micronesia","Micronesia (Federated States of)").ru("Микронезии","Федеративные Штаты Микронезии").iso("FM","FSM")),this._countries.add(new Ae.al.StiIsoCountry("Moldova","Moldova (Republic of)").ru("Молдова","Молдавия").iso("MD","MDA")),this._countries.add(new Ae.al.StiIsoCountry("Monaco").ru("Монако").iso("MC","MCO")),this._countries.add(new Ae.al.StiIsoCountry("Mongolia").ru("Монголия").iso("MN","MNG")),this._countries.add(new Ae.al.StiIsoCountry("Montenegro").ru("Черногория").iso("ME","MNE")),this._countries.add(new Ae.al.StiIsoCountry("Montserrat").ru("Монтсеррат").iso("MS","MSR")),this._countries.add(new Ae.al.StiIsoCountry("Morocco").ru("Марокко").iso("MA","MAR")),this._countries.add(new Ae.al.StiIsoCountry("Mozambique").ru("Мозамбик").iso("MZ","MOZ")),this._countries.add(new Ae.al.StiIsoCountry("Myanmar").ru("Мьянма").iso("MM","MMR")),this._countries.add(new Ae.al.StiIsoCountry("Namibia").ru("Намибия").iso("NA","NAM")),this._countries.add(new Ae.al.StiIsoCountry("Nauru").ru("Науру").iso("NR","NRU")),this._countries.add(new Ae.al.StiIsoCountry("Nepal").ru("Непал").iso("NP","NPL")),this._countries.add(new Ae.al.StiIsoCountry("Netherlands").ru("Нидерланды").iso("NL","NLD")),this._countries.add(new Ae.al.StiIsoCountry("New Caledonia").ru("Новая Каледония").iso("NC","NCL")),this._countries.add(new Ae.al.StiIsoCountry("New Zealand").ru("Новая Зеландия").iso("NZ","NZL")),this._countries.add(new Ae.al.StiIsoCountry("Nicaragua").ru("Никарагуа").iso("NI","NIC")),this._countries.add(new Ae.al.StiIsoCountry("Niger").ru("Нигер").iso("NE","NER")),this._countries.add(new Ae.al.StiIsoCountry("Nigeria").ru("Нигерия").iso("NG","NGA")),this._countries.add(new Ae.al.StiIsoCountry("Niue").ru("Ниуэ").iso("NU","NIU")),this._countries.add(new Ae.al.StiIsoCountry("Norfolk Island").ru("Остров Норфолк").iso("NF","NFK")),this._countries.add(new Ae.al.StiIsoCountry("Northern Mariana Islands").ru("Северные Марианские Острова").iso("MP","MNP")),this._countries.add(new Ae.al.StiIsoCountry("Norway").ru("Норвегия").iso("NO","NOR")),this._countries.add(new Ae.al.StiIsoCountry("Oman").ru("Оман").iso("OM","OMN")),this._countries.add(new Ae.al.StiIsoCountry("Pakistan").ru("Пакистан").iso("PK","PAK")),this._countries.add(new Ae.al.StiIsoCountry("Palau").ru("Палау").iso("PW","PLW")),this._countries.add(new Ae.al.StiIsoCountry("Palestine","Palestine, State of").ru("Палестина","Государство Палестина").iso("PS","PSE")),this._countries.add(new Ae.al.StiIsoCountry("Panama").ru("Панама").iso("PA","PAN")),this._countries.add(new Ae.al.StiIsoCountry("Papua New Guinea").ru("Папуа — Новая Гвинея").iso("PG","PNG")),this._countries.add(new Ae.al.StiIsoCountry("Paraguay").ru("Парагвай").iso("PY","PRY")),this._countries.add(new Ae.al.StiIsoCountry("Peru").ru("Перу").iso("PE","PER")),this._countries.add(new Ae.al.StiIsoCountry("Philippines").ru("Филиппины").iso("PH","PHL")),this._countries.add(new Ae.al.StiIsoCountry("Pitcairn").ru("Острова Питкэрн").iso("PN","PCN")),this._countries.add(new Ae.al.StiIsoCountry("Poland").ru("Польша").iso("PL","POL")),this._countries.add(new Ae.al.StiIsoCountry("Portugal").ru("Португалия").iso("PT","PRT")),this._countries.add(new Ae.al.StiIsoCountry("Puerto Rico").ru("Пуэрто - Рико").iso("PR","PRI")),this._countries.add(new Ae.al.StiIsoCountry("Qatar").ru("Катар").iso("QA","QAT")),this._countries.add(new Ae.al.StiIsoCountry("Réunion").ru("Реюньон").iso("RE","REU")),this._countries.add(new Ae.al.StiIsoCountry("Romania").ru("Румыния").iso("RO","ROU")),this._countries.add(new Ae.al.StiIsoCountry("Russia","Russian Federation").ru("Россия","Российская Федерация").iso("RU","RUS")),this._countries.add(new Ae.al.StiIsoCountry("Rwanda").ru("Руанда").iso("RW","RWA")),this._countries.add(new Ae.al.StiIsoCountry("Saint Barthélemy").ru("Сен-Бартелеми").iso("BL","BLM")),this._countries.add(new Ae.al.StiIsoCountry("Saint Helena, Ascension and Tristan da Cunha").ru("Острова Святой Елены, Вознесения и Тристан-да-Кунья").iso("SH","SHN")),this._countries.add(new Ae.al.StiIsoCountry("Saint Kitts and Nevis").ru("Сент-Китс и Невис").iso("KN","KNA")),this._countries.add(new Ae.al.StiIsoCountry("Saint Lucia").ru("Сент-Люсия").iso("LC","LCA")),this._countries.add(new Ae.al.StiIsoCountry("Saint Martin (French part)").ru("Сен-Мартен (владение Франции)").iso("MF","MAF")),this._countries.add(new Ae.al.StiIsoCountry("Saint Pierre and Miquelon").ru("Сен-Пьер и Микелон").iso("PM","SPM")),this._countries.add(new Ae.al.StiIsoCountry("Saint Vincent and the Grenadines","Сент - Винсент и Гренадины").iso("VC","VCT")),this._countries.add(new Ae.al.StiIsoCountry("Samoa").ru("Самоа").iso("WS","WSM")),this._countries.add(new Ae.al.StiIsoCountry("San Marino").ru("Сан - Марино").iso("SM","SMR")),this._countries.add(new Ae.al.StiIsoCountry("Sao Tome and Principe").ru("Сан - Томе и Принсипи").iso("ST","STP")),this._countries.add(new Ae.al.StiIsoCountry("Saudi Arabia","Arabia").ru("Саудовская Аравия").iso("SA","SAU")),this._countries.add(new Ae.al.StiIsoCountry("Senegal").ru("Сенегал").iso("SN","SEN")),this._countries.add(new Ae.al.StiIsoCountry("Serbia").ru("Сербия").iso("RS","SRB")),this._countries.add(new Ae.al.StiIsoCountry("Seychelles").ru("Сейшельские Острова").iso("SC","SYC")),this._countries.add(new Ae.al.StiIsoCountry("Sierra Leone").ru("Сирия").iso("SL","SLE")),this._countries.add(new Ae.al.StiIsoCountry("Singapore").ru("Сингапур").iso("SG","SGP")),this._countries.add(new Ae.al.StiIsoCountry("Sint Maarten").ru("Синт-Мартен").iso("SX","SXM")),this._countries.add(new Ae.al.StiIsoCountry("Slovakia").ru("Словакия").iso("SK","SVK")),this._countries.add(new Ae.al.StiIsoCountry("Slovenia").ru("Словения").iso("SI","SVN")),this._countries.add(new Ae.al.StiIsoCountry("Solomon Islands").ru("Соломоновы Острова").iso("SB","SLB")),this._countries.add(new Ae.al.StiIsoCountry("Somalia").ru("Сомали").iso("SO","SOM")),this._countries.add(new Ae.al.StiIsoCountry("South Africa").ru("ЮАР").iso("ZA","ZAF")),this._countries.add(new Ae.al.StiIsoCountry("South Georgia and the South Sandwich Islands").ru("Южная Георгия и Южные Сандвичевы Острова").iso("GS","SGS")),this._countries.add(new Ae.al.StiIsoCountry("South Sudan").ru("Южный Судан").iso("SS","SSD")),this._countries.add(new Ae.al.StiIsoCountry("Spain").ru("Испания").iso("ES","ESP")),this._countries.add(new Ae.al.StiIsoCountry("Sri Lanka").ru("Шри - Ланка").iso("LK","LKA")),this._countries.add(new Ae.al.StiIsoCountry("Sudan").ru("Судан").iso("SD","SDN")),this._countries.add(new Ae.al.StiIsoCountry("Suriname").ru("Суринам").iso("SR","SUR")),this._countries.add(new Ae.al.StiIsoCountry("Svalbard and Jan Mayen").ru("Шпицберген и Ян-Майен").iso("SJ","SJM")),this._countries.add(new Ae.al.StiIsoCountry("Swaziland").ru("Свазиленд").iso("SZ","SWZ")),this._countries.add(new Ae.al.StiIsoCountry("Sweden").ru("Швеция").iso("SE","SWE")),this._countries.add(new Ae.al.StiIsoCountry("Switzerland").ru("Швейцария").iso("CH","CHE")),this._countries.add(new Ae.al.StiIsoCountry("Syrian Arab Republic").ru("Сирия").iso("SY","SYR")),this._countries.add(new Ae.al.StiIsoCountry("Taiwan","Taiwan, Province of China[a]").ru("Китайская Республика").iso("TW","TWN")),this._countries.add(new Ae.al.StiIsoCountry("Tajikistan").ru("Таджикистан").iso("TJ","TJK")),this._countries.add(new Ae.al.StiIsoCountry("Tanzania","Tanzania, United Republic of").ru("Танзания").iso("TZ","TZA")),this._countries.add(new Ae.al.StiIsoCountry("Thailand").ru("Таиланд").iso("TH","THA")),this._countries.add(new Ae.al.StiIsoCountry("Timor-Leste").ru("Восточный Тимор").iso("TL","TLS")),this._countries.add(new Ae.al.StiIsoCountry("Togo").ru("Того").iso("TG","TGO")),this._countries.add(new Ae.al.StiIsoCountry("Tokelau").ru("Токелау").iso("TK","TKL")),this._countries.add(new Ae.al.StiIsoCountry("Tonga").ru("Тонга").iso("TO","TON")),this._countries.add(new Ae.al.StiIsoCountry("Trinidad and Tobago").ru("Тринидад и Тобаго").iso("TT","TTO")),this._countries.add(new Ae.al.StiIsoCountry("Tunisia").ru("Тунис").iso("TN","TUN")),this._countries.add(new Ae.al.StiIsoCountry("Turkey").ru("Турция").iso("TR","TUR")),this._countries.add(new Ae.al.StiIsoCountry("Turkmenistan").ru("Туркмения").iso("TM","TKM")),this._countries.add(new Ae.al.StiIsoCountry("Turks and Caicos Islands").ru("Тёркс и Кайкос").iso("TC","TCA")),this._countries.add(new Ae.al.StiIsoCountry("Tuvalu").ru("Тувалу").iso("TV","TUV")),this._countries.add(new Ae.al.StiIsoCountry("Uganda").ru("Уганда").iso("UG","UGA")),this._countries.add(new Ae.al.StiIsoCountry("Ukraine").ru("Украина").iso("UA","UKR")),this._countries.add(new Ae.al.StiIsoCountry("United Arab Emirates").ru("Объединённые Арабские Эмираты").iso("AE","ARE")),this._countries.add(new Ae.al.StiIsoCountry("United Kingdom","United Kingdom of Great Britain and Northern Ireland","Great Britain").ru("Великобритания","UK").iso("GB","GBR")),this._countries.add(new Ae.al.StiIsoCountry("United States of America","United States","U.S.","U.S. of A","U.S. of America","America").ru("США").iso("US","USA")),this._countries.add(new Ae.al.StiIsoCountry("United States Minor Outlying Islands").ru("Внешние малые острова (США)").iso("UM","UMI")),this._countries.add(new Ae.al.StiIsoCountry("Uruguay").ru("Уругвай").iso("UY","URY")),this._countries.add(new Ae.al.StiIsoCountry("Uzbekistan").ru("Узбекистан").iso("UZ","UZB")),this._countries.add(new Ae.al.StiIsoCountry("Vanuatu").ru("Вануату").iso("VU","VUT")),this._countries.add(new Ae.al.StiIsoCountry("Venezuela","Venezuela (Bolivarian Republic of)").ru("Венесуэла").iso("VE","VEN")),this._countries.add(new Ae.al.StiIsoCountry("Viet Nam").ru("Вьетнам").iso("VN","VNM")),this._countries.add(new Ae.al.StiIsoCountry("Virgin Islands (British)").ru("Виргинские Острова (Великобритания)").iso("VG","VGB")),this._countries.add(new Ae.al.StiIsoCountry("Virgin Islands (U.S.)").ru("Виргинские Острова (США)").iso("VI","VIR")),this._countries.add(new Ae.al.StiIsoCountry("Wallis and Futuna").ru("Уоллис и Футуна").iso("WF","WLF")),this._countries.add(new Ae.al.StiIsoCountry("Western Sahara").ru("Западная Сахара").iso("EH","ESH")),this._countries.add(new Ae.al.StiIsoCountry("Yemen").ru("Йемен").iso("YE","YEM")),this._countries.add(new Ae.al.StiIsoCountry("Zambia").ru("Замбия").iso("ZM","ZMB")),this._countries.add(new Ae.al.StiIsoCountry("Zimbabwe").ru("Зимбабве").iso("ZW","ZWE"))}static initializeUsStates(){this._usStates.add(new Ae.al.StiIsoCountry("Alabama","Ala.").iso("AL").ru("Алабама")),this._usStates.add(new Ae.al.StiIsoCountry("Alaska","Alas.").iso("AK").ru("Аляска")),this._usStates.add(new Ae.al.StiIsoCountry("American Samoa","A.S").iso("AS").ru("Американское Самоа")),this._usStates.add(new Ae.al.StiIsoCountry("Arizona","Ariz.").iso("AZ").ru("Аризона")),this._usStates.add(new Ae.al.StiIsoCountry("Arkansas","Ark.").iso("AR").ru("Арканзас")),this._usStates.add(new Ae.al.StiIsoCountry("California","Calif.","Ca.","Cal.").iso("CA").ru("Калифорния")),this._usStates.add(new Ae.al.StiIsoCountry("Colorado","Colo.","Col.").iso("CO").ru("Колорадо")),this._usStates.add(new Ae.al.StiIsoCountry("Connecticut","Conn.","Ct.").iso("CT").ru("Коннектикут")),this._usStates.add(new Ae.al.StiIsoCountry("Delaware","Del.","Ct.").iso("DE").ru("Делавэр")),this._usStates.add(new Ae.al.StiIsoCountry("District of Columbia","D.C.","Wash D.C.").iso("DC").ru("Округ Колумбия")),this._usStates.add(new Ae.al.StiIsoCountry("Florida","Fla.","Fl.","Flor.").iso("FL").ru("Флорида")),this._usStates.add(new Ae.al.StiIsoCountry("Georgia","Ga.","Geo.").iso("GA").ru("Джорджия")),this._usStates.add(new Ae.al.StiIsoCountry("Guam","GUM").iso("GU").ru("Гуам")),this._usStates.add(new Ae.al.StiIsoCountry("Hawaii","H.I.").iso("HI").ru("Гавайи")),this._usStates.add(new Ae.al.StiIsoCountry("Idaho","Id.","Ida.").iso("ID").ru("Айдахо")),this._usStates.add(new Ae.al.StiIsoCountry("Illinois","Ill.").iso("IL").ru("Иллинойс")),this._usStates.add(new Ae.al.StiIsoCountry("Indiana","Ind.","In.").iso("IN").ru("Индиана")),this._usStates.add(new Ae.al.StiIsoCountry("Iowa","Ia.","Ioa.").iso("IA").ru("Айова")),this._usStates.add(new Ae.al.StiIsoCountry("Kansas","Kans.","Kan.","Ks","Ka").iso("KS").ru("Канзас")),this._usStates.add(new Ae.al.StiIsoCountry("Kentucky","Ky.","Ken.","Kent.").iso("KY").ru("Кентукки")),this._usStates.add(new Ae.al.StiIsoCountry("Louisiana","La.").iso("LA").ru("Луизиана")),this._usStates.add(new Ae.al.StiIsoCountry("Maine","Me.").iso("ME").ru("Мэн")),this._usStates.add(new Ae.al.StiIsoCountry("Maryland","Md.").iso("MD").ru("Мэриленд")),this._usStates.add(new Ae.al.StiIsoCountry("Massachusetts","Mass.").iso("MA").ru("Массачусетс")),this._usStates.add(new Ae.al.StiIsoCountry("Michigan","Mich.").iso("MI").ru("Мичиган")),this._usStates.add(new Ae.al.StiIsoCountry("Minnesota","Minn.","Mn.").iso("MN").ru("Миннесота")),this._usStates.add(new Ae.al.StiIsoCountry("Mississippi","Miss.").iso("MS").ru("Миссисипи")),this._usStates.add(new Ae.al.StiIsoCountry("Missouri","Mo.").iso("MO").ru("Миссури")),this._usStates.add(new Ae.al.StiIsoCountry("Montana","Mont.").iso("MT").ru("Монтана")),this._usStates.add(new Ae.al.StiIsoCountry("Nebraska","Nebr.","Neb.").iso("NE").ru("Небраска")),this._usStates.add(new Ae.al.StiIsoCountry("Nevada","Nev.","Nv.").iso("NV").ru("Невада")),this._usStates.add(new Ae.al.StiIsoCountry("New Hampshire","N.H.").iso("NH").ru("Нью-Гемпшир")),this._usStates.add(new Ae.al.StiIsoCountry("New Jersey","N.J.","N. Jersey").iso("NJ").ru("Нью-Джерси")),this._usStates.add(new Ae.al.StiIsoCountry("New Mexico","N. Mex.","N.M.","New M.").iso("NM").ru("Нью-Мексико")),this._usStates.add(new Ae.al.StiIsoCountry("New York","N.Y.","N. York").iso("NY").ru("Нью-Йорк")),this._usStates.add(new Ae.al.StiIsoCountry("North Carolina","N.C.","N. Car.").iso("NC").ru("Северная Каролина")),this._usStates.add(new Ae.al.StiIsoCountry("North Dakota","N. Dak.","N.D.","NoDak").iso("ND").ru("Северная Дакота")),this._usStates.add(new Ae.al.StiIsoCountry("Northern Mariana Islands","M.P.","CNMI").iso("MP","MNP").ru("Северные Марианские острова")),this._usStates.add(new Ae.al.StiIsoCountry("Ohio","O.","Oh.").iso("OH").ru("Огайо")),this._usStates.add(new Ae.al.StiIsoCountry("Oklahoma","Okla.","Ok.").iso("OK").ru("Оклахома")),this._usStates.add(new Ae.al.StiIsoCountry("Oregon","Oreg.","Ore.","Or.").iso("OR").ru("Орегон")),this._usStates.add(new Ae.al.StiIsoCountry("Pennsylvania","Pa.","Penn.","Penna.").iso("PA").ru("Пенсильвания")),this._usStates.add(new Ae.al.StiIsoCountry("Puerto Rico","P.R.").iso("PR","PRI").ru("Пуэрто - Рико")),this._usStates.add(new Ae.al.StiIsoCountry("Rhode Island","R.I.","P.P.","R. Isl.").iso("RI").ru("Род-Айленд")),this._usStates.add(new Ae.al.StiIsoCountry("South Carolina","S.C.","S. Car.").iso("SC").ru("Южная Каролина")),this._usStates.add(new Ae.al.StiIsoCountry("South Dakota","S. Dak.","S.D.","SoDak").iso("SD").ru("Южная Дакота")),this._usStates.add(new Ae.al.StiIsoCountry("Tennessee","Tenn.").iso("TN").ru("Теннесси")),this._usStates.add(new Ae.al.StiIsoCountry("Texas","Tex.","Tx.").iso("TX").ru("Техас")),this._usStates.add(new Ae.al.StiIsoCountry("US Minor Outlying Islands").iso("WY","UMI").ru("Внешние малые острова")),this._usStates.add(new Ae.al.StiIsoCountry("US Virgin Islands","V.I.","U.S.V.I.").iso("VI","ASM").ru("Американские Виргинские острова")),this._usStates.add(new Ae.al.StiIsoCountry("Utah","Ut.").iso("UT").ru("Юта")),this._usStates.add(new Ae.al.StiIsoCountry("Vermont","Vt.").iso("VT").ru("Вермонт")),this._usStates.add(new Ae.al.StiIsoCountry("Virginia","Va.","Virg.").iso("VA","VIR").ru("Виргиния")),this._usStates.add(new Ae.al.StiIsoCountry("Washington","Wash.","Wa.","Wn.").iso("WA").ru("Вашингтон")),this._usStates.add(new Ae.al.StiIsoCountry("West Virginia","W. Va.","W.V.","W. Virg.").iso("WV").ru("Западная Виргиния")),this._usStates.add(new Ae.al.StiIsoCountry("Wisconsin","Wis.","Wi.","Wisc.").iso("WI").ru("Висконсин")),this._usStates.add(new Ae.al.StiIsoCountry("Wyoming","Wyo.","Wy.").iso("WY").ru("Вайоминг"))}static initializeCanadaProvinces(){this._canadaProvinces.add(new Ae.al.StiIsoCountry("Alberta").iso("AB").fr("Alberta").ru("Альберта")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("British Columbia").iso("BC").fr("Colombie-Britannique").ru("Британская Колумбия")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Manitoba").iso("MB").fr("Manitoba").ru("Манитоба")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("New Brunswick").iso("NB").fr("Nouveau-Brunswick").ru("Нью-Брансуик")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Newfoundland and Labrador").iso("NL").fr("Terre-Neuve-et-Labrador").ru("Ньюфаундленд и Лабрадор")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Nova Scotia").iso("NS").fr("Nouvelle-Écosse").ru("Новая Шотландия")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Northwest Territories").iso("NT").fr("Territoires du Nord-Ouest").ru("Северо-западные территории")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Nunavut").iso("NU").fr("Nunavut").ru("Нунавут")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Ontario").iso("ON").fr("Ontario").ru("Онтарио")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Prince Edward Island").iso("PE").fr("Île-du-Prince-Édouard").ru("Остров Принца Эдуарда")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Quebec").iso("QC").fr("Québec").ru("Квебек")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Saskatchewan").iso("SK").fr("Saskatchewan").ru("Саскачеван")),this._canadaProvinces.add(new Ae.al.StiIsoCountry("Yukon").iso("YT").fr("Yukon").ru("Юкон"))}static initializeBrazilProvinces(){this._brazilProvinces.add(new Ae.al.StiIsoCountry("Roraima").iso("AB").fr("Roraima").ru("Рорайма")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Amazonas").iso("AM").fr("Amazonas").ru("Амазонас")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Para").iso("PA").fr("Pará").ru("Пара")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Amapa").iso("AP").fr("Amapá").ru("Амапа")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Acre").iso("AC").fr("Acre").ru("Акри")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Rondonia").iso("RO").fr("Rondônia").ru("Рондония")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Mato Grosso").iso("MT").fr("Mato Grosso").ru("Мату-Гросу")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Maranhao").iso("MA").fr("Maranhão").ru("Мараньян")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Piaui").iso("PI").fr("Piauí").ru("Пиауи")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Ceara").iso("CE").fr("Ceará").ru("Сеара")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Rio Grande do Norte").iso("RN").fr("Rio Grande do Norte").ru("Риу-Гранди-ду-Норти")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Paraiba").iso("PB").fr("Paraïba").ru("Параиба")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Pernambuco").iso("PE").fr("Pernambouc").ru("Пернамбуку")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Alagoas").iso("AL").fr("Alagoas").ru("Алагоас")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Sergipe").iso("SE").fr("Sergipe").ru("Сержипи")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Bahia").iso("BA").fr("Bahia").ru("Баия")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Tocantins").iso("TO").fr("Tocantins").ru("Токантинс")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Goias").iso("GO").fr("Goiás").ru("Гояс")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Minas Gerais").iso("MG").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Espirito Santo").iso("ES").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Rio de Janeiro").iso("RJ").fr("Rio de Janeiro").ru("Рио-де-Жанейро")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Sao Paulo").iso("SP").fr("São Paulo").ru("Сан-Паулу")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Parana").iso("PR").fr("Paraná").ru("Парана")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Santa Catarina").iso("SC").fr("Santa Catarina").ru("Санта-Катарина")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Rio Grande do Sul").iso("RS").fr("Rio Grande do Sul").ru("Риу-Гранди-ду-Сул")),this._brazilProvinces.add(new Ae.al.StiIsoCountry("Mato Grosso do Sul").iso("MS").fr("Mato Grosso do Sul").ru("Мату-Гросу-ду-Сул"))}};Ae.al.StiIsoElementHelper=r}Ae.aO.StiGssMapHelper=class{static allowGss(t){return"UKCountries"==t}static get(t){if(!this.allowGss(t))return null;return null==this.hash&&(this.hash=new Ri),this.hash.contains(t)||this.init(t),this.hash.get(t)}static init(t){switch(t){case"UKCountries":this.initUKCountries();break}}static isGssValue(t){if(null==t)return!1;let e=t.toLowerCase();return e.stimulsoft().startsWith("s12")||e.stimulsoft().startsWith("e06")||e.stimulsoft().startsWith("e10")||e.stimulsoft().startsWith("e07")||e.stimulsoft().startsWith("e09")||e.stimulsoft().startsWith("n09")||e.stimulsoft().startsWith("w06")||e.stimulsoft().startsWith("s12")||e.stimulsoft().startsWith("e08")||e.stimulsoft().startsWith("e11")}static add(t,e,r){null!=r&&t.add(r.toLowerCase(),e)}static initUKCountries(){var t=new Ri;this.add(t,"EastAyrshire","S12000008"),this.add(t,"EastDunbartonshire","S12000045"),this.add(t,"EastRenfrewshire","S12000011"),this.add(t,"Glasgow","S12000046"),this.add(t,"Inverclyde","S12000018"),this.add(t,"NorthAyshire","S12000021"),this.add(t,"NorthLanarkshire","S12000044"),this.add(t,"Renfrewshire","S12000038"),this.add(t,"SouthAyrshire","S12000028"),this.add(t,"SouthLanarkshire","S12000029"),this.add(t,"WestDunbartonshire","S12000039"),this.add(t,"Aberdeen","S12000033"),this.add(t,"Aberdeenshire","S12000034"),this.add(t,"Moray","S12000020"),this.add(t,"Falkirk","S12000014"),this.add(t,"Stirling","S12000030"),this.add(t,"Clackmannanshire","S12000005"),this.add(t,"PerthshireAndKinross","S12000024"),this.add(t,"Angus","S12000041"),this.add(t,"Dundee","S12000042"),this.add(t,"Fife","S12000015"),this.add(t,"EastLothian","S12000010"),this.add(t,"Edinburgh","S12000036"),this.add(t,"Midlothian","S12000019"),this.add(t,"WestLothian","S12000040"),this.add(t,"ScottishBorders","S12000026"),this.add(t,"Darlington","E06000005"),this.add(t,"Durham","E06000047"),this.add(t,"Hartlepool","E06000001"),this.add(t,"Middlesbrough","E06000002"),this.add(t,"RedcarAndCleveland","E06000003"),this.add(t,"StocktonOnTees","E06000004"),this.add(t,"Northumberland","E06000057"),this.add(t,"Hampshire","E10000014"),this.add(t,"Southampton","E06000045"),this.add(t,"MiltonKeynes","E06000042"),this.add(t,"Gloucestershire","E07000081"),this.add(t,"Buckinghamshire","E10000002"),this.add(t,"Hertfordshire","E10000015"),this.add(t,"BathAndNorthEastSomerset","E06000022"),this.add(t,"Bristol","E06000023"),this.add(t,"NorthSomerset","E06000024"),this.add(t,"SouthGloucestershire","E06000025"),this.add(t,"Somerset","E10000027"),this.add(t,"Devon","E10000008"),this.add(t,"Bournemouth","E06000028"),this.add(t,"Dorset","E10000009"),this.add(t,"Poole","E06000029"),this.add(t,"Cambridgeshire","E07000008"),this.add(t,"Leicestershire","E07000134"),this.add(t,"KingstonUponHull","E06000010"),this.add(t,"NorthEastLincolnshire","E06000012"),this.add(t,"NorthLincolnshire","E06000013"),this.add(t,"Derby","E06000015"),this.add(t,"Derbyshire","E07000035"),this.add(t,"BarkingAndDagenham","E09000002"),this.add(t,"Bexley","E09000004"),this.add(t,"Brent","E09000005"),this.add(t,"Bromley","E09000006"),this.add(t,"Camden","E09000007"),this.add(t,"Croydon","E09000008"),this.add(t,"Ealing","E09000009"),this.add(t,"Enfield","E09000010"),this.add(t,"Greenwich","E09000011"),this.add(t,"HammersmithAndFulham","E09000013"),this.add(t,"Hounslow","E09000018"),this.add(t,"Islington","E09000019"),this.add(t,"KensingtonAndChelsea","E09000020"),this.add(t,"Merton","E09000024"),this.add(t,"Redbridge","E09000026"),this.add(t,"RichmondUponThames","E09000027"),this.add(t,"Sutton","E09000029"),this.add(t,"TowerHamlets","E09000030"),this.add(t,"WalthamForest","E09000031"),this.add(t,"Wandsworth","E09000032"),this.add(t,"Westminster","E09000033"),this.add(t,"Lincolnshire","E07000138"),this.add(t,"Belfast","N09000003"),this.add(t,"Derry",null),this.add(t,"Omagh",null),this.add(t,"Armagh",null),this.add(t,"NewryAndMourne",null),this.add(t,"Banbridge",null),this.add(t,"Craigavon",null),this.add(t,"Dungannon",null),this.add(t,"Lisburn",null),this.add(t,"Cookstown",null),this.add(t,"Antrim",null),this.add(t,"Magherafelt",null),this.add(t,"Ballymena",null),this.add(t,"Larne",null),this.add(t,"Carrickfergus",null),this.add(t,"Newtownabbey",null),this.add(t,"NorthDown",null),this.add(t,"Down",null),this.add(t,"Coleraine",null),this.add(t,"Ballymoney",null),this.add(t,"Limavady",null),this.add(t,"Castlereagh",null),this.add(t,"Carmarthenshire","W06000010"),this.add(t,"Ceredigion","W06000008"),this.add(t,"Pembrokeshire","W06000009"),this.add(t,"Cornwall","E06000052"),this.add(t,"Powys","W06000023"),this.add(t,"Bridgend","W06000013"),this.add(t,"Caerphilly","W06000018"),this.add(t,"MerthyrTydfil","W06000024"),this.add(t,"RhonddaCynonTaf","W06000016"),this.add(t,"Cardiff","W06000015"),this.add(t,"ValeOfGlamorgan","W06000014"),this.add(t,"NeathPortTalbot","W06000012"),this.add(t,"Swansea","W06000011"),this.add(t,"York","E06000014"),this.add(t,"TelfordAndWrekin","E06000020"),this.add(t,"BlackburnWithDarwen","E06000008"),this.add(t,"Lancashire","E10000017"),this.add(t,"EastRidingOfYorkshire","E06000011"),this.add(t,"Denbighshire","W06000004"),this.add(t,"Flintshire","W06000005"),this.add(t,"Wrexham","W06000006"),this.add(t,"Anglesey","W06000001"),this.add(t,"Conwy","W06000003"),this.add(t,"Gwynedd","W06000002"),this.add(t,"BlaenauGwent","W06000019"),this.add(t,"Monmouthshire","W06000021"),this.add(t,"Newport","W06000022"),this.add(t,"Torfaen","W06000020"),this.add(t,"Strabane",null),this.add(t,"Fermanagh",null),this.add(t,"Ards",null),this.add(t,"DumfriesAndGalloway","S12000006"),this.add(t,"Cumbria","E10000006"),this.add(t,"NorthYorkshire","E10000023"),this.add(t,"Plymouth","E06000026"),this.add(t,"Torbay","E06000027"),this.add(t,"Essex","E10000012"),this.add(t,"Suffolk","E10000029"),this.add(t,"Norfolk","E10000020"),this.add(t,"BrightonAndHove","E06000043"),this.add(t,"Havering","E09000016"),this.add(t,"Thurrock","E06000034"),this.add(t,"EastSussex","E10000011"),this.add(t,"Medway","E06000035"),this.add(t,"SouthendOnSea","E06000033"),this.add(t,"Orkney","S12000023"),this.add(t,"Highland","S12000017"),this.add(t,"ArgyllAndBute","S12000035"),this.add(t,"ShetlandIslands","S12000027"),this.add(t,"WestSussex","E10000032"),this.add(t,"Northamptonshire","E07000152"),this.add(t,"Warwickshire","E07000218"),this.add(t,"Oxfordshire","E07000178"),this.add(t,"Luton","E06000032"),this.add(t,"Hillingdon","E09000017"),this.add(t,"KingstonUponThames","E09000021"),this.add(t,"Surrey","E10000030"),this.add(t,"Swindon","E06000030"),this.add(t,"Wiltshire","E06000054"),this.add(t,"IsleOfWight","E06000046"),this.add(t,"Portsmouth","E06000044"),this.add(t,"Peterborough","E06000031"),this.add(t,"Leicester","E06000016"),this.add(t,"Rutland","E06000017"),this.add(t,"Nottingham","E06000018"),this.add(t,"Nottinghamshire","E10000024"),this.add(t,"Hackney","E09000012"),this.add(t,"Haringey","E09000014"),this.add(t,"Harrow","E09000015"),this.add(t,"Lambeth","E09000022"),this.add(t,"Lewisham","E09000023"),this.add(t,"Newham","E09000025"),this.add(t,"Southwark","E09000028"),this.add(t,"EileanSiar","S12000013"),this.add(t,"Moyle",null),this.add(t,"Warrington","E06000007"),this.add(t,"Herefordshire","E06000019"),this.add(t,"Worcestershire","E07000237"),this.add(t,"Staffordshire","E07000193"),this.add(t,"StokeOnTrent","E06000021"),this.add(t,"Shropshire","E06000051"),this.add(t,"Kent","E10000016"),this.add(t,"City","E09000001"),this.add(t,"NewcastleUponTyne","E08000021"),this.add(t,"NorthTyneside","E08000022"),this.add(t,"SouthTyneside","E08000023"),this.add(t,"Sunderland","E08000024"),this.add(t,"Gateshead","E08000037"),this.add(t,"Knowsley","E08000011"),this.add(t,"Sefton","E08000014"),this.add(t,"Liverpool","E08000012"),this.add(t,"Merseyside","E11000002"),this.add(t,"Blackpool","E06000009"),this.add(t,"Kirklees","E08000034"),this.add(t,"Calderdale","E08000033"),this.add(t,"Bradford","E08000032"),this.add(t,"Leeds","E08000035"),this.add(t,"Wakefield","E08000036"),this.add(t,"Salford","E08000006"),this.add(t,"Wigan","E08000010"),this.add(t,"Bolton","E08000001"),this.add(t,"Bury","E08000002"),this.add(t,"Rochdale","E08000005"),this.add(t,"Oldham","E08000004"),this.add(t,"Tameside","E08000008"),this.add(t,"Stockport","E08000007"),this.add(t,"Manchester","E08000003"),this.add(t,"Trafford","E08000009"),this.add(t,"Rotherham","E08000018"),this.add(t,"Sheffield","E08000019"),this.add(t,"Barnsley","E08000016"),this.add(t,"Doncaster","E08000017"),this.add(t,"Birmingham","E08000025"),this.add(t,"Sandwell","E08000028"),this.add(t,"Dudley","E08000027"),this.add(t,"Wolverhampton","E08000031"),this.add(t,"Walsall","E08000030"),this.add(t,"Solihull","E08000029"),this.add(t,"Coventry","E08000026"),this.add(t,"CentralBedfordshire","E06000056"),this.add(t,"Bedford","E06000055"),this.add(t,"Reading","E06000038"),this.add(t,"WestBerkshire","E06000037"),this.add(t,"Wokingham","E06000041"),this.add(t,"BracknellForest","E06000036"),this.add(t,"RoyalBoroughOfWindsorAndMaidenhead","E06000040"),this.add(t,"Slough","E06000039"),this.add(t,"Barnet","E09000003"),this.add(t,"CheshireEast","E06000049"),this.add(t,"CheshireWestAndChester","E06000050"),this.add(t,"Halton","E06000006"),this.add(t,"IslesOfScilly","E06000053"),this.hash.add("UKCountries",t)}};let Rw=Ae.aO.StiGssMapHelper;{let n=class{getMapIdents(t){t=n.simplify(t);let e=new Ee,r=n.getMapIdents2(t,Ae.al.StiIsoElementHelper.countries);null!=r&&e.addRange(r);var i=this.getIsoAlpha2FromName(t);De.isNullOrWhiteSpace(i)||e.add(i);var i=this.getIsoAlpha3FromName(t);return De.isNullOrWhiteSpace(i)||e.add(i),0==e.length&&(r=n.getMapIdents2(t,Ae.al.StiIsoElementHelper.usStates),null!=r&&e.addRange(r)),0==e.length&&(r=n.getMapIdents2(t,Ae.al.StiIsoElementHelper.canadaProvinces),null!=r&&e.addRange(r)),0==e.length&&(r=n.getMapIdents2(t,Ae.al.StiIsoElementHelper.brazilProvinces),null!=r&&e.addRange(r)),e.add(t),e}static getMapIdents2(e,t){for(var r of t)if(n.simplify(r.alpha2)==e||n.simplify(r.alpha3)==e||null!=r.names&&r.names.any(t=>n.simplify(t)==e)||null!=r.frNames&&r.frNames.any(t=>n.simplify(t)==e)||null!=r.ruNames&&r.ruNames.any(t=>n.simplify(t)==e)){let t=new Ee;return null!=r.names&&t.addRange(r.names),null!=r.ruNames&&t.addRange(r.ruNames),null!=r.frNames&&t.addRange(r.frNames),t}return null}getNameFromIsoAlpha2(t,e=null,r=null){var r=Ae.al.StiMapResourceHelper.getSvgBlockFromName(t,e,r);if(null!=r)return r.englishName;let i=Ae.al.StiIsoElementHelper.getCountryFromAlpha2(t,e);if(null!=i)return i.names.toList().firstOrDefault();var t=Ae.al.StiRegionInfoHelper.getNameFromIsoAlpha2(t);if(null!=t)return t;return null}getNameFromIsoAlpha3(t,e=null,r=null){var r=Ae.al.StiMapResourceHelper.getSvgBlockFromName(t,e,r);if(null!=r)return r.englishName;let i=Ae.al.StiIsoElementHelper.getCountryFromAlpha3(t,e);if(null!=i)return i.names.toList().firstOrDefault();var t=Ae.al.StiRegionInfoHelper.getNameFromIsoAlpha3(t);if(null!=t)return t;return null}normalizeName(t,e=null,r=null){var i=this.getIsoAlpha2FromName(t,e,r),r=this.getNameFromIsoAlpha2(i,e,r);return De.isNullOrWhiteSpace(r)?t:r}getIsoAlpha2FromName(t,e=null,r=null){let i=Ae.al.StiMapResourceHelper.getIsoAlpha2FromName(t,e,r);if(null!=i)return i;if(i=Ae.al.StiIsoElementHelper.getIsoAlpha2FromName(t,e),null!=i)return i;if(i=Ae.al.StiRegionInfoHelper.getIsoAlpha2FromName(t),null!=i)return i;return null}getIsoAlpha3FromName(t,e=null,r=null){let i=Ae.al.StiMapResourceHelper.getIsoAlpha3FromName(t,e,r);if(null!=i)return i;if(i=Ae.al.StiIsoElementHelper.getIsoAlpha3FromName(t,e),null!=i)return i;if(i=Ae.al.StiRegionInfoHelper.getIsoAlpha3FromName(t),null!=i)return i;return null}convertMapKeysToIsoAlpha2(t,e,r=null){if(null==t||0==t.length)return null;return t.select(t=>Ae.al.StiMapResourceHelper.getIsoAlpha2FromName(t,e,r)).where(t=>!De.isNullOrWhiteSpace(t)).distinct().toList()}getMapKeysFromNames(t,e,r=null){if(null==t)return null;return t.select(t=>null==t?void 0:t.toString(),this).select(t=>this.getMapKeyFromName(t,e,r),this).toList()}getMapKeyFromName(t,e,r=null){if(Rw.isGssValue(t))return t;var i=(new n).getIsoAlpha2FromName(t,e,r),r=Ae.al.StiMapResourceHelper.getSvgBlockFromIsoAlpha2(i,e,r);if(null==i)return t;return null!=r?r.key:null}static simplify(t){return null==t?t:t.toLowerCase().stimulsoft().replaceAll(" ","").stimulsoft().replaceAll("-","")}};Ae.al.StiMapKeyHelper=n}Ae.ah.StiMapGeomsContainer=class{constructor(){this.geoms=[]}},Ae.ah.StiMapGeomsObject=class{constructor(){this.geoms=[]}},Ae.ah.StiMapGeom=class{get geomType(){return null}getLastPoint(){throw new Error("Not supported!")}},Ae.ah.StiMoveToMapGeom=class extends Ae.ah.StiMapGeom{get geomType(){return Ae.ah.StiMapGeomType.MoveTo}getLastPoint(){return new kr(this.x,this.y)}},Ae.ah.StiLineMapGeom=class extends Ae.ah.StiMapGeom{get geomType(){return Ae.ah.StiMapGeomType.Line}getLastPoint(){return new kr(this.x,this.y)}},Ae.ah.StiBezierMapGeom=class extends Ae.ah.StiMapGeom{get geomType(){return Ae.ah.StiMapGeomType.Bezier}getLastPoint(){return new kr(this.x3,this.y3)}},Ae.ah.StiBeziersMapGeom=class extends Ae.ah.StiMapGeom{get geomType(){return Ae.ah.StiMapGeomType.Beziers}getLastPoint(){return new kr(this.array[this.array.length-2],this.array[this.array.length-1])}},Ae.ah.StiCloseMapGeom=class extends Ae.ah.StiMapGeom{get geomType(){return Ae.ah.StiMapGeomType.Close}},Ae.ah.StiMapGeomCollection=class extends Ee{getLastPoint(){if(0==this.length)return new kr;let t=this[this.length-1];if(t.geomType==Ae.ah.StiMapGeomType.Close&&0<this.length)return t=this[this.length-2],t.getLastPoint();return new kr}};let Lw=Ae.ah.StiMapGeomCollection,Mw=Ae.ah.StiMapGeomsContainer,Ow=Ae.ah.StiMapGeomsObject,Hw=Ae.ah.StiMoveToMapGeom,_w=Ae.ah.StiLineMapGeom,Vw=Ae.ah.StiBezierMapGeom,Gw=Ae.ah.StiBeziersMapGeom,Uw=Ae.ah.StiCloseMapGeom;{let m;(l=m=m||{})[l["None"]=0]="None",l[l["MoveToM"]=1]="MoveToM",l[l["MoveTom"]=2]="MoveTom",l[l["Line_L"]=3]="Line_L",l[l["Line_l"]=4]="Line_l",l[l["Bezier_C"]=5]="Bezier_C",l[l["Bezier_c"]=6]="Bezier_c",l[l["Beziers_S"]=7]="Beziers_S",l[l["Beziers_s"]=8]="Beziers_s",l[l["VerticalLineto_V"]=9]="VerticalLineto_V",l[l["VerticalLineto_v"]=10]="VerticalLineto_v",l[l["HorizontalLineto_H"]=11]="HorizontalLineto_H",l[l["HorizontalLineto_h"]=12]="HorizontalLineto_h",l[l["Close"]=13]="Close";let o=class{static deleteAllCustomMaps(){if(null!=o.hashMaps&&0<o.hashMaps.count){let t=[];for(var e of o.hashMaps.keys){var r;o.hashMaps.get(e).isCustom&&t.push(e)}for(var i of t)o.hashMaps.remove(i)}}static loadResource(r,i){null==o.hashMaps&&(o.hashMaps=new Dt);var n=De.format("Stimulsoft.Report.Infographics.Maps.Resources.{0}.json",i);if(!o.hashMaps.containsKey(n)){if(yv.isCustom(i)){let t=yv.getContainer(r,i);return t.prepare(),o.hashMaps.add(n,t),t}let e=new Ae.aC.StiMapSvgContainer;if(null==Ae.aC["StiMapResources"+i])return Ae.b.StiError.showError("You cannot load a map. Please include js library 'stimulsoft.report.maps.js' !",!0),e;var i=km.unpack(Ae.aC["StiMapResources"+i][i]),i=JSON.parse(i),a,s;e.name=i.Name,e.width=i.Width,e.height=i.Height;for(a of i.Paths){let t=new Ae.aC.StiMapSvg;t.data=a.Data,t.key=a.Key,t.englishName=a.EnglishName,t.iSOCode=a.ISOCode,null!=a.SetMaxWidth&&(t.setMaxWidth=a.SetMaxWidth),null!=a.SkipText&&(t.skipText=a.SkipText),null!=a.HorAlignment&&(t.horAlignment=Zt.parse(Bs,a.HorAlignment)),null!=a.VertAlignment&&(t.vertAlignment=Zt.parse(Go,a.VertAlignment)),null==a.Rect||3<(s=a.Rect.toString().split(",")).length&&(t.rect=new Tr(parseInt(s[0]),parseInt(s[1]),parseInt(s[2]),parseInt(s[3]))),e.paths.push(t)}return e.prepare(),o.hashMaps.add(n,e),e}return o.hashMaps.get(n)}static getGeomsObject(t,e){let r=o.loadResource(t,e),i=new Mw;i.width=r.width,i.height=r.height,i.name=r.name;for(var n of r.hashPaths.keys){var a=r.hashPaths.get(n).toString();let t=new Ow;t.name=n,t.geoms=o.parsePath(a),i.geoms.push(t)}return i}static createGeom(t,n,e,r,a,s=!1){switch(t){case m.MoveToM:{if(2!=n.length){if(s)return;throw new Error("NotSupportedException")}let t=new Hw;t.x=Ne.round2(n[0],3),t.y=Ne.round2(n[1],3),a.add(t)}break;case m.MoveTom:{if(2!=n.length){if(s)return;throw new Error("NotSupportedException")}var i=a.getLastPoint();let t=new Hw;t.x=Ne.round2(i.x+n[0],3),t.y=Ne.round2(i.y+n[1],3),a.add(t)}break;case m.Line_L:{if(2!=n.length){if(s)return;throw new Error("NotSupportedException")}let t=new _w;t.x=Ne.round2(n[0],3),t.y=Ne.round2(n[1],3),a.add(t)}break;case m.Line_l:{if(2!=n.length){if(s)return;throw new Error("NotSupportedException")}var o=a[a.length-1].getLastPoint();let t=new _w;t.x=Ne.round2(o.x+n[0],3),t.y=Ne.round2(o.y+n[1],3),a.add(t)}break;case m.Bezier_C:{if(n.length%6!=0){if(s)return;throw new Error("NotSupportedException")}var l=n.length/6;let e=0;for(let t=0;t<l;t++){let t=new Vw;t.x1=Ne.round2(n[e],3),t.y1=Ne.round2(n[e+1],3),t.x2=Ne.round2(n[e+2],3),t.y2=Ne.round2(n[e+3],3),t.x3=Ne.round2(n[e+4],3),t.y3=Ne.round2(n[e+5],3),a.add(t),e+=6}}break;case m.Bezier_c:{if(6!=n.length){if(s)return;throw new Error("NotSupportedException")}var o=a[a.length-1].getLastPoint();let t=new Vw;t.x1=Ne.round2(o.x+n[0],3),t.y1=Ne.round2(o.y+n[1],3),t.x2=Ne.round2(o.x+n[2],3),t.y2=Ne.round2(o.y+n[3],3),t.x3=Ne.round2(o.x+n[4],3),t.y3=Ne.round2(o.y+n[5],3),a.add(t)}break;case m.VerticalLineto_V:{if(1!=n.length){if(s)return;throw new Error("NotSupportedException")}var u=a[a.length-1].getLastPoint();let t=new _w;t.x=Ne.round2(u.x,3),t.y=Ne.round2(n[0],3),a.add(t)}break;case m.VerticalLineto_v:{if(1!=n.length){if(s)return;throw new Error("NotSupportedException")}var u=a[a.length-1].getLastPoint();let t=new _w;t.x=Ne.round2(u.x,3),t.y=Ne.round2(u.y+n[0],3),a.add(t)}break;case m.HorizontalLineto_H:{if(1!=n.length)throw new Error("");var h=a[a.length-1].getLastPoint();let t=new _w;t.x=Ne.round2(n[0],3),t.y=Ne.round2(h.y,3),a.add(t)}break;case m.HorizontalLineto_h:{if(1!=n.length){if(s)return;throw new Error("NotSupportedException")}var h=a[a.length-1].getLastPoint();let t=new _w;t.x=Ne.round2(h.x+n[0],3),t.y=Ne.round2(h.y,3),a.add(t)}break;case m.Beziers_S:{if(n.length<6){if(s)return;throw new Error("NotSupportedException")}let t=[];for(var c of n)t.push(Ne.round2(c,3));let e=new Gw;e.array=t.stimulsoft().toArray(),a.add(e)}break;case m.Beziers_s:{if(n.length<6){if(s)return;throw new Error("NotSupportedException")}let t=a[a.length-1].getLastPoint();t.x+=n[4],t.y+=n[5];let e=!0,r=[];for(var d of n){var d=e?d+t.x:d+t.y;r.push(Ne.round2(d,3)),e=!e}let i=new Gw;i.array=r.stimulsoft().toArray(),a.add(i),r.stimulsoft().clear(),r=null}break;case m.Close:if(0!=n.length){if(s)return;throw new Error("NotSupportedException")}a.add(new Uw);break}n.stimulsoft().clear()}static parsePath(a){try{var s=new Lw;let t=0,e=m.None,r=0,i=[],n=0;var o=a.length,l;while(n<o){switch(a[n]){case"M":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.MoveToM,t=n+1,r=t;break;case"m":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.MoveTom,t=n+1,r=t;break;case"C":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.Bezier_C,t=n+1,r=t;break;case"c":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.Bezier_c,t=n+1,r=t;break;case"S":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e=m.Beziers_S,t=n+1,r=t;break;case"s":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e=m.Beziers_s,t=n+1,r=t;break;case"L":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.Line_L,t=n+1,r=t;break;case"l":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.Line_l,t=n+1,r=t;break;case"Z":case"z":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.Close,t=n+1,r=t;break;case"V":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.VerticalLineto_V,t=n+1,r=t;break;case"v":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.VerticalLineto_v,t=n+1,r=t;break;case"H":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.HorizontalLineto_H,t=n+1,r=t;break;case"h":i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&this.createGeom(e,i,t,n,s),e=m.HorizontalLineto_h,t=n+1,r=t;break;case"-":i.push(a.substr(r,n-r).stimulsoft().toNumber()),r=n;break;case",":case" ":i.push(a.substr(r,n-r).stimulsoft().toNumber()),r=n+1,2==i.length&&(e==m.MoveToM||e==m.MoveTom?(this.createGeom(e,i,t,n,s),e=m.None):e==m.None&&this.createGeom(m.Line_l,i,t,n,s));break;case"Q":case"q":case"T":case"t":case"A":case"a":throw new Error("")}n++}return i.push(a.substr(r,n-r).stimulsoft().toNumber()),e!=m.None&&1<i.length&&this.createGeom(e,i,t,n,s),s}finally{}}};Ae.aC.StiMapLoader=o}let jw=Ae.aC.StiMapLoader,Ww=Ae.aC.StiMapID;Ae.al.StiMapResourceHelper=class{static getSvgBlockFromIsoAlpha2(t,e=null,r=null){if(De.isNullOrWhiteSpace(t))return null;var r=this.getResource(e,r);if(null==r)return null;var i=Ae.al.StiMapKeyHelper.simplify(t),n;for(n of r.hashPaths.values)if(Ae.al.StiMapKeyHelper.simplify(n.iSOCode)==i)return n;return null}static getSvgBlockFromName(t,e=null,r=null){if(De.isNullOrWhiteSpace(t))return null;var r=this.getResource(e,r);if(null==r)return null;var i=Ae.al.StiMapKeyHelper.simplify(t),n=Ae.al.StiMapKeyHelper.simplify(this.decodeAlpha(t)),a;for(a of r.hashPaths.values)if(Ae.al.StiMapKeyHelper.simplify(a.key)==i||Ae.al.StiMapKeyHelper.simplify(a.englishName)==i||Ae.al.StiMapKeyHelper.simplify(a.iSOCode)==i||Ae.al.StiMapKeyHelper.simplify(a.iSOCode)==n)return a;return null}static getIsoAlpha2FromName(t,e=null,r=null){var r=this.getSvgBlockFromName(t,e,r);return null!=r?r.iSOCode:null}static getIsoAlpha3FromName(t,e=null,r=null){var r=this.getIsoAlpha2FromName(t,e,r);if(null==r)return null;var e=Ae.al.StiIsoElementHelper.getCountryFromAlpha2(r,e);return null!=e?e.alpha3:null}static getResource(t,e=null){return t=De.isNullOrWhiteSpace(t)?Zt.getName(Ww,Ww.World):t.stimulsoft().replaceAll(" ",""),jw.loadResource(e,t)}static decodeAlpha(t){if(null==t)return t;if(!(5==t.length&&Be.isLetter(t[0])&&Be.isLetter(t[1])&&"-"==t[2]&&Be.isLetter(t[3])&&Be.isLetter(t[4])))return t;var t=t.split("-");if(t.length<2)return null;return t[1]}};let qw=Ae.bh.RegionInfo;Ae.al.StiRegionInfoHelper=class{static getIsoAlpha2FromName(t){var t=this.getRegionInfoFromName(t);return null!=t?t.twoLetterISORegionName:null}static getIsoAlpha3FromName(t){var t=this.getRegionInfoFromName(t);return null!=t?t.threeLetterISORegionName:null}static getNameFromIsoAlpha2(t){var t=this.getRegionInfoFromName(t);return null!=t?t.name:null}static getNameFromIsoAlpha3(t){var t=this.getRegionInfoFromName(t);return null!=t?t.name:null}static getLocalizedNameFromIsoAlpha2(t){var t=this.getRegionInfoFromName(t);return null!=t?t.nativeName:null}static getLocalizedNameFromIsoAlpha3(t){var t=this.getRegionInfoFromName(t);return null!=t?t.nativeName:null}static getRegionInfoFromName(t){let e=Ae.al.StiMapKeyHelper.simplify(t);return this.getAllRegions().firstOrDefault(t=>Ae.al.StiMapKeyHelper.simplify(t.name)==e||Ae.al.StiMapKeyHelper.simplify(t.nativeName)==e||Ae.al.StiMapKeyHelper.simplify(t.threeLetterISORegionName)==e||Ae.al.StiMapKeyHelper.simplify(t.threeLetterWindowsRegionName)==e||Ae.al.StiMapKeyHelper.simplify(t.twoLetterISORegionName)==e)}static getAllRegions(){let t=new Ee;for(var e in xt.cultures){var e=xt.cultures[e];t.add(new qw(e.name))}return t}},Ae.al.StiResourceArrayToDataSet=class{static get(t,r,e=null,i=null,n=!0,a=null){let s=Ae.al.StiHyperlinkProcessor.getResource(e,Ae.al.StiHyperlinkProcessor.getResourceNameFromHyperlink(i));if(null!=s&&null!=s.dataSet&&s.relationDirection==a)return s.dataSet;let o=new Xe;switch(t){case Zd.Excel:if(null!=r)try{var l=new Uint8Array(r);let e=[];for(let t=0;t!=l.length;++t)e[t]=String.fromCharCode(l[t]);var u=e.join(""),h=Ae.a.XLSX.read(u,{type:"binary",cellDates:!0});o=(new Ae.am.StiExcelDatabase).getDataSetPrivate(h)}catch(t){}break;case Zd.Csv:o.tables.add(VS.getTable2(r));break;case Zd.Xml:if(null!=r)try{o.readXml(r)}catch(t){}break;case Zd.Json:if(null!=r)try{o.tryParseDateTime=n,o.readJson(r,a)}catch(t){}break;default:throw De.format("'{0}' resource type is not supported!",Zt.getName(Zd,t))}return null!=s&&(s.dataSet=o,s.relationDirection=a),o}},Ae.al.StiResourceTypeHelper=class{static getTypeFromExtension(t){if(t=t.toLowerCase(),this.isImageType(t))return Zd.Image;switch(t){case".csv":return Zd.Csv;case".dbf":return Zd.Dbf;case".xls":case".xlsx":return Zd.Excel;case".json":return Zd.Json;case".xml":return Zd.Xml;case".xsd":return Zd.Xsd;case".ttf":return Zd.FontTtf;case".otf":return Zd.FontOtf;case".woff":return Zd.FontWoff;case".ttc":return Zd.FontTtc;case".eot":return Zd.FontEot;case".rtf":return Zd.Rtf;case".txt":return Zd.Txt;case".mrt":case".mrz":return Zd.Report;case".mdc":case".mdz":return Zd.ReportSnapshot;case".pdf":return Zd.Pdf;case".doc":case".docx":return Zd.Word;default:return null}}static isImageType(t){return this.isExtensionType(Ae.al.StiFileDialogHelper.imageExts,t)}static isTextType(t){return this.isExtensionType(Ae.al.StiFileDialogHelper.textExts,t)}static isExtensionType(t,e){return e=(e=e.stimulsoft().startsWith(".")?e.substring(1):e).toLowerCase(),t.any(t=>t==e)}};var q=class{static loadDataTableFromPackedString(t,e){if(De.isNullOrWhiteSpace(t))return null;var r=yh.unpackFromString(t);if(null==r||0==r.length)return null;return t=Ot.UTF8.getString(r),this.loadDataTableFromString(t,e)}static loadDataTableFromString(t,e){var t=this.loadStringRowsFromString(t,e);return this.loadDataTableFromStringRows(t,e)}static loadDataTableFromStringRows(t,e){let i=new ze;try{null!=t&&t.forEach(e=>{let r=i.newRow();i.rows.add(r);for(let t=0;t<e.length;t++)r.setValueByIndex(t,e[t])})}catch(t){Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}return i}static loadStringRowsFromPackedString(t,e){if(De.isNullOrWhiteSpace(t))return null;var r=yh.unpackFromString(t);if(null==r||0==r.length)return null;return t=Ot.UTF8.getString(r),this.loadStringRowsFromString(t,e)}static loadColumnsAndStringRowsFromPackedString(t,e){if(De.isNullOrWhiteSpace(t))return e.ref=[],null;var r=yh.unpackFromString(t);if(null==r||0==r.length)return e.ref=[],null;return t=Ot.UTF8.getString(r),this.loadColumnsAndStringRowsFromString(t,e)}static loadStringRowsFromString(e,t){var r;if(De.isNullOrWhiteSpace(e))return null;try{let t=null===(r=JSON.parse(e))||void 0===r?void 0:r.stimulsoft().toList();if(null==t||t.length<2)return null;return t.removeAt(0),t}catch(t){return Ae.c.StiLogService.write(this.stimulsoft().getType(),t),null}}static loadColumnsAndStringRowsFromString(e,r){var i;if(De.isNullOrWhiteSpace(e))return r.ref=[],null;try{let t=null===(i=JSON.parse(e))||void 0===i?void 0:i.stimulsoft().toList();if(null==t||t.length<2)return r.ref=[],null;return r.ref=t.firstOrDefault(),t.removeAt(0),t}catch(t){return Ae.c.StiLogService.write(this.stimulsoft().getType(),t),null}}static saveDataTableToPackedString(t){var t=this.saveDataTableToString(t);if(De.isNullOrWhiteSpace(t))return null;var t=Ot.UTF8.getBytes(t);return yh.packToString(t)}static saveDataTableToString(t){var t=this.saveDataTableToStringRows(t);if(null==t||0==t.length)return null;return JSON.stringify(t)}static saveDataTableToStringRows(t,e=!0){var r,i;let n=new Ee;if(null==t||0==t.rows.count)return null;e&&n.add(t.columns.toList().select(t=>t.columnName));for(i of t.rows.list){let e=[];for(let t=0;t<i.columns.length;t++)e.push(null===(r=i.getValueByIndex(t))||void 0===r?void 0:r.toString());if(e.every(t=>De.isNullOrWhiteSpace(t)))continue;n.add(e)}return n}static loadStringRowsFromCache(t){if(_i.isEmptyKey(null==t?void 0:t.key))return null;return null!=this.rowsCache[t.key]?this.rowsCache[t.key]:null}static loadColumnsAndStringRowsFromCache(e,r){if(_i.isEmptyKey(null==e?void 0:e.key))return r.ref=[],null;if(null!=this.rowsCache[e.key]){let t=this.rowsCache[e.key].stimulsoft().toList();return t.any()?(r.ref=t.firstOrDefault(),t.removeAt(0)):r.ref=[],t}return r.ref=[],null}static saveDataTableToCache(t,e,r=!1){if(_i.isEmptyKey(null==t?void 0:t.key)||null==e)return;this.saveStringRowsToCache(t,this.saveDataTableToStringRows(e,r))}static saveColumnsAndStringRowsToCache(t,e,r){if(null==r)return;(r=r.toList()).insert(0,e),this.saveStringRowsToCache(t,r)}static saveStringRowsToCache(t,e){if(_i.isEmptyKey(null==t?void 0:t.key)||null==e)return;this.rowsCache[t.key]=e}static removeFromCache(t){if(_i.isEmptyKey(null==t?void 0:t.key))return;null!=this.rowsCache[t.key]&&delete this.rowsCache[t.key]}},zw,Xw,Jw,Yw,Qw,Kw,Zw,$w,tC,eC,rC,iC,nC,aC,sC,oC,lC,uC,hC,l,yt,k,q,l,yt,k,q,l,yt,k,q,l,yt,k,q,l,yt,k,cC,q,dC,k;q.rowsCache={},Ae.al.StiStringsTableHelper=q,(k=zw=Ae.aE.StiGaugeRangeMode||(Ae.aE.StiGaugeRangeMode={}))[k["Percentage"]=1]="Percentage",k[k["Value"]=2]="Value",(yt=Xw=Ae.aE.StiScaleMode||(Ae.aE.StiScaleMode={}))[yt["V1"]=1]="V1",yt[yt["V2"]=2]="V2",(l=Jw=Ae.aE.StiGaugeRangeType||(Ae.aE.StiGaugeRangeType={}))[l["None"]=0]="None",l[l["Color"]=1]="Color",(q=Yw=Ae.aE.StiGaugeCalculationMode||(Ae.aE.StiGaugeCalculationMode={}))[q["Auto"]=1]="Auto",q[q["Custom"]=2]="Custom",(k=Qw=Ae.aE.StiGaugeType||(Ae.aE.StiGaugeType={}))[k["FullCircular"]=0]="FullCircular",k[k["HalfCircular"]=1]="HalfCircular",k[k["Linear"]=2]="Linear",k[k["HorizontalLinear"]=3]="HorizontalLinear",k[k["Bullet"]=4]="Bullet",(yt=Kw=Ae.aE.StiPlacement||(Ae.aE.StiPlacement={}))[yt["Outside"]=0]="Outside",yt[yt["Overlay"]=1]="Overlay",yt[yt["Inside"]=2]="Inside",(l=Zw=Ae.aE.StiGaugeElemenType||(Ae.aE.StiGaugeElemenType={}))[l["LinearElement"]=0]="LinearElement",l[l["RadialElement"]=1]="RadialElement",l[l["All"]=2]="All",(q=$w=Ae.aE.StiBarRangeListType||(Ae.aE.StiBarRangeListType={}))[q["LinearBar"]=0]="LinearBar",q[q["RadialBar"]=1]="RadialBar",(k=tC=Ae.aE.StiLinearRangeColorMode||(Ae.aE.StiLinearRangeColorMode={}))[k["Default"]=0]="Default",k[k["MixedColor"]=1]="MixedColor",(yt=eC=Ae.aE.StiRadialScaleSkin||(Ae.aE.StiRadialScaleSkin={}))[yt["Default"]=0]="Default",yt[yt["Empty"]=1]="Empty",yt[yt["RadialScaleQuarterCircleNW"]=2]="RadialScaleQuarterCircleNW",yt[yt["RadialScaleQuarterCircleNE"]=3]="RadialScaleQuarterCircleNE",yt[yt["RadialScaleQuarterCircleSW"]=4]="RadialScaleQuarterCircleSW",yt[yt["RadialScaleQuarterCircleSE"]=5]="RadialScaleQuarterCircleSE",yt[yt["RadialScaleHalfCircleN"]=6]="RadialScaleHalfCircleN",yt[yt["RadialScaleHalfCircleS"]=7]="RadialScaleHalfCircleS",(l=rC=Ae.aE.StiMarkerSkin||(Ae.aE.StiMarkerSkin={}))[l["Diamond"]=0]="Diamond",l[l["Rectangle"]=1]="Rectangle",l[l["TriangleTop"]=2]="TriangleTop",l[l["TriangleBottom"]=3]="TriangleBottom",l[l["PentagonTop"]=4]="PentagonTop",l[l["PentagonBottom"]=5]="PentagonBottom",l[l["Ellipse"]=6]="Ellipse",l[l["RectangularCalloutTop"]=7]="RectangularCalloutTop",l[l["RectangularCalloutBottom"]=8]="RectangularCalloutBottom",l[l["TriangleLeft"]=9]="TriangleLeft",l[l["TriangleRight"]=10]="TriangleRight",l[l["PentagonLeft"]=11]="PentagonLeft",l[l["PentagonRight"]=12]="PentagonRight",l[l["RectangularCalloutLeft"]=13]="RectangularCalloutLeft",(q=iC=Ae.aE.StiStateSkin||(Ae.aE.StiStateSkin={}))[q["Ellipse"]=0]="Ellipse",q[q["Rectangle"]=1]="Rectangle",q[q["Diamond"]=2]="Diamond",(k=nC=Ae.aE.StiLinearBarSkin||(Ae.aE.StiLinearBarSkin={}))[k["Default"]=0]="Default",k[k["HorizontalThermometer"]=1]="HorizontalThermometer",k[k["VerticalThermometer"]=2]="VerticalThermometer",(yt=aC=Ae.aE.StiNeedleSkin||(Ae.aE.StiNeedleSkin={}))[yt["DefaultNeedle"]=0]="DefaultNeedle",yt[yt["SpeedometerNeedle"]=1]="SpeedometerNeedle",yt[yt["SpeedometerNeedle2"]=2]="SpeedometerNeedle2",yt[yt["SimpleNeedle"]=3]="SimpleNeedle",(l=sC=Ae.aE.StiTickMarkSkin||(Ae.aE.StiTickMarkSkin={}))[l["Rectangle"]=0]="Rectangle",l[l["Ellipse"]=1]="Ellipse",l[l["Diamond"]=2]="Diamond",l[l["TriangleTop"]=3]="TriangleTop",l[l["TriangleRight"]=4]="TriangleRight",l[l["TriangleLeft"]=5]="TriangleLeft",l[l["TriangleBottom"]=6]="TriangleBottom",(q=oC=Ae.aE.StiRadiusMode||(Ae.aE.StiRadiusMode={}))[q["Auto"]=0]="Auto",q[q["Width"]=1]="Width",q[q["Height"]=2]="Height",(k=lC=Ae.aE.StiRadialPosition||(Ae.aE.StiRadialPosition={}))[k["TopLeft"]=0]="TopLeft",k[k["TopRight"]=1]="TopRight",k[k["BottonLeft"]=2]="BottonLeft",k[k["BottomRight"]=3]="BottomRight",k[k["TopCenter"]=4]="TopCenter",k[k["LeftCenter"]=5]="LeftCenter",k[k["BottomCenter"]=6]="BottomCenter",k[k["RightCenter"]=7]="RightCenter",(yt=uC=Ae.aE.StiLabelRotationMode||(Ae.aE.StiLabelRotationMode={}))[yt["None"]=0]="None",yt[yt["Automatic"]=1]="Automatic",yt[yt["SurroundIn"]=2]="SurroundIn",yt[yt["SurroundOut"]=3]="SurroundOut",(l=hC=Ae.aE.StiGaugeStyleId||(Ae.aE.StiGaugeStyleId={}))[l["StiStyle25"]=0]="StiStyle25",l[l["StiStyle26"]=1]="StiStyle26",l[l["StiStyle27"]=2]="StiStyle27",l[l["StiStyle28"]=3]="StiStyle28",l[l["StiStyle29"]=4]="StiStyle29",l[l["StiStyle30"]=5]="StiStyle30",Ae.bd.IStiGauge=new Ae.b.Interface("IStiGauge"),Ae.aE.IStiGaugeStyle=new Ae.b.Interface("IStiGaugeStyle"),Ae.aE.IStiGaugeStyleCoreXF=new Ae.b.Interface("IStiGaugeStyleCoreXF"),Ae.aC.StiMapSvgContainer=class{constructor(){this.paths=[]}prepare(){if(null==this.paths)return;this.hashPaths=new Dt;for(var t of this.paths)this.hashPaths.add(t.key,t);this.paths.stimulsoft().clear(),this.paths=null}},Ae.aC.StiMap21StyleFX=class extends Ae.aC.StiMapStyleFX{get styleId(){return Ae.aC.StiMapStyleIdent.Style21}get localizeName(){return ne.get("Chart","Style")+"21"}get individualColor(){return re.fromHtml("#239fd9")}set individualColor(t){}get colors(){return[re.fromHtml("#239fd9"),re.fromHtml("#b2b2b2"),re.fromHtml("#55d1ff"),re.fromHtml("#e4e4e4"),re.fromHtml("#55d1ff"),re.fromHtml("#e4e4e4")]}set colors(t){}get defaultColor(){return re.fromHtml("#ffffff")}set defaultColor(t){}get backColor(){return re.fromHtml("#666666")}set backColor(t){}constructor(){super(),this.heatmapWithGroup.colors=[qr.get("#239fd9"),qr.get("#b2b2b2")],this.heatmap.color=qr.get("#239fd9")}},Ae.aF.IStiBarCodePainter=new Ae.b.Interface("IStiBarCodePainter"),Ae.aF.IStiPagePainter=new Ae.b.Interface("IStiPagePainter");let mC=Ae.ac.IStiValueMapMeter,pC=Ae.ac.IStiNameMapMeter,gC=Ae.ac.IStiKeyMapMeter,fC=Ae.ac.IStiColorMapMeter,SC=Ae.ac.IStiGroupMapMeter,bC=Ae.aC.StiMapSource;{let i=class{constructor(){this.minValue=0,this.maxValue=0}},e=class{constructor(){this.stackColors=[],this.index=0}getColor(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush;var t=this.getColors(e)[t];return new vr(t)}getColor1(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush1;var t=this.getColors(e)[t];return new si(t)}getColors(e){let r=new Array(e),i=0,n=0;for(let t=0;t<e;t++){var a,s,o,l,a;0==this.stackColors.length||this.stackColors.length<i?r[t]=Fe.fromArgb(255,112,173,71):0!=n?(a=this.stackColors[i],s=Math.min(a.a+n,255),o=Math.min(a.r+n,255),l=Math.min(a.g+n,255),a=Math.min(a.b+n,255),r[t]=Fe.fromArgb(s,o,l,a)):r[t]=this.stackColors[i],i++,i==this.stackColors.length&&(i=0,n=50)}return r}init(t,e){this.painter=e,this.stackColors.stimulsoft().clear();var t=t.getCurrentStyleColors(),r;this.index=0;for(r of t)this.stackColors.push(r)}},t=class{constructor(t,e,r){this.painter=t;let i=!0;for(var n of r){if(null==n||null==n.value)continue;var a=0;if(isNaN(parseFloat(n.value)))continue;a=parseFloat(n.value),i?(i=!1,this.min=a,this.max=a):a<this.min?this.min=a:a>this.max&&(this.max=a)}var e=mv.getMapStyle2(e);this.color=e.heatmap.color,this.zeroColor=e.heatmap.zeroColor,this.mode=e.heatmap.mode}getBrush(t){if(null==t||null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush;var t=parseFloat(t.value);if(0==t){if(this.zeroColor.equals(Fe.transparent))return this.painter.defaultBrush;return new vr(this.zeroColor)}if(this.min==this.max)return new vr(this.color);var t=.85*(this.max-t)/(this.max-this.min);return this.mode==Ae.ar.StiHeatmapFillMode.Lightness?new vr(jl.changeLightness(this.color,t)):new vr(jl.changeDarkness(this.color,t))}getBrush1(t){if(null==t||null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;var t=parseFloat(t.value);if(0==t){if(this.zeroColor.equals(Fe.transparent))return this.painter.defaultBrush1;return new si(this.zeroColor)}var t=.85*(this.max-t)/(this.max-this.min);return this.mode==Ae.ar.StiHeatmapFillMode.Lightness?new si(jl.changeLightness(this.color,t)):new si(jl.changeDarkness(this.color,t))}},r=class{constructor(t,e,r){this.hash={},this.hashColors={},this.painter=t;var e=mv.getMapStyle2(e);this.zeroColor=e.heatmapWithGroup.zeroColor,this.mode=e.heatmapWithGroup.mode;let i=0;var n=e.heatmapWithGroup.colors,a;for(a of r){var s=a.group;if(null==s||null==a)continue;var o=0,l,o;if(null==a.value||isNaN(parseFloat(a.value)))continue;if(o=parseFloat(a.value),this.hash[s]){let t=this.hash[s];o<t[0]?t[0]=o:o>t[1]&&(t[1]=o)}else{this.hash[s]=[o,o]}this.hashColors[s]||(o=0==n.length||n.length<i?t.defaultBrush.color:n[i],i++,i>=n.length&&(i=0),this.hashColors[s]=o)}}getBrush(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush;var e=parseFloat(t.value);if(0==e)return new vr(this.zeroColor);var r=this.hashColors[t.group],t=this.hash[t.group];if(t[0]==t[1])return new vr(r);return this.mode==Ae.ar.StiHeatmapFillMode.Lightness?new vr(jl.changeLightness(r,.85*(t[1]-e)/(t[1]-t[0]))):new vr(jl.changeDarkness(r,.85*(t[1]-e)/(t[1]-t[0])))}getBrush1(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush1;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;var e=parseFloat(t.value);if(0==e)return new vr(this.zeroColor);var r=this.hashColors[t.group],t=this.hash[t.group];if(t[0]==t[1])return new si(r);return this.mode==Ae.ar.StiHeatmapFillMode.Lightness?new vr(jl.changeLightness(r,.85*(t[1]-e)/(t[1]-t[0]))):new vr(jl.changeDarkness(r,.85*(t[1]-e)/(t[1]-t[0])))}},n=class{constructor(){this.index=0,this.colors=Ae.aC.StiMapHelper.getColors()}getBrush(){var t=this.colors[this.index];return this.index++,this.index>=this.colors.length&&(this.index=0),new si(t)}};Ae.aF.StiGdiMapContextPainter=class{constructor(t){this.individualStep=0,this.hashGroup={},this.colorsContainer=new e,this.map=t}get mapData(){return this._mapData}set mapData(t){this._mapData=t}getValues(t){if(null==this.dataTable||null==t)return null;var t=this.dataTable.meters.indexOf(t);if(-1==t)return null;return this.dataTable.rows.getArrayItem(t).toList()}prepareDataColumns(){if(this.map.dataFrom==bC.Manual)return void(this.mapData=this.map.getMapData());this.mapData=mv.getDefaultMapData(this.map.report,this.map.mapIdent);let n=null,a=null,s=null,o=null,l=null;if(null!=this.dataTable&&null!=this.dataTable.meters)n=this.getValues(this.dataTable.meters.firstOrDefault(t=>t.is(gC))),a=this.getValues(this.dataTable.meters.firstOrDefault(t=>t.is(pC))),s=this.getValues(this.dataTable.meters.firstOrDefault(t=>t.is(mC))),o=this.getValues(this.dataTable.meters.firstOrDefault(t=>t.is(SC))),l=this.getValues(this.dataTable.meters.firstOrDefault(t=>t.is(fC)));else try{this.map.report.dictionary.connect(),n=De.isNullOrEmpty(this.map.keyDataColumn)?null:ml.getDataListFromDataColumn(this.map.report.dictionary,this.map.keyDataColumn).stimulsoft().toList(),a=De.isNullOrEmpty(this.map.nameDataColumn)?null:ml.getDataListFromDataColumn(this.map.report.dictionary,this.map.nameDataColumn).stimulsoft().toList(),s=De.isNullOrEmpty(this.map.valueDataColumn)?null:ml.getDataListFromDataColumn(this.map.report.dictionary,this.map.valueDataColumn).stimulsoft().toList(),o=De.isNullOrEmpty(this.map.groupDataColumn)?null:ml.getDataListFromDataColumn(this.map.report.dictionary,this.map.groupDataColumn).stimulsoft().toList(),l=De.isNullOrEmpty(this.map.colorDataColumn)?null:ml.getDataListFromDataColumn(this.map.report.dictionary,this.map.colorDataColumn).stimulsoft().toList(),this.map.report.dictionary.disconnect()}catch(t){}var u=Rw.allowGss(this.map.mapIdent),h,c,d,m;if(null!=n&&(n=(new Ae.al.StiMapKeyHelper).getMapKeysFromNames(n,this.map.mapIdent,this.map.report).cast()),null==n)return;try{let t=0;if(null!=n&&(0==t||n.length<t)&&(t=n.length),null!=a&&(0==t||a.length<t)&&(t=a.length),null!=s&&(0==t||s.length<t)&&(t=s.length),null!=o&&(0==t||o.length<t)&&(t=o.length),null!=l&&(0==t||l.length<t)&&(t=l.length),null!=n){for(var e of this.mapData)e.group=null,e.value=null,null!=l&&(e.color=null);let i=u?Rw.get(this.map.mapIdent):null;for(let r=0;r<t;r++){let e=null;if(n.length<=r||null==n[r])continue;if(e=n[r].toString(),De.isNullOrEmpty(e))continue;if(e=e.toLowerCase(),u&&Rw.isGssValue(e)){let t={ref:""};e=i.tryGetValue(e,t)?t.ref.toLowerCase():""}let t=this.mapData.firstOrDefault(t=>t.key.toLowerCase()==e);if(null==t)continue;null!=a&&null!=a[r]&&(h=a[r].toString(),t.name=h),null!=s&&null!=s[r]&&(c=s[r].toString(),t.value=c),null!=o&&null!=o[r]&&(d=o[r].toString(),t.group=d),null!=l&&null!=l[r]&&(m=l[r].toString(),t.color=m)}}}catch(t){}}getGeomBrush(t){if(this.map.mapType==Ae.aC.StiMapType.Individual){if(this.map.colorEach){if(null==t)return new vr(this.mapStyle.defaultColor);var e=this.parseHexColor(t.color);if(null!=e)return e;return new vr(this.noneInfo.getBrush().color)}return new vr(jl.changeLightness(this.mapStyle.individualColor,this.individualStep))}switch(this.map.mapType){case Ae.aC.StiMapType.Heatmap:return null==t||null==t.value?this.defaultBrush:this.heatmapInfo.getBrush(t);case Ae.aC.StiMapType.Group:return null!=t&&null!=t.group&&this.hashGroup[t.group]?this.hashGroup[t.group].fill:new vr(this.mapStyle.defaultColor);case Ae.aC.StiMapType.HeatmapWithGroup:return null==t.group||null==t.group?new vr(this.mapStyle.defaultColor):this.heatmapWithGroupInfo.getBrush(t)}return new vr(this.mapStyle.backColor)}updateHeatmapWithGroup(){this.heatmapInfo=new t(this,this.map,this.mapData),this.noneInfo=new n,this.map.mapType==Ae.aC.StiMapType.HeatmapWithGroup&&(this.heatmapWithGroupInfo=new r(this,this.map,this.mapData))}updateGroupedData(){if(null==this.mapData)return;for(var r of this.mapData){if(De.isNullOrEmpty(r.group))continue;let t=0;null==r.value||isNaN(parseFloat(r.value))||(t=parseFloat(r.value));let e=null;this.hashGroup[r.group]?(e=this.hashGroup[r.group],null!=t&&(null!=e.minValue&&null!=e.maxValue||(e.minValue=0,e.maxValue=0),e.minValue>t?e.minValue=t:e.maxValue<t&&(e.maxValue=t))):(e=new i,e.minValue=t,e.maxValue=t,this.hashGroup[r.group]=e)}this.fillGroupColors()}fillGroupColors(){this.colorsContainer.init(this.map,this);let e=0,t=[];for(var r in this.hashGroup)t.push(r);t.sort();for(var i of t){let t=this.hashGroup[i];t.fill1=this.colorsContainer.getColor1(e,Sr.keys(this.hashGroup).length),t.fill=new vr(t.fill1.color),e++}}parseHexColor(t){try{if(!De.isNullOrEmpty(t))return t.stimulsoft().startsWith("#")?new vr(re.fromHtml(t)):new vr(Fe.fromName(t))}catch(t){}return null}}}let yC=Ae.S.StiDrawing;Ae.aF.StiContainerPainter=class extends Ae.aF.StiComponentPainter{paintComponents(t,e){for(var r of t.components.list){if(r.is(pb))continue;if(r.is(xs))continue;r.paint(e)}}paint(t,e){var r=t,t=t.getPaintRectangle();0<t.width&&0<t.height&&(yC.fillRectangle(e,r.brush,t),super.paintBorder(r,e,t,r.page.zoom,!0,!0)),this.paintComponents(r,e)}},Ae.aF.StiViewPainter=class extends Ae.aF.StiComponentPainter{getImage(t,e,r){let i=t.stimulsoft().as(Ae.ap.StiView),n=null;return null!=i.imageToDraw?(n=new ie,n.base64=i.imageToDraw.base64):i.is(Ae.ap.StiImage)&&!De.isNullOrEmpty(i.imageURLValue)&&(n=new ie),null!=n&&(n.horAlignment=i.horAlignment,n.vertAlignment=i.vertAlignment,n.aspectRatio=i.aspectRatio,n.multipleFactor=i.multipleFactor,n.stretch=i.stretch,n.zoom=e.ref,i.is(Ae.ap.StiImage)&&(n.imageRotation=i.imageRotation,n.margins=i.margins,n.url=i.imageURLValue)),n}},Ae.aF.StiImagePainter=class extends Ae.aF.StiViewPainter{getImage(t,e,r){let i=t.stimulsoft().as(Ae.ap.StiImage);var n=null;null!=i.imageToDraw&&(i.imageRotation,Jy.None);try{return super.getImage(t,e,r)}finally{null!=i.imageToDraw&&i.imageRotation!=Jy.None&&(i.imageToDraw=n)}}};let vC=Ae.bn.Brushes;Ae.aF.StiPagePainter=class extends Ae.aF.StiContainerPainter{implements(){return[Ae.aF.IStiPagePainter]}paint(t,e){let r=t;if(null==r.report)return;let i=r.unit;var n=r.zoom,a=i.convertToHInches(r.margins.left),s=i.convertToHInches(r.margins.top),o=i.convertToHInches(r.displayRectangle.width),l=i.convertToHInches(r.displayRectangle.height),u=i.convertToHInches(r.width),t=i.convertToHInches(r.height);r.brush.is(si)&&r.brush.color.equals(Fe.transparent)?yC.fillRectangle(e,vC.white,0,0,o*r.zoom,l*r.zoom):yC.fillRectangle(e,r.brush,0,0,o*r.zoom,l*r.zoom),e.translateTransform(Ne.trunc(a*r.zoom),Ne.trunc(s*r.zoom)),super.paintComponents(r,e),this.paintBorder(r,e,new os(0,0,u*n,t*n),r.zoom,!0,!0)}},Ae.aF.StiTextinCellsPainter=class{paintText(t,a,s){let u=t.stimulsoft().as(Ae.ap.StiTextInCells);if(!t.isDesigning||t.report.isPageDesigner)return;var h=u.border.size/2*u.page.zoom;let c=u.getTextForPaint(),e=u.page.unit;var d=e.convertToHInches(u.horSpacing*u.page.zoom),m=e.convertToHInches(u.vertSpacing*u.page.zoom);let p=e.convertToHInches(u.cellWidth*u.page.zoom),g=e.convertToHInches(u.cellHeight*u.page.zoom);0==u.cellWidth&&(p=1.5*u.font.getHeight()*u.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale),0==u.cellHeight&&(g=1.5*u.font.getHeight()*u.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale);var t=u.font.size*u.page.zoom*Ae.c.StiDpiHelper.deviceCapsScale;let r=new Mr;var f=Dg.changeFontSize(u.font,t);if(r.lineAlignment=Lr.Center,r.alignment=Lr.Center,u.continuousText){let t=s.x+h,e=s.y+h,r=!0,i=0;while(1==1){var n=new bw(t,e,p,g);if(n.right+d<s.right||r){var o=hi.getBrush(u.brush,n),o;a.fillRectangle(o,n.x,n.y,n.width,n.height),null!=c&&i<c.length&&(o=hi.getBrush(u.textBrush,n),a.drawString(c[i],f,o,n.x,n.y)),this.paintBorder(u,a,n,u.page.zoom,!0,!0),t+=p+d,i++,r=!1}else if(e+=g+m,t=s.x+h,r=!0,!u.wordWrap||s.bottom<e+g+m)break}}else{let o=new Fr(1,1),i=s.x+h+p;while(i+d+p<s.right)i+=d+p,o.width++;let n=s.y+h+g;while(n+m+g<s.bottom)n+=m+g,o.height++;u.wordWrap||(o.height=1);let l=new Ee,e="";null==c&&(c="");for(let t=0;t<c.length;t++){var S=c[t];Be.isControl(S)?"\n"==S&&(l.add(Ae.ap.StiTextInCellsHelper.trimEndWhiteSpace(e)),e=""):e+=S}if(""!=e&&l.add(Ae.ap.StiTextInCellsHelper.trimEndWhiteSpace(e)),0==l.length&&l.add(e),u.wordWrap)for(let s=0;s<l.length;s++){let a=l[s];if(a.length>o.width){let e=[],r=0,i=0;while(i<a.length&&Be.isWhitespace(a[i]))e[i]=r,i++;for(let t=i;t<a.length;t++)Be.isWhitespace(a[t])&&r++,e[t]=r;let t=o.width,n=t-1;if(0<e[t])if(e[t]!=e[n])while(Be.isWhitespace(a[t]))t++;else{while(!Be.isWhitespace(a[t]))t--;n=t++;while(Be.isWhitespace(a[n]))n--}l.setByIndex(s,a.substring(0,n+1)),l.insert(s+1,a.substring(t,a.length-t))}}n=s.y+h;for(let r=0;r<o.height;r++){let e=r<l.length?l[r]:"",t=0;u.horAlignment==Bs.Center&&(t=(o.width-e.length)/2),u.horAlignment==Bs.Right&&(t=o.width-e.length),0<t&&(e=De.repeat(" ",t)+e),i=s.x+h;for(let t=0;t<o.width;t++){var b=new bw(i,n,p,g),y=hi.getBrush(u.brush,b);a.fillRectangle(y,b.x,b.y,b.width,b.height);var v=u.rightToLeft?o.width-t-1:t,y;v<e.length&&(y=hi.getBrush(u.textBrush,b),a.drawString(e[v],f,y,b.x,b.y)),this.paintBorder(u,a,b,u.page.zoom,!0,!0),i+=p+d}n+=g+m}}}paintBackground(t,e,r){var i;if(t.isDesigning&&(i=new si(Fe.fromArgb(150,Fe.white)),yC.fillRectangle(e,i,r.left,r.top,r.width,r.height)),!t.isDesigning||t.report.isPageDesigner)return}paintBorder(t,e,r,i,n,a){if(!t.isDesigning||t.report.isPageDesigner)return}},Ae.aF.StiTextPainter=class extends Ae.aF.StiComponentPainter{paintText(t,e,r){var i=t.getTextForPaint();De.isNullOrEmpty(i)||e.drawString(i,t.font,null,r.x,r.y)}paintBackground(t,e,r){yC.fillRectangle(e,t.brush,r)}paintBorder(t,e,r,i,n,a){var s;super.paintBorder(t,e,r,t.page.zoom,n,a)}paint(t,e){var r=t;let i=t.getPaintRectangle();this.paintBackground(r,e,i),this.paintText(r,e,i);var t=i.clone();this.paintBorder(r,e,t,r.page.zoom,!0,!0)}},Ae.ai.StiPointAnimation=class extends Ae.ai.StiAnimation{constructor(t,e,r){super(e,r),this.type=Ae.d.StiAnimationType.Points,this.pointFrom=t}},Ae.af.StiContextOptions=class{constructor(t,e,r,i){this._isWpf=!1,this._isGdi=!1,this._zoom=1,this._isGdi=t,this._isWpf=e,this._zoom=i}get isPrinting(){return!1}get isWpf(){return this._isWpf}get isGdi(){return this._isGdi}get zoom(){return this._zoom}},Ae.af.StiPenGeom=class extends Ae.af.StiGeom{constructor(t,e=1){super(),this.thickness=1,this.penStyle=Ae.S.StiPenStyle.Solid,this.alignment=Ae.af.StiPenAlignment.Center,this.startCap=Ae.af.StiPenLineCap.Flat,this.endCap=Ae.af.StiPenLineCap.Flat,this.type=Ae.af.StiGeomType.Pen,this.brush=t,this.thickness=e}},Ae.af.StiPopSmothingModeGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PopSmothingMode}},Ae.af.StiPopTextRenderingHintGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PopTextRenderingHint}},Ae.af.StiPushSmothingModeToAntiAliasGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PushSmothingModeToAntiAlias}},Ae.af.StiPushTextRenderingHintToAntiAliasGeom=class extends Ae.af.StiGeom{constructor(){super(...arguments),this.type=Ae.af.StiGeomType.PushTextRenderingHintToAntiAlias}},Ae.af.StiStringFormatGeom=class extends Ae.af.StiGeom{constructor(t){super(),this.isGeneric=!1,this.alignment=Lr.Near,this.formatFlags=0,this.hotkeyPrefix=Hr.None,this.lineAlignment=Lr.Near,this.trimming=Or.None,this.type=Ae.af.StiGeomType.StringFormat,this.alignment=t.alignment,this.formatFlags=t.formatFlags,this.hotkeyPrefix=t.hotkeyPrefix,this.lineAlignment=t.lineAlignment,this.trimming=t.trimming}},Ae.aE.IStiGaugeMarker=new Ae.b.Interface("IStiGaugeMarker"),Ae.aI.StiGraphicsPathCloseFigureGaugeGeom=class extends Ae.aI.StiGaugeGeom{get type(){return Ae.aE.StiGaugeGeomType.GraphicsPathCloseFigure}},Ae.aI.StiGraphicsPathGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e,r,i,n){super(),this._geoms=[],this.rect=t,this.startPoint=e,this.background=r,this.borderBrush=i,this.borderWidth=n,this.startPoint=e}get type(){return Ae.aE.StiGaugeGeomType.GraphicsPath}get geoms(){return this._geoms}addGraphicsPathArcGaugeGeom(t,e,r,i,n,a){0<r&&0<i&&this.geoms.push(new Ae.aI.StiGraphicsPathArcGaugeGeom(t,e,r,i,n,a))}addGraphicsPathCloseFigureGaugeGeom(){this.geoms.push(new Ae.aI.StiGraphicsPathCloseFigureGaugeGeom)}addGraphicsPathLinesGaugeGeom(t){this.geoms.push(new Ae.aI.StiGraphicsPathLinesGaugeGeom(t))}addGraphicsPathLineGaugeGeom(t,e){this.geoms.push(new Ae.aI.StiGraphicsPathLineGaugeGeom(t,e))}},Ae.aI.StiGraphicsPathLineGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t,e){super(),this.p1=t,this.p2=e}get type(){return Ae.aE.StiGaugeGeomType.GraphicsPathLine}},Ae.aI.StiGraphicsPathLinesGaugeGeom=class extends Ae.aI.StiGaugeGeom{constructor(t){super(),this.points=t}get type(){return Ae.aE.StiGaugeGeomType.GraphicsPathLines}},Ae.af.StiInteractionDataGeom=class{},(q=cC=Ae.ah.StiMapGeomType||(Ae.ah.StiMapGeomType={}))[q["MoveTo"]=0]="MoveTo",q[q["Line"]=1]="Line",q[q["Bezier"]=2]="Bezier",q[q["Beziers"]=3]="Beziers",q[q["Close"]=4]="Close",Ae.aG.StimulsoftFont=class{static getBase64Content(){return Ae.b.decompressLiteral(
"\bIQBa_Tk  @΢ P(TƅAҐ)ƅw ]jCƵlM7L(FS\bhA P(P(` V(tsQ2XΔ)Vj].A P)fqH PMeJawKg@Ã9Q.q0`$VF'AU4u;YnTaA!\f҄ƅsmbe.QӞ)!MA P.`(`ΖMvƝ,hΝM4Y]NA P*\bX05X(s\tAJD8PiG`p\fkƅM!o2ddEΙfAA TL$ƅD ZEJaPw LMt tˆHP@A3XMT3Q4Z[Jb5A7։RX`H'3\ffQRNG*A%S}0Ei7P(b(POS/0Y\fd#it1 P.4xbA Q\tE#ioU¼@$ƹXgR*y]L78jZǫ”\b\vB=@Ƅ h`ØRH=h/]i$D0€€@¢ΐ#„ʈA(R+$ƍF€`€`€>€Ϝ€ˀŠ5a Qjƅ*A P*4j\t\tSœ\b4:\twϓ3`Á֐ˆ\btY(‚F\fV@¡XBH!ʬ6r7nš*ˀ“#A @` Q\ftǑZ1€2 LhA h@ʬ0À!PGˆ:BB€ΐ‚8Ãb€D@X(u`f€\b ˆk ƒXP)€€.P•@»Y*:G\f€ǀ‚€( AS@@€BZ!€€Q3P(J\t €D€‡€q€p€<p\b@˜(\fT΁ ƈ*ā6€\b‚ƅP€vE\b/k\f€! PH `€ ‘@8t„08€¨ƒBÄH€P€0‹@0€ì‚PŠҊH7l€‚X€$„€›HA#P.by]Q P-V:UA#l€`€T€x@\v,€@cˆ)e\f@…(‚ҀΠP2‚˞A XB@€d€‚h ‚@c Ke3NPKj€I@ÀD€ ˆv‚]A PL„`€0ˆAc¦€Ae€t€–\bʀ‚` €PÀ6€E@€$€\t €րLv€T€„p € €(€\v@€B`Ž@‚f‚%#AA2T€@0€€P›(\b/|€ǔ‚ €€”LƅUP‚L@(€#€P€€@9U*^/,L€4\b\f(€€ „J„ €0ƒ`˜nv‚0€(„`Ði$ƅ@,2P(8/ʈʀ\b€8„ð†\t0„ ”\tt\t<^wH‚\f€\bÀ€°€jˆ\v ê`Ò@(ր\t€@¢ Ƃx€\fX€`V€ӀR1#P˜+B'ËQϋ P(3ˎA D…MAό€`Ì ˆª@¥€Dw€%z€ABk€H€`€d€c‚€€€@F“^A QƖ,@ƒ(’$!<VQ+P%ryA`€@”€Pϐ( 8(ZGϘ J+‚€ È1l€\b¤ƅ ˆd€I2pÀ8€€\b(€\f ”]Aΰ@Ɓ€ €+f€`‰\fB€@ßQ(<nB Qr[@€\b €) ²@06ӌ\b$Q΋ew>€(ª%*D3L€\f@Ð0P(? ˆ:Eg1D„A0d‚ƝOÀ€Ǫ€8¢\tgr€\fEryb.hƍo0€:€\t`€0!‚€‹@0%<nA;QrZ†€¤ƈv€ր’‚Ё” QVB (…P„\b\b‚€\b€Q]ˆ(,Œ03PFOXŽ@¥0Á* Ҁ@$€@†`+„0„ʖ(Ž€@*€`(1PÀA5A@*A!€M \fqX e@–€0€*PI93P.€€$€ (\b8À|”ûD((˜0€€IϠ$€IN`€ӐŠ Æ`»@\b‚Rˆ`€~€\bv€a\t`Ntƅ$PÀˆ@j ˆ(V;($*y-w΋e}…÷ P*œ0BHÀ€p€\b€@P(\b@(ր!/@U*€iN€À€:©JC}@š„€C΀A Q€Xhp؀-`€HA@@8€΀‚\v€ P‚€\t,€€L…DžA!]d€ǠÂ`¹€\v\b€,„\f €B€ à¢ʃP\ftƅM#U  ;@‚Hˆ%Ɛ^9ˆ„@DŒÀÌƂyH 1Jj:^+@`$g Ket)@ ^„pAx¸„í —@€B@£„€ˆ`ąʠg U˜@,€|@ €ǀ0€„P€΀\b €ʀ\b€r€pƒ΀†`€L€=@\b€#€ 7n€€ „\b˜€L‚ʢA VրMjA x\t€€ʀ\b$+€`€0Ô\f4ƅY0‚׀ˆ„>A€@Ñ1P(V@€\f€‚(€œˆ\bdJ@ƒH H€NB#@HãT\v@,n º€( !€@.ˆ€\b(‰BwZ@@9Œ €X°\f`€, Œ€P#P(`€óc|Σ6Š €@A!^``B3\bREBAKmð`\v|À€à`$˜€D\fw€ a@•€p€€I* ր\b€\t¨`€T‘\ft €:€ú *ŒƠ‰h#@@`%¤@b€`\b¸Òǀ_`´ˆIPƒ8ˆAoNŠAI P)Y€$C`à\v€ K`Bˆ 4$@–„0ր¼ ”<æΝD3RƦ:\tB(\v]HG Q)QLN!\fʴư ˆD$g‚Ip($IA3;X҄ƹ*F,]i:\tף N\fvΩC„\v(`ˆR(ƒ^H)h(@‘)ʀøÉTAA$lƅ4#ZhǠ ˆB8€€Ϗ8‚)@ Pǁ€X`ƒրð@Ð#*]€@.v]CӐαʙf,PM5ǩZA(P…1d#P(…DnB%V(5C.G V‡@/!\tEb+P)7bg ZI€E€ʁÅD0Ҁ)Ӟ87B,]B R]Pǁj3Ph \b D^ÞB\b`A$P($k ׌tAM,PҤRI4ʍJ=Vr'Ejl,MKA^u6]ffI`3:֥33M\bq;]Hya7;Td<pF]l'2\bV8$MnvsYu\tG;ilD2N\ts;מvϓg]pL;%3BTnx,Hg)a07<Nd;pa^g2!82˯;Y+fwJ!lINʳ;e0v%'q]rj;lSCDny;IDyah7<Mne*0¹ –€O!)6>€ː8€Em@…)|ƒfh N\b$#]f!'2nY(NsB%\bw5T\b69aD;]jτpOΝg8)JAǷ(GBU F3N\v#aNP#T'Ƒps(\bC\bx\t9aND<Q*K pkΞ*U)N87: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LtƅN\fC΅Ҝ26) 3)θC „@l,f€0Ǵƅm%@S,2\f¦@\bZr(P(SV ˆfA]{ˆ\t#(@2`–\v8jg P)4(ˀh*(\v>`\bdP\tj\bÌyYρ Rh Ql0ŽƥnA Rn<€ s@D=€`\fITƅtP(\vI֠„€ v@ÄR\b€Aq[Ü6AҒ΀Ár0\b7€'\fiJ\b¡Tp‚\b„ :€AD;‹ô]hƱP0 P(3*€ :YHƒdI P(31l\b :צƒjk P(3C֔ ;€et„ w2@nj%A Q\b9…@wYhƶrxÈD+UA ^Ɨ:M+L\bƒP\v/•@M5hƒ*/€`M8ZccLA P/I@€z@$θ`\bր Ap\b\bE€ !a0A\vN|¥!A L\fuƅN%Q(Ƒ)pÈ!€(\bU`\f*1@W,P(Ϟ@\b\fҀ!d‚MƐ9 ΂9Y€ )2\b@DsF`ˆGÀeÜ\tg9aAΘ~æW(€X@D2D’Mq€5€ gx‚!€'|ÒU+G(@O)1€8ʮ':O1JϜ8lA PӤzA'[B€AbvDd˜@O=5 AR8ˮF:OA P<  NP0E P„X@93zΡ@ˆ\fv€@W0\bƆK@r`1,@8S΅Dá=@\v„ 9\b¢|T\b (ʈˆ@Vvz < Q=*Ƅ\bFPϦ(*%tA PH;(\b@Q7Nς-X€€\bH(ToT\b̜Df8 P(U!A!΀$G$Edd €6`I!lǖRB#jƅ$5Ì\bU:X €(²IJ@€PAG,\b‹@hA Q,%*B$5 H` ˆ\fCÀ7Fπ(pϙLTƅIu@d@,A€P˜ƴs=Aϓ`)\tM3P(WUTTƅK0b°ϝ*?pH•ÈDŽGTƠ<Lb€`\twd0Q8(8@€= gfI P($yP+ª\bTƅƶ΄†UnA UR„°`\b%9ρ UHl9ǜ\b%\v\tnA U7PQ\fDH~šIg P*U2A#j$ƅR\b  ˆXӨ\b‚TƐҼ‚Q„@O((T@\bL‰\fSXŒ)AA UP™\fVh‚3@+<²0`ÈǴ!€4v#0|ǰ!muƅV2@D3\t€\baA,30„+:4\b ΂]ʐˆʇ(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,F[˚9;V-SISH–Tǩ0h5I*J0UfV«`7mT3Qm-l:9dc3SMRhE-HS5ε4X+'XKP03VFˀ b$)FҐ36^@Ð1g`,Ө΂  \tÄ+^a°\t\fEBP±RPrÕ!H267¯@c;Yʆ5$y1\fMFZ\t.x8Me1Q2),:)Sx$\f3Pjc#U)5Q0P7OϞŽVFŽPkӪ[P\f\b$91*Qk(`*\bl;PҴqEDgҀH9I2v~ã!`d6U(EK9,n [K'\t0d6*tSYn%\f  Š0˜ʄΑ׎P\b,XΣXXQ\tt*U-xc@QfdH@8`O*)uRspÀ@pPƑ \t 5ӝo``1\f'Sʱl\bE*Q`âN(L(@Iʰ3z†U1em€\t*F •'V¢+,j ‰*T)€(u‚31\b P@ʤQ²E*nB#V/JPxšH$ip²*Q/!`ˆ8Hd8pŠ\fK€U#‰(d`¥*Q3„Uϕϑ+ӒPY,‚T4P¦(U+@š(¡/a *T-$+Ut‰)KP£5=@\fC2æe*$b …K€(wv„dIP@ŠZd€UϠ‰)$€5XωXU)$1€$=(€Y\t …IZ€*z ‚d%€Ө+j@’Q\tj€,MP‚WU€؁2:@‹\f\f€@ŠST$DP‚d-€(h‚*I\b@…HZ€*QP„U@‹4€U# ‰*$%€Ϩ*J@“HV€ʠ…J*€*TP‚d5€*h*Q€\vT€Y+ …*J€,FP‚e-€*(2@‹T€Y*`T€Y- …-*€,GP„Kd \vO@Y…K`ªjN‚d<p–,g+*8‹s@4C.‚Vl`–#fϪ0’^)]@JI;f‚#)8É/n`%$]s@TAN„WJ70R.y`Èj g‚+eXÉ)<p¤5G‰rMl¤TK^@ÂZH$2\tY<S:@\fYxӔ*Ӫ5TEL€]„LI<Ҁ20‚t’2%q…HY@‹PÉID`–#Ҁ®@Ҥ^A\fF!39,zր`Ƥ88M\tJ5pI€FӄKe0ˍ$IL@ŠYh€Q8ʭ$R\b@’Zi€*Q0„dR@ƒ*I@’S.r€(zD$TKjIր¨z$TKjIX`hyӞD@1zF$FR6)S€DFR: )S€H$VRF@’SHD€,0P‚Uʀ¥'\b€Xa …*€JN؁1B@ŠT4E0€j€*RP„dr@ƒ(2V@‚râ2$c …JZ€*T ‚cʀ–*h€.0\fҤL4€Y+ ,@91P‚e5€hFIE$D\vœjy'[@dM3G±2f(ŠZR@Øe…K ªj¢cP–,e3-8ƒ%2j(‹l€h\vf@\bh\v\ff@\bYG N@Xg …L:€\ftF:€,cP€g \b,3P‚f%(US)3-±+8‹nXi…,y`¬O8Âc$p•3g2=`\vʓ@ÕO…Iwˆ,4N‚VDp–'ր!1Px\vt€`\vʴ€YW NXk …M:€\fpFZ€\vTIO{@h€.PҼSnTk ‰-4-€(h2+0\tZhZ€*QP‚dVp%5Q4€8\t\v[@HUWքI/ʀ¥%T€UW`EO¤LJ!(2Ӏ‚F²*)@ÉM4M€äTRʀi€ƜI)$‚%5R<ˆUΜ@;\fƒZi.„*QädR@ƒ$Ñ*D8HJ€ʐE*`\fLJΨ€4@ƕ(G²2)\t R¨UΜII$΀Hϕ\f@Ʀ%€ ǔD™EP€i”*RädR@ƒ$Ñ*H@HZ€ʐE*΀\fLJϨ€4@ƕ)\b²2)\v R¨Y%Hj€ʐEJ(ˆ,FP€i”*RädR@ƒ$Ñ2J‚\vT€ ǔDF)I%\v˚lyQ,X'ƕB)XY*UӔjS*R\t'ZFJe3i4U#+%:\fO*/+1y0V\vӃV+f%2\tFm+ƥ#-nM4I@>MҀÑyA‚Gii@Œ,S€(|fL%tz\vH‚Gm4`ˆ/!I@”>Qr€QzH‚Kh$*0…_0}\vd ž|ÀEwB4`KjDO„Q/)@ˆ/<Fˆ^T*S€(|dLCwCpU\ft`ŠS€(}#d#u/…QHD`Š)9€(}+d%t2‚D@EvRH‚\viJ0†L)=TQҀÑyE‚Gij`\bƯ5i@”>4ҀÑz=xGm> Š/%i@>zd Rz9\tHÁ#u\v„L;@^N=°!=*E> C{1R BzET\fAu*8PmD*G\vj$. U*$1@U(d \b'UH%\vj0|΅Ǖy#I$2UǸ!҅29$UU*!U5QHE2,3a4\bƅ/N\b\vz=€€ހ")}},Ae.ar.IStiBaseStyle=new Ae.b.Interface("IStiBaseStyle"),Ae.c.StiCardsStyle=class extends bl{constructor(t="",e="",r){super(t,e,r),this.backColor=Fe.white,this.foreColor=re.fromHtml("#222"),this.lineColor=Fe.gainsboro}meta(){return this._hash||(this._hash=[...super.meta(),new dl("BackColor","",Fe.white),new dl("ForeColor","",qr.get("222")),new dl("LineColor","",Fe.gainsboro)])}};let wC=Ae.bd.IStiGauge;Ae.c.StiGaugeStyle=class extends bl{constructor(t="",e="",r=null){super(t,e,r),this.brush=new si(Fe.white),this.borderColor=Fe.transparent,this.targetColor=Fe.black,this.borderWidth=0,this.foreColor=Fe.black,this.tickMarkMajorBrush=new si(re.fromHtml("#990000")),this.tickMarkMajorBorder=new si(re.fromHtml("#0bac45")),this.tickMarkMajorBorderWidth=1,this.tickMarkMinorBrush=new si(re.fromHtml("#4472c4")),this.tickMarkMinorBorder=new si(re.fromHtml("#4472c4")),this.tickMarkMinorBorderWidth=1,this.tickLabelMajorTextBrush=new si(re.fromHtml("#FF33475B")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#FF33475B")),this.tickLabelMinorFont=new Ar("Arial",10),this.markerBrush=new si(re.fromHtml("#70ad47")),this.linearBarBrush=new si(re.fromHtml("#4472c4")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearScaleBrush=new si(re.fromHtml("#70ad47")),this.radialBarBrush=new si(re.fromHtml("#ffc000")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#43682b")),this.radialBarEmptyBorderBrush=new ei,this.needleBrush=new si(re.fromHtml("#ffc000")),this.needleBorderBrush=new ei,this.needleBorderWidth=1,this.needleCapBrush=new si(re.fromHtml("#ffc000")),this.needleCapBorderBrush=new si(re.fromHtml("#ffc000"))}meta(){return this._hash||(this._hash=[...super.meta(),new ds("Brush"),new dl("BorderColor","",Fe.transparent),new dl("ForeColor","",Fe.black),new ji("BorderWidth","",0),new dl("TargetColor","",Fe.black),new ds("TickMarkMajorBrush"),new ds("TickMarkMajorBorder"),new ji("TickMarkMajorBorderWidth","",1),new ds("TickMarkMinorBrush"),new ds("TickMarkMinorBorder"),new ji("TickMarkMinorBorderWidth","",1),new ds("TickLabelMajorTextBrush"),new Ui("TickLabelMajorFont").get(()=>ci.Serialize.fontArial8(this.tickLabelMajorFont)).set(t=>this.tickLabelMajorFont=ci.Deserialize.font(t.value,this.tickLabelMajorFont)).setXml(t=>this.tickLabelMajorFont=Ae.b.Convert.toFont(t.textContent)),new ds("TickLabelMinorTextBrush"),new Ui("TickLabelMinorFont").get(()=>ci.Serialize.fontArial8(this.tickLabelMinorFont)).set(t=>this.tickLabelMinorFont=ci.Deserialize.font(t.value,this.tickLabelMinorFont)).setXml(t=>this.tickLabelMinorFont=Ae.b.Convert.toFont(t.textContent)),new ds("MarkerBrush"),new ds("LinearBarBrush"),new ds("LinearBarBorderBrush"),new ds("LinearBarEmptyBrush"),new ds("LinearBarEmptyBorderBrush"),new ds("LinearScaleBrush"),new ds("RadialBarBrush"),new ds("RadialBarBorderBrush"),new ds("RadialBarEmptyBrush"),new ds("RadialBarEmptyBorderBrush"),new ds("NeedleBrush"),new ds("NeedleBorderBrush"),new ji("NeedleBorderWidth","",1),new ds("NeedleCapBrush"),new ds("NeedleCapBorderBrush")])}get componentId(){return Ae.c.StiComponentId.StiGaugeStyle}getStyleFromComponent(e,t){if(t!=Ae.c.StiStyleElements.All)throw new Ue("StiGaugeStyle support only StiStyleElements.All.");var r=e.stimulsoft().as(wC);if(null!=r&&0<(t&Ae.c.StiStyleElements.Brush)){let t=e;this.brush=t.brush.clone()}}setStyleToComponent(t){}},Ae.ar.StiHeatmapStyleData=class{constructor(t,e,r){this.color=re.fromHtml("#70ad47"),this.zeroColor=Fe.transparent,this.mode=Ae.ar.StiHeatmapFillMode.Lightness,null!=t&&(this.color=t),null!=e&&(this.zeroColor=e),null!=r&&(this.mode=r)}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[new dl("Color","",re.fromHtml("#70ad47")),new dl("ZeroColor","",Fe.transparent),new Gi("Mode","",Ae.ar.StiHeatmapFillMode,Ae.ar.StiHeatmapFillMode.Lightness)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}shouldSerializeColor(){return!this.color.equals(re.fromHtml("#70ad47"))}shouldSerializeZeroColor(){return!this.zeroColor.equals(Fe.transparent)}shouldSerializeMode(){return this.mode!=Ae.ar.StiHeatmapFillMode.Lightness}isDefault(){return!this.shouldSerializeColor()&&!this.shouldSerializeZeroColor()&&!this.shouldSerializeMode()}},Ae.ar.StiHeatmapWithGroupStyleData=class{constructor(t,e,r){this.defaultColors=[re.fromHtml("#70ad47"),re.fromHtml("#ffc000")],this.zeroColor=Fe.transparent,this.mode=Ae.ar.StiHeatmapFillMode.Lightness,this.colors=null!=t?t:this.defaultColors.stimulsoft().clone(),null!=e&&(this.zeroColor=e),null!=r&&(this.mode=r)}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[new Ma("Colors").get(()=>ci.Serialize.colorArray(this.colors)).set(t=>this.colors=ci.Deserialize.colorArray(t.value)).setXml(t=>this.colors=Ae.bl.StiReportObjectStringConverter.convertStringToColorArray(t.textContent)),new dl("ZeroColor","",Fe.transparent),new Gi("Mode","",Ae.ar.StiHeatmapFillMode,Ae.ar.StiHeatmapFillMode.Lightness)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}shouldSerializeColors(){return null==this.colors||this.colors.length!=this.defaultColors.length||!this.colors.stimulsoft().equals(this.colors)}shouldSerializeZeroColor(){return!this.zeroColor.equals(Fe.transparent)}shouldSerializeMode(){return this.mode!=Ae.ar.StiHeatmapFillMode.Lightness}isDefault(){return!this.shouldSerializeColors()&&!this.shouldSerializeZeroColor()&&!this.shouldSerializeMode()}},Ae.c.StiIndicatorStyle=class extends bl{constructor(t="",e="",r){super(t,e,r),this.backColor=Fe.white,this.glyphColor=re.fromHtml("#3498db"),this.foreColor=re.fromHtml("#8c8c8c"),this.hotBackColor=Fe.transparent,this.hotForeColor=Fe.dimGray,this.positiveColor=Fe.green,this.negativeColor=Fe.red}meta(){return this._hash||(this._hash=[...super.meta(),new dl("BackColor","",Fe.white),new dl("GlyphColor","",re.fromHtml("#3498db")),new dl("ForeColor","",re.fromHtml("#8c8c8c")),new dl("HotBackColor","",Fe.transparent),new dl("PositiveColor","",Fe.green),new dl("NegativeColor","",Fe.red)])}getStyleFromComponent(t,e){if(e!=Ae.c.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")}setStyleToComponent(t){}},Ae.c.StiProgressStyle=class extends bl{constructor(t="",e="",r){super(t,e,r),this.trackColor=re.fromHtml("#e7ebec"),this.bandColor=re.fromHtml("#3498db"),this.seriesColors=[re.fromHtml("#3498db"),re.fromHtml("#ef717a"),re.fromHtml("#6dcbb3"),re.fromHtml("#f28161"),re.fromHtml("#fccd1b")],this.foreColor=re.fromHtml("#8c8c8c"),this.backColor=Fe.white}meta(){return this._hash||(this._hash=[...super.meta(),new dl("TrackColor","",re.fromHtml("#e7ebec")),new dl("BandColor","",re.fromHtml("#3498db")),new Ma("SeriesColors").get(()=>ci.Serialize.colorArray(this.seriesColors)).set(t=>this.seriesColors=ci.Deserialize.colorArray(t.value)).setXml(t=>this.seriesColors=Ae.bl.StiReportObjectStringConverter.convertStringToColorArray(t.textContent)),new dl("ForeColor","",re.fromHtml("#8c8c8c")),new dl("BackColor","",Fe.white)])}getStyleFromComponent(t,e){if(e!=Ae.c.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")}setStyleToComponent(t){}};let CC=Ae.am.StiFunctionsStrings,TC=Ae.c.StiNestedFactor,PC=Ae.ar.StiStyleConditionOperation,IC=Ae.ar.StiStyleComponentType;Ae.c.StiStylesCreator=class{constructor(t){this.showReportTitles=!0,this.showReportSummaries=!0,this.showPageHeaders=!0,this.showPageFooters=!0,this.showGroupHeaders=!0,this.showGroupFooters=!0,this.showHeaders=!0,this.showDatas=!0,this.showFooters=!0,this.showBorders=!0,this.maxNestedLevel=3,this.nestedFactor=TC.Normal,this.report=t}get colorFactor(){if(this.nestedFactor==TC.High)return 1.5;if(this.nestedFactor==TC.Normal)return 1;return.5}createStyles(r,i){var t=((i=Fe.fromArgb(0,0,0,0).equals(i)?Fe.white:i).r+i.g+i.b)/3,e=jl.dark(i,100*this.colorFactor);let n=new Zr(Xr.None,e,1,Jr.Solid);var a=IC.Text|IC.Image|IC.Primitive|IC.CheckBox,s=[],o,e,l,u,h,e,o,h,h,o,l,c,u,o,h,u,d,c,m,p,c,c,d,m,p,g,m,m,f;if(this.showReportTitles&&(o=new Ar("Arial",14,se.Bold),e=150<t?jl.dark(i,200):i,l=new si(Fe.transparent),u=new si(e),h=CC.toProperCase(ne.get("Components","StiReportTitleBand")).stimulsoft().replaceAll(" ","_"),e=De.format("{0}_{1}1",r,h),this.createStyles1(e,this.showBorders,o,l,u,n,a,Im.ReportTitle,1,PC.EqualTo,s),o=new Ar("Arial",10,se.Bold),h=De.format("{0}_{1}2",r,h),this.createStyles1(h,this.showBorders,o,l,u,n,a,Im.ReportTitle,2,PC.GreaterThanOrEqualTo,s)),this.showReportSummaries&&(h=new Ar("Arial",12,se.Bold),o=150<t?jl.dark(i,200):i,l=new si(Fe.transparent),c=new si(o),u=CC.toProperCase(ne.get("Components","StiReportSummaryBand")).stimulsoft().replaceAll(" ","_"),o=De.format("{0}_{1}1",r,u),this.createStyles1(o,this.showBorders,h,l,c,n,a,Im.ReportSummary,1,PC.EqualTo,s),h=new Ar("Arial",10,se.Bold),u=De.format("{0}_{1}2",r,u),this.createStyles1(u,this.showBorders,h,l,c,n,a,Im.ReportSummary,2,PC.GreaterThanOrEqualTo,s)),this.showPageHeaders&&(d=new Ar("Arial",10),c=150<t?jl.dark(i,200):i,m=new si(Fe.transparent),p=new si(c),c=CC.toProperCase(ne.get("Components","StiPageHeaderBand")).stimulsoft().replaceAll(" ","_"),c=De.format("{0}_{1}",r,c),this.createStyles1(c,this.showBorders,d,m,p,n,a,Im.PageHeader,null,null,s)),this.showPageFooters&&(d=new Ar("Arial",10),m=150<t?jl.dark(i,200):i,p=new si(Fe.transparent),g=new si(m),m=CC.toProperCase(ne.get("Components","StiPageFooterBand")).stimulsoft().replaceAll(" ","_"),m=De.format("{0}_{1}",r,m),this.createStyles1(m,this.showBorders,d,p,g,n,a,Im.PageFooter,null,null,s)),this.showGroupHeaders){var S=4/this.maxNestedLevel,g=150<t?jl.dark(i,150):i,b=new si(g);for(let t=1;t<=this.maxNestedLevel;t++){var y=Ne.trunc(S*(t-1)),v=new Ar("Arial",13-y,se.Bold),w=new si(Fe.transparent),C=t==this.maxNestedLevel?PC.GreaterThanOrEqualTo:PC.EqualTo,y=CC.toProperCase(ne.get("Components","StiGroupHeaderBand")).stimulsoft().replaceAll(" ","_"),y=De.format("{0}_{1}{2}",r,y,t);this.createStyles1(y,this.showBorders,v,w,b,n,a,Im.GroupHeader,t,C,s)}}if(this.showGroupFooters){var T=4/this.maxNestedLevel,P=150<t?jl.dark(i,150):i,I=new si(P);for(let t=1;t<=this.maxNestedLevel;t++){var A=Ne.trunc(T*(t-1)),x=new Ar("Arial",13-A,se.Bold),D=new si(Fe.transparent),B=0==t?PC.GreaterThanOrEqualTo:PC.EqualTo,A=CC.toProperCase(ne.get("Components","StiGroupFooterBand")).stimulsoft().replaceAll(" ","_"),A=De.format("{0}_{1}{2}",r,A,t);this.createStyles1(A,this.showBorders,x,D,I,n,a,Im.GroupFooter,t,B,s)}}if(this.showHeaders){var E=100/this.maxNestedLevel,k=new Ar("Arial",8,se.Bold),P=jl.dark(i,200),N=new si(P);n.topmost=!0;for(let e=1;e<=this.maxNestedLevel;e++){let t=Ne.trunc(E*(e-1)*this.colorFactor);255<t&&(t=255);var F=new si(jl.light(i,t)),R=e==this.maxNestedLevel?PC.GreaterThanOrEqualTo:PC.EqualTo,L=CC.toProperCase(ne.get("Components","StiHeaderBand")).stimulsoft().replaceAll(" ","_"),L=De.format("{0}_{1}{2}",r,L,e);this.createStyles1(L,this.showBorders,k,F,N,n,a,Im.Header,e,R,s)}}if(this.showDatas){var M=60/this.maxNestedLevel,O=new Ar("Arial",8),H=jl.dark(i,200),_=new si(H);for(let e=1;e<=this.maxNestedLevel;e++){let t=Ne.trunc((150+M*(e-1))*this.colorFactor);255<t&&(t=255);var V=new si(jl.light(i,t)),G=new si(jl.light(i,.5*t)),U=e==this.maxNestedLevel?PC.GreaterThanOrEqualTo:PC.EqualTo,j=CC.toProperCase(ne.get("Components","StiDataBand")).stimulsoft().replaceAll(" ","_"),j=De.format("{0}_{1}{2}",r,j,e);this.createStyles1(j,this.showBorders,O,new si(Fe.transparent),_,n,a,Im.Data,e,U,s),j=CC.toProperCase(ne.get("Components","StiDataBand")).stimulsoft().replaceAll(" ","_");var W=ne.get("PropertyMain","OddStyle");j=De.format("{0}_{1}{2}_{3}",r,j,e,W),this.createStyles1(j,this.showBorders,O,V,_,n,null,Im.DataOddStyle,e,U,s),j=CC.toProperCase(ne.get("Components","StiDataBand")).stimulsoft().replaceAll(" ","_");var V=ne.get("PropertyMain","EvenStyle");j=De.format("{0}_{1}{2}_{3}",r,j,e,V),this.createStyles1(j,this.showBorders,O,G,_,n,null,Im.DataEvenStyle,e,U,s)}}if(this.showFooters){var q=100/this.maxNestedLevel,z=new Ar("Arial",8),H=jl.dark(i,200),X=new si(H);for(let e=1;e<=this.maxNestedLevel;e++){let t=Ne.trunc((q*(e-1)+20)*this.colorFactor);255<t&&(t=255);var J=new si(jl.light(i,t)),Y=0==e?PC.GreaterThanOrEqualTo:PC.EqualTo,Q=CC.toProperCase(ne.get("Components","StiFooterBand")).stimulsoft().replaceAll(" ","_"),Q=De.format("{0}_{1}{2}",r,Q,e);this.createStyles1(Q,this.showBorders,z,J,X,n,a,Im.Footer,e,Y,s)}}for(f of s)f.collectionName=r;return s}createStyles1(t,e,r,i,n,a,s,o,l,u,h){var e=this.createStyles2(t,r,i,n,a,o,l,u,s,e),c;for(c of e)h.push(c);return e}createStyles2(t,e,r,i,n,a,s,o,l,u){let h=[];n=new Zr(Xr.None,n.color,n.size,n.style,n.dropShadow,n.shadowSize,n.shadowBrush,n.topmost);let c=this.createStyle(t,e,r,i,n,a,s,o,l);return a==Im.ReportTitle||a==Im.ReportSummary||a==Im.PageFooter||a==Im.PageHeader?c.allowUseBorderSidesFromLocation=!1:c.allowUseBorderSidesFromLocation=u,h.push(c),h}createStyle(t,e,r,i,n,a,s,o,l){let u=new qb(this.getStyleName(t));u.font=e,u.brush=r,u.textBrush=i,u.border=n;let h=[];return null!=o&&null!=s&&h.push(new Ae.ba.StiStyleConditionPlacementNestedLevelElement(s,o)),null!=l&&h.push(new Ae.ba.StiStyleConditionComponentTypeElement(l)),h.push(new Ae.ba.StiStyleConditionPlacementElement(a)),u.conditions.add(h.stimulsoft().toArray()),u}getStyleName(e){let r=e,i=2;while(1){let t=!1;for(var n of this.report.styles.list)if(n.name==r){t=!0;break}if(!t)return r;r=De.format("{0}_{1}",e,i),i++}}};let AC=Ae.as.IStiCustomStyleCoreXF;Ae.ar.StiStylesHelper=class{static getBorderSidesFromLocation(t){let e=Xr.None;var r=Ne.round2(t.page.unit.convertToHInches(t.left)/10,0),i=Ne.round2(t.page.unit.convertToHInches(t.top)/10,0),n=Ne.round2(t.page.unit.convertToHInches(t.parent.width)/10,0),a=Ne.round2(t.page.unit.convertToHInches(t.parent.height)/10,0),s=Ne.round2(t.page.unit.convertToHInches(t.left+t.width)/10,0),t=Ne.round2(t.page.unit.convertToHInches(t.top+t.height)/10,0);return r<=0&&(e|=Xr.Left),i<=0&&(e|=Xr.Top),n<=s&&(e|=Xr.Right),a<=t&&(e|=Xr.Bottom),e}static changeComponentStyleName(r,i,n){if(r.componentStyle==i&&(r.componentStyle=n),null!=r.conditions&&0<r.conditions.count)for(let e=0;e<r.conditions.count;e++){let t=r.conditions.getByIndex(e).stimulsoft().as(dd);null!=t&&t.style==i&&(t.style=n)}this.changeDataBandStyleName(r,i,n),this.changeElementStyleName(r,i,n),this.changeChartStyleName(r,i,n),this.changeGaugeStyleName(r,i,n)}static changeDataBandStyleName(t,e,r){let i=t.stimulsoft().as(Jl);if(null==i)return;i.evenStyle==e&&(i.evenStyle=r),i.oddStyle==e&&(i.oddStyle=r)}static changeElementStyleName(t,e,r){let i=t.stimulsoft().as(Bf);if(null==i||i.customStyleName!=e)return;i.customStyleName=r}static changeChartStyleName(t,e,r){let i=t.stimulsoft().as(Eo);if(null==i||i.customStyleName!=e)return;i.customStyleName=r;let n=i.style.stimulsoft().as(Bo);if(null==n)return;n.name=r;let a=n.core.stimulsoft().as(AC);if(null==a)return;a.reportStyleName=r}static changeGaugeStyleName(t,e,r){let i=t.stimulsoft().as(wC);if(null==i||i.customStyleName!=e)return;i.customStyleName=r}},Ae.ba.StiStyleConditionElement=class{},Ae.ba.StiStyleConditionComponentNameElement=class extends Ae.ba.StiStyleConditionElement{constructor(t,e=Ae.ar.StiStyleConditionOperation.EqualTo){super(),this._operationComponentName=Ae.ar.StiStyleConditionOperation.EqualTo,this._componentName="",this._componentName=t,this._operationComponentName=e}get operationComponentName(){return this._operationComponentName}set operationComponentName(t){this._operationComponentName=t}get componentName(){return this._componentName}set componentName(t){this._componentName=t}},Ae.ba.StiStyleConditionComponentTypeElement=class extends Ae.ba.StiStyleConditionElement{constructor(t,e=Ae.ar.StiStyleConditionOperation.EqualTo){super(),this._componentType=Ae.ar.StiStyleComponentType.Text,this._operationComponentType=Ae.ar.StiStyleConditionOperation.EqualTo,this._componentType=t,this._operationComponentType=e}get componentType(){return this._componentType}set componentType(t){this._componentType=t}get operationComponentType(){return this._operationComponentType}set operationComponentType(t){this._operationComponentType=t}};let xC=Ae.ba.StiStyleConditionComponentNameElement,DC=Ae.ba.StiStyleConditionComponentTypeElement;Ae.aZ.StiStyleCondition=class{constructor(t,e,r,i,n,a,s,o,l,u,h){this._type=Ae.ar.StiStyleConditionType.Placement,this._operationPlacement=Ae.ar.StiStyleConditionOperation.EqualTo,this._operationPlacementNestedLevel=Ae.ar.StiStyleConditionOperation.EqualTo,this._operationComponentType=Ae.ar.StiStyleConditionOperation.EqualTo,this._operationLocation=Ae.ar.StiStyleConditionOperation.EqualTo,this._operationComponentName=Ae.ar.StiStyleConditionOperation.EqualTo,this._placement=Ae.ar.StiStyleComponentPlacement.None,this._placementNestedLevel=1,this._componentType=Ae.ar.StiStyleComponentType.Text,this._location=Ae.ar.StiStyleLocation.None,this._componentName="",null==t||(ke.isArray(t)?this.fromElements(t):(this._type=t,this._operationPlacement=e,this._operationPlacementNestedLevel=r,this._operationComponentType=i,this._operationLocation=n,this._operationComponentName=a,this._placement=s,this._placementNestedLevel=o,this._componentType=l,this._location=u,this._componentName=h))}implements(){return[Jt,Yt]}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Gi("Type","_",Ae.ar.StiStyleConditionType,Ae.ar.StiStyleConditionType.Placement),new Gi("OperationPlacement","_",Ae.ar.StiStyleConditionOperation,Ae.ar.StiStyleConditionOperation.EqualTo),new Gi("OperationPlacementNestedLevel","_",Ae.ar.StiStyleConditionOperation,Ae.ar.StiStyleConditionOperation.EqualTo),new Gi("OperationComponentType","_",Ae.ar.StiStyleConditionOperation,Ae.ar.StiStyleConditionOperation.EqualTo),new Gi("OperationLocation","_",Ae.ar.StiStyleConditionOperation,Ae.ar.StiStyleConditionOperation.EqualTo),new Gi("OperationComponentName","_",Ae.ar.StiStyleConditionOperation,Ae.ar.StiStyleConditionOperation.EqualTo),new Gi("Placement","_",Ae.ar.StiStyleComponentPlacement,Ae.ar.StiStyleComponentPlacement.None),new ji("PlacementNestedLevel","_",1),new Gi("ComponentType","_",Ae.ar.StiStyleComponentType,Ae.ar.StiStyleComponentType.Text),new Gi("Location","_",Ae.ar.StiStyleLocation,Ae.ar.StiStyleLocation.None),new Ui("ComponentName","_")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}clone(){return this.stimulsoft().memberwiseClone()}get type(){return this._type}set type(t){this._type=t}get operationPlacement(){return this._operationPlacement}set operationPlacement(t){this._operationPlacement=t}get operationPlacementNestedLevel(){return this._operationPlacementNestedLevel}set operationPlacementNestedLevel(t){this._operationPlacementNestedLevel=t}get operationComponentType(){return this._operationComponentType}set operationComponentType(t){this._operationComponentType=t}get operationLocation(){return this._operationLocation}set operationLocation(t){this._operationLocation=t}get operationComponentName(){return this._operationComponentName}set operationComponentName(t){this._operationComponentName=t}get placement(){return this._placement}set placement(t){this._placement=t}get placementNestedLevel(){return this._placementNestedLevel}set placementNestedLevel(t){this._placementNestedLevel=t}get componentType(){return this._componentType}set componentType(t){this._componentType=t}get location(){return this._location}set location(t){this._location=t}get componentName(){return this._componentName}set componentName(t){this._componentName=t}fromElements(t){this.type=0;for(var e of t){var r=e.stimulsoft().as(xC);null!=r&&(this.type|=Ae.ar.StiStyleConditionType.ComponentName,this.componentName=r.componentName,this.operationComponentName=r.operationComponentName);var r=e.stimulsoft().as(DC);null!=r&&(this.type|=Ae.ar.StiStyleConditionType.ComponentType,this.componentType=r.componentType,this.operationComponentType=r.operationComponentType);var r=e.stimulsoft().as(Ae.ba.StiStyleConditionPlacementElement);null!=r&&(this.type|=Ae.ar.StiStyleConditionType.Placement,this.placement=r.placement,this.operationPlacement=r.operationPlacement);var r=e.stimulsoft().as(Ae.ba.StiStyleConditionPlacementNestedLevelElement);null!=r&&(this.type|=Ae.ar.StiStyleConditionType.PlacementNestedLevel,this.placementNestedLevel=r.placementNestedLevel,this.operationPlacementNestedLevel=r.operationPlacementNestedLevel);var e=e.stimulsoft().as(Ae.ba.StiStyleConditionLocationElement);null!=e&&(this.type|=Ae.ar.StiStyleConditionType.Location,this.location=e.location,this.operationLocation=e.operationLocation)}}};let BC=Ae.ar.StiStyleLocation,EC=Ae.ar.StiStyleConditionType;Ae.c.StiStyleConditionHelper=class{static isAllowStyle(n,t){for(var a of t.conditions.list){let t=!0,e=!0,r=!0,i=!0;if(0<(a.type&EC.ComponentName))switch(a.operationComponentName){case PC.EqualTo:t=n.name==a.componentName;break;case PC.NotEqualTo:t=n.name!=a.componentName;break;case PC.BeginningWith:t=null!=n.name&&n.name.stimulsoft().startsWith(a.componentName);break;case PC.EndingWith:t=null!=n.name&&n.name.stimulsoft().endsWith(a.componentName);break;case PC.Containing:t=null!=n.name&&n.name.stimulsoft().contains(a.componentName);break;case PC.NotContaining:t=null!=n.name&&!n.name.stimulsoft().contains(a.componentName);break}var s,o,l,u,h,c,d,m;if(0<(a.type&EC.ComponentType)&&(e=!1,0<(a.componentType&IC.Chart)&&n.is(Ae.as.IStiChart)&&(e=!0),0<(a.componentType&IC.Image)&&n.is(Ae.ap.StiImage)&&(e=!0),0<(a.componentType&IC.Text)&&n.is(Ae.ap.StiSimpleText)&&(e=!0),0<(a.componentType&IC.Primitive)&&(n.is(Ae.ap.StiShape)||n.is(Ae.ap.StiPrimitive))&&(e=!0),0<(a.componentType&IC.CheckBox)&&n.is(Ae.ap.StiCheckBox)&&(e=!0),a.operationComponentType==PC.NotEqualTo&&(e=!e)),0<(a.type&EC.Location)&&null!=n.page&&null!=n.parent&&(s=Ne.round2(n.page.unit.convertToHInches(n.left)/10,0),o=Ne.round2(n.page.unit.convertToHInches(n.top)/10,0),l=Ne.round2(n.page.unit.convertToHInches(n.width)/10,0),u=Ne.round2(n.page.unit.convertToHInches(n.height)/10,0),h=Ne.round2(n.page.unit.convertToHInches(n.parent.width)/10,0),c=Ne.round2(n.page.unit.convertToHInches(n.parent.height)/10,0),d=s+l,m=o+u,i=!1,0<(a.location&BC.Left)&&o<=0&&s<=0&&u==c&&(i=!0),0<(a.location&BC.Right)&&o<=0&&h<=d&&u==c&&(i=!0),0<(a.location&BC.Top)&&s<=0&&o<=0&&l==h&&(i=!0),0<(a.location&BC.Bottom)&&s<=0&&c<=m&&l==h&&(i=!0),0<(a.location&BC.CenterHorizontal)&&o<=0&&0<s&&d<h&&u==c&&(i=!0),0<(a.location&BC.CenterVertical)&&s<=0&&0<o&&m<c&&l==h&&(i=!0),i||(0<(a.location&BC.TopLeft)&&o<=0&&s<=0&&(i=!0),0<(a.location&BC.TopCenter)&&o<=0&&0<s&&d<h&&(i=!0),0<(a.location&BC.TopRight)&&o<=0&&h<=d&&(i=!0),0<(a.location&BC.MiddleLeft)&&0<o&&m<c&&s<=0&&(i=!0),0<(a.location&BC.MiddleCenter)&&0<o&&m<c&&0<s&&d<h&&(i=!0),0<(a.location&BC.MiddleRight)&&0<o&&m<c&&h<=d&&(i=!0),0<(a.location&BC.BottomLeft)&&c<=m&&s<=0&&(i=!0),0<(a.location&BC.BottomCenter)&&c<=m&&0<s&&d<h&&(i=!0),0<(a.location&BC.BottomRight)&&c<=m&&h<=d&&(i=!0)),a.operationPlacement==PC.NotEqualTo&&(i=!i)),0<(a.type&EC.Placement)){if(r=!1,0<(a.placement&Im.ReportTitle)&&n.parent.is(Ae.ap.StiReportTitleBand)&&(r=!0),0<(a.placement&Im.ReportSummary)&&n.parent.is(Ae.ap.StiReportSummaryBand)&&(r=!0),0<(a.placement&Im.PageHeader)&&n.parent.is(Ae.ap.StiPageHeaderBand)&&(r=!0),0<(a.placement&Im.PageFooter)&&n.parent.is(Ae.ap.StiPageFooterBand)&&(r=!0),0<(a.placement&Im.GroupHeader)&&n.parent.is(Ae.ap.StiGroupHeaderBand)&&(r=!0),0<(a.placement&Im.GroupFooter)&&n.parent.is(Ae.ap.StiGroupFooterBand)&&(r=!0),0<(a.placement&Im.Header)&&n.parent.is(Ae.ap.StiHeaderBand)&&(r=!0),0<(a.placement&Im.Footer)&&n.parent.is(Ae.ap.StiFooterBand)&&(r=!0),0<(a.placement&Im.ColumnHeader)&&n.parent.is(Ae.ap.StiColumnHeaderBand)&&(r=!0),0<(a.placement&Im.ColumnFooter)&&n.parent.is(Ae.ap.StiColumnFooterBand)&&(r=!0),0<(a.placement&Im.Data)&&n.parent.is(Ae.ap.StiDataBand)&&(r=!0),0<(a.placement&Im.DataEvenStyle)&&n.is(Ae.ap.StiDataBand)&&(r=!0),0<(a.placement&Im.DataOddStyle)&&n.is(Ae.ap.StiDataBand)&&(r=!0),0<(a.placement&Im.Table)&&n.parent.is(Nd)&&(r=!0),0<(a.placement&Im.Hierarchical)&&n.parent.is(Ae.ap.StiHierarchicalBand)&&(r=!0),0<(a.placement&Im.Child)&&n.parent.is(Ae.ap.StiChildBand)&&(r=!0),0<(a.placement&Im.Empty)&&n.parent.is(Ae.ap.StiEmptyBand)&&(r=!0),0<(a.placement&Im.Overlay)&&n.parent.is(Ae.ap.StiOverlayBand)&&(r=!0),0<(a.placement&Im.Panel)&&n.parent.is(Ae.ap.StiPanel)&&(r=!0),0<(a.placement&Im.Page)&&n.parent.is(Ae.ap.StiPage)&&(r=!0),r&&0<(a.type&EC.PlacementNestedLevel)){let t=1,e=n.parent;(0<(a.placement&Im.DataEvenStyle)||0<(a.placement&Im.DataOddStyle))&&(e=n);var d=e.stimulsoft().as(Ae.ap.StiBand);null!=d&&(t=d.nestedLevel),a.operationPlacementNestedLevel==PC.EqualTo?r=t==a.placementNestedLevel:a.operationPlacementNestedLevel==PC.NotEqualTo?r=t!=a.placementNestedLevel:a.operationPlacementNestedLevel==PC.GreaterThan?r=t>a.placementNestedLevel:a.operationPlacementNestedLevel==PC.GreaterThanOrEqualTo?r=t>=a.placementNestedLevel:a.operationPlacementNestedLevel==PC.LessThan?r=t<a.placementNestedLevel:a.operationPlacementNestedLevel==PC.LessThanOrEqualTo&&(r=t<=a.placementNestedLevel)}a.operationPlacement==PC.NotEqualTo&&(r=!r)}if(!(t&&e&&r&&i))return!1}return!0}},Ae.ba.StiStyleConditionLocationElement=class extends Ae.ba.StiStyleConditionElement{constructor(t,e=Ae.ar.StiStyleConditionOperation.EqualTo){super(),this._operationLocation=Ae.ar.StiStyleConditionOperation.EqualTo,this._location=Ae.ar.StiStyleLocation.None,this._location=t,this._operationLocation=e}get operationLocation(){return this._operationLocation}set operationLocation(t){this._operationLocation=t}get location(){return this._location}set location(t){this._location=t}},Ae.ba.StiStyleConditionPlacementElement=class extends Ae.ba.StiStyleConditionElement{constructor(t,e=Ae.ar.StiStyleConditionOperation.EqualTo){super(),this._placement=Ae.ar.StiStyleComponentPlacement.None,this._operationPlacement=Ae.ar.StiStyleConditionOperation.EqualTo,this._placement=t,this._operationPlacement=e}get placement(){return this._placement}set placement(t){this._placement=t}get operationPlacement(){return this._operationPlacement}set operationPlacement(t){this._operationPlacement=t}},Ae.ba.StiStyleConditionPlacementNestedLevelElement=class extends Ae.ba.StiStyleConditionElement{constructor(t,e=Ae.ar.StiStyleConditionOperation.EqualTo){super(),this._placementNestedLevel=1,this._operationPlacementNestedLevel=Ae.ar.StiStyleConditionOperation.EqualTo,this._placementNestedLevel=t,this._operationPlacementNestedLevel=e}get placementNestedLevel(){return this._placementNestedLevel}set placementNestedLevel(t){this._placementNestedLevel=t}get operationPlacementNestedLevel(){return this._operationPlacementNestedLevel}set operationPlacementNestedLevel(t){this._operationPlacementNestedLevel=t}},Ae.au.StiInchesUnit=class extends Ae.au.StiUnit{get rulerStep(){return 1}get factor(){return 100}get shortName(){return"in"}get name(){return"Inches"}convertToHInches(t){return 100*t}convertFromHInches(t){return t/100}},(k=dC=Ae.aH.StiPreviewSettings||(Ae.aH.StiPreviewSettings={}))[k["All"]=268435455]="All",k[k["None"]=0]="None",k[k["PageViewMode"]=1]="PageViewMode",k[k["VertScrollBar"]=2]="VertScrollBar",k[k["HorScrollBar"]=4]="HorScrollBar",k[k["StatusBar"]=8]="StatusBar",k[k["Print"]=16]="Print",k[k["Open"]=32]="Open",k[k["Save"]=64]="Save",k[k["Parameters"]=128]="Parameters",k[k["SendEMail"]=256]="SendEMail",k[k["PageNew"]=512]="PageNew",k[k["PageDelete"]=1024]="PageDelete",k[k["PageDesign"]=2048]="PageDesign",k[k["PageSize"]=4096]="PageSize",k[k["Resources"]=8192]="Resources",k[k["Editor"]=65536]="Editor",k[k["Find"]=131072]="Find",k[k["Zoom"]=262144]="Zoom",k[k["PageControl"]=524288]="PageControl",k[k["Bookmarks"]=1048576]="Bookmarks",k[k["Thumbs"]=2097152]="Thumbs",k[k["ContextMenu"]=4194304]="ContextMenu",k[k["Close"]=8388608]="Close",k[k["Toolbar"]=16777216]="Toolbar",k[k["Default"]=260039167]="Default";{let t=class extends bl{constructor(){super(...arguments),this.allowDashboard=!1}implements(){return t.implementsStiGaugeStyleXF||(t.implementsStiGaugeStyleXF=super.implements().concat([Ae.aE.IStiGaugeStyle,Yt])),t.implementsStiGaugeStyleXF}get componentId(){return Ae.c.StiComponentId.StiGaugeStyle}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}static createFromJsonObject(t){let e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString();if("StiGaugeStyleXF"==e||"StiCustomGaugeStyle"==e)return new Ae.aE.StiCustomGaugeStyle;{let t=Hd.Services.gaugeStyles.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==t)throw De.format("Type {0} is not found!",e);return t.createNew()}}static createFromXml(t){var t,t,t=null===(t=null===(t=t.attributes.getNamedItem("type"))||void 0===t?void 0:t.value)||void 0===t?void 0:t.split(".").pop();if(null==t)return null;return new Ae.aE[t]}get serviceName(){return this.core.localizedName}get serviceCategory(){return"Gauge"}get serviceType(){return t}toString(){if(this.is(Ae.aE.StiCustomGaugeStyle)&&null!=this.core.reportGaugeStyle)return this.core.reportGaugeStyle.name;return this.serviceName}compareGaugeStyle(t){if(null==t)return!1;var r=this.as(Ae.aE.StiCustomGaugeStyle),i=t.as(Ae.aE.StiCustomGaugeStyle);if(null!=r&&null!=i){let t=r.core.reportStyleName;null!=r.core.reportGaugeStyle&&(t=r.core.reportGaugeStyle.name);let e=i.core.reportStyleName;return null!=i.core.reportGaugeStyle&&(e=i.core.reportGaugeStyle.name),t==e}return this.stimulsoft().getType()==t.stimulsoft().getType()}drawStyle(t,e,r,i){}drawBox(t,e,r,i){}getStyleFromComponent(t,e){}setStyleToComponent(t){}createNew(){return null}};Ae.aE.StiGaugeStyleXF=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Turquoise,this.core=new Ae.aE.StiGaugeStyleCoreXF26}get dashboardName(){return ne.get("PropertyColor","Turquoise")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF26=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.SlateGray,this.core=new Ae.aE.StiGaugeStyleCoreXF27}get dashboardName(){return ne.get("PropertyColor","SlateGray")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF27=t}Ae.aE.StiGaugeStyleCoreXF=class{constructor(){this.tickMarkMajorBorderWidth=0,this.tickMarkMinorBorderWidth=0,this.markerSkin=Ae.aE.StiMarkerSkin.TriangleRight,this.markerBorderBrush=new ei,this.markerBorderWidth=0,this.styleId=Ae.aE.StiGaugeStyleId.StiStyle26}get localizedName(){return null}};let kC=Ae.aR.StiDashboardStyleHelper;Ae.aE.StiGaugeStyleCoreXF25=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#ffffff")),this.foreColor=kC.getForeColor2(lS.Green),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#43682b"),this.tickMarkMajorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#888888")),this.linearScaleBrush=new si(re.fromHtml("#70ad47")),this.linearBarBrush=new si(re.fromHtml("#70ad47")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#70ad47")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#e6e6e6")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#70ad47")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#70ad47")),this.needleCapBorderBrush=new si(re.fromHtml("#70ad47")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"25"}},Ae.aE.StiCustomGaugeStyleCoreXF=class extends Ae.aE.StiGaugeStyleCoreXF25{constructor(t){super(),this.reportGaugeStyle=t,this.reportGaugeStyle?(this.brush=this.reportGaugeStyle.brush,this.borderColor=this.reportGaugeStyle.borderColor,this.foreColor=this.reportGaugeStyle.foreColor,this.targetColor=this.reportGaugeStyle.targetColor,this.borderWidth=this.reportGaugeStyle.borderWidth,this.tickMarkMajorBrush=this.reportGaugeStyle.tickMarkMajorBrush,this.tickMarkMajorBorder=this.reportGaugeStyle.tickMarkMajorBorder,this.tickMarkMajorBorderWidth=this.reportGaugeStyle.tickMarkMajorBorderWidth,this.tickMarkMinorBrush=this.reportGaugeStyle.tickMarkMinorBrush,this.tickMarkMinorBorder=this.reportGaugeStyle.tickMarkMinorBorder,this.tickMarkMinorBorderWidth=this.reportGaugeStyle.tickMarkMinorBorderWidth,this.tickLabelMajorTextBrush=this.reportGaugeStyle.tickLabelMajorTextBrush,this.tickLabelMajorFont=this.reportGaugeStyle.tickLabelMajorFont,this.tickLabelMinorTextBrush=this.reportGaugeStyle.tickLabelMinorTextBrush,this.tickLabelMinorFont=this.reportGaugeStyle.tickLabelMinorFont,this.markerBrush=this.reportGaugeStyle.markerBrush,this.linearBarBrush=this.reportGaugeStyle.linearBarBrush,this.linearBarBorderBrush=this.reportGaugeStyle.linearBarBorderBrush,this.linearBarEmptyBrush=this.reportGaugeStyle.linearBarEmptyBrush,this.linearBarEmptyBorderBrush=this.reportGaugeStyle.linearBarEmptyBorderBrush,this.linearScaleBrush=this.reportGaugeStyle.linearScaleBrush,this.radialBarBrush=this.reportGaugeStyle.radialBarBrush,this.radialBarBorderBrush=this.reportGaugeStyle.radialBarBorderBrush,this.radialBarEmptyBrush=this.reportGaugeStyle.radialBarEmptyBrush,this.radialBarEmptyBorderBrush=this.reportGaugeStyle.radialBarEmptyBorderBrush,this.needleBrush=this.reportGaugeStyle.needleBrush,this.needleBorderBrush=this.reportGaugeStyle.needleBorderBrush,this.needleCapBrush=this.reportGaugeStyle.needleCapBrush,this.needleCapBorderBrush=this.reportGaugeStyle.needleCapBorderBrush,this.needleBorderWidth=this.reportGaugeStyle.needleBorderWidth):(this.linearBarBrush=new si(re.fromHtml("#4472c4")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearScaleBrush=new si(re.fromHtml("#70ad47")),this.radialBarBrush=new si(re.fromHtml("#ffc000")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#43682b")),this.radialBarEmptyBorderBrush=new ei,this.needleBrush=new si(re.fromHtml("#ffc000")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#ffc000")),this.needleCapBorderBrush=new si(re.fromHtml("#ffc000"))),this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.08,this.needleRelativeWith=.55}get localizedName(){return"CustomStyle"}get reportStyleName(){return null==this.reportGaugeStyle?null:this.reportGaugeStyle.name}};let NC=Ae.aE.StiCustomGaugeStyleCoreXF;Ae.aE.StiCustomGaugeStyle=class extends Ae.aE.StiGaugeStyleXF27{get serviceName(){return"CustomStyle"}get customCore(){return this.core}constructor(t=null){super(),this.core=new NC(t)}},Ae.aJ.StiMathHelper=class{static length1(t,e){if(t<0&&e<0)return Math.abs(t-e);if(0<t&&0<e)return e-t;return Math.abs(t)+e}static maxMinusMin(t,e){return e<t?t-e:e-t}static getMax(...t){let e=0;0<t.length&&(e=t[0]);let r=1;while(r<t.length)e<t[r]&&(e=t[r]),r++;return e}},Ae.aJ.StiRectangleHelper=class{static centerX(t){return t.left+t.width/2}static centerY(t){return t.top+t.height/2}};let FC=Ae.aI.StiGraphicsPathLinesGaugeGeom,RC=Ae.aI.StiGraphicsPathGaugeGeom,LC=Ae.bn.Orientation,MC=Ae.aJ.StiRectangleHelper,OC=Ae.aJ.StiMathHelper,HC=Ae.aE.StiPlacement;Ae.bf.StiLinearBarGeometry=class{constructor(t){this.radius=0,this.diameter=0,this.size=new Fr(0,0),this.rectGeometry=Tr.empty,this.center=new kr(0,0),this.scale=t}checkRectGeometry(t){var e,r;this.size=t.size;var i={ref:e},n={ref:r};this.checkMinMaxWidth(i,n),this.rectGeometry=this.getRectGeometry(t,(r=n.ref)<(e=i.ref)?e:r),this.center=new kr(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)}getRectGeometry(t,e){let r,i;return this.scale.orientation==LC.Horizontal?(r=this.size.width*this.scale.relativeHeight,i=this.size.height*e):(i=this.size.height*this.scale.relativeHeight,r=this.size.width*e),new Tr(t.x+(this.size.width-r)/2,t.y+(this.size.height-i)/2,r,i)}getRestToLenght(){var t=Math.abs(this.scale.startWidth-this.scale.endWidth);return this.scale.orientation==LC.Horizontal?this.size.height*t/2:this.size.width*t/2}checkMinMaxWidth(t,e){let r=t.ref,i=e.ref;i=this.scale.isReversed?(r=this.scale.endWidth,this.scale.startWidth):(r=this.scale.startWidth,this.scale.endWidth),t.ref=r,e.ref=i}drawScaleGeometry(t){var e,r,i={ref:e},n={ref:r},a,a,a,a;this.checkMinMaxWidth(i,n),e=i.ref,r=n.ref;let s=[];this.scale.orientation==LC.Horizontal?(a=this.size.height,a=(this.rectGeometry.height-(a*=e<r?e:r))/2,r<e?(s[0]=new kr(this.rectGeometry.left,this.rectGeometry.top),s[1]=new kr(this.rectGeometry.right,this.rectGeometry.top+a),s[2]=new kr(this.rectGeometry.right,this.rectGeometry.bottom-a),s[3]=new kr(this.rectGeometry.left,this.rectGeometry.bottom)):(s[0]=new kr(this.rectGeometry.left,this.rectGeometry.top+a),s[1]=new kr(this.rectGeometry.left,this.rectGeometry.bottom-a),s[2]=new kr(this.rectGeometry.right,this.rectGeometry.bottom),s[3]=new kr(this.rectGeometry.right,this.rectGeometry.top))):(a=this.size.width,a=(this.rectGeometry.width-(a*=e<r?e:r))/2,r<e?(s[0]=new kr(this.rectGeometry.left+a,this.rectGeometry.top),s[1]=new kr(this.rectGeometry.left,this.rectGeometry.bottom),s[2]=new kr(this.rectGeometry.right,this.rectGeometry.bottom),s[3]=new kr(this.rectGeometry.right-a,this.rectGeometry.top)):(s[0]=new kr(this.rectGeometry.left,this.rectGeometry.top),s[1]=new kr(this.rectGeometry.left+a,this.rectGeometry.bottom),s[2]=new kr(this.rectGeometry.right-a,this.rectGeometry.bottom),s[3]=new kr(this.rectGeometry.right,this.rectGeometry.top)));let o=new RC(this.rectGeometry,s[0],this.scale.brush,this.scale.borderBrush,1);o.addGraphicsPathLinesGaugeGeom(s),o.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(o)}drawGeometry(t,e,r,i,n,a,s,o,l){let u=o.ref,h=this.rectGeometry.clone();if(u=h.clone(),0==u.width||0==u.height)return o.ref=u,null;let c=e,d=r;if(c==d)return o.ref=u,null;var m=this.scale.scaleHelper.actualMinimum,e=this.scale.scaleHelper.actualMaximum,r=this.scale.scaleHelper.totalLength,e,m,e,p,g,p;if(c<=m&&d<=m||c>=e&&d>=e)return o.ref=u,null;let f,S;S=c<d?(c<m&&(c=m),d>e&&(d=e),f=OC.length1(m,c),OC.length1(c,d)):(c<m&&(c=m),d>e&&(d=e),f=OC.length1(m,d),OC.length1(d,c)),this.scale.orientation==LC.Horizontal?(e=u.width/r,m=f*e,e=S*e,this.scale.isReversed?u.x=u.right-(m+e):u.x+=m,u.width=e):(p=u.height/r,g=f*p,p=S*p,this.scale.isReversed?u.y+=g:u.y+=u.height-(g+p),u.height=p);var g=this.scale.startWidth>this.scale.endWidth,p=this.scale.barGeometry.getRestToLenght();let b=f/r,y=(f+S)/r;g||(b=1-b,y=1-y),b*=p,y*=p;var v=g?y-b:b-y;let w,C=0;if(this.scale.orientation==LC.Horizontal){w=this.size.height*Math.min(i,n),C=this.size.height*Math.max(i,n);var T=this.size.height*a;if(g)switch(s){case HC.Outside:u.y-=C-y+v,u.height=C+v,u.y-=T;break;case HC.Overlay:u.y=MC.centerY(u)-C/2,u.height=C,u.y+=T;break;case HC.Inside:u.y+=u.height-y,u.height=C+v,u.y+=T;break}else switch(s){case HC.Outside:u.y-=C-b+v,u.height=C+v,u.y-=T;break;case HC.Overlay:u.y=MC.centerY(u)-C/2,u.height=C,u.y+=T;break;case HC.Inside:u.y+=u.height-b,u.height=C+v,u.y+=T;break}}else{w=this.size.width*Math.min(i,n),C=this.size.width*Math.max(i,n);var P=this.size.width*a;if(g)switch(s){case HC.Outside:u.x-=C-y+v,u.width=C+v,u.x-=P;break;case HC.Overlay:u.x=MC.centerX(u)-C/2,u.width=C,u.x+=P;break;case HC.Inside:u.x+=u.width-y,u.width=C+v,u.x+=P;break}else switch(s){case HC.Outside:u.x-=C-b+v,u.width=C+v,u.x-=P;break;case HC.Overlay:u.x=MC.centerX(u)-C/2,u.width=C,u.x+=P;break;case HC.Inside:u.x+=u.width-b,u.width=C+v,u.x+=P;break}}return o.ref=u.clone(),l?null:this.drawPrimitiveGeometry(t,u.clone(),w,C,i,n,s,v,g)}drawPrimitiveGeometry(t,r,i,n,a,s,o,l,e){var u=r.clone();r.x=0,r.y=0;let h=[];if(this.scale.startWidth==this.scale.endWidth&&i==n)h[0]=new kr(r.left,r.top),h[1]=new kr(r.right,r.top),h[2]=new kr(r.right,r.bottom),h[3]=new kr(r.left,r.bottom);else{let t=this.scale.startWidth<this.scale.endWidth,e=a<=s;if(this.scale.isReversed&&(t=!t,e=!e),this.scale.orientation==LC.Horizontal)if(t)if(e)switch(o){case HC.Outside:h[0]=new kr(0,r.height-i),h[1]=new kr(r.width,r.height-l-n),h[2]=new kr(r.width,r.height-l),h[3]=new kr(0,r.height);break;case HC.Overlay:h[0]=new kr(0,MC.centerY(r)-i/2),h[1]=new kr(r.width,MC.centerY(r)-n/2),h[2]=new kr(r.width,MC.centerY(r)+n/2),h[3]=new kr(0,MC.centerY(r)+i/2);break;default:h[0]=new kr(0,0),h[1]=new kr(r.width,l),h[2]=new kr(r.width,l+n),h[3]=new kr(0,i);break}else switch(o){case HC.Outside:h[0]=new kr(0,r.height-n),h[1]=new kr(r.width,r.height-l-i),h[2]=new kr(r.width,r.height-l),h[3]=new kr(0,r.height);break;case HC.Overlay:h[0]=new kr(0,MC.centerY(r)-n/2),h[1]=new kr(r.width,MC.centerY(r)-i/2),h[2]=new kr(r.width,MC.centerY(r)+i/2),h[3]=new kr(0,MC.centerY(r)+n/2);break;default:h[0]=new kr(0,0),h[1]=new kr(r.width,l),h[2]=new kr(r.width,l+i),h[3]=new kr(0,n);break}else if(e)switch(o){case HC.Outside:h[0]=new kr(0,r.height-l-i),h[1]=new kr(r.width,r.height-n),h[2]=new kr(r.width,r.height),h[3]=new kr(0,r.height-l);break;case HC.Overlay:h[0]=new kr(0,MC.centerY(r)-i/2),h[1]=new kr(r.right,MC.centerY(r)-n/2),h[2]=new kr(r.right,MC.centerY(r)+n/2),h[3]=new kr(0,MC.centerY(r)+i/2);break;default:h[0]=new kr(0,l),h[1]=new kr(r.right,0),h[2]=new kr(r.right,n),h[3]=new kr(0,l+i);break}else switch(o){case HC.Outside:h[0]=new kr(0,r.height-l-n),h[1]=new kr(r.right,r.height-i),h[2]=new kr(r.right,r.height),h[3]=new kr(0,r.height-l);break;case HC.Overlay:h[0]=new kr(0,MC.centerY(r)-n/2),h[1]=new kr(r.right,MC.centerY(r)-i/2),h[2]=new kr(r.right,MC.centerY(r)+i/2),h[3]=new kr(0,MC.centerY(r)+n/2);break;default:h[0]=new kr(0,l),h[1]=new kr(r.right,0),h[2]=new kr(r.right,i),h[3]=new kr(0,l+n);break}else if(t)if(e)switch(o){case HC.Outside:h[0]=new kr(r.width-l-n,0),h[1]=new kr(r.width-l,0),h[2]=new kr(r.width,r.height),h[3]=new kr(r.width-i,r.height);break;case HC.Overlay:h[0]=new kr(MC.centerX(r)-n/2,0),h[1]=new kr(MC.centerX(r)+n/2,0),h[2]=new kr(MC.centerX(r)+i/2,r.height),h[3]=new kr(MC.centerX(r)-i/2,r.height);break;default:h[0]=new kr(l,0),h[1]=new kr(l+n,0),h[2]=new kr(i,r.height),h[3]=new kr(0,r.height);break}else switch(o){case HC.Outside:h[0]=new kr(r.width-l-i,0),h[1]=new kr(r.width-l,0),h[2]=new kr(r.width,r.height),h[3]=new kr(r.width-n,r.height);break;case HC.Overlay:h[0]=new kr(MC.centerX(r)-i/2,0),h[1]=new kr(MC.centerX(r)+i/2,0),h[2]=new kr(MC.centerX(r)+n/2,r.height),h[3]=new kr(MC.centerX(r)-n/2,r.height);break;default:h[0]=new kr(l,0),h[1]=new kr(l+i,0),h[2]=new kr(n,r.height),h[3]=new kr(0,r.height);break}else if(e)switch(o){case HC.Outside:h[0]=new kr(r.width-n,0),h[1]=new kr(r.width,0),h[2]=new kr(r.width-l,r.height),h[3]=new kr(r.width-l-i,r.height);break;case HC.Overlay:h[0]=new kr(MC.centerX(r)-n/2,0),h[1]=new kr(MC.centerX(r)+n/2,0),h[2]=new kr(MC.centerX(r)+i/2,r.height),h[3]=new kr(MC.centerX(r)-i/2,r.height);break;default:h[0]=new kr(r.left,0),h[1]=new kr(n,0),h[2]=new kr(l+i,r.height),h[3]=new kr(l,r.height);break}else switch(o){case HC.Outside:h[0]=new kr(r.width-i,0),h[1]=new kr(r.width,0),h[2]=new kr(r.width-l,r.height),h[3]=new kr(r.width-l-n,r.height);break;case HC.Overlay:h[0]=new kr(MC.centerX(r)-i/2,0),h[1]=new kr(MC.centerX(r)+i/2,0),h[2]=new kr(MC.centerX(r)+n/2,r.height),h[3]=new kr(MC.centerX(r)-n/2,r.height);break;default:h[0]=new kr(0,0),h[1]=new kr(i,0),h[2]=new kr(l+n,r.height),h[3]=new kr(l,r.height);break}}return h[0].x+=u.left,h[0].y+=u.top,h[1].x+=u.left,h[1].y+=u.top,h[2].x+=u.left,h[2].y+=u.top,h[3].x+=u.left,h[3].y+=u.top,new FC(h)}},Ae.aE.IStiApplyStyleGauge=new Ae.b.Interface("IStiApplyStyleGauge");let _C=Ae.aE.IStiApplyStyleGauge;Ae.bf.StiElementBase=class{constructor(){this.allowApplyStyle=!0}implements(){return[Jt,_C]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}meta(){return this._hash||(this._hash=[])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}applyStyle(t){}clone(){return this.stimulsoft().memberwiseClone()}drawElement(t){}};var yt=Ae.bf.StiElementBase;{let t=class{constructor(){this.actualMinimum=0,this.actualMaximum=100,this.minWidth=.1,this.maxWidth=.1,this._totalLength=100}get totalLength(){return this._totalLength}set totalLength(t){this._totalLength=0==t?1:t}};Ae.bf.StiScaleHelper=t,Ae.bf.StiScaleBase=class extends yt{constructor(){super(),this.scaleHelper=new t,this._left=0,this._top=0,this._startWidth=.1,this._endWidth=.1,this._majorInterval=10,this._minorInterval=1,this._minimum=0,this._maximum=100,this._isReversed=!1,this._brush=new si(Fe.fromArgb(50,Fe.white)),this._borderBrush=new si(Fe.fromArgb(150,Fe.white)),this._items=new Ae.aK.StiGaugeElementCollection(this)}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Left","",0),new ji("Top","",0),new ji("StartWidth","",.1),new ji("EndWidth","",.1),new ji("MajorInterval","",10),new ji("MinorInterval","",1),new Wi("IsReversed"),new ji("Minimum","",0),new ji("Maximum","",10),new ds("Brush"),new ds("BorderBrush"),new Ma("Items")])}get componentId(){return null}get propName(){return null}clone(){let t=super.clone();t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),t._items=new Ae.aK.StiGaugeElementCollection(t);for(var e of this.items.list)t.items.add(e.clone());return this.is(Ae.bd.StiLinearScale)?t.barGeometry=new Ae.bf.StiLinearBarGeometry(t):this.is(Ae.bd.StiRadialScale)&&(t.barGeometry=new Ae.bf.StiRadialBarGeometry(t)),t}get isUp(){let t=this.startWidth<this.endWidth;return this.isReversed&&(t=!t),t}get left(){return this._left}set left(t){this._left=t}get top(){return this._top}set top(t){this._top=t}get startWidth(){return this._startWidth}set startWidth(t){this._startWidth=t,this.calculateWidthScaleHelper()}get endWidth(){return this._endWidth}set endWidth(t){this._endWidth=t,this.calculateWidthScaleHelper()}get majorInterval(){return this._majorInterval}set majorInterval(t){this._majorInterval=t}get minorInterval(){return this._minorInterval}set minorInterval(t){this._minorInterval=t}get minimum(){return this._minimum}set minimum(t){this._minimum=t,this.calculateMinMaxScaleHelper()}get maximum(){return this._maximum}set maximum(t){this._maximum=t,this.calculateMinMaxScaleHelper()}get isReversed(){return this._isReversed}set isReversed(t){this._isReversed=t}get brush(){return this._brush}set brush(t){this._brush=t}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t}get items(){return this._items}set(t){this._items=t}get scaleType(){return null}prepare(t){for(var e of this.items.list)e.prepareGaugeElement()}calculateMinMaxScaleHelper(){this.scaleHelper.actualMaximum=Math.max(this.maximum,this.minimum),this.scaleHelper.actualMinimum=Math.min(this.maximum,this.minimum),this.scaleHelper.totalLength=this.scaleHelper.actualMaximum-this.scaleHelper.actualMinimum}calculateWidthScaleHelper(){this.startWidth>this.endWidth?(this.scaleHelper.maxWidth=this.startWidth,this.scaleHelper.minWidth=this.endWidth):(this.scaleHelper.maxWidth=this.endWidth,this.scaleHelper.minWidth=this.startWidth)}getPosition(t){let e=t;return e<this.scaleHelper.actualMinimum?e=this.scaleHelper.actualMinimum:e>this.scaleHelper.actualMaximum&&(e=this.scaleHelper.actualMaximum),OC.length1(this.scaleHelper.actualMinimum,e)/this.scaleHelper.totalLength}interactiveClick(t){}createNew(){return null}drawElement(e){if(null!=this.gauge){this.barGeometry.drawScaleGeometry(e);let t=0;while(t<this.items.count)this.items.getByIndex(t).drawElement(e),t++}}}}let VC=Ae.bf.StiScaleBase,GC=Ae.bf.StiLinearBarGeometry;{let t=class extends VC{constructor(){super(),this._orientation=LC.Vertical,this._relativeHeight=.9,this.barGeometry=new GC(this)}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Gi("Orientation","",LC),new ji("RelativeHeight","",.9)])}get componentId(){return Ae.c.StiComponentId.StiLinearScale}applyStyle(t){for(var e of this.items.list)e.applyStyle(t)}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get scaleType(){return Ae.aE.StiGaugeElemenType.LinearElement}interactiveClick(t){}createNew(){return new t}};Ae.bd.StiLinearScale=t}let UC=Ae.aE.StiRadiusMode;Ae.bf.StiRadialBarGeometry=class{constructor(t){this.size=new Fr(0,0),this.center=new kr(0,0),this.rectGeometry=Tr.empty,this.radius=0,this.diameter=0,this.scale=t}checkRectGeometry(t){this.size=t.size;var e=this.scale.center,e=new kr(t.x+this.size.width*e.x,t.y+this.size.height*e.y);let r=0,i=0;this.scale.radiusMode==UC.Auto?(r=Math.min(this.size.width,this.size.height)*this.scale.getRadius(),i=r,this.diameter=r,this.radius=r/2):this.scale.radiusMode==UC.Width?(r=this.size.width*this.scale.getRadius(),i=this.size.height,this.diameter=r,this.radius=r/2):(r=this.size.width,i=this.size.height*this.scale.getRadius(),this.diameter=i,this.radius=i/2),this.rectGeometry=new Tr(e.x-r/2,e.y-i/2,r,i),this.center=new kr(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)}drawScaleGeometry(t){let e,r;r=this.scale.isReversed?(e=this.scale.getEndWidth(),this.scale.getStartWidth()):(e=this.scale.getStartWidth(),this.scale.getEndWidth()),0<this.rectGeometry.width&&0<this.rectGeometry.height&&t.addGraphicsArcGeometryGaugeGeom(this.rectGeometry,this.scale.brush,this.scale.borderBrush,1,this.scale.startAngle,this.scale.getSweepAngle(),e,r)}getRestToLenght(){return null}drawGeometry(t,e,r,i,n,a,s,o,l){return null}};let jC=Ae.bf.StiRadialBarGeometry;{let t=class extends VC{constructor(){super(),this._radius=.75,this._radiusMode=Ae.aE.StiRadiusMode.Auto,this._center=new kr(.5,.5),this._startAngle=45,this._sweepAngle=300,this._skin=Ae.aE.StiRadialScaleSkin.Default,this.barGeometry=new jC(this)}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new ji("Radius","",0),new Gi("RadiusMode","",Ae.aE.StiRadiusMode),new Ma("Center").get(()=>ci.Serialize.point(this.center)).set(t=>this.center=ci.Deserialize.point(t.value)).setXml(t=>this.center=this.loadPointFromXml(t.textContent)),new ji("StartAngle","",45),new ji("SweepAngle","",300),new Gi("Skin","",Ae.aE.StiRadialScaleSkin)])}loadPointFromXml(t){let e=t.split(",");return new kr(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber())}get componentId(){return Ae.c.StiComponentId.StiRadialScale}clone(){var t;return super.clone()}applyStyle(t){for(var e of this.items.list)e.applyStyle(t)}get radius(){return this._radius}set radius(t){this._radius=t}get radiusMode(){return this._radiusMode}set radiusMode(t){this._radiusMode=t}get center(){return this._center}set center(t){this._center=t}get startAngle(){return this._startAngle}set startAngle(t){this._startAngle=t}get sweepAngle(){return this._sweepAngle}set sweepAngle(t){this._sweepAngle=t}get skin(){return this._skin}set skin(t){this._skin=t}get scaleType(){return Ae.aE.StiGaugeElemenType.RadialElement}getRadius(){return this.radius<0?0:this.radius}getStartWidth(){let t=this.startWidth;return t<0?t=0:1<t&&(t=1),t}getEndWidth(){let t=this.endWidth;return t<0?t=0:1<t&&(t=1),t}getSweepAngle(){let t=this.sweepAngle;return t<0?t=0:360<t&&(t=360),t}getCurrentAngle(t){return this.getPosition(t)*this.sweepAngle+this.startAngle}interactiveClick(t){}createNew(){return new t}};Ae.bd.StiRadialScale=t}{let r=class extends J{constructor(t){super(),this.parent=null,this.parent=t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.gaugeScales.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();i.gauge=r.gauge,this.add(i),i.loadFromJsonObject(n.value)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let r=e.childNodes[t];if(null==r.attributes)continue;var i;if(null!=r.attributes.getNamedItem("type")){let t=r.attributes.getNamedItem("type").value;var n=t.split(".").pop();let e=new Ae.bd[n];this.add(e),e.loadFromXml(r)}}}clone(){let t=new r(this.parent);for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}setParent(t){t.gauge=this.parent}clearParent(t){t.gauge=null}add(t){this.setParent(t),super.add(t)}insert(t,e){this.setParent(e),super.insert(t,e)}remove(t){var e=this.list.indexOf(t);if(-1!=e)return this.clearParent(t),this.removeAt(e),!0;return!1}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiScaleCollection=r}let WC=Ae.aE.StiCustomGaugeStyle,qC=Ae.aE.StiScaleMode,zC=Ae.aE.StiGaugeStyleXF,XC=Ae.aE.StiGaugeCalculationMode,JC=Ae.aE.StiGaugeType,YC=Ae.aK.StiScaleCollection,QC=Ae.aE.StiGaugeStyleXF26;{let e=class extends gl{constructor(t=Tr.empty){super(),this._border=new Zr,this._brush=new si(Fe.transparent),this.valueFormat_=e.getValueFormatDefault(),this.defaultClientRectangle=new Tr(0,0,240,240),this.mode=qC.V2,this.shortValue=!0,this.minimum=0,this.maximum=100,this.type=JC.FullCircular,this.calculationMode=XC.Auto,this._style=new QC,this._allowApplyStyle=!0,this.customStyleName="",this.isAnimation=!1,this.scales=new YC(this),this.placeOnToolbox=!1,this.previousAnimations=new Ee}implements(){return e.implementsStiGauge||(e.implementsStiGauge=super.implements().concat([sd,el,rl,wC,Yt])),e.implementsStiGauge}saveToJsonObject(t){let e=super.saveToJsonObject(t);return e.removeProperty("ComponentStyle"),e.removeProperty("UseParentStyles"),e.removeProperty("CanGrow"),e.removeProperty("CanShrink"),e.removeProperty("GrowToHeight"),e.removeProperty("Interaction"),e.removeProperty("IsAnimation"),e.addPropertyBool("ShortValue",this.shortValue,!0),e.addPropertyNumber("Minimum",this.minimum,0),e.addPropertyNumber("Maximum",this.maximum,100),e.addPropertyStringNullOrEmpty("CustomStyleName",this.customStyleName),e.addPropertyStringNullOrEmpty("Border",ci.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",ci.Serialize.jBrush(this.brush)),e.addPropertyEnum("Type",JC,this.type,JC.FullCircular),e.addPropertyEnum("CalculationMode",XC,this.calculationMode,XC.Auto),e.addPropertyEnum("Mode",qC,this.mode,qC.V2),e.addPropertyJObject("Scales",this.scales.saveToJsonObject(t)),e.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),e.addPropertyJObject("Style",this.style.saveToJsonObject(t)),e}loadFromJsonObject(t){super.loadFromJsonObject(t);for(var e of t.properties())switch(e.name){case"CustomStyleName":this.customStyleName=e.value.toString();break;case"Style":this.style=zC.createFromJsonObject(e.value);break;case"Type":this.type=Zt.parse(JC,e.value);break;case"ShortValue":this.shortValue=e.value.stimulsoft().toBoolean();break;case"Minimum":this.minimum=e.value.stimulsoft().toNumber();break;case"Maximum":this.maximum=e.value.stimulsoft().toNumber();break;case"CalculationMode":this.calculationMode=Zt.parse(XC,e.value);break;case"Mode":this.mode=Zt.parse(qC,e.value);break;case"AllowApplyStyle":this.allowApplyStyle=e.value.stimulsoft().toBoolean();break;case"Border":this.border=ci.Deserialize.border(e.value);break;case"Brush":this.brush=ci.Deserialize.brush(e.value);break;case"Scales":this.scales.loadFromJsonObject(e.value);break}}loadFromXml(r){super.loadFromXml(r);let t=r.getAttribute("Ref");!De.isNullOrEmpty(t)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[t.stimulsoft().toNumber()]=r.nodeName);for(let e=0;e<r.childNodes.length;e++){let t=r.childNodes[e];switch(t.nodeName){case"CustomStyleName":this.customStyleName=t.textContent;break;case"Style":this.style=zC.createFromXml(t);break;case"Type":this.type=Zt.parse(JC,t.textContent);break;case"ShortValue":this.shortValue=t.textContent.stimulsoft().toBoolean();break;case"Minimum":this.minimum=t.textContent.stimulsoft().toNumber();break;case"Maximum":this.maximum=t.textContent.stimulsoft().toNumber();break;case"CalculationMode":this.calculationMode=Zt.parse(XC,t.textContent);break;case"Mode":this.mode=Zt.parse(qC,t.textContent);break;case"AllowApplyStyle":this.allowApplyStyle=t.textContent.stimulsoft().toBoolean();break;case"Border":this.border=Zr.loadFromXml(t.textContent);break;case"Brush":this.brush=hi.loadFromXml(t.textContent);break;case"Scales":this.scales.loadFromXml(t);break}}}get componentId(){return Ae.c.StiComponentId.StiGauge}clone(t,e){let r=super.clone(t);r.scales=new YC(r);for(var i of this.scales.list)r.scales.add(i.clone());return r}prepareInit(){Ae.aJ.StiGaugeInitHelper.prepare(this)}getImage(t,e){if(null!=this.report&&null!=this.report.preparedExportImages){var r=this.report.preparedExportImages.get(this);if(null!=r)return r}let i=new Ae.ax.StiSvgData;return i.component=this,i.x=0,i.y=0,i.width=this.report.unit.convertToHInches(this.width),i.height=this.report.unit.convertToHInches(this.height),Ae.ax.StiGaugeSvgHelper.getImage(i)}isExportAsImage(t){return t==Ae.c.StiExportFormat.Pdf||t==Ae.c.StiExportFormat.Ods||t==Ae.c.StiExportFormat.Odt||t==Ae.c.StiExportFormat.Ppt2007||t==Ae.c.StiExportFormat.Excel2007||t==Ae.c.StiExportFormat.Word2007}get border(){return this._border}set border(t){this._border=t}get brush(){return this._brush}set brush(t){this._brush=t}get valueFormat(){return this.valueFormat_}set valueFormat(t){this.valueFormat_=t}static getValueFormatDefault(){let t=new Xo;return t.decimalDigits=0,t.state=Ae.ap.StiTextFormatState.DecimalDigits|Ae.ap.StiTextFormatState.Abbreviation,t}get localizedCategory(){return ne.get("Report","Infographics")}get localizedName(){return ne.get("Components","StiGauge")}get style(){return this._style}set style(t){this._style!=t&&null!=(this._style=t)&&(t.core.gauge=this)}get allowApplyStyle(){return this._allowApplyStyle}set allowApplyStyle(t){this._allowApplyStyle!=t&&(this._allowApplyStyle=t)&&this.applyStyle(this.style)}changeSkin(){}getGaugeStyle(){if(!De.isNullOrEmpty(this.customStyleName)&&null!=this.report){var t=this.report.styles.toList().firstOrDefault(t=>t.name==this.customStyleName).as(Ae.c.StiGaugeStyle);if(null!=t)return new WC(t)}return this.style}drawGauge(e){this.applyStyle(this.getGaugeStyle());let r=-1;while(++r<this.scales.count){let t=this.scales.getByIndex(r).as(VC);null!=t&&(t.barGeometry.checkRectGeometry(e.rect),t.drawElement(e))}}createNew(){return new e}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.brush,this.border.color=t.core.borderColor,this.border.size=t.core.borderWidth);for(var e of this.scales.list)e.applyStyle(t)}};Ae.ap.StiGauge=e}{let r=class extends J{constructor(t){super(),this.barType=t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.indicatorRanges.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();this.add(i),i.loadFromJsonObject(n.value)}}loadFromXml(r){for(let t=0;t<r.childNodes.length;t++){let e=r.childNodes[t];if(null==e.attributes)continue;var i;if(null!=e.attributes.getNamedItem("type")){let t=e.attributes.getNamedItem("type").value;var n=t.split(".").pop(),n=new Ae.bd[n];this.add(n)}}}clone(){let t=new r(this.barType);for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}add(t){t.rangeListType==this.barType&&super.add(t)}insert(t,e){e.rangeListType==this.barType&&super.insert(t,e)}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiBarRangeListCollection=r}Ae.bd.StiCustomValueBase=class{constructor(){this._value=0,this._placement=null,this._offset=null}meta(){return this._hash||(this._hash=[new ji("Value","",0),new ji("Offset","",null)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get componentId(){return null}get propName(){return null}clone(){return this.stimulsoft().memberwiseClone()}get value(){return this._value}set value(t){this._value=t}get placement(){return this._placement}set placement(t){this._placement=t}get offset(){return this._offset}set offset(t){this._offset=t}get localizedName(){return null}createNew(){return null}};var l=Ae.bd.StiCustomValueBase;{let t=class extends l{constructor(t=null,e=null,r=null,i=null,n=null,a=null,s=null,o=null,l=null,u=null){super(),this._relativeWidth=null,this._relativeHeight=null,this._offsetAngle=null,this._skin=null,this._brush=new ei,this._borderBrush=new ei,this._borderWidth=null,null!=t&&(this.value=t),null!=e&&(this.offset=e),null!=r&&(this._relativeWidth=r),null!=i&&(this._relativeHeight=i),null!=n&&(this._offsetAngle=n),null!=a&&(this.placement=a),null!=s&&(this.brush=s),null!=o&&(this.borderBrush=o),null!=l&&(this.borderWidth=l),null!=u&&(this._skin=u)}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new ji("RelativeHeight","",null),new ji("RelativeWidth","",null),new ji("OffsetAngle","",null)])}get componentId(){return Ae.c.StiComponentId.StiRadialTickMarkCustomValue}clone(){let t=super.clone();return t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),t}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get offsetAngle(){return this._offsetAngle}set offsetAngle(t){this._offsetAngle=t}get skin(){return this._skin}set skin(t){this._skin=t}get brush(){return this._brush}set brush(t){this._brush=t,this.useBrush=!0}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t,this.useBorderBrush=!0}get borderWidth(){return this._borderWidth}set borderWidth(t){this._borderWidth=t,this.useBorderWidth=!0}get localizedName(){return"RadialTickMarkCustom"}toString(){return De.format("Value={0}",this.value)}createNew(){return new t}};Ae.bd.StiRadialTickMarkCustomValue=t}{let t=class extends Ae.bd.StiCustomValueBase{constructor(t=null,e=null,r=null,i=null,n=null,a=null){super(),this.text=null,this.offsetAngle=null,this.labelRotationMode=null,this.value=t,this.text=e,this.offset=r,this.offsetAngle=i,this.labelRotationMode=n,this.placement=a}meta(){return this._hash||(this._hash=[...super.meta(),new In("Text"),new ji("OffsetAngle","",null)])}get componentId(){return Ae.c.StiComponentId.StiRadialTickLabelCustomValue}get localizedName(){return"RadialTickLabelCustom"}toString(){return De.format("Value={0}, Text={1}",this.value,this.text)}createNew(){return new t}};Ae.bd.StiRadialTickLabelCustomValue=t}{let t=class extends Ae.bd.StiCustomValueBase{constructor(t=null,e=null,r=null,i=null,n=null,a=null){super(),this._relativeWidth=null,this._relativeHeight=null,this.value=t,this.offset=e,this._relativeWidth=r,this._relativeHeight=i,this.placement=n,this._skin=a}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new ji("RelativeHeight","",null),new ji("RelativeWidth","",null)])}get componentId(){return Ae.c.StiComponentId.StiLinearTickMarkCustomValue}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get skin(){return this._skin}set skin(t){this._skin=t}get localizedName(){return"LinearTickMarkCustom"}toString(){return De.format("Value={0}",this.value)}createNew(){return new t}};Ae.bd.StiLinearTickMarkCustomValue=t}{let t=class extends Ae.bd.StiCustomValueBase{constructor(t=0,e=null,r=null,i=null){super(),this._text=null,this.value=t,this._text=e,this.offset=r,this.placement=i}meta(){return this._hash||(this._hash=[...super.meta(),new In("Text")])}get componentId(){return Ae.c.StiComponentId.StiLinearTickLabelCustomValue}get text(){return this._text}set text(t){this._text=t}get localizedName(){return"LinearTickLabelCustom"}toString(){return De.format("Value={0}, Text={1}",this.value,this._text)}createNew(){return new t}};Ae.bd.StiLinearTickLabelCustomValue=t}{let r=class extends J{saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.customValues.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();this.add(i),i.loadFromJsonObject(n.value)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let r=e.childNodes[t];if(null==r.attributes)continue;var i;if(null!=r.attributes.getNamedItem("type")){let t=r.attributes.getNamedItem("type").value;var n=t.split(".").pop();let e=new Ae.bd[n];this.add(e),e.loadFromXml(r)}}}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiCustomValuesCollection=r}Ae.bd.StiStateIndicatorFilter=class{constructor(){this._startValue=0,this._endValue=0,this._brush=new ei,this._borderBrush=new ei}meta(){return this._hash||(this._hash=[new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new ji("StartValue","",0),new ji("EndValue","",0),new ds("Brush"),new ds("BorderBrush")])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get componentId(){return Ae.c.StiComponentId.StiStateIndicatorFilter}get propName(){return null}clone(){return this.stimulsoft().memberwiseClone()}get startValue(){return this._startValue}set startValue(t){this._startValue=t}get endValue(){return this._endValue}set endValue(t){this._endValue=t}get brush(){return this._brush}set brush(t){this._brush=t}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t}toString(){return De.format("StartValue={0}, EndValue={1}",this.startValue,this.endValue)}};let KC=Ae.bd.StiStateIndicatorFilter;{let r=class extends J{saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var e of t.properties()){let t=new KC;this.add(t),t.loadFromJsonObject(e.value)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let r=e.childNodes[t];if(null==r.attributes)continue;var i;if(null!=r.attributes.getNamedItem("type")){let t=r.attributes.getNamedItem("type").value;var n=t.split(".").pop();let e=new Ae.bd[n];this.add(e),e.loadFromXml(r)}}}clone(){let t=new r;for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiFilterCollection=r}Ae.aE.StiGaugeElementSkin=class{draw(t,e,r,i=null,n=null){}};let ZC=Ae.aE.IStiGaugeMarker;Ae.aL.StiMarkerBaseSkin=class extends Ae.aE.StiGaugeElementSkin{addLines(t,e,r,i,n,a,s,o){let l=new RC(i,r[0],e.brush,e.borderBrush,e.borderWidth);l.addGraphicsPathLinesGaugeGeom(r),l.addGraphicsPathCloseFigureGaugeGeom(),null!=o&&(l.animation=o),null!=n&&null!=a?(t.addPushMatrixGaugeGeom(n,a),t.addGraphicsPathGaugeGeom(l),t.addPopTranformGaugeGeom()):t.addGraphicsPathGaugeGeom(l);var n=e.as(ZC),a;null!=n&&n.showValue&&(null==s&&((s=new Mr).alignment=Lr.Center,s.lineAlignment=Lr.Center,s.formatFlags=Nr.NoWrap),a=hv.changeFontSize(n.font,t.zoom),t.addTextGaugeGeom(De.format(n.format,e.valueObj),a,n.textBrush,i,s))}},Ae.aL.StiMarker10Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e;let s=[];s[0]=new kr(r.right,r.top),s[1]=new kr(r.left,r.top+r.height/2),s[2]=new kr(r.right,r.bottom);let o=new Mr;o.alignment=Lr.Far,o.lineAlignment=Lr.Center,this.addLines(t,a,s,r,i,n,o,e.animation)}},Ae.aL.StiMarker11Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e;let s=[];s[0]=new kr(r.left,r.top),s[1]=new kr(r.right,r.top+r.height/2),s[2]=new kr(r.left,r.bottom);let o=new Mr;o.alignment=Lr.Near,o.lineAlignment=Lr.Center,this.addLines(t,a,s,r,i,n,o,e.animation)}},Ae.aL.StiMarker12Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=r.left+r.width/3,u=r.top+r.height/2;let h=[];h[0]=new kr(o,r.top),h[1]=new kr(o,s),h[2]=new kr(l,s),h[3]=new kr(r.left,u),h[4]=new kr(l,r.top);let c=new Mr;c.alignment=Lr.Far,c.lineAlignment=Lr.Center,this.addLines(t,a,h,r,i,n,c,e.animation)}},Ae.aL.StiMarker13Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=o-r.width/3,u=r.top+r.height/2;let h=[];h[0]=new kr(r.left,r.top),h[1]=new kr(l,r.top),h[2]=new kr(o,u),h[3]=new kr(l,s),h[4]=new kr(r.left,s);let c=new Mr;c.alignment=Lr.Near,c.lineAlignment=Lr.Center,this.addLines(t,a,h,r,i,n,c,e.animation)}},Ae.aL.StiMarker14Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=r.height/3,u=r.left+r.width/5;let h=[];h[0]=new kr(u,s),h[1]=new kr(u,s-l),h[2]=new kr(r.left,r.top+r.height/2),h[3]=new kr(u,r.top+l),h[4]=new kr(u,r.top),h[5]=new kr(o,r.top),h[6]=new kr(o,s),this.addLines(t,a,h,r,i,n,null,e.animation)}},Ae.aL.StiMarker15Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=r.height/3,u=r.right-r.width/5;let h=[];h[0]=new kr(r.left,r.top),h[1]=new kr(u,r.top),h[2]=new kr(u,r.top+l),h[3]=new kr(o,r.top+r.height/2),h[4]=new kr(u,s-l),h[5]=new kr(u,s),h[6]=new kr(r.left,s),this.addLines(t,a,h,r,i,n,null,e.animation)}},Ae.aL.StiMarker1Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.left+r.width/2,o=r.top+r.height/2;let l=[];l[0]=new kr(r.left,o),l[1]=new kr(s,r.top),l[2]=new kr(r.right,o),l[3]=new kr(s,r.bottom),this.addLines(t,a,l,r,i,n,null,e.animation)}},Ae.aL.StiMarker2Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right;let l=[];l[0]=new kr(r.left,r.top),l[1]=new kr(o,r.top),l[2]=new kr(o,s),l[3]=new kr(r.left,s),this.addLines(t,a,l,r,i,n,null,e.animation)}},Ae.aL.StiMarker3Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e;let s=[];s[0]=new kr(r.left,r.bottom),s[1]=new kr(r.left+r.width/2,r.top),s[2]=new kr(r.right,r.bottom);let o=new Mr;o.alignment=Lr.Center,o.lineAlignment=Lr.Far,this.addLines(t,a,s,r,i,n,o,e.animation)}},Ae.aL.StiMarker4Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e;let s=[];s[0]=new kr(r.left,r.top),s[1]=new kr(r.left+r.width/2,r.bottom),s[2]=new kr(r.right,r.top);let o=new Mr;o.alignment=Lr.Center,o.lineAlignment=Lr.Near,this.addLines(t,a,s,r,i,n,o,e.animation)}},Ae.aL.StiMarker5Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=r.top+r.height/3,u=r.left+r.width/2;let h=[];h[0]=new kr(r.left,s),h[1]=new kr(r.left,l),h[2]=new kr(u,r.top),h[3]=new kr(o,l),h[4]=new kr(o,s);let c=new Mr;c.alignment=Lr.Center,c.lineAlignment=Lr.Far,this.addLines(t,a,h,r,i,n,c,e.animation)}},Ae.aL.StiMarker6Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom-r.height/3,o=r.left+r.width/2;let l=[];l[0]=new kr(r.left,r.top),l[1]=new kr(r.right,r.top),l[2]=new kr(r.right,s),l[3]=new kr(o,r.bottom),l[4]=new kr(r.left,s);let u=new Mr;u.alignment=Lr.Center,u.lineAlignment=Lr.Near,this.addLines(t,a,l,r,i,n,u,e.animation)}},Ae.aL.StiMarker7Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(e,r,i,t,n){var r=r;if(null!=t&&null!=n?(e.addPushMatrixGaugeGeom(t,n),e.addEllipseGaugeGeom(i,r.brush,r.borderBrush,r.borderWidth),e.addPopTranformGaugeGeom()):e.addEllipseGaugeGeom(i,r.brush,r.borderBrush,r.borderWidth),r.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var n=hv.changeFontSize(r.font,e.zoom);e.addTextGaugeGeom(De.format(r.format,r.valueObj),n,r.textBrush,i,t)}}},Ae.aL.StiMarker8Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=r.top+r.height/5,u=r.width/3;let h=[];h[0]=new kr(r.left,l),h[1]=new kr(r.left+u,l),h[2]=new kr(r.left+r.width/2,r.top),h[3]=new kr(o-u,l),h[4]=new kr(o,l),h[5]=new kr(o,s),h[6]=new kr(r.left,s),this.addLines(t,a,h,r,i,n,null,e.animation)}},Ae.aL.StiMarker9Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.bottom,o=r.right,l=s-r.height/5,u=r.width/3;let h=[];h[0]=new kr(r.left,r.top),h[1]=new kr(o,r.top),h[2]=new kr(o,l),h[3]=new kr(o-u,l),h[4]=new kr(r.left+r.width/2,s),h[5]=new kr(r.left+u,l),h[6]=new kr(r.left,l),this.addLines(t,a,h,r,i,n,null,e.animation)}};var q=Ae.aE.StiGaugeElementSkin;Ae.aL.StiNeedleIndicator1Skin=class extends q{draw(e,t,r,i,n){var a=t,s=Math.min(r.width,r.height),o=s/4,l=.6*r.height,u=new Tr(r.left+o,r.top+.2*r.height,r.width-o,l);let h=[];h[0]=u.location,h[1]=new kr(u.right,u.top+u.height/2),h[2]=new kr(u.left,u.bottom);let c=new RC(u,h[0],new ni(Fe.fromArgb(255,248,210),Fe.fromArgb(0,255,248,210),0),new ei,0);c.addGraphicsPathLinesGaugeGeom(h),c.addGraphicsPathCloseFigureGaugeGeom();var l,u=.4*(l=.4*r.height),l=new Tr(r.left+o,r.top+.3*r.height,r.width-o,l);let d=[];d[0]=l.location,d[1]=new kr(l.right,l.top+u),d[2]=new kr(l.right,l.bottom-u),d[3]=new kr(l.left,l.bottom);let m=new RC(l,d[0],new ni(Fe.fromArgb(34,34,34),Fe.fromArgb(255,210,90),0),new ei,0);m.addGraphicsPathLinesGaugeGeom(d),m.addGraphicsPathCloseFigureGaugeGeom();var l=null!=i&&null!=n,s=new Tr(r.x,r.y,s,s);if(l&&e.addPushMatrixGaugeGeom(i,n),null!=t.animation&&(c.animation=m.animation=t.animation),e.addGraphicsPathGaugeGeom(c),e.addGraphicsPathGaugeGeom(m),e.addEllipseGaugeGeom(s,new ni(Fe.fromArgb(120,120,120),Fe.fromArgb(132,117,77),0),new si(Fe.fromArgb(228,188,83)),1),l&&e.addPopTranformGaugeGeom(),a.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var l=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,a.valueObj),l,a.textBrush,s,t)}}},Ae.aL.StiNeedleIndicator2Skin=class extends q{draw(e,r,t,i,n){var a=r,s=Math.min(t.width,t.height),o=s/3,l=new Tr(t.left+1,t.top+(t.height-o)/2,t.width-1,o);let u=new RC(l,l.location,a.brush,a.borderBrush,a.borderWidth);o=s/7;let h=[];h[0]=l.location,h[1]=new kr(l.right,l.top+(l.height-o)/2),h[2]=new kr(l.right,l.bottom-(l.height-o)/2),h[3]=new kr(l.left,l.bottom),h[4]=h[0],u.addGraphicsPathLinesGaugeGeom(h);var l=null!=i&&null!=n;l&&e.addPushMatrixGaugeGeom(i,n),null!=r.animation&&(u.animation=r.animation),e.addGraphicsPathGaugeGeom(u);var r=new Tr(t.x,t.y,s,s),t=new si(Fe.fromArgb(175,175,175));e.addEllipseGaugeGeom(r,t,a.borderBrush,1.5);var t=.15*s,t=new Tr(r.x+t,r.top+t,s-2*t,s-2*t);if(e.addEllipseGaugeGeom(t,new ei,new si(Fe.white),2),l&&e.addPopTranformGaugeGeom(),a.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var l=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,a.valueObj),l,a.textBrush,r,t)}}},Ae.aL.StiNeedleIndicator3Skin=class extends q{draw(e,r,t,i,n){var a=r,s=Math.min(t.width,t.height),o=.6*s,l=new Tr(t.left+s/2,t.top+(t.height-o)/2,t.width-s/2,o);let u=new RC(l,l.location,a.brush,a.borderBrush,a.borderWidth);var h=.111*l.width,o=.15*l.height;let c=[];c[0]=l.location,c[1]=new kr(l.right-h,l.top+o),c[2]=new kr(l.right,l.top+l.height/2),c[3]=new kr(l.right-h,l.bottom-o),c[4]=new kr(l.left,l.bottom),c[5]=c[0],u.addGraphicsPathLinesGaugeGeom(c);var l=null!=i&&null!=n;l&&e.addPushMatrixGaugeGeom(i,n),e.addGraphicsPathGaugeGeom(u);var n=new Tr(t.x,t.y,s,s),t=new ni(Fe.fromArgb(230,229,229),Fe.fromArgb(80,80,80),45),s=new si(Fe.fromArgb(98,94,90));if(e.addEllipseGaugeGeom(n,t,s,1.5),l&&e.addPopTranformGaugeGeom(),null!=r.animation&&(u.animation=r.animation),a.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var r=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,a.valueObj),r,a.textBrush,n,t)}}},Ae.aL.StiNeedleIndicator4Skin=class extends q{draw(e,t,r,i,n){let a=t;var s=Math.min(r.width,r.height),o=new kr(r.location.x+s/2-a.offsetNeedle*r.width,r.location.y+r.height/2-s/2),o=new Tr(o.x,r.y,r.width-s/2,s);let l=[];l[0]=new kr(o.x,o.y+o.height/2-o.height*a.endWidth/2),l[1]=new kr(o.right,o.y+o.height/2-o.height*a.startWidth/2),l[2]=new kr(o.right,o.y+o.height/2+o.height*a.startWidth/2),l[3]=new kr(o.x,o.y+o.height/2+o.height*a.endWidth/2),l[4]=l[0];let u=new RC(o,l[0],a.brush,a.borderBrush,a.borderWidth);u.addGraphicsPathLinesGaugeGeom(l);var o=null!=i&&null!=n;o&&e.addPushMatrixGaugeGeom(i,n),null!=t.animation&&(u.animation=t.animation),e.addGraphicsPathGaugeGeom(u);var r=new kr(r.location.x,r.location.y+r.height/2-s/2),r=new Tr(r.x,r.y,s,s);e.addEllipseGaugeGeom(r,a.capBrush,a.capBorderBrush,a.capBorderWidth),o&&e.addPopTranformGaugeGeom();var s=a.getActualValue();if(a.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var o=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,s),o,a.textBrush,r,t)}}},Ae.aL.StiState1Skin=class extends q{draw(e,r,i,t,n){let a=r;e.addEllipseGaugeGeom(i,a.brush,a.borderBrush,a.borderWidth);var s=a.getActualValue();if(a.showValue&&null!=s){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var r=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,s),r,a.textBrush,i,t)}}},Ae.aL.StiState2Skin=class extends q{draw(e,r,i,t,n){var a=r;if(e.addRectangleGaugeGeom(i,a.brush,a.borderBrush,a.borderWidth),a.showValue){let t=new Mr;t.alignment=Lr.Center,t.lineAlignment=Lr.Center,t.formatFlags=Nr.NoWrap;var r=hv.changeFontSize(a.font,e.zoom);e.addTextGaugeGeom(De.format(a.format,a.valueObj),r,a.textBrush,i,t)}}},Ae.aL.StiState3Skin=class extends Ae.aL.StiMarkerBaseSkin{draw(t,e,r,i,n){var a=e,s=r.left+r.width/2,o=r.top+r.height/2;let l=[];l[0]=new kr(r.left,o),l[1]=new kr(s,r.top),l[2]=new kr(r.right,o),l[3]=new kr(s,r.bottom),this.addLines(t,a,l,r,i,n,null,e.animation)}},Ae.aL.StiMark1Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a;t.addRectangleGaugeGeom(r,e.brush,e.borderBrush,e.borderWidth)}},Ae.aL.StiMark2Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a;t.addEllipseGaugeGeom(r,e.brush,e.borderBrush,e.borderWidth)}},Ae.aL.StiMark3Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a=e,s=r.left+r.width/2,e=r.top+r.height/2;let o=[];o[0]=new kr(r.left,e),o[1]=new kr(s,r.top),o[2]=new kr(r.right,e),o[3]=new kr(s,r.bottom);let l=new RC(r,o[0],a.brush,a.borderBrush,a.borderWidth);l.addGraphicsPathLinesGaugeGeom(o),l.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(l)}},Ae.aL.StiMark4Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a=e;let s=[];var e=r.bottom;s[0]=new kr(r.left,e),s[1]=new kr(r.right,e),s[2]=new kr(r.left+r.width/2,r.top);let o=new RC(r,s[0],a.brush,a.borderBrush,a.borderWidth);o.addGraphicsPathLinesGaugeGeom(s),o.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(o)}},Ae.aL.StiMark5Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var e=e;let a=[];a[0]=new kr(r.left,r.top),a[1]=new kr(r.right,r.top+r.height/2),a[2]=new kr(r.left,r.bottom);let s=new RC(r,a[0],e.brush,e.borderBrush,e.borderWidth);s.addGraphicsPathLinesGaugeGeom(a),s.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(s)}},Ae.aL.StiMark6Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a=e;let s=[];var e=r.top+r.height/2;s[0]=new kr(r.right,r.top),s[1]=new kr(r.left,e),s[2]=new kr(r.right,r.bottom);let o=new RC(r,s[0],a.brush,a.borderBrush,a.borderWidth);o.addGraphicsPathLinesGaugeGeom(s),o.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(o)}},Ae.aL.StiMark7Skin=class extends Ae.aE.StiGaugeElementSkin{draw(t,e,r,i,n){var a=e;let s=[];var e=r.top+r.height/2;s[0]=new kr(r.right,r.top),s[1]=new kr(r.left,e),s[2]=new kr(r.right,r.bottom);let o=new RC(r,s[0],a.brush,a.borderBrush,a.borderWidth);o.addGraphicsPathLinesGaugeGeom(s),o.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(o)}};let $C=Ae.aL.StiMarker1Skin,tT=Ae.aL.StiMarker2Skin,eT=Ae.aL.StiMarker3Skin,rT=Ae.aL.StiMarker4Skin,iT=Ae.aL.StiMarker5Skin,nT=Ae.aL.StiMarker6Skin,aT=Ae.aL.StiMarker7Skin,sT=Ae.aL.StiMarker8Skin,oT=Ae.aL.StiMarker9Skin,lT=Ae.aL.StiMarker10Skin,uT=Ae.aL.StiMarker11Skin,hT=Ae.aL.StiMarker12Skin,cT=Ae.aL.StiMarker13Skin,dT=Ae.aL.StiMarker14Skin,mT=Ae.aL.StiMark1Skin,pT=Ae.aL.StiMark2Skin,gT=Ae.aL.StiMark3Skin,fT=Ae.aL.StiMark4Skin,ST=Ae.aL.StiMark5Skin,bT=Ae.aL.StiMark6Skin,yT=Ae.aL.StiMark7Skin,vT=Ae.aL.StiState1Skin,wT=Ae.aL.StiState2Skin,CT=Ae.aL.StiState3Skin,TT=Ae.aL.StiNeedleIndicator1Skin,PT=Ae.aL.StiNeedleIndicator2Skin,IT=Ae.aL.StiNeedleIndicator3Skin,AT=Ae.aL.StiNeedleIndicator4Skin;Ae.aJ.StiGaugeSkinHelper=class{static getMarkerSkin(t){switch(t){case Ae.aE.StiMarkerSkin.Diamond:return new $C;case Ae.aE.StiMarkerSkin.Rectangle:return new tT;case Ae.aE.StiMarkerSkin.TriangleTop:return new eT;case Ae.aE.StiMarkerSkin.TriangleBottom:return new rT;case Ae.aE.StiMarkerSkin.PentagonTop:return new iT;case Ae.aE.StiMarkerSkin.PentagonBottom:return new nT;case Ae.aE.StiMarkerSkin.Ellipse:return new aT;case Ae.aE.StiMarkerSkin.RectangularCalloutTop:return new sT;case Ae.aE.StiMarkerSkin.RectangularCalloutBottom:return new oT;case Ae.aE.StiMarkerSkin.TriangleLeft:return new lT;case Ae.aE.StiMarkerSkin.TriangleRight:return new uT;case Ae.aE.StiMarkerSkin.PentagonLeft:return new hT;case Ae.aE.StiMarkerSkin.PentagonRight:return new cT;case Ae.aE.StiMarkerSkin.RectangularCalloutLeft:return new dT;default:return null}}static getTickMarkSkin(t){switch(t){case Ae.aE.StiTickMarkSkin.Rectangle:return new mT;case Ae.aE.StiTickMarkSkin.Ellipse:return new pT;case Ae.aE.StiTickMarkSkin.Diamond:return new gT;case Ae.aE.StiTickMarkSkin.TriangleTop:return new fT;case Ae.aE.StiTickMarkSkin.TriangleRight:return new ST;case Ae.aE.StiTickMarkSkin.TriangleLeft:return new bT;case Ae.aE.StiTickMarkSkin.TriangleBottom:return new yT;default:return null}}static getStateIndicatorSkin(t){switch(t){case Ae.aE.StiStateSkin.Ellipse:return new vT;case Ae.aE.StiStateSkin.Rectangle:return new wT;case Ae.aE.StiStateSkin.Diamond:return new CT;default:return null}}static getNeedleIndicatorSkin(t){switch(t){case Ae.aE.StiNeedleSkin.DefaultNeedle:return new TT;case Ae.aE.StiNeedleSkin.SpeedometerNeedle:return new PT;case Ae.aE.StiNeedleSkin.SpeedometerNeedle2:return new IT;case Ae.aE.StiNeedleSkin.SimpleNeedle:return new AT;default:return null}}};let xT=Ae.aE.StiGaugeElemenType;Ae.bf.StiGaugeElement=class extends Ae.bf.StiElementBase{meta(){return this._hash||(this._hash=[...super.meta(),new Wi("AllowApplyStyle","",!0)])}get componentId(){return null}get PropName(){return null}get elementType(){return xT.LinearElement}get localizeName(){return"GaugeElement"}createNew(){return null}prepareGaugeElement(){}};var k=Ae.bf.StiGaugeElement;Ae.bf.StiIndicatorBase=class extends k{constructor(){super(...arguments),this._valueObj=0,this._placement=Ae.aE.StiPlacement.Overlay,this._brush=new si(Fe.white),this._borderBrush=new ei,this._borderWidth=0,this._getValueEvent=new Lo,this._value=""}meta(){return this._hash||(this._hash=[...super.meta(),new Gi("Placement","",Ae.aE.StiPlacement),new ds("BorderBrush"),new ds("Brush"),new ji("BorderWidth","",0),new Ua("GetValueEvent",Lo),new Ga("Value")])}clone(){let t=super.clone();return t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),null!=this.value?t.value=this.value:t.value=null,t}get valueObj(){return this._valueObj}set valueObj(t){this._valueObj=t,this.onValueChanged()}get placement(){return this._placement}set placement(t){this._placement=t}get brush(){return this._brush}set brush(t){this._brush=t}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t}get borderWidth(){return this._borderWidth}set borderWidth(t){this._borderWidth=t}onGetValue(t){}invokeGetValue(t,e){try{var r;this.onGetValue(e),null!=t.scale.gauge.report&&t.scale.gauge.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(r=wd.parseTextValue(this.value,t.scale.gauge),e.value=t.scale.gauge.report.toString2(r))}catch(t){var r=De.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getValueEvent(){return this._getValueEvent}set getValueEvent(t){this._getValueEvent=t}get value(){return this._value}set value(t){this._value=t}prepareGaugeElement(){var t=new Oo;this.invokeGetValue(this,t),this.valueObj=Ae.aJ.StiGaugeHelper.getFloatValueFromObject(t.value,this.scale)}interactiveClick(t,e){}onValueChanged(){}getActualValue(){if(null==this.scale||null==this.scale.gauge)return null;try{if(this.scale.gauge.isDesigning&&0==this.valueObj){let t=this.value.stimulsoft().startsWith("{")?wd.parseTextValue(this.value,this.scale.gauge):wd.parseTextValue("{"+this.value+"}",this.scale.gauge);if(null==t)return 0;var e;if("string"==typeof t)return t.trim().replace(",",".").stimulsoft().toNumber();return Qt.toNumber(t)}return this.valueObj}catch(t){return 0}return this.valueObj}};let DT=Ae.aJ.StiGaugeSkinHelper,BT=Ae.bf.StiIndicatorBase;{let t=class extends BT{constructor(){super(),this._format="{0:F0}",this._showValue=!1,this._textBrush=new si(Fe.dimGray),this._font=new Ar("Arial",7),this._capBrush=new si(Fe.fromArgb(158,158,158)),this._capBorderBrush=new ei,this._capBorderWidth=0,this.offsetNeedle=0,this.startWidth=.1,this.endWidth=1,this._autoCalculateCenterPoint=!0,this._centerPoint=new kr,this._relativeHeight=.04,this._relativeWidth=.4,this._skin=Ae.aE.StiNeedleSkin.SimpleNeedle,this.brush=new si(Fe.fromArgb(158,158,158))}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ui("Format"),new Wi("ShowValue"),new ds("TextBrush"),new Al("Font","","Arial",8,se.Bold,ti.Pixel),new ds("CapBrush"),new ds("CapBorderBrush"),new ji("CapBorderWidth","",0),new ji("OffsetNeedle","",0),new ji("StartWidth","",.1),new ji("EndWidth","",1),new Wi("AutoCalculateCenterPoint","",!0),new Ma("CenterPoint").get(()=>ci.Serialize.point(this.centerPoint)).set(t=>this.centerPoint=ci.Deserialize.point(t.value)).setXml(t=>this.centerPoint=this.loadPointFromXml(t.textContent)),new ji("RelativeHeight","",.04),new ji("RelativeWidth","",.4),new Gi("Skin","",Ae.aE.StiNeedleSkin)])}loadPointFromXml(t){let e=t.split(",");return new kr(e[0].stimulsoft().toNumber(),e[1].stimulsoft().toNumber())}get componentId(){return Ae.c.StiComponentId.StiNeedle}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.needleBrush,this.borderBrush=t.core.needleBorderBrush,this.capBrush=t.core.needleCapBrush,this.capBorderBrush=t.core.needleCapBorderBrush,this.borderWidth=t.core.needleBorderWidth,this.capBorderWidth=t.core.needleCapBorderWidth,this.startWidth=t.core.needleStartWidth,this.endWidth=t.core.needleEndWidth,this.relativeHeight=t.core.needleRelativeHeight,this.relativeWidth=t.core.needleRelativeWith)}get format(){return this._format}set format(t){this._format=t}get showValue(){return this._showValue}set showValue(t){this._showValue=t}get textBrush(){return this._textBrush}set textBrush(t){this._textBrush=t}get font(){return this._font}set font(t){this._font=t}get capBrush(){return this._capBrush}set capBrush(t){this._capBrush=t}get capBorderBrush(){return this._capBorderBrush}set capBorderBrush(t){this._capBorderBrush=t}get capBorderWidth(){return this._capBorderWidth}set capBorderWidth(t){this._capBorderWidth=t}get autoCalculateCenterPoint(){return this._autoCalculateCenterPoint}set autoCalculateCenterPoint(t){this._autoCalculateCenterPoint=t}get centerPoint(){return this._centerPoint}set centerPoint(t){this._centerPoint=t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get skin(){return this._skin}set skin(t){this._skin=t}get elementType(){return xT.RadialElement}get localizeName(){return"Needle"}createNew(){return new t}drawElement(e){let r=this.scale;if(null==r)return;var i=this.scale.barGeometry.center,t=new Fr(this.scale.barGeometry.diameter*this.relativeWidth,this.scale.barGeometry.diameter*this.relativeHeight);let n=0,a=0;t.width>t.height?n=a=t.height/2:(n=t.width/2,a=t.height/2);var s=i.x-n,o=i.y-a,s=new Tr(s,o,t.width,t.height);let l=0;var o=this.getActualValue();if(null==o)return null;var t=r.getCurrentAngle(o);l=t>r.sweepAngle+r.startAngle?this.scale.isReversed?r.getCurrentAngle(r.minimum):r.getCurrentAngle(r.maximum):this.scale.isReversed?r.sweepAngle-t:t;let u=-r.getPosition(o)*r.sweepAngle;if(this.scale.isReversed&&(u=-u),e.gauge.isAnimation){let t=new sv(u,0,i,Ae.aJ.StiGaugeHelper.globalDurationElement,lt.zero);t.id="needle_"+r.items.indexOf(this),t.applyPreviousAnimation(e.gauge.previousAnimations),this.animation=t}let h=this.getActualSkin();h.draw(e,this,s,l,i)}interactiveClick(t,e){}getActualCenterPoint(){if(null!=this.scale&&null!=this.scale.gauge){if(this.autoCalculateCenterPoint){var e=this.scale.gauge.clientRectangle;let t=0;return 0!=e.width&&(t=e.height*this.relativeHeight/2),new kr(t,.5)}return this.centerPoint}return new kr}getActualSkin(){return null!=this.customSkin?this.customSkin:DT.getNeedleIndicatorSkin(this.skin)}};Ae.bd.StiNeedle=t}Ae.bf.StiMarkerBase=class extends Ae.bf.StiIndicatorBase{constructor(){super(...arguments),this._offset=0,this._relativeWidth=.05,this._relativeHeight=.05,this._skin=Ae.aE.StiMarkerSkin.Diamond,this.customSkin=null,this._format="{0:F0}",this._showValue=!1,this._textBrush=new si(Fe.dimGray),this._font=new Ar("Arial",7)}meta(){return this._hash||(this._hash=[...super.meta(),new ji("Offset","",0),new ji("RelativeWidth","",.05),new ji("RelativeHeight","",.05),new Gi("Skin","",Ae.aE.StiMarkerSkin),new In("Format"),new Wi("ShowValue"),new ds("TextBrush"),new Al("Font","","Arial",7)])}clone(){let t=super.clone();return t.textBrush=this.textBrush.clone(),t}get offset(){return this._offset}set offset(t){this._offset=t}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get skin(){return this._skin}set skin(t){this._skin=t}get format(){return this._format}set format(t){this._format=t}get showValue(){return this._showValue}set showValue(t){this._showValue=t}get textBrush(){return this._textBrush}set textBrush(t){this._textBrush=t}get font(){return this._font}set font(t){this._font=t}getActualSkin(){return null!=this.customSkin?this.customSkin:DT.getMarkerSkin(this.skin)}};var yt=Ae.bf.StiMarkerBase;{let t=class extends yt{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiLinearMarker}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.markerBrush,this.borderBrush=t.core.markerBorderBrush,this.borderWidth=t.core.markerBorderWidth,this.skin=t.core.markerSkin)}get localizeName(){return"LinearMarker"}createNew(){return new t}drawElement(e){var r=this.getRectangle(this.valueObj),i=this.getRectangle(0);if(e.gauge.isAnimation){let t=new ov(new kr(i.x,i.y),new kr(r.x,r.y),Ae.aJ.StiGaugeHelper.globalDurationElement,Ae.aJ.StiGaugeHelper.globalBeginTimeElement);t.id="linearMarker_"+this.scale.items.indexOf(this),t.applyPreviousAnimation(e.gauge.previousAnimations),this.animation=t}let t=this.getActualSkin();t.draw(e,this,r)}getRectangle(t){var e=this.scale,r=e.barGeometry.size,i=e.barGeometry.rectGeometry;let n=this.getBarPosition(e.orientation,t);var a=r.width*this.relativeWidth,s=r.height*this.relativeHeight,o=s/2,e,l,l,l,t,t;let u=0,h=0;return e.orientation==LC.Horizontal?(h=this.placement!=HC.Overlay?(e=this.scale.barGeometry.getRestToLenght(),l=this.scale.getPosition(t),l=this.scale.startWidth<this.scale.endWidth?(1-l)*e:e*l,this.placement==HC.Outside?i.top-s+l:i.bottom-l):MC.centerY(this.scale.barGeometry.rectGeometry)-o+this.offset*r.height,u=this.scale.isReversed?(n+=o,i.right-n):(n-=o,i.left+n)):(u=this.placement!=HC.Overlay?(l=this.scale.barGeometry.getRestToLenght(),t=this.scale.getPosition(t),t=this.scale.startWidth<this.scale.endWidth?(1-t)*l:l*t,this.placement==HC.Outside?i.left-a+t:i.right-t):MC.centerX(this.scale.barGeometry.rectGeometry)-a/2+this.offset*r.width,h=this.scale.isReversed?(n-=o,i.top+n):(n+=o,i.bottom-n)),new Tr(u,h,a,s)}interactiveClick(t,e){}getBarPosition(t,e){var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum;isNaN(e)||e<r?e=r:i<e&&(e=i);var e=OC.length1(r,e),t=t==LC.Horizontal?this.scale.barGeometry.rectGeometry.width:this.scale.barGeometry.rectGeometry.height;return e/this.scale.scaleHelper.totalLength*t}};Ae.bd.StiLinearMarker=t}Ae.aJ.StiMixedColorHelper=class{static colorMixed(r){if(null==r||0==r.length)return Fe.transparent;if(1==r.length)return r[0];{let t=r[0],e=0;while(++e<r.length)t=this.colorMixer(t,r[e]);return t}}static colorMixer(t,e){var r=(t.r+e.r)/2,i=(t.g+e.g)/2,e=(t.b+e.b)/2;return Fe.fromArgb(r,i,e)}};let ET=Ae.aK.StiBarRangeListCollection;Ae.bf.StiBarBase=class extends Ae.bf.StiIndicatorBase{constructor(){super(),this._emptyBrush=new ei,this._emptyBorderBrush=new ei,this._emptyBorderWidth=0,this._offset=0,this._startWidth=.05,this._endWidth=.05,this._useRangeColor=!1,this.rangeList=new ET(this.barType)}meta(){return this._hash||(this._hash=[...super.meta(),new ds("EmptyBrush"),new ds("EmptyBorderBrush"),new ji("EmptyBorderWidth","",0),new ji("Offset","",0),new ji("StartWidth","",0),new ji("EndWidth","",.05),new Wi("UseRangeColor"),new Ma("RangeList")])}clone(){let t=super.clone();t.emptyBrush=this.emptyBrush.clone(),t.emptyBorderBrush=this.emptyBorderBrush.clone(),t.rangeList=new ET(this.barType);for(var e of this.rangeList.list)t.rangeList.add(e.clone());return t}get emptyBrush(){return this._emptyBrush}set emptyBrush(t){this._emptyBrush=t}get emptyBorderBrush(){return this._emptyBorderBrush}set emptyBorderBrush(t){this._emptyBorderBrush=t}get emptyBorderWidth(){return this._emptyBorderWidth}set emptyBorderWidth(t){this._emptyBorderWidth=t}get offset(){return this._offset}set offset(t){this._offset=t}get startWidth(){return this._startWidth}set startWidth(t){this._startWidth=t}get endWidth(){return this._endWidth}set endWidth(t){this._endWidth=t}get useRangeColor(){return this._useRangeColor}set useRangeColor(t){this._useRangeColor=t,this.onRangeColorChanged()}get barType(){return null}onRangeColorChanged(){}checkActualBrushForTopGeometry(){}onValueChanged(){this.checkActualBrushForTopGeometry()}};let kT=Ae.aJ.StiMixedColorHelper;var l=Ae.bf.StiBarBase;{let t=class{constructor(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99}reset(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99}},P=class{constructor(){this.state=!1,this.offset=0}},e=class extends l{constructor(){super(...arguments),this.colorModeHelper=new t,this._skin=Ae.aE.StiLinearBarSkin.Default,this._rangeColorMode=Ae.aE.StiLinearRangeColorMode.Default}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Gi("Skin","",Ae.aE.StiLinearBarSkin),new Gi("RangeColorMode","",Ae.aE.StiLinearRangeColorMode)])}get componentId(){return Ae.c.StiComponentId.StiLinearBar}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.linearBarBrush,this.borderBrush=t.core.linearBarBorderBrush,this.emptyBrush=t.core.linearBarEmptyBrush,this.emptyBorderBrush=t.core.linearBarEmptyBorderBrush,this.startWidth=t.core.linearBarStartWidth,this.endWidth=t.core.linearBarEndWidth)}get skin(){return this._skin}set skin(t){this._skin=t}get rangeColorMode(){return this._rangeColorMode}set rangeColorMode(t){this._rangeColorMode=t,this.onRangeColorChanged()}onRangeColorChanged(){this.colorModeHelper.reset()}get barType(){return Ae.aE.StiBarRangeListType.LinearBar}get localizeName(){return"LinearBar"}checkActualBrushForTopGeometry(){this.useRangeColor?this.actualBackground=this.getRangeBrush():this.actualBackground=this.brush}getRangeBrush(){var e=this.getActualValue(),t;if(null==e)return null;switch(this.rangeColorMode){case Ae.aE.StiLinearRangeColorMode.Default:for(let t=this.rangeList.count-1;0<=t;t--){var r=this.rangeList.getByIndex(t);if(e>=r.value&&this.colorModeHelper.defaultIndex!=t)return this.colorModeHelper.defaultIndex=t,null!=r.brush?r.brush:new si(r.color)}break;case Ae.aE.StiLinearRangeColorMode.MixedColor:for(let r=this.rangeList.count-1;0<=r;r--){if(e>=this.rangeList.getByIndex(r).value){if(this.colorModeHelper.mixedColorIndex!=r){this.colorModeHelper.mixedColorIndex=r;let e=[];for(let t=0;t<=r;t++)e.push(this.rangeList.getByIndex(t).color);return new si(kT.colorMixed(e))}break}}break}return null}createNew(){return new e}interactiveClick(t,e){}drawElement(o){var e;if(null==this.scale)return;switch(this.skin){case Ae.aE.StiLinearBarSkin.HorizontalThermometer:this.drawHorizontalThermometer(o);break;case Ae.aE.StiLinearBarSkin.VerticalThermometer:this.drawVerticalThermometer(o);break}var l,t={ref:l=Tr.empty},u=this.scale.barGeometry.drawGeometry(o,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,t,!1),l=t.ref;if(null!=u){let t=new RC(l,u.points[0],this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth);t.geoms.push(u),t.addGraphicsPathCloseFigureGaugeGeom(),o.addGraphicsPathGaugeGeom(t)}let r=this.valueObj;if(this.scale.gauge.isDesigning){let t=wd.parseTextValue(null!==(e=this.value)&&void 0!==e&&e.stimulsoft().startsWith("{")&&this.value.stimulsoft().endsWith("}")?this.value:"{"+this.value+"}",this.scale.gauge);r=null!=t?t.stimulsoft().toNumber():0}var u=this.getGeometryHelperForTopIndicator(r),h,e={ref:h},u=this.getTopGeometry(u,e),h=e.ref;if(null!=u){this.checkActualBrushForTopGeometry();let t=new RC(h,u.points[0],this.actualBackground,this.borderBrush,this.borderWidth);t.geoms.push(u),t.addGraphicsPathCloseFigureGaugeGeom();let e=0,r=1,i=1,n=1,a=l.x,s=l.y+l.height/2;var u=this.scale;null!=u&&u.orientation==LC.Vertical&&(e=1,r=1,i=0,n=1,a=l.x+l.width/2,s=l.y+l.height),this.scale.gauge.isAnimation&&(t.animation=new av(e,r,i,n,a,s,Ae.aJ.StiGaugeHelper.globalDurationElement,lt.zero)),o.addGraphicsPathGaugeGeom(t)}}drawHorizontalThermometer(t){let e=Tr.empty;var r={ref:e};this.scale.barGeometry.drawGeometry(t,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),e=r.ref,e.y-=2,e.height+=4,e.x-=3,e.width+=3;let i=new RC(e,e.location,new ni(Fe.fromArgb(225,230,233),Fe.fromArgb(242,243,244),90),new si(Fe.fromArgb(157,157,157)),.4);i.addGraphicsPathLineGaugeGeom(e.location,new kr(e.right,e.top)),i.addGraphicsPathArcGaugeGeom(e.right,e.top,4,e.height,270,180),i.addGraphicsPathLineGaugeGeom(new kr(e.right,e.bottom),new kr(e.left,e.bottom)),i.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(i)}drawVerticalThermometer(t){let e=Tr.empty;var r={ref:e};this.scale.barGeometry.drawGeometry(t,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),e=r.ref,e.x-=2,e.width+=4,e.y-=3,e.height+=3;let i=new RC(e,e.location,new ni(Fe.fromArgb(225,230,233),Fe.fromArgb(242,243,244),90),new si(Fe.fromArgb(157,157,157)),.4);i.addGraphicsPathArcGaugeGeom(e.left,e.top-4,e.width,4,180,180),i.addGraphicsPathLineGaugeGeom(new kr(e.right,e.top),new kr(e.right,e.bottom)),i.addGraphicsPathLineGaugeGeom(new kr(e.right,e.bottom),new kr(e.left,e.bottom)),i.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(i)}getGeometryHelperForTopIndicator(t){var e=this.scale;let r=new P;var i=this.scale.barGeometry.size,n=this.scale.barGeometry.rectGeometry;let a=OC.maxMinusMin(this.scale.startWidth,this.scale.endWidth);a/=2,a=e.orientation==LC.Horizontal?a*i.height:a*i.width;var s=e.orientation==LC.Horizontal?new Tr(n.x,n.y+a,n.width,n.height-2*a):new Tr(n.x+a,n.y,n.width-2*a,n.height),o=this.scale.minimum>this.scale.maximum?this.scale.maximum:this.scale.minimum,l=Math.abs(this.scale.minimum)+Math.abs(this.scale.maximum);let u=OC.length1(o,t);u<0?u=0:u>l&&(u=l);var h=u/l;let c=null,d=null,m=new Tr(0,0,0,0);var l=this.scale.startWidth>this.scale.endWidth,p=this.startWidth>this.endWidth,g=e.orientation==LC.Horizontal?n.width*h:n.height*h,f,S,S,b,b;let y=0,v=0,w=0,C=0;if(this.startWidth>this.endWidth?(y=this.startWidth,v=this.endWidth):(v=this.startWidth,y=this.endWidth),e.orientation==LC.Horizontal){w=y*i.height,C=v*i.height;let t;if(this.scale.isReversed)if(l)switch(this.placement){case HC.Outside:p?(m=new Tr(n.x+(s.width-g),s.y-a-w,g,a+w-a*(1-h)),d=m.height-(a+w-C)*h):w>a+C?(t=(w-a-C)*(1-h),m=new Tr(s.x+(s.width-g),s.y-w+t,g,w-a*(1-h)-t),r.offset=a*h):(t=a*(1-h),m=new Tr(s.x+(s.width-g),s.y-a-C,g,a+C-t),c=m.height-(a+C-w)*h,r.state=!0);break;case HC.Overlay:p?(m=new Tr(s.x+(s.width-g),MC.centerY(s)-w/2,g,w),d=m.height-(w-C)*h):(t=(w-C)/2*(1-h),m=new Tr(s.x+(s.width-g),MC.centerY(s)-w/2+t,g,w-2*t));break;default:p?(t=a*(1-h),m=new Tr(s.x+(s.width-g),s.bottom+t,g,a+w-t),d=m.height-(a+w-C)*h):w>a+C?(t=a*(1-h),f=(w-a-C)*(1-h),m=new Tr(s.x+(s.width-g),s.bottom+t,g,w-t-f),r.offset=w-a-C-f):(t=a*(1-h),m=new Tr(s.x+(s.width-g),s.bottom+t,g,a+C-t),c=m.height-(a+C-w)*h,r.state=!0);break}else switch(this.placement){case HC.Outside:p?w>a+C?(m=new Tr(s.x+(s.width-g),s.y-w,g,w),r.offset=(w-a-C)*h,d=m.height-r.offset-a*h):(t=(a+C-w)*(1-h),m=new Tr(n.x+(n.width-g),n.y-C+t,g,a+C-t),d=m.height-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(n.x+(n.width-g),n.y-w+t,g,w+a-t),c=m.height-a*h);break;case HC.Overlay:p?(m=new Tr(s.x+(n.width-g),MC.centerY(s)-w/2,g,w),d=m.height-2*((w-C)/2*h)):(t=(w-C)/2*(1-h),m=new Tr(s.x+(n.width-g),MC.centerY(s)-w/2+t,g,w-2*t));break;default:p?w>a+C?(m=new Tr(s.x+(n.width-g),s.bottom,g,w),r.offset=a*h,d=m.height-(w-a-C)*h-r.offset):(t=(a+C-w)*h,m=new Tr(s.x+(n.width-g),s.bottom,g,w+t),d=m.height-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(s.x+(n.width-g),s.bottom,g,a+w-t),c=m.height-a*h);break}else if(l)switch(this.placement){case HC.Outside:p?(m=new Tr(n.x,n.y-w,g,w+a*h),d=m.height-(a+w-C)*h):(m=new Tr(n.x,n.y-C,g,a+C-a*(1-h)),c=m.height-(a+C-w)*h);break;case HC.Overlay:p?(m=new Tr(s.x,MC.centerY(s)-w/2,g,w),d=C+(w-C)/2*h):(t=(w-C)/2*(1-h),m=new Tr(s.x,MC.centerY(s)-w/2+t,g,w-2*t));break;default:p?(t=a*h,m=new Tr(n.x,n.bottom-t,g,t+w),d=m.height-(a+w-C)*h):w>a+C?(t=a*(1-h),r.offset=a-t,m=new Tr(s.x,s.bottom+t,g,w-t-(w-a-C)*(1-h))):(t=a*h,m=new Tr(n.x,n.bottom-t,g,t+C),c=m.height-(a+C-w)*h,r.state=!0);break}else{var T=(a+w-C)*h+C;switch(this.placement){case HC.Outside:p?w>a+C?(m=new Tr(s.x,s.y-w,g,w),r.offset=(m.height-a-C)*h,d=m.height-r.offset-a*h):(t=(a+C-w)*h,m=new Tr(s.x,s.y-w-t,g,w+t),d=m.height-a*h,r.state=!0):(m=new Tr(s.x,s.y-T,g,T),c=m.height-a*h);break;case HC.Overlay:t=(w-C)/2*(1-h),p?(m=new Tr(n.x,MC.centerY(s)-w/2,g,w),d=C+(w-C)/2*(1-h)):m=new Tr(n.x,MC.centerY(s)-w/2+t,g,w-2*t);break;default:p?w>a+C?(m=new Tr(s.x,s.bottom,g,w),r.offset=a*h,d=m.height-(w-a-C)*h-r.offset):(t=(a+C-w)*h,m=new Tr(s.x,s.bottom,g,w+t),d=m.height-a*h,r.state=!0):(m=new Tr(s.x,s.bottom,g,T),c=C+(w-C)*h);break}}}else{w=y*i.width,C=v*i.width;let t;if(this.scale.isReversed)if(l)switch(this.placement){case HC.Outside:t=a*(1-h),p?(m=new Tr(s.x-a-w,s.y,a+w-t,g),d=m.width-(a+w-C)*h):w>a+C?(S=(w-C-a)*(1-h),m=new Tr(s.x-w+S,s.y,w-t-S,g),r.offset=a*h):(m=new Tr(n.x-C,n.y,a+C-t,g),c=m.width-(a+C-w)*h,r.state=!0);break;case HC.Overlay:p?(m=new Tr(MC.centerX(s)-w/2,s.y,w,g),r.offset=(w-C)/2*h):(t=(w-C)/2*(1-h),m=new Tr(MC.centerX(s)-w/2+t,s.y,w-2*t,g));break;default:t=a*(1-h),p?(m=new Tr(s.right+t,s.y,a+w-t,g),d=m.width-(a+w-C)*h):w>a+C?(S=(w-a-C)*(1-h),m=new Tr(s.right+t,s.y,w-t-S,g),c=(w-a-C)*h,r.offset=a*h):(m=new Tr(s.right+t,s.y,a+C-t,g),c=m.width-(a+C-w)*h,r.state=!0);break}else switch(this.placement){case HC.Outside:p?w>a+C?(m=new Tr(s.x-w,s.y,w,g),r.offset=a*h,d=m.width-r.offset-(w-o-a)*(1-h)):(t=(a+C-w)*(1-h),m=new Tr(s.x-a-C+t,s.y,a+C-t,g),d=m.width-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(s.x-a-w+t,s.y,a+w-t,g),c=m.width-a*h);break;case HC.Overlay:p?(m=new Tr(MC.centerX(s)-w/2,s.y,w,g),r.offset=(w-C)/2*h):(t=(w-C)/2*(1-h),m=new Tr(MC.centerX(s)-w/2+t,s.y,w-2*t,g));break;default:p?w>a+C?(m=new Tr(s.right,s.y,w,g),r.offset=a*h,d=m.width-r.offset-(w-C-a)*h):(t=(a+C-w)*h,m=new Tr(s.right,s.y,a+C-t,g),d=m.width-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(s.right,n.y,a+w-t,g),c=m.width-a*h);break}else if(l)switch(this.placement){case HC.Outside:p?(t=a*(1-h),m=new Tr(s.x-a-w,s.y+(n.height-g),a+w-t,g),d=m.width-(a+w-C)*h):(t=a*(1-h),w>a+C?(b=(w-a-C)*(1-h),m=new Tr(s.x-w+b,s.y+(n.height-g),w-t-b,g),r.offset=a*h):(m=new Tr(s.x-a-C,s.y+(n.height-g),a+C-t,g),c=m.width-(a+C-w)*h,r.state=!0));break;case HC.Overlay:p?(m=new Tr(MC.centerX(s)-w/2,s.y+(n.height-g),w,g),r.offset=(w-C)/2*h):(t=(w-C)/2*(1-h),m=new Tr(MC.centerX(s)-w/2+t,s.y+(n.height-g),w-2*t,g));break;default:t=a*(1-h),p?(m=new Tr(s.right+t,s.y+(n.height-g),w+a-t,g),d=m.width-(a+w-C)*h):w>=a+C?(b=(w-a-C)*(1-h),m=new Tr(s.right+t,s.y+(n.height-g),w-t-b,g),r.offset=(w-a-C)*h):(m=new Tr(s.right+t,s.y+(n.height-g),a+C-t,g),c=m.width-(a+C-w)*h,r.state=!0);break}else switch(this.placement){case HC.Outside:p?w>a+C?(m=new Tr(s.x-w,s.y+(n.height-g),w,g),r.offset=a*h,t=(w-C-a)*h,d=m.width-r.offset-t):(t=(a+C-w)*(1-h),m=new Tr(n.x-C+t,n.y+(n.height-g),a+C-t,g),d=m.width-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(n.x-w+t,n.y+(n.height-g),w+a-t,g),c=m.width-a*h);break;case HC.Overlay:p?(m=new Tr(MC.centerX(s)-w/2,n.y+(n.height-g),w,g),r.offset=(w-C)*h/2):(t=(w-C)/2*(1-h),m=new Tr(MC.centerX(s)-w/2+t,n.y+(n.height-g),w-2*t,g));break;default:p?w>a+C?(m=new Tr(s.right,n.y+(n.height-g),w,g),r.offset=a*h,
d=m.width-r.offset-(w-a-C)*h):(t=(a+C-w)*h,m=new Tr(s.right,n.y+(n.height-g),a+C-t,g),d=m.width-a*h,r.state=!0):(t=(a+w-C)*(1-h),m=new Tr(s.right,n.y+(n.height-g),a+w-t,g),c=m.width-a*h);break}}return r.rect=m,r.isStartGreaterEnd=l,r.isThisStartGreaterEnd=p,r.scale=e,r.maxWidth=null==c?w:c,r.minWidth=null==d?C:d,r}getTopGeometry(t,e){var r=new Tr(0,0,t.rect.width,t.rect.height);let i=[];if(t.scale.orientation==LC.Horizontal)if(t.scale.isReversed)if(t.isStartGreaterEnd)if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:i[0]=new kr(0,r.height-t.minWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.maxWidth),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr(0,(r.height-t.minWidth)/2),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height-(r.height-t.minWidth)/2);break;default:i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.maxWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.minWidth);break}else switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(0,r.height-t.maxWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.minWidth)):(i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.offset-t.minWidth),i[2]=new kr(r.width,r.height-t.offset)),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,MC.centerY(r)-t.minWidth/2),i[2]=new kr(r.width,MC.centerY(r)+t.minWidth/2),i[3]=new kr(0,r.height);break;default:t.state?(i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.minWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.maxWidth)):(i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.offset-t.minWidth),i[2]=new kr(r.width,r.height-t.offset),i[3]=new kr(0,r.height));break}else if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.maxWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.minWidth)):(i[0]=new kr(0,t.offset),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.minWidth+t.offset));break;case HC.Overlay:i[0]=new kr(0,MC.centerY(r)-t.minWidth/2),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,MC.centerY(r)+t.minWidth/2);break;default:t.state?(i[0]=new kr(0,r.height-t.minWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.maxWidth),i[3]=new kr(0,r.height)):(i[0]=new kr(0,t.offset),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.offset+t.minWidth));break}else switch(this.placement){case HC.Outside:i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.minWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.maxWidth);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,MC.centerY(r)-t.minWidth/2),i[2]=new kr(r.width,MC.centerY(r)+t.minWidth/2),i[3]=new kr(0,r.height);break;default:i[0]=new kr(0,r.height-t.maxWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.minWidth),i[3]=new kr(0,r.height);break}else if(t.isStartGreaterEnd)if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.minWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.maxWidth);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,MC.centerY(r)-t.minWidth/2),i[2]=new kr(r.width,MC.centerY(r)+t.minWidth/2),i[3]=new kr(0,r.height);break;default:i[0]=new kr(0,r.height-t.maxWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.minWidth),i[3]=new kr(0,r.height);break}else switch(this.placement){case HC.Outside:i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.maxWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.minWidth);break;case HC.Overlay:i[0]=new kr(0,MC.centerY(r)-t.minWidth/2),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,MC.centerY(r)+t.minWidth/2);break;default:t.state?(i[0]=new kr(0,r.height-t.minWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.maxWidth),i[3]=new kr(0,r.height)):(i[0]=new kr(0,t.offset),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.offset+t.minWidth));break}else if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(0,r.height-t.maxWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.minWidth)):(i[0]=new kr(0,0),i[1]=new kr(r.width,t.offset),i[2]=new kr(r.width,t.offset+t.minWidth)),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,MC.centerY(r)-t.minWidth/2),i[2]=new kr(r.width,MC.centerY(r)+t.minWidth/2),i[3]=new kr(0,r.height);break;default:t.state?(i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.minWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.maxWidth)):(i[0]=new kr(0,0),i[1]=new kr(r.width,t.offset),i[2]=new kr(r.width,t.offset+t.minWidth),i[3]=new kr(0,r.height));break}else switch(this.placement){case HC.Outside:i[0]=new kr(0,r.height-t.minWidth),i[1]=new kr(r.width,0),i[2]=new kr(r.width,t.maxWidth),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr(0,MC.centerY(r)-t.minWidth/2),i[1]=new kr(r.width,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,MC.centerY(r)+t.minWidth/2);break;default:i[0]=new kr(0,0),i[1]=new kr(r.width,r.height-t.maxWidth),i[2]=new kr(r.width,r.height),i[3]=new kr(0,t.minWidth);break}else if(t.scale.isReversed)if(t.isStartGreaterEnd)if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:i[0]=new kr(0,0),i[1]=new kr(t.maxWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.minWidth,r.height);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-t.offset,r.height),i[3]=new kr(t.offset,r.height);break;default:i[0]=new kr(r.width-t.maxWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.minWidth,r.height),i[3]=new kr(0,r.height);break}else switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(0,0),i[1]=new kr(t.minWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.maxWidth,r.height)):(i[0]=new kr(r.width-t.offset-t.minWidth,0),i[1]=new kr(r.width-t.offset,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height));break;case HC.Overlay:i[0]=new kr((r.width-t.minWidth)/2,0),i[1]=new kr(r.width-(r.width-t.minWidth)/2,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height);break;default:t.state?(i[0]=new kr(r.width-t.minWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.maxWidth,r.height)):(i[0]=new kr(t.offset,0),i[1]=new kr(t.offset+t.minWidth,0),i[2]=new kr(r.width,r.height)),i[3]=new kr(0,r.height);break}else if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(r.width-t.maxWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.minWidth,r.height),i[3]=new kr(0,r.height)):(i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-t.offset,r.height),i[3]=new kr(r.width-t.offset-t.minWidth,r.height));break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-t.offset,r.height),i[3]=new kr(t.offset,r.height);break;default:t.state?(i[0]=new kr(0,0),i[1]=new kr(t.maxWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.minWidth,r.height)):(i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(t.offset+t.minWidth,r.height),i[3]=new kr(t.offset,r.height));break}else switch(this.placement){case HC.Outside:i[0]=new kr(r.width-t.minWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.maxWidth,r.height),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr((r.width-t.minWidth)/2,0),i[1]=new kr(r.width-(r.width-t.minWidth)/2,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height);break;default:i[0]=new kr(0,0),i[1]=new kr(t.minWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.maxWidth,r.height);break}else if(t.isStartGreaterEnd)if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:i[0]=new kr(r.width-t.minWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.maxWidth,r.height),i[3]=new kr(0,r.height);break;case HC.Overlay:i[0]=new kr(t.offset,0),i[1]=new kr(r.width-t.offset,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height);break;default:i[0]=new kr(0,0),i[1]=new kr(t.minWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.maxWidth,r.height);break}else switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(r.width-t.maxWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.minWidth,r.height),i[3]=new kr(0,r.height)):(i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-t.offset,r.height),i[3]=new kr(r.width-t.offset-t.minWidth,r.height));break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-(r.width-t.minWidth)/2,r.height),i[3]=new kr((r.width-t.minWidth)/2,r.height);break;default:t.state?(i[0]=new kr(0,0),i[1]=new kr(t.maxWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.minWidth,r.height)):(i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(r.width-t.offset,r.height),i[3]=new kr(r.width-t.offset-t.minWidth,r.height));break}else if(t.isThisStartGreaterEnd)switch(this.placement){case HC.Outside:t.state?(i[0]=new kr(0,0),i[1]=new kr(t.minWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.maxWidth,r.height)):(i[0]=new kr(r.width-t.offset-t.minWidth,0),i[1]=new kr(r.width-t.offset,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height));break;case HC.Overlay:i[0]=new kr(t.offset,0),i[1]=new kr(r.width-t.offset,0),i[2]=new kr(r.width,r.height),i[3]=new kr(0,r.height);break;default:t.state?(i[0]=new kr(r.width-t.minWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.maxWidth,r.height)):(i[0]=new kr(t.offset,0),i[1]=new kr(t.offset+t.minWidth,0),i[2]=new kr(r.width,r.height)),i[3]=new kr(0,r.height);break}else switch(this.placement){case HC.Outside:i[0]=new kr(0,0),i[1]=new kr(t.maxWidth,0),i[2]=new kr(r.width,r.height),i[3]=new kr(r.width-t.minWidth,r.height);break;case HC.Overlay:i[0]=new kr(0,0),i[1]=new kr(r.width,0),i[2]=new kr(MC.centerX(r)+t.minWidth/2,r.height),i[3]=new kr(MC.centerX(r)-t.minWidth/2,r.height);break;default:i[0]=new kr(r.width-t.maxWidth,0),i[1]=new kr(r.width,0),i[2]=new kr(t.minWidth,r.height),i[3]=new kr(0,r.height);break}let n=t.rect.left,a=t.rect.top;var s=this.scale.barGeometry.size.width*this.offset;return t.scale.orientation==LC.Horizontal?this.placement==HC.Outside?a-=s:a+=s:this.placement==HC.Outside?n-=s:n+=s,i[0].x+=n,i[1].x+=n,i[2].x+=n,i[3].x+=n,i[0].y+=a,i[1].y+=a,i[2].y+=a,i[3].y+=a,e.ref=r,new FC(i)}};Ae.bd.StiLinearBar=e}Ae.aM.StiGetSkipValuesEvent=class extends L{toString(){return"GetSkipValues"}},Ae.aM.StiGetSkipIndicesEvent=class extends L{toString(){return"GetText"}};let NT=Ae.aM.StiGetSkipValuesEvent,FT=Ae.aM.StiGetSkipIndicesEvent;Ae.bf.StiTickBase=class extends Ae.bf.StiGaugeElement{constructor(){super(...arguments),this._getSkipValuesEvent=new NT,this._getSkipIndicesEvent=new FT,this._skipValues="",this._skipIndices="",this._placement=Ae.aE.StiPlacement.Outside,this._skipValuesObj=null,this._skipIndicesObj=null,this._offset=0,this._minimumValue=null,this._maximumValue=null}meta(){return this._hash||(this._hash=[...super.meta(),new Ua("GetSkipValuesEvent",NT),new Ua("GetSkipIndicesEvent",FT),new Ga("SkipValues"),new Ga("SkipIndices"),new Gi("Placement","",Ae.aE.StiPlacement),new ji("Offset","",0),new ji("MinimumValue","",null),new ji("MaximumValue","",null)])}clone(){let t=super.clone();return null!=this.skipValues?t.skipValues=this.skipValues:t.skipValues=null,null!=this.skipIndices?t.skipIndices=this.skipIndices:t.skipIndices=null,t}onGetSkipValues(t){}invokeGetSkipValues(t,e){try{this.onGetSkipValues(e)}catch(t){var e=De.format("Expression in GetSkipValues property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getSkipValuesEvent(){return this._getSkipValuesEvent}set getSkipValuesEvent(t){this._getSkipValuesEvent=t}onGetSkipIndices(t){}invokeGetSkipIndices(t,e){try{this.onGetSkipIndices(e)}catch(t){var e=De.format("Expression in GetSkipIndices property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getSkipIndicesEvent(){return this._getSkipIndicesEvent}set getSkipIndicesEvent(t){this._getSkipIndicesEvent=t}get skipValues(){return this._skipValues}set skipValues(t){this._skipValues=t}get skipIndices(){return this._skipIndices}set skipIndices(t){this._skipIndices=t}get placement(){return this._placement}set placement(t){this._placement=t}get skipValuesObj(){return this._skipValuesObj}set skipValuesObj(t){this._skipValuesObj=t}get skipIndicesObj(){return this._skipIndicesObj}set skipIndicesObj(t){this._skipIndicesObj=t}get offset(){return this._offset}set offset(t){this._offset=t}get minimumValue(){return this._minimumValue}set minimumValue(t){this._minimumValue=t}get maximumValue(){return this._maximumValue}set maximumValue(t){this._maximumValue=t}get isSkipMajorValues(){return!1}getPointCollection(){return null}getMinorCollections(){let t=new Dt;var e=this.isSkipMajorValues?this.getMajorCollections():null;let r=this.scale.minorInterval;0==r&&(r=1);var i=this.scale.scaleHelper.actualMinimum,n=this.scale.scaleHelper.actualMaximum,a=this.scale.scaleHelper.totalLength;let s=i;var o=r;let l=0;t.add(s,0);var u=a/100;s+=r;while(s<=n)l+=o,t.add(s,l/u*.01),s+=r;if(null!=e)for(var h of e.keys)t.containsKey(h)&&t.remove(h);return t}getMajorCollections(){let t=new Dt,e=this.scale.majorInterval;0==e&&(e=1);var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum,n=this.scale.scaleHelper.totalLength,a=e;let s=r,o=0;t.add(s,0);var l=n/100;s+=e;while(s<=i)o+=a,t.add(s,o/l*.01),s+=e;return t}checkTickValue(e,r,i,n){if(null!=r){let t=0;while(t<r.length){if(r[t]==n)return!0;t++}}if(null!=e){let t=0;while(t<e.length){if(e[t]==i)return!0;t++}}return!1}prepareGaugeElement(){var t=new Oo;this.invokeGetSkipValues(this,t),this.skipValuesObj=Ae.aJ.StiGaugeHelper.getFloatArrayValueFromString(t.value);var t=new Oo;this.invokeGetSkipIndices(this,t),this.skipIndicesObj=Ae.aJ.StiGaugeHelper.getFloatArrayValueFromString(t.value)}getOffset(t){return null==t?this.offset:t}getPlacement(t){return null==t?this.placement:t}},Ae.bf.StiTickLabelBase=class extends Ae.bf.StiTickBase{constructor(){super(...arguments),this._textFormat=null,this._formatService=null,this._textBrush=new si(Fe.black),this._font=new Ar("Arial",10)}meta(){return this._hash||(this._hash=[...super.meta(),new Ui("TextFormat"),new ds("TextBrush"),new Al("Font","","Arial",10)])}clone(){let t=super.clone();return t.textBrush=this.textBrush.clone(),t}get textFormat(){return this._textFormat}set textFormat(t){this._textFormat=t}get formatService(){return this._formatService}set formatService(t){this._formatService=t}get textBrush(){return this._textBrush}set textBrush(t){this._textBrush=t}get font(){return this._font}set font(t){this._font=t}getTextForRender(t,e){return De.isNullOrEmpty(e)?t.toString():De.format(e,t)}getTextForRender2(t,e=this.textFormat){return De.isNullOrEmpty(e)?t:De.format(e,t)}};let RT=Ae.c.StiAbbreviationNumberFormatHelper;{let l=class{constructor(t,e,r){this.valueKey=t,this.valueStr=e,this.count=r}toString(){return`${this.valueStr} - ${this.count}"`}};Ae.aJ.CacheInfo=l;let r=class{static getLabels(a){let s=new Ri,o=new Ee;for(let n=0;n<a.count;n++){let t=Math.round(a.keys[n]);if(0==t){s.add(a.keys[n],"0");continue}let e=!1;t<0&&(e=!0,t=Math.abs(t));let r;r=t<1e3?t.toString():t<1e6?`${Math.round(t/1e3)}K`:t<1e9?`${Math.round(t/1e6)}M`:t<1e12?`${Math.round(t/1e9)}B`:t<1e15?`${Math.round(t/1e12)}T`:t.toString(),e&&(r=`-${r}`);let i=o.firstOrDefault(t=>t.valueStr==r);null==i?o.add(new l(a.keys[n],r,1)):i.count++,s.add(a.keys[n],r)}for(var t of o){var e;1<t.count&&(e={ref:s},r.prepare(t,e),s=e.ref)}return s}static prepare(t,e){let r=e.ref;var i,n,a;for(n of r.keys.stimulsoft().toArray()){if(r.get(n)!=t.valueStr)continue;r.set(n,RT.format(n))}}};Ae.aJ.StiTickLabelHelper=r}let LT=Ae.aE.StiRadialPosition;var q=Ae.bf.StiTickLabelBase;let MT=Ae.aJ.StiTickLabelHelper;Ae.bf.StiRadialTickLabelBase=class extends q{constructor(){super(...arguments),this._labelRotationMode=Ae.aE.StiLabelRotationMode.None,this._offsetAngle=0}meta(){return this._hash||(this._hash=[...super.meta(),new ji("OffsetAngle","",0),new Gi("LabelRotationMode","",Ae.aE.StiLabelRotationMode)])}get labelRotationMode(){return this._labelRotationMode}set labelRotationMode(t){this._labelRotationMode=t}get offsetAngle(){return this._offsetAngle}set offsetAngle(t){this._offsetAngle=t}get elementType(){return xT.RadialElement}drawElement(i){let t=this.scale;if(null==t)return;var e=this.scale.barGeometry.rectGeometry;if(e.width<=0||e.height<=0)return;let n=this.getPointCollection();if(0==n.count)return;let a=MT.getLabels(n);var s=this.textFormat,o=this.scale.scaleHelper.actualMinimum,l=this.scale.scaleHelper.actualMaximum,u=t.barGeometry.center,r=this.scale.barGeometry.radius,e=this.scale.barGeometry.diameter,h=t.getSweepAngle(),c=t.startAngle,d=this.scale.scaleHelper.maxWidth,m=this.scale.scaleHelper.minWidth,p=(d*=e)-(m*=e),g=this.placement==HC.Outside?r*(1+this.offset):r*(1-this.offset),f=this.skipValuesObj,S=this.skipIndicesObj,b;let y=-1;for(b of n.keys){if(y++,b<o)continue;if(b>l)continue;if(this.checkTickValue(f,S,b,y))continue;if(null!=this.minimumValue&&b<this.minimumValue)continue;if(null!=this.maximumValue&&b>this.maximumValue)continue;var v=De.isNullOrEmpty(s)&&this.scale.gauge.shortValue?a.get(b):this.getTextForRender(b,s),w=hv.changeFontSize(this.font,i.zoom),C=i.measureString(v,w),T=this.scale.isReversed?c+h-n.get(b)*h+this.offsetAngle:c+n.get(b)*h-this.offsetAngle;let e=new kr,r=0;if(this.placement==HC.Outside){var P={ref:e};r=this.getMatrixRotation(i,u,C,this.labelRotationMode,g,T,P),e=P.ref}else{let t;t=this.placement==HC.Overlay?this.scale.isUp?g-(m+p*n.get(b))/2-C.width/2:g-(d-p*n.get(b))/2-C.width/2:this.scale.isUp?g-m-p*n.get(b)-C.width:g-d+p*n.get(b)-C.width;var P={ref:e};r=this.getMatrixRotation(i,u,C,this.labelRotationMode,t,T,P),e=P.ref}i.addTextGaugeGeom(v,w,this.textBrush,new Tr(e.x,e.y,C.width,C.height),null);let t=-1;while(++t<r)i.addPopTranformGaugeGeom()}}getMatrixRotation(t,e,r,i,n,a,s){var o=s.ref;let l=0;if(i==Ae.aE.StiLabelRotationMode.Automatic)switch(this.getRadialPosition(a)){case LT.TopCenter:case LT.TopRight:case LT.TopLeft:l=90;break;case LT.BottomRight:case LT.LeftCenter:case LT.BottonLeft:l=-90;break;case LT.BottomCenter:l=-a;break;case LT.RightCenter:l=-a-90;break}else if(i==Ae.aE.StiLabelRotationMode.None)l=-a;else if(i==Ae.aE.StiLabelRotationMode.SurroundIn)switch(this.getRadialPosition(a)){case LT.TopCenter:l=-a-180;break;default:l=-90;break}else l=90;o=new kr(e.x+n,e.y-r.height/2);let u=0;return 0!=a&&(t.addPushMatrixGaugeGeom(a,e),u++),0!=l&&(t.addPushMatrixGaugeGeom(l,new kr(o.x+r.width/2,o.y+r.height/2)),u++),s.ref=o,u}getRadialPosition(t){t+=90;while(360<t)t-=360;return 0==t||360==t?LT.TopCenter:0<t&&t<90?LT.TopRight:90==t?LT.RightCenter:90<t&&t<180?LT.BottomRight:180==t?LT.BottomCenter:180<t&&t<270?LT.BottonLeft:270==t?LT.LeftCenter:LT.TopLeft}};var k=Ae.bf.StiRadialTickLabelBase;{let t=class extends k{constructor(){super(...arguments),this._skipMajorValues=!0}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("SkipMajorValues","",!0)])}get componentId(){return Ae.c.StiComponentId.StiRadialTickLabelMinor}applyStyle(t){this.allowApplyStyle&&(this.textBrush=t.core.tickLabelMinorTextBrush,this.font=t.core.tickLabelMinorFont)}get skipMajorValues(){return this._skipMajorValues}set skipMajorValues(t){this._skipMajorValues=t}get isSkipMajorValues(){return this._skipMajorValues}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickLabelMinor"}createNew(){return new t}getPointCollection(){return this.getMinorCollections()}};Ae.bd.StiRadialTickLabelMinor=t}{let t=class extends k{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiRadialTickLabelMajor}applyStyle(t){this.allowApplyStyle&&(this.textBrush=t.core.tickLabelMajorTextBrush,this.font=t.core.tickLabelMajorFont)}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickLabelMajor"}createNew(){return new t}getPointCollection(){return this.getMajorCollections()}};Ae.bd.StiRadialTickLabelMajor=t}Ae.aM.StiGetTextEventHandler=new Ha("sender: any, e: StiGetTextEventArgs"),Ae.aM.StiGetTextEventArgs=class extends Un{get value(){return this._value}set value(t){this._value=t}},Ae.aM.StiGetTextEvent=class extends L{toString(){return"GetText"}};let OT=Ae.aM.StiGetTextEventArgs,HT=Ae.aM.StiGetTextEvent,_T=Ae.aK.StiCustomValuesCollection;{let t=class extends k{constructor(){super(...arguments),this.valueObj=0,this.textObj=null,this.values=new _T,this.getValueEvent=new Lo,this.getTextEvent=new HT,this.value="",this.text=""}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ua("GetValueEvent",Lo),new Ua("GetTextEvent",HT),new Ga("Value"),new Ga("Text"),new Ma("Values")])}get componentId(){return Ae.c.StiComponentId.StiRadialTickLabelCustom}clone(){let t=super.clone();null!=this.value?t.value=this.value:t.value=null,null!=this.text?t.text=this.text:t.text=null,t.values=new _T;for(var e of this.values.list)t.values.add(e.clone());return t}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickLabelCustom"}onGetValue(t){}invokeGetValue(t,e){try{var r;this.onGetValue(e),t.scale.gauge.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(r=wd.parseTextValue(this.value,t.scale.gauge),e.value=t.scale.gauge.report.toString2(r))}catch(t){var r=De.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}onGetText(t){}invokeGetText(t,e){try{this.onGetText(e)}catch(t){var e=De.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}createNew(){return new t}prepareGaugeElement(){super.prepareGaugeElement();var t=new Oo;this.invokeGetValue(this,t),this.valueObj=Ae.aJ.StiGaugeHelper.getFloatValueFromObject2(t.value,0);var t=new OT;this.invokeGetText(this,t),this.textObj=t.value}drawElement(i){let t=this.scale;if(null==t)return;var e=this.scale.barGeometry.rectGeometry;if(e.width<=0||e.height<=0)return;var n=t.barGeometry.center,a=this.scale.barGeometry.radius,s=t.getSweepAngle(),o=t.startAngle,l=this.scale.scaleHelper.actualMinimum,u=this.scale.scaleHelper.actualMaximum,h=this.scale.scaleHelper.maxWidth,c=this.scale.scaleHelper.minWidth,d=(h*=2*a)-(c*=2*a),m=this.textFormat,p=this.skipValuesObj,g=this.skipIndicesObj;let r=this.values;null!=r&&0!=r.count||(r=new _T,r.add(new Ae.bd.StiRadialTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.offsetAngle,this.labelRotationMode,this.placement)));var f=hv.changeFontSize(this.font,i.zoom),S;let b=-1;for(S of r.toCast()){if(b++,S.value<l)continue;if(S.value>u)continue;if(this.checkTickValue(p,g,S.value,b))continue;if(null!=this.minimumValue&&S.value<this.minimumValue)continue;if(null!=this.maximumValue&&S.value>this.maximumValue)continue;var y=this.scale.getPosition(S.value),v=De.isNullOrEmpty(S.text)?"":this.getTextForRender2(S.text,m),w=this.getPlacement(S.placement)==HC.Outside?a*(1+this.getOffset(S.offset)):a*(1-this.getOffset(S.offset)),C=this.getTextForRender2(v,m),T=i.measureString(C,f),v=this.scale.isReversed?o+s-y*s+this.getOffsetAngle(S.offsetAngle):o+y*s-this.getOffsetAngle(S.offsetAngle);let e=0,r=new kr;if(this.getPlacement(S.placement)==HC.Outside){var P={ref:r};e=this.getMatrixRotation(i,n,T,this.getLabelRotationMode(S.labelRotationMode),w,v,P),r=P.ref}else if(this.getPlacement(S.placement)==HC.Overlay){let t;t=this.scale.isUp?w-(c+d*y)/2-T.width/2:w-(h-d*y)/2-T.width/2;var P={ref:r};e=this.getMatrixRotation(i,n,T,this.getLabelRotationMode(S.labelRotationMode),t,v,P),r=P.ref}else{let t=0;t=this.scale.isUp?w-c-d*y-T.width:w-h+d*y-T.width;var y={ref:r};e=this.getMatrixRotation(i,n,T,this.getLabelRotationMode(S.labelRotationMode),t,v,y),r=y.ref}i.addTextGaugeGeom(C,f,this.textBrush,new Tr(r.x,r.y,T.width,T.height),null);for(let t=0;t<e;t++)i.addPopTranformGaugeGeom()}}getOffsetAngle(t){return null==t?this.offsetAngle:t}getLabelRotationMode(t){return null==t?this.labelRotationMode:t}};Ae.bd.StiRadialTickLabelCustom=t}var k=Ae.bf.StiTickBase;Ae.bf.StiTickMarkBase=class extends k{constructor(){super(...arguments),this._relativeHeight=.1,this._relativeWidth=.1,this._skin=Ae.aE.StiTickMarkSkin.Rectangle,this._brush=new si(Fe.white),this._borderBrush=new si(Fe.fromArgb(89,87,87)),this._borderWidth=1}meta(){return this._hash||(this._hash=[...super.meta(),new ji("RelativeHeight","",.1),new ji("RelativeWidth","",.1),new Gi("Skin","",Ae.aE.StiTickMarkSkin),new ds("Brush"),new ds("BorderBrush"),new ji("BorderWidth","",1)])}clone(){let t=super.clone();return t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get skin(){return this._skin}set skin(t){this._skin=t}get brush(){return this._brush}set brush(t){this._brush=t}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t}get borderWidth(){return this._borderWidth}set borderWidth(t){this._borderWidth=t}getActualSkin(){return null!=this.customSkin?this.customSkin:DT.getTickMarkSkin(this.skin)}getRelativeWidth(t){return null==t?this.relativeWidth:t}getRelativeHeight(t){return null==t?this.relativeHeight:t}},Ae.bf.StiLinearTickMarkBase=class extends Ae.bf.StiTickMarkBase{drawElement(r){let i=this.scale;if(null==i)return;var t=i.barGeometry.size,n=i.barGeometry.rectGeometry;let a=this.getPointCollection();if(0==a.count)return;var s=this.skipValuesObj,o=this.skipIndicesObj;let l=this.getActualSkin();var u=this.scale.scaleHelper.actualMinimum,h=this.scale.scaleHelper.actualMaximum,c=i.startWidth<i.endWidth;let d,m;m=i.orientation==LC.Horizontal?(d=n.width,t.height):(d=n.height,t.width);var p=i.barGeometry.getRestToLenght();m*=this.offset;var g=t.width*this.relativeWidth,f;let S=t.height*this.relativeHeight;S<1&&(S=1);let b=-1;for(f of a.keys){if(b++,f<u)continue;if(f>h)continue;if(this.checkTickValue(s,o,f,b))continue;if(null!=this.minimumValue&&f<this.minimumValue)continue;if(null!=this.maximumValue&&f>this.maximumValue)continue;var y=a.get(f)*d,v,y;let t,e;i.orientation==LC.Horizontal?(e=i.isReversed?n.right-y-g:n.left+y-g/2,t=this.placement==HC.Overlay?MC.centerY(n)-S/2-m:(v=c?(1-a.get(f))*p:p*a.get(f),this.placement==HC.Outside?n.top-S-m+v:n.bottom+m-v)):(t=i.isReversed?n.top+y-S/2:n.bottom-y-S/2,e=this.placement==HC.Overlay?MC.centerX(n)-g/2-m:(y=c?(1-a.get(f))*p:p*a.get(f),this.placement==HC.Outside?n.left-g-3-m+y:n.right+m+3-y)),l.draw(r,this,new Tr(Math.round(e),Math.round(t),Ne.trunc(g),Ne.trunc(S)))}}};var k=Ae.bf.StiLinearTickMarkBase;{let t=class extends k{constructor(){super(...arguments),this._skipMajorValues=!0}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("SkipMajorValues","",!0)])}get componentId(){return Ae.c.StiComponentId.StiLinearTickMarkMinor}applyStyle(t){this.allowApplyStyle&&(this.borderBrush=t.core.tickMarkMinorBorder,this.brush=t.core.tickMarkMinorBrush,this.borderWidth=t.core.tickMarkMinorBorderWidth)}get skipMajorValues(){return this._skipMajorValues}set skipMajorValues(t){this._skipMajorValues=t}get isSkipMajorValues(){return this.skipMajorValues}get localizeName(){return"LinearTickMarkMinor"}createNew(){return new t}getPointCollection(){return this.getMinorCollections()}};Ae.bd.StiLinearTickMarkMinor=t}{let t=class extends k{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiLinearTickMarkMajor}applyStyle(t){this.allowApplyStyle&&(this.borderBrush=t.core.tickMarkMajorBorder,this.brush=t.core.tickMarkMajorBrush,this.borderWidth=t.core.tickMarkMajorBorderWidth)}get localizeName(){return"LinearTickMarkMajor"}createNew(){return new t}getPointCollection(){return this.getMajorCollections()}};Ae.bd.StiLinearTickMarkMajor=t}{let t=class extends k{constructor(){super(...arguments),this._valueObj=0,this.values=new _T,this._getValueEvent=new Lo,this._value=""}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ua("GetValueEvent",Lo),new Ga("Value"),new Ma("Values")])}get componentId(){return Ae.c.StiComponentId.StiLinearTickMarkCustom}clone(){let t=super.clone();null!=this.value?t.value=this.value:t.value=null,t.values=new _T;for(var e of this.values.list)t.values.add(e.clone());return t}get valueObj(){return this._valueObj}set valueObj(t){this._valueObj=t}get localizeName(){return"LinearTickMarkCustom"}onGetValue(t){}invokeGetValue(t,e){try{var r;this.onGetValue(e),t.scale.gauge.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(r=wd.parseTextValue(this.value,t.scale.gauge),e.value=t.scale.gauge.report.toString2(r))}catch(t){var r=De.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getValueEvent(){return this._getValueEvent}set getValueEvent(t){this._getValueEvent=t}get value(){return this._value}set value(t){this._value=t}createNew(){return new t}prepareGaugeElement(){super.prepareGaugeElement();var t=new Oo;this.invokeGetValue(this,t),this.valueObj=Ae.aJ.StiGaugeHelper.getFloatValueFromObject2(t.value,0)}drawElement(n){var a=this.scale;if(null==a)return;var s=a.barGeometry.size,o=a.barGeometry.rectGeometry,l=this.scale.barGeometry.getRestToLenght(),u=a.orientation==LC.Horizontal?s.height:s.width;u*=this.offset;var h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,d=this.getActualSkin(),m=this.skipValuesObj,p=this.skipIndicesObj,g;let t=this.values;null!=t&&0!=t.count||(t=new _T,t.add(new Ae.bd.StiLinearTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.placement,d)));let f=-1;for(g of t.toCast()){if(f++,g.value<h)continue;if(g.value>c)continue;if(this.checkTickValue(m,p,g.value,f))continue;if(null!=this.minimumValue&&g.value<this.minimumValue)continue;if(null!=this.maximumValue&&g.value>this.maximumValue)continue;let t,e,r;var S=this.scale.getPosition(g.value),b=s.width*this.getRelativeWidth(g.relativeWidth),y=s.height*this.getRelativeHeight(g.relativeHeight),v,S;r=a.orientation==LC.Horizontal?(t=a.isReversed?o.width-o.width*S:o.width*S,this.getPlacement(g.placement)==HC.Overlay?(e=o.left+t-b/2,MC.centerY(o)-y/2-u):(v=a.startWidth<a.endWidth?(1-S)*l:l*S,this.getPlacement(g.placement)==HC.Outside?(e=o.left+t-b/2,o.top-y-u+v):(e=o.left+t-b/2,o.bottom+u-v))):(t=a.isReversed?o.height*S:o.height-o.height*S,e=this.getPlacement(g.placement)==HC.Overlay?MC.centerX(o)-b/2:(S=a.startWidth<a.endWidth?(1-S)*l:l*S,this.getPlacement(g.placement)==HC.Outside?o.left-b-1-u+S:o.right+1+u-S),o.top+t-y/2);let i=null==g.skin?d:g.skin;i.draw(n,this,new Tr(e,r,b,y))}}};Ae.bd.StiLinearTickMarkCustom=t}Ae.bf.StiLinearTickLabelBase=class extends q{drawElement(r){let i=this.scale.as(Ae.bd.StiLinearScale);if(null==i)return;var t=i.barGeometry.size,n=i.barGeometry.rectGeometry;if(0==t.width||0==t.height)return;let a=this.getPointCollection();if(0==a.count)return;let s=MT.getLabels(a);var o=this.textFormat,l=this.skipValuesObj,u=this.skipIndicesObj,h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,d=i.startWidth<i.endWidth;let m,p;p=i.orientation==LC.Horizontal?(m=n.width,t.height):(m=n.height,t.width);var g=i.barGeometry.getRestToLenght(),f;p*=this.offset;let S=-1,b=null;for(f of a.keys){if(S++,f<h)continue;if(f>c)continue;if(this.checkTickValue(l,u,f,S))continue;if(null!=this.minimumValue&&f<this.minimumValue)continue;if(null!=this.maximumValue&&f>this.maximumValue)continue;var y=De.isNullOrEmpty(o)&&this.scale.gauge.shortValue?s.get(f):this.getTextForRender(f,o),v=hv.changeFontSize(this.font,r.zoom),w=r.measureString(y,v),C=a.get(f)*m,T,C;let t,e;i.orientation==LC.Horizontal?(e=i.isReversed?n.right-C-w.width/2:n.left+C-w.width/2,t=this.placement==HC.Overlay?MC.centerY(n)-w.height/2-p:(T=d?(1-a.get(f))*g:g*a.get(f),this.placement==HC.Outside?n.top-w.height-p+T:n.bottom+p-T)):(t=i.isReversed?n.top+C-w.height/2:n.bottom-C-w.height/2,e=this.placement==HC.Overlay?MC.centerX(n)-w.width/2-p:(C=d?(1-a.get(f))*g:g*a.get(f),this.placement==HC.Outside?n.left-w.width-3-p+C:n.right+p+3-C));var w=new Tr(e,t,w.width,w.height);null!=b&&b.intersectsWith(w)||(r.addTextGaugeGeom(y,v,this.textBrush,w,null),b=w)}}};var k=Ae.bf.StiLinearTickLabelBase;{let t=class extends k{constructor(){super(...arguments),this._skipMajorValues=!0}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("SkipMajorValues","",!0)])}get componentId(){return Ae.c.StiComponentId.StiLinearTickLabelMinor}applyStyle(t){this.allowApplyStyle&&(this.textBrush=t.core.tickLabelMinorTextBrush,this.font=t.core.tickLabelMinorFont)}get skipMajorValues(){return this._skipMajorValues}set skipMajorValues(t){this._skipMajorValues=t}get isSkipMajorValues(){return this.skipMajorValues}get localizeName(){return"LinearTickLabelMinor"}createNew(){return new t}getPointCollection(){return this.getMinorCollections()}};Ae.bd.StiLinearTickLabelMinor=t}{let t=class extends k{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiLinearTickLabelMajor}applyStyle(t){this.allowApplyStyle&&(this.textBrush=t.core.tickLabelMajorTextBrush,this.font=t.core.tickLabelMajorFont)}get localizeName(){return"LinearTickLabelMajor"}createNew(){return new t}getPointCollection(){return this.getMajorCollections()}};Ae.bd.StiLinearTickLabelMajor=t}var q=Ae.bf.StiTickMarkBase;Ae.bf.StiRadialTickMarkBase=class extends q{constructor(){super(...arguments),this._offsetAngle=0}meta(){return this._hash||(this._hash=[...super.meta(),new ji("OffsetAngle","",0)])}get offsetAngle(){return this._offsetAngle}set offsetAngle(t){this._offsetAngle=t}get elementType(){return xT.RadialElement}drawElement(e){let t=this.scale;if(null==t)return;var r=this.scale.barGeometry.rectGeometry;if(r.width<=0||r.height<=0)return;let i=this.getPointCollection();if(0==i.count)return;var n=this.skipValuesObj,a=this.skipIndicesObj;let s=this.getActualSkin();var o=t.barGeometry.center,l=t.getSweepAngle(),u=t.startAngle,h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,r=this.scale.barGeometry.diameter;let d=this.scale.barGeometry.radius;var m=this.scale.scaleHelper.minWidth,p=this.scale.scaleHelper.maxWidth,g,g=(p*=this.scale.barGeometry.rectGeometry.width)-(m*=this.scale.barGeometry.rectGeometry.width);d=this.placement==HC.Outside?d*(1+this.offset):d*(1-this.offset);var f=r*this.relativeWidth,S=r*this.relativeHeight,b;let y=-1;for(b of i.keys){if(y++,b<h)continue;if(b>c)continue;if(this.checkTickValue(n,a,b,y))continue;if(null!=this.minimumValue&&b<this.minimumValue)continue;if(null!=this.maximumValue&&b>this.maximumValue)continue;var v=this.scale.isReversed?u+l-i.get(b)*l+this.offsetAngle:u+i.get(b)*l+this.offsetAngle;let t=0;t=this.placement==HC.Outside?d:this.placement==HC.Overlay?this.scale.isUp?d-(m+g*i.get(b)+f)/2:d-(p-g*i.get(b)+f)/2:this.scale.isUp?d-m-g*i.get(b)-f:d-p+g*i.get(b)-f;var w=new Tr(o.x+t,o.y,f,S);e.addPushMatrixGaugeGeom(v,o),s.draw(e,this,w),e.addPopTranformGaugeGeom()}}};var q=Ae.bf.StiRadialTickMarkBase;{let t=class extends q{constructor(){super(...arguments),this.valueObj=0,this.values=new _T,this._getValueEvent=new Lo,this._value=""}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ua("GetValueEvent",Lo),new Ga("Value"),new Ma("Values")])}get componentId(){return Ae.c.StiComponentId.StiRadialTickMarkCustom}clone(){let t=super.clone();null!=this.value?t.value=this.value:t.value=null,t.values=new _T;for(var e of this.values.list)t.values.add(e.clone());return t}onGetValue(t){}invokeGetValue(t,e){try{var r;this.onGetValue(e),t.scale.gauge.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(r=wd.parseTextValue(this.value,t.scale.gauge),e.value=t.scale.gauge.report.toString2(r))}catch(t){var r=De.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getValueEvent(){return this._getValueEvent}set getValueEvent(t){this._getValueEvent=t}get value(){return this._value}set value(t){this._value=t}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickMarkCustom"}createNew(){return new t}prepareGaugeElement(){super.prepareGaugeElement();var t=new Oo;this.invokeGetValue(this,t),this.valueObj=Ae.aJ.StiGaugeHelper.getFloatValueFromObject2(t.value,0)}drawElement(n){let t=this.scale;if(null==t)return;var e=this.scale.barGeometry.rectGeometry;if(e.width<=0||e.height<=0)return;var a=t.barGeometry.center,s=t.getSweepAngle(),o=t.startAngle,l=this.scale.barGeometry.diameter,u=this.scale.barGeometry.radius,h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,d=this.scale.scaleHelper.minWidth,m=this.scale.scaleHelper.maxWidth,p,p=(m*=this.scale.barGeometry.rectGeometry.width)-(d*=this.scale.barGeometry.rectGeometry.width),g=this.getActualSkin(),f=this.skipValuesObj,S=this.skipIndicesObj,b;let r=this.values;null!=r&&0!=r.count||(r=new _T,r.add(new Ae.bd.StiRadialTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.offsetAngle,this.placement,null,null,null,g)));let y=-1;for(b of r.toCast()){if(y++,b.value<h)continue;if(b.value>c)continue;if(this.checkTickValue(f,S,b.value,y))continue;if(null!=this.minimumValue&&b.value<this.minimumValue)continue;if(null!=this.maximumValue&&b.value>this.maximumValue)continue;var v=this.scale.getPosition(b.value),w=l*this.getRelativeWidth(b.relativeWidth),C=l*this.getRelativeHeight(b.relativeHeight),T=this.getPlacement(b.placement)==HC.Outside?u*(1+this.getOffset(b.offset)):u*(1-this.getOffset(b.offset)),P=this.scale.isReversed?o+s-v*s-this.getOffsetAngle(b.offsetAngle):o+v*s+this.getOffsetAngle(b.offsetAngle);let t;t=this.getPlacement(b.placement)==HC.Outside?T:this.getPlacement(b.placement)==HC.Overlay?this.scale.isUp?T-(d+p*v+w)/2:T-(m-p*v+w)/2:this.scale.isUp?T-d-p*v-w:T-m+p*v-w;let e=null,r=0;b.useBrush&&(e=this.brush,this.brush=b.brush),b.useBorderBrush&&(this.borderBrush=b.borderBrush),b.useBorderWidth&&(r=this.borderWidth,this.borderWidth=null==b.borderWidth?0:b.borderWidth);var C=new Tr(a.x+t,a.y,w,C);n.addPushMatrixGaugeGeom(P,a);let i=null==b.skin?g:b.skin;i.draw(n,this,C),n.addPopTranformGaugeGeom(),b.useBrush&&(this.brush=e),b.useBorderBrush&&(this.borderBrush=e),b.useBorderWidth&&(this.borderWidth=r)}}getOffsetAngle(t){return null==t?this.scale.isReversed?-this.offsetAngle:this.offsetAngle:t}};Ae.bd.StiRadialTickMarkCustom=t}{let t=class extends q{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiRadialTickMarkMajor}applyStyle(t){this.allowApplyStyle&&(this.borderBrush=t.core.tickMarkMajorBorder,this.brush=t.core.tickMarkMajorBrush,this.borderWidth=t.core.tickMarkMajorBorderWidth)}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickMarkMajor"}createNew(){return new t}getPointCollection(){return this.getMajorCollections()}};Ae.bd.StiRadialTickMarkMajor=t}{let t=class extends q{constructor(){super(...arguments),this._skipMajorValues=!0}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("SkipMajorValues","",!0)])}get componentId(){return Ae.c.StiComponentId.StiRadialTickMarkMinor}applyStyle(t){this.allowApplyStyle&&(this.borderBrush=t.core.tickMarkMinorBorder,this.brush=t.core.tickMarkMinorBrush,this.borderWidth=t.core.tickMarkMinorBorderWidth)}get skipMajorValues(){return this._skipMajorValues}set skipMajorValues(t){this._skipMajorValues=t}get isSkipMajorValues(){return this._skipMajorValues}get elementType(){return xT.RadialElement}get localizeName(){return"RadialTickMarkMinor"}createNew(){return new t}getPointCollection(){return this.getMinorCollections()}};Ae.bd.StiRadialTickMarkMinor=t}Ae.bd.StiIndicatorRangeInfo=class{constructor(){this._value=0}meta(){return this._hash||(this._hash=[new ji("Value","",0)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t,e){let r=t.getAttribute("Ref");De.isNullOrEmpty(r)||(e.jsonLoaderHelper.refNames[r.stimulsoft().toNumber()]=t.nodeName),Ii.loadFromXml(t,this)}get componentId(){return null}get propName(){return null}clone(){return this.stimulsoft().memberwiseClone()}get value(){return this._value}set value(t){this._value=t}get rangeListType(){return null}createNew(){return null}};let VT=Ae.aE.StiBarRangeListType;{let t=class extends Ae.bd.StiIndicatorRangeInfo{constructor(){super(...arguments),this._color=Fe.white,this._brush=new ei}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new dl("Color"),new ds("Brush")])}get componentId(){return Ae.c.StiComponentId.StiLinearIndicatorRangeInfo}get color(){return this._color}set color(t){this._color=t}get brush(){return this._brush}set brush(t){this._brush=t}get rangeListType(){return VT.LinearBar}createNew(){return new t}};Ae.bd.StiLinearIndicatorRangeInfo=t}{let t=class{constructor(){this.standardBackground=!1,this.defaultIndex=-99}reset(){this.standardBackground=!1,this.defaultIndex=-99}},e=class extends l{constructor(){super(...arguments),this.actualBush=new ei,this.colorModeHelper=new t}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiRadialBar}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.radialBarBrush,this.borderBrush=t.core.radialBarBorderBrush,this.borderWidth=t.core.borderWidth,this.emptyBrush=t.core.radialBarEmptyBrush,this.emptyBorderBrush=t.core.radialBarEmptyBorderBrush,this.emptyBorderWidth=t.core.borderWidth,this.startWidth=t.core.radialBarStartWidth,this.endWidth=t.core.radialBarEndWidth,this.checkActualBrushForTopGeometry())}get elementType(){return xT.RadialElement}get barType(){return Ae.aE.StiBarRangeListType.RadialBar}get localizeName(){return"RadialBar"}checkActualBrushForTopGeometry(){if(this.useRangeColor)for(let t=this.rangeList.count-1;0<=t;t--){var e=this.rangeList.getByIndex(t);if(this.valueObj>=e.value){this.colorModeHelper.defaultIndex!=t&&(this.colorModeHelper.defaultIndex=t,this.actualBush=e.brush);break}}else this.colorModeHelper.standardBackground=!0,this.actualBush=this.brush}createNew(){return new e}drawElement(r){var i=this.scale,n=this.getActualValue(),n=null==n?this.scale.minimum:n;if(r.gauge.isDesigning&&this.checkActualBrushForTopGeometry(),null!=i){let t,e;this.scale.isReversed?(t=this.scale.maximum-n,e=this.scale.maximum):(t=this.scale.minimum,e=n,e>this.scale.maximum&&(e=this.scale.maximum)),this.getRangeGeometry(r,i,this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth,this.scale.minimum,this.scale.maximum),this.getRangeGeometry(r,i,this.actualBush,this.borderBrush,this.borderWidth,t,e)}}onRangeColorChanged(){this.colorModeHelper.reset()}interactiveClick(t,e){}getRangeGeometry(t,e,r,i,n,a,s){var o=e.barGeometry.center,l=e.barGeometry.radius,u=e.barGeometry.diameter;let h,c;h=0<=this.startWidth?e.isReversed?this.endWidth*u:this.startWidth*u:0,c=0<=this.endWidth?e.isReversed?this.startWidth*u:this.endWidth*u:0;var d=e.startAngle+e.getPosition(a)*e.sweepAngle,m=(e.getPosition(s)-e.getPosition(a))*e.sweepAngle,p=e.isReversed?e.endWidth*u:e.startWidth*u,u=e.isReversed?e.startWidth*u:e.endWidth*u,a=this.scale.getPosition(a),s=this.scale.getPosition(s),u=OC.maxMinusMin(p,u);let g,f,S,b;if(b=this.placement==HC.Outside?(g=l,f=l,S=l+h,l+c):this.placement==HC.Overlay?e.isUp?(g=l-(p+u*a-h)/2,f=l-(p+u*s-c)/2,S=l-(p+u*a+h)/2,l-(p+u*s+c)/2):(g=l-(p-u*a-h)/2,f=l-(p-u*s-c)/2,S=l-(p-u*a+h)/2,l-(p-u*s+c)/2):e.isUp?(g=l-(p+u*a),f=l-(p+u*s),S=l-(p+u*a+h),l-(p+u*s+c)):(g=l-(p-u*a),f=l-(p-u*s),S=l-(p-u*a+h),l-(p-u*s+c)),isNaN(g)||isNaN(f)||isNaN(S)||isNaN(b))return;var s=OC.getMax(g,f,S,b),s=new Tr(o.x-s,o.y-s,2*s,2*s);t.addRadialRangeGaugeGeom(s,r,i,n,o,d,m,g,f,S,b)}};Ae.bd.StiRadialBar=e}{let t=class extends Ae.bd.StiIndicatorRangeInfo{constructor(){super(...arguments),this._brush=new ei}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new ds("Brush")])}get componentId(){return Ae.c.StiComponentId.StiRadialIndicatorRangeInfo}get brush(){return this._brush}set brush(t){this._brush=t}get rangeListType(){return VT.RadialBar}createNew(){return new t}};Ae.bd.StiRadialIndicatorRangeInfo=t}{let t=class extends yt{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiRadialMarker}applyStyle(t){this.allowApplyStyle&&(this.brush=t.core.markerBrush,this.borderBrush=t.core.markerBorderBrush,this.borderWidth=t.core.markerBorderWidth,this.skin=t.core.markerSkin)}get elementType(){return xT.RadialElement}get localizeName(){return"RadialMarker"}createNew(){return new t}drawElement(e){let r=this.scale;if(null==r)return;var t=this.getActualValue(),i,n=r.getPosition(null==t?0:t),a=r.barGeometry.center,s=this.scale.barGeometry.size.width*this.relativeWidth,o=this.scale.barGeometry.size.height*this.relativeHeight,l=this.scale.barGeometry.diameter,t=OC.maxMinusMin(this.scale.startWidth,this.scale.endWidth)*l*n;let u=this.scale.barGeometry.radius-this.offset*l;this.placement==HC.Overlay?this.scale.isReversed?u-=this.scale.isUp?(this.scale.endWidth*l+s+t)/2:(this.scale.endWidth*l+s-t)/2:u-=this.scale.isUp?(this.scale.startWidth*l+s+t)/2:(this.scale.startWidth*l+s-t)/2:this.placement==HC.Inside&&(this.scale.isReversed?u-=this.scale.isUp?this.scale.endWidth*l+s-t:this.scale.endWidth*l+s+t:u-=this.scale.isUp?this.scale.startWidth*l+s-t:this.scale.startWidth*l+s+t);var s=new Tr(u+a.x,a.y-o/2,s,o),o=r.startAngle+r.getSweepAngle()*n,n=r.startAngle-o;if(this.scale.gauge.isAnimation){let t=new sv(n,0,a,Ae.aJ.StiGaugeHelper.globalDurationElement,lt.zero);t.id="radialMarker"+r.items.indexOf(this),t.applyPreviousAnimation(e.gauge.previousAnimations),this.animation=t}let h=this.getActualSkin();h.draw(e,this,s,o,a)}interactiveClick(t,e){}};Ae.bd.StiRadialMarker=t}let GT=Ae.aK.StiFilterCollection;{let t=class extends BT{constructor(){super(...arguments),this._format="{0:F0}",this._showValue=!1,this._textBrush=new si(Fe.dimGray),this._font=new Ar("Atial",7),this.filters=new GT,this._left=0,this._top=0,this._relativeWidth=.05,this._relativeHeight=.05,this._skin=Ae.aE.StiStateSkin.Ellipse}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ui("Format"),new Wi("ShowValue"),new ds("TextBrush"),new Al("Font","","Arial",8,se.Bold,ti.Pixel),new ji("Left","",0),new ji("Top","",0),new ji("RelativeHeight","",.05),new ji("RelativeWidth","",.05),new Gi("Skin","",Ae.aE.StiStateSkin),new Ma("Filters").check(t=>t==as.Report)])}get componentId(){return Ae.c.StiComponentId.StiStateIndicator}get format(){return this._format}set format(t){this._format=t}get showValue(){return this._showValue}set showValue(t){this._showValue=t}get textBrush(){return this._textBrush}set textBrush(t){this._textBrush=t}get font(){return this._font}set font(t){this._font=t}get elementType(){return Ae.aE.StiGaugeElemenType.All}get localizeName(){return"StateIndicator"}get left(){return this._left}set left(t){this._left=t}get top(){return this._top}set top(t){this._top=t}get relativeWidth(){return this._relativeWidth}set relativeWidth(t){this._relativeWidth=t}get relativeHeight(){return this._relativeHeight}set relativeHeight(t){this._relativeHeight=t}get skin(){return this._skin}set skin(t){this._skin=t}get customSkin(){return this._customSkin}set customSkin(t){this._customSkin=t}createNew(){return new t}onValueChanged(){if(null!=this.filters){let e=null;var r=this.getActualValue();for(let t=0;t<this.filters.count;t++)if(r>=this.filters.getByIndex(t).startValue&&r<=this.filters.getByIndex(t).endValue){e=this.filters.getByIndex(t);break}this.lastFilter!=e&&(this.lastFilter=e,null!=e&&(this.brush=e.brush,this.borderBrush=e.borderBrush))}}interactiveClick(t,e){}drawElement(t){var e=this.scale.barGeometry.size,r=t.rect,e=new Tr(r.x+e.width*this.left,r.y+e.height*this.top,e.width*this.relativeWidth,e.height*this.relativeHeight);let i=this.getActualSkin();i.draw(t,this,e,null,null)}getActualSkin(){return null!=this.customSkin?this.customSkin:DT.getStateIndicatorSkin(this.skin)}};Ae.bd.StiStateIndicator=t}Ae.bf.StiRangeBase=class{constructor(){this._brush=new si(Fe.white),this._borderBrush=new ei,this._borderWidth=1,this._startValue=0,this._endValue=0,this._startWidth=0,this._endWidth=0,this._placement=HC.Overlay,this._offset=0}meta(){return this._hash||(this._hash=[new ds("Brush"),new ds("BorderBrush"),new ji("BorderWidth","",1),new ji("StartValue","",0),new ji("EndValue","",0),new ji("StartWidth","",0),new ji("EndWidth","",0),new Gi("Placement","",HC),new ji("Offset","",0)])}saveToJsonObject(t){return Ii.saveToJsonObject(t,this)}loadFromJsonObject(t){Ii.loadFromJsonObject(t,this)}loadFromXml(t){Ii.loadFromXml(t,this)}get componentId(){return null}get propName(){return null}clone(){let t=this.stimulsoft().memberwiseClone();return t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),t}get brush(){return this._brush}set brush(t){this._brush=t}get borderBrush(){return this._borderBrush}set borderBrush(t){this._borderBrush=t}get borderWidth(){return this._borderWidth}set borderWidth(t){this._borderWidth=t}get startValue(){return this._startValue}set startValue(t){this._startValue=t}get endValue(){return this._endValue}set endValue(t){this._endValue=t}get startWidth(){return this._startWidth}set startWidth(t){this._startWidth=t}get endWidth(){return this._endWidth}set endWidth(t){this._endWidth=t}get placement(){return this._placement}set placement(t){this._placement=t}get offset(){return this._offset}set offset(t){this._offset=t}get localizeName(){return null}drawRange(t,e){}createNew(){return null}};var yt=Ae.bf.StiRangeBase;{let t=class extends yt{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiLinearRange}drawRange(e,t){if(null==t)return;var r=this.startWidth,i=this.endWidth;if(0==r||0==i)return;var n,a={ref:n=new Tr(0,0,0,0)},i=t.barGeometry.drawGeometry(e,this.startValue,this.endValue,r,i,this.offset,this.placement,a,!1),n=a.ref;if(null!=i){let t=new RC(n,i.points[0],this.brush,this.borderBrush,this.borderWidth);t.geoms.push(i),t.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(t)}}get localizeName(){return"LinearRange"}createNew(){return new t}};Ae.bd.StiLinearRange=t}{let t=class extends yt{constructor(){super(...arguments),this.useValuesFromTheSpecifiedRange=!0}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Wi("UseValuesFromTheSpecifiedRange","",!0)])}get componentId(){return Ae.c.StiComponentId.StiRadialRange}get localizeName(){return"RadialRange"}drawRange(t,e){var r=e;if(null==r||0==this.startWidth||0==this.endWidth)return;let i=this.startValue;if(this.useValuesFromTheSpecifiedRange&&i<e.minimum)i=e.minimum;else if(i>e.maximum)return;let n=this.endValue;if(this.useValuesFromTheSpecifiedRange&&n>e.maximum)n=e.maximum;else if(n<e.minimum)return;var a=e.barGeometry.diameter;let s,o;o=e.isReversed?(i=e.maximum-i,n=e.maximum-n,s=e.endWidth*a,e.startWidth*a):(s=e.startWidth*a,e.endWidth*a);var l=e.barGeometry.rectGeometry,u=e.barGeometry.center,h=e.barGeometry.radius,c=0<=this.startWidth?this.startWidth*a:0,d=0<=this.endWidth?this.endWidth*a:0,m=r.startAngle+e.getPosition(i)*r.sweepAngle,p=(e.getPosition(n)-e.getPosition(i))*r.sweepAngle,g=e.getPosition(i),a=e.getPosition(n),r=OC.maxMinusMin(s,o);let f,S,b,y;y=this.placement==HC.Outside?(f=h,S=h,b=h+c,h+d):this.placement==HC.Overlay?e.isUp?(f=h-(s+r*g-c)/2,S=h-(s+r*a-d)/2,b=h-(s+r*g+c)/2,h-(s+r*a+d)/2):(f=h-(s-r*g-c)/2,S=h-(s-r*a-d)/2,b=h-(s-r*g+c)/2,h-(s-r*a+d)/2):e.isUp?(f=h-(s+r*g),S=h-(s+r*a),b=h-(s+r*g+c),h-(s+r*a+d)):(f=h-(s-r*g),S=h-(s-r*a),b=h-(s-r*g+c),h-(s-r*a+d)),t.addRadialRangeGaugeGeom(l,this.brush,this.borderBrush,this.borderWidth,u,m,p,f,S,b,y)}createNew(){return new t}};Ae.bd.StiRadialRange=t}{let r=class extends J{constructor(t){super(),this.parent=null,this.parent=t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.ranges.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();this.add(i),i.loadFromJsonObject(n.value)}}loadFromXml(e){for(let t=0;t<e.childNodes.length;t++){let r=e.childNodes[t];if(null==r.attributes)continue;var i;if(null!=r.attributes.getNamedItem("type")){let t=r.attributes.getNamedItem("type").value;var n=t.split(".").pop();let e=new Ae.bd[n];this.add(e),e.loadFromXml(r)}}return null}clone(){let t=new r(this.parent);for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}setByIndex(t,e){this.setParent(e),super.setByIndex(t,e)}setParent(t){t.rangeList=this.parent}clearParent(t){t.rangeList=null}add(t){this.setParent(t),super.add(t)}insert(t,e){this.setParent(e),super.insert(t,e)}remove(t){var e=this.list.indexOf(t);if(-1!=e)return this.clearParent(t),this.removeAt(e),!0;return!1}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiRangeCollection=r}let UT=Ae.aK.StiRangeCollection;Ae.bf.StiScaleRangeList=class extends Ae.bf.StiGaugeElement{constructor(){super(),this.ranges=new UT(this)}meta(){return this._hash||(this._hash=[...super.meta(),new Ma("Ranges")])}get componentId(){return Ae.c.StiComponentId.StiScaleRangeList}clone(){let t=super.clone();t.ranges=new UT(t);for(var e of this.ranges.list)t.ranges.add(e.clone());return t}};var yt=Ae.bf.StiScaleRangeList;{let t=class extends yt{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiLinearRangeList}createNew(){return new t}drawElement(e){let r=0;while(r<this.ranges.count){let t=this.ranges.getByIndex(r);null!=t&&t.drawRange(e,this.scale),r++}}};Ae.bd.StiLinearRangeList=t}{let t=class extends yt{meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName())])}get componentId(){return Ae.c.StiComponentId.StiRadialRangeList}get elementType(){return xT.RadialElement}createNew(){return new t}drawElement(e){let r=0;while(r<this.ranges.count){let t=this.ranges.getByIndex(r);null!=t&&t.drawRange(e,this.scale),r++}}};Ae.bd.StiRadialRangeList=t}let jT=Ae.bd.StiLinearMarker,WT=Ae.bd.StiLinearRangeList,qT=Ae.bd.StiLinearRange,zT=Ae.bd.StiLinearTickMarkCustom,XT=Ae.bd.StiRadialIndicatorRangeInfo,JT=Ae.bd.StiLinearIndicatorRangeInfo,YT=Ae.bd.StiLinearTickMarkMinor,QT=Ae.bd.StiStateIndicator,KT=Ae.bd.StiRadialRangeList,ZT=Ae.bd.StiRadialRange,$T=Ae.bd.StiRadialTickMarkCustom,tP=Ae.bd.StiRadialTickLabelCustom,eP=Ae.bd.StiRadialTickMarkCustomValue,rP=Ae.bd.StiRadialTickLabelCustomValue,iP=Ae.bd.StiLinearBar,nP=Ae.bd.StiLinearTickLabelMajor,aP=Ae.bd.StiLinearTickMarkMajor,sP=Ae.bd.StiLinearScale,oP=Ae.bd.StiRadialMarker,lP=Ae.bd.StiRadialBar,uP=Ae.bd.StiNeedle,hP=Ae.bd.StiRadialTickLabelMajor,cP=Ae.bd.StiRadialTickMarkMinor,dP=Ae.bd.StiRadialTickMarkMajor,mP=Ae.bd.StiRadialScale;var yt=class{static getFloatValueFromObject(t,e){let r=e.minimum;return null!=t&&("string"==typeof t?(this.currentCulture=xt.currentCulture,xt.currentCulture=new xt("en-US"),r=t.stimulsoft().toNumber(),isNaN(r)||r<e.minimum?r=e.minimum:r>e.maximum&&(r=e.maximum),xt.currentCulture=this.currentCulture):r=t.stimulsoft().toNumber()),r}static getFloatValueFromObject2(t,e){let r=e;return null!=t&&("string"==typeof t?(this.currentCulture=xt.currentCulture,xt.currentCulture=new xt("en-US"),r=t.stimulsoft().toNumber(),isNaN(r)&&(r=e),xt.currentCulture=this.currentCulture):r=t.stimulsoft().toNumber()),r}static getFloatArrayValueFromString(t){let e=t;if(De.isNullOrEmpty(e))return null;let r=e.split(";"),i=[];this.currentCulture=xt.currentCulture,xt.currentCulture=new xt("en-US");let n=-1;while(++n<r.length){var a=r[n].stimulsoft().toNumber();if(isNaN(a)){i=null;break}i[n]=a}return xt.currentCulture=this.currentCulture,i}static initializeGauge(e,r,i){if(e.scales.clear(),null!=e.page){let t=e.page.unit;e.clientRectangle=new Tr(e.left,e.top,t.convertFromHInches(r),t.convertFromHInches(i))}}static initializeName(e,r){if(De.isNullOrEmpty(e.name)){var r=Ae.c.StiNameCreation.createSimpleName(r,Ae.c.StiNameCreation.generateName(e));e.name=r;let t=-1;while(++t<e.scales.count){let r=new Dt,i=e.scales.getByIndex(t),n=-1;while(++n<i.items.count){let t=i.items.getByIndex(n);var a=t.stimulsoft().getType();let e=0;r.containsKey(a)&&(e=Ne.trunc(r.get(a))),e++,r.set(a,e)}}}}static checkGaugeName(t){let e=-1;while(++e<t.scales.count){let r=new Dt,i=t.scales.getByIndex(e),n=-1;while(++n<i.items.count){let t=i.items.getByIndex(n);var a=t.stimulsoft().getType();let e=0;r.containsKey(a)&&(e=Ne.trunc(r.get(a))),e++,r.set(a,e)}}}static simpleRadialGauge(t,e){this.initializeGauge(t,250,250);let r=new mP;r.startAngle=0,r.sweepAngle=340,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=100,r.majorInterval=10,r.minorInterval=5,r.brush=new si(Fe.fromArgb(238,238,238));let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.offsetAngle=-2,i.relativeWidth=.05,i.relativeHeight=.02,i.skin=Ae.aE.StiTickMarkSkin.Rectangle,i.brush=new si(Fe.black);let n=new cP;n.placement=Ae.aE.StiPlacement.Overlay,n.relativeWidth=.01,n.relativeHeight=.01,n.skin=Ae.aE.StiTickMarkSkin.Rectangle;var a=new hP;let s=new uP;s.relativeHeight=.06,s.relativeWidth=.45,s.startWidth=.1,s.endWidth=1,s.capBrush=new si(Fe.white),s.capBorderBrush=new si(Fe.fromArgb(244,67,54)),s.capBorderWidth=2,s.brush=new si(Fe.fromArgb(244,67,54)),s.value="60",r.items.add(i),r.items.add(n),r.items.add(a),r.items.add(s),t.scales.add(r),this.initializeName(t,e)}static radialTwoScalesGauge(t,e){this.initializeGauge(t,250,250);let r=new mP;r.startAngle=270,r.sweepAngle=360,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=60,r.radius=.5,r.majorInterval=10,r.minorInterval=1,r.brush=new si(Fe.fromArgb(238,238,238));let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.relativeWidth=.05,i.offsetAngle=-2,i.relativeHeight=.03,i.skin=Ae.aE.StiTickMarkSkin.Rectangle,i.brush=new si(Fe.black);let n=new hP;n.minimumValue=1,n.font=new Ar("Arial",7),r.items.add(i),r.items.add(n),t.scales.add(r);let a=new mP;a.startAngle=270,a.sweepAngle=360,a.startWidth=.05,a.endWidth=.05,a.minimum=0,a.maximum=12,a.radius=.75,a.majorInterval=1,a.minorInterval=0,a.brush=new si(Fe.fromArgb(238,238,238));let s=new dP;s.minimumValue=1,s.placement=Ae.aE.StiPlacement.Overlay,s.offsetAngle=-2,s.relativeHeight=.03,s.relativeWidth=.05,s.skin=Ae.aE.StiTickMarkSkin.Rectangle,s.brush=new si(Fe.black),s.borderBrush=new si(Fe.white),s.borderWidth=3;let o=new hP;o.minimumValue=1;let l=new uP;l.value="2",l.offsetNeedle=.15,l.startWidth=.05,l.endWidth=.5,l.relativeHeight=.12,l.relativeWidth=.6,l.capBrush=new si(Fe.fromArgb(244,67,54)),l.brush=new si(Fe.fromArgb(244,67,54));let u=new uP;u.value="10",u.offsetNeedle=.15,u.startWidth=.05,u.endWidth=.5,u.relativeHeight=.08,u.relativeWidth=.4,u.capBrush=new si(Fe.fromArgb(3,169,244)),u.brush=new si(Fe.fromArgb(3,169,244)),a.items.add(s),a.items.add(o),a.items.add(l),a.items.add(u),t.scales.add(a),this.initializeName(t,e)}static radialBarGauge(t,e){this.initializeGauge(t,250,250);let r=new mP;r.startAngle=120,r.sweepAngle=300,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=180,r.majorInterval=90,r.minorInterval=10,r.brush=new si(Fe.fromArgb(238,238,238));let i=new dP;i.placement=Ae.aE.StiPlacement.Inside,i.offsetAngle=-1,i.relativeWidth=.05,i.relativeHeight=.015,i.skin=Ae.aE.StiTickMarkSkin.Rectangle,i.brush=new si(Fe.black);let n=new cP;n.placement=Ae.aE.StiPlacement.Inside,n.relativeWidth=.03,n.relativeHeight=.005,n.skin=Ae.aE.StiTickMarkSkin.Rectangle,n.brush=new si(Fe.black);let a=new hP;a.placement=Ae.aE.StiPlacement.Inside,a.minimumValue=1,a.offset=.15;let s=new lP;s.startWidth=.1,s.endWidth=.1,s.offset=.1,s.placement=Ae.aE.StiPlacement.Outside,s.brush=new si(Fe.fromArgb(0,150,136)),s.value="90";let o=new uP;o.relativeHeight=.3,o.relativeWidth=.4,o.startWidth=.1,o.endWidth=1,o.capBrush=new ei,o.brush=new ei,o.textBrush=new si(Fe.fromArgb(0,150,136)),o.font=new Ar("Arial",36),o.value="90",r.items.add(i),r.items.add(n),r.items.add(a),r.items.add(s),r.items.add(o),t.scales.add(r),this.initializeName(t,e)}static simpleTwoBarGauge(t,e){this.initializeGauge(t,250,250);let r=new mP;r.minimum=0,r.maximum=180,r.majorInterval=20,r.minorInterval=10,r.startWidth=.05,r.endWidth=.05,r.startAngle=120,r.sweepAngle=300,r.brush=new si(Fe.fromArgb(238,238,238));let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.offsetAngle=-1,i.relativeWidth=.05,i.relativeHeight=.02,i.skin=Ae.aE.StiTickMarkSkin.Rectangle,i.brush=new si(Fe.black),i.borderBrush=new si(Fe.white),i.borderWidth=1;let n=new cP;n.placement=Ae.aE.StiPlacement.Overlay,n.relativeWidth=.01,n.relativeHeight=.01,n.skin=Ae.aE.StiTickMarkSkin.Diamond,n.brush=new si(Fe.black),n.borderBrush=new si(Fe.gray),n.borderWidth=1;let a=new hP;a.placement=Ae.aE.StiPlacement.Inside,a.offset=.15;let s=new lP;s.startWidth=.05,s.endWidth=.05,s.offset=0,s.placement=Ae.aE.StiPlacement.Outside,s.brush=new si(Fe.fromArgb(3,169,244)),s.value="80";let o=new lP;o.startWidth=.05,o.endWidth=.05,o.offset=0,o.placement=Ae.aE.StiPlacement.Inside,o.brush=new si(Fe.fromArgb(255,235,59)),o.value="120";let l=new oP;l.value="100",l.offset=.25,l.relativeHeight=.05,l.relativeWidth=.05,l.skin=Ae.aE.StiMarkerSkin.TriangleRight,l.brush=new si(Fe.fromArgb(76,175,80)),r.items.add(i),r.items.add(n),r.items.add(a),r.items.add(s),r.items.add(o),r.items.add(l),t.scales.add(r),this.initializeName(t,e)}static defaultRadialGauge(t,e){this.initializeGauge(t,250,250);let r=new mP;r.startAngle=0,r.sweepAngle=340,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=100,r.majorInterval=10,r.minorInterval=5;let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.offsetAngle=-2,i.relativeWidth=.06,i.relativeHeight=.03,i.skin=Ae.aE.StiTickMarkSkin.TriangleRight;var n=new hP;let a=new uP;a.relativeHeight=.14,a.relativeWidth=.5,r.items.add(i),r.items.add(n),r.items.add(a),t.scales.add(r),this.initializeName(t,e)}static defaultLinearGauge(t,e){this.initializeGauge(t,120,240);let r=new sP;r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new si(Fe.fromArgb(158,158,158)),r.brush=new si(Fe.fromArgb(238,238,238));let i=new aP;i.borderBrush=new ei,i.borderWidth=0,i.relativeHeight=.005,i.relativeWidth=.05,i.brush=new si(Fe.fromArgb(158,158,158));let n=new nP;n.placement=Ae.aE.StiPlacement.Inside,n.textBrush=new si(Fe.fromArgb(158,158,158));let a=new iP;a.startWidth=.1,a.endWidth=.1,a.brush=new si(Fe.fromArgb(0,150,136)),a.value="65",r.items.add(i),r.items.add(n),r.items.add(a),t.scales.add(r),this.initializeName(t,e)}static linearGaugeRangeList(t,e){this.initializeGauge(t,120,240);let r=new sP;r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new si(Fe.fromArgb(158,158,158)),r.brush=new si(Fe.fromArgb(238,238,238));let i=new WT,n=new qT;n.startValue=0,n.endValue=50,n.brush=new ni(Fe.fromArgb(205,220,57),Fe.fromArgb(139,195,74),90),n.startWidth=.07,n.endWidth=.07;let a=new qT;a.startValue=45,a.endValue=75,a.brush=new ni(Fe.fromArgb(255,193,7),Fe.fromArgb(255,235,59),90),a.startWidth=.07,a.endWidth=.07;let s=new qT;s.startValue=75,s.endValue=100,s.brush=new ni(Fe.fromArgb(255,152,0),Fe.fromArgb(255,152,0),90),s.startWidth=.07,s.endWidth=.07,i.ranges.add(n),i.ranges.add(a),i.ranges.add(s);let o=new nP;o.placement=Ae.aE.StiPlacement.Inside,o.textBrush=new si(Fe.fromArgb(158,158,158));let l=new aP;l.borderBrush=new ei,l.borderWidth=0,l.relativeHeight=.005,l.relativeWidth=.05,l.brush=new si(Fe.fromArgb(158,158,158));let u=new YT;u.placement=Ae.aE.StiPlacement.Overlay,u.relativeWidth=.08,u.relativeHeight=.006,u.borderBrush=new ei;let h=new jT;h.relativeWidth=.18,h.relativeHeight=.04,h.placement=Ae.aE.StiPlacement.Overlay,h.brush=new si(Fe.fromArgb(205,220,57)),r.items.add(i),r.items.add(o),r.items.add(l),r.items.add(u),r.items.add(h),t.scales.add(r),this.initializeName(t,e)}static bulletGraphsGreen(t,e){this.initializeGauge(t,300,100);let r=new sP;r.relativeHeight=.94,r.startWidth=.01,r.endWidth=.01,r.maximum=100,r.majorInterval=20,r.orientation=LC.Horizontal,r.brush=new ei,r.borderBrush=new ei;let i=new WT,n=0,a=0;while(++a<11){let t=new qT;t.startValue=n,n+=10,t.endValue=n,t.startWidth=.5,t.endWidth=.5,t.placement=Ae.aE.StiPlacement.Overlay,t.borderBrush=new si(Fe.fromArgb(150,139,138,135)),1<=a&&a<=3?t.brush=new si(Fe.fromArgb(165,214,167)):4<=a&&a<=7?t.brush=new si(Fe.fromArgb(76,175,80)):t.brush=new si(Fe.fromArgb(46,125,50)),i.ranges.add(t)}let s=new nP;s.offset=.25;let o=new zT;o.placement=Ae.aE.StiPlacement.Overlay,o.relativeWidth=.015,o.relativeHeight=.3,o.brush=new ni(Fe.fromArgb(100,100,100),Fe.fromArgb(10,10,10),90),o.valueObj=80;let l=new iP;l.brush=new si(Fe.black),l.startWidth=.1,l.endWidth=.1,r.items.add(i),r.items.add(s),r.items.add(o),r.items.add(l),t.scales.add(r),this.initializeName(t,e)}static halfDonutsGauge(t,e){this.initializeGauge(t,280,165);let r=new mP;r.startAngle=180,r.sweepAngle=180,r.minimum=0,r.maximum=150,r.radius=.75,r.center=new kr(.5,.8),r.radiusMode=Ae.aE.StiRadiusMode.Width,r.skin=Ae.aE.StiRadialScaleSkin.Empty;let i=new lP;i.borderBrush=new ei,i.borderWidth=0,i.startWidth=.3,i.endWidth=.3,i.emptyBrush=new ni(Fe.fromArgb(221,221,221),Fe.fromArgb(240,240,240),90),i.useRangeColor=!0,i.value="60";let n=new XT;n.value=0,n.brush=new si(Fe.fromArgb(139,195,74));let a=new XT;a.value=50,a.brush=new si(Fe.fromArgb(255,235,59));let s=new XT;s.value=100,s.brush=new si(Fe.fromArgb(244,67,54)),i.rangeList.add(n),i.rangeList.add(a),i.rangeList.add(s);let o=new uP;o.relativeHeight=.05,o.relativeWidth=.4,o.startWidth=.1,o.endWidth=.2,o.capBrush=new si(Fe.white),o.capBorderBrush=new si(Fe.fromArgb(0,150,136)),o.capBorderWidth=2,o.brush=new si(Fe.fromArgb(0,150,136)),o.borderWidth=0,o.textBrush=new si(Fe.fromArgb(0,150,136)),o.value="60",r.items.add(i),r.items.add(o),t.scales.add(r),this.initializeName(t,e)}static halfDonutsGauge2(t,e){this.initializeGauge(t,280,165);let r=new mP;r.startAngle=180,r.sweepAngle=180,r.minimum=0,r.maximum=100,r.radius=.75,r.center=new kr(.5,.8),r.radiusMode=Ae.aE.StiRadiusMode.Width,r.skin=Ae.aE.StiRadialScaleSkin.Empty;let i=new lP;i.borderBrush=new ei,i.startWidth=.3,i.endWidth=.3,i.brush=new si(Fe.fromArgb(79,134,194)),i.emptyBrush=new ni(Fe.fromArgb(221,221,221),Fe.fromArgb(240,240,240),90),i.emptyBorderBrush=new si(Fe.fromArgb(79,134,194)),i.emptyBorderWidth=3,r.items.add(i),t.scales.add(r),this.initializeName(t,e)}static radialGaugeHalfCircleN(t,e){this.initializeGauge(t,260,150);let r=new mP;r.radiusMode=Ae.aE.StiRadiusMode.Width,r.skin=Ae.aE.StiRadialScaleSkin.RadialScaleHalfCircleN,r.startAngle=180,r.sweepAngle=180,r.maximum=100,r.center=new kr(.5,.85),r.radius=.75,r.startWidth=.005,r.endWidth=.005,r.majorInterval=10,r.minorInterval=5,r.brush=new si(Fe.gray);let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.offset=.035,i.relativeWidth=.05,i.relativeHeight=.007,i.brush=new si(Fe.gray),i.borderBrush=new ei;let n=new cP;n.placement=Ae.aE.StiPlacement.Overlay,n.offset=.017,n.relativeWidth=.03,n.relativeHeight=.007,n.brush=new si(Fe.lightGray),n.borderBrush=new ei;let a=new hP;a.labelRotationMode=Ae.aE.StiLabelRotationMode.Automatic,a.textBrush=new si(Fe.black);let s=new uP;s.value="45",s.capBrush=new si(Fe.fromArgb(3,169,244)),s.brush=new si(Fe.fromArgb(3,169,244)),s.startWidth=.1,s.endWidth=.99,s.relativeWidth=.5,s.relativeHeight=.04,r.items.add(i),r.items.add(n),r.items.add(a),r.items.add(s),t.scales.add(r),this.initializeName(t,e)}static radialGaugeHalfCircleS(t,e){this.initializeGauge(t,260,150);let r=new mP;r.radiusMode=Ae.aE.StiRadiusMode.Width,r.skin=Ae.aE.StiRadialScaleSkin.RadialScaleHalfCircleS,r.startAngle=0,r.sweepAngle=180,r.maximum=100,r.center=new kr(.5,.15),r.radius=.75,r.startWidth=.005,r.endWidth=.005,r.majorInterval=10,r.minorInterval=5,r.brush=new si(Fe.gray);let i=new dP;i.placement=Ae.aE.StiPlacement.Overlay,i.offset=.035,i.relativeWidth=.05,i.relativeHeight=.007,i.brush=new si(Fe.gray),i.borderBrush=new ei;let n=new cP;n.placement=Ae.aE.StiPlacement.Overlay,n.offset=.017,n.relativeWidth=.03,n.relativeHeight=.007,n.brush=new si(Fe.lightGray),n.borderBrush=new ei;let a=new hP;a.labelRotationMode=Ae.aE.StiLabelRotationMode.Automatic,a.textBrush=new si(Fe.black);let s=new uP;s.value="45",s.capBrush=new si(Fe.fromArgb(3,169,244)),s.brush=new si(Fe.fromArgb(3,169,244)),s.startWidth=.1,s.endWidth=.99,s.relativeWidth=.5,s.relativeHeight=.04,r.items.add(i),r.items.add(n),r.items.add(a),r.items.add(s),t.scales.add(r),this.initializeName(t,e)}static radialGaugeQuarterCircleNW(t,e){this.radialGaugeQuarterCircle(t,e,Ae.aE.StiRadialScaleSkin.RadialScaleQuarterCircleNW,180,new kr(.9,.9))}static radialGaugeQuarterCircleNE(t,e){this.radialGaugeQuarterCircle(t,e,Ae.aE.StiRadialScaleSkin.RadialScaleQuarterCircleNE,270,new kr(.1,.9))}static radialGaugeQuarterCircleSW(t,e){this.radialGaugeQuarterCircle(t,e,Ae.aE.StiRadialScaleSkin.RadialScaleQuarterCircleSW,90,new kr(.9,.1))}static radialGaugeQuarterCircleSE(t,e){this.radialGaugeQuarterCircle(t,e,Ae.aE.StiRadialScaleSkin.RadialScaleQuarterCircleSE,0,new kr(.1,.1))}static radialGaugeQuarterCircle(t,e,r,i,n){this.initializeGauge(t,250,250);let a=new mP;a.skin=r,a.startAngle=i,a.sweepAngle=90,a.maximum=100,a.center=n,a.radius=1.5,a.startWidth=.005,a.endWidth=.005,a.majorInterval=10,a.minorInterval=5;let s=new dP;s.placement=Ae.aE.StiPlacement.Overlay,s.offset=.045,s.relativeWidth=.03,s.relativeHeight=.004,s.borderBrush=new ei,s.brush=new si(Fe.gray);let o=new cP;o.placement=Ae.aE.StiPlacement.Overlay,o.offset=.04,o.relativeWidth=.02,o.relativeHeight=.004,o.borderBrush=new ei,o.brush=new si(Fe.gray);let l=new hP;l.labelRotationMode=Ae.aE.StiLabelRotationMode.Automatic;let u=new uP;u.value="45",u.capBrush=new si(Fe.fromArgb(244,67,54)),u.brush=new si(Fe.fromArgb(244,67,54)),u.startWidth=.1,u.endWidth=.99,u.relativeWidth=.5,u.relativeHeight=.04,a.items.add(s),a.items.add(o),a.items.add(l),a.items.add(u),t.scales.add(a),this.initializeName(t,e)}static horizontalThermometer(t,e){this.initializeGauge(t,300,50);let r=new sP;r.orientation=LC.Horizontal,r.relativeHeight=.85,r.left=.03,r.startWidth=.17,r.endWidth=.17,r.maximum=80,r.majorInterval=20,r.minorInterval=4;let i=new iP;i.skin=Ae.aE.StiLinearBarSkin.HorizontalThermometer,i.placement=Ae.aE.StiPlacement.Outside,i.startWidth=.2,i.endWidth=.2,i.useRangeColor=!0;let n=new JT;n.value=0,n.brush=new ni(Fe.fromArgb(137,188,41),Fe.fromArgb(111,163,14),90);let a=new JT;a.value=40,a.brush=new ni(Fe.fromArgb(217,173,45),Fe.fromArgb(222,166,0),90);let s=new JT;s.value=65,s.brush=new ni(Fe.fromArgb(208,49,52),Fe.fromArgb(186,6,10),90),i.rangeList.add(n),i.rangeList.add(a),i.rangeList.add(s);let o=new aP;o.placement=Ae.aE.StiPlacement.Overlay,o.brush=new si(Fe.fromArgb(159,159,159)),o.relativeWidth=.01,o.relativeHeight=.18,o.offset=-.1;let l=new YT;l.brush=new si(Fe.fromArgb(159,159,159)),l.relativeWidth=.005,l.relativeHeight=.1,l.offset=-.14;let u=new nP;u.placement=Ae.aE.StiPlacement.Inside,u.offset=.11,u.textBrush=new si(Fe.fromArgb(83,85,86)),u.font=new Ar("Arial",10);let h=new QT;h.left=.02,h.top=.07,h.relativeWidth=.083,h.relativeHeight=.5;let c=new KC;c.startValue=0,c.endValue=40,c.brush=new si(Fe.fromArgb(112,156,28));let d=new KC;d.startValue=40,d.endValue=65,d.brush=new si(Fe.fromArgb(225,174,25));let m=new KC;m.startValue=65,m.endValue=100,m.brush=new si(Fe.fromArgb(194,45,48)),h.filters.add(c),h.filters.add(d),h.filters.add(m),r.items.add(i),r.items.add(o),r.items.add(l),r.items.add(u),r.items.add(h),t.scales.add(r),this.initializeName(t,e)}static verticalThermometer(t,e){this.initializeGauge(t,50,300);let r=new sP;r.orientation=LC.Vertical,r.relativeHeight=.85,r.startWidth=.17,r.endWidth=.17,r.maximum=80,r.majorInterval=20,r.minorInterval=4;let i=new iP;i.skin=Ae.aE.StiLinearBarSkin.VerticalThermometer,i.placement=Ae.aE.StiPlacement.Outside,i.startWidth=.2,i.endWidth=.2,i.useRangeColor=!0;let n=new JT;n.value=0,n.brush=new ni(Fe.fromArgb(137,188,41),Fe.fromArgb(111,163,14),0);let a=new JT;a.value=40,a.brush=new ni(Fe.fromArgb(217,173,45),Fe.fromArgb(222,166,0),0);let s=new JT;s.value=65,s.brush=new ni(Fe.fromArgb(208,49,52),Fe.fromArgb(186,6,10),0),i.rangeList.add(n),i.rangeList.add(a),i.rangeList.add(s);let o=new aP;o.placement=Ae.aE.StiPlacement.Overlay,o.brush=new si(Fe.fromArgb(159,159,159)),o.relativeWidth=.18,o.relativeHeight=.01,o.offset=-.1;let l=new YT;l.brush=new si(Fe.fromArgb(159,159,159)),l.relativeWidth=.1,l.relativeHeight=.005,l.offset=-.14;let u=new nP;u.placement=Ae.aE.StiPlacement.Inside,u.offset=.07,u.textBrush=new si(Fe.fromArgb(83,85,86)),u.font=new Ar("Arial",10);let h=new QT;h.left=.05,h.top=.9,h.relativeWidth=.5,h.relativeHeight=.083;let c=new KC;c.startValue=0,c.endValue=40,c.brush=new si(Fe.fromArgb(112,156,28));let d=new KC;d.startValue=40,d.endValue=65,d.brush=new si(Fe.fromArgb(225,174,25));let m=new KC;m.startValue=65,m.endValue=100,m.brush=new si(Fe.fromArgb(194,45,48)),h.filters.add(c),h.filters.add(d),h.filters.add(m),r.items.add(i),r.items.add(o),r.items.add(l),r.items.add(u),r.items.add(h),t.scales.add(r),this.initializeName(t,e)}static lightSpeedometer(t,e){this.initializeGauge(t,350,350);let r=new mP;r.skin=Ae.aE.StiRadialScaleSkin.Empty,r.radius=.65,r.startAngle=115,r.sweepAngle=310,r.startWidth=.03,r.endWidth=.03,r.brush=new si(Fe.fromArgb(81,84,101)),r.majorInterval=10,r.minorInterval=2,r.maximum=100;let i=new KT,n=new ZT;n.startValue=40,n.endValue=101.2,n.startWidth=.04,n.endWidth=.04,n.placement=Ae.aE.StiPlacement.Inside,n.useValuesFromTheSpecifiedRange=!1,n.brush=new ni(Fe.fromArgb(213,227,118),Fe.fromArgb(118,71,24),90),n.borderBrush=new si(Fe.white),i.ranges.add(n);let a=new dP;a.skipValues="100",a.relativeHeight=.03,a.relativeWidth=.055,a.brush=new si(Fe.fromArgb(81,84,101));let s=new cP;s.offset=.04,s.relativeHeight=.01,s.relativeWidth=.03,s.brush=new si(Fe.fromArgb(81,84,101));let o=new $T;o.valueObj=100,o.offset=-.057,o.relativeWidth=.08,o.relativeHeight=.03,o.brush=new si(Fe.fromArgb(81,84,101));let l=new hP;l.labelRotationMode=Ae.aE.StiLabelRotationMode.None,l.offset=.14,l.textBrush=new si(Fe.black),l.font=new Ar("Arial",13,se.Bold);let u=new uP;u.brush=new si(Fe.fromArgb(250,250,250)),u.borderBrush=new si(Fe.fromArgb(163,163,163)),u.borderWidth=1,u.placement=Ae.aE.StiPlacement.Outside,u.relativeWidth=.63,u.relativeHeight=.14,u.skin=Ae.aE.StiNeedleSkin.SpeedometerNeedle,r.items.add(i),r.items.add(a),r.items.add(s),r.items.add(o),r.items.add(l),r.items.add(u),t.scales.add(r),this.initializeName(t,e)}static darkSpeedometer(t,e){this.initializeGauge(t,350,350);let r=new mP;r.skin=Ae.aE.StiRadialScaleSkin.Empty,r.radius=.65,r.startAngle=115,r.sweepAngle=310,r.startWidth=.03,r.endWidth=.03,r.brush=new si(Fe.fromArgb(81,84,101)),r.majorInterval=10,r.minorInterval=2,r.maximum=200;let i=new KT,n=new ZT;n.startValue=0,n.endValue=60,n.borderWidth=1,n.startWidth=.06,n.endWidth=.06,n.placement=Ae.aE.StiPlacement.Overlay,n.brush=new ni(Fe.fromArgb(101,134,101),Fe.fromArgb(66,228,66),90);let a=new ZT;a.startValue=60,a.endValue=100,a.borderWidth=1,a.startWidth=.06,a.endWidth=.06,a.placement=Ae.aE.StiPlacement.Overlay,a.brush=new ni(Fe.fromArgb(255,255,0),Fe.fromArgb(143,174,126),90);let s=new ZT;s.startValue=100,s.endValue=140,s.borderWidth=1,s.startWidth=.06,s.endWidth=.06,s.placement=Ae.aE.StiPlacement.Overlay,s.brush=new ni(Fe.fromArgb(255,255,0),Fe.fromArgb(156,156,124),90);let o=new ZT;o.startValue=140,o.endValue=200,o.borderWidth=1,o.startWidth=.06,o.endWidth=.06,o.placement=Ae.aE.StiPlacement.Overlay,o.brush=new ni(Fe.fromArgb(125,86,80),Fe.fromArgb(208,45,44),90),i.ranges.add(n),i.ranges.add(a),i.ranges.add(s),i.ranges.add(o);let l=new dP;l.placement=Ae.aE.StiPlacement.Overlay,l.offset=.04,l.offsetAngle=-2,l.relativeWidth=.1,l.relativeHeight=.035,l.skin=Ae.aE.StiTickMarkSkin.TriangleLeft;let u=new cP;u.placement=Ae.aE.StiPlacement.Overlay,u.skipMajorValues=!1,u.relativeWidth=.04,u.relativeHeight=.018,u.skin=Ae.aE.StiTickMarkSkin.Rectangle,u.skipIndices="0;4;8;12;16;20;24;28;32;36;40";let h=new hP;h.labelRotationMode=Ae.aE.StiLabelRotationMode.None,h.offset=.05,h.font=new Ar("Arial",11);let c=new $T;c.placement=Ae.aE.StiPlacement.Inside,c.offset=.3,c.relativeHeight=.05,c.relativeWidth=.05,c.skin=Ae.aE.StiTickMarkSkin.Ellipse;let d=new eP(20);d.brush=new ni(Fe.fromArgb(68,223,68),Fe.fromArgb(0,153,0),90);let m=new eP(97);m.brush=new ni(Fe.fromArgb(255,255,0),Fe.fromArgb(186,169,2),90);let p=new eP(173);p.brush=new ni(Fe.fromArgb(184,29,29),Fe.fromArgb(121,30,30),90),c.values.add(d),c.values.add(m),c.values.add(p);let g=new tP;g.placement=Ae.aE.StiPlacement.Inside,g.labelRotationMode=Ae.aE.StiLabelRotationMode.None,g.font=new Ar("Arial",10),g.values.add(new rP(17,"Safe",.16)),g.values.add(new rP(102,"Caution",.25)),g.values.add(new rP(181,"Danger",.06));let f=new uP;f.borderBrush=new si(Fe.fromArgb(153,9,8)),f.brush=new ni(Fe.fromArgb(255,198,172),Fe.fromArgb(197,25,19),90),f.borderWidth=1,f.placement=Ae.aE.StiPlacement.Outside,f.relativeWidth=.57,f.relativeHeight=.17,f.skin=Ae.aE.StiNeedleSkin.SpeedometerNeedle2,r.items.add(i),r.items.add(l),r.items.add(u),r.items.add(h),r.items.add(c),r.items.add(g),r.items.add(f),t.scales.add(r),this.initializeName(t,e)}};yt.globalDurationElement=lt.fromMilliseconds(1800),yt.globalBeginTimeElement=lt.fromMilliseconds(300),Ae.aJ.StiGaugeHelper=yt;let pP=Ae.aJ.StiGaugeHelper;{let t=class extends k{constructor(){super(...arguments),this._valueObj=0,this._textObj=null,this.values=new _T,this._getValueEvent=new Lo,this._getTextEvent=new HT,this._value="",this._text=""}meta(){return this._hash||(this._hash=[...super.meta(),new In("Ident").get(()=>this.stimulsoft().getType().stimulsoft().getTypeName()),new Ua("GetValueEvent",Lo),new Ua("GetTextEvent",HT),new Ga("Value"),new Ga("Text"),new Ma("Values")])}get componentId(){return Ae.c.StiComponentId.StiLinearTickLabelCustom}clone(){let t=super.clone();null!=this.value?t.value=this.value:t.value=null,null!=this.text?t.text=this.text:t.text=null,t.values=new _T;for(var e of this.values.list)t.values.add(e.clone());return t}get valueObj(){return this._valueObj}set valueObj(t){this._valueObj=t}get textObj(){return this._textObj}set textObj(t){this._textObj=t}get localizeName(){return"LinearTickLabelCustom"}onGetValue(t){}invokeGetValue(t,e){try{var r;this.onGetValue(e),t.scale.gauge.report.calculationMode==Ae.c.StiCalculationMode.Interpretation&&(r=wd.parseTextValue(this.value,t.scale.gauge),e.value=t.scale.gauge.report.toString2(r))}catch(t){var r=De.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),r),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getValueEvent(){return this._getValueEvent}set getValueEvent(t){this.getValueEvent=t}onGetText(t){}invokeGetText(t,e){try{this.onGetText(e)}catch(t){var e=De.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);Ae.c.StiLogService.write(this.stimulsoft().getType(),e),Ae.c.StiLogService.write(this.stimulsoft().getType(),t)}}get getTextEvent(){return this._getTextEvent}set getTextEvent(t){this._getTextEvent=t}get value(){return this._value}set value(t){this._value=t}get text(){return this._text}set text(t){this._text=t}createNew(){return new t}prepareGaugeElement(){super.prepareGaugeElement();var t=new Oo;this.invokeGetValue(this,t),this.valueObj=pP.getFloatValueFromObject2(t.value,0);var t=new OT;this.invokeGetText(this,t),this.textObj=t.value}drawElement(t){let e=this.scale;if(null==e||De.isNullOrEmpty(this.textObj))return;var r=e.barGeometry.size,i=e.barGeometry.rectGeometry;let n,a,s;var o=this.scale.barGeometry.getRestToLenght(),l=e.orientation==LC.Horizontal?r.height:r.width;l*=this.offset;var u=this.scale.scaleHelper.actualMinimum,h=this.scale.scaleHelper.actualMaximum,c=this.textFormat,d=this.skipValuesObj,m=this.skipIndicesObj,p;let g=this.values;null!=g&&0!=g.count||(g=new _T,g.add(new Ae.bd.StiLinearTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.placement)));let f=-1;for(p of g.toCast()){if(f++,p.value<u)continue;if(p.value>h)continue;if(this.checkTickValue(d,m,p.value,f))continue;if(null!=this.minimumValue&&p.value<this.minimumValue)continue;if(null!=this.maximumValue&&p.value>this.maximumValue)continue;var S=l*this.getOffset(p.offset),b=e.getPosition(p.value),y=this.getTextForRender2(p.text,c),v=hv.changeFontSize(this.font,t.zoom),w=t.measureString(y,v),C,b;s=e.orientation==LC.Horizontal?(n=e.isReversed?i.width-i.width*b:i.width*b,this.getPlacement(p.placement)==HC.Overlay?(a=i.left+n-w.width/2,MC.centerY(i)-w.height/2-S):(C=e.startWidth<e.endWidth?(1-b)*o:o*b,this.getPlacement(p.placement)==HC.Outside?(a=i.left+n-w.width/2,i.top-w.height-S+C):(a=i.left+n-w.width/2,i.bottom+S-C))):(n=e.isReversed?i.height*b:i.height-i.height*b,a=this.getPlacement(p.placement)==HC.Overlay?MC.centerX(i)-w.width/2:(b=e.startWidth<e.endWidth?(1-b)*o:o*b,this.getPlacement(p.placement)==HC.Outside?i.left-w.width-3-S+b:i.right+3+S-b),i.top+n-w.height/2),t.addTextGaugeGeom(y,v,this.textBrush,new Tr(a,s,w.width,w.height),null)}}};Ae.bd.StiLinearTickLabelCustom=t}{let r=class extends J{constructor(t){super(),this.scaleType=t.scaleType,this.scale=t}saveToJsonObject(t){if(0==this.list.length)return null;let e=new te,r=0;for(var i of this.list)e.addPropertyJObject(r.toString(),i.saveToJsonObject(t)),r++;return e}loadFromJsonObject(t){for(var n of t.properties()){let t=n.value,e=t.properties().firstOrDefault(t=>"Ident"==t.name).value.toString(),r=Hd.Services.gaugeElements.firstOrDefault(t=>t.stimulsoft().getType().stimulsoft().getTypeName()==e);if(null==r)throw De.format("Type {0} is not found!",e);let i=r.createNew();i.scale=r.scale,this.add(i),i.loadFromJsonObject(n.value)}}loadFromXml(e,t){for(let t=0;t<e.childNodes.length;t++){let r=e.childNodes[t];if(null==r.attributes)continue;var i;if(null!=r.attributes.getNamedItem("type")){let t=r.attributes.getNamedItem("type").value;var n=t.split(".").pop();let e=new Ae.bd[n];this.add(e),e.loadFromXml(r)}}}clone(){let t=new r(this.scale);for(var e of this.list)t.add(e.clone());return t}get isReadOnly(){return!1}setByIndex(t,e){e.scale=this.scale,this.setItemInternal(t,e)}toArray(){let t=[];for(var e of this.list)t.push(e);return t}addCore(t){t.elementType!=this.scaleType&&t.elementType!=Ae.aE.StiGaugeElemenType.All||(t.scale=this.scale,this.list.push(t))}add(t){t.elementType!=this.scaleType&&t.elementType!=Ae.aE.StiGaugeElemenType.All||(t.scale=this.scale,this.list.push(t))}addRange(t){for(var e of t)this.addCore(e)}insert(t,e){if(null==e)throw new Error("item");if(t<0||t>this.list.length)throw new Error("InvalidArgument");this.addCore(e)}remove(t){var e=this.list.indexOf(t);if(-1!=e)return t.scale=null,this.removeAt(e),!0;return!1}copyTo(t,e){this.list.stimulsoft().copyTo(t,e)}setItemInternal(t,e){if(null==e)throw new Error("value");if(t<0||t>=this.list.length)throw new Error("InvalidArgument");e.elementType!=this.scaleType&&e.elementType!=Ae.aE.StiGaugeElemenType.All||(e.scale=this.scale,this.list[t]=e)}moveUp(t){var e=this.list.indexOf(t);if(0<e)return this.list.stimulsoft().removeAt(e),e--,this.list.stimulsoft().insert(e,t),!0;return!1}moveDown(t){let e=this.list.indexOf(t);if(-1!=e&&1<this.list.length&&e<this.list.length-1)return this.list.stimulsoft().removeAt(e),e++,this.list.stimulsoft().insert(e,t),!0;return!1}};Ae.aK.StiGaugeElementCollection=r}Ae.aM.StiGetValueEvent=class extends L{toString(){return"GetValue"}},Ae.aM.StiGetValueEventHandler=new Ha("sender: any, e: StiGetValueEventArgs"),Ae.aM.StiGetValueEventArgs=class extends Un{get value(){return this._value}set value(t){this._value=t}};var L=class{static getRoundedPath(t,e,r,i,n,a){}static getArcGeometry(t,e,r,i,n){}static getRadialRangeGeometry(t,e,r,i,n,a,s){}static round(t){var e=Ne.trunc(t),r;return 0<t-e?e+1:e}static convertArcToCubicBezier(t,e,r,i){var n=r*this.PiDiv180,a=i*this.PiDiv180,s=n+a,o=t.x+e*Math.cos(n),l=t.y+e*Math.sin(n),u=t.x+e*Math.cos(s),h=t.y+e*Math.sin(s),c=e*this.FourDivThree*Math.tan(.25*a),r=Math.atan(c/e),i=e/Math.cos(r);r+=n;var a=t.x+i*Math.cos(r),n=t.y+i*Math.sin(r),r=Math.atan(-c/e);r+=s;var s=t.x+i*Math.cos(r),r=t.y+i*Math.sin(r);let d=[];return d.push(new kr(o,l)),d.push(new kr(a,n)),d.push(new kr(s,r)),d.push(new kr(u,h)),d}static convertArcToCubicBezier2(t,e,r,i,n){var a=i*this.PiDiv180,s=n*this.PiDiv180,o=a+s,l=t.x+e*Math.cos(a),u=t.y+e*Math.sin(a),h=t.x+r*Math.cos(o),c=t.y+r*Math.sin(o),i=(e-r)/3;r+=i;var n=(e-=i)*this.FourDivThree*Math.tan(.25*s),r=Math.atan(n/e),i=e/Math.cos(r);r+=a;var s=t.x+i*Math.cos(r),a=t.y+i*Math.sin(r),r=Math.atan(-n/e);r+=o;var o=t.x+i*Math.cos(r),r=t.y+i*Math.sin(r);let d=[];return d.push(new kr(l,u)),d.push(new kr(s,a)),d.push(new kr(o,r)),d.push(new kr(h,c)),d}};L.PiDiv180=Math.PI/180,L.FourDivThree=4/3,Ae.aJ.StiDrawingHelper=L;let gP=Ae.bn.Point;{let t=class{static isGaugeV2(t){if(t.mode==Ae.aE.StiScaleMode.V1)return!1;if(1!=t.scales.count)return!1;var e=t.scales.list[0];switch(t.type){case Ae.aE.StiGaugeType.FullCircular:return this.isFullCircularScale(e);case Ae.aE.StiGaugeType.HalfCircular:return this.isHalfCircularScale(e);case Ae.aE.StiGaugeType.Linear:case Ae.aE.StiGaugeType.HorizontalLinear:return this.isLinearScale(e);case Ae.aE.StiGaugeType.Bullet:return this.isBulletScale(e)}return!1}static init(t,e,r=!1){let i=null,n=null;0<t.scales.count&&(n=t.scales.getByIndex(0).items.toList().firstOrDefault(t=>null==t?void 0:t.is(BT)),null!=n&&null!=n.value&&(i=n.value));let a=null;switch(e){case Ae.aE.StiGaugeType.FullCircular:a=this.createFullCircularScale(r);break;case Ae.aE.StiGaugeType.HalfCircular:a=this.createHalfCircularScale(r);break;case Ae.aE.StiGaugeType.Linear:a=this.createLinearScale(r,!1);break;case Ae.aE.StiGaugeType.HorizontalLinear:a=this.createLinearScale(r,!0);break;case Ae.aE.StiGaugeType.Bullet:a=this.createBullet(t,r);break}De.isNullOrEmpty(i)||(n=a.items.toList().firstOrDefault(t=>null==t?void 0:t.is(BT)),n.value=i),t.scales.clear(),t.scales.add(a)}static prepare(i){if(t.isGaugeV2(i)){let t=i.scales.list[0],r=t.items.toList().firstOrDefault(t=>t.is(BT));{var n=new Ae.an.StiGetValueEventArgs;r.invokeGetValue(r,n);let e=Ae.aJ.StiGaugeHelper.getFloatValueFromObject(n.value,t);t.items.toList().where(t=>t.stimulsoft().is(BT)).cast().forEach(t=>t.valueObj=e),i.calculationMode==Ae.aE.StiGaugeCalculationMode.Auto?0==e?(t.minimum=0,t.maximum=100):(t.minimum=e-Math.abs(e),t.maximum=e+Math.abs(e)):(t.minimum=i.minimum,t.maximum=i.maximum);var i=t.maximum-t.minimum;t.majorInterval=Math.abs(Math.round(i/10)),t.minorInterval=Math.abs(t.majorInterval/2),t.calculateMinMaxScaleHelper(),t.calculateWidthScaleHelper()}}}static isFullCircularScale(t){if(!t.is(mP))return!1;if(t.items.count<3)return!1;return!0}static createFullCircularScale(t){let r=new mP;if(r.startAngle=120,r.sweepAngle=300,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=180,r.majorInterval=90,r.minorInterval=10,r.brush=new si(Fe.fromArgb(238,238,238)),!t){let t=new dP;t.placement=Ae.aE.StiPlacement.Inside,t.relativeWidth=.05,t.relativeHeight=.015,t.skin=Ae.aE.StiTickMarkSkin.Rectangle,t.brush=new si(Fe.black),r.items.add(t);let e=new hP;e.offset=.1,e.placement=Ae.aE.StiPlacement.Inside,r.items.add(e)}let e=new uP;e.relativeHeight=.3,e.relativeWidth=.4,e.startWidth=.1,e.endWidth=1,e.capBrush=new ei,e.brush=new ei,e.textBrush=new si(Fe.fromArgb(0,150,136)),e.valueObj=135,r.items.add(e);let i=new lP;return i.startWidth=.1,i.endWidth=.1,i.offset=.1,i.valueObj=135,i.placement=Ae.aE.StiPlacement.Outside,i.brush=new si(Fe.red),r.items.add(i),r}static isHalfCircularScale(t){if(!t.is(mP))return!1;if(2!=t.items.count)return!1;if(!t.items.list[0].is(uP))return!1;if(!t.items.list[1].is(lP))return!1;var t=t.items.list[1].as(lP);if(null!=t&&0!=t.rangeList.count)return!1;return!0}static createHalfCircularScale(t){let e=new mP;e.startAngle=180,e.sweepAngle=180,e.startWidth=.05,e.endWidth=.05,e.minimum=0,e.maximum=180,e.radius=.8,e.majorInterval=90,e.minorInterval=10,e.center=new gP(.5,.7),e.radiusMode=Ae.aE.StiRadiusMode.Auto,e.brush=new si(Fe.fromArgb(238,238,238));let r=new uP;r.relativeHeight=.05,r.relativeWidth=.4,r.startWidth=.1,r.endWidth=.2,r.capBrush=new si(Fe.white),r.capBorderBrush=new si(Fe.fromArgb(0,150,136)),r.capBorderWidth=2,r.brush=new si(Fe.fromArgb(0,150,136)),r.borderWidth=0,r.textBrush=new si(Fe.fromArgb(0,150,136)),r.valueObj=135,e.items.add(r);let i=new lP;return i.startWidth=.05,i.endWidth=.05,i.offset=.1,i.valueObj=135,i.placement=Ae.aE.StiPlacement.Overlay,i.brush=new si(Fe.red),e.items.add(i),e}static isLinearScale(t){if(!t.is(sP))return!1;if(3!=t.items.count)return!1;if(!t.items.list[0].is(nP))return!1;if(!t.items.list[1].is(aP))return!1;if(!t.items.list[2].is(jT))return!1;return!0}static createLinearScale(t,e){let r=new sP;if(r.orientation=e?LC.Horizontal:LC.Vertical,r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new ei,r.brush=new ei,!t){let t=new nP;t.placement=Ae.aE.StiPlacement.Inside,t.font=new Ar("Arial",8),t.textBrush=new si(Fe.fromArgb(158,158,158)),r.items.add(t);let e=new aP;e.borderBrush=new ei,e.borderWidth=0,e.relativeHeight=.005,e.relativeWidth=.05,e.brush=new si(Fe.fromArgb(158,158,158)),r.items.add(e)}let i=new jT;return i.relativeWidth=.1,i.relativeHeight=.04,i.placement=Ae.aE.StiPlacement.Overlay,i.brush=new si(Fe.fromArgb(205,220,57)),i.valueObj=85,r.items.add(i),t&&(i.relativeWidth=.07,i.relativeHeight=.08),r}static isBulletScale(t){if(!t.is(sP))return!1;if(3!=t.items.count)return!1;if(!t.items.list[0].is(WT))return!1;if(!t.items.list[1].is(nP))return!1;if(!t.items.list[2].is(iP))return!1;return!0}static createBullet(e,t){let r=new sP;if(r.orientation=LC.Horizontal,r.relativeHeight=.85,r.startWidth=.01,r.endWidth=.01,r.maximum=100,r.borderBrush=new ei,r.brush=new ei,this.addLinearRanges(0,100,r),!t){let t=new nP;t.formatService=e.valueFormat,t.placement=Ae.aE.StiPlacement.Outside,t.offset=.25,r.items.add(t)}let i=new iP;return i.startWidth=.15,i.endWidth=.15,i.brush=new si(Fe.fromArgb(205,220,57)),i.valueObj=85,i.value="85",r.items.add(i),r}static addLinearRanges(t,e,r){let i=new WT,n=new qT;n.placement=Ae.aE.StiPlacement.Overlay,n.startValue=t+0*(e-t),n.endValue=t+.3*(e-t),n.startWidth=.3,n.endWidth=.3,n.borderBrush=new ei,n.brush=new si(Fe.red),i.ranges.add(n);let a=new qT;a.placement=Ae.aE.StiPlacement.Overlay,a.startValue=t+.3*(e-t),a.endValue=t+.65*(e-t),a.startWidth=.3,a.endWidth=.3,a.borderBrush=new ei,a.brush=new si(Fe.yellow),i.ranges.add(a);let s=new qT;s.placement=Ae.aE.StiPlacement.Overlay,s.startValue=t+.65*(e-t),s.endValue=t+1*(e-t),s.startWidth=.3,s.endWidth=.3,s.borderBrush=new ei,s.brush=new si(Fe.green),i.ranges.add(s),r.items.add(i)}};Ae.aJ.StiGaugeInitHelper=t}Ae.aN.IStiScaleBarGeometry=new Ae.b.Interface("IStiScaleBarGeometry"),Ae.aN.IStiTickCustom=new Ae.b.Interface("IStiTickCustom"),Ae.aE.StiGaugeStyleCoreXF24=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#ffffff")),this.foreColor=kC.getForeColor2(lS.Orange),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#ffc000"),this.tickMarkMajorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#888888")),this.linearScaleBrush=new si(re.fromHtml("#ed7d31")),this.linearBarBrush=new si(re.fromHtml("#ed7d31")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#ed7d31")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#e6e6e6")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#ed7d31")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#ed7d31")),this.needleCapBorderBrush=new si(re.fromHtml("#ed7d31")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"24"}},Ae.aE.StiGaugeStyleCoreXF26=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#ffffff")),this.foreColor=kC.getForeColor2(lS.Turquoise),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#b5a1dd"),this.tickMarkMajorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#888888")),this.linearScaleBrush=new si(re.fromHtml("#2ec6c8")),this.linearBarBrush=new si(re.fromHtml("#2ec6c8")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#2ec6c8")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#e6e6e6")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#2ec6c8")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#2ec6c8")),this.needleCapBorderBrush=new si(re.fromHtml("#2ec6c8")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"26"}},Ae.aE.StiGaugeStyleCoreXF27=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#FF33475B")),this.foreColor=kC.getForeColor2(lS.SlateGray),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#ec334d"),this.tickMarkMajorBrush=new ei,this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new ei,this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#ec334d")),this.linearScaleBrush=new si(re.fromHtml("#0bac45")),this.linearBarBrush=new si(re.fromHtml("#0bac45")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#0bac45")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#3b4d5f")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#ec334d")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#ffffff")),this.needleCapBorderBrush=new si(re.fromHtml("#ec334d")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"27"}},Ae.aE.StiGaugeStyleCoreXF28=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#0a325a")),this.foreColor=kC.getForeColor2(lS.DarkBlue),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#577eb6"),this.tickMarkMajorBrush=new ei,this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new ei,this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#dddddd")),this.linearScaleBrush=new si(re.fromHtml("#165d9e")),this.linearBarBrush=new si(re.fromHtml("#1f4265")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#165d9e")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#1f4265")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#dddddd")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#dddddd")),this.needleCapBorderBrush=new si(re.fromHtml("#dddddd")),this.needleBorderWidth=0,this.needleCapBorderWidth=0,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"28"}},Ae.aE.StiGaugeStyleCoreXF29=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#ffffff")),this.foreColor=kC.getForeColor2(lS.Blue),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#ef717a"),this.tickMarkMajorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new si(re.fromHtml("#8c8c8c")),this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#8c8c8c")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#888")),this.linearMarkerBorder=new si(re.fromHtml("#888")),this.linearScaleBrush=new si(re.fromHtml("#3498db")),this.linearBarBrush=new si(re.fromHtml("#3498db")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#3498db")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#e7ebec")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#3498db")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#3498db")),this.needleCapBorderBrush=new si(re.fromHtml("#3498db")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"29"}};var L=Ae.aE.StiGaugeStyleCoreXF;Ae.aE.StiGaugeStyleCoreXF30=class extends L{constructor(){super(...arguments),this.brush=new si(re.fromHtml("#595b65")),this.foreColor=kC.getForeColor2(lS.DarkGray),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#d3d3d5"),this.tickMarkMajorBrush=new si(re.fromHtml("#ffffff")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new ei,this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(re.fromHtml("#ffffff")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(re.fromHtml("#d3d3d5")),this.linearMarkerBorder=new si(re.fromHtml("#d3d3d5")),this.linearScaleBrush=new si(re.fromHtml("#db7b46")),this.linearBarBrush=new si(re.fromHtml("#db7b46")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(re.fromHtml("#db7b46")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(re.fromHtml("#6b6e75")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(re.fromHtml("#d3d3d5")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(re.fromHtml("#ffffff")),this.needleCapBorderBrush=new si(re.fromHtml("#d3d3d5")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"30"}};var L=Ae.aE.StiGaugeStyleCoreXF30,fP,L;Ae.aE.StiGaugeStyleCoreXF31=class extends L{constructor(){super(...arguments),this.brush=new si(qr.get("#235e6d")),this.targetColor=re.fromHtml("#fefef9"),this.foreColor=kC.getForeColor2(lS.DarkTurquoise),this.markerBrush=new si(qr.get("#f2ffff")),this.linearMarkerBorder=new si(qr.get("#f2ffff")),this.linearScaleBrush=new si(qr.get("#f0621e")),this.linearBarBrush=new si(qr.get("#f0621e")),this.radialBarBrush=new si(qr.get("#f0621e")),this.radialBarEmptyBrush=new si(qr.get("#1c445b"))}get localizedName(){return ne.get("Chart","Style")+"31"}},Ae.aE.StiGaugeStyleCoreXF32=class extends L{constructor(){super(...arguments),this.brush=new si(qr.get("#6d7e8b")),this.targetColor=re.fromHtml("#90a1ab"),this.foreColor=kC.getForeColor2(lS.Silver),this.markerBrush=new si(qr.get("#d41c2a")),this.linearMarkerBorder=new si(qr.get("#d41c2a")),this.needleBrush=new si(qr.get("d41c2a")),this.needleBorderBrush=new si(qr.get("d41c2a")),this.needleCapBrush=new si(qr.get("d41c2a")),this.needleCapBorderBrush=new si(qr.get("d3d3d5")),this.needleCapBorderWidth=0,this.linearScaleBrush=new si(qr.get("#e9f4fc")),this.linearBarBrush=new si(qr.get("#3a5263")),this.radialBarBrush=new si(qr.get("#e9f4fc")),this.radialBarEmptyBrush=new si(qr.get("#3a5263"))}get localizedName(){return ne.get("Chart","Style")+"32"}},Ae.aE.StiGaugeStyleCoreXF33=class extends L{constructor(){super(...arguments),this.brush=new si(qr.get("#f2f5fc")),this.targetColor=re.fromHtml("#e47334"),this.foreColor=kC.getForeColor2(lS.AliceBlue),this.tickLabelMajorTextBrush=new si(qr.get("#3a3a3a")),this.tickLabelMajorFont=new Ar("Arial",8),this.tickLabelMinorTextBrush=new si(qr.get("#3a3a3a")),this.tickLabelMinorFont=new Ar("Arial",7),this.markerBrush=new si(qr.get("#d41c2a")),this.linearMarkerBorder=new si(Fe.transparent),this.needleBrush=new si(qr.get("d41c2a")),this.needleBorderBrush=new si(qr.get("d41c2a")),this.needleCapBrush=new si(qr.get("d41c2a")),this.needleCapBorderBrush=new si(qr.get("d3d3d5")),this.needleCapBorderWidth=0,this.linearScaleBrush=new si(qr.get("#ccd5f0")),this.linearBarBrush=new si(qr.get("#5d6b99")),this.radialBarBrush=new si(qr.get("#ccd5f0")),this.radialBarEmptyBrush=new si(qr.get("#5d6b99"))}get localizedName(){return ne.get("Chart","Style")+"33"}},Ae.aE.StiGaugeStyleCoreXF34=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(qr.get("#3f745e")),this.borderColor=Fe.transparent,this.borderWidth=1,this.targetColor=re.fromHtml("#ecb92f"),this.foreColor=kC.getForeColor2(lS.DarkGray),this.tickMarkMajorBrush=new ei,this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new ei,this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(qr.get("#f1f5f1")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(qr.get("#f1f5f1")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(qr.get("#e3ba41")),this.linearMarkerBorder=new si(qr.get("#e3ba41")),this.linearScaleBrush=new si(qr.get("#edf2f2")),this.linearBarBrush=new si(qr.get("#edf2f2")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(qr.get("#8ab9bb")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(qr.get("#264945")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(qr.get("e3ba41")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(qr.get("e3ba41")),this.needleCapBorderBrush=new si(qr.get("e3ba41")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"34"}},Ae.aE.StiGaugeStyleCoreXF35=class extends Ae.aE.StiGaugeStyleCoreXF{constructor(){super(...arguments),this.brush=new si(qr.get("#fefefe")),this.borderColor=Fe.transparent,this.foreColor=kC.getForeColor2(lS.Sienna),this.borderWidth=1,this.targetColor=qr.get("#5c4942"),this.tickMarkMajorBrush=new si(qr.get("#5c4942")),this.tickMarkMajorBorder=new ei,this.tickMarkMinorBrush=new ei,this.tickMarkMinorBorder=new ei,this.tickLabelMajorTextBrush=new si(qr.get("#5c4942")),this.tickLabelMajorFont=new Ar("Arial",10),this.tickLabelMinorTextBrush=new si(qr.get("#5c4942")),this.tickLabelMinorFont=new Ar("Arial",9),this.markerBrush=new si(qr.get("#5c4942")),this.linearMarkerBorder=new si(qr.get("#5c4942")),this.linearScaleBrush=new si(qr.get("#e5ddd0")),this.linearBarBrush=new si(qr.get("#5c4942")),this.linearBarBorderBrush=new ei,this.linearBarEmptyBrush=new ei,this.linearBarEmptyBorderBrush=new ei,this.linearBarStartWidth=.1,this.linearBarEndWidth=.1,this.radialBarBrush=new si(qr.get("#8e693d")),this.radialBarBorderBrush=new ei,this.radialBarEmptyBrush=new si(qr.get("#e5ddd0")),this.radialBarEmptyBorderBrush=new ei,this.radialBarStartWidth=.1,this.radialBarEndWidth=.1,this.needleBrush=new si(qr.get("#5c4942")),this.needleBorderBrush=new ei,this.needleCapBrush=new si(qr.get("#5c4942")),this.needleCapBorderBrush=new si(qr.get("#5c4942")),this.needleBorderWidth=0,this.needleCapBorderWidth=2,this.needleStartWidth=.1,this.needleEndWidth=1,this.needleRelativeHeight=.06,this.needleRelativeWith=.45}get localizedName(){return ne.get("Chart","Style")+"35"}};{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Orange,this.core=new Ae.aE.StiGaugeStyleCoreXF24}get dashboardName(){return ne.get("PropertyColor","Orange")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF24=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Green,this.core=new Ae.aE.StiGaugeStyleCoreXF25}get dashboardName(){return ne.get("PropertyColor","Green")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF25=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkBlue,this.core=new Ae.aE.StiGaugeStyleCoreXF28}get dashboardName(){return ne.get("PropertyColor","DarkBlue")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF28=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Blue,this.core=new Ae.aE.StiGaugeStyleCoreXF29}get dashboardName(){return ne.get("PropertyColor","Blue")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF29=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkGray,this.core=new Ae.aE.StiGaugeStyleCoreXF30}get dashboardName(){return ne.get("PropertyColor","DarkGray")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF30=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkTurquoise,this.core=new Ae.aE.StiGaugeStyleCoreXF31}get dashboardName(){return ne.get("PropertyColor","DarkTurquoise")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF31=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Silver,this.core=new Ae.aE.StiGaugeStyleCoreXF32}get dashboardName(){return ne.get("PropertyColor","Silver")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF32=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.AliceBlue,this.core=new Ae.aE.StiGaugeStyleCoreXF33}get dashboardName(){return ne.get("PropertyColor","AliceBlue")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF33=t}{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.DarkGreen,this.core=new Ae.aE.StiGaugeStyleCoreXF34}get dashboardName(){return ne.get("PropertyColor","DarkGreen")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF34=t}let SP=Ae.aE.StiGaugeStyleCoreXF35;{let t=class extends Ae.aE.StiGaugeStyleXF{constructor(){super(),this.allowDashboard=!0,this.styleIdent=lS.Sienna,this.core=new SP}get dashboardName(){return ne.get("PropertyColor","Sienna")}createNew(){return new t}};Ae.aE.StiGaugeStyleXF35=t}(L=fP=Ae.h.EscapeMode||(Ae.h.EscapeMode={}))[L["None"]=0]="None",L[L["Break"]=1]="Break",L[L["Continue"]=2]="Continue",Ae.h.ListExt=class extends Ee{static evaluate(t,e,r){let i=t.firstOrDefault(t=>t.name==e);if(null==i)throw new Error("value "+e+" not found");return i.evaluate(r)}static get(t,e){var t=t.firstOrDefault(t=>t.name==e);if(null==t)throw new Error("field "+e+" not found");return t.value}static get2(t,e){var t=t.firstOrDefault(t=>t.name==e);if(null==t)throw new Error("statement "+e+" not found");return t}static getValue(t,e,r="mutation"){var t=t.firstOrDefault(t=>t.domain==r&&t.name==e);if(null==t)return null;return t.value}static average(t){var e;return t.sum()/t.length}};let bP=Ae.b.IAsIs;Ae.h.IronBlock=class{constructor(){this.fields=new Ee,this.values=new Ee,this.statements=new Ee,this.mutations=new Ee}implements(){return[Ae.h.IFragment,bP]}is(t){if(t instanceof Ae.b.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1}is2(t){return this.is(t)}as(t){if(this.is(t))return this;return null}evaluate(t){if(null!=this.next&&t.escapeMode==Ae.h.EscapeMode.None)return this.next.evaluate(t);return null}};var L=Ae.h.IronBlock;{let i=Ae.h.ListExt;Ae.t.MathRandomInt=class extends L{evaluate(t){var e=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"FROM",t)),r=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"TO",t)),t=Math.floor(Math.min(e,r)),r=Math.floor(Math.max(e,r));return Math.floor(Math.random()*(r-t)+t)}}}Ae.h.Field=class{},Ae.h.Mutation=class{constructor(t,e,r){this.domain=t,this.name=e,this.value=r}},Ae.h.Value=class{implements(){return[Ae.h.IFragment]}evaluate(t){if(null==this.block)return null;return this.block.evaluate(t)}};{let r=Ae.h.ListExt;Ae.u.TextPrint=class extends L{evaluate(t){var e=r.evaluate(this.values,"TEXT",t).stimulsoft().toString();return alert(e),super.evaluate(t)}}}{let e=Ae.h.ListExt;Ae.u.TextBlock=class extends L{evaluate(t){return e.get(this.fields,"TEXT")}}}{let a=Ae.h.ListExt;Ae.u.TextAppend=class extends L{evaluate(t){var e;let r=t.variables;var i=a.get(this.fields,"VAR"),n=null!==(e=a.evaluate(this.values,"TEXT",t).stimulsoft().toString())&&void 0!==e?e:"";r.containsKey(i)||r.add(i,"");var e=r.get(i).toString();return r.set(i,e+n),super.evaluate(t)}}}{let a=Ae.h.ListExt;Ae.u.TextIndexOf=class extends L{evaluate(t){var e,t,r=a.get(this.fields,"END");let i=null!==(e=a.evaluate(this.values,"VALUE",t).stimulsoft().toString())&&void 0!==e?e:"";var n=null!==(t=a.evaluate(this.values,"FIND",t).stimulsoft().toString())&&void 0!==t?t:"";switch(r){case"FIRST":return Ae.f.StiObjConverter.toDouble(i.indexOf(n))+1;case"LAST":return Ae.f.StiObjConverter.toDouble(i.lastIndexOf(n))+1;default:throw new Error("unknown mode")}}}}{let i=Ae.h.ListExt;Ae.u.TextCaseChange=class extends L{evaluate(t){var t,e=i.get(this.fields,"CASE");let r=null!==(t=i.evaluate(this.values,"TEXT",t).stimulsoft().toString())&&void 0!==t?t:"";switch(e){case"UPPERCASE":return r.toUpperCase();case"LOWERCASE":return r.toLowerCase();case"TITLECASE":return xt.InvariantCulture.textInfo.toTitleCase(r.toLowerCase());default:throw new Error("unknown case")}}}}{let i=Ae.h.ListExt;Ae.u.TextTrim=class extends L{evaluate(t){var t,e=i.get(this.fields,"MODE");let r=null!==(t=i.evaluate(this.values,"TEXT",t).stimulsoft().toString())&&void 0!==t?t:"";switch(e){case"BOTH":return r.trim();case"LEFT":return r.stimulsoft().trimStart();case"RIGHT":return r.stimulsoft().trimEnd();default:throw new Error("unknown mode")}}}}{let r=Ae.h.ListExt;Ae.u.TextLength=class extends L{evaluate(t){var t,e;return(null!==(t=r.evaluate(this.values,"VALUE",t).stimulsoft().toString())&&void 0!==t?t:"").length}}}{let n=Ae.h.ListExt;Ae.u.TextJoin=class extends L{evaluate(t){var r=Number.parseInt(n.getValue(this.mutations,"items"));let i="";for(let e=0;e<r;e++){if(!this.values.any(t=>t.name=="ADD"+e))continue;i+=n.evaluate(this.values,"ADD"+e,t).stimulsoft().toString()}return i}}}{let e=Ae.h.ListExt;Ae.u.TextIsEmpty=class extends L{evaluate(t){var t,t=null!==(t=e.evaluate(this.values,"VALUE",t).stimulsoft().toString())&&void 0!==t?t:"";return De.isNullOrEmpty(t)}}}{let o=Ae.h.ListExt;Ae.u.ColourRgb=class extends L{evaluate(t){let e=o.evaluate(this.values,"RED",t),r=o.evaluate(this.values,"GREEN",t),i=o.evaluate(this.values,"BLUE",t),n=e.toString(16),a=r.toString(16),s=i.toString(16);return 1==n.length&&(n="0"+n),1==a.length&&(a="0"+a),1==s.length&&(s="0"+s),("#"+n+a+s).toUpperCase()}}}Ae.u.ColourRandom=class extends L{evaluate(t){var e="0123456789ABCDEF";let r="#";for(let t=0;t<6;t++)r+=e[Math.floor(16*Math.random())];return r}};{let h=Ae.h.ListExt;Ae.u.ColourBlend=class extends L{evaluate(t){var e,r,i=null!==(e=h.evaluate(this.values,"COLOUR1",t).stimulsoft().toString())&&void 0!==e?e:"",n=null!==(r=h.evaluate(this.values,"COLOUR2",t).stimulsoft().toString())&&void 0!==r?r:"",a=Math.min(Math.max(h.evaluate(this.values,"RATIO",t),0),1);if(De.isNullOrWhiteSpace(i)||7!=i.length)return null;if(De.isNullOrWhiteSpace(n)||7!=n.length)return null;var s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),r=parseInt(s[1],16),t=parseInt(s[2],16),i=parseInt(s[3],16),n=parseInt(e[1],16),s=parseInt(e[2],16),e=parseInt(e[3],16),o,l,u;return this.rgbToHex(r*(1-a)+n*a,t*(1-a)+s*a,i*(1-a)+e*a)}rgbToHex(t,e,r){return"#"+((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}}}{let r=Ae.h.ListExt;Ae.u.ColourPicker=class extends L{evaluate(t){var e;return null!==(e=r.get(this.fields,"COLOUR"))&&void 0!==e?e:"#000000"}}}{let s=Ae.h.ListExt;Ae.v.ControlsFor=class extends L{evaluate(t){var e=s.get(this.fields,"VAR"),r=Ae.f.StiObjConverter.toDouble(s.evaluate(this.values,"FROM",t)),i=Ae.f.StiObjConverter.toDouble(s.evaluate(this.values,"TO",t)),n=Ae.f.StiObjConverter.toDouble(s.evaluate(this.values,"BY",t));let a=this.statements.firstOrDefault();t.variables.containsKey(e)?t.variables.set(e,r):t.variables.add(e,r);while(t.variables.get(e)<=i)a.evaluate(t),t.variables.set(e,t.variables.get(e)+n);return super.evaluate(t)}}}{let a=Ae.h.ListExt;Ae.v.ControlsIf=class extends L{evaluate(r){let t=1;var e,i;null!=a.getValue(this.mutations,"elseif")&&(e=a.getValue(this.mutations,"elseif"),t=Number.parseInt(e)+1);let n=!1;for(let e=0;e<t;e++)if(a.evaluate(this.values,"IF"+e,r)){let t=a.get2(this.statements,"DO"+e);t.evaluate(r),n=!0;break}if(!n&&(null!=a.getValue(this.mutations,"else")&&"1"==a.getValue(this.mutations,"else"))){let t=a.get2(this.statements,"ELSE");t.evaluate(r)}return super.evaluate(r)}}}{let a=Ae.h.ListExt;Ae.v.ControlsForEach=class extends L{evaluate(t){var e=a.get(this.fields,"VAR"),r=a.evaluate(this.values,"LIST",t),i;let n=this.statements.where(t=>"DO"==t.name).firstOrDefault();if(null==n)return super.evaluate(t);for(i of r)t.variables.containsKey(e)?t.variables.set(e,i):t.variables.add(e,i),n.evaluate(t);return super.evaluate(t)}}}{let n=Ae.h.ListExt;Ae.v.ControlsWhileUntil=class extends L{evaluate(t){var e=n.get(this.fields,"MODE");let r=this.values.firstOrDefault(t=>"BOOL"==t.name);if(!this.statements.any(t=>"DO"==t.name)||null==r)return super.evaluate(t);let i=n.get2(this.statements,"DO");if("WHILE"==e)while(r.evaluate(t))i.evaluate(t);else while(!r.evaluate(t))i.evaluate(t);return super.evaluate(t)}}}let yP=Ae.h.EscapeMode;{let r=Ae.h.ListExt;Ae.v.ControlsFlowStatement=class extends L{evaluate(t){var e=r.get(this.fields,"FLOW");if("CONTINUE"==e)return t.escapeMode=yP.Continue,null;if("BREAK"==e)return t.escapeMode=yP.Break,null;throw new Error(e+"flow is not supported")}}}{let t=Ae.h.ListExt;Ae.v.ControlsRepeatExt=class extends L{evaluate(e){var r=Ae.f.StiObjConverter.toDouble(t.evaluate(this.values,"TIMES",e));if(!this.statements.any(t=>"DO"==t.name))return super.evaluate(e);let i=t.get2(this.statements,"DO");for(let t=0;t<r;t++){if(i.evaluate(e),e.escapeMode==yP.Break){e.escapeMode=yP.None;break}e.escapeMode=yP.None}return e.escapeMode=yP.None,super.evaluate(e)}}}Ae.h.Statement=class{implements(){return[Ae.h.IFragment]}evaluate(t){if(null==this.block)return null;return this.block.evaluate(t)}};let vP=Ae.h.Statement;{let n=Ae.h.ListExt;Ae.w.ProceduresDef=class extends L{evaluate(t){var e=n.get(this.fields,"NAME"),r;let i=this.statements.firstOrDefault(t=>"STACK"==t.name);if(De.isNullOrWhiteSpace(e))return null;return null==i&&(i=new vP,i.block=null,i.name="STACK"),this.values.any(t=>"RETURN"==t.name)&&(r=new Ae.w.ValueBlock(this.values.first(t=>"RETURN"==t.name)),null==i.block?i.block=r:this.findEndOfChain(i.block).next=r),t.functions.containsKey(e)?t.functions.set(e,i):t.functions.add(e,i),null}findEndOfChain(t){if(null==t.next)return t;return this.findEndOfChain(t.next)}}}Ae.h.Context=class{constructor(){this.variables=new Ri,this.functions=new Ri,this.escapeMode=Ae.h.EscapeMode.None}};let wP=Ae.h.Context;{let o=Ae.h.ListExt;Ae.w.ProceduresCallNoReturn=class extends L{evaluate(t){var e=o.getValue(this.mutations,"name"),r;if(!t.functions.containsKey(e))throw new Error("Method $"+e+" not defined");let i=t.functions.get(e),n=new wP;n.parent=t,n.functions=t.functions;let a=0;for(r of this.mutations.where(t=>"arg"==t.domain&&"name"==t.name)){var s=o.evaluate(this.values,"ARG"+a,t);n.variables.add(r.value,s),a++}return i.evaluate(n),super.evaluate(t)}}}let CP=Ae.w.ProceduresCallNoReturn;{let o=Ae.h.ListExt;Ae.w.ProceduresCallReturn=class extends CP{evaluate(t){var e=o.getValue(this.mutations,"name"),r;if(!t.functions.containsKey(e))throw new Error("Method '"+e+"' not defined");let i=t.functions.get(e),n=new wP;n.parent=t,n.functions=t.functions;let a=0;for(r of this.mutations.where(t=>"arg"==t.domain&&"name"==t.name)){var s=o.evaluate(this.values,"ARG"+a,t);n.variables.add(r.value,s),a++}return i.evaluate(n)}}}{let r=Ae.h.ListExt;Ae.w.ProceduresIfReturn=class extends L{evaluate(t){var e;if(r.evaluate(this.values,"CONDITION",t))return r.evaluate(this.values,"VALUE",t);return super.evaluate(t)}}}{let i=Ae.h.ListExt;Ae.x.LogicCompare=class extends L{evaluate(t){var e=Ae.f.StiObjConverter.getValue(i.evaluate(this.values,"A",t)),r=Ae.f.StiObjConverter.getValue(i.evaluate(this.values,"B",t)),t=i.get(this.fields,"OP");if("string"==typeof e)return this.compareString(t,e,Ra.changeType(r,String));if("number"==typeof e)return this.compareNumber(t,Ra.changeType(e,Number),Ra.changeType(r,Number));if("boolean"==typeof e)return this.compareBool(t,Ra.changeType(e,Boolean),Ra.changeType(r,Boolean));if(null==e&&null==r)switch(t){case"EQ":return!0;case"NEQ":return!1}else if(null==e&&null!=r)switch(t){case"EQ":return!1;case"NEQ":return!0}else if(null!=e&&null==r)switch(t){case"EQ":return!1;case"NEQ":return!0}throw new Error("unexpected value type")}compareString(t,e,r){switch(t){case"EQ":return e==r;case"NEQ":return e!=r;case"LT":return De.compareTo(e,r)<0;case"LTE":return De.compareTo(e,r)<=0;case"GT":return 0<De.compareTo(e,r);case"GTE":return 0<=De.compareTo(e,r);default:throw new Error("Unknown OP "+t)}return!1}compareNumber(t,e,r){switch(t){case"EQ":return e==r;case"NEQ":return e!=r;case"LT":return e<r;case"LTE":return e<=r;case"GT":return r<e;case"GTE":return r<=e;default:throw new Error("Unknown OP "+t)}}compareBool(t,e,r){switch(t){case"EQ":return e==r;case"NEQ":return e!=r;default:throw new Error("Unknown OP "+t)}}}}{let e=Ae.h.ListExt;Ae.x.LogicBoolean=class extends L{evaluate(t){return zi.tryToBool(e.get(this.fields,"BOOL"))}}}Ae.x.LogicNull=class extends L{evaluate(t){return null}};{let r=Ae.h.ListExt;Ae.x.LogicTernary=class extends L{evaluate(t){var e=r.evaluate(this.values,"IF",t);if(e&&this.values.any(t=>"THEN"==t.name))return r.evaluate(this.values,"THEN",t);return null}}}{let e=Ae.h.ListExt;Ae.x.LogicNegate=class extends L{evaluate(t){var t;return!(null!==(t=zi.tryToBool(e.evaluate(this.values,"BOOL",t)))&&void 0!==t&&t)}}}{let a=Ae.h.ListExt;Ae.x.LogicOperation=class extends L{evaluate(t){var e,t,r=null!==(e=a.evaluate(this.values,"A",t))&&void 0!==e&&e,i=null!==(t=a.evaluate(this.values,"B",t))&&void 0!==t&&t,n=a.get(this.fields,"OP");switch(n){case"AND":return r&&i;case"OR":return r||i;default:throw new Error("Unknown OP "+n)}}}}{let n=Ae.h.ListExt;Ae.y.ListsSplit=class extends L{evaluate(t){var e=n.get(this.fields,"MODE");let r=n.evaluate(this.values,"INPUT",t);var i=n.evaluate(this.values,"DELIM",t).stimulsoft().toString();switch(e){case"SPLIT":{let t=r.stimulsoft().toString();return t.split(i).stimulsoft().toList()}case"JOIN":{let t=r;return t.join(i)}default:throw new Error("unknown mode: "+e)}return null}}}{let n=Ae.h.ListExt;Ae.y.ListsIndexOf=class extends L{evaluate(t){var e=n.get(this.fields,"END");let r=n.evaluate(this.values,"VALUE",t);var i=n.evaluate(this.values,"FIND",t);switch(e){case"FIRST":return r.indexOf(i)+1;case"LAST":return r.lastIndexOf(i)+1;default:throw new Error("Unknown end: "+e)}}}}{let s=Ae.h.ListExt;Ae.y.ListsGetIndex=class extends L{evaluate(t){let e=s.evaluate(this.values,"VALUE",t);var r=s.get(this.fields,"MODE"),i=s.get(this.fields,"WHERE");let n=-1;switch(i){case"FROM_START":n=Qt.toInt32(s.evaluate(this.values,"AT",t))-1;break;case"FROM_END":n=e.length-Qt.toInt32(s.evaluate(this.values,"AT",t));break;case"FIRST":n=0;break;case"LAST":n=e.length-1;break;case"RANDOM":n=Math.random()*e.length;break;default:throw new Error("unsupported where ("+i+")")}switch(r){case"GET":return e[n];case"GET_REMOVE":var a=e.getByIndex(n);return e.removeAt(n),a;case"REMOVE":return e.removeAt(n),null;default:throw new Error("unsupported mode ("+r+")")}}}}Ae.y.ListsCreateWith=class extends L{evaluate(t){let e=new Ee;for(var r of this.values)e.add(r.evaluate(t));return e}};{let e=Ae.h.ListExt;Ae.y.ListsLength=class extends L{evaluate(t){var t=e.evaluate(this.values,"VALUE",t);if(null==t)return 0;return t.length}}}{let n=Ae.h.ListExt;Ae.y.ListsRepeat=class extends L{evaluate(t){var e=n.evaluate(this.values,"ITEM",t),r=Ae.f.StiObjConverter.toDouble(n.evaluate(this.values,"NUM",t));let i=new Ee;for(let t=0;t<r;t++)i.add(e);return i}}}{let r=Ae.h.ListExt;Ae.y.ListsIsEmpty=class extends L{evaluate(t){let e=r.evaluate(this.values,"VALUE",t);if(null==e)return!0;return!e.any()}}}{let n=Ae.h.ListExt;Ae.t.MathArithmetic=class extends L{evaluate(t){var e=Ae.f.StiObjConverter.toDouble(n.evaluate(this.values,"A",t)),r=Ae.f.StiObjConverter.toDouble(n.evaluate(this.values,"B",t)),i=n.get(this.fields,"OP");switch(i){case"MULTIPLY":return e*r;case"DIVIDE":return e/r;case"ADD":return e+r;case"MINUS":return e-r;case"POWER":return Math.pow(e,r);default:throw new Error("Unknown OP "+i)}}}}{let e=Ae.h.ListExt;Ae.t.MathNumber=class extends L{evaluate(t){return Number.parseFloat(e.get(this.fields,"NUM"))}}}{let i=Ae.h.ListExt;Ae.t.MathSingle=class extends L{evaluate(t){var e=i.get(this.fields,"OP"),r=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"NUM",t));switch(e){case"ROOT":return Math.sqrt(r);case"ABS":return Math.abs(r);case"NEG":return-1*r;case"LN":return Math.log(r);case"LOG10":return Ne.log10(r);case"EXP":return Math.exp(r);case"POW10":return Math.pow(10,r);case"SIN":return Math.sin(r/180*Math.PI);case"COS":return Math.cos(r/180*Math.PI);case"TAN":return Math.tan(r/180*Math.PI);case"ASIN":return Math.asin(r/180*Math.PI);case"ACOS":return Math.acos(r/180*Math.PI);case"ATAN":return Math.atan(r/180*Math.PI);default:throw new Error("Unknown OP "+e)}}}}{let i=Ae.h.ListExt;Ae.t.MathRound=class extends L{evaluate(t){var e=i.get(this.fields,"OP"),r=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"NUM",t));switch(e){case"ROUND":return Math.round(r);case"ROUNDUP":return Math.ceil(r);case"ROUNDDOWN":return Math.floor(r);default:throw new Error("Unknown OP "+e)}}}}Ae.t.MathRandomFloat=class extends L{evaluate(t){return Math.random()}};{let i=Ae.h.ListExt;Ae.t.MathModulo=class extends L{evaluate(t){var e,r;return Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"DIVIDEND",t))%Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"DIVISOR",t))}}}{let i=Ae.h.ListExt;Ae.t.MathConstrain=class extends L{evaluate(t){var e=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"VALUE",t)),r=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"LOW",t)),t=Ae.f.StiObjConverter.toDouble(i.evaluate(this.values,"HIGH",t));return Math.min(Math.max(e,r),t)}}}{let n=Ae.h.ListExt;Ae.t.MathOnList=class extends L{evaluate(t){var e=n.get(this.fields,"OP");let r=n.evaluate(this.values,"LIST",t),i=r.select(t=>t);switch(e){case"SUM":return i.sum();case"MIN":return i.min();case"MAX":return i.max();case"AVERAGE":return n.average(i);case"MEDIAN":return this.median(i);case"RANDOM":return i.any()?i[Math.random()*i.length]:null;case"STD_DEV":throw new Error("OP "+e+" not implemented");default:throw new Error("Unknown OP "+e)}}median(t){if(!t.any())return null;var e=t.orderBy(t=>t),t=(e.length-1)/2;return(e[Math.floor(t)]+e[Math.floor(t+.5)])/2}}}{let r=Ae.h.ListExt;Ae.t.MathConstant=class extends L{evaluate(t){var e=r.get(this.fields,"CONSTANT");return this.getValue(e)}getValue(t){switch(t){case"PI":return Math.PI;case"E":return Math.E;case"GOLDEN_RATIO":return(1+Math.sqrt(5))/2;case"SQRT2":return Math.sqrt(2);case"SQRT1_2":return Math.sqrt(.5);case"INFINITY":return Number.POSITIVE_INFINITY;default:throw new Error("Unknown CONSTANT "+t)}}}}{let i=Ae.h.ListExt;Ae.t.MathNumberProperty=class extends L{evaluate(t){var e=i.get(this.fields,"PROPERTY"),r=Number.parseFloat(i.evaluate(this.values,"NUMBER_TO_CHECK",t));switch(e){case"EVEN":return 0==r%2;case"ODD":return 1==r%2;case"PRIME":return this.isPrime(r);case"WHOLE":return 0==r%1;case"POSITIVE":return 0<r;case"NEGATIVE":return r<0;case"DIVISIBLE_BY":return 0==r%i.evaluate(this.values,"DIVISOR",t);default:throw new Error("Unknown PROPERTY "+e)}}isPrime(e){if(1==e)return!1;if(2==e)return!0;if(e%2==0)return!1;var r=Math.floor(Math.sqrt(e));for(let t=3;t<=r;t+=2)if(e%t==0)return!1;return!0}}}{let r=Ae.h.ListExt;Ae.z.VariablesGet=class extends L{evaluate(t){var e=r.get(this.fields,"VAR");if(!t.variables.containsKey(e))return null;return t.variables.get(e)}}}{let n=Ae.h.ListExt;Ae.z.VariablesSet=class extends L{evaluate(t){let e=t.variables;var r=n.evaluate(this.values,"VALUE",t),i=n.get(this.fields,"VAR");return e.containsKey(i)?e.set(i,r):e.add(i,r),super.evaluate(t)}}}{let e=Ae.h.ListExt;Ae.l.StiColorHex=class extends L{evaluate(t){return e.evaluate(this.values,"TEXT",t).stimulsoft().toString()}}}{let o=Ae.h.ListExt;Ae.l.StiNewFont=class extends L{evaluate(t){var e=o.get(this.fields,"NAME").toString(),r=Ra.changeType(o.evaluate(this.values,"SIZE",t),Number),i=Ra.changeType(o.get(this.fields,"BOLD"),Boolean),n=Ra.changeType(o.get(this.fields,"ITALIC"),Boolean),a=Ra.changeType(o.get(this.fields,"UNDERLINE"),Boolean),t=Ra.changeType(o.get(this.fields,"STRIKEOUT"),Boolean);let s=se.Regular;return i&&(s|=se.Bold),n&&(s|=se.Italic),a&&(s|=se.Underline),t&&(s|=se.Strikeout),new Ar(e,r,s)}}}{let e=Ae.h.ListExt;Ae.l.StiNewSolidBrush=class extends L{evaluate(t){var t=e.evaluate(this.values,"COLOR",t).stimulsoft().toString();return new si(re.fromHtml(t))}}}{let i=Ae.h.ListExt;Ae.l.StiNewGradientBrush=class extends L{evaluate(t){var e=i.evaluate(this.values,"STARTCOLOR",t).stimulsoft().toString(),r=i.evaluate(this.values,"ENDCOLOR",t).stimulsoft().toString(),t=i.evaluate(this.values,"ANGLE",t);return new ni(re.fromHtml(e),re.fromHtml(r),Qt.toDouble(t))}}}{let l=Ae.h.ListExt;Ae.l.StiNewBorder=class extends L{evaluate(t){var e=re.fromHtml(l.evaluate(this.values,"COLOR",t).toString()),r=Ra.changeType(l.evaluate(this.values,"SIZE",t),Number),i=l.evaluate(this.values,"STYLE",t),n=Ra.changeType(l.get(this.fields,"TOP"),Boolean),a=Ra.changeType(l.get(this.fields,"LEFT"),Boolean),s=Ra.changeType(l.get(this.fields,"RIGHT"),Boolean),t=Ra.changeType(l.get(this.fields,"BOTTOM"),Boolean);let o=Xr.None;return n&&(o|=Xr.Top),a&&(o|=Xr.Left),s&&(o|=Xr.Right),t&&(o|=Xr.Bottom),new Zr(o,e,r,i)}}}{let r=Ae.h.ListExt;Ae.l.StiNewPenStyle=class extends L{evaluate(t){var e;switch(r.get(this.fields,"VALUE")){case"SOLID":return Jr.Solid;case"DASH":return Jr.Dash;case"DASHDOT":return Jr.DashDot;case"DASHDOTDOT":return Jr.DashDotDot;case"DOT":return Jr.Dot;case"DOUBLE":return Jr.Double;case"NONE":return Jr.None}return Jr.Solid}}}{let n=Ae.h.ListExt;Ae.l.StiNewMargin=class extends L{evaluate(t){var e=Qt.toDouble(n.evaluate(this.values,"LEFT",t)),r=Qt.toDouble(n.evaluate(this.values,"TOP",t)),i=Qt.toDouble(n.evaluate(this.values,"RIGHT",t)),t=Qt.toDouble(n.evaluate(this.values,"BOTTOM",t));return new Ml(e,i,r,t)}}}let TP=Ae.aA.StiPadding;{let n=Ae.h.ListExt;Ae.l.StiNewPadding=class extends L{evaluate(t){var e=Qt.toDouble(n.evaluate(this.values,"LEFT",t)),r=Qt.toDouble(n.evaluate(this.values,"TOP",t)),i=Qt.toDouble(n.evaluate(this.values,"RIGHT",t)),t=Qt.toDouble(n.evaluate(this.values,"BOTTOM",t));return new TP(e,r,i,t)}}}{let r=Ae.h.ListExt;Ae.m.StiGetDataSource=class extends L{evaluate(t){var e=r.get(this.fields,"NAME");return t.report.dictionary.dataSources.getByName(e)}}}{let r=Ae.h.ListExt;Ae.m.StiGetDataSourceByName=class extends L{evaluate(t){var e=r.evaluate(this.values,"NAME",t).stimulsoft().toString();return t.report.dictionary.dataSources.getByName(e)}}}{let i=Ae.h.ListExt;Ae.m.StiDataSourceProperty=class extends L{evaluate(t){var e=i.evaluate(this.values,"OBJECT",t),r;if(null!=e)return e[i.get(this.fields,"NAME").stimulsoft().toLowerFirst()];return super.evaluate(t)}}}{let i=Ae.h.ListExt;Ae.m.StiDataSourceMethod=class extends L{evaluate(t){let e=i.evaluate(this.values,"OBJECT",t);var r;return null!=e&&(r=i.get(this.fields,"NAME"),e[r]()),super.evaluate(t)}}}let PP=Ae.c.StiCalculationMode;{let a=Ae.h.ListExt;Ae.m.StiSetDataSourceSqlCommand=class extends L{evaluate(t){var e,r,i;let n=a.evaluate(this.values,"DATA",t);return null!=n&&(r=a.evaluate(this.values,"VALUE",t).stimulsoft().toString(),(null===(e=t.report)||void 0===e?void 0:e.calculationMode)==PP.Interpretation?t.report.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+n.name,r):n.sqlCommand=r),super.evaluate(t)}}}{let r=Ae.h.ListExt;Ae.n.StiGetVariable=class extends L{evaluate(t){var e=r.get(this.fields,"VALUE").toString();return t.report.getVariable(e,!0)}}}{let r=Ae.h.ListExt;Ae.n.StiGetVariableByName=class extends L{evaluate(t){var e=r.get(this.fields,"VALUE");return t.report.getVariable(e)}}}{let i=Ae.h.ListExt;Ae.n.StiSetVariable=class extends L{evaluate(t){var e=i.evaluate(this.values,"NAME",t).stimulsoft().toString(),r=i.evaluate(this.values,"VALUE",t);return t.report.setVariable(e,r),super.evaluate(t)}}}{let r=Ae.h.ListExt;Ae.n.StiSystemVariable=class extends L{evaluate(t){var e=r.get(this.fields,"NAME").toString();return _f.parse("{"+e+"}",t.report.fetchPages().firstOrDefault());return null}}}Ae.o.StiGetCurrentValue=class extends L{evaluate(t){if(t.eventArgs)return t.eventArgs["value"];return super.evaluate(t)}},Ae.p.StiThisComponent=class extends L{evaluate(t){return t.sender}},Ae.p.StiThisReport=class extends L{evaluate(t){return t.report}},Ae.p.StiAllComponents=class extends L{evaluate(t){return(t.report.isRendered?t.report.getRenderedComponents():t.report.getComponents()).toList()}};{let n=Ae.h.ListExt;Ae.p.StiAllComponentsFrom=class extends L{evaluate(t){var e=n.get(this.fields,"NAME").toString(),e=this.getComponent(t,e);let r=e;if(null!=r)return r.getComponents().toList();let i=e;if(null!=i)return i.getComponents().toList();return null}getComponent(t,e){let r=null;if(t.report.isRendered){for(var i of t.report.renderedPages.toList())if(i.name==e)return i;r=t.report.renderedPages.getComponentByName(e)}else r=t.report.getComponentByName(e);return r}}}{let i=Ae.h.ListExt;Ae.o.StiSetCurrentValue=class extends L{evaluate(e){let r=e.eventArgs;if(null!=r){let t=i.evaluate(this.values,"VALUE",e);"string"==typeof r["value"]&&null!=t?r["value"]=t.toString():r["value"]=t}return super.evaluate(e)}}}{let r=Ae.h.ListExt;Ae.o.StiGetComponent=class extends L{evaluate(t){var e=r.get(this.fields,"NAME").toString();return(t.report.isRendered?t.report.renderedPages:t.report).getComponentByName(e)}}}{let r=Ae.h.ListExt;Ae.o.StiGetComponentByName=class extends L{evaluate(t){var e=r.get(this.fields,"NAME");return(t.report.isRendered?t.report.renderedPages:t.report).getComponentByName(e)}}}{let o=Ae.h.ListExt;Ae.o.StiSetPropertyOfObjectTo=class extends L{evaluate(r){let i=o.evaluate(this.values,"OBJECT",r);if(null!=i){var n=o.evaluate(this.values,"PROPERTY",r).stimulsoft().toString().stimulsoft().toLowerFirst();let t=o.evaluate(this.values,"VALUE",r),e=i[n];var a=e.stimulsoft().getType(),s=null==t?t:t.stimulsoft().as(Ch),s;null!=s&&(t=s.value),a==Ch&&(s=Ra.changeType(t,String),t=new Ch,t.value=s);var a=Ra.changeType(t,a);i[n]=a}return super.evaluate(r)}}}{let i=Ae.h.ListExt;Ae.o.StiGetPropertyOfObject=class extends L{evaluate(t){var e=i.evaluate(this.values,"OBJECT",t),r;if(null!=e)return e[i.evaluate(this.values,"PROPERTY",t).stimulsoft().toString().stimulsoft().toLowerFirst()];return super.evaluate(t)}}}{let r=Ae.h.ListExt;Ae.o.StiGetStyleByName=class extends L{evaluate(t){var e=r.evaluate(this.values,"VALUE",t).stimulsoft().toString();return t.report.styles.getByName(e)}}}Ae.q.StiIsFirstPass=class extends L{evaluate(t){return t.report.isFirstPass}},Ae.q.StiIsSecondPass=class extends L{evaluate(t){return t.report.isSecondPass}};{let s=Ae.h.ListExt;Ae.r.StiFunctionRun=class extends L{evaluate(e){let r=Ae.r.StiBlocklyFunctionBlockKeyCache.getFunction(this.type),i=new Ee;for(let t=0;t<r.argumentNames.length;t++){var n=r.argumentNames[t],a=r.argumentTypes[t],n=s.evaluate(this.values,n,e),a=Ra.changeType(n,a);i.add(a)}return r.invoke(i)}}}Ae.r.StiBlocklyFunctionBlockKeyCache=class{static createKey(e){let r=e.functionName+".";if(null!=e.argumentNames)for(let t=0;t<e.argumentNames.length;t++)r+=e.argumentNames[t]+"."+e.argumentTypes[t].name;return r}static getFunction(t){return null!=this.cache&&this.fillCache(),this.cache.get(t)}static fillCache(){var t,e;this.cache=new Dt;for(e of Jc.getFunctions(!1))this.cache.add(this.createKey(e),e)}static getBlockKeyTable(){return null==this.cache&&this.fillCache(),this.cache}};{let r=Ae.h.ListExt;Ae.s.StiOpenLink=class extends L{evaluate(t){var e=r.evaluate(this.values,"VALUE",t).stimulsoft().toString();return window.open(e,"_blank").focus(),super.evaluate(t)}}}let IP=Ae.w.ProceduresDef;Ae.h.Workspace=class{constructor(){this.blocks=new Ee}implements(){return[Ae.h.IFragment]}evaluate(t){let e=null,r=new Ee;for(var i of this.blocks)i.is(IP)&&(i.evaluate(t),r.add(i));for(var n of this.blocks)r.contains(n)||(e=n.evaluate(t));return e}evaluate2(t,e,r,i=null){let n=new Ae.h.Context;return n.report=t,n.sender=e,n.eventArgs=r,null!=i&&(n.variables=i),this.evaluate(n)}};let AP=Ae.u.ColourBlend,xP=Ae.u.ColourRandom,DP=Ae.s.StiOpenLink,BP=Ae.q.StiIsSecondPass,EP=Ae.q.StiIsFirstPass,kP=Ae.r.StiFunctionRun,NP=Ae.r.StiBlocklyFunctionBlockKeyCache,FP=Ae.u.TextPrint,RP=Ae.o.StiGetStyleByName,LP=Ae.o.StiGetPropertyOfObject,MP=Ae.o.StiSetPropertyOfObjectTo,OP=Ae.o.StiGetComponentByName,HP=Ae.o.StiGetComponent,_P=Ae.o.StiSetCurrentValue,VP=Ae.o.StiGetCurrentValue,GP=Ae.p.StiAllComponentsFrom,UP=Ae.p.StiAllComponents,jP=Ae.p.StiThisComponent,WP=Ae.p.StiThisReport,qP=Ae.n.StiSystemVariable,zP=Ae.n.StiSetVariable,XP=Ae.n.StiGetVariableByName,JP=Ae.n.StiGetVariable,YP=Ae.m.StiSetDataSourceSqlCommand,QP=Ae.m.StiDataSourceMethod,KP=Ae.m.StiDataSourceProperty,ZP=Ae.m.StiGetDataSourceByName,$P=Ae.m.StiGetDataSource,tI=Ae.l.StiNewPadding,eI=Ae.l.StiNewMargin,rI=Ae.l.StiNewPenStyle,iI=Ae.l.StiNewBorder,nI=Ae.l.StiNewGradientBrush,aI=Ae.l.StiNewSolidBrush,sI=Ae.l.StiNewFont,oI=Ae.y.ListsGetIndex,lI=Ae.y.ListsIndexOf,uI=Ae.l.StiColorHex,hI=Ae.y.ListsIsEmpty,cI=Ae.y.ListsRepeat,dI=Ae.y.ListsLength,mI=Ae.y.ListsCreateWith,pI=Ae.y.ListsSplit,gI=Ae.w.ProceduresIfReturn,fI=Ae.w.ProceduresCallReturn,SI=Ae.u.ColourRgb,bI=Ae.u.ColourPicker,yI=Ae.z.VariablesSet,vI=Ae.z.VariablesGet,wI=Ae.u.TextIndexOf,CI=Ae.u.TextJoin,TI=Ae.u.TextAppend,PI=Ae.u.TextCaseChange,II=Ae.u.TextTrim,AI=Ae.u.TextIsEmpty,xI=Ae.u.TextLength,DI=Ae.u.TextBlock,BI=Ae.x.LogicNegate,EI=Ae.x.LogicOperation,kI=Ae.t.MathConstant,NI=Ae.t.MathNumberProperty,FI=Ae.t.MathOnList,RI=Ae.t.MathConstrain,LI=Ae.t.MathModulo,MI=Ae.t.MathRandomFloat,OI=Ae.t.MathRandomInt,HI=Ae.t.MathRound,_I=Ae.t.MathSingle,VI=Ae.t.MathNumber,GI=Ae.t.MathArithmetic,UI=Ae.x.LogicTernary,jI=Ae.x.LogicNull,WI=Ae.x.LogicBoolean,qI=Ae.x.LogicCompare,zI=Ae.v.ControlsForEach,XI=Ae.v.ControlsFlowStatement,JI=Ae.v.ControlsWhileUntil,YI=Ae.v.ControlsIf,QI=Ae.v.ControlsRepeatExt,KI=Ae.v.ControlsFor,ZI=Ae.h.Value,$I=Ae.h.Field,tA=Ae.h.Workspace,eA=Ae.h.Mutation;Ae.f.Parser=class{constructor(){this.blocks=new Ri}addBlock(t,e){if(this.blocks.containsKey(e))return this.blocks.set(e,()=>new t),this;return this.blocks.add(e,()=>new t),this}parse(t,e=!1){let r=new tA;if(De.isNullOrEmpty(t))return r;let i=at.toXml(t);var t=i.getNodeByName("xml"),n;if(null!=t)for(var n of t.childNodes){"block"!=n.localName&&"shadow"!=n.localName||null!=(n=this.parseBlock(n))&&r.blocks.add(n)}return r}parseBlock(t){var e;if(null===(e=zi.tryToBool(t.getAttribute("disabled")))||void 0===e||e)return null;var e=t.getAttribute("type"),r;if(!this.blocks.containsKey(e))throw new Error("block type not registered: '"+e+"'");let i=this.blocks.get(e)();i.type=e,i.id=t.getAttribute("id");for(r of t.childNodes)switch(r.localName){case"mutation":this.parseMutation(r,i);break;case"field":this.parseField(r,i);break;case"value":this.parseValue(r,i);break;case"statement":this.parseStatement(r,i);break;case"comment":break;case"next":var n=this.parseBlock(r.firstChild);null!=n&&(i.next=n);break;default:throw new Error("unknown xml type: "+r.localName)}return i}parseField(t,e){let r=new $I;r.name=t.getAttribute("name"),r.value=t.textContent,e.fields.add(r)}parseValue(t,e){var r,r=null!==(r=t.getNodeByName("block"))&&void 0!==r?r:t.getNodeByName("shadow");if(null==r)return;var r=this.parseBlock(r);let i=new ZI;i.name=t.getAttribute("name"),i.block=r,e.values.add(i)}parseStatement(t,e){var r,r=null!==(r=t.getNodeByName("block"))&&void 0!==r?r:t.getNodeByName("shadow");if(null==r)return;var r=this.parseBlock(r);let i=new vP;i.name=t.getAttribute("name"),i.block=r,e.statements.add(i)}parseMutation(t,e){for(var r of t.attributes.toList())e.mutations.add(new eA("mutation",r.name,r.value));for(var i of t.childNodes)for(var n of i.attributes.toList())e.mutations.add(new eA(i.nodeName,n.name,n.value))}static addStandardBlocks(t){t.addBlock(QI,"controls_repeat_ext"),t.addBlock(YI,"controls_if"),t.addBlock(JI,"controls_whileUntil"),t.addBlock(XI,"controls_flow_statements"),t.addBlock(zI,"controls_forEach"),t.addBlock(KI,"controls_for"),t.addBlock(qI,"logic_compare"),t.addBlock(WI,"logic_boolean"),t.addBlock(BI,"logic_negate"),t.addBlock(EI,"logic_operation"),t.addBlock(jI,"logic_null"),t.addBlock(UI,"logic_ternary"),t.addBlock(GI,"math_arithmetic"),t.addBlock(VI,"math_number"),t.addBlock(_I,"math_single"),t.addBlock(_I,"math_trig"),t.addBlock(HI,"math_round"),t.addBlock(kI,"math_constant"),t.addBlock(NI,"math_number_property"),t.addBlock(FI,"math_on_list"),t.addBlock(RI,"math_constrain"),t.addBlock(LI,"math_modulo"),t.addBlock(MI,"math_random_float"),t.addBlock(OI,"math_random_int"),t.addBlock(DI,"text"),t.addBlock(xI,"text_length"),t.addBlock(AI,"text_isEmpty"),t.addBlock(II,"text_trim"),t.addBlock(PI,"text_changeCase"),t.addBlock(TI,"text_append"),t.addBlock(CI,"text_join"),t.addBlock(wI,"text_indexOf"),t.addBlock(vI,"variables_get"),t.addBlock(yI,"variables_set"),t.addBlock(bI,"colour_picker"),t.addBlock(xP,"colour_random"),t.addBlock(SI,"colour_rgb"),t.addBlock(AP,"colour_blend"),t.addBlock(IP,"procedures_defnoreturn"),t.addBlock(IP,"procedures_defreturn"),t.addBlock(CP,"procedures_callnoreturn"),t.addBlock(fI,"procedures_callreturn"),t.addBlock(gI,"procedures_ifreturn"),t.addBlock(pI,"lists_split"),t.addBlock(mI,"lists_create_with"),t.addBlock(dI,"lists_length"),t.addBlock(cI,"lists_repeat"),t.addBlock(hI,"lists_isEmpty"),t.addBlock(oI,"lists_getIndex"),t.addBlock(lI,"lists_indexOf"),t.addBlock(uI,"sti_color_hex"),t.addBlock(sI,"sti_new_font"),t.addBlock(aI,"sti_new_solid_brush"),t.addBlock(nI,"sti_new_gradient_brush"),t.addBlock(iI,"sti_new_border"),t.addBlock(rI,"sti_new_pen_style"),t.addBlock(eI,"sti_new_margin"),t.addBlock(tI,"sti_new_padding"),t.addBlock($P,"sti_get_data_source"),t.addBlock(ZP,"sti_get_data_source_by_name"),t.addBlock(KP,"sti_data_source_property"),t.addBlock(QP,"sti_data_source_method"),t.addBlock(YP,"sti_set_data_source_sql_command"),t.addBlock(JP,"sti_get_variable"),t.addBlock(XP,"sti_get_variable_by_name"),t.addBlock(zP,"sti_set_variable"),t.addBlock(qP,"sti_system_variable"),t.addBlock(WP,"sti_this_report"),t.addBlock(jP,"sti_this_component"),t.addBlock(UP,"sti_all_components"),t.addBlock(GP,"sti_all_components_from"),t.addBlock(VP,"sti_get_current_value"),t.addBlock(_P,"sti_set_current_value"),t.addBlock(OP,"sti_get_component_by_name"),t.addBlock(DP,"sti_open_link"),t.addBlock(EP,"sti_is_first_pass"),t.addBlock(BP,"sti_is_second_pass"),t.addBlock(HP,"sti_get_component"),t.addBlock(MP,"sti_set_property_of_object_to"),t.addBlock(LP,"sti_get_property_of_object"),t.addBlock(RP,"sti_get_style_by_name"),t.addBlock(FP,"sti_show_message");for(var e of NP.getBlockKeyTable().keys)t.addBlock(kP,e.stimulsoft().toString());return t}},Ae.f.StiBlocksParser=class{evaluate(t,e,r,i){Ae.f.Parser.addStandardBlocks(new Ae.f.Parser).parse(r).evaluate2(t,e,i)}};{let e=class{static toDouble(t){return Ra.changeType(e.getValue(t),Number)}static getValue(t){if(null!=t&&t.stimulsoft().is(Ch))return t.value;return t}};Ae.f.StiObjConverter=e}Ae.w.ValueBlock=class extends L{constructor(t){super(),this.value=t}evaluate(t){return this.value.evaluate(t)}},Ae.h.IFragment=new Ae.b.Interface("IFragment"),Ae.h.ProcedureContext=class extends Ae.h.Context{constructor(){super(),this.parameters=new Ri}},Ae.k.StiBlocklyResourcesHelper=class{static loadResourceFile(t){switch(t){case"blocklyToolbox":return Ae.a.Blockly.blocklyToolbox;case"blocklyToolboxCurrentValue":return Ae.a.Blockly.blocklyToolboxCurrentValue;case"blocklyWorkspace":return Ae.a.Blockly.blocklyWorkspace;case"blocklyBlocks":return Ae.a.Blockly.blocklyBlocks}return""}};{let i=class{static run(t,e){if(void 0===t)return void i.run(Y,"Stimulsoft");for(var r in e=e.stimulsoft().replaceAll("Stimulsoft.System","System"),t)"function"==typeof t[r]?(t[r].ssTypeName=r,t[r].ssNamespace=e):"object"==typeof t[r]&&i.run(t[r],e+"."+r)}};Ae.g.StiTypesHelper=i}Ae.g.StiTypesHelper.run();var rA={Stimulsoft:Y};for(const AA of["dashboardsFactory","viewerFactory","designerFactory","chartFactory","exportFactory","importFactory","mapsFactory","blocklyFactory"])Y[AA]&&(Object.assign(rA,Y[AA](rA.Stimulsoft)),delete Y[AA]);return rA});